Dear all,
I'm analyzing a dataset (A) of 400 cases with 11 binary variables.
Unfortunately, several (actually a lot) of cases are identical. NA are also
present.
I want to to plot distances between cases.
For this, I obtained a distance matrix by dist(A, method="binary"). I then
analyzed the obtai
Good morning,
I am analyzing a dataset composed by 364 subjects and 13 binary variables
(0,1 = absence,presence).
I am testing possible association (co-presence) of my variables. To do
this, I was trying with cluster analysis.
My main interest is to check for the significance of the obtained clust
Dear all,
I have a dataset representing several geographical points (locations), each
one having a specific value after performing a PCA.
Now I'm trying to understand how to separately represent on a geographic
map (of Europe) the pattern of PC1,2, ecc.with colors (e.g.heatmap)
I have to add that t
Thanks a lot for your help
marco
2011/5/27 Thomas Lumley
> On Fri, May 27, 2011 at 10:06 AM, marco milella wrote:
> > Hi to everybody
> > I have an array with dimensions 2,4,3,3.
> > Wanting to sum the matrices in the first two dimensions, I'm trying to
> use
1,] 36 228 420
> [2,] 100 292 484
> [3,] 164 356 548
> >
>
> apply(arr,1:2,sum)
> will sum all elements arr(i1,i2,..)
> for each single combination of the first and the second index
> over all possible combinations of the third and fourth index.
>
>
>
Hi to everybody
I have an array with dimensions 2,4,3,3.
Wanting to sum the matrices in the first two dimensions, I'm trying to use
the "apply" function, but with no results. Have to say I'm quite new with R
syntax.
tx in advance
marco
[[alternative HTML version deleted]]
___
6 matches
Mail list logo