CorTestPvalue: p-value of correlation test

Description Usage Arguments Value Examples

Description

This function is designed to get p-value by doing cor.test to a variable with the varibale that we are interested in.

Usage

1
CorTestPvalue(data, depenVaColname, indepenVaColname)

Arguments

data

Your dataset

depenVaColname

The varibale that we are interested in

indepenVaColname

The varibale that we want to know the correlation p-vlaue with the variable that we are interested in.

Value

a list

Examples

1
CorTestPvalue(exampledata,"Weight (in kg)","Olive oil (in g)")

jing1020/healthData-analytics-package documentation built on May 29, 2019, 1:03 a.m.