diff --git a/man/CartesianPeriodic.Rd b/man/CartesianPeriodic.Rd index 6cdd605..272d09f 100644 --- a/man/CartesianPeriodic.Rd +++ b/man/CartesianPeriodic.Rd @@ -63,25 +63,25 @@ Shows the interrupted time series in Cartesian coordinates and its a periodic/cy } \examples{ library(Wats) #Load the package -changeMonth <- base::as.Date("1996-02-15") +changeMonth <- base::as.Date("1996-02-15") dsLinear <- CountyMonthBirthRate2005Version dsLinear <- dsLinear[dsLinear$CountyName=="oklahoma", ] dsLinear <- AugmentYearDataWithMonthResolution(dsLinear=dsLinear, dateName="Date") hSpread <- function( scores ) { return( quantile(x=scores, probs=c(.25, .75)) ) } portfolio <- AnnotateData( - dsLinear, + dsLinear, dvName = "BirthRate", - centerFunction = median, + centerFunction = median, spreadFunction = hSpread ) CartesianPeriodic( - portfolio$dsLinear, - portfolio$dsPeriodic, - xName = "Date", + portfolio$dsLinear, + portfolio$dsPeriodic, + xName = "Date", yName = "BirthRate", - stageIDName = "StageID", - changePoints = changeMonth, + stageIDName = "StageID", + changePoints = changeMonth, changePointLabels = "Bombing Effect" ) } diff --git a/man/Wats-package.Rd b/man/Wats-package.Rd index aeac398..2442775 100644 --- a/man/Wats-package.Rd +++ b/man/Wats-package.Rd @@ -48,7 +48,7 @@ Rodgers, J.L., Beasley, W.H., and Schuelke, M. (2014). \href{http://www.tandfonline.com/doi/abs/10.1080/00273171.2014.946589}{Graphical Data Analysis on the Circle: Wrap-around Time Series Plots for (Interrupted) Time Series Designs.} \emph{Multivariate Behavioral Research}. -Rodgers, J.L., St. John, C. A. & Coleman R. (2005). +Rodgers, J. L., St. John, C. A. & Coleman R. (2005). \href{http://www.ncbi.nlm.nih.gov/pubmed/16463916}{Did Fertility Go Up after the Oklahoma City Bombing? An Analysis of Births in Metropolitan Counties in Oklahoma, 1990-1999.} \emph{Demography, 42}, 675-692. }