gen_model_config: Generate a config file for a given function

Description Usage Arguments Details Functions

View source: R/model_params.R

Description

Generate a config file for a given function

Usage

1
2
3
gen_model_config(func, path = ".", in_list = NULL)

default_model_config(model, path = ".", in_list = NULL)

Arguments

func

the function for which a config file is being generated

path

the path in which to store the config file

Details

This is used to generate config files for functions not specially implemented within the airpred. A yaml file with the name "[func]_params.yml" will be created in your current directory. The file will have its upper level be all of the tuning arguments for a given function while the lower level will contain the default values.

NOTE: The function MUST be the first argument passed, otherwise the yaml file will not be appropriately named, and may end up in an unintended location.

Functions


NSAPH/airpred documentation built on May 7, 2020, 10:49 a.m.