nlstimedist (version 2.0.0)

tdCdfPlot: Plot the timedist PDF or CDF

Description

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

Usage

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

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab