Skip to content

Commit

Permalink
Update mfairInitialization.R
Browse files Browse the repository at this point in the history
  • Loading branch information
statwangz committed Sep 15, 2023
1 parent 2eebb76 commit ca5d27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mfairInitialization.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @return Returns MFAIR object, with main data matrix and auxiliary information.
#' @export
createMFAIR <- function(Y, X, Y_center = TRUE, K_max = 1L, project = "MFAIR") {
if(is.data.frame(X)){
if(!is.data.frame(X)){
stop("X should be a data.frame!")
} # End

Expand Down

0 comments on commit ca5d27f

Please sign in to comment.