Skip to content

Commit

Permalink
Add null_check
Browse files Browse the repository at this point in the history
  • Loading branch information
statwangz committed Oct 17, 2023
1 parent 02ac8e7 commit e255bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/mfairObject.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ setClassUnion(
#' @slot N An integer. Number of rows (samples) of Y, also the number of rows (samples) of X.
#' @slot M An integer. Number of columns (features) of Y.
#' @slot C An integer. Number of columns (auxiliary covariates) of X.
#' @slot K_max An integer. Note that increasing K_max does not ensure that the actual K also increases, since K_max is just an upper bound and the model will automatically infer K below K_max. If you want inference with larger rank K, please make sure that K_max is large enough and the tol_snr parameter in the fitting function `fitGreedy()` is small enough, simultaneously.
#' @slot K_max An integer. Please note that increasing K_max does not ensure that the actual K also increases since K_max is just an upper bound, and the model will automatically infer K below K_max under the default setting. If you want to fit the model with larger rank K, please set the `null_check` argument as FALSE, or make sure that K_max is large enough and the `tol_snr` argument in the fitting function `fitGreedy()` is small enough simultaneously in the fitting function `fitGreedy()`.
#' @slot K An integer. The inferred rank of Y.
#' @slot Z An N * K matrix. Estimated loading matrix, corresponding to the inferred posterior mean of Z in the MFAI model.
#' @slot a_sq A matrix containing posterior variance of Z with k-th column corresponding to the k-th loading. For fully observed Y, all N elements of one specific loading share the same posterior variance, then a_sq is a 1 * K matrix. For Y with missing data, elements of one specific loading have different posterior variances, then a_sq is an N * K matrix.
Expand Down
2 changes: 1 addition & 1 deletion man/MFAIR-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e255bd9

Please sign in to comment.