r:extracting_variable_names_and_lables
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
r:extracting_variable_names_and_lables [2017/11/23 17:33] – hkimscil | r:extracting_variable_names_and_lables [2017/11/23 17:42] (current) – hkimscil | ||
---|---|---|---|
Line 23: | Line 23: | ||
7 | 7 | ||
8 | 8 | ||
- | |||
- | data <- data[-1] | ||
</ | </ | ||
< | < | ||
- | data.info <- data.frame(attributes(data)[c(" | + | > data.info <- data.frame(attributes(data)[c(" |
- | data.info | + | > data.info |
+ | | ||
+ | 1 state | ||
+ | 2 | ||
+ | 3 pop 1990 population | ||
+ | 4 | ||
+ | 5 density | ||
+ | 6 metro Metropolitan area population, % | ||
+ | 7 waste Per capita solid waste, tons | ||
+ | 8 | ||
+ | 9 miles Per capita miles/year, 1,000 | ||
+ | 10 toxic Per capita toxics released, lbs | ||
+ | 11 green Per capita greenhouse gas, tons | ||
+ | 12 | ||
+ | 13 senate | ||
+ | 14 csat Mean composite SAT score | ||
+ | 15 vsat Mean verbal SAT score | ||
+ | 16 msat Mean math SAT score | ||
+ | 17 percent | ||
+ | 18 expense Per pupil expenditures prim& | ||
+ | 19 income Median household income, $1,000 | ||
+ | 20 high % adults HS diploma | ||
+ | 21 college | ||
</ | </ |
r/extracting_variable_names_and_lables.1511427837.txt.gz · Last modified: 2017/11/23 17:33 by hkimscil