JNplots

JNplots provides visualization and interpretation of Johnson–Neyman technique outputs for two-way interactions in linear models as an R package.


Key Features:

  • Johnson–Neyman visualization: Generates plots that display regions of significance and non-significance for interaction effects estimated via the Johnson–Neyman technique.
  • Categorical moderators: Includes functions specifically for evaluating and visualizing two-way interactions when the moderator is categorical.
  • Continuous moderators: Includes functions specifically for evaluating and visualizing two-way interactions when the moderator is continuous.
  • Phylogenetic corrections: Supports phylogenetically informed models and allows specification of different phylogenetic correlation structures.
  • Customizable graphical outputs: Produces adjustable plots to represent interaction terms and Johnson–Neyman regions with configurable aesthetics.

Scientific Applications:

  • Ecology and evolution: Interpreting interaction effects in ecological and evolutionary datasets.
  • Allometric studies: Assessing how size-related variables moderate relationships between traits.
  • Macroevolutionary research: Evaluating interaction patterns in comparative evolutionary analyses that incorporate phylogeny.
  • Experimental analyses: Visualizing and interpreting interaction effects from controlled experiments with moderators.

Methodology:

Applies the Johnson–Neyman technique to two-way interactions in linear models; provides functions for categorical and continuous moderators; implements phylogenetically informed models with selectable phylogenetic correlation structures.

Topics

Details

License:
MIT
Cost:
Free of charge
Tool Type:
library
Operating Systems:
Mac, Linux, Windows
Programming Languages:
R
Added:
1/12/2024
Last Updated:
11/24/2024

Operations

Publications

Toyama KS. JNplots: an R package to visualize outputs from the Johnson–Neyman technique for categorical and continuous moderators, including options for phylogenetic regressions. Evolutionary Ecology. 2023;38(3):371-385. doi:10.1007/s10682-023-10281-1.

Links