To avoid cash flow issues, this function takes a data frame as returned by
condense
with cashflow=TRUE
to calculate
the amount of financial needs per time resolution.
fin_needs(
cashflow_df,
resolution = c("year", "quarter", "month"),
row_names = c("Financial needs", "Cumulative")
)
A data frame with two rows and columns depending on resolution
and period covered by cashflow_df
.
Data frame as returned by condense
with cashflow=TRUE
.
One of "month"
, "quarter"
,
or "year"
. Must be identical
to the value used with the call to condense
!
Character vector of two, names for the rows of the resulting data frame. The first represents financial need per time period (column), the second is cumulated over all columns.
Only negative values are returned, so the row sum can be used as an estimate of the overall financial demand for the given period of time.