Learn R Programming

catalytic (version 0.1.0)

extract_dim: Extract Dimension Information from Model Initialization

Description

This function retrieves and formats the dimensions of the dataset used in the model, including the number of observed and synthetic data points and the total number of rows and columns.

Usage

extract_dim(cat_init)

Value

A character string summarizing the dimensions of the dataset used in the model.

Arguments

cat_init

A list containing model initialization data, expected to include obs_size (observed data size), syn_size (synthetic data size), size (total data size), and x (the covariate matrix).