export_fsk: Exports an object of FSK class as an .fskx file

View source: R/export_fsk.R

export_fskR Documentation

Exports an object of FSK class as an .fskx file

Description

Exports an object of FSK class as an .fskx file

Usage

export_fsk(fsk_object, out_path, check = TRUE)

Arguments

fsk_object

The instance of FSK2R to be exported.

out_path

Path where the file is to be saved.

check

Whether checks are made. TRUE by default.

Value

None

Examples


 path_example <- system.file("extdata", "ToyModelv4.fskx", package = "FSK2R")
 my_fsk <- import_fsk(path_example)
 class(my_fsk)
 export_fsk(my_fsk, out_path=file.path(tempdir(), "out.fskx"))



FSK2R documentation built on March 18, 2022, 7:21 p.m.