opt.index: Optimal index

View source: R/utilities.R

opt.indexR Documentation

Optimal index

Description

Get or set the optimal index of the lambda path, as determined by a given criterion. value must be a numeric/int.

Usage

opt.index(obj, criterion = "gcd")

opt.index(obj, criterion = names(value)) <- value

Arguments

obj

a pulsar or batch.pulsar object

criterion

a summary statistic criterion for lambda selection. If value is not named, default to gcd.

value

Integer index for optimal lambda by criterion

See Also

get.opt.index


zdk123/pulsar documentation built on Sept. 28, 2023, 8:26 p.m.