TPR: Description of the function

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Description of the function

Usage

1
TPR(b_hat, b)

Arguments

b_hat

an estimation of this vector

b

a vector with non null values

Value

The proportion of non nulle values of B found non null in B_hat

Examples

1
2
3
B <- c(1, -1, 1.5, 1.5, rep(0, 6), 2, 0, 2, 0)
B_hat <- c(0, 0, 1, 1, rep(0,4) , rep(1 , 0))
TPR(b_hat = B_hat , b =B)

Marie-PerrotDockes/VariSel documentation built on May 7, 2020, 1:09 a.m.