lis: Longest increasing subsequence for a univariate sample
Description
It compute the size of the longest increasing subsequence from a sample of a (continuous) random variable.
Usage
lis(x)
Arguments
x
numeric vector of data values.
Value
Integer, the size of the longest increasing subsequence.
Details
See example 2.1-Main reference.
References
J. E. Garcia, V. A. Gonzalez-Lopez, Independence tests for continuous random variables based on the longest increasing subsequence, Journal of Multivariate Analysis (2014), http://dx.doi.org/10.1016/j.jmva.2014.02.010