napair | R Documentation |
The aim in pair-wise deletions is to retain the largest number of available data pairs with all non-missing data.
napair(x, y)
x |
Vector of x data |
y |
Vector of y data |
newx |
A new vector x after removing pairwise missing data |
newy |
A new vector y after removing pairwise missing data |
Prof. H. D. Vinod, Economics Dept., Fordham University, NY
## Not run:
x=sample(1:10);y=sample(1:10);x[2]=NA; y[3]=NA
napair(x,y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.