search for: condomdata

Displaying 1 result from an estimated 1 matches for "condomdata".

Did you mean: codocdata
2013 Aug 22
1
converting a summary table to survey database form
...ed to have the data in survey database form i.e. 1 Ramses 4 1 Sheiks 4 1 Trojans 7 1 Unamed 2 2 Ramses 4 ... 10 Unamed 3 I would have a dataframe with two factor 'brand' and 'score'. I would then do an aov(score~brand,data=condom.dataframe) for instance. However to get my original condomData which has the tabulated scores per brand into the summarised form is a pain. I tried to just get a vector that essentially has all the rows of condomData put into one long vector from i.e. c( a1_1,a1_2...a1_5,a2_1,2_..a2_5.......a10_5) I would then bind this together with a names vector of rep(c(&...