'How to calculate STD excluding greater than values from a vector in R?

My vector is x<-norm(100,0,1) I was asked to create a subset of two vectors using the even position values from (x) in vector (e) and odd position values in vector(o). How do I calculate STD from e and o excluding values greater than 0.1?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source