Description Usage Arguments Value Note Author(s) References See Also
Given a dataset X that was used in the process of creating an anchors.data object Y (which may have had cases deleted due to missing values), trim cases of X to include only cases that would be used in an anchors() analyis of Y. Matching is done by rownames.
1 |
data |
A data.frame or matrix |
anchors |
An object returned by |
A data.frame or matrix with cases that match rows of anchors$data$z0; matching done by rownames
'data' is unchanged: remember to assign the result.
Jonathan Wand http://wand.stanford.edu
Wand, Jonathan; Gary King; and Olivia Lau. (2007) “Anchors: Software for Anchoring Vignettes”. Journal of Statistical Software. Forthcoming. copy at http://wand.stanford.edu/research/anchors-jss.pdf
Wand, Jonathan and Gary King. (2007) Anchoring Vignetttes in R: A (different kind of) Vignette copy at http://wand.stanford.edu/anchors/doc/anchors.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.