Exercise 3
Exercise 3Chris Penfold25 September, 2019Embed a plotHere’s an embedded plotlibrary(ggplot2)ggplot(data = mpg, aes(x = drv, y = hwy, colour = drv)) + geom_boxplot()Embed a tableHere’s an embedded tablelibrary(BristolVis)library(arsenal)table_one <- tableby(diet ~ bmi + sex, data = bmi, test=TRUE, # include tests of associations between diet and exposures total=TRUE, # include a total column control=tableby.control(digits=1)) # to control how many decimal places are in the tablesummary(table_one)0 (N=9)1 (N=11)Total (N=20)p valuebmi0.618???Mean (SD)30.7 (3.0)30.2 (1.1)30.4 (2.1)???Range25.0 - 33.328.0 - 31.825.0 - 33.3sex0.423???F5 (55.6%)8 (72.7%)13 (65.0%)???M4 (44.4%)3 (27.3%)7 (35.0%)Inline R codeWe included 20 people from the BMI dataset in our analyses. The mean BMI of people in this study was 30.4kg/m2 (sd = 2.1kg/m2). ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- activity 1 3 3 thermodynamics answer key
- activity 1.3.3 thermodynamics answer key
- act 1 3 3 thermodynamics answer key
- 3 3 t score bone density
- 3 by 3 linear system calculator
- 3 by 3 matrix solver
- 3 by 3 system solver
- 3 by 3 system calculator
- 3 equation 3 unknown solver
- 3 x 3 equation solver
- solving 3 x 3 linear systems calculator
- 3 3 repeating as a fraction