2
Following the help of function decompose
require(graphics)
m <- decompose(co2)
plot(m)
if you use names(m) 6 "objects" are saved inside m: x, seasonal, trend, random, figure and type. Now just select the data of your interest with the operator $. In case of your doubt,
m$random
