Most voted questions in Data Analytics

0 votes
1 answer

batch file to run R Script

easy peasy. just pop the following into a ...READ MORE

May 24, 2020 in Data Analytics by anonymous
3,991 views
0 votes
0 answers

How to add color legend for box plots in R?

How to add color legend for box ...READ MORE

Jul 4, 2019 in Data Analytics by keerthi
1,420 views
0 votes
1 answer

% of nulls for each column in the dataset - R

Use code as below -  lapply(air,function(x) { length(which(is ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
909 views
0 votes
3 answers

Code snippet to find number of null values in each column in a dataframe in R

colSums(is.na(data_frame_name)) will return you number of nulls ...READ MORE

Jul 5, 2019 in Data Analytics by sindhu
17,025 views
0 votes
0 answers

How to add custom labels to charts in R?

How to add custom labels to charts ...READ MORE

Jul 4, 2019 in Data Analytics by Prerana
665 views
0 votes
1 answer

fetch all rows with null values in dataframe or dataset - R

Use below code -  which(is.na(air)) is.na() will return a boolean ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
10,694 views
0 votes
1 answer

Joining 2 vectors into 1 variable - R

A small trick that you can do ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
513 views
0 votes
1 answer

Read data from various csv and store it in one dataframe

Use rbind() to join both data frames ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
443 views
0 votes
1 answer

Convert character column to Date field in R Data frame

This is a good question. READ MORE

May 4, 2020 in Data Analytics by anonymous
809 views
0 votes
2 answers

Top N and Last N records in R Data Frame

Hi, top_n( ) and top_frac( ) also is ...READ MORE

Sep 3, 2019 in Data Analytics by anonymous
• 33,030 points
4,915 views
0 votes
0 answers

Join 2 columns based on condition in R

How to join 2 columns in R ...READ MORE

Jul 1, 2019 in Data Analytics by nikita
2,135 views
0 votes
1 answer

Replace columns containing row id into a constant value - R

Create a vector of the list of ...READ MORE

Jul 4, 2019 in Data Analytics by Cherukuri
• 33,030 points
481 views
0 votes
1 answer

Difference between [[1]] and [1] in R Programming

Hey Latha, The difference between them is that ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,030 points
5,924 views
0 votes
0 answers

Split a string and store it in multiple columns from a field in R

How to Split a string and store ...READ MORE

Jun 29, 2019 in Data Analytics by Anand
741 views
0 votes
1 answer

How to replace all occurrences of a character in a character column in a data frame in R

If you used sub() to replace the ...READ MORE

Jun 29, 2019 in Data Analytics by anonymous
• 33,030 points
17,559 views
0 votes
1 answer

substring of last N characters in R

Use below code -  If the elements within ...READ MORE

Jul 4, 2019 in Data Analytics by anonymous
• 33,030 points
483 views
0 votes
1 answer

How can I figure out if an R program was executed from the command line?

Try this code: if (interactive()) { print('Hello ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
427 views
0 votes
1 answer

R programming: Data Categorization

Try this: wineData$taste <- NA ...READ MORE

Jun 28, 2019 in Data Analytics by Zulaikha
• 910 points
719 views
0 votes
1 answer

How to change the datatype of any field in an external dataset in R?

Hi Anand, Try as below - class(dataset/dataframe$col_name) <- ...READ MORE

Jun 28, 2019 in Data Analytics by anonymous
• 33,030 points
547 views
0 votes
2 answers

Change the default order of labels of factor in R

You can also use relevel() to change ...READ MORE

Jun 27, 2019 in Data Analytics by sindhu
2,581 views
0 votes
2 answers

R Package installed or not

To see all installed packages in system ...READ MORE

Jun 27, 2019 in Data Analytics by anonymous
• 33,030 points
692 views
0 votes
1 answer

Difference between List(list1,list2) and c(list1,list2) in R

Hi Deepa, It's quite simple, let me explain ...READ MORE

Jun 26, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,762 views
0 votes
1 answer

Keras - R programming error

You haven't installed keras in the correct ...READ MORE

Jun 17, 2019 in Data Analytics by Sophie may
• 10,610 points
732 views
0 votes
1 answer
0 votes
1 answer

Using Cuda: Tensorflow error

This command will tell you which processes ...READ MORE

Jun 13, 2019 in Data Analytics by Zulaikha
• 910 points
500 views
0 votes
1 answer

Error while importing Tensorflow

Start by uninstalling tensorflow and protobuf and reinstall them. Use ...READ MORE

Jun 13, 2019 in Data Analytics by Zulaikha
• 910 points
675 views
0 votes
1 answer

Converge style functional using R

This should do it: do.call("rbind", lapply(filenames, loadFile)) READ MORE

Jun 7, 2019 in Data Analytics by Zulaikha
• 910 points
407 views
0 votes
1 answer

Scraping columns from a website by using R Programming

Here's an example, use the html_table : library(rvest) library(dplyr) url <- ...READ MORE

Jun 7, 2019 in Data Analytics by Zulaikha
• 910 points
545 views
0 votes
1 answer

Pycharm error: could not find a version that satisfies the requirement

Check the python version installed. Tensorflow is ...READ MORE

May 29, 2019 in Data Analytics by Zulaikha
• 910 points
2,846 views
0 votes
1 answer

R programming error: { : missing value where TRUE/FALSE needed "

This should work: for ( i in 1:dim(m)[[1]] ...READ MORE

May 28, 2019 in Data Analytics by Zulaikha
• 910 points
21,759 views
0 votes
1 answer

R programming error: Plot error - “Col=”red“

Fix this line: polygon(c(0,0,1),c(1,2,1), col="red", density=c(30, ...READ MORE

May 28, 2019 in Data Analytics by Zulaikha
• 910 points
671 views
0 votes
1 answer

Probabilities in R programming

This should work: poker_face <- replicate(1000, sample(poker, size ...READ MORE

May 27, 2019 in Data Analytics by Zulaikha
• 910 points
1,408 views
0 votes
1 answer

Changing variable values using R programming

This should work: df$symbol <- as.character(df$symbol) df$symbol[df$symbol == "ABCD.BO"] ...READ MORE

May 27, 2019 in Data Analytics by Zulaikha
• 910 points
715 views
0 votes
1 answer

What does the sink function do in R?

sink diverts R output to a connection ...READ MORE

May 24, 2019 in Data Analytics by Chandu
965 views
0 votes
2 answers

Tensorflow installation error

Hi there, If you are trying to install ...READ MORE

Jul 16, 2020 in Data Analytics by Suhana
• 340 points
3,018 views
0 votes
1 answer

Unable to install TA-Lib on Pycharm

It took me a while to solve ...READ MORE

May 15, 2019 in Data Analytics by Sophie may
• 10,610 points
5,088 views
0 votes
1 answer

R programming error: Not enough Java heap space

Try this, it worked for me: options(java.parameters="-Xmx4000m&q ...READ MORE

May 15, 2019 in Data Analytics by Tyrion anex
• 8,700 points
427 views
0 votes
1 answer

Does R provide support for Julia?

The RJulia package is provided by R programming. ...READ MORE

May 15, 2019 in Data Analytics by Tyrion anex
• 8,700 points
396 views
0 votes
1 answer

R programming: Reading a table in R

Try this code: dat <- read.table("~/data/data.txt", quote="\"", ...READ MORE

May 13, 2019 in Data Analytics by Sophie may
• 10,610 points
1,408 views
0 votes
1 answer

R programming error — twitteR OAuthFactory object

Make sure you have installed the required ...READ MORE

May 13, 2019 in Data Analytics by Sophie may
• 10,610 points
492 views
0 votes
2 answers

What is supervised learning?

Supervised learning is the machine learning task ...READ MORE

Sep 3, 2019 in Data Analytics by anonymous
• 33,030 points
1,399 views
0 votes
1 answer

Calculating quantiles in R.

You can follow this code: y <- rnorm(100) ...READ MORE

May 2, 2019 in Data Analytics by Tyrion anex
• 8,700 points
810 views
0 votes
1 answer

R programming: Emacs mode

You can go through the ESS documentation ...READ MORE

May 2, 2019 in Data Analytics by Tyrion anex
• 8,700 points
507 views
0 votes
1 answer

R programming: Linear Equation

Use expand.grid to get all possible combinations ...READ MORE

Apr 30, 2019 in Data Analytics by Sophie may
• 10,610 points
676 views
0 votes
1 answer

R Programming: Twitter OAuthFactory error

Have you installed 'ROAuth' and 'RCurl' packages? ...READ MORE

Apr 30, 2019 in Data Analytics by Sophie may
• 10,610 points
1,366 views
0 votes
1 answer

How to run a file with .r extension?

Follow the below command: C:\Program Files\R\R-3.1.1\bin\Rscript.e ...READ MORE

Apr 30, 2019 in Data Analytics by Tyrion anex
• 8,700 points
788 views
0 votes
1 answer

R programming: Using Caret package to implement Random Forest

You can check out the official docs ...READ MORE

Apr 30, 2019 in Data Analytics by Tyrion anex
• 8,700 points
521 views
0 votes
2 answers

How can I group a set of values by column using R programming?

Try this , Employee %>% group_by(EmpID) %>% mutate(SumSalary ...READ MORE

Aug 14, 2019 in Data Analytics by anonymous
610 views
0 votes
1 answer

R Programming: MS Residual functions

Here's an example, you can try this ...READ MORE

Apr 26, 2019 in Data Analytics by Sophie may
• 10,610 points
456 views
0 votes
1 answer

How to start your journey with Data Analytics

Since you're new to the field, I'd ...READ MORE

Apr 25, 2019 in Data Analytics by Vardhan
• 13,190 points
419 views