Displaying 1 result from an estimated 1 matches for "lelvels".
Did you mean:
leaves
2005 Apr 16
2
String in data frame
...his is what i want. but the second d$name is a list with a levels with it.
the list i have for d$name is: d$name = (bal bal bal bal bal bal), levlels:bal, however, when i want to have for following code, something different happens:
namelist <- NA;
a <- d$name[1]; #this will outputs a = bal, lelvels:bal
namelist <- c(namelist, a); #this does not outptu (NA, bal), instead it outputs (NA, 1), if i keep #adding a to the namelist, it keeps adding 1 to the namelist instead of bal. However, i want to add bal to the namelist, not 1, so how i can do this?
Thank you very much.
Cuichang Zhao
A...