findviews_to_predict_core {findviews} | R Documentation |
Views of a multidimensional dataset, ranked by their prediction power, non-Shiny version.
Description
findviews_to_predict_core
detects groups of mutually dependent
columns, and ranks them by their predictive power. It produces the same
results as findviews_to_predict
, but does not
present them with a Shiny app.
Usage
findviews_to_predict_core(target, data, view_size_max = NULL,
clust_method = "complete")
Arguments
target |
Name of the variable to be predicted. |
data |
Data frame or matrix to be processed |
view_size_max |
Maximum number of columns in the views. If set to
|
clust_method |
Character describing a clustering method, used internally
by |
Details
The function findviews_to_predict_core
takes a data set and a target
variable as input. It detects clusters of statistically dependent columns in
the data set - e.g., views - and ranks those groups according to how well
they predict the target variable.
See the documentation of findviews_to_predict
for more
details.
The difference between findviews_to_predict
and
findviews_to_predict_core
is that the former presents its results
with a Shiny app, while the latter simply outputs them as R stuctures.
Examples
findviews_to_predict_core('mpg', mtcars)
findviews_to_predict_core('mpg', mtcars, view_size_max = 4)