Displaying 2 results from an estimated 2 matches for "painti".
Did you mean:
paint
2011 Jun 09
2
Reshape:cast; error using "..." in formula expression.
Whenever I use "..." in the formula of the cast function, from the reshape
package, I get the following error:
Error in `[.data.frame`(data, , variables, drop = FALSE) :
undefined columns selected
For example:
data(french_fries) #available in the reshape package
> head(french_fries)
time treatment subject rep potato buttery grassy rancid painty
61 1 1 3 1
2009 May 05
1
re shape package - use one cast() instead of many
I have a data set that I'm trying to melt and cast in a specific way using
the reshape package. (I'll use the ff_d dataset from reshape so I don't have
to post a toy data set here. )
Lets say I'm looking for the interaction of treatment with each type of
"variable" in ff_d. Using the command below gets me this. Subject will get a
column and each treatment type by each