plot.senlm: Plot senlm model fit over data

plot.senlmR Documentation

Plot senlm model fit over data

Description

Produces a scatterplot of y vs x with fitted mean curve overlaid.

Usage

## S3 method for class 'senlm'
plot(x, ...)

Arguments

x

Model fit.

...

additional optional arguments.

Value

Plot of senlm model fit over data

Examples


## Not run: 

## Plot fitted model
model <- set_models(mean_fun="gaussian", err_dist="zip")
fit <- senlm(model=model, data=haul, xvar="depth", yvar="Sebastolobus.altivelis")
plot(fit)

## End(Not run)


PRIMER-e/senlm documentation built on Nov. 20, 2022, 2:38 a.m.