parameters = list(w_FGA = 0.5, w_FGB = 0.5)
build_functional_group(parameters)
# The w_FGX weights in the input are interpreted as relative to each other.
# Thus, they do not need to satisfy the sum rule. The following is
# equivalent to the previous example:
parameters = list(w_FGA = 1, w_FGB = 1)
build_functional_group(parameters)
Run the code above in your browser using DataLab