Learn R Programming

phiDelta (version 1.0.1)

crossings: Diagram crossings

Description

adds crossings to the plot depending on the ratio

Usage

crossings(ratio, col = "darkblue", ...)

Arguments

ratio

is the ratio of positive and negative of the data

col

the color of the lines. Default is darkblue

...

further graphical parameters, see par

Examples

Run this code
# NOT RUN {
x <- c_statistics(climate_data)
ratio <- calculate_ratio(x)
phiDelta_plot_from_data(x, crossing = FALSE)
crossings(ratio, col = "green")
# }

Run the code above in your browser using DataLab