powered by
Covobj and covset objects
Create a set of covariates
new_covobj(x, envir = parent.frame(), ...)# S3 method for covobj print(x, ...)# S4 method for covobj as.list(x, ...)# S4 method for covset as.list(x, ...)# S3 method for covset print(x, ...)covset(..., envir = parent.frame())rvset(...)as.covset(x)
# S3 method for covobj print(x, ...)
# S4 method for covobj as.list(x, ...)
# S4 method for covset as.list(x, ...)
# S3 method for covset print(x, ...)
covset(..., envir = parent.frame())
rvset(...)
as.covset(x)
a formula; may be quoted.
for formulae.
formulae to use for the covset.
rvset is an alias for covset.
rvset
covset
obj <- new_covobj(Y[0,80] ~ rnorm(20,50)) obj as.list(obj) a <- Y ~ runif(0,1) b <- Z ~ rbeta(1,1) set <- covset(a,b) set as.list(set)
Run the code above in your browser using DataLab