Code
make_splits(indices, df)
Condition
Error in `rsplit()`:
! At least one row should be selected for the analysis set.
Code
make_splits(training, testing)
Condition
Error in `make_splits()`:
! The analysis set must contain at least one row.
Code
make_splits(training, testing)
Condition
Error in `make_splits()`:
! The analysis and assessment sets must have the same columns.
Code
make_splits("potato")
Condition
Error in `make_splits()`:
! No method for objects of class: character
Code
get_rsplit(val, 3)
Condition
Error in `get_rsplit()`:
! `index` must be a length-1 integer between 1 and 1.
* A value of 3 was provided.
Code
get_rsplit(val, c(1, 2))
Condition
Error in `get_rsplit()`:
! `index` must be a length-1 integer between 1 and 1.
* Index was of length 2.
Code
get_rsplit(val, 1.5)
Condition
Error in `get_rsplit()`:
! `index` must be a length-1 integer between 1 and 1.
* A value of 1.5 was provided.
Code
get_rsplit(warpbreaks, 1)
Condition
Error in `get_rsplit()`:
! No method for objects of class: data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.