Learn R Programming

plsdof (version 0.3-2)

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)

Value

the index of the first local minimum of x.

Arguments

x

vector.

Author

Nicole Kraemer

References

Kraemer, N., Sugiyama M. (2011). "The Degrees of Freedom of Partial Least Squares Regression". Journal of the American Statistical Association. ahead of print 106 (494) https://www.tandfonline.com/doi/abs/10.1198/jasa.2011.tm10107

Examples

Run this code

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

Run the code above in your browser using DataLab