Skip to content

LSTbook

Data and Software for "Lessons in Statistical Thinking"

v0.6 · Dec 7, 2024 · MIT + file LICENSE

Description

"Lessons in Statistical Thinking" D.T. Kaplan (2014) <https://dtkaplan.github.io/Lessons-in-statistical-thinking/> is a textbook for a first or second course in statistics that embraces data wrangling, causal reasoning, modeling, statistical adjustment, and simulation. 'LSTbook' supports the student-centered, tidy, pipeline-oriented computing style featured in the book.

Downloads

291

Last 30 days

10800th

291

Last 90 days

291

Last year

CRAN Check Status

5 WARNING
8 NOTE
1 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 WARNING
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 WARNING
r-oldrel-macos-x86_64 WARNING
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 WARNING
r-release-macos-x86_64 WARNING
r-release-windows-x86_64 NOTE
Check details (17 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
NOTE r-devel-linux-x86_64-debian-gcc

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
NOTE r-devel-linux-x86_64-fedora-clang

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
NOTE r-devel-linux-x86_64-fedora-gcc

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
NOTE r-devel-macos-arm64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
WARNING r-devel-macos-arm64

loading without being on the library search path

Error: package or namespace load failed for ‘LSTbook’:
 .onLoad failed in loadNamespace() for 'LSTbook', details:
  call: loadNamespace(name)
  error: there is no package called ‘mosaicData’
Execution halted

It looks like this package has a loading problem when not on .libPaths:
see the messages for details.
NOTE r-devel-windows-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'add_plot_labels.Rd' 'datasim_helpers.R' 'datasim_make.Rd'
    'model_eval.R' 'model_eval.Rd' 'model_plot.R' 'model_skeleton.Rd'
    'model_values.R' 'model_values.Rd' 'mosaic_cull_for_do.Rd' 'ntiles.R'
    'ntiles.Rd' 'point_plot.R' 'point_plot.Rd' 'print.R'
    'random_terms.Rd' 'regression_summaries.Rd' 'sims.R'
    'statistical_annotations.Rd' 'trials.R' 'trials.Rd' 'zero_one.Rd'
WARNING r-oldrel-macos-arm64

loading without being on the library search path

Error: package or namespace load failed for ‘LSTbook’:
 .onLoad failed in loadNamespace() for 'LSTbook', details:
  call: loadNamespace(name)
  error: there is no package called ‘mosaicData’
Execution halted

It looks like this package has a loading problem when not on .libPaths:
see the messages for details.
WARNING r-oldrel-macos-x86_64

loading without being on the library search path

Error: package or namespace load failed for ‘LSTbook’:
 .onLoad failed in loadNamespace() for 'LSTbook', details:
  call: loadNamespace(name)
  error: there is no package called ‘mosaicData’
Execution halted

It looks like this package has a loading problem when not on .libPaths:
see the messages for details.
OK r-oldrel-windows-x86_64

*


            
NOTE r-patched-linux-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
NOTE r-release-linux-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
NOTE r-release-macos-arm64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_annotations.Rd’ ‘trials.R’ ‘trials.Rd’ ‘zero_one.Rd’
WARNING r-release-macos-arm64

loading without being on the library search path

Error: package or namespace load failed for ‘LSTbook’:
 .onLoad failed in loadNamespace() for 'LSTbook', details:
  call: loadNamespace(name)
  error: there is no package called ‘mosaicData’
Execution halted

It looks like this package has a loading problem when not on .libPaths:
see the messages for details.
NOTE r-release-macos-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘datasim_helpers.R’ ‘model_eval.R’ ‘model_plot.R’ ‘model_values.R’
    ‘ntiles.R’ ‘point_plot.R’ ‘print.R’ ‘sims.R’ ‘trials.R’
WARNING r-release-macos-x86_64

loading without being on the library search path

Error: package or namespace load failed for ‘LSTbook’:
 .onLoad failed in loadNamespace() for 'LSTbook', details:
  call: loadNamespace(name)
  error: there is no package called ‘mosaicData’
Execution halted

It looks like this package has a loading problem when not on .libPaths:
see the messages for details.
NOTE r-release-windows-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'add_plot_labels.Rd' 'datasim_helpers.R' 'datasim_make.Rd'
    'model_eval.R' 'model_eval.Rd' 'model_plot.R' 'model_skeleton.Rd'
    'model_values.R' 'model_values.Rd' 'mosaic_cull_for_do.Rd' 'ntiles.R'
    'ntiles.Rd' 'point_plot.R' 'point_plot.Rd' 'print.R'
    'random_terms.Rd' 'regression_summaries.Rd' 'sims.R'
    'statistical_annotations.Rd' 'trials.R' 'trials.Rd' 'zero_one.Rd'

Check History

WARNING 1 OK · 8 NOTE · 5 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
NOTE r-devel-linux-x86_64-debian-gcc

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
NOTE r-devel-linux-x86_64-fedora-clang

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
NOTE r-devel-linux-x86_64-fedora-gcc

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
WARNING r-devel-macos-arm64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
NOTE r-devel-windows-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'add_plot_labels.Rd' 'datasim_helpers.R' 'datasim_make.Rd'
    'model_eval.R' 'model_eval.Rd' 'model_plot.R' 'model_skeleton.Rd'
    'model_values.R' 'model_values.Rd' 'mosaic_cull_for_do.Rd' 'ntiles.R'
    'ntiles.Rd' 'point_plot.R' 'point_plot.Rd' 'print.R'
    'random_terms.Rd' 'regression_summaries.Rd' 'sims.R'
    'statistical_anno
NOTE r-patched-linux-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
NOTE r-release-linux-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
WARNING r-release-macos-arm64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘add_plot_labels.Rd’ ‘datasim_helpers.R’ ‘datasim_make.Rd’
    ‘model_eval.R’ ‘model_eval.Rd’ ‘model_plot.R’ ‘model_skeleton.Rd’
    ‘model_values.R’ ‘model_values.Rd’ ‘mosaic_cull_for_do.Rd’ ‘ntiles.R’
    ‘ntiles.Rd’ ‘point_plot.R’ ‘point_plot.Rd’ ‘print.R’
    ‘random_terms.Rd’ ‘regression_summaries.Rd’ ‘sims.R’
    ‘statistical_anno
WARNING r-release-macos-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘datasim_helpers.R’ ‘model_eval.R’ ‘model_plot.R’ ‘model_values.R’
    ‘ntiles.R’ ‘point_plot.R’ ‘print.R’ ‘sims.R’ ‘trials.R’
NOTE r-release-windows-x86_64

DESCRIPTION meta-information

  Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'add_plot_labels.Rd' 'datasim_helpers.R' 'datasim_make.Rd'
    'model_eval.R' 'model_eval.Rd' 'model_plot.R' 'model_skeleton.Rd'
    'model_values.R' 'model_values.Rd' 'mosaic_cull_for_do.Rd' 'ntiles.R'
    'ntiles.Rd' 'point_plot.R' 'point_plot.Rd' 'print.R'
    'random_terms.Rd' 'regression_summaries.Rd' 'sims.R'
    'statistical_anno
WARNING r-oldrel-macos-arm64

loading without being on the library search path

Error: package or namespace load failed for ‘LSTbook’:
 .onLoad failed in loadNamespace() for 'LSTbook', details:
  call: loadNamespace(name)
  error: there is no package called ‘mosaicData’
Execution halted

It looks like this package has a loading problem when not on .libPaths:
see the messages for details.
WARNING r-oldrel-macos-x86_64

loading without being on the library search path

Error: package or namespace load failed for ‘LSTbook’:
 .onLoad failed in loadNamespace() for 'LSTbook', details:
  call: loadNamespace(name)
  error: there is no package called ‘mosaicData’
Execution halted

It looks like this package has a loading problem when not on .libPaths:
see the messages for details.

Dependency Network

Dependencies Reverse dependencies rlang dplyr ggplot2 broom glue MASS tibble stringi LSTbook

Version History

new 0.6 Mar 9, 2026