Error in pmap():
ℹ In index: 1.
Caused by error in pmap():
ℹ In index: 78.
Caused by error in mutate():
ℹ In argument: indicator = indicator.
ℹ In group 1: KLAS = "Klas 2".
Caused by error:
! indicator must be size 13 or 1, not 2.
Run rlang::last_trace() to see where the error occurred.
Hoe kan ik deze error oplossen?
Error in
pmap()
: ℹ In index: 1. Caused by error inpmap()
: ℹ In index: 78. Caused by error inmutate()
: ℹ In argument:indicator = indicator
. ℹ In group 1:KLAS = "Klas 2"
. Caused by error: !indicator
must be size 13 or 1, not 2. Runrlang::last_trace()
to see where the error occurred.