- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Collection of "funny" Jmp newbie questions
good to know:
- how to do this and that in Jmp?
- where Jmp is different from other programs
- where Jmp is different from Jmp (inconsistencies)
[More Topic Containers like this]
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
Is there a tutorial how to "slice" matrices?
I just found infos like this one
https://www.jmp.com/support/help/en/16.2/?os=win&source=application#page/jmp/subscripts-2.shtml
with some basic indexing like
mat[from::to, from2::to2]
Is indexing also possible "relative to the end" (minus sign doesn't work) or indexing with open start or end (leaving the slot empty doesn't work)?
mat[1::-1];mat[1::];mat[::]
edit: wish
https://community.jmp.com/t5/JMP-Wish-List/new-slicing-options-for-matrices/idi-p/559090#M2563
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
why is it
current data table()
data table("my name")
but
new table()
(without "data") - because there is no data yet in the table?
Here it seems that "tables" and "data tables" are something similar, but this is definitely not true:
https://community.jmp.com/t5/Discussions/Collection-of-quot-funny-quot-JSL-newbie-questions/m-p/5590...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
why are there so many messages that I can send to a data table but not
dt << n rows()
just working:
n rows (dt)
edit: wish
https://community.jmp.com/t5/JMP-Wish-List/lt-lt-n-rows-to-get-the-rows-of-a-data-table/idi-p/559101
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
Why does add row add a row to a data table - but doesn't add the values *)?
*) adding values with the same syntax just works for Table Boxes
dt = New Table( "Untitled" );
dt << add row( {1} );
New Window( "test",
tb = Table Box( String Col Box( "string col", {"a"} ),
Number Col Box( "number col", {1} ) )
);
tb << add row( {"b", 2} );
edited: wish to provide a shortcut function like add row(list of values) also for data tables
(very convenient for data collection in for loops - e.g. for debugging)
https://community.jmp.com/t5/JMP-Wish-List/easy-way-to-add-rows-amp-values-to-a-data-table/idi-p/559...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
The message
Obj << Add Row( {values, .....} )
is a valid message for the Display Object, Table Box
The message
Obj << Add Rows( ,n., ,At Start|At End|After(m)> | { list of ( column name = value ) pairs } ))
is a valid message to add rows to a data table.
Both messages allow for the adding of rows, but in different formats, since the objects are very different in functionality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
When I import a text file without header - why are the column names
and when I import the same file via "Import Multiple Files ...", they are
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
I assume it is because 2 different developers created the 2 different applications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
another one:
Is there something in JMP like freeze pane in Excel?
(in JMP it just makes sense wrt. columns:
i.e. to have some index columns visible on the left, independent of the actual position in the table.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Collection of "funny" JSL newbie questions
Lock Columns (jmp.com) might work