Closed
Description
Hello,
I attempted to display a data set containing dates before the Common Era (BCE) which are negative (or inferior to 100) and they do not appear in the timevis
chronology. I made a function to produce negative date using lubridate
and put it in my column and it did not work. I put values in start/end, for example "-700" and "-700/01/01", with numeric, character, factors classes but it did not work. I have the same behavior with dates between 0 and 100.
Could you help me please ? I did not find any answer on internet.
I did a reproducible example of the problem:
example <- data.frame(id= 1:3,
content= as.character(c("A", "B", "C")),
start= factor(c("-700", "90", "100")),
end= factor(c("-400", "300", "700")),
group= factor(c("G1", "G1", "G2")),
type=factor(c("range", "range", "range"))
)
groups <- tibble(id=factor(unique(example$group)),
content=factor(unique(example$group)))
timevis(data = example, group = groups)
I get this timeline :
Capture d’écran 2020-05-28 à 17.17.29.pdf
Thanks !
Matthieu
Metadata
Metadata
Assignees
Labels
No labels