print.sgdgmf: Print the fundamental characteristics of a GMF

print.sgdgmfR Documentation

Print the fundamental characteristics of a GMF

Description

Print some summary information of a GMF model.

Usage

## S3 method for class 'sgdgmf'
print(x, ...)

Arguments

x

an object of class sgdgmf

...

further arguments passed to or from other methods

Value

No return value, called only for printing.

Examples

# Load the sgdGMF package
library(sgdGMF)

# Generate data from a Poisson model
data = sim.gmf.data(n = 100, m = 20, ncomp = 5, family = poisson())

# Fit a GMF model with 3 latent factors
gmf = sgdgmf.fit(data$Y, ncomp = 3, family = poisson())

# Print the GMF object
print(gmf)


sgdGMF documentation built on April 3, 2025, 7:37 p.m.