Learn R Programming

fastStat (version 1.4)

cor_star: Correlation Analysis

Description

Correlation Analysis

Usage

cor_star(data, method = "pearson")

Arguments

data

a dataframe or matrix

method

a character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default, 1), "kendall" (2), or "spearman" (3): can be abbreviated.

Value

correlation analysis with significant star.

Examples

Run this code
# NOT RUN {
cor_star(mtcars)
# }

Run the code above in your browser using DataLab