powered by
DF_date_vector
DF_date_vector(DF, date_vec, flag_vecs)
an equivilent DF where the 1 in the flag info is replaced with the date
DF containing the other vectors as columns
column vec name with date dataType
a vector of column vec names each with binary flagging info
data("Example_data", package = "Covid19Wastewater") Example_data$flag = 1 head(DF_date_vector(Example_data, "date", "flag"))
Run the code above in your browser using DataLab