Skip to content
Back to formatted view

Raw Message

Message-ID: <1323719596.26949.74.camel@mattotaupa>
Date: 2011-12-12T19:53:16Z
From: Paul Menzel
Subject: Variables from a Dataframe
In-Reply-To: <1323719071.45129.YahooMailNeo@web26508.mail.ukl.yahoo.com>

Dear Jose,


Am Montag, den 12.12.2011, 19:44 +0000 schrieb Jose Bustos Melo:
> Hello everyone,
> 
> I want make a variable selection from a dataframe, but when I build this new object (using cbind) the new table (which is a matrix) I lost all the original factor names in the variables. I get 1,2,3....
> 
> Someone would be so kind and tell me if there's is a ny way to get variables in a dataframe, but not changing these factor to numbers?

please provide a reproducible example as written in the posting guide.

[?]

> 	[[alternative HTML version deleted]]

Read [1] to just send plain text messages.


Thanks,

Paul


[1] http://email.about.com/od/yahoomailtips/qt/et_plain_text.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111212/3332db2c/attachment.bin>