Function to plot the confidence intervals from the change parameter
plot.coverage.Rd
Function to plot the confidence intervals from the change parameter
Usage
# S3 method for class 'coverage'
plot(power.object, truebeta.response, alternativebeta = NULL, plot = TRUE)
Arguments
- power.object
A power analysis object of class gamMRSea.power
- truebeta.response
The true coeficient of the change covariate on the scale of the response. E.g. 0.8 is a 20\% decline in overall numbers.
- alternativebeta
An alternative coefficient which you wish to test if it is a plausible value for the truth (i.e. sits within the confidence interval for the coefficient). Defaults to no change.
- plot
(default = TRUE). Logical stating whether the results should be plotted.
Examples
# Load a power object that was created with a 20\% sitewide decline
# 50 simulations were run
data(nysted.power.oc)
plot.coverage(nysted.power.oc, truebeta.response=0.8)
#> Error in invlink(power.object$betacis): could not find function "invlink"