search for: pur2

Displaying 2 results from an estimated 2 matches for "pur2".

Did you mean: ptr2
2011 Mar 22
1
how to convert a data.frame to a list of dist objects for individual differences MDS?
...according to: 'A'='RPur' 'C'='Red' 'E'='Yel' 'G'='Gy1' 'I'='Gy2' 'K'='Green' 'M'='Blue' 'O'='BlP' 'Q'='Pur1' 'S'='Pur2' I've done this in SAS, but I don't know how to do it in R because neither dist() nor as.dist() seem to be able to work with data in this format. I could try brute-force, but maybe there is an easier way. Can someone help? As a distance matrix, the column helm.raw$CD1 for subject...
2013 Jul 20
1
how to calculate the average values of each row in a matrix
...ld like to get the average value of each GridCell. Please kindly advise how to make the calculation. Thank you. Elaine The matrix looks like (cited from Michael Friendly) I would like to get the average value of each color. Obs stim RPur Red Yel Gy1 Gy2 Green Blue BlP Pur1 Pur2 1 RPur . . . . . . . . . . 2 Red 11.5 . . . . . . . . . 3 Yel 13.1 6.0 . . . . . . . . 4 Gy1 12...