Learn R Programming

⚠️There's a newer version (2.4.1) of this package.Take me there.

itsadug (version 0.8)

Interpreting Time Series and Autocorrelated Data Using GAMMs

Description

GAMM (Generalized Additive Mixed Modeling; Lin & Zhang, 1999) as implemented in the R package mgcv (Wood, S.N., 2006; 2011) is a nonlinear regression analysis which is particularly useful for time course data such as EEG, pupil dilation, gaze data (eye tracking), and articulography recordings, but also for behavioral data such as reaction times and response data. As time course measures are sensitive to autocorrelation problems, GAMMs implements methods to reduce the autocorrelation problems. This package includes functions for the evaluation of GAMM models (e.g., model comparisons, determining regions of significance, inspection of autocorrelational structure in residuals) and interpreting of GAMMs (e.g., visualization of complex interactions, and contrasts).

Copy Link

Version

Install

install.packages('itsadug')

Monthly Downloads

2,439

Version

0.8

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Jacolien van Rij

Last Published

February 27th, 2015

Functions in itsadug (0.8)

dotplot_error

Utility function
gamtabs

Convert the summary into a Latex table.
acf_n_plots

Generate N ACF plots of individual or aggregated time series.
get_modelterm

Get estimated for selected model terms.
plot_diff

Plot difference curve based on model predictions.
resid_gam

Extract model residuals and remove the autocorrelation accounted for.
pvisgam

Visualization of nonlinear interactions.
start_event

Determine the starting point for each time series.
gradientLegend

Utility function.
plot_parametric

Visualization of group estimates.
findAbsMin

Utility function.
itsadug

Interpreting Time Series, Autocorrelated Data Using GAMMs (itsadug)
get_predictions

Get model predictions for specific conditions.
acf_resid

Generate an ACF plot of model residuals. Works for lm, lmer, gam, bam, ....
plot_smooth

Visualization of smooths.
print_summary

Utility function.
move_n_point

Utility function.
alpha

Utility function.
horiz_error

Utility function.
check_normaldist

Compare distribution of data with normal distribution.
acf_plot

Generate an ACF plot of an aggregated time series.
alphaPalette

Utility function.
getCoords

Utility function.
get_random

Get model predictions for the random effects.
get_difference

Get model predictions for differences between conditions.
addInterval

Utility function.
info

Information on how to cite this package
fadeRug

Utility function.
find_difference

Find the regions in which the smooth is significantly different from zero.
plot_diff2

Plot difference surface based on model predictions.
find_n_neighbors

Utility function.
se

Calculate standard error of the mean.
compareML

Function for comparing two GAMM models.
diff_terms

Utility unction.
check_resid

Inspect residuals of regression models.
fvisgam

Visualization of nonlinear interactions.
group_sort

Utility function.
simdat

Simulated time series data.
fill_area

Utility function
plot_error

Utility function
errorBars

Utility function.
missing_est

Utility unction.
emptyPlot

Utility function
summary_data

Utility function.