is_positive_integer: Check if value is a positive integer or integer-like

View source: R/predicates.R

is_positive_integerR Documentation

Check if value is a positive integer or integer-like

Description

this function checks if the input is a positive integer scalar (integer-like value – i.e., both 1L and 1.0 pass this check)

Usage

is_positive_integer(x, n)

Arguments

x

is the input

n

is the number of inputs


jtipton25/BayesMRA documentation built on Feb. 28, 2024, 1:27 p.m.