create_LDNe_params: Write LDNe Parameter File

View source: R/create_LDNe_params.R

create_LDNe_paramsR Documentation

Write LDNe Parameter File

Description

This function writes a parameter for LD Method in NeEstmator V2.1

Usage

create_LDNe_params(
  x,
  param_file = "LDNe_params.txt",
  NE_out_file = "LDNEresults.txt",
  matingsystem = 0,
  crit_vals = c(0.02, 0.05, 0.1)
)

Arguments

x

RLDNe_data object or genepop file name

param_file

Desired name of parameter file produced

NE_out_file

Desired name of output file from LDNe

matingsystem

0: Random mating, 1: Monogamy (LD method). Defaults to Random Mating.

crit_vals

minimum allele frequency cutoff. Defaults to c(0.02,0.05,0.1).

Value

Path of created LDNe param file

Author(s)

Zak Robinson, Contact: zachary.robinson(at)umontana.com


zakrobinson/RLDNe documentation built on Oct. 24, 2024, 5:37 p.m.