powered by
apply_by_variable(dataset, fn.to.apply, variables = NULL, variable.bounds = NULL, samples = NULL, ...)
## Example of applying a function to variables data(cachexia) apply.variables.result = apply_by_variable(cachexia, mean)
Run the code above in your browser using DataLab