# NOT RUN {
# Example 1 | fixed weights
weight.fix.L <- weightFun("fix1")
# Example 2 | range of measure data
data(shpdata1)
wrc <- shpdata1$TS1$wrc
hcc <- shpdata1$TS1$hcc
# Remove NAs
hcc <- shpdata1$TS1$hcc[!is.na(shpdata1$TS1$hcc[,1] ),]
weight.fix.L <- weightFun("range", wrc, hcc)
# }
Run the code above in your browser using DataLab