mssumstats_old: Takes output from microsimr or an empirical microsatellite...

Description Usage Arguments Examples

View source: R/mssumstats_old.R

Description

Takes output from microsimr or an empirical microsatellite dataset and outputs summary statistics

Usage

1
2
3
mssumstats_old(simd_data, type = c("microsimr", "microsats"), by_pop = NULL,
  start_geno = NULL, data_type = c("simulated", "empirical"),
  rarefaction = FALSE, nsamp = NULL, nloc = NULL, nboot = 1000)

Arguments

simd_data

output from microsimr

type

"microsimr" for microsimr output, "microsats" for allelic microsatellite format

by_pop

name of population variable. If specified, all summary statistics will be calculated within populations

start_geno

integer, specifying the first column with genotypes. If now specified, all column are expected to be genotypes

data_type

if "empirical", the mratio will be calculated differently, see ?m_ratio

rarefaction

if TRUE, calculates mean and sd number of alleles as mean of n_samp individuals and n_loc loci over n_boot bootstraps

nsamp

number of samples to subssample

nloc

number of loci to subsample

nboot

number of bootstraps

Examples

1
2
3
4

mastoffel/sealABC documentation built on May 21, 2019, 12:43 p.m.