naTriplet | R Documentation |
The aim in three-way deletions is to retain only the largest number of available data triplets with all non-missing data.
naTriplet(x, y, ctrl)
x |
Vector of x data |
y |
Vector of y data |
ctrl |
Data matrix on the control variable(s) kept beyond causal path determinations |
newx |
A new vector x after removing triplet-wise missing data |
newy |
A new vector or matrix y after removing triplet-wise missing data |
newctrl |
A new vector or matrix ctrl after removing triplet-wise missing data |
Prof. H. D. Vinod, Economics Dept., Fordham University, NY
See napair
.
## Not run:
x=sample(1:10);y=sample(1:10);x[2]=NA; y[3]=NA
w=sample(2:11)
naTriplet(x,y,w)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.