Student-class {adoptr} | R Documentation |
Student's t data distribution
Description
Implements exact t-distributions instead of a normal approximation
Usage
Student(two_armed = TRUE)
## S4 method for signature 'Student'
quantile(x, probs, n, theta, ...)
## S4 method for signature 'Student,numeric'
simulate(object, nsim, n, theta, seed = NULL, ...)
Arguments
two_armed |
logical indicating if a two-armed trial is regarded |
x |
outcome |
probs |
vector of probabilities |
n |
sample size |
theta |
distribution parameter |
... |
further optional arguments |
object |
object of class |
nsim |
number of simulation runs |
seed |
random seed |
See Also
see probability_density_function
and
cumulative_distribution_function
to evaluate the pdf
and the cdf, respectively.
Examples
datadist <- Student(two_armed = TRUE)
[Package adoptr version 1.0.1 Index]