dfRemoveCases: Removes cases from dataframe

Description Usage Arguments Value Author(s) Examples

View source: R/dfRemoveCases.R

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

lmSupport documentation built on May 29, 2017, 11:06 a.m.

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