X: Constructs source data

Description Usage Arguments Value

View source: R/data.R

Description

The X constructor function returns an R6 X class which feeds source data into sourceR models.

Usage

1

Arguments

data

long-format data.frame containing source data

x

character string giving name of source counts column in data

type

character string giving name of type column in data

source

character string giving name of source column in data

time

optional column denoting times of source observation

Value

A X source data structure for use in sourceR models


sourceR documentation built on Aug. 31, 2020, 5:06 p.m.

Related to X in sourceR...