Re: [R] Drop ALL Levels of a Data Frame Object

2011-10-16 Thread swonder03
No worries for the brevity. That worked exactly like I wanted. Thank you. -- View this message in context: http://r.789695.n4.nabble.com/Drop-ALL-Levels-of-a-Data-Frame-Object-tp3903788p3909062.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] Drop ALL Levels of a Data Frame Object

2011-10-13 Thread Jeff Newmiller
Why aren't you using as.character instead of drop.levels? --- Jeff Newmiller The . . Go Live... DCN: Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /So

[R] Drop ALL Levels of a Data Frame Object

2011-10-13 Thread swonder03
I'm using the package 'gdata' and 'drop.levels' in the following code as a simplified example of what I want to do, pinpointing the issue of isolating variable in a data frame: /dfNamesAndHeight <- data.frame("Name" = c('Bill','Bob','Bo'), "Height" = c(73,68,83)) name_Bob <- drop.levels(dfNamesAnd