Skip to contents

Retrieves the data used in the model

Usage

get_data(model, ...)

# S3 method for class 'lm'
get_data(model, start = 1, frequency = 1, ...)

# S3 method for class 'dynlm'
get_data(model, ...)

# S3 method for class 'tvlm'
get_data(model, end = numeric(), frequency = 1, ...)

# S3 method for class 'bp_lm'
get_data(model, ...)

# S3 method for class 'piece_reg'
get_data(model, ...)

Arguments

model

the model

...

other unused parameters.

start

the start of the data.

frequency

the frequency of the data.

end

the end of the data.