Learn R Programming

NanoStringQCPro (version 1.4.0)

panelCor: panelCor

Description

Helper function for printing correlation coefficients inside a pairs plots

Usage

panelCor(x, y, digits = 2, cex.cor = 0.75, doTest = FALSE)

Arguments

x
integer
y
integer, same length as x
digits
scalar integer, indicating the number of decimal positions for displaying the correlation coefficient
cex.cor
scalar numeric to specify relative font size for priting the correlation coefficient
doTest
boolean, whether a results of cor.test should be displayed as well

Value

Prints correlation coefficients (and p-values if doTest = TRUE) within a pairs plot.