How to check if a list contains any values from another list?
Is there an elegant one-liner for that rather than iterate through the second list using Contains() function?
Find courses, tutorials, and lots of other methods of learning JMP.
view all learning resourcesIs there an elegant one-liner for that rather than iterate through the second list using Contains() function?
I'm running into issues trying to script making a Tabulate object into a new data table. I've tried both syntaxes below, but neither creates the table. I'm using this as one step in a larger workflow. t2 = tbl << Tabulate(
Add Table(
Column Table( Grouping Columns( :Treatment ) ),
Row Table(
Analysis Columns(
:"Attribute 1"n,
:"Attribute 2"n,
:"Attribute 3"n,
:"Attribute 4"...
Microsoft Defender has been reporting vulnerabilities which can be reconciled by updating Python. We have 6 devices affected, but only 1 had Python installed manually. The other 5 trace back to jmp_python.exe. The JMP update function doesn't appear to affect Python. How do you intend to resolve the vulnerability reported?
In JMP, the values entered in the Text edit box can be retrieved using get text(); for items in the List box, they can be retrieved using get items().
Is there a way to get the currently selected items in the Filter of the current Graph? In the JSL below, I hope that when the Saving button above is pressed, I can obtain the items selected by the user in the Filter. How can I achieve this?
For exampl...
Hi, We recently converted our control charts to a control chart builder. What we see now is that our markers are underneath the limit and average line, which makes it hard to see. Is there an easy way to get them on top of these lines? This is what we get: This is what we want: I did notice that if I place a line manually it will go underneath the markers: So worst case we could calculate and pl...
Microsoft Defender has been reporting vulnerabilities which can be reconciled by updating Python. We have 6 devices affected, but only 1 had Python installed manually. The other 5 trace back to jmp_python.exe. The JMP update function doesn't appear to affect Python. How do you intend to resolve the vulnerability reported?
In JMP, the values entered in the Text edit box can be retrieved using get text(); for items in the List box, they can be retrieved using get items().
Is there a way to get the currently selected items in the Filter of the current Graph? In the JSL below, I hope that when the Saving button above is pressed, I can obtain the items selected by the user in the Filter. How can I achieve this?
For exampl...
Hi all, I want to make variability charts through my dataset. Here I have written the script below which does that. However, I would like to have a box show up and ask for y-axis limits for each of these charts. Then I can write min and max for the y-axis in the question box and it will adjust to this. Is that possible to do in JSL? Names Default To Here(1);
sd = currentdatatable();
Fitmod = {}; ...
Fox matrix indexing, one can use 0 and get a full slice:m = [ 1 2 , 3 4];
m[0,1]; // [1, 3] For Data tables this works as well: test = new table("test", For lists of lists, this is not possible:
add rows(10),
new column("col1",Character, set each value({"A","B","C"}[random integer(3)])),
new column("col2", set each value(random uniform(5))));
test[4,0]list= {{"A", 3},{"B", 5}};
list[0,1]Sure, the...
Hiya guys! I'm querying a boat load of historical data and I've noticed that the fetching rows pop up counts up to about 3x the number of rows that load (number of rows that load is approx. correct). I'm getting data 1 month at a time (it breaks if I ask for more) and the data logger runs just over 1Hz which means I should get around 2.5e6 rows at a time but the system says it fetches 7.5e6 rows...
I'm trying to run R code in JMP to create a plot. I succeeded in importing the plot in png format, but failed to adjust the size of the plot.
I can adjust the "plot_from_R" in png format with the set size(); function in jsl, but it is not proportional and distorted.
How can I import plot_from_R in the size I want?
R Init();
R Submit(
"\[
windows(300,100) #it doesn't work
plot(function(x) dnorm(...
from: https://www.jmp.com/support/help/en/18.1/?os=win&source=application#page/jmp/advanced-expressions-macros-and-lists.shtml# If you assign the expression x+y to a, quoting it as an expression with Expr, then whenever a is evaluated, it evaluates the expression using the current values of x and y and returns the result.
Exceptions are the utilities Show, Write, and Print, which do not evaluate e...
This works: Extract Expr(:height << set name( "new" ), :height ); But this one doesn't *):Extract Expr(myDataTable:height << set name( "new" ), myDataTable:height );Fortunately there is this dirty trick of Extract Expr (it automatically resolves every defined variable **) - which allows this workaround:x = Expr( myDataTable:height);
Extract Expr(myDataTable:height << set name( "new" ), x ) *) why...
fyi While debugging @replace Head, I noticed that a custom function evaluates the return values +1x compared to a standard function:myFunction = function({}, return(Expr(3*5)));
add custom functions (newcustom function("my custom", "function", function({}, return(Expr(3*5)))));
Show(myfunction());
Show(my custom:function())so maybe add another Expr() ...add custom functions (newcustom function("m...
Hello!I installed a script from a community response regarding the calculation of R²pred, as shown in the image below (I'm using JMP 18 pro): (link da resposta do @erich_gundlach https://community.jmp.com/t5/JMP-Add-Ins/Predicted-R-square-calculator/ta-p/39927) In PRESS, R²pred didn't appear. (Press is low because I haven't reduced the model yet, don't worry =)) I really need to show these R²pre...
Una introducción práctica para nuevos usuarios, usuarios con licencia de prueba o cualquier persona...
JMP Live offers JMP users collaborative analytics software to share analyses from JMP to a secure, c...
French Mastering JMP Transformez des données brutes en informations exploitables grâce à l’éditeur d...
EMEA Mastering JMP Experimenting with microbial and mammalian systems brings a multitude of data; bi...