Hi everyone,
I'm working with a dataset that has hundreds of variables, numeric as well as strings. Missing values are indicated in different ways in the data set (., .n, .r for numeric variables). I want to homogenize the missing values (i.e. replace with . for numeric variables). See a microcosm of the data appended. Looping doesn't work as some variables are strings and others are numeric. Is there a way around this?Array
0 Response to How do I replace a certain value across a dataset that has string as well as numeric variables?
Post a Comment