search for: digord

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

Did you mean: igord
2011 Dec 07
1
removing specified length of text after a period in dataframe of char's
Dear all, I'm trying to remove some text after the period (a decimal point) in the data frame 'hi', below. This is one step in formatting a table. So I would like e.g. "2.0" to become "2" and "5.3" to be "5.3", where the variable digordered contains the number of digits after the decimal that I would like to display, in the same order in which the variables appear in hi. If it makes it easier to use, this info is also contained in the dataframe nam2. The reason the numbers are recorded as characters is because I used format to get...