iproto | R Documentation |
iface
specificationThis function is used internally for default values for a dataframe
parameter. It generates a zero length dataframe that conforms to a iface
specification, in terms of column names, data types and groupings. Such a
dataframe is not guaranteed to be fully conformant to the iface
specification if, for example, completeness constraints are applied.
iproto(iface)
iface |
the specification |
a dataframe conforming to iface
i = interfacer::iface(
col1 = integer ~ "A number",
col2 = character ~ "A string"
)
iproto(i)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.