early_january_weather
consisting of January
subset of nycflights13::weather
coffee_quality
dataset: 1340 samples of coffee tested for
their quality levelamazon_books
dataset: sample of books available for
purchase on Amazon.comipf_lifts
consisting of international power lifting
resultsbabies
on maternal smoking and infant healthev_charging
: information from 3,395 high resolution
electric vehicle charging sessions.ma_traffic_2020_vs_2019
consisting of collisions
information sourced from reports produced by the Massachusetts Traffic
Data Management System.mass_traffic_2020
consisting of traffic data for 13
Massachusetts countiesmario_kart_auction
datasetavocados
consisting of avocado prices dataset downloaded
from the Hass Avocado Board website in May of 2018.saratoga_houses
random sample of 1057 houses taken
from full Saratoga Housing Data.alaska_flights
consisting of Alaska Airlines
subset of nycflights13::flights
conf.level
argument to
get_regression_table()
inherited from
broom::tidy.lm()
vignettes/paper.md
pkgdown
and covr
issues, defragged
documentation.vignettes/why-moderndive.Rmd
main
vignettegeom_parallel_slopes()
with new arguments:
fullrange=TRUE
to draw regression lines over the
entire support of the x-axis (by @wjhopper)level
to set different level of confidence interval
shading (by @echasnovski)geom_categorical_model()
for
visualizing regression models with one categorical explanatory/predictor
variable (by @wjhopper)gg_parallel_slopes()
directing users to use geom_parallel_slopes()
instead (by
@mariumtapal)geom_parallel_slopes()
geom extension to
ggplot2
package to plot parallel slopes regression models
with one numerical and one categorical variable (this is not possible
using ggplot2::geom_smooth()
). Note this renders
gg_parallel_slopes()
function added in v0.3.0
obsolete.geom_parallel_slopes()
to “Why
moderndive
?” vignettepennies_resamples
data frame columnsget_correlation()
now:
dplyr::group_by()
groupingna.rm = TRUE
argument or by passing standard
stats:cor(use = "complete.obs")
argument via
...
gg_parallel_slopes()
. In the future we hope to
define a new ggplot2
geom.moderndive
?” vignetteget_regression_points()
to return
a column that identifies the observational units/rowsDD_vs_SB
: Dunkin Donuts and Starbucks in Eastern
Massachusetts data collected by @DelaneyMoranpromotions
: tibble version of
openintro::gender.discrimination
used to illustrate
permutation test.MA_schools
: Relationship between SAT scores and
socio-economic status for Massachusetts high schools.mythbusters_yawn
: Data from study on Mythbusters
show on whether yawning ispromotions_shuffled
: one instance of
promotions
with gender
permuted/shuffledpennies_sample
sample of 40 pennies from
pennies
has been renamed orig_pennies_sample
.
New pennies_sample
consists of 50 pennies sampled from bank
in Northampton, MA, USA on 2019/2/1.pennies_resamples
: 35 bootstrap resamples of new
pennies_sample
movies_genre
: random sample of 32 action and 36
romance movies from ggplot2movies::movies
assertive::assert()
codehouse_prices$date
from dttm
(date-time) to date
per R4DS comment
on using simplest data type possibleUpdated package for:
evals
and house_prices
datasets and
updated get_regression_table()
and
get_regression_points()
functions.Details:
get_correlation()
function to omit
$
syntax and return a data frameinfer::rep_sample_n()
instead of our own defined
version, as this function is now included in
infer
evals
, house_prices
,
tactile_prop_red
, pennies_sample
and
mythbusters_yawn
datasetsget_regression_summaries()
newdata
argument to
get_regression_points()
. When:
newdata
,
output it as well as residual
(See Issue 17).residual
tidyverse
from Depends, Imports, or
SuggestsFixed broken url in ?bowl_samples
get_regression_*
functions meant for novice
R users/regression fitters that process regression model outputspennies
: 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 .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]