Learn R Programming

BKT (version 0.1.0)

load_model: Load

Description

Load a BKT model from a file. This function loads a previously saved BKT model from an RDS file. The model attributes are restored into the provided model object, allowing it to be used for further analysis or predictions.

Usage

load_model(model, loc)

Value

The updated BKT model object with the restored attributes from the saved model.

Arguments

model

A BKT model object into which the saved model's attributes will be loaded.

loc

Character. The file path from which the model will be loaded, typically an .rds file.

Examples

Run this code
# \donttest{
model <- bkt(seed = 42)
loaded_model <- load_model(model, "bkt_model.rds")
# }

Run the code above in your browser using DataLab