Learn R Programming

cape (version 3.1.1)

qnorm_pheno: Plot trait distributions

Description

This function plots the quantiles of each trait against quantiles of a theoretical normal distribution. This provides a way to check whether traits are normally distributed

Usage

qnorm_pheno(data_obj, pheno_which = NULL, pheno_labels = NULL)

Arguments

data_obj

a Cape object

pheno_which

A vector of trait names to plot. The default is to plot all traits.

pheno_labels

A vector of names for traits to appear in the plot in case the column names are not very pretty.

Examples

Run this code
if (FALSE) {
qnorm_pheno(data_obj)
}

Run the code above in your browser using DataLab