af.sensitivity | R Documentation |
Plots Lek-Pofiles and Fischer's Deltas.
af.sensitivity( model, x = NULL, y = NULL, steps = 100, splitseq = seq(0, 1, by = 0.25), plot = T, verbose = T, ... )
model |
Any object that works as input for function predict. |
x |
data.frame with numeric predictor variables. |
y |
numeric criterion variable. |
Plots Lek-Pofiles and Fischer's Deltas (i.e., the difference in R^2 that results from omitting a predictor for each predictor, as described by Fischer(2015)).
data=data.frame(y=rnorm(100)+scale(1:100),x1=rnorm(100)+scale(1:100),x2=rnorm(100)); l=lm(y~.,data=data) sensitivity(l,data[c("x1","x2")],data["y"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.