type.proportion {interfacer}R 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.


[Package interfacer version 0.3.3 Index]