Displaying 1 result from an estimated 1 matches for "crop_group".
2011 Mar 10
2
Reshape, melt and cast query
I have a dataset that is based on crop output for a single crop
*sugarcane*...but
each observation is further subdivided into 3 kinds of sugarcane
i have read the file and have also used melt it to sort it on the
basis of *crop
group* using
melt(sugarcane, m=c("Crop_group")) -> canefile
this is how it has cast the data
variable value
1 Crop_group Sugarcane (first ratoon)
2 Crop_group Sugarcane (planted crop)
3 Crop_group Sugarcane (planted crop)
4 Crop_group Sugarcane (second ratoon)
5 Crop_group Sugarcane (first ratoon)
6 Crop_gro...