check_model_filename: Check if the 'model_filename' is valid

View source: R/check_model_filename.R

check_model_filenameR Documentation

Check if the model_filename is valid

Description

Check if the model_filename is valid Will stop if not.

Usage

check_model_filename(model_filename)

Arguments

model_filename

name of a file that stores a GCAE architecture, as checked by check_model_filename. Use read_model_file to read a GCAE architecture from that file.

Value

Nothing. Will stop if model_filename is invalid.

Author(s)

Richèl J.C. Bilderbeek

See Also

use check_pheno_model_filename to check if a phenotype model filename is correct

Examples

check_model_filename("M0.json")
check_model_filename("~/M0.json")
check_model_filename("/home/me/M2.json")

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.