pow: pow

View source: R/pow.R

powR Documentation

pow

Description

Function to calculate power or the minimum sample size needed to detact a specified trend.

Usage

pow(b = NULL, n = NULL, a = NULL, s2 = NULL, power = NULL,
  df = NULL)

Arguments

b

The trend per year as a fraction.

n

The number of years.

a

The confidence level.

s2

The variance.

power

The desired power.

df

The degrees of freedom.

Details

For internal use only

Value

Power, minimum sample size or the lowest detectable trend.

Author(s)

Erik Lampa


NRM-MOC/MoCiS documentation built on March 27, 2023, 7:35 p.m.