table_all_integers {SSBtools}R Documentation

Table all integers from 1 to n

Description

Table all integers from 1 to n

Usage

table_all_integers(x, n)

Arguments

x

A vector of integers.

n

The maximum integer value.

Value

A 1D array of class "table" representing the frequency of each integer from 1 to n.

Examples

table_all_integers(c(2, 3, 5, 3, 5, 3), 7)


[Package SSBtools version 1.8.0 Index]