rms.init.landscape: Initialize a landscape object

Description Usage Arguments

View source: R/rms.init.landscape.R

Description

Initialize a landscape object

Usage

1
2
3
4
5
rms.init.landscape(num.pops = NULL, carrying = NULL, sample.size = NULL,
  mig.rates = NULL, num.loc = NULL, loc.type = NULL, mut.rate = NULL,
  seq.length = NULL, num.stgs = NULL, selfing = NULL, surv.matr = NULL,
  repr.matr = NULL, male.matr = NULL, init.pop.sizes = NULL,
  num.gen = NULL, num.alleles = NULL, allele.freqs = NULL)

Arguments

num.pops

number of populations to simulate

carrying

maximum population sizes for each population

sample.size

size of sample to be pulled from each population

mig.rates

a list of among-population migration matrices

num.loc

number of independently segregating loci

loc.type

sequence or microsatellite

mut.rate

per gene mutation rate

seq.length

if simulating a sequence, the length of the molecule

num.stgs

number of demographic stages in a population

selfing

selfing rate (must range from 0 [random mating] to 1 [complete selfing]

surv.matr

within pop survival matrices

repr.matr

within pop reproduction matrices

male.matr

with pop male repro matrices

init.pop.sizes

starting population sizes

num.gen

number of generations to simulate

num.alleles

vector of the number of alleles per locus

allele.freqs

list of allele freqs for each locus (range 0-1)


christianparobek/skeleSim documentation built on Feb. 29, 2020, 6:58 p.m.