I simply put, plot(density(), main=, + xlab = XXX), it says that
I have an unexpected = in it.
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-change-the-xlab-name-tp2528733p2528733.html
Sent from the R help mailing list archive at Nabble.com.
On Mon, Sep 6, 2010 at 11:07 AM, tooblue kai...@berkeley.edu wrote:
I simply put, plot(density(), main=, + xlab = XXX), it says that
I have an unexpected = in it.
You just have an extra ' + ' before the xlab argument:
plot(density(rnorm(100)), main = , xlab = XXX)
ought to do
On Sep 6, 2010, at 2:07 PM, tooblue wrote:
I simply put, plot(density(), main=, + xlab = XXX), it
says that
I have an unexpected = in it.
It may be a case of a confused parser. You have an extraneous + in
there:
= rnorm(100)
plot(density(), main=, xlab = XXX)
3 matches
Mail list logo