replace usage of subset in autoplot functions with manual extraction via [ (this removes the warnings in R CMD check regardings 'type')