cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Increasing trend using Jmp Code

Hi,

I have a cycle (Cycle 2) that last for certain rows and then increases its step. For each cycle, I would like to make another column(Column 7) and assign an increasing trend of same numbers but I could not figure out the code for this. 

AlphaPanda86751_0-1661249324678.png

AlphaPanda86751_1-1661249461428.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Increasing trend using Jmp Code

Try Col Rank formula

Col Rank(:"Cycle 2"n, :"Cycle 2"n)

jthi_0-1661252880718.png

 

-Jarmo

View solution in original post

3 REPLIES 3
Georg
Level VII

Re: Increasing trend using Jmp Code

Perhaps it is ->> Tables --> Split that can help you?

 

Georg_0-1661250463931.png

 

Georg

Re: Increasing trend using Jmp Code

@George

Thanks

I don't have the trend column as you show. I want to create "trend" and assign an increasing order of numbers to it

I only have this 

AlphaPanda86751_0-1661251734369.png

 

jthi
Super User

Re: Increasing trend using Jmp Code

Try Col Rank formula

Col Rank(:"Cycle 2"n, :"Cycle 2"n)

jthi_0-1661252880718.png

 

-Jarmo

Recommended Articles