Open ahjames11 opened 1 year ago
Something like:
ff$AllocationComponents %>% group_by(AllocationMethodID) %>% summarize(PercentValue = sum(PercentValue)) %>% filter(PercentValue != 1)
And then check if nrow() > 0. Issue a warning if so.
Also might want to add an argument to allow "rebaselining" of the allocations to correct. In other words, divide allocations by the sum.
Something like:
And then check if nrow() > 0. Issue a warning if so.
Also might want to add an argument to allow "rebaselining" of the allocations to correct. In other words, divide allocations by the sum.