mesa.data object.mesa.data object, returning a similar object with a "vacant" trend, that can then be used to fit a simpler model.detrend.data(mesa.data,subregion=NA,method="rlm")mesa.data object.NA (default), or a factor vector of the same
    length and order of the observations, with levels corresponding to
    sub-regions that should be treated differntly.mesa.data object, with the following differences:trend data frame only has a "date" vector. It
    is still needed in this format, for compatibility as input to
    create.data.model and other functions.create.data.model, the LUR list should contain only one vector of variable IDs (for the intercept). Similarly, vectors with initial parameter values for fit.mesa.model should be of length 5.
detrend.data will remove the trends from the observations, using the trend component of the mesa.data input object. The "rlm" method simply performs robust regression on all the observations as a bulk, with the time trend(s) as predictor(s). The "observations" in the new returned object are the residuals from this regression.
If a vector with factor levels is provided for subregion, then the model will be an interaction between the time trend(s) and region identifiers.mesa.data, mesa.data.model, create.data.model.