On 10-05-2013, at 10:59, KatrinH Heimann wrote:
> Dear all,
>
> I would like to replace some values in a dataframe (including the columns
> Action, Interval and Artificiality) depending on a combination of different
> conditions
>
> the command I tried is
>
> for (j in 1:nrow(data))
>
> {
>
On 10-05-2013, at 10:59, KatrinH Heimann wrote:
> Dear all,
>
> I would like to replace some values in a dataframe (including the columns
> Action, Interval and Artificiality) depending on a combination of different
> conditions
>
> the command I tried is
>
> for (j in 1:nrow(data))
>
> {
>
Dear all,
I would like to replace some values in a dataframe (including the columns
Action, Interval and Artificiality) depending on a combination of different
conditions
the command I tried is
for (j in 1:nrow(data))
{
if ((data[j,data$Action]=="s") & (data[j,data$Interval]=="l") & (data[j,da
3 matches
Mail list logo