Description Usage Arguments Value Author(s) Examples
The function creates two histograms, one of the original data and one of the log-tramsformed data. If desired, a second time point can be added, so that a plot with four histograms is created.
1 2 | general.hist_log(x, by = NULL, file.name, nbars = 15, title = "",
xlab = "", col.orig = "lightblue", col.log = "lightyellow")
|
x |
Numeric vector (Required) |
by |
Character or factor vector of the same length than 'x' to the time, if two time points should be analyzed. should contain only two levels (Default: Null) |
file.name |
begining of the name for the PNG output files (without '.png' ending) (Required) |
nbars |
number of bars for the histograms (Default: 15) |
title |
Title of the plot (Default: ”) |
xlab |
Label for the x-axis (Default: ”) |
col.orig |
Color of the histogram bars of the original values (Default: 'lightblue') |
col.log |
Color of the histogram bars of the log-transformed values (Default: 'lightyellow') |
A .png file with two or four histograms and a numeric vector with the size of the .png
Sebastian Voss, Adam Skubala
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.