Description Usage Arguments Details Value
Function returns a data.frame
with one variable varying and the others fixed at their mean values or their most common level.
1 |
x |
A data.frame. Should add the possibility to extract the |
var |
The name of the variable to build a prediction |
fun |
The function to apply to numerical variables |
n |
The number of values to predict |
When factors are given, an effort is made to put the same factors in the resulting data.frame. Not sure that the code would work for non-factor categorical variable for now.
A data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.