riskmean | R Documentation |
Function for calculating risk means within intervals and visualization.
riskmean(formula, data = NULL)
## S3 method for class 'riskmean'
print(x, ...)
## S3 method for class 'riskmean'
plot(x, ...)
formula |
a formula of response and explanatory variables |
data |
a data.frame includes response and explanatory variables |
x |
a list of risk mean values |
... |
ignore |
rm1 <- riskmean(NDVIchange ~ Climatezone + Mining, data = ndvi_40)
rm1
plot(rm1)
data <- ndvi_40[,1:3]
rm2 <- riskmean(NDVIchange ~ ., data = data)
rm2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.