Learn R Programming

landsepi (version 1.5.1)

createSimulParams: Create a LandsepiParams object.

Description

Creates a default object of class LandsepiParams.

Usage

createSimulParams(outputDir = "./")

Value

a LandsepiParams object initialised with the following context:

  • random seed

  • all pathogen parameters fixed at 0

  • no between-polygon dispersal (neither pathogen nor host)

  • no pathogen introduction

  • no resistance gene

  • no chemical treatment

  • no output to generate.

Arguments

outputDir

ouput directory for simulation (default: current directory)

Details

Create a default object of class LandsepiParams used to store all simulation parameters. It also creates a subdirectory in outputDir using the date; this directory will contain all simulation outputs.

Examples

Run this code
if (FALSE) {
createSimulParams()
}

Run the code above in your browser using DataLab