View source: R/method_process_definition.R
definition | R Documentation |
A definition contains meta information on a TI method and various aspects thereof.
For brevity, the example only contains a minimum example, check the documentation
of the def_*
helper functions for more extensive examples.
definition(
method,
wrapper,
manuscript = NULL,
container = NULL,
package = NULL,
parameters = parameter_set()
)
is_ti_method(method)
method |
Meta information on the TI method (see |
wrapper |
Meta information on the wrapper itself (see |
manuscript |
Meta information on the manuscript, if applicable (see |
container |
Meta information on the container in which the wrapper resides, if applicable (see |
package |
Meta information on the package in which the wrapper resides, if applicable (see |
parameters |
Meta information on the parameters of the TI method (see |
A method definition
library(dynparam)
definition(
method = def_method(id = "some_method"),
wrapper = def_wrapper(input_required = "expression"),
parameters = parameter_set(
integer_parameter(id = "k", default = 5L, distribution = uniform_distribution(3L, 20L))
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.