gsucarrat / gets

R Package for General-to-Specific (GETS) modelling and Indicator Saturation (ISAT) methods
8 stars 5 forks source link

Include S3 Methods for `lm` models #36

Closed moritzpschwarz closed 3 years ago

moritzpschwarz commented 3 years ago

Working on S3 methods for lm models and other S3 methods.

moritzpschwarz commented 3 years ago

New S3 Methods for gets package

In this branch, I have tried to add a few, in my mind useful, S3 Methods

Overview

Changed Files

To enable the S3 methods I have had to make a number of changes, including to:

  1. the NAMESPACE where I:
  1. the gets-isat-source.R where I:
  1. the gets-base-source.R where I:
  1. in the documentation files I:
    • Added all relevent information on the S3 methods.

Added Files

I added two new files, the file gets-lm-S3.R where the code of the new S3 methods lies and additionally, I have added a test file for these new methods called test-gets-test09-S3-lm.R

Other small changes: