首页 > 最新文献

R Journal最新文献

英文 中文
rpsftm: An R Package for Rank Preserving Structural Failure Time Models rpsftm:保秩结构失效时间模型的R包
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-12-04 DOI: 10.32614/RJ-2017-068
Annabel Allison, I. White, S. Bond
Treatment switching in a randomised controlled trial occurs when participants change from their randomised treatment to the other trial treatment during the study. Failure to account for treatment switching in the analysis (i.e. by performing a standard intention-to-treat analysis) can lead to biased estimates of treatment efficacy. The rank preserving structural failure time model (RPSFTM) is a method used to adjust for treatment switching in trials with survival outcomes. The RPSFTM is due to Robins and Tsiatis (1991) and has been developed by White et al. (1997, 1999). The method is randomisation based and uses only the randomised treatment group, observed event times, and treatment history in order to estimate a causal treatment effect. The treatment effect, ψ, is estimated by balancing counter-factual event times (that would be observed if no treatment were received) between treatment groups. G-estimation is used to find the value of ψ such that a test statistic Z(ψ) = 0. This is usually the test statistic used in the intention-to-treat analysis, for example, the log rank test statistic. We present an R package that implements the method of rpsftm.
在随机对照试验中,当参与者在研究期间从随机治疗改为其他试验治疗时,就会发生治疗切换。未能在分析中考虑治疗转换(即通过执行标准意向治疗分析)可能导致对治疗疗效的估计存在偏差。保秩结构失效时间模型(RPSFTM)是一种用于在有生存结果的试验中调整治疗转换的方法。RPSFTM是由Robins和Tsiatis(1991)提出的,由White等人开发(19971999)。该方法基于随机化,仅使用随机治疗组、观察到的事件时间和治疗史来估计因果治疗效果。治疗效果ψ是通过平衡治疗组之间的反事实事件时间(如果没有接受治疗,则会观察到)来估计的。使用G-估计来找到ψ的值,使得检验统计量Z(ψ)=0。这通常是意向治疗分析中使用的检验统计量,例如,对数秩检验统计量。我们提出了一个R包,它实现了rpsftm的方法。
{"title":"rpsftm: An R Package for Rank Preserving Structural Failure Time Models","authors":"Annabel Allison, I. White, S. Bond","doi":"10.32614/RJ-2017-068","DOIUrl":"https://doi.org/10.32614/RJ-2017-068","url":null,"abstract":"Treatment switching in a randomised controlled trial occurs when participants change from their randomised treatment to the other trial treatment during the study. Failure to account for treatment switching in the analysis (i.e. by performing a standard intention-to-treat analysis) can lead to biased estimates of treatment efficacy. The rank preserving structural failure time model (RPSFTM) is a method used to adjust for treatment switching in trials with survival outcomes. The RPSFTM is due to Robins and Tsiatis (1991) and has been developed by White et al. (1997, 1999). The method is randomisation based and uses only the randomised treatment group, observed event times, and treatment history in order to estimate a causal treatment effect. The treatment effect, ψ, is estimated by balancing counter-factual event times (that would be observed if no treatment were received) between treatment groups. G-estimation is used to find the value of ψ such that a test statistic Z(ψ) = 0. This is usually the test statistic used in the intention-to-treat analysis, for example, the log rank test statistic. We present an R package that implements the method of rpsftm.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"45358153","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 8
rpsftm: An R Package for Rank Preserving Structural Failure Time Models. rpsftm:一个保秩结构失效时间模型的R包。
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-12-04
Annabel Allison, Ian R White, Simon Bond

Treatment switching in a randomised controlled trial occurs when participants change from their randomised treatment to the other trial treatment during the study. Failure to account for treatment switching in the analysis (i.e. by performing a standard intention-to-treat analysis) can lead to biased estimates of treatment efficacy. The rank preserving structural failure time model (RPSFTM) is a method used to adjust for treatment switching in trials with survival outcomes. The RPSFTM is due to Robins and Tsiatis (1991) and has been developed by White et al. (1997, 1999). The method is randomisation based and uses only the randomised treatment group, observed event times, and treatment history in order to estimate a causal treatment effect. The treatment effect, ψ, is estimated by balancing counter-factual event times (that would be observed if no treatment were received) between treatment groups. G-estimation is used to find the value of ψ such that a test statistic Z(ψ) = 0. This is usually the test statistic used in the intention-to-treat analysis, for example, the log rank test statistic. We present an R package that implements the method of rpsftm.

在随机对照试验中,当参与者在研究期间从随机治疗转向其他试验治疗时,就会发生治疗转换。未能在分析中考虑治疗转换(即通过执行标准的意向治疗分析)可能导致对治疗疗效的估计有偏倚。保秩结构失效时间模型(RPSFTM)是一种在具有生存结局的试验中用于调整治疗转换的方法。RPSFTM是由Robins和Tsiatis(1991)提出的,并由White等人(1997,1999)发展而来。该方法基于随机化,仅使用随机化的治疗组、观察到的事件时间和治疗历史来估计因果治疗效果。治疗效果ψ是通过平衡治疗组之间的反事实事件时间(如果不接受治疗将观察到的时间)来估计的。g估计用于找到ψ的值,使得检验统计量Z(ψ) = 0。这通常是意向处理分析中使用的测试统计量,例如,日志等级测试统计量。我们提供了一个实现rpsftm方法的R包。
{"title":"rpsftm: An R Package for Rank Preserving Structural Failure Time Models.","authors":"Annabel Allison,&nbsp;Ian R White,&nbsp;Simon Bond","doi":"","DOIUrl":"","url":null,"abstract":"<p><p>Treatment switching in a randomised controlled trial occurs when participants change from their randomised treatment to the other trial treatment during the study. Failure to account for treatment switching in the analysis (i.e. by performing a standard intention-to-treat analysis) can lead to biased estimates of treatment efficacy. The rank preserving structural failure time model (RPSFTM) is a method used to adjust for treatment switching in trials with survival outcomes. The RPSFTM is due to Robins and Tsiatis (1991) and has been developed by White et al. (1997, 1999). The method is randomisation based and uses only the randomised treatment group, observed event times, and treatment history in order to estimate a causal treatment effect. The treatment effect, <i>ψ</i>, is estimated by balancing counter-factual event times (that would be observed if no treatment were received) between treatment groups. G-estimation is used to find the value of <i>ψ</i> such that a test statistic <i>Z</i>(<i>ψ</i>) = 0. This is usually the test statistic used in the intention-to-treat analysis, for example, the log rank test statistic. We present an R package that implements the method of rpsftm.</p>","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-12-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5858764/pdf/emss-76528.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"35937148","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
MDplot: Visualise Molecular Dynamics MDplot:可视化分子动力学
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-05-10 DOI: 10.32614/RJ-2017-007
Christian Margreitter, C. Oostenbrink
The MDplot package provides plotting functions to allow for automated visualisation of molecular dynamics simulation output. It is especially useful in cases where the plot generation is rather tedious due to complex file formats or when a large number of plots are generated. The graphs that are supported range from those which are standard, such as RMsD/RMsF (root-mean-square deviation and root-mean-square fluctuation, respectively) to less standard, such as thermodynamic integration analysis and hydrogen bond monitoring over time. All told, they address many commonly used analyses. In this article, we set out the MDplot package's functions, give examples of the function calls, and show the associated plots. Plotting and data parsing is separated in all cases, i.e. the respective functions can be used independently. Thus, data manipulation and the integration of additional file formats is fairly easy. Currently, the loading functions support GROMOS, GROMACS, and AMBER file formats. Moreover, we also provide a Bash interface that allows simple embedding of MDplot into Bash scripts as the final analysis step.AVAILABILITYThe package can be obtained in the latest major version from CRAN (https://cran.r-project.org/package=MDplot) or in the most recent version from the project's GitHub page at https://github.com/MDplot/MDplot, where feedback is also most welcome. MDplot is published under the GPL-3 license.
MDplot包提供绘图功能,允许分子动力学模拟输出的自动可视化。在由于复杂的文件格式或生成大量情节而导致情节生成相当繁琐的情况下,它特别有用。支持的图形范围从标准图形,如RMsD/RMsF(分别为均方根偏差和均方根波动)到不太标准的图形,如热力学集成分析和氢键随时间的监测。总之,它们解决了许多常用的分析。在本文中,我们列出MDplot包的函数,给出函数调用的示例,并显示相关的图。绘图和数据分析在所有情况下都是分开的,即各自的功能可以独立使用。因此,数据操作和其他文件格式的集成相当容易。目前加载函数支持GROMOS、GROMACS和AMBER三种文件格式。此外,我们还提供了一个Bash接口,允许在最后的分析步骤中将MDplot简单地嵌入到Bash脚本中。可用性该软件包可以从CRAN (https://cran.r-project.org/package=MDplot)获得最新的主要版本,也可以从项目的GitHub页面https://github.com/MDplot/MDplot获得最新版本,这里也非常欢迎反馈。MDplot在GPL-3许可下发布。
{"title":"MDplot: Visualise Molecular Dynamics","authors":"Christian Margreitter, C. Oostenbrink","doi":"10.32614/RJ-2017-007","DOIUrl":"https://doi.org/10.32614/RJ-2017-007","url":null,"abstract":"The MDplot package provides plotting functions to allow for automated visualisation of molecular dynamics simulation output. It is especially useful in cases where the plot generation is rather tedious due to complex file formats or when a large number of plots are generated. The graphs that are supported range from those which are standard, such as RMsD/RMsF (root-mean-square deviation and root-mean-square fluctuation, respectively) to less standard, such as thermodynamic integration analysis and hydrogen bond monitoring over time. All told, they address many commonly used analyses. In this article, we set out the MDplot package's functions, give examples of the function calls, and show the associated plots. Plotting and data parsing is separated in all cases, i.e. the respective functions can be used independently. Thus, data manipulation and the integration of additional file formats is fairly easy. Currently, the loading functions support GROMOS, GROMACS, and AMBER file formats. Moreover, we also provide a Bash interface that allows simple embedding of MDplot into Bash scripts as the final analysis step.\u0000\u0000\u0000AVAILABILITY\u0000The package can be obtained in the latest major version from CRAN (https://cran.r-project.org/package=MDplot) or in the most recent version from the project's GitHub page at https://github.com/MDplot/MDplot, where feedback is also most welcome. MDplot is published under the GPL-3 license.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"44420577","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 15
MDplot: Visualise Molecular Dynamics. MDplot:可视化分子动力学。
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-05-10
Christian Margreitter, Chris Oostenbrink

The MDplot package provides plotting functions to allow for automated visualisation of molecular dynamics simulation output. It is especially useful in cases where the plot generation is rather tedious due to complex file formats or when a large number of plots are generated. The graphs that are supported range from those which are standard, such as RMsD/RMsF (root-mean-square deviation and root-mean-square fluctuation, respectively) to less standard, such as thermodynamic integration analysis and hydrogen bond monitoring over time. All told, they address many commonly used analyses. In this article, we set out the MDplot package's functions, give examples of the function calls, and show the associated plots. Plotting and data parsing is separated in all cases, i.e. the respective functions can be used independently. Thus, data manipulation and the integration of additional file formats is fairly easy. Currently, the loading functions support GROMOS, GROMACS, and AMBER file formats. Moreover, we also provide a Bash interface that allows simple embedding of MDplot into Bash scripts as the final analysis step.

Availability: The package can be obtained in the latest major version from CRAN (https://cran.r-project.org/package=MDplot) or in the most recent version from the project's GitHub page at https://github.com/MDplot/MDplot, where feedback is also most welcome. MDplot is published under the GPL-3 license.

MDplot包提供绘图功能,允许分子动力学模拟输出的自动可视化。在由于复杂的文件格式或生成大量情节而导致情节生成相当繁琐的情况下,它特别有用。支持的图形范围从标准图形,如RMsD/RMsF(分别为均方根偏差和均方根波动)到不太标准的图形,如热力学集成分析和氢键随时间的监测。总之,它们解决了许多常用的分析。在本文中,我们列出MDplot包的函数,给出函数调用的示例,并显示相关的图。绘图和数据分析在所有情况下都是分开的,即各自的功能可以独立使用。因此,数据操作和其他文件格式的集成相当容易。目前加载函数支持GROMOS、GROMACS和AMBER三种文件格式。此外,我们还提供了一个Bash接口,允许在最后的分析步骤中将MDplot简单地嵌入到Bash脚本中。可用性:该软件包可以从CRAN (https://cran.r-project.org/package=MDplot)获得最新的主要版本,也可以从项目的GitHub页面https://github.com/MDplot/MDplot获得最新版本,这里也非常欢迎反馈。MDplot在GPL-3许可下发布。
{"title":"MDplot: Visualise Molecular Dynamics.","authors":"Christian Margreitter,&nbsp;Chris Oostenbrink","doi":"","DOIUrl":"","url":null,"abstract":"<p><p>The <b>MDplot</b> package provides plotting functions to allow for automated visualisation of molecular dynamics simulation output. It is especially useful in cases where the plot generation is rather tedious due to complex file formats or when a large number of plots are generated. The graphs that are supported range from those which are standard, such as RMsD/RMsF (root-mean-square deviation and root-mean-square fluctuation, respectively) to less standard, such as thermodynamic integration analysis and hydrogen bond monitoring over time. All told, they address many commonly used analyses. In this article, we set out the <b>MDplot</b> package's functions, give examples of the function calls, and show the associated plots. Plotting and data parsing is separated in all cases, i.e. the respective functions can be used independently. Thus, data manipulation and the integration of additional file formats is fairly easy. Currently, the loading functions support GROMOS, GROMACS, and AMBER file formats. Moreover, we also provide a Bash interface that allows simple embedding of MDplot into Bash scripts as the final analysis step.</p><p><strong>Availability: </strong>The package can be obtained in the latest major version from CRAN (https://cran.r-project.org/package=MDplot) or in the most recent version from the project's GitHub page at https://github.com/MDplot/MDplot, where feedback is also most welcome. MDplot is published under the GPL-3 license.</p>","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5570379/pdf/emss-73867.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"35450358","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
autoimage: Multiple Heat Maps for Projected Coordinates. autoimage:投影坐标的多个热图。
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-01-01 Epub Date: 2017-05-10
Joshua P French

Heat maps are commonly used to display the spatial distribution of a response observed on a two-dimensional grid. The autoimage package provides convenient functions for constructing multiple heat maps in unified, seamless way, particularly when working with projected coordinates. The autoimage package natively supports: 1. automatic inclusion of a color scale with the plotted image, 2. construction of heat maps for responses observed on regular or irregular grids, as well as non-gridded data, 3. construction of a matrix of heat maps with a common color scale, 4. construction of a matrix of heat maps with individual color scales, 5. projecting coordinates before plotting, 6. easily adding geographic borders, points, and other features to the heat maps. After comparing the autoimage package's capabilities for constructing heat maps to those of existing tools, a carefully selected set of examples is used to highlight the capabilities of the autoimage package.

热图通常用于显示在二维网格上观察到的响应的空间分布。autoimage包为以统一、无缝的方式构建多个热图提供了方便的功能,特别是在使用投影坐标时。autoimage包本身支持:2.自动包含绘制图像的色阶。2 .在规则或不规则网格以及非网格数据上观测响应的热图构建;构造一个具有共同色标度的热图矩阵,3。具有单独颜色尺度的热图矩阵的构造,5。绘图前的投影坐标,6。轻松添加地理边界、点和其他特征到热图。在将autoimage包用于构造热图的功能与现有工具的功能进行比较之后,使用一组精心挑选的示例来突出显示autoimage包的功能。
{"title":"autoimage: Multiple Heat Maps for Projected Coordinates.","authors":"Joshua P French","doi":"","DOIUrl":"","url":null,"abstract":"<p><p>Heat maps are commonly used to display the spatial distribution of a response observed on a two-dimensional grid. The <b>autoimage</b> package provides convenient functions for constructing multiple heat maps in unified, seamless way, particularly when working with projected coordinates. The <b>autoimage</b> package natively supports: 1. automatic inclusion of a color scale with the plotted image, 2. construction of heat maps for responses observed on regular or irregular grids, as well as non-gridded data, 3. construction of a matrix of heat maps with a common color scale, 4. construction of a matrix of heat maps with individual color scales, 5. projecting coordinates before plotting, 6. easily adding geographic borders, points, and other features to the heat maps. After comparing the <b>autoimage</b> package's capabilities for constructing heat maps to those of existing tools, a carefully selected set of examples is used to highlight the capabilities of the <b>autoimage</b> package.</p>","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5685525/pdf/nihms883798.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"35614220","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Working with Daily Climate Model Output Data in R and the futureheatwaves Package. 使用R中的每日气候模型输出数据和未来热浪包进行工作。
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-01-01 Epub Date: 2017-06-08 DOI: 10.32614/rj-2017-032
G Brooke Anderson, Colin Eason, Elizabeth A Barnes

Research on climate change impacts can require extensive processing of climate model output, especially when using ensemble techniques to incorporate output from multiple climate models and multiple simulations of each model. This processing can be particularly extensive when identifying and characterizing multi-day extreme events like heat waves and frost day spells, as these must be processed from model output with daily time steps. Further, climate model output is in a format and follows standards that may be unfamiliar to most R users. Here, we provide an overview of working with daily climate model output data in R. We then present the futureheatwaves package, which we developed to ease the process of identifying, characterizing, and exploring multi-day extreme events in climate model output. This package can input a directory of climate model output files, identify all extreme events using customizable event definitions, and summarize the output using user-specified functions.

气候变化影响的研究可能需要对气候模式的输出进行大量处理,特别是在使用集合技术将多个气候模式的输出和每个模式的多次模拟结合起来时。当识别和描述多日极端事件(如热浪和霜冻天气)时,这种处理可以特别广泛,因为这些必须根据每天的时间步长从模型输出中处理。此外,气候模型输出的格式和遵循的标准对于大多数R用户来说可能不熟悉。在这里,我们概述了在r中处理每日气候模型输出数据的情况。然后介绍了我们开发的未来热浪包,该包旨在简化气候模型输出中识别、表征和探索多日极端事件的过程。这个包可以输入气候模型输出文件目录,使用可定制的事件定义识别所有极端事件,并使用用户指定的函数总结输出。
{"title":"Working with Daily Climate Model Output Data in R and the futureheatwaves Package.","authors":"G Brooke Anderson,&nbsp;Colin Eason,&nbsp;Elizabeth A Barnes","doi":"10.32614/rj-2017-032","DOIUrl":"https://doi.org/10.32614/rj-2017-032","url":null,"abstract":"<p><p>Research on climate change impacts can require extensive processing of climate model output, especially when using ensemble techniques to incorporate output from multiple climate models and multiple simulations of each model. This processing can be particularly extensive when identifying and characterizing multi-day extreme events like heat waves and frost day spells, as these must be processed from model output with daily time steps. Further, climate model output is in a format and follows standards that may be unfamiliar to most R users. Here, we provide an overview of working with daily climate model output data in R. We then present the futureheatwaves package, which we developed to ease the process of identifying, characterizing, and exploring multi-day extreme events in climate model output. This package can input a directory of climate model output files, identify all extreme events using customizable event definitions, and summarize the output using user-specified functions.</p>","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8048414/pdf/nihms-1061093.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"38885023","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Hosting Data Packages via drat: A Case Study with Hurricane Exposure Data. 通过草案托管数据包:飓风暴露数据的案例研究。
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-01-01 Epub Date: 2017-06-10 DOI: 10.32614/rj-2017-026
G Brooke Anderson, Dirk Eddelbuettel

Data-only packages offer a way to provide extended functionality for other R users. However, such packages can be large enough to exceed the package size limit (5 megabytes) for the Comprehensive R Archive Network (CRAN). As an alternative, large data packages can be posted to additional repostiories beyond CRAN itself in a way that allows smaller code packages on CRAN to access and use the data. The drat package facilitates creation and use of such alternative repositories and makes it particularly simple to host them via GitHub. CRAN packages can draw on packages posted to drat repositories through the use of the 'Additonal_repositories' field in the DESCRIPTION file. This paper describes how R users can create a suite of coordinated packages, in which larger data packages are hosted in an alternative repository created with drat, while a smaller code package that interacts with this data is created that can be submitted to CRAN.

纯数据包提供了一种为其他R用户提供扩展功能的方法。但是,这样的包可能大到足以超过综合R档案网络(CRAN)的包大小限制(5兆字节)。作为一种替代方案,可以将大型数据包发布到CRAN本身以外的其他存储库,从而允许CRAN上的较小代码包访问和使用数据。草案包有助于创建和使用这些替代存储库,并使通过GitHub托管它们变得特别简单。通过使用DESCRIPTION文件中的'Additonal_repositories'字段,CRAN包可以提取发布到草稿存储库的包。本文描述了R用户如何创建一套协调包,其中较大的数据包托管在使用draft创建的替代存储库中,而与此数据交互的较小的代码包被创建,可以提交给CRAN。
{"title":"Hosting Data Packages via drat: A Case Study with Hurricane Exposure Data.","authors":"G Brooke Anderson,&nbsp;Dirk Eddelbuettel","doi":"10.32614/rj-2017-026","DOIUrl":"https://doi.org/10.32614/rj-2017-026","url":null,"abstract":"<p><p>Data-only packages offer a way to provide extended functionality for other R users. However, such packages can be large enough to exceed the package size limit (5 megabytes) for the Comprehensive R Archive Network (CRAN). As an alternative, large data packages can be posted to additional repostiories beyond CRAN itself in a way that allows smaller code packages on CRAN to access and use the data. The drat package facilitates creation and use of such alternative repositories and makes it particularly simple to host them via GitHub. CRAN packages can draw on packages posted to drat repositories through the use of the 'Additonal_repositories' field in the DESCRIPTION file. This paper describes how R users can create a suite of coordinated packages, in which larger data packages are hosted in an alternative repository created with drat, while a smaller code package that interacts with this data is created that can be submitted to CRAN.</p>","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8048413/pdf/nihms-1061092.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"38885025","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 6
autoimage: Multiple Heat Maps for Projected Coordinates autoimage:投影坐标的多个热图
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2017-01-01 DOI: 10.32614/RJ-2017-025
J. French
Heat maps are commonly used to display the spatial distribution of a response observed on a two-dimensional grid. The autoimage package provides convenient functions for constructing multiple heat maps in unified, seamless way, particularly when working with projected coordinates. The autoimage package natively supports: 1. automatic inclusion of a color scale with the plotted image, 2. construction of heat maps for responses observed on regular or irregular grids, as well as non-gridded data, 3. construction of a matrix of heat maps with a common color scale, 4. construction of a matrix of heat maps with individual color scales, 5. projecting coordinates before plotting, 6. easily adding geographic borders, points, and other features to the heat maps. After comparing the autoimage package's capabilities for constructing heat maps to those of existing tools, a carefully selected set of examples is used to highlight the capabilities of the autoimage package.
热图通常用于显示在二维网格上观察到的响应的空间分布。autoimage包为以统一、无缝的方式构建多个热图提供了方便的功能,特别是在使用投影坐标时。autoimage包本身支持:2.自动包含绘制图像的色阶。2 .在规则或不规则网格以及非网格数据上观测响应的热图构建;构造一个具有共同色标度的热图矩阵,3。具有单独颜色尺度的热图矩阵的构造,5。绘图前的投影坐标,6。轻松添加地理边界、点和其他特征到热图。在将autoimage包用于构造热图的功能与现有工具的功能进行比较之后,使用一组精心挑选的示例来突出显示autoimage包的功能。
{"title":"autoimage: Multiple Heat Maps for Projected Coordinates","authors":"J. French","doi":"10.32614/RJ-2017-025","DOIUrl":"https://doi.org/10.32614/RJ-2017-025","url":null,"abstract":"Heat maps are commonly used to display the spatial distribution of a response observed on a two-dimensional grid. The autoimage package provides convenient functions for constructing multiple heat maps in unified, seamless way, particularly when working with projected coordinates. The autoimage package natively supports: 1. automatic inclusion of a color scale with the plotted image, 2. construction of heat maps for responses observed on regular or irregular grids, as well as non-gridded data, 3. construction of a matrix of heat maps with a common color scale, 4. construction of a matrix of heat maps with individual color scales, 5. projecting coordinates before plotting, 6. easily adding geographic borders, points, and other features to the heat maps. After comparing the autoimage package's capabilities for constructing heat maps to those of existing tools, a carefully selected set of examples is used to highlight the capabilities of the autoimage package.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2017-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"69958652","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 9
An Introduction to Principal Surrogate Evaluation with the pseval Package. 用pseval包介绍主代理评估。
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2016-12-01
Michael C Sachs, Erin E Gabriel

We describe a new package called pseval that implements the core methods for the evaluation of principal surrogates in a single clinical trial. It provides a flexible interface for defining models for the risk given treatment and the surrogate, the models for integration over the missing counterfactual surrogate responses, and the estimation methods. Estimated maximum likelihood and pseudo-score can be used for estimation, and the bootstrap for inference. A variety of post-estimation methods are provided, including print, summary, plot, and testing. We summarize the main statistical methods that are implemented in the package and illustrate its use from the perspective of a novice R user.

我们描述了一个名为pseval的新软件包,它实现了在单个临床试验中评估主要替代物的核心方法。它提供了一个灵活的接口,用于定义给定治疗和代理的风险模型、缺失的反事实代理响应的集成模型以及估计方法。估计的最大似然和伪分数可用于估计,自举用于推理。提供了多种后估计方法,包括打印、总结、绘图和测试。我们总结了包中实现的主要统计方法,并从R新手用户的角度说明了它的使用。
{"title":"An Introduction to Principal Surrogate Evaluation with the pseval Package.","authors":"Michael C Sachs,&nbsp;Erin E Gabriel","doi":"","DOIUrl":"","url":null,"abstract":"<p><p>We describe a new package called <b>pseval</b> that implements the core methods for the evaluation of principal surrogates in a single clinical trial. It provides a flexible interface for defining models for the risk given treatment and the surrogate, the models for integration over the missing counterfactual surrogate responses, and the estimation methods. Estimated maximum likelihood and pseudo-score can be used for estimation, and the bootstrap for inference. A variety of post-estimation methods are provided, including print, summary, plot, and testing. We summarize the main statistical methods that are implemented in the package and illustrate its use from the perspective of a novice R user.</p>","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2016-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5774631/pdf/nihms860175.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"35753795","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
An Introduction to Principal Surrogate Evaluation with the pseval Package 用pseval包介绍主代理评估
IF 2.1 4区 计算机科学 Q2 Mathematics Pub Date : 2016-12-01 DOI: 10.32614/RJ-2016-046
M. Sachs, E. Gabriel
We describe a new package called pseval that implements the core methods for the evaluation of principal surrogates in a single clinical trial. It provides a flexible interface for defining models for the risk given treatment and the surrogate, the models for integration over the missing counterfactual surrogate responses, and the estimation methods. Estimated maximum likelihood and pseudo-score can be used for estimation, and the bootstrap for inference. A variety of post-estimation methods are provided, including print, summary, plot, and testing. We summarize the main statistical methods that are implemented in the package and illustrate its use from the perspective of a novice R user.
我们描述了一个名为pseval的新软件包,它实现了在单个临床试验中评估主要替代物的核心方法。它提供了一个灵活的接口,用于定义给定治疗和代理的风险模型、缺失的反事实代理响应的集成模型以及估计方法。估计的最大似然和伪分数可用于估计,自举用于推理。提供了多种后估计方法,包括打印、总结、绘图和测试。我们总结了包中实现的主要统计方法,并从R新手用户的角度说明了它的使用。
{"title":"An Introduction to Principal Surrogate Evaluation with the pseval Package","authors":"M. Sachs, E. Gabriel","doi":"10.32614/RJ-2016-046","DOIUrl":"https://doi.org/10.32614/RJ-2016-046","url":null,"abstract":"We describe a new package called pseval that implements the core methods for the evaluation of principal surrogates in a single clinical trial. It provides a flexible interface for defining models for the risk given treatment and the surrogate, the models for integration over the missing counterfactual surrogate responses, and the estimation methods. Estimated maximum likelihood and pseudo-score can be used for estimation, and the bootstrap for inference. A variety of post-estimation methods are provided, including print, summary, plot, and testing. We summarize the main statistical methods that are implemented in the package and illustrate its use from the perspective of a novice R user.","PeriodicalId":51285,"journal":{"name":"R Journal","volume":null,"pages":null},"PeriodicalIF":2.1,"publicationDate":"2016-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"69958541","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
期刊
R Journal
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1