corstars: x is a matrix containing the data

Description Usage Arguments

View source: R/corstars.R

Description

the results will be displayed in html or latex format from: http://www.sthda.com/english/wiki/elegant-correlation-table-using-xtable-r-package and: http://myowelt.blogspot.com/2008/04/beautiful-correlation-tables-in-r.html

Usage

1
2
3
4
5
6
corstars(
  x,
  method = c("pearson", "spearman"),
  removeTriangle = c("upper", "lower"),
  result = c("none", "html", "latex")
)

Arguments

x

matrix to calculate correlations

method

one of pearson or spearman

removeTriangle

on of upper or lower

result

on of none, html, or latex. none returns a matrix, the others format output


duanxd1/gfuns documentation built on March 7, 2020, 12:46 a.m.