I've coded a matrix function for any integer, n. Now I would like to extract all the values 0.25 through 1.0 in the given matrix output. I'm only familiar with extracting elements based on the position in the matrix. What function do you recommend I use to do this? Thank you in advance; let me know if I need to include more information.
For n = 3:
[,1] [,2] [,3]
[1,] 1.0000000 0.5000000 0.3333333
[2,] 0.5000000 0.3333333 0.2500000
[3,] 0.3333333 0.2500000 0.2000000