Description Usage Arguments Details Value See Also Examples
Get the schema of a data object.
1 | schema(x)
|
x |
an object. |
The schema
function returns the type of a data object:
the schema of NULL
is NULL
;
the scheme of a vector-like argument x
is x
;
the schema of a record or dataset x
is a record with the
same names, with each field giving the schema of the corresponding
entry in x
the schema of a matrix-like argument x
is the
schema of as.dataset(x)
.
Note that schema(x)
is undefined for rank-3 and higher arrays.
A type (length-0 vector-like object) or a record with entries giving
the schema of the corresponding columns in x
.
cast
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.