Displaying 2 results from an estimated 2 matches for "melt_check".
2011 Aug 08
1
Reshape2 sytax
Hi Hadley et all,
I am struggling with reshape2 and melt works and melt_check
(filtered151) seems fine
My cast command was acast (filtered151, Time ~ Species ~ Number)
> melt_check (filtered151)
Using time, Species as id variables
$id
[1] "time" "Species"
$measure
[1] "Number"
When I execute cast the data matrix is in the correct ord...
2008 Feb 28
1
Errors melt()ing data...
....norm1, select= c("Sample.Name", "SNP", "Pool", "polar.1", "polar.2")), id=c("Sample.Name", "SNP"))
Error in if (!missing(id.var) && !(id.var %in% varnames)) { :
missing value where TRUE/FALSE needed
> traceback()
4: melt_check(data, id.var, measure.var)
3: melt.data.frame(as.data.frame(data), id = attr(data, "idvars"))
2: melt.cast_df(subset(t.norm1, select = c("Sample.Name", "SNP",
"Pool", "polar.1", "polar.2")), id = c("Sample.Name", "SNP...