Description Usage Arguments Details Value See Also
Method generates tsv string for an array
1 2 |
type |
The list of 4 values (as returned by
|
1-dimensional array will be coverted to vector and method
get.tsv.vector
will be called.
2-dimensional array will be coverted to matrix and method
get.tsv.matrix
will be called.
3 and more dimensional array will be flattened to matrix and method
get.tsv.matrix
will be called. Matrix will have
N+1
columns where N
is a number of dimensions and
M
or M+1
rows, where M
is a product of array
dimensions. E.g. if array has following dimensions
dim=c(2, 4, 2)
, then the output table will have
N=3+1=4
columns and M=2*4*2=16
rows. If array
dimensions are named then header row will be added. First N
columns will be take names from dimensions names and the last column
will be named after variable. Missing names will stay empty.
tsv string
Other generate.tsv: get.tsv.data.frame
,
get.tsv.matrix
,
get.tsv.table
,
get.tsv.vector
, get.tsv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.