We know that there are many R functions organized in different packages, but we need to familiar with those functions like how and where to use. When we have a particular requirement then it’s better to write our own function and implement it. …


Exercise:
1. Create ‘income_data’ (vector) for 5 employees with the values 4400, 7700, 88000, 5500, 6600.
2. Create a new variable ‘tax’ and ‘year’ and 0.3 and 2021 as values respectively.
3. Create another new variable ‘company’ and “PinnacleVex KA Analytics” as value in it.
4. Derive ‘net_income’ by deducting ‘tax’ from the ‘income’.
5…


Exercise:
1. Create ‘income_data’ (vector) for 5 employees with the values 4400, 7700, 88000, 5500, 6600.
2. Create a new variable ‘tax’ and ‘year’ and 0.3 and 2021 as values respectively.
3. Create another new variable ‘company’ and “PinnacleVex KA Analytics” as value in it.
4. Derive ‘net_income’ by deducting ‘tax’ from the ‘income’.
5…


Continuation of Week4
3. Lists(Hybrid data type): A list is a collection of objects or components and which contain elements of different types like numbers, strings, vectors, and another list inside it. A list can also contain a matrix, or a function as its elements. We can create a list using…


R Data types
1. Vectors(Basic R Type)
2. Data Frames(Collection of vectors)
3. Lists(Collection of R objects)
4. Other type:
Matrix
Factor
Array

1. Vectors: The basic data structure in R is the vector (Default), and are the simplest R objects (an ordered list of objects of a given type).
Vectors…


Good Coding Practices(GCP) and Naming Convention in R

1. Must start with a letter (A-Z or a-z); or period(.) always follwed by letter(e.g. ‘.pinnaclevex’, not ‘.9pinnaclevex’).
2. Can contain letters, digits (0–9), and/or periods “.”
3. Use underscores (_) to separate words within a name.
4. Use names that are concise and meaningful…


1. Working with R
An object can be created on the fly using “<-” or “->” or “=” and also we can remove objects from environment using ‘rm()’.

PKAA=”PinnacleVex KA Analytics”
PKAA

x <- rnorm(100,mean=20,sd=5)
x
mean(x)
m <- mean(x)
m
std<-sd(x)
sd
std

#Removing an object
rm(PKAA,x,std)
PKAA
x…


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…


In recent years, we are continuously listening the word ‘Big Data’ due to it’s Higher Demand and High Salary. We can say that growth of the big data is exponential and exceptional, will continue to rule the IT world for the next couple of years to decades. …


1. What is Power BI?
Power BI is a business analytics service by Microsoft, and collection of software services, apps, and connectors that work together to turn your unrelated sources of data into coherent, visually immersive, and interactive insights. Your data may be an Excel spreadsheet, SharePoint or a collection of…

PinnacleVex KA Analytics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store