Quantcast
Channel: Getting `Error in sort.list(bx[m$xi]) : 'x' must be atomic for 'sort.list'` error with `merge` in R - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Mark Lakata for Getting `Error in sort.list(bx[m$xi]) : 'x' must be...

Apparently the datatype of strptime is not sortable or usable as a join index, so casting that using as.POSIXct worked.t1 <- read.table("~/SEQ-1066/sar.r.54043.txt",header=TRUE)t2 <-...

View Article



Getting `Error in sort.list(bx[m$xi]) : 'x' must be atomic for 'sort.list'`...

I want to join two tables on time. The input file has a column for hh:mm:ss and a column for am/pm. I seem to have successfully created a new column wih date information, but I can't join on it. The...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>