daypart_dummies: Calculate day-part dummy variables

Description Usage Arguments Value Examples

Description

This function returns either NULL (if measurements_per_day is 0 or 1) or a matrix of dummy variables for the specified input configuration.

Usage

1
daypart_dummies(number_of_rows, measurements_per_day)

Arguments

number_of_rows

the number of rows in the input data set.

measurements_per_day

the number of measurements per day in the input data set.

Value

Either NULL or a matrix with number_of_rows rows and measurements_per_day - 1 columns.

Examples

1
autovarCore:::daypart_dummies(10, 3)


Search within the autovarCore package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.