Skip to content
Snippets Groups Projects
Commit 0dfb499f authored by thierrychambert's avatar thierrychambert
Browse files

(manual update) Corrected typo "time_horzion"

parent d840c11a
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ pop_project(
f,
DD_params = NULL,
model_demo,
time_horzion,
time_horizon,
coeff_var_environ,
fatal_constant = "h",
onset_time = NULL
......@@ -33,7 +33,7 @@ pop_vector function.}
\item{model_demo}{an R object corresponding to the demographic model to be used. The 4 possible models currently are:
M1_noDD_noDemoStoch, M2_noDD_WithDemoStoch, M3_WithDD_noDemoStoch, M4_WithDD_WithDemoStoch,}
\item{time_horzion}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{time_horizon}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{coeff_var_environ}{a number. The coefficient of variation to model environment stochasticity.}
......@@ -53,7 +53,7 @@ s <- c(0.5, 0.7, 0.8, 0.95)
f <- c(0, 0, 0.05, 0.55)
N0 <- pop_vector(pop_size = 200, pop_size_type = "Npair", s, f)
pop_project(fatalities = c(0, 5, 10), intial_pop_vector = N0, s = s, f = f,
model_demo = M2_noDD_WithDemoStoch, time_horzion = 30,
model_demo = M2_noDD_WithDemoStoch, time_horizon = 30,
coeff_var_environ = 0.1, fatal_constant = "h")
}
......@@ -12,7 +12,7 @@ pop_project_cumulated_impacts(
f,
DD_params,
model_demo,
time_horzion,
time_horizon,
coeff_var_environ,
fatal_constant = "h"
)
......@@ -35,7 +35,7 @@ pop_vector function.}
\item{model_demo}{an R object corresponding to the demographic model to be used. The 4 possible models currently are:
M1_noDD_noDemoStoch, M2_noDD_WithDemoStoch, M3_WithDD_noDemoStoch, M4_WithDD_WithDemoStoch,}
\item{time_horzion}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{time_horizon}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{coeff_var_environ}{a number. The coefficient of variation to model environment stochasticity.}
......@@ -53,7 +53,7 @@ s <- c(0.5, 0.7, 0.8, 0.95)
f <- c(0, 0, 0.05, 0.55)
N0 <- pop_vector(pop_size = 200, pop_size_type = "Npair", s, f)
pop_project(fatalities = c(0, 5, 10), intial_pop_vector = N0, s = s, f = f,
model_demo = M2_noDD_WithDemoStoch, time_horzion = 30,
model_demo = M2_noDD_WithDemoStoch, time_horizon = 30,
coeff_var_environ = 0.1, fatal_constant = "h")
}
......@@ -21,7 +21,7 @@ run_simul(
theta = 1,
rMAX_species,
model_demo = NULL,
time_horzion,
time_horizon,
coeff_var_environ,
fatal_constant
)
......@@ -73,7 +73,7 @@ base on the values of N0 and lam0 that are drawn.
But it can be forced by setting the value, which must then be an R object corresponding to the demographic model to be used.
The 4 possible models currently are: M1_noDD_noDemoStoch, M2_noDD_WithDemoStoch, M3_WithDD_noDemoStoch, M4_WithDD_WithDemoStoch,}
\item{time_horzion}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{time_horizon}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{coeff_var_environ}{a number. The coefficient of variation to model environment stochasticity.}
......@@ -103,7 +103,7 @@ survivals <- c(0.5, 0.7, 0.8, 0.95)
fecundities <- c(0, 0, 0.05, 0.55)
time_horzion = 30
time_horizon = 30
coeff_var_environ = 0.10
fatal_constant = "h"
......@@ -118,7 +118,7 @@ run_simul(nsim = 10, cumulated_impacts = FALSE,
survivals, fecundities,
carrying_capacity, theta,
rMAX_species,
model_demo = NULL, time_horzion, coeff_var_environ, fatal_constant)
model_demo = NULL, time_horizon, coeff_var_environ, fatal_constant)
}
......@@ -23,7 +23,7 @@ run_simul_shiny(
theta = 1,
rMAX_species,
model_demo = NULL,
time_horzion,
time_horizon,
coeff_var_environ,
fatal_constant
)
......@@ -68,14 +68,14 @@ It can be calculated using the function rMAX_spp. See ?rMAX_spp for details.
References :
Niel, C., and J. Lebreton. 2005. Using demographic invariants to detect overharvested bird
populations from incomplete data. Conservation Biology 19:826835.}
populations from incomplete data. Conservation Biology 19:826-835.}
\item{model_demo}{is NULL, by default, because the model choice will be made inside each iteration (simulation),
base on the values of N0 and lam0 that are drawn.
But it can be forced by setting the value, which must then be an R object corresponding to the demographic model to be used.
The 4 possible models currently are: M1_noDD_noDemoStoch, M2_noDD_WithDemoStoch, M3_WithDD_noDemoStoch, M4_WithDD_WithDemoStoch,}
\item{time_horzion}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{time_horizon}{a number. The number of years (time horizon) over which to project the population dynamics.}
\item{coeff_var_environ}{a number. The coefficient of variation to model environment stochasticity.}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment