Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Applying Filter to only one condition

Hi!

I collected data with two conditions: control and experimental. I want to apply a filter (for example, filter out scores below 4 on a particular variable) but only to the people in the experimental condition. I want to keep all scores for the control.

When I use the split feature by group it still just filters out all participants with scores below 4, regardless of which condition they are in.

I was just wondering if anyone had any advice on how to do it so the filter only applies to people in the experimental condition (even if an R code etc).


Thank you!

Comments

  • I forwarded this to our expert

    EJ

  • Hi,


    I think something like the filter in the screenshot should do what you want:

    If you prefer to do this with R code, you would type something like:

    (contNormal <= .5) & (facExperim == "control") | facExperim != "control"

    which has the same effect:

    I hope that helps!


    Cheers,

    Don

  • Thank you! this is very helpful

Sign In or Register to comment.