Learn R Programming

PMmisc (version 0.1.0)

fspearcor: Spearman Rank Correlation

Description

Calculate Spearman Rank Correlation, which is the nonparametric version of the Pearson product-moment correlation.

Usage

fspearcor(x,y)

Arguments

x

:a numeric varibale

y

:a numeric varibale

Examples

Run this code
# NOT RUN {
 fspearcor(mtcars[,1], mtcars[,3])
# }

Run the code above in your browser using DataLab