rbind - number of columns of result is not a multiple of vector length (arg 1)

I've got the upper error message error when trying to execute the following code

Nome_Dos_Formadores <- rbind(V_Nome_Dos_Formadores$`Nome do Formador`, N_Nome_Dos_Formadores$`Nome do Formador`)

Can you help me solving this error?

What do your datasets look like?

It also looks like you are trying to bind columns rather than the whole dataframe. Is that what you are trying to do?

1 Like

The problem was that one!

If I write

Nome_Dos_Formadores <- rbind(V_Nome_Dos_Formadores, N_Nome_Dos_Formadores)

instead of

Nome_Dos_Formadores <- rbind(V_Nome_Dos_Formadores$`Nome do Formador`, N_Nome_Dos_Formadores$`Nome do Formador`)

it works fine. Thank you for your help!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.