Learn R Programming

BayesMRA (version 1.0.0)

is_numeric_vector: Check if a numeric vector of length n

Description

this function checks if the input is a numeric (double) vector

Usage

is_numeric_vector(x, n)

Arguments

x

is the input

n

is the input vector length