N Rows
N Rows using Run Script
Summary: Runs the extraction and processing of tables from a Recurrence Analysis report, including Placebo, Pyridoxine, and Thiotepa tables.
Code:
dt = Open("data_table.jmp");
obj = dt << Run Script( "Recurrence Analysis" );
rpt = obj << report;
placeboTbl = rpt[Outline Box( "Placebo" )][Table Box( 1 )] << get as matrix;
pyridoxineTbl = rpt[Outline Box( "Pyridoxine" )][Table Box( 1 )] << get as matrix;
thiotepaTbl = rpt[Outline Box( "Thiotepa" )][Table Box( 1 )] << get as matrix;
nRowPlacebo = N Rows( placeboTbl );
nRowPyridoxine = N Rows( pyridoxineTbl );
nRowThiotepa = N Rows( thiotepaTbl );
placeboTblObj = rpt[Outline Box( "Placebo" )][Table Box( 1 )];
dt1 = placeboTblObj << Make Combined Data Table;
Code Explanation:
- Open data_table data
- Run Recurrence Analysis script.
- Extract report object.
- Retrieve Placebo table as matrix.
- Retrieve Pyridoxine table as matrix.
- Retrieve Thiotepa table as matrix.
- Count rows in Placebo table.
- Count rows in Pyridoxine table.
- Count rows in Thiotepa table.
- Create combined data table from Placebo.