Skip to contents

Check the length of an input value

Usage

checkIt(x, lng, type = "numeric", fixit = TRUE)

Arguments

x

a numeric object

lng

a numeric object

type

a character string specifying required typeof

fixit

a logical value, if TRUE force length to lng

Value

a numeric object