sd_net_change {readsdr} | R Documentation |
Estimate the net change of a stock in discrete times
Description
Estimate the net change of a stock in discrete times
Usage
sd_net_change(sim_df, cumulative_var)
Arguments
sim_df |
A data frame with the simulation output |
cumulative_var |
A string that indicates to which variable the discrete change will be estimated |
Value
A dataframe.
Examples
test_output <- data.frame(time = seq(0, 2, by = 0.25),
C = c(0, rep(5,4), rep(20, 4)))
sd_net_change(test_output, "C")
[Package readsdr version 0.3.0 Index]