cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Jaz
Jaz
Level IV

Changing Column Data Types

Hi,

 

I wanted to change my column data types to continuous and numeric but the following is giving me a scriptable[] error, I'm not sure what that means.

Column(dt, 1) << Data Type( Numeric ); Column(dt, 1) << Set Modeling Type (Conitnuous);

So, I used this next line of code:

 

dt:Column(1) << Data Type( Numeric );
dt:Column(1) << Set Modeling Type( Continuous );

But it still doesn't like it.

 

 

Any suggestions would be appreciated.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Changing Column Data Types

n your first example, the word Continuous is spelled incorrectly.

In the second example, the reference to your column is incorrect.  It should be:

Column(dt,1) << Data Type( Numeric );
Column(dt,1) << Set Modeling Type( Continuous );

or it could be collapsed into one statement

Column(dt,1) << Data Type( Numeric ) << Set Modeling Type( Continuous );
Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Changing Column Data Types

n your first example, the word Continuous is spelled incorrectly.

In the second example, the reference to your column is incorrect.  It should be:

Column(dt,1) << Data Type( Numeric );
Column(dt,1) << Set Modeling Type( Continuous );

or it could be collapsed into one statement

Column(dt,1) << Data Type( Numeric ) << Set Modeling Type( Continuous );
Jim
Jaz
Jaz
Level IV

Re: Changing Column Data Types

Thanks.