Displaying 2 results from an estimated 2 matches for "lbys".
Did you mean:
lays
2012 Oct 10
1
write.csv with append = TRUE
Is there a way to make any of the write functions (.table or .csv) append
to the same file?
I get this warning message and do not know how to enable the appending.
Warning messages:
1: In write.csv(names(Lbys)[c], fo, append = TRUE) :
attempt to set 'append' ignored
2: In write.csv(Lbys[[c]], fo, append = TRUE) :
attempt to set 'append' ignored
Regards,
Alex van der Spek
2012 Oct 10
2
Summary using by() returns character arrays in a list
I use by() to generate a summary statistics like so:
Lbys <- by(dat[Nidx], dat$LipTest, summary)
where Nidx is an index vector with names picking out the columns in the
data frame dat.
This returns a list of character arrays (see below for str() output) where
the columns are named correctly but the rownames are empty strings and the
values are string...