Skip to content
Prev 333416 / 398506 Next

help with converting a data frame into object of class "track"

Dear R users,

I am trying to run a Bayesian change point analysis on a time series with the R package "bcpa". However, the data file needs to be of the class "track". My data file is at present a three-column data frame (Time, X and Y coordinates) and I am unable to change to class "track" using either "setClass", "setAs" or "as", and if I try to coerce it gives an error message that doesn't allow me to do that.

Please help!

Best regards,

Nachiket

ATREE, Bangalore