View source: R/archive/numeric_data.R View source: R/archive/data.R View source: R/archive/color_data.R
numeric_data | R Documentation |
Converts a vector, matrix or data frame into a numeric vector, matrix or data frame.
numeric_data( x, select = NULL, out = c("data.frame", "matrix", "vector"), na.action = stats::na.pass, ..., title = NULL )
x |
vector, matrix or data frame |
select |
vector: indicating columns to select (default: |
out |
output as |
na.action |
a function which indicates what should happen when the data contain NAs (default: stats::na.pass) |
... |
unused |
title |
character: title attribute (default |
the desired R object
numeric_data(iris) numeric_data(iris, out="matrix") numeric_data(iris, out="vector")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.