mean.psData | R Documentation |
An S3 method for computing the mean of clothing survey for the number of groups or size of groups
## S3 method for class 'psData'
mean(x, ...)
x |
an object of class |
... |
other arguments which are passed to |
the mean of the data. If there are r_i
observations of
the value n_i
then the mean is given by
\sum_i\frac{r_i\times n_i}{\sum_i{r_i}}
.
data(Psurveys)
mean(Psurveys$roux)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.