Learn R Programming

interfacer (version 0.3.3)

type.positive_double: Coerce to a positive double.

Description

Coerce to a positive double.

Usage

type.positive_double(x)

Value

the input as a positive double, error if this would involve data loss.

Arguments

x

object to be coerced or tested.