get_corr_df: A function return correlation and p value in dataframe...

View source: R/get_corr_df.R

get_corr_dfR Documentation

A function return correlation and p value in dataframe formate

Description

A function return correlation and p value in dataframe formate

Usage

get_corr_df(df.x, df.y = NULL, type = NULL)

Arguments

df.x

a dataframe, only numeric data will be used

df.y

a dataframe, not necessary

type

pearson (by defacult) or spearman correlation to be used


kun-ecology/ecoloop documentation built on Jan. 9, 2025, 10:20 a.m.