Learn R Programming

GD (version 1.4)

riskmean: Calculate risk means within intervals and visualization

Description

Calculate risk means within intervals and visualization

Usage

riskmean(y, x)
\method{print}{riskmean}(result)
\method{plot}{riskmean}(result)

Arguments

y

A numeric vector of response variable

x

A vector or a data.frame of explanatory variables

result

A data.frame of risk mean values

Examples

Run this code
# NOT RUN {
rm1 <- riskmean(ndvi_40$NDVIchange, ndvi_40[,2:3])
# rm1
# plot(rm1)

# }

Run the code above in your browser using DataLab