I have a dataframe with a column data (double) and a column date (S3: POSIXct). I created a new variable :
bdd$datats <- ts(data = bdd$data, frequency = 12)
I then tried to apply the function decompose
decomp <- decompose(bdd$datats, type = "multiplicative")
decomp$figure
As it doesn't work I don't understand why. Can someone explain me?