Skip to content
Back to formatted view

Raw Message

Message-ID: <6.1.2.0.2.20061206231209.01c52590@aiminy.mail.iastate.edu>
Date: 2006-12-07T05:15:28Z
From: Aimin Yan
Subject: change factor level 1,2,3 to red,blue,dark

I am new to R. Maybe this is very simple question.
I have a dataframe, there is column that is factor.
This factor has three level that 1,2,3.
Now I want to change these  level(1,2,3) to level(red,blue,dark).
Does anybody how to do this job?

Thank you very much

Aimin