type.positive_integer: Coerce to a positive integer.

View source: R/type-coerce.R

type.positive_integerR Documentation

Coerce to a positive integer.

Description

Coerce to a positive integer.

Usage

type.positive_integer(x)

Arguments

x

any vector

Value

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


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