Description Usage Arguments Value Examples
Make a ggplot2 plot of the traditional circularity distribution
1 2 | ggplot_circ(circ, bin_width, title, xlab, ylab = "Counts",
base_txt_pts = 12)
|
circ |
vector - Containing the circularity |
bin_width |
number - The width of the bin for the circularity histogram |
title |
String - A title for the plot |
xlab |
String - the label for the x axis, e.g. "diameter [nm]" |
ylab |
String - the y label. Default = "Counts" |
base_txt_pts |
String - the size in points. Default 12. |
plt
1 2 3 4 | library(particlesizeR)
# simulate a distribution
vec1 <- rnorm(1000, mean=0.90, sd=.05)
ggplot_circ(vec1, 0.01, "Circularity distribution", "Circularity", "Counts")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.