[R] vector values substitution in an expression using label_bquote in ggplot()

Shaami nz@h@@m @end|ng |rom gm@||@com
Tue Mar 2 08:38:58 CET 2021

Dear Sir

I am using label_bquote() for labeling facet plots in ggplot(). I need to
write the expression a_[12], a_[13] etc for each plot. I am writing as

ggplot() + facet_grid(..., labeller=label_bquote(rows = a[1, 2:3])

The above exemplary code writes only a_[12] for each facet plot.

Could anyone please guide me about that?
Thank you


	[[alternative HTML version deleted]]

More information about the R-help mailing list