This function is deprecated, use dsm_cor.
dsm.cor(
dsm.obj,
Transect.Label = "Transect.Label",
Segment.Label = "Segment.Label",
max.lag = 10,
resid.type = "scaled.pearson",
fun = cor,
ylim = c(0, 1),
subset = "all",
...
)a fitted dsm object.
label for the transect (default: Transect.Label).
Using different labels can be useful when transects are split over
geographical features or when transects are surveyed multiple times.
label for the segments (default: Segment.Label).The
result of calling order must make sense.
maximum lag to calculate at.
the type of residuals used, see
residuals.gam. Defaults to "scaled.pearson" in the GAM
case and "normalized" in the GAMM case (which are equivalent).
the function to use, by default cor, must take two
column vectors as arguments.
user defined limits in y direction.
which subset of the data should the correlation function be calculated on?
other options to pass to plot.