make_switches: Turn any character vector into a Gadget switch

Description Usage Arguments Value Examples

Description

Character vectors are strictly returned when using to_gadget_formula. This function allows one to explicitly turn a character vector into a switch

Usage

1

Arguments

...

Any number of character objects

Value

A list with length the same number of items entered in .... All items will have a "#" placed in front of them

Examples

1
2
3
4
make_switches("linf", "k")
stockname <- "cod"
make_switches(paste(stockname, "linf", sep = "."),
              paste(stockname, "k", sep = "."))

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.