Dear John,
John Fox wrote on 2022-05-31 15:35:
Dear Helmut,
I'm not sure why you're seeing an error, but replacing the last
several commands in your code with
legend(loc, legend = lgd, x.intersp = 0, title = paste("n =",
n.pts[1]), bg = bg)
works perfectly fine for me. I suspect that the example you posted
differs in some respect from the code that produces the error.
loc is a character vector of length one. Works as intended -- I stand
corrected!
Best,
Helmut
--
Ing. Helmut Schütz
BEBAC – Consultancy Services for
Bioequivalence and Bioavailability Studies
Neubaugasse 36/11
1070 Vienna, Austria
E helmut.schu...@bebac.at <mailto:helmut.schu...@bebac.at>
W https://bebac.at <https://bebac.at/>
F https://forum.bebac.at <https://forum.bebac.at/>
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.