search for: doorley

Displaying 2 results from an estimated 2 matches for "doorley".

Did you mean: dooley
2011 Mar 17
3
Flexible rbind
Dear All, I am trying to create a empty structure that I want to fill gradually through the code. I want to use something like rbind to create the basic structure first. I am looking for a possibility to do an rbind where the columns names dont match fully (but the missing columns can be defaulted to either zero or n/a) (my actual data has a lot of columns). Please see the data frames below I
2011 Mar 16
4
table() reading problem
I have the following problem: I have some string with numbers like k. I want to have a table like the function table() gives. However I am not able to call the first row, the 1, 2, 3, 5, 6 or 9. I tried to do that by a data.frame, but that doesn't seem to work either. The levels keep bothering me. This is an example of the code: k<-c(1,1,1,1,1,3,5,6,2,1,3,9,2,3,1,1,1) > table(k) k 1 2