
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Nizamuddin Siddiqui has Published 2307 Articles

Nizamuddin Siddiqui
263 Views
To find the row median of columns having same name in R data frame, we can follow the below steps −First of all, create a data frame with some columns having same name.Then, use tapply along with colnames and median function to find the row median of columns having same ... Read More

Nizamuddin Siddiqui
5K+ Views
To increase the width of axes tick (both X-axis and Y-axis at the same time) using ggplot2 in R, we can use theme function with axis.ticks argument where we can set element_line argument size to a larger value.For Example, if we have a data frame called df that contains a ... Read More

Nizamuddin Siddiqui
7K+ Views
To increase the width of axes (both X-axis and Y-axis at the same time) using ggplot2 in R, we can use theme function with axis.line argument where we can set element_line argument to a larger value.Check out the Example given below to understand how it can be done.ExampleFollowing snippet creates ... Read More

Nizamuddin Siddiqui
667 Views
To convert first letter into capital in single column data frame in R, we can follow the below steps −First of all, create a data frame with string column.Then, use sub function along with mutate function of dplyr package to convert first letter into capital in string column.ExampleCreate the data ... Read More

Nizamuddin Siddiqui
2K+ Views
To change the border style of a plot using ggplot2 in R, we can use theme function with panel.border argument where we can change the linetype for the plot border using element_rect. There are many linetypes and we can use them as desired.Check out the Example given below to understand ... Read More

Nizamuddin Siddiqui
6K+ Views
To extract the first n values of all elements of a list in R, we can follow the below steps −First of all, create a list.Then, use head function with sapply function to extract the first n values of all elements in the list.Example 1Create the listLet’s create a list ... Read More

Nizamuddin Siddiqui
1K+ Views
To find the column name that contains value greater than a desired value in each row of an R data frame, we can use apply function along with lapply function.For Example, if we have a data frame called df and we want to extract column names for each row having ... Read More

Nizamuddin Siddiqui
181 Views
Sometimes we want to graphs that looks like graphs on a white paper having no axes labels, axes titles, and ticks, therefore, we can use theme_classic function of ggplot2 package.For Example, if we have a data frame called df that contains two columns say x and y then we can ... Read More

Nizamuddin Siddiqui
5K+ Views
To extract the last value of all elements of a list in R, we can follow the below stepss −First of all, create a list.Then, use tail function with sapply function to extract the last value of all elements in the list.Example 1Create the listLet’s create a list as shown ... Read More

Nizamuddin Siddiqui
855 Views
To repeat a whole data.table object in R, we can follow the below steps −First of all, create a data.table object.Then, use rep function to repeat the data.table object.ExampleCreate the data.table objectLet’s create a data.table object as shown below −library(data.table) xRead More