Nothing
Code
new_model()
Output
<hardhat_model>
named list()
Code
new_model(class = "custom_class")
Output
<custom_class>
named list()
Code
new_model(x = 4, y = "hi", class = "custom_class")
Output
<custom_class>
$x
[1] 4
$y
[1] "hi"
Code
new_model(blueprint = 1, class = "custom")
Condition
Error in `new_model()`:
! `blueprint` must be a <hardhat_blueprint>, not the number 1.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.