createSimulParams: Create a LandsepiParams object.

View source: R/Methods-LandsepiParams.R

createSimulParamsR Documentation

Create a LandsepiParams object.

Description

Creates a default object of class LandsepiParams.

Usage

createSimulParams(outputDir = "./")

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.

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.

Examples

## Not run: 
createSimulParams()

## End(Not run)

landsepi documentation built on Sept. 23, 2024, 5:11 p.m.