R/constant.R

#' @title Simulates a constant time series
#'
#' @description This package allows the user to run Monte Carlo simulation to assess the fiscal impact of lline 4 PPP in São Paulo.
#'
#' @param start_seed A number
#' @param num_years A number
#'
#' @return a vector of a constant times series of size equal to num_years
#'
#' @examples  constant(start_seed = 1.3)
#'
#' @export constant

constant <- function(start_seed, num_years = 33) {

  y <- rep(start_seed, num_years)
  return(y)

}
mgaldino/line4PPPsim documentation built on May 6, 2019, 7:03 p.m.