extract_model_id: Extract model ID from a string or fitted model object

View source: R/client.R

extract_model_idR Documentation

Extract model ID from a string or fitted model object

Description

Accepts either a bare character model ID or a list with a ⁠$model_id⁠ element (as returned by midas_fit() or midas()).

Usage

extract_model_id(x)

Arguments

x

A character string or a list with a ⁠$model_id⁠ element.

Value

Character model ID.


rMIDAS2 documentation built on March 12, 2026, 9:07 a.m.