search for: surveyx

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

Did you mean: survey
2008 Jan 24
3
Reshaping a dataframe with conditional summary of columns - apply or reshape?
...perations/conditions that I need are: (A) The observations in "count" for each survey at each location in a given year need to be reduced according to the following rules and then placed in new columns "survey1", "survey2", "survey3" : -- when count = 0, surveyX = 0 -- when 0 < count < 11, surveyX = 1 -- when 11 < count, surveyX = 2 (B) The observations in var1 need to be summarized (here, by taking the mean) across all surveys for a given location in a given year and placed in "var1summ" (C) Observations in var2 need to be summa...