Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switched dnorm() to pnorm(). #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions bookdown/04.09-probability.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,10 @@ At this point, I should probably explain the name of the `dbinom()` function. Ob
knitr::kable(data.frame(stringsAsFactors=FALSE,
What.it.does = c("probability (density) of",
"cumulative probability of",
"generate random number from", "q qnorm() qbinom()"),
"generate random number from",
"quantile of"),
Prefix = c("d", "p", "r", "q"),
Normal.distribution = c("dnorm()", "dnorm()", "rnorm()", "qnorm()"),
Normal.distribution = c("dnorm()", "pnorm()", "rnorm()", "qnorm()"),
Binomial.distribution = c("dbinom()", "pbinom()", "rbinom()", "qbinom(")
), caption= "The naming system for R probability distribution functions. Every probability distribution implemented in R is actually associated with four separate functions, and there is a pretty standardised way for naming these functions.")

Expand Down