We'll repeat two requirements of a probability density function. It must be nonnegative everywhere, and the area
| under it must equal one."
...
|=============================== | 29%
| Consider this figure - a rectangle with height 1 and width 2 with a diagonal line drawn from the lower left corner
| (0,0) to the upper right (2,1). The area of the entire rectangle is 2 and elementary geometry tells us that the
| diagonal divides the rectangle into 2 equal areas.
Error in plot.new() : figure margins too large
| Leaving swirl now. Type swirl() to resume.
My sessionInfo():
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
I got the next issue:
We'll repeat two requirements of a probability density function. It must be nonnegative everywhere, and the area | under it must equal one."
...
|=============================== | 29% | Consider this figure - a rectangle with height 1 and width 2 with a diagonal line drawn from the lower left corner | (0,0) to the upper right (2,1). The area of the entire rectangle is 2 and elementary geometry tells us that the | diagonal divides the rectangle into 2 equal areas.
Error in plot.new() : figure margins too large
| Leaving swirl now. Type swirl() to resume.
My sessionInfo():
R version 4.1.2 (2021-11-01) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale: [1] LC_COLLATE=Spanish_Mexico.1252 LC_CTYPE=Spanish_Mexico.1252 LC_MONETARY=Spanish_Mexico.1252 [4] LC_NUMERIC=C LC_TIME=Spanish_Mexico.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] swirl_2.4.5 lubridate_1.8.0
loaded via a namespace (and not attached): [1] digest_0.6.28 bitops_1.0-7 R6_2.5.1 magrittr_2.0.1 httr_1.4.2 rlang_1.0.1 stringi_1.7.5 [8] cli_3.1.0 curl_4.3.2 testthat_3.1.0 generics_0.1.1 tools_4.1.2 stringr_1.4.0 RCurl_1.98-1.5 [15] yaml_2.2.1 compiler_4.1.2
My packageVersion("swirl") [1] ‘2.4.5’