Description Usage Arguments Value
Calculate color and string needed in the ShinyApp valueBoxOutput based on a turfeffect model output
1 | valueBoxString(model, type = NULL)
|
model |
An object of class lm, generated by the turfeffect function |
type |
A string |
x, a list with the first element (x$x) containing the string of slope and p value, and a second element (x$color) containing the color that the valueBox should have
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.