corgraph: Graph: Correlogram

Description Usage Arguments Value Author(s) Examples

View source: R/correlation_function.R

Description

Correlation analysis function (Pearson or Spearman)

Usage

1
2
3
4
5
6
7
8
corgraph(
  data,
  axissize = 12,
  legendsize = 12,
  legendposition = c(0.9, 0.2),
  legendtitle = "Correlation",
  method = "pearson"
)

Arguments

data

data.frame with responses

axissize

Axes font size (default is 12)

legendsize

Legend font size (default is 12)

legendposition

Legend position (default is c(0.9,0.2))

legendtitle

Legend title (default is "Correlation")

method

Method correlation (default is Pearson)

Value

The function returns a correlation matrix

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

Examples

1
2
data("pomegranate")
corgraph(pomegranate[,-1])

AgronomiaR/AgroR documentation built on Nov. 14, 2021, 12:10 a.m.