In the simple script below, how can I close each of the Bivariate analysis after I capture its report?
Names Default to Here (1);
dt = Current Data Table ();
m = {};
m1 = [];
m2 = [];
For (i=6, i<= N Col (dt), i++,
bv = Bivariate(
Y( Column (i)),
X( :mRSS ),
Density Ellipse( 0.95, {Line Color( {213, 72, 87} )} ),
invisible
);
bvr = bv << report;
insert into (m, Column Name (i));
m1 = m1 || bvr [Outline Box (1)] [ Number Col Box (3)] [1];
m2 = m2 || bvr [Outline Box (1)] [ Number Col Box (4)] [1];
);
New Table ("CORRELATION",
New column ("Symbol", character, set values (m)),
New column ("Correlation", numeric, set values (m1)),
New column ("P Value", numeric, set values (m2)),
);