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
- :
- How do I change all columns in a data table to con...

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
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Sep 10, 2015 8:30 AM
(3085 views)

I need to change all the columns in a table to continuous. In a script

1 ACCEPTED SOLUTION

Accepted Solutions

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

Sep 10, 2015 12:20 PM
(4597 views)

Solution

dt = current data table**()**;

for **(**i = **1**, i <= ncols**(**dt**)**, i++,

column**(**dt, i**)** << **data type(**numeric**)**;

column**(**dt, i**)** << **set modeling type(**continuous**)**;

**)**;

1 REPLY

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

Sep 10, 2015 12:20 PM
(4598 views)

dt = current data table**()**;

for **(**i = **1**, i <= ncols**(**dt**)**, i++,

column**(**dt, i**)** << **data type(**numeric**)**;

column**(**dt, i**)** << **set modeling type(**continuous**)**;

**)**;