type.proportion: Coerce to a number between 0 and 1

View source: R/type-coerce.R

type.proportionR Documentation

Coerce to a number between 0 and 1

Description

Coerce to a number between 0 and 1

Usage

type.proportion(x)

Arguments

x

object to be coerced or tested.

Value

the input as a number from 0 to 1, error if this would involve data loss.


interfacer documentation built on April 4, 2025, 6:13 a.m.