0

I am attempting to use the labeller function to label both the columns and rows.

Here is what I have before I use labeller = label_both Before

Here is what it looks like after: After

Here is what I want it to look like:Desired results

Is there a way to only label columns or rows?s

AMB
  • 129
  • 8
  • Try this https://stackoverflow.com/a/55438500/786542 – Tung Apr 13 '19 at 01:29
  • Unable to get that to work. Here is what I did: `mut_names<-c("μ=1e-4","μ=1e-5","μ=1e-6","μ=1e-7","μ=1e-8")` `ini_size_names<-c("Initial Population Size: 2", "Initial Population Size: 100")` `labeller = labeller(Mut_Rate=as_labeller(mut_names,label_parsed), `Initial Population Size`=(ini_size_names,label_parsed))` – AMB Apr 13 '19 at 01:54
  • Could you make your problem reproducible by sharing a sample of your data so others can help (please do not use `str()`, `head()` or screenshot)? You can use the [`reprex`](https://reprex.tidyverse.org/articles/articles/magic-reprex.html) and [`datapasta`](https://cran.r-project.org/web/packages/datapasta/vignettes/how-to-datapasta.html) packages to assist you with that. See also [Help me Help you](https://speakerdeck.com/jennybc/reprex-help-me-help-you?slide=5) & [How to make a great R reproducible example?](https://stackoverflow.com/q/5963269) – Tung Apr 13 '19 at 04:05

0 Answers0