construct | R Documentation |
The construct() function can be called either with the data.frame as the first argument or the formula and then specify 'data=<data.frame>'
construct(data, formula = guess_structure(data), fill = NA, name_axes = TRUE)
data |
A data frame |
formula |
A formula: value ~ axis1 [+ axis2 + axis n ..] |
fill |
Value to fill array with if undefined |
name_axes |
Keep column names of 'data' as axis names |
A structured array
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.