Description Usage Arguments Details Value Author(s) References Examples

Expands a contingency table to a data frame where each observation in the table becomes a single observation in the data frame with corresponding information for each for each combination of the table dimensions.

1 2 | ```
screen_variables(x, y, lambda = 0.1, method = c("global-strong",
"global-DPP"))
``` |

`x` |
A table or matrix |

`y` |
A vector of outcomes |

`lambda` |
a vector of positive values used for the penalization parameter. |

`method` |
a string giving the method used for screening. Two possibilities are "global-strong" and "global-DPP" |

Note that no standardization is done (not necessary?)

A list with three elements: lambda which contains the lambda values, selected which contains the indices of the selected variables, and method a string listing the method used.

Claus Ekstrom [email protected]

Hastie, Tibshirani and Wainwright (2015). "Statistical Learning with Sparsity". CRC Press.

1 2 3 |

MESS documentation built on Nov. 24, 2018, 1:04 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.