 I have got following error in drawing wavelet fitting. can some one help?

> library(faraway)
> data(lidar)
> newlidar<-lidar[c(1:128),]
> library(wavethresh)
> wds <- wd(newlidar$logratio)
> draw(wds)
Error in plot.default(x = x, y = zwr, main = main, sub = sub, xlab = xlab,
:
  formal argument "type" matched by multiple actual arguments

	[[alternative HTML version deleted]]

