Interpreting Time Series and Autocorrelated Data Using GAMMs


[Up] [Top]

Documentation for package ‘itsadug’ version 2.0

Help Pages

itsadug-package Interpreting Time Series, Autocorrelated Data Using GAMMs (itsadug)
acf_n_plots Generate N ACF plots of individual or aggregated time series.
acf_plot Generate an ACF plot of an aggregated time series.
acf_resid Generate an ACF plot of model residuals. Works for lm, lmer, gam, bam, ....
addInterval Draw intervals or arrows on plots.
add_bars Adding bars to an existing plot.
alpha Adjusting the transparency of colors.
alphaPalette Manipulate the transparency in a palette.
check_normaldist Compare distribution of data with normal distribution.
check_resid Inspect residuals of regression models.
color_contour Creates a contour plot with colored background.
compareML Function for comparing two GAMM models.
convertNonAlphanumeric Prepare string for regular expressions (backslash for all non-letter and non-digit characters)
derive_timeseries Derive the time series used in the AR1 model.
diagnostics Visualization of the model fit for time series data.
diff_terms Compare the formulas of two models and return the difference(s).
dotplot_error Utility function
drawArrows Draw arrows between different plots.
eeg Raw EEG data, single trial, 50Hz.
emptyPlot Utility function
errorBars Add error bars to a plot.
fadeRug Fade out the areas in a surface without data.
fill_area Utility function
findAbsMin Return the value (or the element with the value) closest to zero.
find_difference Return the regions in which the smooth is significantly different from zero.
find_n_neighbors Return n neighbors around given indices.
fvisgam Visualization of nonlinear interactions, summed effects.
gamtabs Convert model summary into Latex/HTML table for knitr/R Markdown reports.
getCoords Convert proportions into coordinates of the plot or figure region.
getDec Return the number of decimal places.
getFigCoords Get the figure region as coordinates of the current plot region, or as corrdinates of the figure region.
getProps Transform coordinates into proportions of the figure or plot region.
getRange Function for rounding and/or segmenting a range.
get_coefs Get coefficients for the parametric terms (intercepts and random slopes).
get_difference Get model predictions for differences between conditions.
get_fitted Get model all fitted values.
get_modelterm Get estimated for selected model terms.
get_pca_predictions Return PCA predictions.
get_predictions Get model predictions for specific conditions.
get_random Get coefficients for the random intercepts and random slopes.
gradientLegend Add a gradient legend to a plot.
group_sort Sort split by grouping predictor.
info Information on how to cite this package
infoMessages Turn on or off information messages.
inspect_random Inspection and interpretation of random factor smooths.
itsadug Interpreting Time Series, Autocorrelated Data Using GAMMs (itsadug)
list2str Combine list values as string.
marginDensityPlot Plot density of distribution in margins of the plot.
missing_est Return indices of data that were not fitted by the model.
move_n_point Move a vector n elements forward or backward.
plotDiff Plot difference curve based on model predictions.
plotDiff2D Plot difference surface based on model predictions.
plotsurface Creates a colored surface plot.
plot_data Visualization of the model fit for time series data.
plot_diff Plot difference curve based on model predictions.
plot_diff2 Plot difference surface based on model predictions.
plot_error Utility function
plot_image Add images to plots.
plot_modelfit Visualization of the model fit for time series data.
plot_parametric Visualization of group estimates.
plot_pca_surface Visualization of the effect predictors in nonlinear interactions with principled components.
plot_smooth Visualization of smooths.
plot_topo Visualization of EEG topo maps.
print_summary Print a named list of strings, output from 'summary_data'.
pvisgam Visualization of partial nonlinear interactions.
report_stats Returns a description of the statistics of the smooth terms for reporting.
resid.gam Extract model residuals and remove the autocorrelation accounted for.
resid_gam Extract model residuals and remove the autocorrelation accounted for.
rug_model Add rug to plot, based on model.
se Calculate standard error of the mean.
simdat Simulated time series data.
start_event Determine the starting point for each time series.
start_value_rho Extract the Lag 1 value from the ACF of the residuals of a gam, bam, lm, lmer model, ...
summary_data Print a descriptive summary of a data frame.
timeBins Label timestamps as timebins of a given binsize.
wald_gam Function for post-hoc comparison of the contrasts in a single GAMM model.