tar_read_model: Read model

View source: R/targets.R

tar_read_modelR Documentation

Read model

Description

Given a model name (=target name), return the model object associated with it. Note that the stored value of the TARGET is the PATH to the model, so it needs to be read with readRDS. This just wraps around that 2-step process.

Usage

tar_read_model(model_target_name)

Arguments

model_target_name

Value

object saved at the rds file


tsostarics/sostools documentation built on June 1, 2025, 10:20 p.m.