Improvements: Validation: ensure that the object is atomic (not just a vector)
For factors, get all classes and check if any class_x is a factor or ordered
Add arguments to return a unique mode with options to sort: occurrence order, lexicographical Reduce a dataframe to a sample (retains the structure of its columns)
Source: Validation: ensure that the object is atomic (not just a vector)
For factors, get all classes and check if any class_x is a factor or ordered
Add arguments to return a unique mode with options to sort: occurrence order, lexicographical Reduce a dataframe to a sample (retains the structure of its columns)
R/utils.R
params_data.Rd
Improvements:
Validation: ensure that the object is atomic (not just a vector)
For factors, get all classes and check if any class_x is a factor or ordered
Add arguments to return a unique mode with options to sort: occurrence order, lexicographical Reduce a dataframe to a sample (retains the structure of its columns)