Skip to content

Commit

Permalink
method defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Sep 15, 2024
1 parent eaba00d commit 864f79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/api.R
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ read_dataset <- function(req, name, scale) {
list(data = dat, xcol = xcol)
}

model_out <- function(dat, xcol, method, span, k) {
model_out <- function(dat, xcol, method, span = 0.75, k = 10) {
n <- nrow(dat)
if (n == 0) {
return(list(x = list(), y = list()))
Expand Down

0 comments on commit 864f79d

Please sign in to comment.