R in Clinical World: WEEK1

PinnacleVex KA Analytics
2 min readApr 29, 2021

--

1. What is R?
R is a programming language, and is an open source free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing.

2. What are the main features of R?
It is a widely used programming language for data manipulations, statistical computing and graphics.
It is an open source language so we can install R for free.
Even non-techies can understand and do programming in R
It has data structures and operators as like in c, c++, Java and Python.
It consists of R packages which are inbuilt which makes reporting the reults of an analysis easy.
It has excellent visualization and graphical capabilities.
It is supported by a large user networks.
We can connect to any type of database.
We can find mostly all statistical algorithms.
It has Data Handling, Data mining , Text Mining, Big data & Machine learning capabilities

3. Setting up/Installation of R?
Download both R and RSTUDIO. Use below links to download.
Download the R
Download the RStudio IDE

4. RStudio
It is a free, and open-source integrated development environment (IDE) for R.
RStudio is an user-friendly UI for interacting with R not like R, R is command line interface so coding might be little slow for beginners.
RStudio gives us shortcuts for direct clicks.
All the commands typed in RStudio will be submitted to R, and the output will be fetched and displayed in R Studio.

5. R Environment
There are three main windows in R.
Console
Workspace
Output
A. R Console:This is where we type and submit the commands and mostly the output is presented in the console itself. Up and Down arrows used to recall previous command, and also we can type a partial command and then use ‘Tab’ key for autofill recommendations
B. Workspace:
While working in R session, all user defined objects are stored in a temporary(the objects in the workspace will last for just for that session, unless we save the workspace), working memory which is workspace.
We can enter commands interactively at the R user prompt and Up and down arrow keys scroll through your command history.
C. Output: It shows Graph , Table and Console outputs.

Practice:
Load Built-in datasets
library(datasets)

Example: Check top and last observation in the ‘iris’ dataset.
head(iris)
tail(iris)
summary(iris)

Create an Object:
“<-” or “->” or “=” are used to indicate assignment to an object.
p<-9
k<-2+7
a<-2*45
a<-sqrt(117)

Happy Learning !!! :)

My_website

LinkedIn

Youtube

Facebook

Twitter

Instagram

Youtube

Related Articles:

Introduction to POWER BI

PinnacleVex KA Analytics: BASICS OF MICROSOFT EXCEL

PinnacleVex KA Analytics: Basic Excel Formulas For Your Daily Workflow

PinnacleVex KA Analytics: Simple introduction to SQL

PinnacleVex KA Analytics: Clinical Trials

PinnacleVex KA Analytics Clinical Data Management

--

--

PinnacleVex KA Analytics
PinnacleVex KA Analytics

Written by PinnacleVex KA Analytics

PinnacleVex KA Analytics is a Healthcare and IT Service Provider Headquartered at Hyderabad, India.

No responses yet