spatialEco (version 1.3-2)

fuzzySum: Fuzzy Sum

Description

Calculates the fuzzy sum of a vector

Usage

fuzzySum(x)

Arguments

x

Vector of values to apply fuzzy sum

Value

Value of fuzzy sum

Examples

Run this code
# NOT RUN {
p = c(0.8,0.76,0.87)
  fuzzySum(p)
  sum(p)

p = c(0.3,0.2,0.1)
  fuzzySum(p)
  sum(p)  

# }

Run the code above in your browser using DataLab