print.bayesplfm: Printing 'bayesplfm' objects

View source: R/plfm.R

print.bayesplfmR Documentation

Printing bayesplfm objects

Description

Printing method for objects generated by the bayesplfm function.

Usage

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

Arguments

x

Object returned by bayesplfm.

...

Further arguments are ignored.

Details

The printing method for Bayesian probabilistic latent feature analysis objects displays (1) the parameters used to call the bayesplfm function, (2) the number of parameters that do not meet the convergence criterion (3) information on the descriptive fit of the model (i.e. correlation between observed and expected frequencies, and proportion of the variance in the observed frequencies accounted for by the model), and (4) the posterior mean of the object- and attribute parameters.

See Also

bayesplfm,summary.bayesplfm,print.summary.bayesplfm

Examples


## Not run: 
##load car data
data(car)


## Compute a sample of the posterior distribution 
## for the disjunctive model with two features
## compute the starting point using plfm
carbayes2<-bayesplfm(maprule="disj",freq1=car$freq1,freqtot=car$freqtot,F=2,
                      maxNiter=500,Nburnin=0,Nstep=100,Nchains=2,
                      start.bayes="best")


## print the object generated by bayesplfm
carbayes2

## End(Not run)


plfm documentation built on March 30, 2022, 5:08 p.m.