Learn R Programming

synchrony (version 0.3.8)

plot.synchrony: Plot synchrony objects

Description

Plot synchrony objects

Usage

# S3 method for synchrony
plot (x, main = "", xlab = "Values from randomizations", 
                            ylab = "Frequency", line.col = "red", lty = 2, 
                            lwd = 1, col = "grey", …)

Arguments

x

synchrony object

main

main title of the figure

xlab

xlabel of the figure. Default is "Values from randomizations"

ylab

ylabel of the figure. Default is "Frequency"

line.col

color of the vertical line indicating the value observed in the data. Default is "red"

lty

line type. Default is 2 or dashed

lwd

line width. Default is 1

col

color of the bars. Default is grey

other graphical parameters.

Examples

Run this code
# NOT RUN {
comm.rand=matrix(runif(100), nrow=5, ncol=20)
comm.rand.sync=community.sync(comm.rand, nrands=20)
plot(comm.rand.sync)
# }

Run the code above in your browser using DataLab