Hello,?I have the following vector in R,? print(column_Data)[1] 42 33 34 28 But I get the following error on using notrend_test on this data as follows -? notrend_test(column_Data)Error in notrend_test(column_Data) : set a proper window. I am unable to find any information on Stackoverflow etc.? Any help would be appreciated? Thank you [[alternative HTML version deleted]]
Hi bharat, notrend_test (funtimes) wants a vector (univariate time series) as the first argument. My crystal ball suggests that column_Data is too short, but try this: notrend_test(column_Data,test="WAVK") Be aware that this is a guess. Jim On Thu, Aug 19, 2021 at 1:58 PM bharat rawlley via R-help <r-help at r-project.org> wrote:> > Hello, I have the following vector in R, > print(column_Data)[1] 42 33 34 28 > But I get the following error on using notrend_test on this data as follows - > > notrend_test(column_Data)Error in notrend_test(column_Data) : set a proper window. > > I am unable to find any information on Stackoverflow etc. > Any help would be appreciated > Thank you > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
You did not give any information which package contains the function notrend_test.> On 19.08.2021, at 05:57, bharat rawlley via R-help <r-help at r-project.org> wrote: > > Hello, I have the following vector in R, > print(column_Data)[1] 42 33 34 28 > But I get the following error on using notrend_test on this data as follows - > > notrend_test(column_Data)Error in notrend_test(column_Data) : set a proper window. > > I am unable to find any information on Stackoverflow etc. > Any help would be appreciated > Thank you > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.