retrieveLambdas: Retrieve lambdas

Description Usage Arguments Value Note See Also

View source: R/retrieveLambdas.R

Description

Retrieve lambdas

Usage

1
2
3
4
5
6
7
8
9
  retrieveLambdas(lambdas, ds, out, ...)

  ## Default S3 method:
retrieveLambdas(lambdas,ds,out,...)

  ## Default S3 method:
retrieveLambdas(lambdas,ds,out,...)

  smartLambdaRetriever(...)

Arguments

lambdas

simple set of lambda values for the default, or an instance of a class like smartLambdaRetriever for which a specific version of the method is implemented.

ds

dataset for which the lambdas need to be found

out

outcome variable

...

For specific implementations, e.g. passed on to findReasonableLambdaHelper in retrieveLambdas.smartLambdaRetriever

Value

vector of lambda values - in fact, lambdas

vector of lambda values through findReasonableLambdaHelper

Note

abstracts away selection of lambdas: see EMLasso

Constructor for smartLambdaRetriever objects. See findReasonableLambdaHelper for what could be passed through ...

See Also

EMLasso

EMLasso

EMLasso, findReasonableLambdaHelper


EMLasso documentation built on May 2, 2019, 5:49 p.m.