Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

if and else if in r

if ( test_expression1) {
statement1
} else if ( test_expression2) {
statement2
} else if ( test_expression3) {
statement3
} else {
statement4
}
Source by www.datamentor.io #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+1 =