create_gp_data | R Documentation |
Takes the output of gp_opts()
and converts it into a list understood by
stan.
create_gp_data(gp = gp_opts(), data)
gp |
A list of options as generated by |
data |
A list containing the following numeric values:
|
A list of settings defining the Gaussian process
gp_opts()
## Not run:
# define input data required
data <- list(
t = 30,
seeding_time = 7,
horizon = 7
)
# default gaussian process data
create_gp_data(data = data)
# settings when no gaussian process is desired
create_gp_data(NULL, data)
# custom lengthscale
create_gp_data(gp_opts(ls_mean = 14), data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.