There is a place in workpatterns_classify_bw() where a logic step is determined using > on a binary variable. This should be written as == 1 or even == TRUE to make the intent clearer.
|
ptn_data_personas[Signals_Total <= d & (Before_start>0|After_end>0), Personas := "3 Standard flexible workday"] #do we want to split betwen block and non block? |
There is a place in
workpatterns_classify_bw()where a logic step is determined using>on a binary variable. This should be written as== 1or even== TRUEto make the intent clearer.wpa/R/workpatterns_classify_bw.R
Line 205 in 4b432ba