Description Usage Arguments Value Examples
Penalized relative information
1 | penalized.relative.info(data, var.x, var.y, alpha = 2)
|
data |
A data frame |
var.x |
The regressor (or predictor) variable (has to be the name of a variable in |
var.y |
The output variable (has to be the name of a variable in |
alpha |
(defaults to 2) A numeric |
PenRI(var.y|var.x;alpha) = Sum_(a ~ var.x) P(a)^(alpha) * PointRI(var.y|var.x = a)
1 2 3 | list.pairs <- list(c("cyl","factor"),c("am","factor"),c("vs","factor"),c("gear","factor"))
mtcars2 <- allvariables.type.change(mtcars, list.pairs)
penalized.relative.info(mtcars2,"cyl","gear",3/2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.