The X constructor function returns an R6 X class which feeds source data into sourceR models.
X(data, x, type, source, time = NULL)
long-format data.frame containing source data
character string giving name of source counts column in data
character string giving name of type column in data
character string giving name of source column in data
optional column denoting times of source observation
A X source data structure for use in sourceR models