Description Usage Arguments Details Note Examples
This function will launch the interactive learning environment.
1 | learn(assign.env = parent.frame(1))
|
assign.env |
An environment |
This function initializes the interactive environment by proposing to select
a CSV file from the caching directory built with the pins package. Once the file
is selected, the function reads the selected dataset and adds a numeric variable,
named Score, if not already existing. It also replaces any existing missing values
by 0 from the Score variable. Finally the function returns to the
sessionQuestions
function, or to the sessionExit
function if 0 is typed.
If you have any problem with the encoding, or if you want to read a dataset with an non-Latin alphabet, please type ?Sys.setlocale() and follow the instructions.
1 2 3 | if(interactive()){
learn()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.