cor_plot: cor_plot

Description Usage Arguments Value

View source: R/cor_plot.R

Description

Plots the cor_fun output object using ggplot2. It is designed to only be used in conjunction with the output of the cor_fun() function ('cor.out'). The dotted red lines (shown only for samples), are 95

Usage

1
cor_plot(cor.out, results = length(cor.out$cor), graph = "bar")

Arguments

cor.out

a cor object, as created by the cor_fun().

results

sets the number of total values that will be plotted. By default it is set to the number of cor values. Also, the maximum number of values that can be plotted is 1000.

graph

sets the graphic type. Can take the values 'line' or 'bar'. By default is is set to 'bar'.

Value

a plot of cross-correlated values is returned.


bvidgen/Rccf documentation built on May 11, 2017, 7:42 p.m.