dispersion_batch: Dispersion index batch function

Description Usage Arguments Examples

View source: R/dispersion_batch.R

Description

A helper function to process batch index of dispersion tests and add names of the variables to the results, default option to print results as a matrix, can print as a kintr table

Usage

1
2
dispersion_batch(x, data, print_option = c("none", "markdown", "pandoc",
  "latex", "html"))

Arguments

x

a vector of column names of counts in data

data

a data frame

print_options

Provides the option to print out results as a table formatted by kable from the knitr package.

Examples

1
2
3
dispersion_batch(x = c("extortions", "bribes"), data = testdata)
dispersion_batch(x = c("extortions", "bribes"), data = testdata,
                  print = "pandoc")

prestevez/vicarp documentation built on Jan. 28, 2020, 1:56 p.m.