Posts

Showing posts from August, 2025

R Programming Journal – Shanzay

Image
Introduction to Vectors in R A collection of items of the same kind, such as words, integers, or TRUE/FALSE values, is called a vector in R.Consider it as a row of data that may be stored in a single object.  Almost all data analysis tasks in R begin with vectors, whether you're doing computations or creating more complex structures like tables and data frames. You can perform fast, effective actions on your whole dataset in a single step rather than looping over each value individually, thanks to R's ability to handle a complete vector at once. Installation Process During the installation of R and RStudio, I had no problems. The procedure was simple. I installed RStudio after installing R through the CRAN website. I tested both scripts by executing basic commands on the terminal, and they both started correctly.