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 16, 2023
1 parent 356f4ea commit 21fee28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/mfairInitialization.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
#'
#' @return Returns MFAIR object, with main data matrix and auxiliary information.
#' @export
createMFAIR <- function(Y, X, Y_sparse = FALSE, Y_center = TRUE, K_max = 1L, project = "MFAIR") {
createMFAIR <- function(Y, X,
Y_sparse = FALSE, Y_center = TRUE,
K_max = 1L,
project = "MFAIR") {
if (!is.data.frame(X)) {
stop("X should be a data.frame!")
} # End
Expand Down

0 comments on commit 21fee28

Please sign in to comment.