A wire of resistance \( R \) and radius \( r \) is stretched till its radius became \( \frac{r}{2} \). If new resistance of the stretched wire is \( xR \), then value of \( x \) is ________.