Learn R Programming

edstan (version 1.1.0)

.validate_binary: Validate a boolean covariate

Description

Intended for internal use only.

Usage

.validate_binary(x, nm)

Value

A character vector of identified issues.

Arguments

x

A vector of covariate values.

nm

Name for the covariate.