toJSON {allometric}R Documentation

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, ...)

Arguments

object

An allometric model or publication

...

Additional arguments passed to jsonlite::toJSON

Value

A string containing the JSON representation of the object

Examples

toJSON(brackett_rubra)

[Package allometric version 2.1.0 Index]