我会在一个单元格中替换日期值,但我没有找到方法…
## dataframe = these_ac
## Anonymat = one of the variables
## these_ac$Anonymat == 17725 : the ligne I want to select
## entree = a date variable
these_ac[these_ac$Anonymat == 17725, "entree"] <- 1993-03-22
these_ac["entree"][these_ac["Anonymat"] == 17725] <- "22/03/1993"
我认为这是一种方法。
这对我来说是有效的。