Skip to content

Add alias scheme for arguments in R/mm_name.R #472

Description

@mdodrill-usgs

Reminder to implement the alias scheme for arguments in R/mm_name.R

See: #469 (comment)

Set an alias for each type in the argument, i.e.,

type=c(m='mle', b='bayes', b2='bayes_2station', n='night', K='Kmodel', s='sim')

and then change this code to (1) require exact matches, but accept matches to either the alias or full name, and (2) if an exact match doesn't exist but an approximate match is discovered, throw an informative error that exact matches to the alias or full name are now required. Update docs to reflect this new scheme.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions