R 2.3 - if() Statements, Logical Operators, and the which() Function

110 142
174.8
Следующее
Популярные
Опубликовано 1 июля 2013, 18:12
if-else statements are a key component to any programming language. This video introduces how to effectively use these statements in R and also clarifies some nuances of logical operators in R. Two related functions are also introduced: ifelse() as a shortcut that can be used to create faster and more readable code, and the which() function that retrieves the positions in a Boolean vector that are TRUE.
автотехномузыкадетское