Hilmar Berger wrote:
> Peter Dalgaard schrieb:
>
>> Hilmar Berger wrote:
>>
>>> Sorry,
>>> I obviously did not state clearly what the problem is (thanks Daniel):
>>>
>>> 1. minor problem: cor() does return different types of variables for
>>> methods "kendall" and pearson (matrix vs. scalar
Hi all,
thanks for your help, I just found out that the code for cor() in the
latest development snapshot of R (02/Jan/2008) does fix my problem.
Regards,
Hilmar
Hilmar Berger schrieb:
> Sorry,
>
> I obviously did not state clearly what the problem is (thanks Daniel):
>
> 1. minor problem:
Peter Dalgaard schrieb:
> Hilmar Berger wrote:
>> Sorry,
>> I obviously did not state clearly what the problem is (thanks Daniel):
>>
>> 1. minor problem: cor() does return different types of variables for
>> methods "kendall" and pearson (matrix vs. scalar) when
>> pairwise.complete.obs is sele
Im
Auftrag von Peter Dalgaard
Gesendet: Wednesday, January 02, 2008 6:22 PM
An: Hilmar Berger
Cc: r-help@r-project.org
Betreff: Re: [R] strange behavior of cor() with pairwise.complete.obs
Hilmar Berger wrote:
> Sorry,
>
> I obviously did not state clearly what the problem is (thanks Daniel):
>
Hilmar Berger wrote:
> Sorry,
>
> I obviously did not state clearly what the problem is (thanks Daniel):
>
> 1. minor problem: cor() does return different types of variables for
> methods "kendall" and pearson (matrix vs. scalar) when
> pairwise.complete.obs is selected.
>
> 2. major problem: co
Sorry,
I obviously did not state clearly what the problem is (thanks Daniel):
1. minor problem: cor() does return different types of variables for
methods "kendall" and pearson (matrix vs. scalar) when
pairwise.complete.obs is selected.
2. major problem: cor() does return with an error if bot
on't, I don't know.
Cheers,
Daniel
-
cuncta stricte discussurus
-
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im
Auftrag von Hilmar Berger
Gesendet: Wednesday, January 02, 2008 12:39 PM
An: [EMAIL PR
Hi all,
I'm not quite sure if this is a feature or a bug or if I just fail to understand
the documentation:
If I use cor() with pairwise.complete.obs and method=pearson, the result is a
scalar:
->cor(c(1,2,3),c(3,4,6),use="pairwise.complete.obs",method="pearson")
[1] 0.9819805
The documentat
8 matches
Mail list logo