Skip to content

Error in xy.coords(x, NULL, log = log) : (list) object cannot be coerced to type 'double'

3 messages · Bazman76, Uwe Ligges

#
Hi there,

When I run the code below I get the error

Error in xy.coords(x, NULL, log = log) :(list) object cannot be coerced to
type 'double'

Any tips how I can resolve this?
*Error in xy.coords(x, NULL, log = log) : 
  (list) object cannot be coerced to type 'double'*
+ 	plot.ts(av.la8[[i]], axes=F, ylab=names(av.la8)[i])
+ 		labels=c(0,"",200,"",400,"",600,"",800,"",1000,"",1200,"",1400,""))

--
View this message in context: http://r.789695.n4.nabble.com/Error-in-xy-coords-x-NULL-log-log-list-object-cannot-be-coerced-to-type-double-tp4524046p4524046.html
Sent from the R help mailing list archive at Nabble.com.
6 days later
#
On 01.04.2012 20:15, Bazman76 wrote:
The mra output is a list, hence plot.ts cannot handle it.
You probably want to plot the original data in the first place given you 
are following the example from ?mra

Uwe Ligges