Description Usage Arguments Details Value Author(s) See Also Examples
Register a page
1 | register.page(registry, page.name, page, overwrite = FALSE)
|
registry |
AnalysisPageRegistry object |
page.name |
Character. Name of the page to register |
page |
AnalysisPage or function. If a function is supplied instead of an
AnalysisPage object then
it will be coerced into an AnalysisPage object calling |
overwrite |
Logical. If FALSE (default) then throw and error if a page is already registered under that name. If TRUE then just warn. |
Register a page
void
Brad Friedman
new.registry
, has.page
, get.page
, pages
, new.analysis.page
1 2 3 4 5 6 | # Make a new registry
registry <- new.registry()
# Now register it under the name "sine" (in the "example" registry)
# and keep the modified registry.
registry <- register.page(registry, "sine", AnalysisPageServer:::sine.handler)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.