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
163 Views
To find the range of columns if some columns are categorical in R data frame, we can follow the below steps −First of all, create a data frame.Then, use numcolwise function from plyr package to find the range of columns if some columns are categorical.ExampleCreate the data frameLet’s create a ... Read More
Nizamuddin Siddiqui
982 Views
To convert values in alternate rows to negative in R data frame column, we can follow the below steps −First of all, create a data frame.Then, use vector multiplication with 1 and minus 1 to convert values in alternate rows to negative.ExampleCreate the data frameLet’s create a data frame as ... Read More
Nizamuddin Siddiqui
557 Views
To find the percent of NAs in each row of an R data frame, we can follow the below steps −First of all, create a data frame.Then, use rowSums function and ncol function along with apply function to find the percent of NAs in each row of the data frameExampleCreate ... Read More
Nizamuddin Siddiqui
299 Views
To find the row variance 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 var function to find the row variance of columns having same ... Read More
Nizamuddin Siddiqui
342 Views
To change the sign of even number rows in an R data frame column, we can follow the below steps −First of all, create a data frame.Then, use vector multiplication with 1 and minus 1 to change the sign of even number rows.ExampleCreate the data frameLet’s create a data frame ... Read More
Nizamuddin Siddiqui
121 Views
To find the percent of zeros in each row of a data.table object in R, we can follow the below steps −First of all, create a data.table object.Then, use rowSums function along with ncol function to find the percent of zeros in each row of the data.table object.ExampleCreate the data.table ... Read More
Nizamuddin Siddiqui
147 Views
To find the row standard deviation 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 sd function to find the row standard deviation of columns ... Read More
Nizamuddin Siddiqui
2K+ Views
To multiply row values in a data frame having multiple rows with single row data frame in R, we can follow the below steps −First of all, create a data frame with multiple rows and a data frame with single row.Then, use mapply function to multiply row values in the ... Read More
Nizamuddin Siddiqui
162 Views
To find the row standard deviation of columns having same name in data.table object in R, we can follow the below steps −First of all, create a data.table object with some columns having same name.Then, use tapply along with colnames and sd function to find the row standard deviation of ... Read More
Nizamuddin Siddiqui
1K+ Views
To find the percentage of zeros in each column of a data frame in R, we can follow the below steps −First of all, create a data frame.Then, use colSums function along with nrow function to find the percentage of zeros in each column.Example 1Create the data frameLet’s create a ... Read More