view gls_en.xml @ 0:5b126f770671 draft

author mnhn65mo
date Fri, 03 Aug 2018 08:28:22 -0400
children b8fa05dbcff4
line wrap: on
line source

<tool id="gls" name="Model temporal trend" version="0.1">
    <description>with a simple linear regression</description>
        <requirement type="package" version="3.1_131">r-nlme</requirement>
        <requirement type="package" version="7.3_48">r-mass</requirement>
    <command detect_errors="exit_code"><![CDATA[
        Rscript '$__tool_directory__/gls.R' '$input1' '$input2' '$output' '$output2' ]]>
        <param name="input1" type="data" format="tabular" label="File generated by the glmmpql/Expected temporal trend tool"/>
        <param name="input2" type="data" format="tabular" label="File generated by the outil ab_index tool"/>
        <data format="txt" name="output" from_work_dir="mod-summary.txt" />
        <data format="rdata" name="output2" from_work_dir="mod.rda" />
        <test> <!--FAILED for binary-->
            <param name="input1" value="glmmpql.tabular"/>
            <param name="input2" value="data_index.tabular"/>
            <output name="output" value="gls_sum.txt"/>
            <output name="output2" value="gls_rda.rda"/>

.. class:: infomark 

Model temporal trend

This tool is an implementation of the gls function from `RegionalGAM package:
This function model temporal trend with a simple linear regression.

        <citation type="doi">10.1111/1365-2664.12561</citation>