dfRemoveCases: Removes cases from dataframe

Description Usage Arguments Value Author(s) Examples

Description

Removes cases from dataframe. Cases can be numeric or character. If numeric, rownames must be able to be converted to numeric. Returns warning if cases not found in dataframe.

Usage

1
dfRemoveCases(Data, Cases)

Arguments

Data

a dataframe

Cases

a vector of numeric or character case IDs

Value

Returns dataframe with cases removed.

Author(s)

John J. Curtin jjcurtin@wisc.edu

Examples

1
2
d = dfRemoveCases(Prestige, c('bookbinders')) #data from car package
d = dfRemoveCases(Davis, c(1,2,4))        #data from car package


Search within the lmSupport package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.