# day_dummies

From autovarCore v1.0-4
by Ando Emerencia

##### Calculate weekday dummy variables

This function returns either `NULL`

(if `measurements_per_day`

is 0) or a matrix of weekday dummy variables specified number of rows and measurements per day. In the latter case, we return a matrix of six columns.

##### Usage

`day_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 `6`

columns.

##### Examples

```
# NOT RUN {
autovarCore:::day_dummies(16, 2)
# }
```

*Documentation reproduced from package autovarCore, version 1.0-4, License: MIT + file LICENSE*

### Community examples

Looks like there are no examples yet.