cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
chfields
Level II

Is it possible to create Histograms from a list?

I have data sets where data is in Columns.  I want to create histograms for each parameter.

I know that I could stack the data and us the following command:

Current Data Table() << Distribution( Continuous Distribution( Column( :param_value ) ), By( :param_name ) );

I would like to use a list to create the histograms as I have code to work on each column individually.

I have tried the following with no luck:

::param_list = {:parameter1, :parameter2, :parameter3, :parameter4};

Current Data Table() << Distribution( Continuous Distribution( Column( ::param_list ) ));

2 REPLIES 2

Re: Is it possible to create Histograms from a list?

You could grab the data from the table as a matrix.  Take a single row of data and transpose it - giving you the list of data required by the distribution platform.

Best,

M

Kevin_Anderson
Level VI

Re: Is it possible to create Histograms from a list?

Try this (you need to evaluate the list!):

Semi_dt = Open( “$SAMPLE_DATA/Semiconductor Capability.jmp” );

cont_lst = Semi_dt << Get Column Names( Continuous );

Distribution( Column( Eval( cont_lst ) ),  Ignore Platform Preferences( 1 ), Histograms Only );

Recommended Articles