Learn R Programming

factorstochvol (version 0.8.1)

comtimeplot: Plot comunalities over time.

Description

comtimeplot plots the communalities over time, i.e. the series-specific proportion of variance explained through the common factors.

Usage

comtimeplot(x, fsvsimobj = NULL, show = "series", maxrows = 5, ylim = c(0, 1))

Arguments

x
Object of class 'fsvdraws', usually resulting from a call to fsvsample.
fsvsimobj
Object of class 'fsvsim' (or NULL), usually resulting from a call to fsvsim. Defaults to NULL.
show
Indicator whether to show joint ('joint'), series-specific ('series'), or both ('both') communalities.
maxrows
Single positive integer denoting the maximum number of series in each plot. Defaults to 5.
ylim
Vector of length two denoting the range of the horizontal axis. Defaults to 1.

Value

Returns x invisibly.

Details

This function displays the joint (average) communalities over time and all series-specific communalities. If communalities haven't been stored during sampling, comtimeplot produces an error.

See Also

Other plotting: corimageplot, corplot, cortimeplot, facloadcredplot, facloaddensplot, facloadpairplot, facloadpointplot, facloadtraceplot, logvartimeplot, paratraceplot, plot.fsvdraws, voltimeplot