From f6bde00cd72e42bd9802cec6c9d2735e7cf31cda Mon Sep 17 00:00:00 2001 From: rsetienne Date: Thu, 24 Oct 2024 12:10:55 +0200 Subject: [PATCH] Update the documentation about the exact and approximate likelihood function --- R/default_params_doc.R | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/R/default_params_doc.R b/R/default_params_doc.R index 2ebaafe5..666d9502 100644 --- a/R/default_params_doc.R +++ b/R/default_params_doc.R @@ -420,6 +420,10 @@ #' incorrect output due to parameter transformation. #' @param num_cycles The number of cycles the optimizer will go through. #' Default is 1. +#' @param function_to_optimize Here one can indicate to use a function +#' ('DAISIE_approx') that approximates the DAISIE likelihood or the default +#' value 'DAISIE_exact'). The approximate likelihood can for example be used +#' in case the exact one fails. #' @param trait_pars A named list containing diversification rates considering #' two trait states created by \code{\link{create_trait_pars}}: #' \itemize{