Displaying 1 result from an estimated 1 matches for "tp3903788p3909062".
2011 Oct 14
2
Drop ALL Levels of a Data Frame Object
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(dfNamesAndHeight[2,1])
cat(name_Bob,