setdata | R Documentation |
set or retrieve the default data.frame
Set a data.frame as default data.frame for epifield function. This avoid typing and simplify syntax for R newcomers. setdata is mandatory for some functions : generate, countif If missing df name, then setdata() return the current data.frame name
setdata(df = NULL)
df |
Name of the data.frame to set as default |
The current data.frame name
df <-as.data.frame(c(1,2))
setdata(df)
rm(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.