[Rd] package "wmtsa": wavCWTPeaks error (PR#13381)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Dec 10 12:41:50 CET 2008
Please do not abuse R-bugs for a report on a contributed package.
Only the maintainer (Cc:ed here) can do anything about it (and I
don't think he reads this list).
On Wed, 10 Dec 2008, mauede at alice.it wrote:
> Full_Name: Maura Monville
> Version: 2.8
> OS: Mac OS/X 10.5
> Submission from: (NULL) (87.4.122.234)
>
>
> Here is the code that causes wavCWTPeaks error
> aats <- create.signalSeries(aa, pos=list(from=0.0, by=0.033))
> aa.cwt <- wavCWT(aats)
> x11 (width=10,height=12)
> plot (aats,main=paste(insig," Cycle: ",j,sep=""))
> aa.maxtree <- wavCWTTree (aa.cwt, type="maxima")
> aa.mintree <- wavCWTTree (aa.cwt, type="minima")
> aa.maxpeak <- wavCWTPeaks (aa.maxtree)
> aa.minpeak <- wavCWTPeaks (aa.mintree)
> Error in `row.names<-.data.frame`(`*tmp*`, value = c("1", "0")) :
> invalid 'row.names' length
> bb <- -aa #EXCHANGE MAXIMA WITH MINIMA
> bbts <- create.signalSeries(bb, pos=list(from=0.0, by=0.033))
> plot (bbts,main=paste(insig," Cycle: ",j,sep=""))
> plot (bbts,main=paste(insig," Cycle: ",j,sep=""))
> bb.cwt <- wavCWT(bbts)
> bb.maxtree <- wavCWTTree (bb.cwt, type="maxima")
> bb.mintree <- wavCWTTree (bb.cwt, type="minima")
> bb.maxpeak <- wavCWTPeaks (bb.maxtree)
> Error in `row.names<-.data.frame`(`*tmp*`, value = c("1", "0")) :
> invalid 'row.names' length
> bb.minpeak <- wavCWTPeaks (bb.mintree)
> Error in `row.names<-.data.frame`(`*tmp*`, value = c("1", "0")) :
> invalid 'row.names' length
> My data vector is as follows:
>> aa
> [1] -0.852625404 -0.886941142 -0.920699269 -0.953858240 -0.986377090
> [6] -1.018215725 -1.049335086 -1.079697274 -1.109265628 -1.138004782
> [11] -1.165880733 -1.192860894 -1.218914146 -1.244010899 -1.268123116
> [16] -1.291224432 -1.313290096 -1.334297111 -1.354224193 -1.373051833
> [21] -1.390762317 -1.407339716 -1.422769965 -1.437040775 -1.450141701
> [26] -1.462064157 -1.472801336 -1.482348272 -1.490701780 -1.497860461
> [31] -1.503824640 -1.508596384 -1.512179425 -1.514579128 -1.515802478
> [36] -1.515858035 -1.514755845 -1.512507449 -1.509125815 -1.504625250
> [41] -1.499021421 -1.492331231 -1.484572809 -1.475765432 -1.465929450
> [46] -1.455086269 -1.443258266 -1.430468724 -1.416741774 -1.402102340
> [51] -1.386576077 -1.370189287 -1.352968891 -1.334942359 -1.316137624
> [56] -1.296583049 -1.276307350 -1.255339556 -1.233708931 -1.211444912
> [61] -1.188577082 -1.165135088 -1.141148591 -1.116647219 -1.091660532
> [66] -1.066217945 -1.040348675 -1.014081694 -0.987445689 -0.960469010
> [71] -0.933179631 -0.905605109 -0.877772541 -0.849708278 -0.821438088
> [76] -0.792987122 -0.764379898 -0.735640266 -0.706791393 -0.677855738
> [81] -0.648855033 -0.619810274 -0.590741693 -0.561668758 -0.532610156
> [86] -0.503583784 -0.474606745 -0.445695338 -0.416865062 -0.388130609
> [91] -0.359505865 -0.331003918 -0.302637056 -0.274416782 -0.246353810
> [96] -0.218458088 -0.190738802 -0.163204394 -0.135862573 -0.108720337
> [101] -0.081783987 -0.055059152 -0.028550808 -0.002263304 0.023799613
> [106] 0.049634774 0.075239551 0.100611836 0.125750005 0.150652886
> [111] 0.175319722 0.199750141 0.223944116 0.247901927 0.271624125
> [116] 0.295111492 0.318365000 0.341385774 0.364175049 0.386734130
> [121] 0.409064353 0.431167045 0.453043480 0.474694850 0.496122212
> [126] 0.517326465 0.538308303 0.559068185 0.579606300 0.599922532
> [131] 0.620016432 0.639887183 0.659533578 0.678953988 0.698146340
> [136] 0.716367156 0.734459833 0.752428741 0.770277372 0.788008310
> [141] 0.805623188 0.823122667 0.840506396 0.857773019 0.874920094
> [146] 0.891944162 0.908840641 0.925603903 0.942227205 0.958702728
> [151] 0.975021541 0.991173645 1.007147946 1.022932278 1.038513449
> [156] 1.053877190 1.069008243 1.083890313 1.098506181 1.112837647
> [161] 1.126865608 1.140570088 1.153930270 1.166924526 1.179530477
> [166] 1.191725035 1.203484451 1.214784382 1.225599912 1.235905642
> [171] 1.245675755 1.254884072 1.263504095 1.271509107 1.278872248
> [176] 1.285566555 1.291565077 1.296840902 1.301367293 1.305117743
> [181] 1.308066011 1.310186290 1.311453212 1.311841963 1.311328350
> [186] 1.309888930 1.307500999 1.304142758 1.299793348 1.294432925
> [191] 1.288042752 1.280605267 1.272104143 1.262524364 1.251852272
> [196] 1.240075658 1.227183764 1.213167403 1.198018950 1.181732402
> [201] 1.164303440 1.145729407 1.126009401 1.105144212 1.083136426
> [206] 1.059990384 1.035712188 1.010309729 0.983792617 0.956172242
> [211] 0.927461713 0.897675875 0.866831225 0.834945955 0.802039881
> [216] 0.768134393 0.733252445 0.697418506 0.660658502 0.622999781
> [221] 0.584471057 0.545102363 0.504924994 0.463971453 0.422275398
> [226] 0.379871580 0.336795792 0.293084805 0.248776314 0.203908880
> [231] 0.158521870 0.112655403 0.066350293 0.019647991 -0.027409468
> [236] -0.074779520 -0.122419124 -0.170284817 -0.218332766 -0.266518818
> [241] -0.314798550
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list