Initialise calendar.

init_calendar(n, v = 0, cal_length = getOption("ava")[["cal_length"]])

Arguments

n

character, row names of calendar

v

data values to be passed in calendar. See matrix() for format Default to 0.

cal_length

numeric, number of weeks in calendar. Default to getOption("ava")[["cal_length"]].

Value

matrix of n rows, cal_length (weeks) columns and with v values