Page 1 of 1

1. Create three vectors using the data provided in the table. (Hint: follow the rules for creating proper variable names

Posted: Mon Jul 11, 2022 9:56 am
by answerhappygod
1 Create Three Vectors Using The Data Provided In The Table Hint Follow The Rules For Creating Proper Variable Names 1
1 Create Three Vectors Using The Data Provided In The Table Hint Follow The Rules For Creating Proper Variable Names 1 (273.24 KiB) Viewed 28 times
Please answer with all the codes written.
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