Would ?is.null be what you are looking for?
--
Jonathan P. Daily
Technician - USGS Leetown Science Center
11649 Leetown Road
Kearneysville WV, 25430
(304) 724-4480
"Is the room still a room when its empty? Does the room,
the thing itself have purpose? Or do we,
Are you talking about NULL or NA that may occur in some data? Can you
give an example of what your concern is and what set of operations you
want to do. If they are NAs, there are some standard ways that they
can be handled.
On Mon, Nov 15, 2010 at 9:55 AM, Raji wrote:
>
> Hi R-helpers , can yo
paul murima wrote:
>
>
> My problem is largely when i attempt to use correlation for my data...
> xcc <- cor(a);
>
> The error i get is as follows
>
> Error in cor(a) : missing observations in cov/cor
>
As Daniel suggested, it is always best to use the function's parameter to
handle NULLs
Hi, for your cor() command you will want to specify the "use" argument as
either "complete.obs" or as "pairwise.complete.obs". The difference between
the two is that the former only uses those observations for which ALL
information in "a" is available, whereas the latter uses information that is
av
4 matches
Mail list logo