1. Create three vectors using the data provided in the table. (Hint: follow the rules for creating proper variable names
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
1. Create three vectors using the data provided in the table. (Hint: follow the rules for creating proper variable names
1. Create three vectors using the data provided in the table. (Hint: follow the rules for creating proper variable names in R-Studio). 2. Generate a dataframe using the three vectors. Provide an output of this dataframe. 3. Filter the data to only include females without GDM. How many females are in the filtered group? Report mean, Q1, and Q3 for gestational weight gain in the overall sample. 5. Create a histogram for gestational weight gain and add a title "Distribution of gestational weight gain". 12 14 222325 Age 36 31 27 33 33 24 27 27 36 28 Gestational weight gain 2.9 11 10 6.5 4.5 17 25.5 17.5 17 18.2 GDM Yes No No No No Yes No Yes No Yes