landscape.new.floatparam: Create a set of floating point parameters

Description Usage Arguments Examples

View source: R/create_landscape.R

Description

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

Usage

1
2
  ## must be called AFTER landscape.new.empty()
   landscape.new.floatparam(rland,s=0)

Arguments

rland

skeletion of landscape object, required

s

selfing (default=0), the selfing rate of the species

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  ## Defaults
  exampleland <- landscape.new.empty()
  exampleland <- landscape.new.floatparam(exampleland)
  exampleland$floatparam

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

  rm(exampleland)

rmetasim documentation built on Feb. 16, 2018, 1:01 a.m.