knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Functions for working with Functional Linear Models fit by package mgcv
Install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("atyre2/flmtools")
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]
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.