Entering edit mode
10.3 years ago
nazaninhoseinkhan
▴
520
Hi I am testing number of cel files using R program but when I write the following command:
hist(data, col=cols) I receive this error:
Error in rep_len(col, k) : attempt to replicate non-vector
Can any one help me to solve this problem?
tnx in advance
It is not possible to answer this question properly without more details and/or code. In particular, what is in the variable data?
However, the error suggests that cols is not a vector (of numbers representing colors).