get_M: Calculate the total number of clusters.

Description Usage Arguments Value

Description

Calculate the total number of clusters.

Usage

1
2
get_M(alpha = 0.05, power = 0.8, ICC = 0.001, delta = 0.2, n = 100,
  type = "standard", cv = NULL, tol = .Machine$double.eps^0.25)

Arguments

alpha

The level of significance.

power

The power.

ICC

The intra class correlation.

delta

The effect size.

n

The mean cluster size.

type

The type of design effect, either standard or based on the coefficient of variation.

cv

The coefficient of variation, if type is cv.

tol

A tolerance value.

Value

M The total number of clusters.


jm3594/crtpower documentation built on May 19, 2019, 12:48 p.m.