check_lambda {swfdr}R Documentation

validate lambda. They must be numeric, finite, sorted with unique value

Description

validate lambda. They must be numeric, finite, sorted with unique value

Usage

check_lambda(x, pmax)

Arguments

x

vector of lambda values

pmax

numeric, maximal pvalue

Value

numeric vector of sorted unique x, or stop if x does not satisfy criteria


[Package swfdr version 1.12.0 Index]