powered by
An S3 method for computing the mean of clothing survey for the number of groups or size of groups
# S3 method for psData mean(x, ...)
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}}$$.
an object of class psData---readData for more details.
psData
readData
other arguments which are passed to sum
sum
data(Psurveys) mean(Psurveys$roux)
Run the code above in your browser using DataLab