Open nullbuddy1243 opened 9 years ago
@deusofnull You need to have a single column data frame, list, or vector as the input argument x
in order to use AnomalyDetectorVec()
. Instead, you can use AnomalyDetectionTs()
. Please take a look at the help files for detailed usage of these functions.
Thanks @terrytangyuan , I am new to R and didnt realize the [,2] syntax for column selection...
Could anyone close this?
Hey everyone.
I am trying to run my dataframe through the AnomalyDetectorVec(). My dataframe is a small one, for now, and I believe it is in the correct format.
Here is the dataframe:
When I try to run it through AnomalyDetectorVec(), I get an error:
What is going wrong here? I cannot seem to figure it out...
Here is a dput() of my dataset and my dataframe conversion funciton in a pastebin, for cleanliness.
Dataset dput(): http://pastebin.com/WkY7pvwt Dataframe conversion function: http://pastebin.com/EsAcVNbV
Any help would be greatly appreciated. As far as I can tell, my dataframe is in the correct format, but I guess it actually isn't.
Thanks!