Permalink
Browse files

updating example

  • Loading branch information...
jm3594 committed Feb 7, 2019
1 parent 6f47c5f commit b5c4d51dc78930560769cc4f3f70491ffed261ae
Showing with 10 additions and 8 deletions.
  1. +5 −4 R/crtpwr.nmean.R
  2. +5 −4 man/crtpwr.nmean.Rd
@@ -52,10 +52,11 @@
#' # determine estimates of the between-arm variance, the between-cluster
#' # variance, and the within-cluster variance. The observed means of each arm
#' # in the pilot study were 74, 80, and 86, so the between-arm variance is 36.
#' # The within-cluster and between-cluster standard deviations were observed
#' # to be 8 and 3, respectively. This means the within-cluster and between-
#' # cluster variances are 64 and 9, respectively. These values are entered
#' # into the function as follows:
#' # As discussed in the "Details" section above, this can be calculated using
#' # the command var(c(74,80,86)). The within-cluster and between-cluster
#' # standard deviations were observed to be 8 and 3, respectively. This means
#' # the within-cluster and between-cluster variances are 64 and 9, respectively.
#' # These values are entered into the function as follows:
#'
#' crtpwr.nmean(narms=4,nclusters=5,vara=36,varc=9,vare=64)
#' #

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit b5c4d51

Please sign in to comment.