topline: Make a time series of a variable

Description Usage Arguments Details Value Examples

View source: R/makeTopline.R

Description

topline returns a data.frame containing a time series of a variable

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
topline(
  mulaw,
  variable,
  weight = zwave_weight,
  remove = c(""),
  n = TRUE,
  pct = TRUE,
  valid_pct = TRUE,
  cum_pct = TRUE
)

Arguments

mulaw

The data.frame containing the version of the integrated file you wish to use

variable

The variable, unquoted

weight

The weight variable, defaults to zwave_weight

remove

a character string of response values to remove from the output after performing all calculations

n

Logical, determines if a row total is included or not

pct

logical, determines if the pct column is included or not

valid_pct

logical, determines if the valid percent column is included

cum_pct

Logical, determines if a cumulative percent column is included or not

Details

This is a wrapper around pollster::topline()

Value

A tibble

Examples

1
topline(integ, g40)

jdjohn215/MLSPTools documentation built on Sept. 2, 2020, 1:16 a.m.