knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

flmtools

Travis Build Status AppVeyor build status codecov

Functions for working with Functional Linear Models fit by package mgcv

Installation

Install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("atyre2/flmtools")

Example

This is a basic example which shows you how to solve a common problem:

library(flmtools)
test <- lagData(env_data, response_data, unit = "month", 6, 24, "envVar")
dim(test$envVar_6_24)
test$envVar_6_24[1:5,1:5]

Code of Conduct

Please note that the 'flmtools' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



atyre2/flmtools documentation built on Oct. 21, 2020, 5:26 a.m.