as.numeric.dt: Convert data table with 1 row to named vector

View source: R/as_numeric_dt.R

as.numeric.dtR Documentation

Convert data table with 1 row to named vector

Description

Convert data table with 1 row to named vector

Usage

## S3 method for class 'dt'
as.numeric(x)

Arguments

x

data.table with single row

Value

named numeric vector


gkane26/rextras documentation built on June 1, 2022, 7:21 p.m.