1/7
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
replicate()
part of the sapply() function but doesn't need to be in the function. needed for repeated evaluation of an expression
dbinom() (d = density)
calculates binomial probabilities. x, size, prob
rbinom()
random number generator for binomial distributions. n, size, prob
rnorm()
gives random numbers from normal distribution. requires n, mean, sd
rchisq()
gives random numbers from chi-square distriburion. requires n, df (degrees of freedom)
runif()
gives random numbers for a uniform distribution. requires n, min and max
rexp()
gives random numbers for a exponential distribution. requires n, rate
rt()
gives random numbers for a student t-distribution. requires n, df