cliss {LIStest} | R Documentation |
calculate the size of the longest increasing subsequence for the samples of continuous random variables.
cliss(x, y)
x |
x is a numeric vector of data values |
y |
y is a numeric vector of data values |
Integer, the size of the longest increasing subsequence
Jesus Garcia and Veronica Andrea Gonzalez Lopez
A nonparametric idependence test for small sample size
X<-rexp(50) Y<-runif(50,0,X) res<-cliss(X,Y) res ## The function is currently defined as function(x,y){ s<-order(y[order(x)]) rr<-lis(s) }