R/type-coerce.R
type.proportion.Rd
Coerce to a number between 0 and 1
type.proportion(x)
object to be coerced or tested.
the input as a number from 0 to 1, error if this would involve data loss.