predict.senlm | R Documentation |
Predict from senlm model fit using x values in newdata, or actual x values.
## S3 method for class 'senlm' predict(object, newdata, ...)
object |
Model fit. |
newdata |
x values to predict y values from. Optional, data values used by default. |
... |
additional optional arguments. |
Vector of predicted y values.
## Not run: ## Real data model <- set_models(mean_fun="gaussian", err_dist=c("zip")) fit <- senlm(model=model, data=haul, xvar="depth", yvar="Sebastolobus.altivelis") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.