Skip to content

Instantly share code, notes, and snippets.

@roycoding
roycoding / r_stl.py
Last active August 29, 2015 14:10 — forked from andreas-h/r_stl.py
# -*- coding: utf-8 -*-
import datetime
from numpy import asarray, ceil
import pandas
import rpy2.robjects as robjects
def stl(data, ns, np=None, nt=None, nl=None, isdeg=0, itdeg=1, ildeg=1,
nsjump=None, ntjump=None, nljump=None, ni=2, no=0, fulloutput=False):