defaultModel: Get the first available model name in the given directory

Description Usage Arguments Value

View source: R/loadModel.R

Description

Get the first available model name in the given directory

Usage

1
defaultModel(dir = system.file(package = pkg, "models"), pkg = "tdmore")

Arguments

dir

model directory; uses the package 'models' directory by default

pkg

the package in which to search for a 'models' directory

Value

character string with model filename


tdmore-dev/tdmore documentation built on Jan. 1, 2022, 3:21 a.m.