Check vector/matrix/data.frame for expected dimensions or throw error
Source:R/fido_utils.R
check_dims.Rd
Check vector/matrix/data.frame for expected dimensions or throw error
Examples
y <- c(1,3,4)
check_dims(y, 3, "y")
R/fido_utils.R
check_dims.Rd
Check vector/matrix/data.frame for expected dimensions or throw error
y <- c(1,3,4)
check_dims(y, 3, "y")