orivisit | R Documentation |
Internal S3 object, stores lazy reference to original visit data.
orivisit(df_visit, call = NULL, env = parent.frame())
df_visit |
dataframe with original visit data |
call |
optional, provide call, Default: NULL |
env |
optional, provide environment of original visit data, Default: parent.frame() |
Saves variable name of original visit data, checks whether it can be retrieved from parent environment and stores summary. Original data can be retrieved using as.data.frame(x).
orivisit object
df_visit <- sim_test_data_study(
n_pat = 100,
n_sites = 5,
frac_site_with_ur = 0.4,
ur_rate = 0.6
)
df_visit$study_id <- "A"
visit <- orivisit(df_visit)
object.size(df_visit)
object.size(visit)
as.data.frame(visit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.