Will something like this work for you:
> x <- cbind(runif(10), runif(10))
> x
[,1] [,2]
[1,] 0.26550866 0.2059746
[2,] 0.37212390 0.1765568
[3,] 0.57285336 0.6870228
[4,] 0.90820779 0.3841037
[5,] 0.20168193 0.7698414
[6,] 0.89838968 0.4976992
[7,] 0.94467527 0.7176185
[8,
Hi all,
I have two columns of data, the first consists of parameter estimates and
the second probability estimates. I would like to extract the value from
the first column based on the max value of column two, but not sure how to
do this other than by extracting the value and then manually findin
2 matches
Mail list logo