create.disProg  R Documentation 
disProg
(DEPRECATED)Creating objects of the legacy class disProg
is deprecated;
use sts
instead.
An object of class disProg
takes a vector with the weeknumber
(week) and matrices with the observed number of counts (observed) and the
respective state chains (state), where each column represents an individual
time series. The matrices neighbourhood and populationFrac provide
information about neighbouring units and population proportions.
create.disProg(week, observed, state, start=c(2001,1), freq=52,
neighbourhood=NULL, populationFrac=NULL, epochAsDate=FALSE)
week 
index in the matrix of observations, typically weeks 
observed 
matrix with parallel time series of counts where rows are
time points and columns are the individual time series for unit/area

state 
matrix with corresponding states 
start 
vector of length two denoting the year and the sample number (week, month, etc.) of the first observation 
freq 
sampling frequency per year, i.e. 52 for weekly data, 12 for monthly data, 13 if 52 weeks are aggregated into 4 week blocks. 
neighbourhood 
neighbourhood matrix 
populationFrac 
matrix with corresponding population proportions 
epochAsDate 
interpret the integers in 
object of class disProg
M. Paul
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.