Learn R Programming

phiDelta (version 1.0.1)

iso_precision: isometric precision lines

Description

adds isometric lines for the precision to the plot depending on the ratio

Usage

iso_precision(ratio = 1, granularity = 0.25, lty = "longdash",
  col = "blue", ...)

Arguments

ratio

numeric value for the ratio of positive and negative of the data

granularity

numeric value between 0 and 1 for the granularity of the lines. It is a value for the distance between 2 lines

lty

the type of line, see par

col

the color of the lines

...

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)
iso_precision(ratio, col = "green")
# }

Run the code above in your browser using DataLab