Plot_Sample_Frequency: Plot the sample frequency

Description Usage Arguments Examples

View source: R/Plot_Sample_Frequency.R

Description

Plot the sample frequency

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
Plot_Sample_Frequency(
  sample1,
  sample2 = NULL,
  x_range = NULL,
  bin_width = NULL,
  show_sample_deviation = FALSE,
  show_sample_grid = TRUE,
  show_sample_sigma = FALSE,
  show_sample_variation_range = FALSE,
  standarized_x_axis = FALSE,
  standarized_y_axis = FALSE,
  show_population_curve = FALSE,
  population_mean = mean(c(sample1, sample2)),
  population_sd = sd(c(sample1, sample2)),
  deviation_from_population_mean = TRUE,
  add_fill_color = TRUE,
  xlab = "",
  ylab = "Frequency",
  main = "",
  ...
)

Arguments

sample1,

sample2 numeric vectors to be drawn, sample2 can be NULL.

add_fill_color

Logical or a numeric value, To fill or not, or specifiy the cells to be filled.

Examples

1
2
3
sample1 <- c(11, 9, 4, 5, 6, 7, 12, 10)
sample2 <- c(7, 13, 14, 16, 9, 11, 15, 11)
Plot_Sample_Frequency(sample1, sample2, show_sample_deviation = T, deviation_from_population_mean = F)

likanzhan/acqr documentation built on Dec. 2, 2020, 10:14 a.m.