Uutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaUutta! Yksityisnäkymä
BetaThe ternary operator can also be viewed as a binary map operation. In R—and other languages with literal expression tuples—one can simulate the ternary operator with something like the R expression c (expr1, expr2) (this idiom is slightly more natural in languages with 0-origin subscripts). Nested ternaries can be simulated as c (expr1, expr2, expr3)[which.first ((c (cond1 ...
Wikipedia