View source: R/check.sightability.model.args.R
check.sightability.model.args | R Documentation |
Check the sightability model arguments for consistency
check.sightability.model.args(data, sight.model, sight.beta, sight.beta.cov)
data |
Data.frame containing covariates for sightability model |
sight.model |
Formula with sightability model |
sight.beta |
Parameter estimates (from fitted sightability model |
sight.beta.cov |
Estimated variance-covariance matrix for parameter estimates from fitted sightability model. |
Error condition or invisible
Schwarz, C. J. cschwarz.stat.sfu.ca@gmail.com.
sightability.table <- data.frame(VegCoverClass=1:5)
sight.beta <- c(4.2138, -1.5847)
sight.beta.cov <- matrix(c(0.7821634, -0.2820000,-0.2820000, 0.1114892), nrow=2)
check.sightability.model.args( sightability.table,
~VegCoverClass,
sight.beta,
sight.beta.cov)
## Not run:
check.sightability.model.args( sightability.table,
~VegCoverClass2,
sight.beta,
sight.beta.cov)
check.sightability.model.args( sightability.table,
~VegCoverClass,
sight.beta[1],
sight.beta.cov)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.