tdCdfPlot: Plot the timedist PDF or CDF

Description Usage Arguments Examples

View source: R/plots.R

Description

Given a model (or models) of class timedist, produce a cumulative distribution plot for each of them.

Usage

1
2
3
tdCdfPlot(..., S = NULL, xVals = NULL)

tdPdfPlot(..., S = NULL, xVals = NULL)

Arguments

...

timedist model(s).

S

numeric(1). Scaling factor for the PDF.

xVals

numeric(n). A sequence of values between the x limits (x1, x2) of the plot.

Examples

1
2
3
4
5
tdTilia <- tdData(tilia, x = "Day", y = "Trees")
model <- timedist(data = tdTilia, x = "Day", y = "propMax", r = 0.1, c = 0.5, t = 120)
tdCdfPlot(model)

tdPdfPlot(model)

nlstimedist documentation built on Aug. 27, 2020, 9:07 a.m.