AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
While loop in r example4/7/2024 Even an assignment is an expression whose result is the value assigned, and it may be used wherever any expression may be used in particular multiple assignments are possible. R is an expression language in the sense that its only command type is a function or expression which returns a result. In this section we will explore some simple, yet powerful, programming tools in R, such as loops, if-then and while statements. One of the most powerful features of R is in being able to do programming, without a lot of the low-level detailed bookkeeping issues that one needs to keep track of in other computer programming languages like C, Java, Perl, etc. So far we have mainly used R for performing one-line commands on vectors or matrices of data. Programming Loops and If-then/for/while Statements
0 Comments
Read More
Leave a Reply. |