Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

Urgent Help!!! error "data must be a single data frame in R" #104

@Elsunais

Description

@Elsunais

I want to run an anomaly on time series.
my codes are below:

temp<- c(.0980, .0897, .0982, .0123, .0244, .0897)
anom<- ts(temp, frequency=1, start=c(2006, 1))
anom
Time Series:
Start = 2006
End = 2011
Frequency = 1
[1] 0.0980 0.0897 0.0982 0.0123 0.0244 0.0897
AnomalyDetectionTs(anom, max_anoms = 0.2, direction = "both", alpha = 0.05,

  • only_last = NULL, threshold = "p95", e_value = FALSE,
  • longterm = FALSE, piecewise_median_period_weeks = 2, plot = TRUE,
  • y_log = TRUE, xlabel = "Year", ylabel = "Temperature", title = "AnomalyTemperature",
  • verbose = FALSE)

but i kept having an error stating:
"Error in AnomalyDetectionTs(anom, max_anoms = 0.2, direction = "both", : data must be a single data frame."
Please i need help!
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions