Hola a todos,
Hice un código para obtener una tabla de datos con información de la herramienta de tabla de contingencia, desafortunadamente, la tabla emitida se llama "Sin título xxx". Me gustaría saber si mediante secuencias de comandos será posible seleccionar la última tabla creada y cambiar su nombre, o seleccionar la tabla que contiene Sin título en su nombre y cambiarle el nombre al final.
El objetivo es cerrar la tabla en cada lanzamiento del script para evitar tener varias tablas.
Intenté utilizar la función Tabla de datos actual () pero no funciona correctamente (se selecciona otra tabla).
La sección de código:
Contingency(
Y( :"Pass/Fail"n ),
X( :Task ),
Contingency Table(
Count( 1, Format( "Fixed Dec", 2, 0 ) ),
Total %( 1, Format( "Fixed Dec", 2, 2 ) ),
Col %( 1, Format( "Fixed Dec", 2, 2 ) ),
Row %( 1, Format( "Fixed Dec", 2, 2 ) ),
Expected( 0, Format( "Best", 3 ) ),
Deviation( 0, Format( "Best", 3 ) ),
Cell Chi Square( 0, Format( "Fixed Dec", 2, 4 ) ),
Col cumulative( 0, Format( "Fixed Dec", 2, 0 ) ),
Col cumulative %( 0, Format( "Fixed Dec", 2, 2 ) ),
Row cumulative( 0, Format( "Fixed Dec", 2, 0 ) ),
Row cumulative %( 0, Format( "Fixed Dec", 2, 2 ) )
),
Mosaic Plot( 0 ),
Make Into Data Table,
);
Gracias !
Atentamente