Summary method for the correlation function

# S3 method for correlation
summary(object, cutoff = 0, covar = FALSE, dec = 2, ...)

Arguments

object

Return value from correlation

cutoff

Show only correlations larger than the cutoff in absolute value. Default is a cutoff of 0

covar

Show the covariance matrix (default is FALSE)

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

plot.correlation to plot results

Examples

result <- correlation(diamonds, c("price", "carat", "table")) summary(result, cutoff = .3)
#> Correlation #> Data : diamonds #> Method : Pearson #> Cutoff : 0.3 #> Variables : price, carat, table #> Null hyp. : variables x and y are not correlated #> Alt. hyp. : variables x and y are correlated #> #> Correlation matrix: #> price carat #> carat 0.93 #> table #> #> p.values: #> price carat #> carat 0.00 #> table