extract_popkFromFilename: Get the identifier of a population from the filenam

Description Usage Arguments Value Author(s) Examples

View source: R/Isobole_plotting.R

Description

Get the identifier of a population from the filenam

Usage

1

Arguments

files

vector of filenames

Value

Numeric vector of k's

Author(s)

Daniel Lill (daniel.lill@intiquan.com)

Examples

1
2
3
4
5
.inputFolder <- system.file("examples/Example-1/Outputs/Simulations",
  package = "populationIsoboles")
files <- list.files(.inputFolder)
files <- grep("^(\\d+)[._]", files, value = TRUE)
try(populationIsoboles:::extract_popkFromFilename(files))

IntiQuan/populationIsoboles documentation built on Jan. 13, 2022, 8:29 p.m.