Like currently I have the above message, but I have several arguments and I have no information which one of them is the one that is in wrong format. There is this small discussion Rstan error: VECTOR_ELT() can only be applied to a 'list', not a 'double' it focuses only on one specific case