Learn R Programming

allometric (version 2.1.0)

toJSON: Convert a model or publication to a JSON representation

Description

This function converts an allometric model or publication into a JSON representation. Primarily, this is used internally to populate a remotely hosted MongoDatabase.

Usage

toJSON(object, ...)

Value

A string containing the JSON representation of the object

Arguments

object

An allometric model or publication

...

Additional arguments passed to jsonlite::toJSON

Examples

Run this code
toJSON(brackett_rubra)

Run the code above in your browser using DataLab