Trending questions in Data Analytics

0 votes
1 answer

Convert character to integer type - R

Use substring() function to extract value from ...READ MORE

Nov 3, 2019 in Data Analytics by Cherukuri
• 33,030 points
10,108 views
0 votes
1 answer

How to add legend or any text on the map in leaflet?

See below example, > p = colorFactor(palette = ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
8,909 views
0 votes
1 answer

How to convert continuous variable to categorical variable and vice versa?

Use discretize function to convert a continuous variable ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
8,085 views
0 votes
3 answers

How to write lines to a text file in R?

sink("outfile.txt") cat("hello") cat("\n" ...READ MORE

May 24, 2019 in Data Analytics by anonymous
19,012 views
0 votes
0 answers

How can I create a graph for R? (barplot)

I want to draw a graph of ...READ MORE

Apr 10, 2020 in Data Analytics by anonymous
• 120 points
509 views
0 votes
1 answer

What is the difference between merge and bind in R?

Merge function merges an arbitrarily large series ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
7,567 views
0 votes
2 answers

why we need beeline?

Remote we are connecting to hive with ...READ MORE

Jul 24, 2020 in Data Analytics by K. Raja Yasodhar
16,218 views
0 votes
1 answer

R vs Tableau data visualization.

@Yash, This is a requirement based question. ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
8,517 views
0 votes
0 answers

Rstudio "Erreur : unexpected symbol in:"

Bonjour, I'm new to Rstudio programming. I ...READ MORE

Mar 3, 2020 in Data Analytics by Juli -
• 120 points

edited Mar 4, 2020 by Gitika 1,430 views
0 votes
1 answer

Error: stat_count() must not be used with a y aesthetic.

Hi Rayan, This error comes due to the ...READ MORE

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

What is grob and how to create grobs in ggplot?

A grid graphical object (“grob”) is a ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
6,573 views
0 votes
1 answer

resize the image in R

Hi,  You can read the image using Magick ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,030 points
10,060 views
0 votes
1 answer

How to merge or join 2 dataframes in r?

Hi, When you merge two Dataframes, the result ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
732 views
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
4,399 views
0 votes
1 answer

R Shiny Error: no applicable method for 'filter_' applied to an object of class "c('reactiveExpr','reactive')"

The error could be because of using reactive ...READ MORE

Aug 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
9,111 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
11,124 views
0 votes
1 answer

Difference between summarise() and summarize() in R

summarise() and summarize() are synonyms. READ MORE

Sep 24, 2019 in Data Analytics by anonymous
9,105 views
0 votes
1 answer

How do I change background color in Rstudio

Follow this: tools > global options > appearance ...READ MORE

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

Add variable size and color of circle marker depending on condition

Hey, Give conditions for color or radius within ...READ MORE

Sep 23, 2019 in Data Analytics by Cherukuri
• 33,030 points
7,460 views
0 votes
1 answer

Tibble vs Dataframe

Hi Shilpa, The differences are - 1. Tibble ...READ MORE

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

Error: package or namespace load failed for ‘arulesViz’ in R

I installed package KernSmooth and it seemed ...READ MORE

Sep 4, 2020 in Data Analytics by Chandrakant
• 140 points
1,262 views
0 votes
1 answer

reverse a list or vector in R

@ch, Use rev function to reverse R objects ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
6,115 views
0 votes
1 answer

Reverse the stack order in a stacked bar chart

Hi kriti, Use below code inside geom_bar function. position ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
8,278 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
2,655 views
+1 vote
1 answer

How to extract every nth element of a vector using R?

m <- 1:50 n<- m[seq(1, length(m), 6)] The above ...READ MORE

May 14, 2018 in Data Analytics by zombie
• 3,790 points
28,308 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,205 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
1,012 views
0 votes
11 answers

Changing the legend title in ggplot

Hi, you can also try guides() to ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
17,644 views
0 votes
2 answers

What are the rules to define a variable name in R programming language?

The same rules almost follow for all ...READ MORE

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

How to save leaflet object as an image?

Yes, you can save leaflet objects as ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
5,504 views
0 votes
1 answer

Define a matrix, vector and determinent in rmarkdown html document

Hi Riya, I have given some examples below ...READ MORE

Sep 17, 2019 in Data Analytics by rahul

edited Sep 17, 2019 7,298 views
0 votes
2 answers

How to call Rmarkdown from another R script?

render() is used to call external Rmarkdown ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
7,348 views
0 votes
1 answer

Download file from website using web scraping

Hi, Follow the below steps: 1. Use rvest package ...READ MORE

Sep 20, 2019 in Data Analytics by rishabh
5,947 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,937 views
0 votes
1 answer

Add buttons to perform actions on the leaflet map.

@ch, You can add easy buttons to add ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,831 views
0 votes
1 answer

Check palindrome or not in R

Hi, I found this code simple and easy. is_palindrome ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
7,147 views
0 votes
1 answer

How to convert data.frame object to transaction object?

You can either convert a data frame ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,593 views
0 votes
1 answer

How to create a date variable in R?

Create a string with date notation as ...READ MORE

Jul 16, 2019 in Data Analytics by anonymous
8,306 views
0 votes
1 answer

How to hide/show tabs in shiny app in R?

Hi, Radha One way is to use hidetab ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,030 points
6,704 views
0 votes
1 answer

How to use hclust function?

hclust performs hierarchical cluster analysis on a ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
3,712 views
0 votes
2 answers

R: Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...)

Use unlist function to convert the list ...READ MORE

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

R Shiny Error: Object of type 'closure' is not subsettable

The error you mentioned happens when you ...READ MORE

Aug 20, 2019 in Data Analytics by anonymous
• 33,030 points
6,359 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,939 views
0 votes
1 answer

How to modify column values using the same column without duplicating column?

Hi, Use mutate(). returns selected columns after modifying the ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
5,807 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,501 views
0 votes
1 answer

How ‘breaks’ and ‘ cut’ works in R?

@ch, Cut divides the range of x into ...READ MORE

Oct 14, 2019 in Data Analytics by rohan
3,665 views
0 votes
1 answer

R - Bar chart (bivariate/multivariate Analysis)

The bivariate analysis could be shown in ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,030 points
5,900 views
0 votes
1 answer

Pop up always visible without clicking on the marker in leaflet

@Ch, Pop-up cannot be enabled by default. Another ...READ MORE

Sep 23, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,480 views