How can I create pie chart and bar graph in R from this summary of data:
gender race.ethnicity parental.level.of.education
female:518 group A: 89 associate's degree:222
male :482 group B:190 bachelor's degree :118
group C:319 high school :196
group D:262 master's degree : 59
group E:140 some college :226
some high school :179
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.