View source: R/bridge-payload.R
| mellio_to_json | R Documentation |
Serialise a Mellio payload to JSON
mellio_to_json(payload, pretty = FALSE)
payload |
A |
pretty |
Pretty-print with line breaks (default |
A length-1 character vector containing the JSON.
mellio_payload() to build the payload, mellio_open() to send it
directly to the Mellio web app.
Other R bridge:
mellio_addin_send(),
mellio_capture(),
mellio_compare(),
mellio_open(),
mellio_payload(),
print.mellio_payload()
p <- mellio_payload(t.test(extra ~ group, data = sleep))
cat(mellio_to_json(p, pretty = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.