Displaying 1 result from an estimated 1 matches for "age21".
Did you mean:
page21
2012 Jul 18
4
Entering Data Files
...given file is the hardest part of learning R for me.
For example, I have this datafile from Moore's text:
Live Age Count
Parents Age19 324
Another Age19 37
OwnPlace Age19 116
Group Age19 58
Other Age19 5
Parents Age20 378
Another Age20 47
OwnPlace Age20 279
Group Age20 60
Other Age20 2
Parents Age21 337
Another Age21 40
OwnPlace Age21 372
Group Age21 49
Other Age21 3
Parents Age22 318
Another Age22 38
OwnPlace Age22 487
Group Age22 25
Other Age22 9
I can manually enter the numbers and create my table and barplot.
x <- matrix(c(324, 378, 337, 318, 37, 47, 40, 38, 116, 279, 372, 487, 58,
60...