plot.correlation: Plot method for the correlation function

Description Usage Arguments Details See Also Examples

View source: R/correlation.R

Description

Plot method for the correlation function

Usage

1
2
## S3 method for class 'correlation'
plot(x, nrobs = -1, jit = c(0, 0), dec = 2, ...)

Arguments

x

Return value from correlation

nrobs

Number of data points to show in scatter plots (-1 for all)

jit

A numeric vector that determines the amount of jittering to apply to the x and y variables in a scatter plot. Default is 0. Use, e.g., 0.3 to add some jittering

dec

Number of decimals to show

...

further arguments passed to or from other methods.

Details

See https://radiant-rstats.github.io/docs/basics/correlation.html for an example in Radiant

See Also

correlation to calculate results

summary.correlation to summarize results

Examples

1
2
result <- correlation(diamonds, c("price", "carat", "table"))
plot(result)

radiant.basics documentation built on Nov. 18, 2021, 9:07 a.m.