Dear Gianni,

The R Help mailing list should bemore suitable for these kinds of question:
http://r.789695.n4.nabble.com/R-help-f789696.html

You may consider reading some R book also, e.g. R In a Nutshell:
http://www.amazon.com/Nutshell-Desktop-Quick-Reference-OReilly/dp/059680170X
or at least the on-line introduction:
http://cran.r-project.org/doc/manuals/R-intro.html

If you wish to change the value of you df$x factor vector from "b" to "b%"
just do as follows:
> levels(df$x)[2] <- "b%"

Cheers,
Piero

On 21 September 2011 16:18, gianni lavaredo <gianni.lavaredo@gmail.com>wrote:

> Dear Reaserchers,
>
> sorry for desturb you, but i tryed several solution but without results. I
> have a data.frame (it's an example to explain)
>
> df <- data.frame(x=c("a","b","c"),y=c(1,2,3))
>
> > df
>  x y
> 1 a 1
> 2 b 2
> 3 c 3
>
>
> and i wish to change same paramters in the column "x" as the following
> result
>
> > df
>  x y
> 1 a 1
> 2 b% 2
> 3 c 3
>
>
> thanks in advance. Normally to result easy stuff we spent a afternoon when
> you need to send the result in the night
>
> Gianni
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

