I've noticed what seems like inconsistent behavior from this function,
but I can't figure out if this is intentional or not.
If an array has only one element, the names attached to that array are
not transferred to the data frame that is returned, while If the array
has two or more elements the na
You don't need to loop. You can just do
pfit$coefficients[is.na(pfit$coefficients)] <- 0
Steve Wollkind
Associate Analyst
Geode Capital Management, LLC
1 Post Office Square / 28th Floor / Boston, MA 02109
[EMAIL PROTECTED]
Tel: (617) 392-8991
Fax: (617) 476-6389
This e-mail, and any attac
ng of
this e-mail is strictly prohibited.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Martin Maechler
Sent: Wednesday, November 07, 2007 10:24 AM
To: Wollkind, Steven
Cc: r-help@r-project.org
Subject: Re: [R] Graphics devices: windows() and x11() v
I'm noticing some differences between making an explicit call to
windows() to generate a graphics device and going with whatever R gives
you when you just start plotting, which raises the question of just what
the nature of the default device is. I've had a hard time researching
this so far, so I'
4 matches
Mail list logo