Code for project one, scenario one in SF2930 Regression Analysis at KTH Royal Institute of Technology.
Dataset must be of type tibble
.
Note: Applicable to other datasets with numeric predictors. Change the function ìnput dv
in RunFullAnalysis
.
- Download the
bodyfatmen.csv
file from the course page, and place it in a data folder in the parent directory. - Import
devtools
and rundevtools::install_github("itslwg/regone")
. - Run
regone::RunProject()
.
- Import
devtools
and rundevtools::install_github("itslwg/regone")
. - Run
regone::RunFullAnalysis()
, changing the function inputdv
to the label of your dependent variable.