odin_js: Create a javascript odin model

View source: R/odin-js.R

odin_jsR Documentation

Create a javascript odin model

Description

Generate a javascript odin model from a file, text string or expression.

Usage

odin_js(x, ..., options = NULL)

odin_js_(x, ..., options = NULL)

Arguments

x

Either the name of a file to read, a text string (if length is greater than 1 elements will be joined with newlines) or an expression.

...

Arguments passed to odin_options

options

An optional odin_options object. The target element (if present) will be overriden.


mrc-ide/odin.js documentation built on Nov. 2, 2022, 2:27 p.m.