Skip to content

Commit

Permalink
Export MM-related LogisticFAR functions
Browse files Browse the repository at this point in the history
  • Loading branch information
fenguoerbian committed Aug 26, 2024
1 parent b35e065 commit 84a924c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

export(BIC_Pick)
export(CV_Pick)
export(Logistic_FARMM_CV_path)
export(Logistic_FARMM_CV_path_par)
export(Logistic_FARMM_Path)
export(Logistic_FAR_CV_opath)
export(Logistic_FAR_CV_opath_par)
export(Logistic_FAR_CV_path)
Expand Down
4 changes: 4 additions & 0 deletions R/mm_path_solver.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
#' @return A list containing the solution path of \code{delta}, \code{eta_stack}, \code{mu1}
#' and some computation information such as convergency, iteration number and the lambda
#' sequence of this solution path.
#'
#' @export
Logistic_FARMM_Path <- function(y_vec, x_mat, h, kn, p, rand_eff_df,
p_type, p_param,
lambda_seq, lambda_length, min_lambda_ratio = 0.01,
Expand Down Expand Up @@ -483,6 +485,7 @@ Logistic_FARMM_Path <- function(y_vec, x_mat, h, kn, p, rand_eff_df,
#' averaged loglik on the testsets. It is more recommended to use the stand alone
#' \code{*_pick} functions in this packages, such as \code{CV_Pick} to find a optimal
#' lambda since those functions give more flexibility.
#' @export
Logistic_FARMM_CV_path <- function(y_vec, x_mat, h, kn, p, rand_eff_df,
p_type, p_param,
lambda_seq, lambda_length, min_lambda_ratio = 0.01,
Expand Down Expand Up @@ -938,6 +941,7 @@ Logistic_FARMM_CV_path <- function(y_vec, x_mat, h, kn, p, rand_eff_df,
#' averaged loglik on the testsets. It is more recommended to use the stand alone
#' \code{*_pick} functions in this packages, such as \code{CV_Pick} to find a optimal
#' lambda since those functions give more flexibility.
#' @export
Logistic_FARMM_CV_path_par <- function(y_vec, x_mat, h, kn, p, rand_eff_df,
p_type, p_param,
lambda_seq, lambda_length, min_lambda_ratio = 0.01,
Expand Down

0 comments on commit 84a924c

Please sign in to comment.