toJSON: Convert a model or publication to a JSON representation

toJSONR 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)

allometric documentation built on Nov. 8, 2023, 1:07 a.m.