View source: R/partial_effects.R
Diagnostic plot for assessing effects of individual features on a principal component
1 2 3 4 5 6 7 8 | partial_effects(
model,
X,
pc_num = 1,
samp_size = 20,
num_load = 5,
type = "regression"
)
|
model |
A fitted model object to visualize |
X |
Design matrix that the object was trained on |
pc_num |
Principal component to impute |
samp_size |
Number of steps to take in PC direction |
num_load |
Number of top loadings to plot |
type |
Outcome type, either 'classification' (binary) or 'regression' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.