cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
Choose Language Hide Translation Bar

Creating a New Data Table

Started ‎11-08-2022 by
Modified ‎11-08-2022 by
View Fullscreen Exit Fullscreen

You use the New Table function to create a new data table. Because there are no required arguments, you can create an empty, untitled data table by just using the function with nothing in the parentheses. But, there are several optional arguments that you'll typically use. The first unnamed argument is a character string that sets the name of the data table. There are also named arguments, including ones that add a specified number of rows, or make new data columns. Many of these arguments, in turn, take arguments of their own. For example, the code shown here creates a new table named Cars that has rows, and three columns: Make, Model, and Year. You could include other optional arguments for the table, such as making it invisible or adding a table variable or script. And of course you could supply additional arguments in the New Column specifications.