mu_meanfunction | R Documentation |
Evalautes the mean function defined in ModelInfo, with the parameters given in theta, at the points given by the vector x.
mu_meanfunction(ModelInfo, theta, x)
ModelInfo |
A row from the output of set_models(), containing the mean_function and error distribution of the model in question. Or a string in the form of "meanfun_errdist". |
theta |
Vector containing parameter values of model. |
x |
Values at which to calculate the mean function. |
Calculates the constant mean functions defined by thetaM at points x.
Models <- set_models (mean_fun=c("gaussian"), err_dist=c("negbin")) mu_meanfunction (ModelInfo=Models[1,], theta=c(H=60, m=50, s=10, phi=1.5), x=0:100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.