Choose Language Hide Translation Bar
Highlighted
aekw0
Level II

How to correctly refer to a column that is not in the current data table?

 

I've tried:

 

dt = Data Table("Big Class");
Distribution(Continuous Distribution(Column(dt,"height")));

but it doesn't work at all.

 

Thanks, Anna

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
ih
ih
Level VII

Re: How to correctly refer to a column that is not in the current data table?

You need to build the distribution on the big class table rather than the currently selected table, you can do that by sending the distribution script as a message:

 

dt << Distribution( Continuous Distribution( Column( :height ) ) );

View solution in original post

2 REPLIES 2
Highlighted
ih
ih
Level VII

Re: How to correctly refer to a column that is not in the current data table?

You need to build the distribution on the big class table rather than the currently selected table, you can do that by sending the distribution script as a message:

 

dt << Distribution( Continuous Distribution( Column( :height ) ) );

View solution in original post

Highlighted
aekw0
Level II

Re: How to correctly refer to a column that is not in the current data table?

Super, thank you!
Article Labels