powered by
This function returns either NULL (if measurements_per_day is 0 or 1) or a matrix of dummy variables for the specified input configuration.
NULL
measurements_per_day
daypart_dummies(number_of_rows, measurements_per_day)
the number of rows in the input data set.
the number of measurements per day in the input data set.
Either NULL or a matrix with number_of_rows rows and measurements_per_day - 1 columns.
number_of_rows
measurements_per_day - 1
# NOT RUN { autovarCore:::daypart_dummies(10, 3) # }
Run the code above in your browser using DataLab