pamoja for TypeScript - v0.1.17
    Preparing search index...

    Class Trend

    Fits a line through recent readings, so a slow drift is visible before it matters.

    Index
    • Adds a reading.

      Parameters

      • reading: number

      Returns void

    • The fitted slope in units per reading, or null without enough readings.

      A positive slope is a rising signal.

      Returns number | null