View source: R/get.uri.2d.R View source: R/all.R
get.uri.2d | R Documentation |
An internal function to compute the correspondence profile (Psi(t, v)) and the derivative of the correspondence profile (Psi'(t, v)) for t and v between 0 and 1
get.uri.2d(x1, x2, tt, vv, spline.df = NULL)
x1 |
|
x2 |
|
tt |
A vector of right-tail percentages for x1. It is a numeric vector between 0 and 1, e.g. seq(0.01, 0.99, by=0.01) |
vv |
A vector of right-tail percentages for x2. It is a numeric vector between 0 and 1, e.g. seq(0.01, 0.99, by=0.01) |
spline.df |
The degree of freedom to control the smoothness of the spline to be superimposed on the points |
Qunhua Li
Q. Li, J. B. Brown, H. Huang and P. J. Bickel. (2011) Measuring reproducibility of high-throughput experiments. Annals of Applied Statistics, Vol. 5, No. 3, 1752-1779.
comp.uri, get.correspondence
# salmon data from Kallenberg and Ledwina, 1999 data(salmon) # get.correspondence() needs large ranks have high correlation and # small ranks have low correlation. In this dataset, small values # have high correlation and large values have low correlation. # Ranking negative values makes the data follow the structure required # by get.correspondence(). # There are 28 observations in this data set. rank.x <- rank(-salmon$spawners) rank.y <- rank(-salmon$recruits) t <- seq(0.01, 0.99, by=1/28) psi.dpsi <- get.uri.2d(rank.x, rank.y, t, t, spline.df=6.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.