R/checkMatrices.R

Defines functions checkMatrices

checkMatrices <- function(X_t,Z_t) {
  # X_t - checked
  # z_t - checked
  if(nrow(X_t) != nrow(Z_t)) {
    stop("Number of rows must be the same in the two matrices")
  }
}
aciobanusebi/s2fa documentation built on Aug. 7, 2021, 6:38 a.m.