Changing SP$ into rv$

Problem : "x must be numeric"