sampcor: Sample correlation matrix

Description Usage Arguments Details Examples

View source: R/sampcor.R

Description

Returns a correlation matrix for a data sample

Usage

1
sampcor(x, varnames = NULL)

Arguments

x

data set

varnames

list of names

Details

Accepts a data set and creates a correlation matrix using the sampcov function and the definition of the correlation matrix

Examples

1
sampcor(data, c("WEIGHT", "LENGTH", "DENSITY"))

coxjohn/Lab1Intro documentation built on Jan. 26, 2020, 4:10 a.m.