sd_net_change | R Documentation |
Estimate the net change of a stock in discrete times
sd_net_change(sim_df, cumulative_var)
sim_df |
A data frame with the simulation output |
cumulative_var |
A string that indicates to which variable the discrete change will be estimated |
A dataframe.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.