Learn R Programming

landsepi (version 1.1.1)

createSimulParams: Create a LandsepiParams object.

Description

Creates a default object of class LandsepiParams.

Usage

createSimulParams(outputDir = "./")

Arguments

outputDir

ouput directory for simulation (default: current directory)

Value

a LandsepiParams object initialised with the following context:

  • random seed

  • all pathogen parameters fixed at 0

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

  • no pathogen introduction

  • no resistance gene

  • no output to generate.

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
# NOT RUN {
createSimulParams()
# }

Run the code above in your browser using DataLab