ggplot_ecd: Plot a histogram of Equivalent Circular Diameter data

Description Usage Arguments Value Examples

Description

Make a ggplot2 histogram plot of the ECD

Usage

1
2
ggplot_ecd(ecd, bin_width, title, xlab = "ECD [nm]", ylab = "Counts",
  base_txt_pts = 12)

Arguments

ecd

vector - Contains the ECD

bin_width

number - The width of the bin for the diameter histogram

title

String - A title for the plot

xlab

String - the label for the x axis, e.g. "ECD [nm]"

ylab

String - the y label. Default = "Counts"

base_txt_pts

String - the size in points. Default 12.

Value

plt

Examples

1
2
3
4
5
library(particlesizeR)
# simulate a complicated distribution
vec1 <- rnorm(500, mean=85, sd=2)
vec2 <- rnorm(1000, mean=90, sd=2)
vec <- c(vec1, vec2)

jrminter/particlesizeR documentation built on June 5, 2019, 11:05 p.m.