rownames don't show in example codes
Examples fail to produce rownames as shown in the example screenshots (R v3.4.3 in Windows)
> slopegraph(cancer, col.lines = 'gray', col.lab = "black",
+ xlim = c(-.5,5.5), cex.lab = 0.5, cex.num = 0.5,
+ xlabels = c('5 Year','10 Year','15 Year','20 Year'))

tibbles don't have row names. Use a normal data frame instead.
I don't think it's tibble though. See below:
> is.tibble(cancer)
[1] FALSE
> cancer
Year.5 Year.10 Year.15 Year.20
Prostate 99 95 87 81
Thyroid 96 96 94 95
Testis 95 94 91 88
Melanomas 89 87 84 83
Breast 86 78 71 75
Hodgkin's 85 80 74 67
Uterus 84 83 81 79
Urinary 82 76 70 68
Cervix 71 64 63 60
Larynx 69 57 46 38
Rectum 63 55 52 49
Kidney 62 54 50 47
Colon 62 55 54 52
Non-Hodgkin's 58 46 38 34
Oral 57 46 38 33
Ovary 55 49 50 50
Leukemia 43 32 30 26
Brain 32 29 28 26
Multiple myeloma 30 13 7 5
Stomach 24 19 19 15
Lung 15 11 7 6
Esophagus 14 8 8 5
Liver 8 6 6 8
Pancreas 4 3 3 3
Ah, sorry. I mixed this and your other issue. I'll investigate.
Any updates on this?
Nope. If you can figure it out, I'd appreciate a PR.
I suspect the issue was just solved by: https://github.com/leeper/slopegraph/pull/22 Let me know if not.
Unfortunately no.
I just reinstalled:
if (!require("remotes")) { install.packages("remotes") } remotes::install_github("leeper/slopegraph")
And ran my code and no ylabels appeared.
On April 18, 2018 at 12:18 PM "Thomas J. Leeper" [email protected] wrote:
I suspect the issue was just solved by: #22 https://github.com/leeper/slopegraph/pull/22 Let me know if not. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/leeper/slopegraph/issues/20#issuecomment-382444471 , or mute the thread https://github.com/notifications/unsubscribe-auth/Akq24z4K9LB-E_vmplAX2QIn6mgnA4piks5tp2dHgaJpZM4R01Ho .
It works. I checked again.
Can the xlabels font be modified?
On April 18, 2018 at 12:18 PM "Thomas J. Leeper" [email protected] wrote:
I suspect the issue was just solved by: #22 https://github.com/leeper/slopegraph/pull/22 Let me know if not. — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/leeper/slopegraph/issues/20#issuecomment-382444471 , or mute the thread https://github.com/notifications/unsubscribe-auth/Akq24z4K9LB-E_vmplAX2QIn6mgnA4piks5tp2dHgaJpZM4R01Ho .