plot.fSRM {fSRM}R Documentation

Plot an fSRM-object, two types

Description

This function provides two types of plots: 1) Plot the relative variances of an fSRM-object (default) 2) Plot the mean decomposition for each dyad (set means=TRUE)

Usage

## S3 method for class 'fSRM'
plot(x, ..., means = FALSE, bw = FALSE, onlyStable = FALSE)

Arguments

x

A fSRM object.

...

Other parameters (currently not used)

means

If FALSE, the relative variances are plotted. If TRUE, the mean structure is plotted.

bw

Black/white plotting?

onlyStable

In case of variance plots: Should only the partitioning of the stable variance (without error) be plotted?

Examples

## Not run: 
data(two.indicators)
# 4 persons, 1 indicator
f4.1 <- fSRM(dep1 ~ actor.id*partner.id | family.id, two.indicators, means=TRUE)
f4.1
plot(f4.1)
plot(f4.1, bw=TRUE)
plot(f4.1, means=TRUE)

# 4 persons, 2 indicators
f4.2 <- fSRM(dep1/dep2 ~ actor.id*partner.id | family.id, two.indicators, means=TRUE)
f4.2
plot(f4.2)
plot(f4.2, bw=TRUE)
plot(f4.2, means=TRUE)

## End(Not run)

[Package fSRM version 0.6.5 Index]