search for: srotage

Displaying 1 result from an estimated 1 matches for "srotage".

2009 Mar 10
5
Changing factor to numeric
...ains numeric entries which like 5.735 4.759 ..... This is because the data was read from a CSV file into R and this variable contained other charaters which were not numeric. I have now dropped the records with the characters which are not numeric for this variable and want to change it to numeric srotage type. I have tried using as.numeric() function but it changes the values in the variable to what I think are the ranks of the individual values of the varible in the dataset. For example if 5.735 is the current content in the field, then the new object created by as.numeric will contain a value li...