search for: 671108

Displaying 1 result from an estimated 1 matches for "671108".

Did you mean: 371108
2012 Jun 11
2
replacing values of matrix with random values of another dataframe
Hello, I'm having trouble performing a certain function within R and I was hoping someone might be able to help. I have a matrix (1000x21) that contains whole-number values ranging from 1-7 and I want to replace all entries within this matrix that have a value of 1 with a random number contained within a different dataframe that has 21 rows,1000 columns. I've tried using the if/else