Skip to contents

Get a matrix to broadcast a vector from weekly to daily

Usage

get_ind_m(n_days, n_weeks)

Arguments

n_days

number of days we will expand to

n_weeks

number of weeks those days correspond to

Value

a n_day x n_week matrix for multiplying by weekly estimated value to broadcast it to daily

Examples

ind_m <- get_ind_m(14, 2)