table2vector: Convenience function for converting 1-d table to named vector

View source: R/misc.R

table2vectorR Documentation

Convenience function for converting 1-d table to named vector

Description

Convenience function for converting 1-d table to named vector

Usage

table2vector(tab)

Arguments

tab

A one-dimensional table e.g. the output from table

Value

a named vector with elements corresponding to the counts in table

Examples

table2vector(1:10)

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.