# Create MFAIR object and use the same initialization
mfairObject_pmt <- createMFAIR(Y, X_pmt, K_max = 3)
diff --git a/articles/neocortex.html b/articles/neocortex.html
index 83b2954..53cc7ea 100644
--- a/articles/neocortex.html
+++ b/articles/neocortex.html
@@ -87,7 +87,6 @@ May 15, 2023
# install.packages("devtools")
# devtools::install_github("YangLabHKUST/mfair")
library(mfair)
-#> Loading required package: rpart
library(reshape2)
library(ggplot2)
library(scales)
diff --git a/pkgdown.yml b/pkgdown.yml
index 717d857..fc3dba0 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -4,7 +4,7 @@ pkgdown_sha: ~
articles:
ml100k: ml100k.html
neocortex: neocortex.html
-last_built: 2023-09-15T14:47Z
+last_built: 2023-09-16T06:45Z
urls:
reference: https://yanglabhkust.github.io/mfair/reference
article: https://yanglabhkust.github.io/mfair/articles
diff --git a/reference/MFAIR-class.html b/reference/MFAIR-class.html
index 54d3089..11d146b 100644
--- a/reference/MFAIR-class.html
+++ b/reference/MFAIR-class.html
@@ -65,13 +65,17 @@ Slots
Y
-A matrix. The main data matrix of N samples and M features.
+A matrix or Matrix::dgCMatrix. The main data matrix of N samples and M features.
X
A data.frame. The auxiliary information data frame of N samples and C covariates.
+Y_sparse
+Logical. Whether the main data matrix Y is stored in the sparse mode.
+
+
Y_center
Logical. Whether the main data matrix Y is centered.
diff --git a/reference/createMFAIR.html b/reference/createMFAIR.html
index 1d9da10..843b069 100644
--- a/reference/createMFAIR.html
+++ b/reference/createMFAIR.html
@@ -61,7 +61,7 @@