Skip to contents

Check if dimensions are correct

Usage

checkDim(x, dimExpected, argName = NULL)

Arguments

x

any object

dimExpected

numeric: vector of expected dimensions

argName

character: name of argument displayed in error message