Seasonal decomposition of short time series

<div style = "width:60%; display: inline-block; float:left; "> Many users have tried to do a seasonal decomposition with a short time series, and hit the error “Series has less than two periods”. The problem is that the usual methods of decomposition (e.g., decompose and stl) estimate seasonality using at least as many degrees of freedom as there ...</div><div style = "width: 40%; display: inline-block; float:right;"><img src=' https://robjhyndman.com/hyndsight/2018-07-tslmdecomp_files/figure-html/unnamed-chunk-3-1.png' width = "200" style = "padding: 10px;" /></div><div style="clear: both;"></div>