50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

dmutate (version 0.1.3)

as_idata: Create individual data frame from a covset object

Description

Create individual data frame from a covset object

Usage

as_idata(.covset, .n)

Arguments

.covset

a covset object

.n

number of IDs to simulate

Examples

Run this code
# NOT RUN {
cov1 <- covset(Y ~ rbinomial(0.2), Z ~ rnorm(2,2))

as_idata(cov1, 10)

# }

Run the code above in your browser using DataLab