Trying to run a time series

I am trying to run a time series and it will not recognize it

model_A <- tslm(CANADA~trend)
Error in tslm(CANADA ~ trend) : could not find function "tslm"

You need to load the library first and specify the origin of your data

model_A <- tslm(CANADA~trend, data = your_data_frame)

We don't really have enough info to help you any further. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

I will go to a different R community website that will actually help people out. thanks buddy for all your help.

If you think that is best for you, go ahead and good luck!

If you decide that you want to help us help you, then you can just provide enough information for us understanding what your problem is and avoid the trash talk.

1 Like

This kind of behavior is unwarranted and not tolerated here. If you seek help from other coding help communities I encourage you to approach them friendliness and respect.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.