splitAndImpute {rv}R Documentation

Split a vector based on the names of the components

Description

splitAndImpute splits the given vector based on the names of the components, and imputes the variables into given templates.

Usage

  splitAndImpute(x, templates)

Arguments

x a vector with the name attributes set
templates a named list of templates (arrays)

Details

A convenience function: combination of splitbyname and imputeIntoTemplate.

See splitbyname and imputeIntoTemplate for details.

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

Examples

  #

[Package rv version 0.949 Index]