is_count: Check for count variable

View source: R/creg_input.R

is_countR Documentation

Check for count variable

Description

Checks if the variable is a count variable

Usage

is_count(x, tol = .Machine$double.eps^0.5)

Arguments

x

vector to be checked

tol

Tolerance

Value

Function returns logical value indicating whether x can be considered a count variable or not.


chkiefer/lavacreg documentation built on Oct. 28, 2023, 11:35 a.m.