
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

425 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 two numerical − Live Demox

532 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 − Live Demox

903 Views
To remove only first row from a data.table object we can follow the below steps −First of all, creating the data.table object.Subsetting the data frame with single square brackets by negation of 1Example1Create the data frameLet's create a data frame as shown below −library(data.table) x1

768 Views
Converting a variable into zero mean and unit variance means that we want to standardize the variable and it can be done with the help of scale function we can follow the below steps −First of all, creating data frame.Then using scale function to convert the variable into zero mean and unit variance.Create the data frameLet's create a data frame as shown below − Live Demox

331 Views
To create a line chart using ggplot2 that touches the edge we can follow the below steps −First of all, creating data frame.Then loading ggplot2 package and creating the line chart in default manner.After that creating the line chart with coord_cartesian function.Create the data frameLet's create a data frame as shown below − Live Demox

2K+ Views
To test for the difference between two regression coefficients, we can follow the below steps −First of all, creating data frame.Then creating a regression model.After that testing the difference between regression coefficients using LienarHypothesis function of car package.Create the data frameLet's create a data frame as shown below − Live Demox1

397 Views
If we have only one non-NA value in an R data frame column and a column that is categorical then we might want to replace the NAs with the given non-NA. For this purpose, we can follow the below steps −First of all, creating a data frameThen replacing the NA with non-NA with the help of min function of base R and mutate function of dplyr package.Create the data frameLet's create a data frame as shown below − Live DemoGrp

1K+ Views
Suppose we have a numerical column in an R data frame that we do not want to include our analysis due to some characteristics such is similarity or distinction with the rest of the data then we might want to exclude that column from the analysis. One such situation would be finding the row sums by excluding a column. For this purpose, we can use the below steps −First of all, creating a data frame.Finding the row sums with the help of mutate function of dplyr package and setdiff function in base RCreate the data frameLet's create a data frame ... Read More

5K+ Views
The facetted histograms are the separated histograms created for different categories in a single plot window. We can follow the below steps to create such type of histograms using ggplot2 −First of all, create the data frame.Load the ggplot2 package and create facetted histogram with the help of facet_grid function of ggplot2 package.Create the data frameLet's create a data frame as shown below − Live DemoGroup