Hi @Nico_M,
Welcome in the Community !
If I understood correctly your need, you should be able to do this using the "Subset" platform in menu "Tables" :
- Click on menu "Tables", then "Subset" ; a new window opens,
- Specify "random - sample size" as 3 (or any number of rows you want per condition) and select stratify and choose the column "Condition" (as shown in the screenshot) :
- Click on "Ok" and you'll get a new subset table
Here is the JSL code on your example if you want to directly use it :
Data Table( "JMP replicates - community" ) << Subset(
Sample Size( 3 ),
Selected columns only( 0 ),
Stratify( :Condition )
)
I also send you back your datatable with the Subset table saved as a new script.
Hope this answer will help you,
Victor GUILLER
"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)