0

I have a dataset like this:enter image description here

I want to repeat the Norte and Nordeste values in the lines below in R.

I tried the fill function, but it is informed that only for numeric.

Atualizando: 04/03/2023

Estou importando os dados através do read.table e incluí na.strings = "NA", mas ao exibir os dados, o Rstudio não detecta faltas e por este motivo o comando fill não funciona. Fiz um teste incluindo "NA" nas linhas faltantes e funcionou perfeitamente. O que pode ser ?

0 Answers0