This function computes the likelihood associated to a specific set of parameters. The specification of parameters determines the ecological processes involved.
recuitmentAnalysis(site, year, tree, age, mat_par, path = "./", zero_infl = FALSE, disp = FALSE, favo = FALSE, neigh = FALSE, clip = NULL, kernel = "kern_lognormal", mxt = 100, quiet = TRUE, record = NULL) launchIt(iter, simu = NULL, mxt = 100, record = "test.txt", quiet = TRUE, path = "output/")
site | site name. |
---|---|
year | year (2015 or 2016) name. |
tree | abbreviation of the tree species names of the species. |
age | age of the species (1 or 2). |
mat_par | a matrix of parameters (see |
path | a character string giving the path to access the data. |
zero_infl | logical. If |
disp | a logical. If |
favo | a logical. If |
neigh | a logical. If |
clip | a numeric vector of standardized DBH (Diameter at breast heights). |
kernel | a character string indicating which kernel should be used (either |
mxt | a numeric. Maximum running time in seconds (see GenSA). |
quiet | logical. If |
record | a connection, or a character string naming the file to print to. If |
iter | a integer identifying the iteration. |
simu | a data frame describing the simulation. |
The log-likelihood values associated to a given set of parameters.
The parameter pz
have a value even if it is not included in the analysis (meaning a poisson distribution is used).
launchIt
: Launch the analysis for a given row of the simulation data frame or file.