This is just a slight modification of a question I asked earlier. Thanks to all the responders. I have a data set(Bill) of with 1 variable (var1), with 100 obs that are in ascending order. I want to sample every 10 observations and save them in 10 different groups such as Group1 is obs 1-10 Group 2 is obs-11-20 .... Subset data into the 10 groups, then calculate the mean/0.8 of var1 for each of the 10 groups. The mean/0.8 is the modification. Thanks. _________________________________________________________________ ItÂ’s easy to add contacts from Facebook and other social sites through Wi https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.