It explains the syntax of this article in some more detail: In case you need further explanations on the code of this page, you may check out the following YouTube video on the Statistics Globe YouTube channel. Tutorial Video & Further Resources for Dealing with Numbers in R If we would like to change the options back to the default specification, we would have to restart RStudio, or we would have to save the default specification in the forefront. Note: The amount of digits has now been changed for our entire R session. If there would be more digits before the decimal point, the number of digits after the decimal point would be reduced (e.g. In our specific example, 2 digits before the decimal point and 3 digits after the decimal point. options(digits = 5)), we changed the number of maximum digits to 5. As you can see, the console output is a number with only three decimal places (in contrast to the five decimal places that we had before).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |