powered by
Session-specific estimates of the chosen parameter are plotted.
# S3 method for openCR plot (x, par = "phi", newdata = NULL, add = FALSE, xoffset = 0, ylim = NULL, useintervals = TRUE, CI = TRUE, intermediate.x = TRUE, alpha = 0.05, stratum = 1, ...)
The x coordinates (including xoffset) are returned invisibly.
openCR object from openCR.fit
character names of parameter to plot
dataframe of predictor values for predict (optional)
predict
logical; if TRUE then points are added to an existing plot
numeric offset to be added to all x values
numeric vector of limits on y-axis
logical; if TRUE then x values are spaced according to the intervals attribute
logical; if TRUE then 1-alpha confidence intervals are plotted
logical; if TRUE then turnover parameters are plotted at the mid point on the x axis of the interval to which they relate
numeric confidence level default (alpha = 0.05) is 95% interval
numeric; stratum to plot if more than one
other arguments passed to plot, points and segments
plot
points
segments
If ylim is not provided it is set automatically.
For customization you may wish to prepare a base plot with plot(... , type = 'n') and use add = TRUE.
plot(... , type = 'n')
add = TRUE
predict, plot.derivedopenCR)
plot.derivedopenCR
if (FALSE) { fit <- openCR.fit(join(ovenCH), type='CJS', model = phi~session) plot(fit,'phi', pch = 16, cex=1.3, yl=c(0,1)) }
Run the code above in your browser using DataLab