Skip to content

Commit

Permalink
fix anscombe sub-datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmbarrett committed Nov 10, 2024
1 parent b812b77 commit 3867156
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data-raw/clean-anscombe-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ anscombe_quartet <- anscombe |>
usethis::use_data(anscombe_quartet, overwrite = TRUE)

anscombe_linear <- anscombe_quartet |>
filter(dataset == 1)
filter(dataset == "(1) Linear")

usethis::use_data(anscombe_linear, overwrite = TRUE)

anscombe_nonlinear <- anscombe_quartet |>
filter(dataset == 3)
filter(dataset == "(2) Nonlinear")

usethis::use_data(anscombe_nonlinear, overwrite = TRUE)

anscombe_outlier <- anscombe_quartet |>
filter(dataset == 3)
filter(dataset == "(3) Outlier")

usethis::use_data(anscombe_outlier, overwrite = TRUE)

anscombe_leverage <- anscombe_quartet |>
filter(dataset == 4)
filter(dataset == "(4) Leverage")

usethis::use_data(anscombe_leverage, overwrite = TRUE)
Binary file modified data/anscombe_leverage.rda
Binary file not shown.
Binary file modified data/anscombe_linear.rda
Binary file not shown.
Binary file modified data/anscombe_nonlinear.rda
Binary file not shown.
Binary file modified data/anscombe_outlier.rda
Binary file not shown.
Binary file modified data/anscombe_quartet.rda
Binary file not shown.

0 comments on commit 3867156

Please sign in to comment.