cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-780753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDaten%20initialisieren%20%E2%80%93%20sehr%20n%C3%BCtzlich%20%E2%80%93%20aber%20fragil!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHallo%2C%20die%20Einstellungen%20%3CSTRONG%3Ezum%20Initialisieren%20der%20Daten%3C%2FSTRONG%3E%20im%20Spaltenmen%C3%BC%20sind%20sehr%20n%C3%BCtzlich.%3CBR%20%2F%3E%20Wer%20hat%20es%20geschafft%2C%20die%20Einstellungen%20%C3%BCber%20JSL%20zu%20steuern%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EIm%20Skriptindex%20habe%20ich%20gerade%20gefunden%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_2-1723308563244.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67022iF9EC9A76293C1199%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_2-1723308563244.png%22%20alt%3D%22hogi_2-1723308563244.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ewas%20zum%20Modus%20%22Konstant%22%20passt.%20Wie%20kann%20ich%20die%20anderen%20Modi%20einstellen%3F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723307960193.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67020iC7FF90870C65ED6D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_0-1723307960193.png%22%20alt%3D%22hogi_0-1723307960193.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-780753%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780763%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Daten%20initialisieren%20%E2%80%93%20sehr%20n%C3%BCtzlich%20%E2%80%93%20aber%20fragil!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780763%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ENur%20%E2%80%9EKonstant%E2%80%9C%20und%20%E2%80%9EHeute%E2%80%9C%20verwenden%20speziell%20Anfangsdaten%2C%20der%20Rest%20erstellt%20sie%20f%C3%BCr%20jede%20Zeile%20(der%20JMP-Aktionsrekorder%20scheint%20Aktionen%20f%C3%BCr%20die%20Initialisierung%20der%20Daten%20%E2%80%9EKonstant%E2%80%9C%20und%20%E2%80%9EHeute%E2%80%9C%20falsch%20aufzuzeichnen).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Daten%20initialisieren%20%E2%80%93%20sehr%20n%C3%BCtzlich%20%E2%80%93%20aber%20fragil!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780768%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F14366%22%20target%3D%22_blank%22%3E%40jthi%3C%2FA%3E%20schrieb%3A%3CBR%20%2F%3E%3CP%3E%20Nur%20Konstanten%20und%20Heute%20verwenden%20speziell%20Anfangsdaten%2C%20der%20Rest%20erstellt%20sie%20f%C3%BCr%20jede%20Zeile%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EAh%2C%20richtig%2C%20guter%20Punkt.%20%C3%9Cberraschend%20...%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3EToday()%3C%2FFONT%3E%20%3CSPAN%3Eist%20wirklich%20(!!!)%20n%C3%BCtzlich.%3CBR%20%2F%3E%3C%2FSPAN%3E%20Jede%20neue%20Zeile%20wird%20mit%20dem%20aktuellen%20Zeitstempel%20hinzugef%C3%BCgt%20%E2%80%93%20eine%20Art%20versteckte%20%E2%80%9EMagie%E2%80%9C%2C%20die%20im%20Skript%20f%C3%BCr%20die%20Datentabelle%20nicht%20sichtbar%20ist.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_3-1723316051681.png%22%20style%3D%22width%3A%20207px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67026i2FB7DF890A837ECE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_3-1723316051681.png%22%20alt%3D%22hogi_3-1723316051681.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20Schade%2C%20dass%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3ESequence%20Data%3C%2FFONT%3E%20und%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3ERandom%3C%2FFONT%3E%20nur%20am%20Anfang%20zug%C3%A4nglich%20sind%20-%20keine%20Chance%2C%20sie%20sp%C3%A4ter%20auszul%C3%B6sen%3A%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1723314837949.png%22%20style%3D%22width%3A%20261px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67023iD599806EB177870E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_0-1723314837949.png%22%20alt%3D%22hogi_0-1723314837949.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3CSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3EUnd%20wenn%20ein%20Benutzer%20die%20Einstellung%20auf%20%E2%80%9E%3C%2FSPAN%3E%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3EFehlt%2FLeer%E2%80%9C%3C%2FFONT%3E%20%C3%A4ndert%20%3CSPAN%3Eoder%20die%20M%C3%B6glichkeit%20vers%C3%A4umt%2C%20eine%20Einstellung%20%3CSTRONG%3Ef%C3%BCr%20das%20Initialisierungsdatum%3C%2FSTRONG%3E%20festzulegen%2C%20bevor%20er%20den%20ersten%20Wert%20in%20die%20Spalte%20schreibt%2C%20verliert%20er%20die%20M%C3%B6glichkeit%2C%20das%20Men%C3%BC%20anzuzeigen.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20Also%2C%20einige%20Dinge%2C%20die%20in%20einer%20zuk%C3%BCnftigen%20Version%20von%20JMP%20verbessert%20werden%20k%C3%B6nnten%20...%3CBR%20%2F%3E%20Andererseits%20wei%C3%9F%20ich%20nicht%2C%20ob%20andere%20JMP-Benutzer%20diese%20Funktion%20nutzen%3CBR%20%2F%3E%20%E2%80%93%20und%20wie%20viele%20von%20ihnen%20sich%20durch%20die%20aktuelle%20Funktionalit%C3%A4t%20eingeschr%C3%A4nkt%20f%C3%BChlen.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Daten%20initialisieren%20%E2%80%93%20sehr%20n%C3%BCtzlich%20%E2%80%93%20aber%20fragil!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWenn%20ich%20JSL%20verwende%2C%20um%20Spalten%20zu%20erstellen%20und%20Werte%20f%C3%BCr%20diese%20Spalten%20anzugeben%2C%20neige%20ich%20dazu%2C%20sehr%20spezifisch%20zu%20sein%20und%20Dinge%20zu%20tun%20wie%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%3DNew%20Table()%3B%0A%0Ac%3Ddt%26lt%3B%3CNEW%20column%3D%22%22%3E%3C%2FNEW%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MathStatChem_0-1723354883309.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67028i7928BE9969AE72B6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22MathStatChem_0-1723354883309.png%22%20alt%3D%22MathStatChem_0-1723354883309.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FCODE%3E%3C%2FP%3E%3CP%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%20%3C%2FCODE%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780793%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EBetreff%3A%20Daten%20initialisieren%20%E2%80%93%20sehr%20n%C3%BCtzlich%20%E2%80%93%20aber%20fragil!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780793%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3EDas%20Einstellen%20jedes%20Werts%3C%2FFONT%3E%20ist%20sehr%20bequem.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%3ARandom%20Normal%20Data%20%26lt%3B%26lt%3B%20Set%20Each%20Value(Random%20Normal())%3B%0A%3A%20%22All%20A's%22n%20%26lt%3B%26lt%3B%20set%20each%20value(%22A%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3EEs%20kann%20auch%20w%C3%A4hrend%20der%20Erstellung%20der%20Spalte%20verwendet%20werden%3A%20%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3ENeue%20Spalte(%22col%22%2C%20setze%20jeden%20Wert()).%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EIch%20hoffe%2C%20es%20beh%C3%A4lt%20seine%20Vielseitigkeit%3A%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FJMP-Wish-List%2FMake-using-formula-expressions-in-Set-Each-Value-and-using%2Fm-p%2F666966%23U666966%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-idea-thread%20lia-fa-icon%20lia-fa-idea%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3EUnterst%C3%BCtztes%20Verhalten%20durch%20Verwendung%20von%20Formelausdr%C3%BCcken%20in%20%E2%80%9ESet%20Each%20Value%E2%80%9C%20und%20Verwendung%20von%20Ausdr%C3%BCcken%20als%20erstes%20Argument%20in%20statistischen%20Formeln%20in%20Spalten%3C%2FA%3E%20%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
hogi
Level XII

Initialize data - very useful - but fragile!

Hi, the initialize data settings in the column menu are quite useful.
Who managed to control the settings via JSL?

In the scripting index, I just found:

hogi_2-1723308563244.png

which fits to "constant" mode. How can I set the other modes?

 

hogi_0-1723307960193.png

4 REPLIES 4
jthi
Super User

Re: Initialize data - very useful - but fragile!

Only constant and today are specifically using initial data, rest are building them using for each row (JMP action recorder seems to be recording actions for Constant and Today data initialization incorrectly).

-Jarmo
hogi
Level XII

Re: Initialize data - very useful - but fragile!


@jthi wrote:

Only constant and today are specifically using initial data, rest are building them using for each row 


Ah right, good point. Surprising ...


Today() is really (!!!) useful.
Every new row is added with the current timestamp -  some hidden "magic" which is not visible from the script for the data table.

hogi_3-1723316051681.png

A pity that Sequence Data and Random are just accessible in the beginning - no chance to trigger them later:
hogi_0-1723314837949.png

And when a user changes the setting to
Missing/Empty or misses the chance to define a  Initialize Date setting before he writes the first value into the column - he loses his chance to see the menu. 

So, some things that could be improved in a future version of JMP ...
On the other hand, I don't know id other JMP users use this feature
- and how many of them feel limited by the current functionality.

MathStatChem
Level VI

Re: Initialize data - very useful - but fragile!

When I use JSL to create columns and specify values for those columns, I tend to be very specific and do things like

dt=New Table();

c=dt<<New Column("Random Normal Data");
dt << Add Rows(20);

c << Set Values(J(nrows(dt), 1, Random Normal()));

c=dt << New Column("All Ones");
c << set values(J(nrows(dt), 1));

dt << New Column("All A's", Character);

for each row(
	:"All A's"n = "A"
);

MathStatChem_0-1723354883309.png

 

hogi
Level XII

Re: Initialize data - very useful - but fragile!

Set each value is very convenient.

 

:Random Normal Data << Set Each Value(Random Normal());
: "All A's"n << set each value("A");


It can also be used during the creation of the column: New Column("col", set each value()).

 

I hope it keeps it's versatility:

Make using formula expressions in Set Each Value and using expressions as first argument in Col stat...