plot.fSRM: Plot an fSRM-object, two types

Description Usage Arguments Examples

View source: R/generics.R

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

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 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)

fSRM documentation built on Jan. 27, 2021, 5:05 p.m.

Related to plot.fSRM in fSRM...