partial_effects: Diagnostic plot for assessing effects of individual features...

Description Usage Arguments

View source: R/partial_effects.R

Description

Diagnostic plot for assessing effects of individual features on a principal component

Usage

1
2
3
4
5
6
7
8
partial_effects(
  model,
  X,
  pc_num = 1,
  samp_size = 20,
  num_load = 5,
  type = "regression"
)

Arguments

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'


nickseedorff/totalvis documentation built on May 12, 2021, 8:49 p.m.