Displaying 1 result from an estimated 1 matches for "stapply".
Did you mean:
sapply
2009 May 05
2
Way to handle variable length and numbers of columns using read.table(...)
I've got read.table to successfully read in my table of three columns. Most of the time I will have a set number of rows, but sometime that will be variable and sometimes there will be only be two variables in one row, e.g.
Time Loc1 Loc2
1 22.33 44.55
2 66.77 88.99
3 222.33344.55
4 66.77 88.99
Is there any way to have read.table handle (1) a variable number of rows, and (2) sometime there