Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in the help file of function ssnbayes() #3

Open
oliviergimenez opened this issue Dec 22, 2023 · 0 comments
Open

Typo in the help file of function ssnbayes() #3

oliviergimenez opened this issue Dec 22, 2023 · 0 comments

Comments

@oliviergimenez
Copy link

Congrats on a great package !

Navigating the help files, I think there is a typo in the help file for the ssnbayes() function. At the bottom, in the example, in

#fit_ar <- ssnbayes(formula = y ~ SLOPE + elev + h2o_area + air_temp + sin + cos,

data = clear,

path = path,

time_method = list("ar", "date"),

space_method = list('use_ssn', c("Exponential.taildown")),

iter = 2000,

warmup = 1000,

chains = 3,

net = 2, # second network on the ssn object

addfunccol='afvArea')

y should be temp I think so that it reads

#fit_ar <- ssnbayes(formula = temp ~ SLOPE + elev + h2o_area + air_temp + sin + cos,

data = clear,

path = path,

time_method = list("ar", "date"),

space_method = list('use_ssn', c("Exponential.taildown")),

iter = 2000,

warmup = 1000,

chains = 3,

net = 2, # second network on the ssn object

addfunccol='afvArea')

Or am I missing something?
Cheers,
Olivier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant