Hi,
I have the following dataframe. The County Column has many empty spaces
at the end.
I want to cut out the empty space and put them back into the dataframe.
How can this be done?
head(DailyCounty)
Date County GFCPer GFCEquip Acre nFires
Date2
1 2001-01-04
Dan Chan wrote:
Hi,
I have the following dataframe. The County Column has many empty spaces
at the end.
I want to cut out the empty space and put them back into the dataframe.
How can this be done?
head(DailyCounty)
Date County GFCPer GFCEquip
RSiteSearch(trim) or RSiteSearch(trim space) will get you there.
Francisco
From: Dan Chan [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Subject: [R] trimming a factor
Date: Fri, 10 Mar 2006 15:52:03 -0500
Hi,
I have the following dataframe. The County Column has many empty spaces
at the end