pairsrp {pgirmess}R Documentation

Produces a matrix of scatterplot, regression coefficient and p(Ho)

Description

Produces a matrix with scatterplot, regression line and a loess smooth in the upper right panel; correlation coefficient (Pearson, Spearman or Kendall) and the probability of Ho in the lower left panel

Usage

pairsrp(dataframe, meth = "spearman", pansmo = FALSE, abv = FALSE, lwt.cex = NULL, ...)

Arguments

dataframe a data.frame of numeric values
meth a character string indicating which correlation coefficient is to be computed. One of 'pearson', 'kendall', or 'spearman'(default). Can be abbreviated.
pansmo True if a loess smooth is to be plotted. Default to False.
abv True if the variable names must be abbreviates. Default to False.
lwt.cex character size expansion in the lower panel.
... graphical parameters can be given as arguments to 'plot'.

Details

This function is a wrapper for pairs() and cor()

Author(s)

Patrick Giraudoux <patrick.giraudoux@univ-fcomte.fr>

See Also

pairs

Examples

data(iris)
pairsrp(iris[,1:4],meth="pears",pansmo=TRUE,abv=TRUE)
 

[Package pgirmess version 1.3.7 Index]