new.floatparam.land {rmetasim}R Documentation

Create a set of floating point parameters

Description

Create a set of floating point parameters for a Rmetasim landscape.

Usage

  ## must be called AFTER new.landscape.empty()
  rland <- new.floatparam.land(rland,s=0)

Arguments

rland skeletion of landscape object, required
s selfing (default=0), the selfing rate of the species

Examples

  ## Defaults
  exampleland <- new.landscape.empty()
  exampleland <- new.floatparam.land(exampleland)
  exampleland$floatparam

  ## .5 selfing rate
  exampleland <- new.landscape.empty()
  exampleland <- new.floatparam.land(exampleland,s=0.5)
  exampleland$floatparam

  rm(exampleland)

[Package rmetasim version 1.0.8 Index]