Description Usage Arguments Examples
Running a linear model on data frame splits
1 |
data |
Dataset for modeling |
form |
Formula to be passed to the linear model |
i |
Number of cuts to split the data into |
var_name |
Variable to base the cuts on |
equal_width |
If TRUE, cuts the data based on even widths of value; if FALSE, each cut will have an approximately equal number of observations |
... |
Passes lm() parameters to allow user to handle NA values |
1 | lm_split(comps_hypercube, "rWAR ~ cum_rwar",i = 4, "cum_rwar", na.omit = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.