fit_q95: Fit 95th percentile as nonlinear 2D surface

Description Usage Arguments Details Value

Description

Hard-coded to fit nonlinear regression surface.

Usage

1
2
3
4
5
fit_q95(data, ...)

persp_q95(m, data, zlo, zhi, zlab = "\nV1", ...)

qlab(txt = "A)", ...)

Arguments

data

data.frame of observations, with columns named x1, x2, and y.

...

further arguments to persp.

m

fitted model from crs.

zlo, zhi

upper and lower z-limits for plotting.

zlab

z-axis label.

txt

character, text to add as plot label.

Details

Hard-coded, so only for one custom plotting purpose.

Value

fit_q95 returns a fitted crs object, persp_q95 plots its perspective plot, and qlab is a convenience labeling function.


phytomosaic/vuln documentation built on Sept. 21, 2019, 8:23 a.m.