Quantitative plasma spectroscopy in a resistive shell reversed-field pinch