Most voted questions in Data Analytics

+10 votes
1 answer

Will random forest algorithm work if rows have a few duplicate values?

I have no idea about RandomForest, but ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,622 views
+10 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

Aug 9, 2018 in Data Analytics by Abhi
• 3,720 points
1,163 views
+7 votes
4 answers

How can I include javascript code into my shiny R dashboard?

There are multiple ways doing this. One ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
6,070 views
+6 votes
3 answers

"Error: '\U' used without hex digits in character string starting ""C:\U"" when trying to read a csv file in R

Replace all \ with \\. Its trying ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
43,626 views
+5 votes
2 answers

Predict weight when height is given using linear regression in R

You can try something like this: # The ...READ MORE

Dec 12, 2018 in Data Analytics by Purva
6,058 views
+5 votes
0 answers

"Error in tagAssert: argument "body" is missing, with no default" when trying to create a dashboard using shiny R

I'm trying to create a dashboard using ...READ MORE

Dec 11, 2018 in Data Analytics by Ali
• 11,360 points

edited Dec 11, 2018 by Ali 1,884 views
+5 votes
3 answers

Counting the frequency of unique values - R

Hi, You can use plyr module. It will give ...READ MORE

Dec 14, 2020 in Data Analytics by MD
• 95,440 points
94,772 views
+4 votes
0 answers

R programming Error: Error in if (d >= 0) { : missing value where TRUE/FALSE needed

Here is my code: for(i in 1:(nrow(moon_sub))){   l_df[i,] <- ...READ MORE

Jun 24, 2020 in Data Analytics by Molly
• 160 points
798 views
+4 votes
0 answers

I was unable to cluster the data points using dbscan in R programming

After using dbscan package I was given with ...READ MORE

Feb 2, 2020 in Data Analytics by ramthotahappy
• 160 points
776 views
+4 votes
0 answers

Counting the frequency of user activities - R

Within a data frame (see below), I ...READ MORE

Dec 3, 2019 in Data Analytics by anonymous
• 160 points
1,222 views
+4 votes
3 answers

Issue with dynamic messages when creating a dashboard using shiny R

I had a wrong argument to one ...READ MORE

Dec 3, 2018 in Data Analytics by Ali
• 11,360 points
2,355 views
+4 votes
11 answers

Creating an empty data.frame with only column names - R

Hi, You need to create a data frame ...READ MORE

Dec 11, 2020 in Data Analytics by MD
• 95,440 points
107,078 views
+4 votes
3 answers

How to sum a variable by group in R?

You can also try this way, x_new = ...READ MORE

Aug 1, 2019 in Data Analytics by Cherukuri
• 33,030 points
77,387 views
+3 votes
1 answer

R plot for train and test data on same graph

Hi, You can use the subplot function. It ...READ MORE

Jul 27, 2020 in Data Analytics by MD
• 95,440 points
2,942 views
+3 votes
1 answer

Error in library(cowplot) : there is no package called ‘cowplot’

Hi@akhtar, By default, the cowplot module is not ...READ MORE

Jun 10, 2020 in Data Analytics by MD
• 95,440 points
2,772 views
+3 votes
1 answer

at model.fit I'm getting an error as : ValueError: Input contains NaN, infinity or a value too large for dtype('float32').

Hi, I think your X parameter contains null ...READ MORE

Apr 30, 2020 in Data Analytics by MD
• 95,440 points
2,720 views
+3 votes
3 answers

What is NLP? Can you tell me about its future?

When you ask Siri to give you ...READ MORE

Dec 18, 2018 in Data Analytics by Kalgi
• 52,360 points
1,369 views
+3 votes
1 answer

Predict weight and height of a person based on his nationality in R

One of the way by which you ...READ MORE

Dec 12, 2018 in Data Analytics by Kalgi
• 52,360 points
794 views
+3 votes
2 answers

Error: could not find function - R Programming

Yes, Just like @Maverik said, It happens ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
32,965 views
+3 votes
1 answer

Hortonworks Setup for Virtualbox

Dear Learner, Please go to the below link ...READ MORE

Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
430 views
+2 votes
2 answers

How to create our own dataframe in R?

Data frames are tabular data objects. Unlike ...READ MORE

Oct 29, 2020 in Data Analytics by anonymous
1,171 views
+2 votes
1 answer

Why data cleaning plays a vital role in the analysis?

Data cleaning is the fourth step in ...READ MORE

Nov 22, 2019 in Data Analytics by Keshav
1,215 views
+2 votes
1 answer

Error in FUN: cannot coerce type 'closure' to vector of type 'character' [No stack trace available] in R

You missed out " " for variables ...READ MORE

Jul 17, 2019 in Data Analytics by Cherukuri
• 33,030 points
16,281 views
+2 votes
1 answer

How to use points?

Mack, please give us your registered email ...READ MORE

Jul 17, 2019 in Data Analytics by Prashanth
• 180 points
1,035 views
+2 votes
1 answer

Show a list of all variables in R

Hi Swathi, You can use ls() to list ...READ MORE

Jun 27, 2019 in Data Analytics by Cherukuri
• 33,030 points
88,451 views
+2 votes
1 answer

R programming: Drawing an xbar and R chart using qcc package

Try this: #x-Bar library(qcc) x=c(1080͵ 1390͵ 1460͵ ...READ MORE

Jan 25, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,349 views
+2 votes
4 answers

Which tool Should I learn first Tableu or SAS

Hello I think it will be very much ...READ MORE

Mar 13, 2019 in Data Analytics by MrBoot
• 1,190 points
2,222 views
+2 votes
2 answers

Change data type of one column in R

You can change data types using as.* ...READ MORE

Aug 16, 2019 in Data Analytics by anonymous
• 33,030 points
114,944 views
+2 votes
1 answer

Error saying object not found in R

Change your link_addr to linkAddr and it ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
6,060 views
+2 votes
2 answers

Error when executing write.csv function in R

row.names = F READ MORE

Mar 5, 2019 in Data Analytics by anonymous
5,323 views
+2 votes
1 answer

“subscript out of bounds” Error in r programming

This error is likely to occur when ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,360 points
9,375 views
+2 votes
2 answers

How to handle outliers

There are multiple ways to handle outliers ...READ MORE

Jul 24, 2018 in Data Analytics by Abhi
• 3,720 points
724 views
+2 votes
5 answers

Printing a data.frame without index - Python

.tolist() function will remove index READ MORE

Mar 11, 2019 in Data Analytics by nishant thakur
86,967 views
+2 votes
3 answers

Problem with installation of Wordcloud in anaconda

Using Anaconda Python 3.6 version For Windows ...READ MORE

Aug 7, 2018 in Data Analytics by Priyaj
• 58,090 points
18,082 views
+2 votes
1 answer

Need a hadoop engine in backend to run r server

Dear Koushik, Hope you are doing great. The hadoop ...READ MORE

Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
610 views
+1 vote
0 answers
+1 vote
1 answer

In R programming language, how do I export data in .txt?

See this image for ways to export ...READ MORE

Oct 11, 2019 in Data Analytics by ashwini
490 views
+1 vote
0 answers

How to zip a folder with r image files from RStudio?

How to zip a folder with r ...READ MORE

Oct 10, 2019 in Data Analytics by ch
• 3,450 points
1,013 views
+1 vote
1 answer

What is ~ operator in R?

~ operator is used in R for ...READ MORE

Oct 14, 2019 in Data Analytics by mohan
453 views
+1 vote
1 answer

RandomForest Error

If the classifying variable data type is ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
498 views
+1 vote
1 answer

Write r output into table (in database)

Use dbWriteTable () function and set overwrite ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
809 views
+1 vote
1 answer

How to setup any database connection in R?

Here is how you set up a ...READ MORE

Oct 14, 2019 in Data Analytics by anonymous
• 33,030 points
1,623 views
+1 vote
1 answer

How to create polygons around states in leaflet?

Use addPolygons() to create polygons in a ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
933 views
+1 vote
1 answer

map data not yet available

It could be due to the limited ...READ MORE

Oct 15, 2019 in Data Analytics by anonymous
• 33,030 points
1,329 views
+1 vote
2 answers

web scraping on Tripadvisor's review

Hi, I used the below code to ...READ MORE

Sep 16, 2019 in Data Analytics by Cherukuri
• 33,030 points
3,863 views
+1 vote
1 answer

How to add text inside shiny app?

Hi, You can use tahs$h1() to h6() to ...READ MORE

Aug 19, 2019 in Data Analytics by anonymous
• 33,030 points
14,395 views
+1 vote
1 answer

difference between plyr and dplyr

@Kunal, Both are similar package used for ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
5,388 views
+1 vote
2 answers

change the color for bars in geom_bar in ggplot

Hi @radha, You can have 2 types of ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
34,978 views
+1 vote
0 answers

How to show CLUSTERS AFTER USING Kmeans(data,n) in R?

Hi, I'm new to R. I used ...READ MORE

Jul 12, 2019 in Data Analytics by prakash
347 views