Datasets and wrapper functions for tidyverse-friendly introductory linear regression, used in ModernDive: An Introduction to Statistical and Data Sciences via R available at < http://moderndive.com/> and DataCamp's Modeling with Data in the Tidyverse available at < https://www.datacamp.com/courses/modeling-with-data-in-the-tidyverse>.

Updated package for:

- Use in DataCamp's Modeling with Data in the Tidyverse, in particular added
`evals`

and`house_prices`

datasets and updated`get_regression_table()`

and`get_regression_points()`

functions. - v0.4.0 of ModernDive textbook

Details:

- Created
`get_correlation()`

function to omit `$ syntax and return a data frame - Import
`infer::rep_sample_n()`

instead of our own defined version, as this function is now included in`infer`

- Added
`evals`

,`house_prices`

,`tactile_prop_red`

,`pennies_sample`

and`mythbusters_yawn`

datasets - Added mean squared error and root mean squared error to output of
`get_regression_summaries()`

- Added
`newdata`

argument to`get_regression_points()`

. When:- Original outcome variable is included in
`newdata`

, output it as well as`residual`

(See Issue 17). - Otherwise omit
`residual`

- Original outcome variable is included in
- Removed
`tidyverse`

from Depends, Imports, or Suggests

Fixed broken url in `?bowl_samples`

- Added three
`get_regression_*`

functions meant for novice R users/regression fitters that process regression model outputs - Added datasets:
`pennies`

: 800 pennies to be treated as a population from which to simulate sampling a numerical variable from (`year`

of minting)`bowl`

: Bowl of 2400 balls of which 900 are red to be treated as a population from which to simulate sampling a categorical variable from (`color`

). Also known as the urn sampling framework \url{https://en.wikipedia.org/wiki/Urn_problem}.`bowl_samples`

: data from tactile version of sampling from`bowl`

done in class: 10 groups sampled n=50 balls from and counted the number red [ADD MODERNDIVE LINK]