On 6/10/05, Muhammad Subianto <[EMAIL PROTECTED]> wrote:
> Hi,
> Excuse me for this simple question.
> How to convert as.data.frame to as.character?
> 
>  ?data.frame
> 
>  > L3 <- LETTERS[1:3]
>  >  L10 <- LETTERS[1:10]
>  >  d <- data.frame(cbind(x=c("XYZ"), y=L10), fac=sample(L3, 10, repl=TRUE))


d[] <- as.matrix(d)

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to