Description Usage Arguments Value
Function to randomly split a data frame into two sections, potentially for training and validation As R will only allow a single item to be returned by a functio use
1 |
dataframe |
The dataframe to be split |
seed |
Option to set seet (random number generator) for reproducability, defaults to null |
A list of training and validation dataframes, extract usiing training <- input$trainset or input$testset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.