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/goalie documentation built on Dec. 11, 2023, 11:36 p.m.