concept package documentation in category R

appears as: package documentation, package documentation
R in Action, Second Edition: Data analysis and graphics with R

This is an excerpt from Manning's book R in Action, Second Edition: Data analysis and graphics with R.

In this case, the adjusted means are similar to the unadjusted means produced by the aggregate() function, but this won’t always be the case. The effects package provides a powerful method of obtaining adjusted means for complex research designs and presenting them visually. See the package documentation on CRAN for more details.

The header contains comments starting with #' that will be used by the roxygen2 package to create package documentation (see section 21.3). Next you see the function argument list . The user provides a formula of the form dependent variable~grouping variable and a data frame containing the data. By default, approximate p-values are computed, and the groups are ordered by their median dependent variable values. The user can choose from among eight adjustment methods, with the holm method (the first option in the list) chosen by default.