save_model: Save Hidden Markov model to disk

Description Usage Arguments Examples

Description

This function saves a hidden markov model as serialised object (.rds format) to disk.

Usage

1
save_model(model, model_name)

Arguments

model

An object of the class MIR_hmm as returned by MIR_hmm().

model_name

Name of the model on disk.

Examples

1
2
3
hmm <- load_model("2_state_hmm")

save_model(hmm, "2_state_hmm")

simonhess/HMM documentation built on May 6, 2019, 11:44 a.m.