This may be a simple problem but I spent most of my day today trying to
figure it out, as I am not a programmer. I have a dataframe with
observations from different weeks of the year, numbered. My variable
"week" has values week1, week4, week9, etc. Not all weeks are represented.
I need to calculate statistics and compare means for a measured variable
(no_of_flights) :

Week    NoFlights
week1    31.00
week1    31.00
week1    36.00
week1    32.00
week1    30.00
week1    30.00
week1    30.00
week2    31.00
week2    32.00
week1    30.00
week1    31.00
week1    32.00
week23    30.00
week23    35.00
week57    30.00
week1    32.00
week1    33.00
week1    33.00
week2    30.00
week2    33.00
week1    32.00
week1    32.00
week1    33.00
week23    28.00

Any help is appreciated.

River

        [[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.

Reply via email to