Most viewed questions in Data Analytics

0 votes
1 answer

compare actual values vs predicted values in decision tree

You can compare test data using table() ...READ MORE

Aug 25, 2019 in Data Analytics by Cherukuri
• 33,050 points
3,172 views
0 votes
1 answer

How to set the width of navlistPanel in Shiny? - R

The widths are the widths of the ...READ MORE

Jun 13, 2020 in Data Analytics by anonymous
3,171 views
0 votes
1 answer

ggplot2 - scatter plot with boxplot to show the outliers

Add another layer of scatter plot on ...READ MORE

Aug 2, 2019 in Data Analytics by Cherukuri
• 33,050 points
3,149 views
0 votes
1 answer

Tokenizing text file generates error using word tokenize_words

Hi Bolder, As you are using the delim ...READ MORE

Aug 28, 2018 in Data Analytics by Abhi
• 3,720 points
3,137 views
0 votes
2 answers

Installing MXNet for R in Windows System

You can install it for python in ...READ MORE

Dec 4, 2018 in Data Analytics by Kalgi
• 52,340 points
3,131 views
0 votes
1 answer

Error saying "Error in install.packages(rvest) : object 'rvest' not found" when trying to install a package in R

In this line, Install.packages(“rvest”) Add rvest inside double ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
3,120 views
0 votes
1 answer

How to insert Data into the MySQL Tables using R?

Hi@akhtar, Before you try to insert the data ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,460 points
3,115 views
0 votes
1 answer

Filter with nested if condition in R

Hi Raksha, Use the filter function to filter ...READ MORE

Oct 14, 2019 in Data Analytics by anonymous
• 33,050 points
3,115 views
0 votes
1 answer

How to check if a directory exists and how to create and create if doesn't exist?

You can use showWarnings = FALSE NOTE:  showWarnings ...READ MORE

Apr 17, 2018 in Data Analytics by DataKing99
• 8,250 points
3,099 views
0 votes
1 answer

How to create dummy variables based on a categorical variable of lists in R?

You can use mtabulate in the following way: library(qdapTools) cbind(data[1], ...READ MORE

Apr 13, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
3,082 views
0 votes
1 answer

Error in ggplot(iris, aes(x = Species, y = Sepal.Length)) : could not find function "ggplot"

Hi@akhtar, You have to install ggplot module in ...READ MORE

Jun 10, 2020 in Data Analytics by MD
• 95,460 points
3,068 views
0 votes
1 answer

Count the digits in a Numpy array

Hey, @Sourav, We can solve this with the ...READ MORE

Apr 21, 2020 in Data Analytics by Gitika
• 65,730 points
3,050 views
0 votes
1 answer

How do I save plots made using shiny R?

You can use a function called downloadHandler ...READ MORE

Dec 5, 2018 in Data Analytics by Haseeb
3,048 views
0 votes
1 answer

Reshape data from long to wide format in R

Use reshape function: reshape(dat1, idvar = "name", timevar = ...READ MORE

Jun 14, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
3,046 views
0 votes
1 answer

What is the difference between library () and require () functions in R ?

 library() require() Library () function gives an error message ...READ MORE

Sep 5, 2018 in Data Analytics by zombie
• 3,790 points
3,040 views
0 votes
1 answer

unable to install reprtree package

The solution to the same issue is ...READ MORE

Nov 2, 2019 in Data Analytics by Cherukuri
• 33,050 points
3,018 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
3,018 views
0 votes
1 answer

Export the plot to a pdf or png - R

You need to close the device to ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
3,013 views
+1 vote
4 answers

Python vs. R for data science

I would say both Python and R ...READ MORE

Aug 1, 2019 in Data Analytics by briny
3,009 views
0 votes
1 answer

Univariate/ Bivariate/ Multivariate

Univariate: These analyses are descriptive statistical analysis techniques which ...READ MORE

Jul 13, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
3,006 views
0 votes
1 answer

Different types of seasonality in time series modelling

Seasonality in time series occurs when the ...READ MORE

Aug 9, 2018 in Data Analytics by DataKing99
• 8,250 points
2,980 views
0 votes
2 answers

What is difference between Distributed search head and Search head cluster?

 A distributed environment describes the separation of ...READ MORE

Dec 4, 2018 in Data Analytics by Ali
• 11,360 points
2,977 views
0 votes
1 answer

pie chart using ggplot - R

Hi, even I was searching for this ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,050 points
2,970 views
0 votes
1 answer

Converting R data-frame to h2o object

All you have to do is run ...READ MORE

Apr 3, 2018 in Data Analytics by Bharani
• 4,660 points
2,962 views
0 votes
2 answers

How can you find total number of null values in a dataset column wise?

data['Column Name'].isnull().sum() READ MORE

May 7, 2020 in Data Analytics by anonymous
2,950 views
+1 vote
1 answer

What are the drawbacks of trycatch method?

These are the drawbacks of using try-catch: You ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,340 points
2,936 views
0 votes
1 answer

Does gradient descent methods always converge to same point?

No, they always don't. That's because in ...READ MORE

Aug 7, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
2,923 views
+1 vote
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

Nov 28, 2018 in Data Analytics by Maverick
• 10,840 points
2,903 views
0 votes
1 answer

Function to check if matrix empty or not

here is some question of what is ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
2,891 views
0 votes
1 answer

"no applicable method" Error in r programming

This is caused by using an object-oriented ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,340 points
2,884 views
0 votes
1 answer

Error in library("RMySQL") : there is no package called ‘RMySQL’.

Hi@akhtar, R has a built-in package named "RMySQL" ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,460 points
2,861 views
0 votes
1 answer

Difference between label and popup in addmarkers() in leaflet

Hey, its quite simple. Label in leaflet displays ...READ MORE

Sep 20, 2019 in Data Analytics by rajitha
2,858 views
0 votes
1 answer

How to stack scatterplot in ggplot2?

Use melt() to reshape your data with total as a factor ...READ MORE

May 8, 2018 in Data Analytics by Sahiti
• 6,370 points
2,845 views
0 votes
1 answer

What ~ (tilde) command do?

Something that characterizes formulas in R is ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
2,841 views
0 votes
1 answer
0 votes
1 answer

How to import data from a Json file into R?

Easy and simple: library("rjson") json_file <- "file_name" json_data <- fromJSON(file=json_file)) or ...READ MORE

Apr 26, 2018 in Data Analytics by DeepCoder786
• 1,720 points
2,824 views
0 votes
1 answer

Difference between Bayesian Estimate and Maximum Likelihood Estimation

In the Bayesian estimate, we have some ...READ MORE

Aug 9, 2018 in Data Analytics by DataKing99
• 8,250 points
2,823 views
0 votes
1 answer

Differences between html_nodes( ) and html_node( )?

Pallava, both the functions return nodes from ...READ MORE

Sep 17, 2019 in Data Analytics by rajeev
2,819 views
0 votes
1 answer

How do I convert data frame to csv file in R?

Hey @Ali, its very simple one line ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
2,819 views
0 votes
2 answers

What is the difference between %% and % in R programming?

HI, %% returns remainder in case of numeric ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,050 points
2,812 views
0 votes
1 answer

Draw lines/plot without dataset - R

Hi @raghav, You can draw specific graphs only ...READ MORE

Jul 24, 2019 in Data Analytics by anonymous
2,800 views
0 votes
1 answer

R - any_vars and all_vars() functions

Hi, Chaitra The main difference between them is ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,050 points
2,757 views
0 votes
1 answer

Check if a website permits web scraping - R

Vinutha, While doing web scraping its necessary ...READ MORE

Sep 17, 2019 in Data Analytics by aditya
2,740 views
+1 vote
1 answer

Error when trying to execute something reactive on shiny R

There seem to be some issues in ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
2,726 views
0 votes
1 answer

How to remove NA values from a column, and the corresponding values from an adjacent column, in R?

Hi@Marcelo, You can use the filter keyword to ...READ MORE

Aug 4, 2020 in Data Analytics by MD
• 95,460 points
2,712 views
+1 vote
1 answer

How to calculate relative risk in R language?

The risk can be calculated by using ...READ MORE

Feb 20, 2019 in Data Analytics by Sophie may
• 10,620 points
2,706 views
0 votes
1 answer

Change IP address on RStudio

The default is 0.0.0.0, but if you ...READ MORE

Nov 2, 2018 in Data Analytics by Maverick
• 10,840 points
2,706 views
0 votes
1 answer

How can I pause, sleep, wait, execution for X seconds in R?

You can try the following piece of ...READ MORE

May 25, 2018 in Data Analytics by zombie
• 3,790 points
2,698 views
0 votes
1 answer

Error saying "Error: package or namespace load failed for ‘FactoMineR’" when using data mining on RStudio

Try reinstalling the package quantreg. Hope this works. Its ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
2,680 views
0 votes
1 answer

How do I remove an element from a list by index in R?

Use list[index] = NULL The list value will ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,050 points
2,668 views