Displaying 2 results from an estimated 2 matches for "tp2130470p2130486".
Did you mean:
tp2130470p2130470
2010 May 05
2
better way to trick data frame structure?
Hi,
I have a data frame where 1 variable is a factor with only 1 level. I need
the data frame structure to reflect that there are 2 levels for this factor,
even though this is not the case. I am currently adding extra 'fake' rows
to the data frame to ensure that 2 levels are present, but this is slowing
processing time in a loop quite a bit. Can I manually specify that this
factor
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...ck data frame structure?
Message-ID: <1273039948932-2130486.post at n4.nabble.com>
Content-Type: text/plain; charset=us-ascii
Thanks, works beautifully and saved hours of run time. -seth
--
View this message in context: http://r.789695.n4.nabble.com/better-way-to-trick-data-frame-structure-tp2130470p2130486.html
Sent from the R help mailing list archive at Nabble.com.
------------------------------
Message: 129
Date: Wed, 5 May 2010 17:16:37 +1000
From: "Wang, Kevin (SYD)" <kevinwang at kpmg.com.au>
To: <r-help at r-project.org>
Subject: [R] Converting dollar value (factors)...