Description Usage Arguments Value Methods (by class) See Also Examples
View source: R/estimate_mean.R
Estimate the sample mean
1 2 3 4 5 6 7 | estimate_mean(x, y, ...)
## Default S3 method:
estimate_mean(x, y, ...)
## S3 method for class 'formula'
estimate_mean(x, y, data, ...)
|
x |
a vector of values or a formula |
y |
optional, a grouping vector |
... |
additional arguments passed to child functions |
data |
optional location to find formula values |
a posterior distribution for the mean
default
: Default method
formula
: Method for a formula
inzposterior
1 2 3 | post <- estimate_mean(rnorm(100, 50, 5))
summary(post)
plot(post)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.