mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-21 12:30:23 +01:00
avoid :1
This commit is contained in:
parent
60bf4a1cf1
commit
9aa4adccda
@ -61,7 +61,7 @@ plot_olr<-function(x, title = NULL, dec=3, lbls=NULL, hori="OR (95 % CI)",
|
||||
ticks<-ticks[seq(1, length(ticks), 2)]
|
||||
}
|
||||
|
||||
odds$ord<-c(nrow(odds):1)
|
||||
odds$ord<-rev(seq_len(nrow(odds)))
|
||||
|
||||
odds|>
|
||||
ggplot2::ggplot(mapping = ggplot2::aes(y = or, x = reorder(vars,ord))) +
|
||||
|
Loading…
Reference in New Issue
Block a user