{
  "_id": "6a1f0498b401979e7341b7ee",
  "Package": "lmForc",
  "Title": "Linear Model Forecasting",
  "Version": "1.0.0",
  "Authors@R": "person(given = \"Nelson\",\nfamily = \"Rayl\",\nrole = c(\"aut\", \"cre\"),\nemail = \"nelsonrayl14@gmail.com\")",
  "Description": "Introduces in-sample, out-of-sample, pseudo out-of-sample,\nand benchmark model forecast tests and a new class for working\nwith forecast data, Forecast.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://nelson-n.r-universe.dev",
  "Date/Publication": "2024-08-31 03:28:46 UTC",
  "RemoteUrl": "https://github.com/nelson-n/lmforc",
  "RemoteRef": "HEAD",
  "RemoteSha": "711b5432345b138fcd454b6e092e1656ed897cab",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 07:40:36 UTC",
    "User": "root"
  },
  "Author": "Nelson Rayl [aut, cre]",
  "Maintainer": "Nelson Rayl <nelsonrayl14@gmail.com>",
  "MD5sum": "698139744d7160fe36f94a8a1bc67187",
  "_user": "nelson-n",
  "_type": "src",
  "_file": "lmForc_1.0.0.tar.gz",
  "_fileid": "fffa38783579e2a993efac5d54ad5639eaf0fa872fed522735f3a49931800d6a",
  "_filesize": 1275013,
  "_sha256": "fffa38783579e2a993efac5d54ad5639eaf0fa872fed522735f3a49931800d6a",
  "_created": "2026-05-18T07:40:36.000Z",
  "_published": "2026-06-02T16:28:08.705Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79120496399,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7052090044"
    },
    {
      "job": 79120497291,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7052090087"
    },
    {
      "job": 79120496553,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7052088169"
    },
    {
      "job": 79120496403,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7052084410"
    },
    {
      "job": 79120495941,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052041849"
    },
    {
      "job": 79120495907,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363738506"
    },
    {
      "job": 79120497090,
      "time": 75,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7052075821"
    },
    {
      "job": 79120497235,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7052075514"
    },
    {
      "job": 79120497057,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7052079421"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nelson-n/lmforc",
  "_commit": {
    "id": "711b5432345b138fcd454b6e092e1656ed897cab",
    "author": "lucius-verus-fan <68890648+nelson-n@users.noreply.github.com>",
    "committer": "lucius-verus-fan <68890648+nelson-n@users.noreply.github.com>",
    "message": "finality v1.0.0\n",
    "time": 1725074926
  },
  "_maintainer": {
    "name": "Nelson Rayl",
    "email": "nelsonrayl14@gmail.com",
    "login": "nelson-n",
    "description": "",
    "uuid": 68890648
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "nelson-n",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "forecasting",
    "linear-models"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "nelson-n",
      "count": 107,
      "uuid": 68890648
    }
  ],
  "_userbio": {
    "uuid": 68890648,
    "type": "user",
    "name": "Nelson Rayl"
  },
  "_downloads": {
    "count": 225,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lmForc"
  },
  "_devurl": "https://github.com/nelson-n/lmforc",
  "_searchresults": 20,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lmForc.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nelson-n/lmforc",
  "_realowner": "nelson-n",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2021-10-13"
    },
    {
      "version": "0.1.0",
      "date": "2022-01-03"
    },
    {
      "version": "1.0.0",
      "date": "2024-08-31"
    }
  ],
  "_exports": [
    "autoreg_forc",
    "conditional_forc",
    "conditional_forc_general",
    "convert_byh",
    "convert_bytime",
    "forc",
    "forc<-",
    "forc2df",
    "Forecast",
    "future",
    "future<-",
    "h_ahead",
    "h_ahead<-",
    "historical_average_forc",
    "is_forc",
    "is_forc_general",
    "mae",
    "mape",
    "mse",
    "oos_lag_forc",
    "oos_realized_forc",
    "oos_realized_forc_general",
    "oos_vintage_forc",
    "oos_vintage_forc_general",
    "origin",
    "origin<-",
    "performance_weighted_forc",
    "R2",
    "random_walk_forc",
    "realized",
    "realized<-",
    "rmse",
    "show",
    "states_weighted_forc",
    "str",
    "subset_bytime",
    "subset_forcs",
    "subset_identical",
    "transform_byh",
    "transform_bytime"
  ],
  "_help": [
    {
      "page": "sub-Forecast-method",
      "title": "Subset Forecast object.",
      "topics": [
        "[,Forecast-method"
      ]
    },
    {
      "page": "autoreg_forc",
      "title": "Autoregression forecast",
      "topics": [
        "autoreg_forc"
      ]
    },
    {
      "page": "conditional_forc",
      "title": "Linear model forecast conditioned on an input forecast",
      "topics": [
        "conditional_forc"
      ]
    },
    {
      "page": "conditional_forc_general",
      "title": "General model forecast conditioned on input forecasts",
      "topics": [
        "conditional_forc_general"
      ]
    },
    {
      "page": "convert_byh",
      "title": "Convert a list of time format Forecast objects to a h_ahead format Forecast object.",
      "topics": [
        "convert_byh"
      ]
    },
    {
      "page": "convert_bytime",
      "title": "Convert a list of h_ahead format Forecast objects to a time format Forecast object.",
      "topics": [
        "convert_bytime"
      ]
    },
    {
      "page": "forc",
      "title": "Get the forecast slot of a Forecast object",
      "topics": [
        "forc"
      ]
    },
    {
      "page": "forc-Forecast-method",
      "title": "Get the forecast slot of a Forecast object",
      "topics": [
        "forc,Forecast-method"
      ]
    },
    {
      "page": "forc-set",
      "title": "Set forecast slot of a Forecast object",
      "topics": [
        "forc<-"
      ]
    },
    {
      "page": "forc-set-Forecast-method",
      "title": "Set forecast slot of a Forecast object",
      "topics": [
        "forc<-,Forecast-method"
      ]
    },
    {
      "page": "forc2df",
      "title": "Collect a Forecast object to a data frame",
      "topics": [
        "forc2df"
      ]
    },
    {
      "page": "Forecast",
      "title": "Create an object of the Forecast class",
      "topics": [
        "Forecast"
      ]
    },
    {
      "page": "Forecast-class",
      "title": "S4 class for storing forecasts",
      "topics": [
        "Forecast-class"
      ]
    },
    {
      "page": "future",
      "title": "Get the future slot of a Forecast object",
      "topics": [
        "future"
      ]
    },
    {
      "page": "future-Forecast-method",
      "title": "Get the future slot of a Forecast object",
      "topics": [
        "future,Forecast-method"
      ]
    },
    {
      "page": "future-set",
      "title": "Set the future slot of a Forecast object",
      "topics": [
        "future<-"
      ]
    },
    {
      "page": "future-set-Forecast-method",
      "title": "Set future slot of a Forecast object",
      "topics": [
        "future<-,Forecast-method"
      ]
    },
    {
      "page": "h_ahead",
      "title": "Get the h_ahead slot of a h_ahead object",
      "topics": [
        "h_ahead"
      ]
    },
    {
      "page": "h_ahead-Forecast-method",
      "title": "Get the h_ahead slot of a h_ahead object",
      "topics": [
        "h_ahead,Forecast-method"
      ]
    },
    {
      "page": "h_ahead-set",
      "title": "Set h_ahead slot of a Forecast object",
      "topics": [
        "h_ahead<-"
      ]
    },
    {
      "page": "h_ahead-set-Forecast-method",
      "title": "Set h_ahead slot of a Forecast object",
      "topics": [
        "h_ahead<-,Forecast-method"
      ]
    },
    {
      "page": "historical_average_forc",
      "title": "Historical average forecast",
      "topics": [
        "historical_average_forc"
      ]
    },
    {
      "page": "is_forc",
      "title": "In-sample linear model forecast",
      "topics": [
        "is_forc"
      ]
    },
    {
      "page": "is_forc_general",
      "title": "In-sample general model forecast",
      "topics": [
        "is_forc_general"
      ]
    },
    {
      "page": "mae",
      "title": "Calculate MAE of a Forecast object",
      "topics": [
        "mae"
      ]
    },
    {
      "page": "mae-Forecast-method",
      "title": "Calculate MAE of a Forecast object",
      "topics": [
        "mae,Forecast-method"
      ]
    },
    {
      "page": "mape",
      "title": "Calculate MAPE of a Forecast object",
      "topics": [
        "mape"
      ]
    },
    {
      "page": "mape-Forecast-method",
      "title": "Calculate MAPE of a Forecast object",
      "topics": [
        "mape,Forecast-method"
      ]
    },
    {
      "page": "mse",
      "title": "Calculate MSE of a Forecast object",
      "topics": [
        "mse"
      ]
    },
    {
      "page": "mse-Forecast-method",
      "title": "Calculate MSE of a Forecast object",
      "topics": [
        "mse,Forecast-method"
      ]
    },
    {
      "page": "oos_lag_forc",
      "title": "Out-of-sample lagged linear model forecast conditioned on realized values",
      "topics": [
        "oos_lag_forc"
      ]
    },
    {
      "page": "oos_realized_forc",
      "title": "Out-of-sample linear model forecast conditioned on realized values",
      "topics": [
        "oos_realized_forc"
      ]
    },
    {
      "page": "oos_realized_forc_general",
      "title": "Out-of-sample general model forecast conditioned on realized values",
      "topics": [
        "oos_realized_forc_general"
      ]
    },
    {
      "page": "oos_vintage_forc",
      "title": "Out-of-sample linear model forecast conditioned on vintage forecasts",
      "topics": [
        "oos_vintage_forc"
      ]
    },
    {
      "page": "oos_vintage_forc_general",
      "title": "Out-of-sample general model forecast conditioned on vintage forecasts",
      "topics": [
        "oos_vintage_forc_general"
      ]
    },
    {
      "page": "origin",
      "title": "Get the origin slot of a Forecast object",
      "topics": [
        "origin"
      ]
    },
    {
      "page": "origin-Forecast-method",
      "title": "Get the origin slot of a Forecast object",
      "topics": [
        "origin,Forecast-method"
      ]
    },
    {
      "page": "origin-set",
      "title": "Set the origin slot of a Forecast object",
      "topics": [
        "origin<-"
      ]
    },
    {
      "page": "origin-set-Forecast-method",
      "title": "Set origin slot of a Forecast object",
      "topics": [
        "origin<-,Forecast-method"
      ]
    },
    {
      "page": "performance_weighted_forc",
      "title": "MSE or RMSE weighted forecast",
      "topics": [
        "performance_weighted_forc"
      ]
    },
    {
      "page": "R2",
      "title": "Calculate R2 of a Forecast object",
      "topics": [
        "R2"
      ]
    },
    {
      "page": "R2-Forecast-method",
      "title": "Calculate R2 of a Forecast object",
      "topics": [
        "R2,Forecast-method"
      ]
    },
    {
      "page": "random_walk_forc",
      "title": "Random walk forecast",
      "topics": [
        "random_walk_forc"
      ]
    },
    {
      "page": "realized",
      "title": "Get the realized slot of a realized object",
      "topics": [
        "realized"
      ]
    },
    {
      "page": "realized-Forecast-method",
      "title": "Get the realized slot of a realized object",
      "topics": [
        "realized,Forecast-method"
      ]
    },
    {
      "page": "realized-set",
      "title": "Set realized slot of a Forecast object",
      "topics": [
        "realized<-"
      ]
    },
    {
      "page": "realized-set-Forecast-method",
      "title": "Set realized slot of a Forecast object",
      "topics": [
        "realized<-,Forecast-method"
      ]
    },
    {
      "page": "rmse",
      "title": "Calculate RMSE of a Forecast object",
      "topics": [
        "rmse"
      ]
    },
    {
      "page": "rmse-Forecast-method",
      "title": "Calculate RMSE of a Forecast object",
      "topics": [
        "rmse,Forecast-method"
      ]
    },
    {
      "page": "show-Forecast-method",
      "title": "Print Forecast object to console.",
      "topics": [
        "show,Forecast-method"
      ]
    },
    {
      "page": "states_weighted_forc",
      "title": "States weighted forecast",
      "topics": [
        "states_weighted_forc"
      ]
    },
    {
      "page": "str-Forecast-method",
      "title": "Display internal structure structure of Forecast object to the console.",
      "topics": [
        "str,Forecast-method"
      ]
    },
    {
      "page": "subset_bytime",
      "title": "Subset a list of Forecast objects by origin or future values.",
      "topics": [
        "subset_bytime"
      ]
    },
    {
      "page": "subset_forcs",
      "title": "Subset a list of Forecast objects by index.",
      "topics": [
        "subset_forcs"
      ]
    },
    {
      "page": "subset_identical",
      "title": "Subset a list of Forecast objects to identical origin or future values.",
      "topics": [
        "subset_identical"
      ]
    },
    {
      "page": "transform_byh",
      "title": "Convert a list of time format Forecast objects to a list of h_ahead format Forecast objects.",
      "topics": [
        "transform_byh"
      ]
    },
    {
      "page": "transform_bytime",
      "title": "Convert a list of h_ahead format Forecast objects to a list of time format Forecast objects.",
      "topics": [
        "transform_bytime"
      ]
    }
  ],
  "_readme": "https://github.com/nelson-n/lmforc/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "lmForc.Rmd",
      "filename": "lmForc.html",
      "title": "lmForc",
      "author": "Nelson Rayl",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Sections",
        "[Forecast Class]",
        "[is_forc]",
        "[is_forc_general]",
        "[oos_realized_forc]",
        "[oos_realized_forc_general]",
        "[oos_vintage_forc]",
        "[oos_vintage_forc_general]",
        "[conditional_forc]",
        "[conditional_forc_general]",
        "[oos_lag_forc]",
        "[historical_average_forc]",
        "[random_walk_forc]",
        "[autoreg_forc]",
        "[performance_weighted_forc]",
        "[states_weighted_forc]",
        "[Subsetting Functions Overview]",
        "[subset_forcs]",
        "[subset_bytime]",
        "[subset_identical]",
        "[Transformation Functions Overview]",
        "[convert_bytime]",
        "[transform_bytime]",
        "[convert_byh]",
        "[transform_byh]",
        "Forecast Class",
        "Example Dataset",
        "is_forc",
        "is_forc_general",
        "oos_realized_forc",
        "oos_realized_forc_general",
        "oos_vintage_forc",
        "oos_vintage_forc_general",
        "conditional_forc",
        "conditional_forc_general",
        "oos_lag_forc",
        "historical_average_forc",
        "random_walk_forc",
        "autoreg_forc",
        "performance_weighted_forc",
        "states_weighted_forc",
        "Subsetting Functions Overview",
        "Subsetting Example Dataset",
        "subset_forcs",
        "subset_bytime",
        "subset_identical",
        "Transformation Functions Overview",
        "Time Format",
        "h_ahead Format",
        "convert_bytime",
        "transform_bytime",
        "convert_byh",
        "transform_byh"
      ],
      "created": "2021-08-27 16:08:12",
      "modified": "2024-08-29 22:15:23",
      "commits": 12
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "lmforc",
  "_universes": [
    "nelson-n"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-18T07:43:09.000Z",
      "distro": "noble",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "c1b4753df82bb62160d39b6a0fb833987559536759988fdef5cf3afdee45cb60",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-18T07:43:08.000Z",
      "distro": "noble",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "f743aead766051f1038e14d550c365e24b5fb6092b1084e8df7370a3aedcb406",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-18T07:43:09.000Z",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "1e039c01c081fea13954a98a1ce615675de8976a61be60e20f84edddadb406f5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-18T07:42:57.000Z",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "611cb3248ac8cc067a2f4db48d9dc60b8480ceb8cae9591e8c42cefb9e3dbaef",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-18T07:42:17.000Z",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "2806ec047d03a6a3a943ce04a249988eb1c5236106a16c717afadb876f8f2ec5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-18T07:42:15.000Z",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "f564c7c3293942dc7dd354b573984eec2e9c4751d8f73fab0ba74463e25bd613",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-18T07:42:27.000Z",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "8c2e322b9bbbacf92716c7ca20843582512cb1f67ba64b6cbfa2edb235da3246",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T16:27:44.000Z",
      "commit": "711b5432345b138fcd454b6e092e1656ed897cab",
      "fileid": "8d945a71b029a462f8a4ebc8f7de249b0069bb4ce01ac59e84f4666259954025",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nelson-n/actions/runs/26020037256"
    }
  ]
}