check-scalar-isAlpha: Does the input contain an alpha level?

check-scalar-isAlphaR Documentation

Does the input contain an alpha level?

Description

An alpha level must be numeric(1) greater than 0 and less than 1.

Usage

isAlpha(x)

Arguments

x

Object.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2019-08-10.

Examples

## TRUE ====
isAlpha(0.05)

## FALSE ====
isAlpha("xxx")
isAlpha(1L)

acidgenomics/r-goalie documentation built on Jan. 12, 2024, 4:15 a.m.