Most viewed questions in Data Analytics

+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,928 views
0 votes
1 answer

How to limit output of a dataframe in R?

For randomly sampling a row/cell where a ...READ MORE

Apr 18, 2018 in Data Analytics by kappa3010
• 2,090 points
2,899 views
0 votes
1 answer

Working of ggplot scale_continuous 'expand' argument

According to the document if you set limits manually, ...READ MORE

Apr 13, 2018 in Data Analytics by DataKing99
• 8,240 points
2,896 views
0 votes
1 answer

7) What does "Dual platform architecture" mean?

Option b. Decommission existing Data warehouse and use ...READ MORE

Dec 3, 2020 in Data Analytics by Gitika
• 65,910 points
2,890 views
0 votes
1 answer

How to initialize a vector in R?

Hi@akhtar, A vector is the simplest type of data structure ...READ MORE

Oct 6, 2020 in Data Analytics by MD
• 95,440 points
2,889 views
0 votes
1 answer

How to add special characters to a list?

@ch, You can add $. , / using ...READ MORE

Oct 14, 2019 in Data Analytics by anonymous
• 33,030 points
2,889 views
0 votes
1 answer

R programming: leap years calculation

Here's a small modification to your code, ...READ MORE

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

Error in effect_plot(model, pred = "Illiteracy") : could not find function "effect_plot"

Hi@akhtar, I think you don't have jtools package ...READ MORE

Sep 16, 2020 in Data Analytics by MD
• 95,440 points
2,864 views
0 votes
1 answer

R programming: Unexpected symbol error

Format your code this way: myfunction <- function() ...READ MORE

Dec 17, 2018 in Data Analytics by Sophie may
• 10,610 points
2,856 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,824 views
0 votes
1 answer

How can I convert a factor variable to numeric in R ?

A factor variable can be converted to ...READ MORE

Sep 19, 2018 in Data Analytics by shams
• 3,670 points
2,820 views
0 votes
1 answer

Errors saying "Error: unexpected '}' in "}"

This is a syntax error: Enclose your if ...READ MORE

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

R Shiny Error: evaluation nested too deeply: infinite recursion / options(expressions=)?

Hi Kalpana, This error is due to ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
2,786 views
+1 vote
3 answers

Integration of Google Collaboratory with github

You can use SSH protocol to connect ...READ MORE

Aug 7, 2018 in Data Analytics by Kalgi
• 52,360 points
2,783 views
0 votes
3 answers

What is the goal of A/B Testing?

With A/B Testing you can see which ...READ MORE

Sep 18, 2018 in Data Analytics by zombie
• 3,790 points
2,781 views
0 votes
1 answer

How to add only label or popup withpout markers in a map?

Hi, @ch Use addLabelOnlyMarkers( ) to add labels ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
2,770 views
0 votes
1 answer

How to cluster a very large dataset in R?

You can initially use kmeans, to calculate ...READ MORE

Jun 19, 2018 in Data Analytics by Sahiti
• 6,370 points
2,768 views
0 votes
1 answer

Error:Shadow graphics device error: r error 4 (R code execution error) when trying to use plot() and ggplot()

Its working perfectly fine with R version ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
2,752 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,747 views
0 votes
1 answer

create data.frame with random numbers in R

First create a matrix with random numbers ...READ MORE

Sep 24, 2019 in Data Analytics by Debasmita Das
2,730 views
0 votes
1 answer

R - Error: Duplicate identifiers for rows

You can try the below code as ...READ MORE

Apr 9, 2018 in Data Analytics by kappa3010
• 2,090 points
2,727 views
0 votes
1 answer

How can I remove duplicated rows in R ?

The function distinct() in the dplyr package ...READ MORE

Apr 27, 2018 in Data Analytics by shams
• 3,670 points
2,723 views
0 votes
1 answer

Error saying expected symbol in R

Write the code in the following way: myfunction ...READ MORE

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

Error: object 'params' not found.

@pragyat, Remove " " around data value in ...READ MORE

Nov 4, 2019 in Data Analytics by priya
2,714 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,704 views
0 votes
1 answer

SMOTE-function not working in R

If you convert 'y' to a factor, ...READ MORE

Jun 27, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
2,695 views
0 votes
1 answer

Error with apriori function.

Hey, you forgot to mention support, confidence ...READ MORE

Oct 14, 2019 in Data Analytics by payal
2,680 views
0 votes
1 answer

What are special values in R

Like most programming languages, R has a ...READ MORE

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

What is the difference between [] and [[]] notations to access the elements of a list or dataframe in R?

R provides 3 basic indexing operators. Refer ...READ MORE

Apr 12, 2018 in Data Analytics by kappa3010
• 2,090 points
2,670 views
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,030 points
2,662 views
0 votes
2 answers

How to create a table in R without external file?

Tibble also creates a table-like structure. Use below ...READ MORE

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

How do you change the color of the sliderInput - shiny r

There is so parameter that could be ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
2,637 views
0 votes
1 answer

K Means using elbow method

Elbow method allows the user to know ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
2,625 views
+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,610 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,030 points
2,608 views
0 votes
1 answer

Error saying " Failed to connect to database: Error: Lost connection to MySQL server at 'handshake"

try this: library(RODBCext) sqlString <- "Select * from yourtable ...READ MORE

Nov 12, 2018 in Data Analytics by Maverick
• 10,840 points
2,598 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
2,587 views
0 votes
1 answer

Read an image into r

There are different packages that read images ...READ MORE

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

R Shiny - Error in as.vector: cannot coerce type 'externalptr' to vector of type 'character'

Ravin, read the image into list src ...READ MORE

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

R error: when installing packages from terminal

I faced the same problem, you must set ...READ MORE

Dec 14, 2018 in Data Analytics by Sophie may
• 10,610 points
2,560 views
0 votes
1 answer

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

Hi@akhtar, You can find some packages pre-installed in ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,440 points
2,558 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,545 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,740 points
2,543 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
2,513 views
0 votes
1 answer

What is the Difference in Size and Count in pandas (python)?

The major difference is "size" includes NaN values, ...READ MORE

Apr 30, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Jun 8, 2020 by Gitika 2,512 views
0 votes
1 answer

Error in library(data.table) : there is no package called ‘data.table’

Hi@akhtar, You need to install the package in ...READ MORE

Oct 6, 2020 in Data Analytics by MD
• 95,440 points
2,505 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,440 points
2,490 views
+1 vote
2 answers

What are the steps in data analysis process?

Well explained @Maverick, In simple words the ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
2,489 views
0 votes
1 answer

Waterfall chart using plotly in R

A simple waterfall chart using plotly - df ...READ MORE

Nov 2, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,472 views
0 votes
1 answer

What does the inf special character mean in R?

inf stands for infinity and only applies ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
2,453 views