valueBoxString: valueBoxValues

Description Usage Arguments Value

Description

Calculate color and string needed in the ShinyApp valueBoxOutput based on a turfeffect model output

Usage

1

Arguments

model

An object of class lm, generated by the turfeffect function

type

A string

Value

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


turf-reserves/MPAtools documentation built on June 1, 2019, 2:54 a.m.