fullTable: Fill out a one-dimensional table to include a specified range...

View source: R/03-fullTable.R

fullTableR Documentation

Fill out a one-dimensional table to include a specified range of values

Description

Fill out a one-dimensional table to include a specified range of values

Usage

fullTable(x, values)

Arguments

x

A vector to tabulate

values

A vector of values to be included in a table

Value

A one-dimensional table with specified values

Author(s)

Mark Myatt

Examples


  xTable <- fullTable(x = sample(x = 5,
                                 size = 100,
                                 replace = TRUE),
                      values = 1:5)
  xTable

rapidsurveys/oldr documentation built on April 15, 2024, 11:18 a.m.