![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
1K+ Views
To convert year, month, and day of the month into a complete date, we can follow the below steps −Create a data frame with Year, Month and DayOfMonth as separate columns.Use mutate function of dplyr package to create complete date.Create the data frameLet's create a data frame as shown below ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
340 Views
To divide data frame rows by number of columns in R, we can follow the below steps −First of all, create a data frame.Then, use apply function to divide the data frame rows by number of columns.Create the data frameLet's create a data frame as shown below − Live DemoxRead More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
100 Views
When we roll a die three times, the sample space contains two hundred and sixteen outcomes that is 216. If we want to generate the outcome of three throws of a die then expand.grid function can be used with rep and list function.Generating the outcome of three throws of a ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
125 Views
To find the proportion of categories based on another categorical column in R's data.table object, we can follow the below steps −First of all, create a data.table object.Finding the proportion based on categorical column.Create a data.table objectLoading data.table package and creating a data.table object with two categorical columns −library(data.table) Category1Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
118 Views
To divide the row values by row sum in R’s data.table object, we can follow the below steps −First of all, create a data.table object.Then, use apply function to divide the data.table object row values by row sum.Create the data.table objectLet’s create a data.table object as shown below −library(data.table) xRead More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
257 Views
To create density plot for categories filled with different colors, we can follow the below steps −Frist of all, create a data frame.Load ggplot2 package and creating the density plot for the categories.Create the density plot for the categories in the data frame by using fill function.Create the data frameLet's ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
536 Views
To create density plot for categories, we can follow the below steps −Frist of all, create a data frame.Load ggplot2 package and creating the density plot for the whole data.Create the density plot for the categories in the data frame by using col function.Create the data frameLet's create a data ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
654 Views
If na.rm is set to TRUE using dplyr package then the output for statistical operations returns NaN. To avoid this, we need to exclude na.rm. Follow below steps to understand the difference between the tw −First of all, create a data frame.Summarise the data frame with na.rm set to TRUE ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
314 Views
To label points in scatterplot created by using xyplot, we can follow the below steps −First of all, creating two numerical and one categorical vector.Loading lattice package and creating scatterplot.Creating the scatterplot with points labelled using categorical vector by panel.xyplot and ltext function.Creating the vectorsCreate three vectors, one categorical and ... Read More
![Nizamuddin Siddiqui](https://www.tutorialspoint.com/assets/profiles/218290/profile/60_42434-1594357075.jpg)
Nizamuddin Siddiqui
364 Views
To display categorical column name in facet grid, we can use the following steps −First of all, creating data frame.Loading ggplot2 package and creating a chart with facetsCreating the chart with facets and labeller function to display categorical column nameCreate the data frameLet's create a data frame as shown below ... Read More