Subscribe Bookmark RSS Feed

How do I change all columns in a data table to continuous. I built the table from a csv file so all subsets are character

gene

Community Trekker

Joined:

Jun 23, 2011

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

1 REPLY
pmroz

Super User

Joined:

Jun 23, 2011

dt = current data table();

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

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

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

);