nowcaster
nowcaster copied to clipboard
Slope function to calculate the tendency of the curve
Through a simple linear model adjusted to the trajectories, we can infer the tendency of the epidemic curve, to do so we can construct functions that take the posteriors output from the main function nowcasting_inla
and adjust the linear model and return the slope of the trajectories, to give a more quantitative tendency inference: