Thank you very much Tim.
Best,
Manuel
2012/10/25 Tim Meehan
> You can also try using ifesle()
>
> A$X2 <- ifelse(A$X2>1, 1, A$X2)
>
>
> On Thu, Oct 25, 2012 at 2:08 PM, Peter Solymos wrote:
>
>> Maybe:
>> A$X2[A$X2>1] <- 1
>>
>> Peter
>>
>> --
>> Péter Sólymos, Dept Biol Sci, Univ Alberta, T6G
Thank you very much Sarah.
No, just to replace the values greater than 1 in X2.
Best,
Manuel
2012/10/25 Sarah Goslee
> Hi,
>
> 2012/10/25 Manuel Spínola :
> > Dear list members,
> >
> > I want to replace the values of a numerical variable in a data frame
> called
> > "A".
> >
> > A
> > X1
You can also try using ifesle()
A$X2 <- ifelse(A$X2>1, 1, A$X2)
On Thu, Oct 25, 2012 at 2:08 PM, Peter Solymos wrote:
> Maybe:
> A$X2[A$X2>1] <- 1
>
> Peter
>
> --
> Péter Sólymos, Dept Biol Sci, Univ Alberta, T6G 2E9, Canada AB
> soly...@ualberta.ca, Ph 780.492.8534, http://psolymos.github.com
Hi,
2012/10/25 Manuel Spínola :
> Dear list members,
>
> I want to replace the values of a numerical variable in a data frame called
> "A".
>
> A
> X1X2
> 2 1.5
> 31
> 41.2
>
> How to replace any value greater than 1 by the value 1 in the variable X2.
I think you made a
Maybe:
A$X2[A$X2>1] <- 1
Peter
--
Péter Sólymos, Dept Biol Sci, Univ Alberta, T6G 2E9, Canada AB
soly...@ualberta.ca, Ph 780.492.8534, http://psolymos.github.com
Alberta Biodiversity Monitoring Institute, http://www.abmi.ca
Boreal Avian Modelling Project, http://www.borealbirds.ca
2012/10/25 Ma
Dear list members,
I want to replace the values of a numerical variable in a data frame called
"A".
A
X1X2
2 1.5
31
41.2
How to replace any value greater than 1 by the value 1 in the variable X2.
Thank you very much in advance.
Best,
Manuel
--
*Manuel Spínola, Ph.D
Hi all
I need some help with some data from a germination experiment,
specifically hypocotyl and radicle elongation data. I wanted to
determine if the concentration of different leaf leachates (3
different concentrations) and the removal the mesocarp of the seeds
(with mesocarp/without mesocarp) h