arg_list_handler: Argument list handler

View source: R/arg_list_handler.R

arg_list_handlerR Documentation

Argument list handler

Description

Infer whether the argument should be applied to all loci or matched by index.

Usage

arg_list_handler(arg, i, loci, use_names = FALSE, error = TRUE)

Arguments

arg

Name of the argument to evaluate.

i

Iterator index.

loci

A vector of loci that are being iterated over.

use_names

Whether to identify locus-specific value by name instead of index.

error

Throw an error (TRUE) instead of a warning (FALSE).

Value

Selected argument value.


RajLabMSSM/echolocatoR documentation built on Jan. 29, 2023, 6:04 a.m.