You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to include tagged missings (NAs) in the Date variable. But when I do the following
x <- rep(c(1,2),5)
x[[4]] <- tagged_na('a')
y <- as.Date(x, origin = '1992-01-01')
class(y)
#[1] "Date"
labelled(y, c("NA"=tagged_na('a')))
#Error: 'y' must be a numeric or a character vector
Is this behavior by design, or do I write a valid feature request? :-)
The text was updated successfully, but these errors were encountered:
I'd like to include tagged missings (NAs) in the Date variable. But when I do the following
Is this behavior by design, or do I write a valid feature request? :-)
The text was updated successfully, but these errors were encountered: