Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Re: tabulate: adding analysis columns using values from a list of strings

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Oct 15, 2012 8:53 AM
(5305 views)

I have a list of strings which represent column name. I want to Tabulate a data table using this list as the Analysis Columns.

My script resembles:

abc = { "A", "B", "C", "D" };

Tab = dt << Tabulate(

Show Control Panel( 0),

Add Table(

Column Table( **Analysis Columns( abc**)))

);

There is a problem when JMP runs the Analysis Columns. Does anyone know how I could make this work?

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Use EVAL LIST.

abc = **{**"A", "B", "C", "D"**}**;

dt = Current Data Table**()**;

Tab = dt << Tabulate**(**

Show Control Panel**(** **0** **)**,

Add Table**(** Column Table**(** Analysis Columns**(** Eval List**(** abc **)** **)** **)** **)**

**)**;

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Use EVAL LIST.

abc = **{**"A", "B", "C", "D"**}**;

dt = Current Data Table**()**;

Tab = dt << Tabulate**(**

Show Control Panel**(** **0** **)**,

Add Table**(** Column Table**(** Analysis Columns**(** Eval List**(** abc **)** **)** **)** **)**

**)**;

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Re: tabulate: adding analysis columns using values from a list of strings

That was an easy fix!

Thank you very much