Description Usage Arguments Details Value
View source: R/apollo_makeLogLike.R
Creates log-likelihood function from the likelihood function apollo_probabilities provided by the user.
1 2 3 4 5 6 7 8  | apollo_makeLogLike(
  apollo_beta,
  apollo_fixed,
  apollo_probabilities,
  apollo_inputs,
  apollo_estSet = list(estimationRoutine = "BFGS"),
  cleanMemory = FALSE
)
 | 
apollo_beta | 
 Named numeric vector. Names and values for parameters.  | 
apollo_fixed | 
 Character vector. Names (as defined in   | 
apollo_probabilities | 
 Function. Returns probabilities of the model to be estimated. Must receive three arguments: 
  | 
apollo_inputs | 
 List grouping most common inputs. Created by function apollo_validateInputs.  | 
apollo_estSet | 
 List of estimation options. It must contain at least one element called estimationRoutine defining the estimation algorithm. See apollo_estimate.  | 
cleanMemory | 
 Logical. If TRUE, then   | 
Internal use only. Called by apollo_estimate before estimation.
The returned function can be single-threaded or multi-threaded based on the model options.
apollo_logLike function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.