print.initgmf | R Documentation |
Print some summary information of an initialized GMF model.
## S3 method for class 'initgmf'
print(x, ...)
x |
an object of class |
... |
further arguments passed to or from other methods |
No return value, called only for printing.
# 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
init = sgdgmf.init(data$Y, ncomp = 3, family = poisson())
# Print the GMF object
print(init)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.