Learn R Programming

plsdof (version 0.2-1)

first.local.minimum: Index of the first local minimum.

Description

This function computes the index of the first local minimum.

Usage

first.local.minimum(x)

Arguments

x
vector.

Value

  • the index of the first local minimum of x.

References

Kraemer, N., Sugiyama M. (2010). "The Degrees of Freedom of Partial Least Squares Regression". preprint, http://arxiv.org/abs/1002.4112

Examples

Run this code
v<-rnorm(30)
out<-first.local.minimum(v)

Run the code above in your browser using DataLab