setOutputs {landsepi}R Documentation

Set outputs

Description

Updates a LandsepiParams object with a list of output parameters.

Usage

setOutputs(params, output_list)

Arguments

params

a LandsepiParams object.

output_list

a list of outputs to be generated and parameters for output generation. It can be generated manually or, alternatively, via loadOutputs. This list is composed of:

  • epid_outputs = epidemiological outputs to compute (see details)

  • evol_outputs = evolutionary outputs to compute (see details)

  • thres_breakdown = an integer (or vector of integers) giving the threshold (i.e. number of infections) above which a pathogen genotype is unlikely to go extinct, used to characterise the time to invasion of resistant hosts (several values are computed if several thresholds are given in a vector).

  • audpc100S = the audpc in a fully susceptible landscape (used as reference value for graphics).

Details

"epid_outputs" is a character string (or a vector of character strings if several outputs are to be computed) specifying the type of epidemiological and economic outputs to generate:

"evol_outputs" is a character string (or a vector of character strings if several outputs are to be computed) specifying the type of evolutionary outputs to generate :

Value

a LandsepiParams object.

See Also

loadOutputs

Examples

## Not run: 
simul_params <- createSimulParams()
simul_params <- setOutputs(simul_params, loadOutputs())
simul_params@Outputs

## End(Not run)

[Package landsepi version 1.4.0 Index]