This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
⍝ https://ngn.github.io/apl/web/index.html#code=s%u21902%D71+%u237314%0Ax%u2190%28s%2C-s%29+%284%D7%u237328%29%0A%u2395%20%u2190x%5B%u234Bx%5D%0A%u2395%20%u2190+/x | |
s←2×1+⍳14 | |
x←(s,-s)+(4×⍳28) | |
⎕ ←x[⍋x] | |
⎕ ←+/x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((,-)(2*>:&i.14))+(4*i.28) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<label for="fieldName">Field name (include object):</label> | |
<input id="fieldName" name="fieldName" type="text" size="100" onkeydown="if (event.keyCode == 13) false"> | |
</form> | |
<p> | |
<input type="checkbox" id="isPicklist" name="isPicklist" value="picklist"> | |
<label for="isPicklist">Picklist?</label> | |
<input type="checkbox" id="isNot" name="isNot" value="not"> | |
<label for="isNot">NOT?</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rolling sum using the Reduce function | |
EV <- c(1,.9,.8,.001,.001,.001,.001) | |
# Proportion of variance explained by each principle component. | |
prop_var <- EV / sum(EV) | |
# 0.3698224852 0.3328402367 0.2958579882 | |
# 0.0003698225 0.0003698225 0.0003698225 | |
# 0.0003698225 |
OlderNewer