print.sgdgmf {sgdGMF} | R 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 |
... |
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)
[Package sgdGMF version 1.0.1 Index]