ABSTRACT

In this chapter, we address several additional topics that show off the statistical computing strengths and potential of R, as well as illustrate many of the entries in the earlier chapters.

Many simple settings lend themselves to analytic power calculations, where closed-form solutions are available. Other situations may require an empirical calculation, where repeated simulation is undertaken. In addition to the examples in this section other power routines are available in library(pwr) and library(Hmisc).