m.gen.dist: Mean genetic distance

Description Usage Arguments Value

View source: R/genepop.utilities.R

Description

This function calculates the mean and standard deviation of the genetic distance (calculated with gen.dist) across all replicates for the same scenario.

Usage

1
m.gen.dist(path.results = NULL, scenarios = "all", pop.name, traits)

Arguments

path.results

The path to the 'Results' folder

scenarios

A character vector with the scenarios to be processed or "all"

pop.name

The name of the population

traits

A character vector with the name of the traits to be included

Value

A list with three elements: the mean and standard deviation for each time step and overall. m.gen.dist also saves to disk a .xlsx with the same name of the input file with the suffix "_means".


carlopacioni/HexSimR documentation built on Nov. 28, 2020, 4:12 p.m.