ifelse | R Documentation |
Questo 'ifelse0', a differenze di 'ifelse' non modifica lo shape dell'oggetto ritornato. (il che, oggettivamente l'e' una bischerata)
ifelse(test, a, b)
test |
un predicato che deve restituire 'TRUE/FALSE' |
a |
l'oggetto ritornato se ‘test' e’ 'TRUE' |
b |
l'oggetto ritornato se ‘test' e’ 'FALSE' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.