
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
Found 26504 Articles for Server Side Programming
How to find the number of rows in a data.table where two or more column values meet a criteria in R?

441 Views
To find the number of rows in a data.table where two or more column values meet a criteria, we can follow the below steps −First of all, create a data.table object.Find the number of rows meeting a criteria.Create data.table objectLet’s create a data.table object as shown below −x

359 Views
To find the number of unique values of multiple categorical columns based on one categorical column, we can follow the below steps −First of all, create a data frameUse summarise_each function with n_distinct function to find the number of unique values based on a categorical column.Create the data frameLet's create a data frame as shown below − Live Demox

721 Views
To check which element of a list which is a logical list is TRUE, we can follow the below steps −First of all, create a list with logical values.Use which function with unlist function to find the position of TRUE elements.Create the listLet’s create a list as shown below −List

170 Views
To create violin plot for categories with grey color palette in reverse order using ggplot2, we can follow the below steps −First of all, create a data frame.Then, create the violin plot for categories with color of violins in grey palette.Create the violin plot for categories with color of violins with grey palette in reverse order.Create the data frameLet's create a data frame as shown below − Live DemoGroup

361 Views
To create boxplot for categories with grey color palette in reverse order using ggplot2, we can follow the below steps −First of all, create a data frame.Then, create the boxplot for categories with color of bars in grey palette.Create the boxplot for categories with color of bars with grey palette in reverse order.Create the data frameLet's create a data frame as shown below − Live DemoGroup

424 Views
To create line chart for categories with grey color palette using ggplot2, we can follow the below steps −First of all, create a data frame.Then, create the line chart for categories with default color of lines.Create the line chart for categories with color of lines in grey palette.Create the data frameLet's create a data frame as shown below − Live Demox

1K+ Views
To create boxplot for categories with grey color palette using ggplot2, we can follow the below steps −First of all, create a data frame.Then, create the boxplot for categories with default color of bars.Create the boxplot for categories with color of bars in grey palette.Create the data frameLet's create a data frame as shown below − Live DemoGroup

220 Views
To create scatterplot for categories with grey color palette using ggplot2, we can follow the below steps −First of all, create a data frame.Then, create the scatterplot for categories with default color of points.Create the scatterplot for categories with color of points in grey palette.Create the data frameLet's create a data frame as shown below − Live Demox