check_allocation: Check that allocation percents sum to 1.0

Description Usage Arguments Value

Description

Check that allocation percents sum to 1.0

Usage

1
check_allocation(percents)

Arguments

percents

a vector of percents to check

Value

a boolean indicating if the percents in fact do sum to 1.0


ryanholbrook/investmentsim documentation built on Nov. 5, 2019, 5:10 a.m.