The goal of this analysis will be to develop a predictive model for exercise manner.
-We will generate a tool to quantify how well people exercise, based on data obtained from accelerometers on the belt, arm, forearm, and dumbell of six participants who performed exercises in correct and incorrect ways.
-We will critique this model from its results when using it to evaluate 20 different test cases.
## Warning: package 'caret' was built under R version 3.4.4
## Loading required package: lattice
## Loading required package: ggplot2
## Warning: package 'rpart.plot' was built under R version 3.4.4
## Warning: package 'randomForest' was built under R version 3.4.4
## randomForest 4.6-14
## Type rfNews() to see new features/changes/bug fixes.
## ## Attaching package: 'randomForest'
## The following object is masked from 'package:ggplot2': ## ## margin
## Loading required package: survival
## ## Attaching package: 'survival'
## The following object is masked from 'package:caret': ## ## cluster
## Loading required package: splines
## Loading required package: parallel
## Loaded gbm 2.1.3