I would like to select height size interval (height >0.50
and height < 1.00
) and just two levels in pattern (for example: norm
and esti
) inside the same height size interval.
Example:
sp diameter height breaking pattern
actcon 15,10 9,50 no norm
actcon 8,90 9,46 no norm
actcon 7,00 9,40 no norm
actcon 12,50 9,25 no norm
actcon 8,60 9,00 no norm
actcon 7,70 8,76 no norm
actcon 0,80 0,50 yes norm
actcon 0,50 0,50 no norm
actcon 0,90 0,53 yes norm
actcon 0,55 0,54 no norm
actcon 0,65 0,54 no norm
actcon 1,10 0,50 no curv
actcon 0,85 0,93 no norm
actcon 1,20 0,94 no norm
actcon 1,30 0,94 no deit
actcon 0,90 0,94 no norm
actcon 2,10 0,94 yes norm
actcon 1,00 0,95 no norm
actcon 0,90 0,95 no norm
actcon 0,80 0,95 no norm
actcon 1,00 0,95 no norm
actcon 1,05 0,96 no norm
actcon 1,00 0,96 no norm
actcon 0,90 1,30 no esti
[I see @akrun added the same solution in a comment as I was writing this]
You want,
which gives
If you want to remove the levels of factors that no longer exist due to the subsetting,
Then you can do
But that might not be the right thing depending on your actual problem down the road.