n_check: n_check

View source: R/misc.R

n_checkR Documentation

n_check

Description

n_check

Usage

n_check(n)

Arguments

n

An integer. Sample size argument.

Details

Checks whether the input is an integer greater than 0.

Value

An error message if n is not an integer or is less than 0.


CausalQueries documentation built on Oct. 20, 2023, 1:06 a.m.