load_options: Load Options Table from a File

View source: R/option.R

load_optionsR Documentation

Load Options Table from a File

Description

Retrieves a matrix of options saved in a file. This matrix can then be used for further analysis or processing.

Usage

load_options(file_name)

Arguments

file_name

A character string specifying the file from which to load the options matrix.

Value

A matrix representing the loaded options.

Examples

tree <- dexisensitivity::masc2
option <- create_options(tree, num_options=3, seed = 42)
save_options(option,paste0(tempdir(),"\\save_options.tab"))
loaded_option <- load_options(paste0(tempdir(),"\\save_options.tab"))
file.remove(paste0(tempdir(),"\\save_options.tab"))


dexisensitivity documentation built on Oct. 30, 2024, 1:08 a.m.