In this post I take a look at how JSL can be used to perform string manipulation.
The JMP scripting language has a number of convenient functions for handling files external to JMP. Here’s an example:
// purge the temporary folder
files = filesIndirectory(tmpDir);
path = convertFilePath(files[i],base(tmpDir));
JSL is often described as a scripting language. Personally I think that doesn’t do it justice. I prefer to think of it as a programming language. The difference? For me an obvious difference is that instead of using hard-coded values I want to use variables. In particular I want to use variables to handle column references.
I’m sure there is a more technically correct term for this: I use the phrase segmented regression to describe the process whereby I select a segment of data within a curve and build a regression model for just that segment.
I have some code to aid the process. The code illustrates how to perform regression on-the-fly as well as how to utilise the MouseTrap function to handle mouse movement events.
Since writing this post I have placed the associated code on the
JMP File Exchange …
The problem with the internet is that it gives you too much information, or rather, it takes too long to gather the information. I often cross reference hotel booking sites with TripAdvisor, and its a laborious process. So this evening I decided to streamline my process by writing a script to gather to user reviews into a JMP table and simple report.
This is one of a series of posts highlighting new features available in version 13 of JMP.
Pick Directory is a JSL function that is used to allow the user to select a directory on the computer. Sometimes you don’t know where to look for data, or where to save data, so you ask the user using this function.