0

I have the following file:

$ head orthoset.cov
87.0
55.4
80.6
56.8
78.4
41.2
44.9
96.7
83.0
67.9

However, I failed to to create a histogram with the following code:

> chol <- read.table("~/orthoset.cov")
> hist(chol,xlab = "Weight",col = "yellow",border = "blue")
Error in hist.default(chol, xlab = "Weight", col = "yellow", border = "blue") : 
  'x' must be numeric

What did I miss?

Thank you in advance,

user977828
  • 7,259
  • 16
  • 66
  • 117

0 Answers0