Displaying 1 result from an estimated 1 matches for "cutyield".
Did you mean:
co_yield
2006 Mar 15
3
concatenating factor from list
Hi,
I've run into a ridiculous problem I can't find any solutions for in the
archives or help pages:
data(barley)
cutYield <- with(barley, by(yield, variety, cut, breaks = c(0, 30, 60, 90)))
As in this example, I'm using 'by' to return a factor for each level of
another factor. The problem is that 'by' returns a list of the factors,
and I need all these factors concatenated. No problem, I said...