Class TrendLine

  • All Implemented Interfaces:
    Filter

    public class TrendLine
    extends java.lang.Object
    implements Filter
    Fits a trend line to the samples in a column using R.
    Author:
    jwhite
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TrendLine()  
        TrendLine​(java.lang.String outputColumn, java.lang.String inputColumn, long secondsAhead, int polynomialOrder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(com.google.common.collect.RowSortedTable<java.lang.Long,​java.lang.String,​java.lang.Double> table)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TrendLine

        protected TrendLine()
      • TrendLine

        public TrendLine​(java.lang.String outputColumn,
                         java.lang.String inputColumn,
                         long secondsAhead,
                         int polynomialOrder)
    • Method Detail

      • filter

        public void filter​(com.google.common.collect.RowSortedTable<java.lang.Long,​java.lang.String,​java.lang.Double> table)
                    throws RScriptException
        Specified by:
        filter in interface Filter
        Throws:
        RScriptException