search for: allsurvey

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

Did you mean: allsurveys
2008 Aug 19
0
R-code: for those who like a challenge; HELP
...r onesurvey consisting of three values onesurvey<-c(x,y,weight) invisible(onesurvey) } ### 14 Applying f1 to each row of the survey dataset, for the set number of iterations replicate(iterations,{ ### 15 Applying f1 to each row of the survey dataset, one iteration ### this should return a list allsurveys with three cols and as many rows as there are surveys allsurveys<-apply(data,1,FUN=f1) ### 16 safer to convert list into a dataframe allsurveys<-as.data.frame(allsurveys) ### 17 Updating "results" array with random values from each survey, after one iteration ### loop that picks...