Get the first available model name in the given directory

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