Ch26-if-na-x: A helper function - substitute 'NA's with a specified 'x'.

Description Usage Arguments Value Author(s)

Description

A helper function – substitute 'NA's with a specified 'x'. Included at the user level because it's useful for setting up batch jobs.

Usage

1
  if.na.x(x, x0 = FALSE)

Arguments

x

A numeric or boolean vector.

x0

Value with which to replace NA's. Defaults to 0 or FALSE.

Value

A numeric vector, equal to the input vector, x, except with NA's replaced by the value, x0, which the user suplied.

Author(s)

Grant Izmirlian <izmirlian at nih dot gov>


pwrFDR documentation built on May 12, 2021, 5:07 p.m.

Related to Ch26-if-na-x in pwrFDR...