Skip to content
Prev 366883 / 398502 Next

caculate correlation

Hi Elham,
On Tue, Jan 31, 2017 at 7:28 PM, Elham - <ed_isfahani at yahoo.com> wrote:
Not in the values you are extracting from the data frame. As you are
aware, you can only perform the "cor" operation on numbers. As the
value returned refers to the correlation of _pairs_ of values, the
vectors of numbers should be the same length and there should be some
meaningful relationship between those pairs. Are you just trying to
correlate any old numbers because they are numbers?
This is probably not an error, just R telling you that something that
was requested didn't have anything in it. Maybe one day we will find
out what is in:

coding.rpkm
ncoding.rpkm

and we can provide more informed advice.

Jim