/9/2011 4:41 PM
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Tim Howard
Sent: Wednesday, February 09, 2011 12:44 PM
To: r-help@r-project.org
Subject: [R] assign factor levels based on list
All,
Given a data frame
All,
Given a data frame and a list containing factor definitions for certain
columns, how can I apply those definitions from the list, rather than doing it
the standard way, as noted below. I'm lost in the world of do.call, assign,
paste, and can't find my way through. For example:
#set up
On Feb 9, 2011, at 3:44 PM, Tim Howard wrote:
All,
Given a data frame and a list containing factor definitions for
certain columns, how can I apply those definitions from the list,
rather than doing it the standard way, as noted below. I'm lost in
the world of do.call, assign, paste,
On Feb 9, 2011, at 4:18 PM, David Winsemius wrote:
On Feb 9, 2011, at 3:44 PM, Tim Howard wrote:
All,
Given a data frame and a list containing factor definitions for
certain columns, how can I apply those definitions from the list,
rather than doing it the standard way, as noted below.
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Tim Howard
Sent: Wednesday, February 09, 2011 12:44 PM
To: r-help@r-project.org
Subject: [R] assign factor levels based on list
All,
Given a data frame and a list
5 matches
Mail list logo