{"title":"JNplots:一个R包,用于可视化约翰逊-内曼技术对分类和连续调节器的输出,包括系统发育回归的选项","authors":"Ken S. Toyama","doi":"10.1007/s10682-023-10281-1","DOIUrl":null,"url":null,"abstract":"<p>The analysis of two-way interactions in linear models is common in the fields of ecology and evolution, being often present in allometric, macroevolutionary, and experimental studies, among others. However, the interpretation of significant interactions can be incomplete when limited to the examination of model coefficients and significance tests. The Johnson–Neyman technique represents a step forward in the interpretation of significant two-way interactions, allowing the user to examine how changes in the moderator variable, it being categorical or continuous, affect the significance of the relationship between the dependent variable and the predictor. Despite its implementation in several software since its initial development, the available options to perform the method lack certain functionality aspects, including the visualization of regions of non-significance when the moderator is categorical, the implementation of phylogenetic corrections, and more intuitive graphical outputs. Here I present the R package <i>JNplots</i>, which aims to fill gaps left by previous software regarding the calculation and visualization of regions of non-significance when fitting two-way interaction models. <i>JNplots</i> includes two basic functions which allow the user to investigate different types of interaction models, including cases where the moderator variable is categorical or continuous. The user can also specify whether the model to explore should be phylogenetically informed and choose a particular phylogenetic correlation structure to be used. Finally, the functions of <i>JNplots</i> produce plots that are largely customizable and allow a more intuitive interpretation of the interaction term. Here I provide a walkthrough on the use of <i>JNplots</i> using three different examples based on empirical data, each representing a different common scenario in which the package can be useful. Additionally, I present the different customization options for the graphical outputs of <i>JNplots</i>.</p>","PeriodicalId":55158,"journal":{"name":"Evolutionary Ecology","volume":"1 1","pages":""},"PeriodicalIF":1.8000,"publicationDate":"2023-11-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"JNplots: an R package to visualize outputs from the Johnson–Neyman technique for categorical and continuous moderators, including options for phylogenetic regressions\",\"authors\":\"Ken S. Toyama\",\"doi\":\"10.1007/s10682-023-10281-1\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>The analysis of two-way interactions in linear models is common in the fields of ecology and evolution, being often present in allometric, macroevolutionary, and experimental studies, among others. However, the interpretation of significant interactions can be incomplete when limited to the examination of model coefficients and significance tests. The Johnson–Neyman technique represents a step forward in the interpretation of significant two-way interactions, allowing the user to examine how changes in the moderator variable, it being categorical or continuous, affect the significance of the relationship between the dependent variable and the predictor. Despite its implementation in several software since its initial development, the available options to perform the method lack certain functionality aspects, including the visualization of regions of non-significance when the moderator is categorical, the implementation of phylogenetic corrections, and more intuitive graphical outputs. Here I present the R package <i>JNplots</i>, which aims to fill gaps left by previous software regarding the calculation and visualization of regions of non-significance when fitting two-way interaction models. <i>JNplots</i> includes two basic functions which allow the user to investigate different types of interaction models, including cases where the moderator variable is categorical or continuous. The user can also specify whether the model to explore should be phylogenetically informed and choose a particular phylogenetic correlation structure to be used. Finally, the functions of <i>JNplots</i> produce plots that are largely customizable and allow a more intuitive interpretation of the interaction term. Here I provide a walkthrough on the use of <i>JNplots</i> using three different examples based on empirical data, each representing a different common scenario in which the package can be useful. Additionally, I present the different customization options for the graphical outputs of <i>JNplots</i>.</p>\",\"PeriodicalId\":55158,\"journal\":{\"name\":\"Evolutionary Ecology\",\"volume\":\"1 1\",\"pages\":\"\"},\"PeriodicalIF\":1.8000,\"publicationDate\":\"2023-11-27\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Evolutionary Ecology\",\"FirstCategoryId\":\"93\",\"ListUrlMain\":\"https://doi.org/10.1007/s10682-023-10281-1\",\"RegionNum\":3,\"RegionCategory\":\"环境科学与生态学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"ECOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Evolutionary Ecology","FirstCategoryId":"93","ListUrlMain":"https://doi.org/10.1007/s10682-023-10281-1","RegionNum":3,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ECOLOGY","Score":null,"Total":0}
JNplots: an R package to visualize outputs from the Johnson–Neyman technique for categorical and continuous moderators, including options for phylogenetic regressions
The analysis of two-way interactions in linear models is common in the fields of ecology and evolution, being often present in allometric, macroevolutionary, and experimental studies, among others. However, the interpretation of significant interactions can be incomplete when limited to the examination of model coefficients and significance tests. The Johnson–Neyman technique represents a step forward in the interpretation of significant two-way interactions, allowing the user to examine how changes in the moderator variable, it being categorical or continuous, affect the significance of the relationship between the dependent variable and the predictor. Despite its implementation in several software since its initial development, the available options to perform the method lack certain functionality aspects, including the visualization of regions of non-significance when the moderator is categorical, the implementation of phylogenetic corrections, and more intuitive graphical outputs. Here I present the R package JNplots, which aims to fill gaps left by previous software regarding the calculation and visualization of regions of non-significance when fitting two-way interaction models. JNplots includes two basic functions which allow the user to investigate different types of interaction models, including cases where the moderator variable is categorical or continuous. The user can also specify whether the model to explore should be phylogenetically informed and choose a particular phylogenetic correlation structure to be used. Finally, the functions of JNplots produce plots that are largely customizable and allow a more intuitive interpretation of the interaction term. Here I provide a walkthrough on the use of JNplots using three different examples based on empirical data, each representing a different common scenario in which the package can be useful. Additionally, I present the different customization options for the graphical outputs of JNplots.
期刊介绍:
Evolutionary Ecology is a concept-oriented journal of biological research at the interface of ecology and evolution. We publish papers that therefore integrate both fields of research: research that seeks to explain the ecology of organisms in the context of evolution, or patterns of evolution as explained by ecological processes.
The journal publishes original research and discussion concerning the evolutionary ecology of organisms. These may include papers addressing evolutionary aspects of population ecology, organismal interactions and coevolution, behaviour, life histories, communication, morphology, host-parasite interactions and disease ecology, as well as ecological aspects of genetic processes. The objective is to promote the conceptual, theoretical and empirical development of ecology and evolutionary biology; the scope extends to any organism or system.
In additional to Original Research articles, we publish Review articles that survey recent developments in the field of evolutionary ecology; Ideas & Perspectives articles which present new points of view and novel hypotheses; and Comments on articles recently published in Evolutionary Ecology or elsewhere. We also welcome New Tests of Existing Ideas - testing well-established hypotheses but with broader data or more methodologically rigorous approaches; - and shorter Natural History Notes, which aim to present new observations of organismal biology in the wild that may provide inspiration for future research. As of 2018, we now also invite Methods papers, to present or review new theoretical, practical or analytical methods used in evolutionary ecology.
Students & Early Career Researchers: We particularly encourage, and offer incentives for, submission of Reviews, Ideas & Perspectives, and Methods papers by students and early-career researchers (defined as being within one year of award of a PhD degree) – see Students & Early Career Researchers