Last data update: 2014.03.03
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.
dfRemoveCases(Data, Cases)
Data
a dataframe
Cases
a vector of numeric or character case IDs
Returns dataframe with cases removed.
John J. Curtin jjcurtin@wisc.edu
d = dfRemoveCases(Prestige, c('bookbinders')) #data from car package d = dfRemoveCases(Davis, c(1,2,4)) #data from car package