4
I would like to replace NA (Missing) for a word. I have the following data:
structure(list(NOME = c("ABC", "ADD",
"AFF", "DDD", "RTF", "DRGG"
), TIPO = c("INTERNACAO", "", "CONSULTA", "EXAME", "", "EXAME"
), VALOR = c(10L, 20L, 30L, 40L, 50L, 60L)), class = "data.frame", row.names = c(NA,
-6L))
#NOME TIPO VALOR
#ABC INTERNACAO 10
#ADD 20
#AFF CONSULTA 30
#DDD EXAME 40
#RTF 50
#DRGG EXAME 60
How to replace NA by the word TESTE?
please improve data formatting if possible, indicate what function you are using and what your goal is with this data.
– Alexandre Cavaloti
Try taking a look at this video, where they teach you how to replace NA values (in English): https://www.youtube.com/watch?v=LBVaCCKeo0
– Fusseldieb
Hello, ovoid shows for all columns. I would like you to replace the NA in a specific column.
– Bruno Avila