Most voted questions in Data Analytics

0 votes
1 answer

In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘gridExtra’

Hi@akhtar, In your r studio, the gridExtra module ...READ MORE

Jun 10, 2020 in Data Analytics by MD
• 95,440 points
4,195 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,440 points
2,017 views
0 votes
1 answer
0 votes
0 answers

error while executing the OAuthFactory statement

READ MORE

May 12, 2020 in Data Analytics by AKULA.
• 120 points
473 views
0 votes
1 answer

How to create Heatmap for visualizing my dataset?

Hi@akhtar, You have to import seaborn module to ...READ MORE

May 4, 2020 in Data Analytics by MD
• 95,440 points
999 views
0 votes
1 answer

How to install R Studio in Windows?

Hi@akhtar, To install R Studio in your system, ...READ MORE

Apr 29, 2020 in Data Analytics by MD
• 95,440 points
646 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,910 points
2,147 views
0 votes
1 answer
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
349 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,305 views
0 votes
1 answer

Error in unique.default(x, nmax = nmax) : unique() applies only to vectors in R

This error is displayed if you used ...READ MORE

Oct 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
12,894 views
0 votes
1 answer

Splitting strings in a list delimited by space

Use strspltit function and provide separator as ...READ MORE

Oct 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
535 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,056 views
0 votes
1 answer

How to arrange ggplots in custom order?

You can arrange a ggplot by using ...READ MORE

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

Error: `width` is shorter than `ellipsis`FALSE

Add ellipsis = "" attribute to remove ...READ MORE

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

How to add layers in ggplot?

You can add multiple layers with one ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,559 views
0 votes
1 answer

Add image background to ggplot

I found this way from a blog. Check ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,356 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,155 views
0 votes
1 answer

Add list elments recursively

You cannot use the sum function on ...READ MORE

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

Intermediate + running sum of vector

Hey, It's quite simple, use the accumulate function ...READ MORE

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

Edit list elements when condition is met

You can use regular if condition with ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
414 views
0 votes
1 answer

Truncate numeric values without round off

You can either use substring function or ...READ MORE

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

How to convert a table into tree?

I used getTree() and randomForest object to ...READ MORE

Oct 22, 2019 in Data Analytics by ch
• 3,450 points
787 views
0 votes
0 answers

How to visualize the randomForest model in R?

How to visualize the randomForest model in ...READ MORE

Oct 22, 2019 in Data Analytics by ch
• 3,450 points
519 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,030 points
2,323 views
0 votes
1 answer

plot function - hide all ticks

hey @ch, Use below attribute to hide all ...READ MORE

Oct 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
432 views
0 votes
1 answer

plot function - hide x/y - axis points

hey @ch, Use the below attribute to hide ...READ MORE

Oct 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
477 views
0 votes
1 answer

Convert a contingency table into dataframe

The simplest way to convert the contingency ...READ MORE

Oct 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,311 views
0 votes
1 answer

How to create a weighted data set?

HI @ch, Create a list of elements and ...READ MORE

Oct 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
390 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
6,716 views
0 votes
1 answer

what is a contingency table?

A contingency table is a table showing ...READ MORE

Oct 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,137 views
0 votes
1 answer

Error "Object Concentration not found"

Hi Sanju, is the abc data frame created in ...READ MORE

Oct 18, 2019 in Data Analytics by Cherukuri
• 33,030 points
870 views
0 votes
1 answer

How to find cumulative total of rows in r?

Calculate intermediate sum and total sum using ...READ MORE

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

How to combine 2 fields in a dataframe to create a new field?

Use paste command or append function to ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
427 views
0 votes
1 answer

How to find the difference wrt previous value in list/vector?

diff() function returns the difference between numbers ...READ MORE

Oct 16, 2019 in Data Analytics by Cherukuri
• 33,030 points
378 views
0 votes
1 answer

What are the different ways to manage NA's in data?

A few functions to manage NA are ...READ MORE

Oct 16, 2019 in Data Analytics by Cherukuri
• 33,030 points
480 views
0 votes
1 answer

Manage length of field values

Hi, Use str_pad() function to format the length ...READ MORE

Oct 23, 2019 in Data Analytics by Cherukuri
• 33,030 points
482 views
0 votes
1 answer

Create a new string from existing strings in different variables

Its quite simple, Use paste function as ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
657 views
0 votes
1 answer

What is a regex?

A regular expression, regex or regexp is ...READ MORE

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

How to use regular expressions in R?

Set of operators to use for regular ...READ MORE

Nov 2, 2019 in Data Analytics by anonymous
• 33,030 points
436 views
0 votes
0 answers

How to get the value passed through url from one page to another in R?

How to get the value passed through ...READ MORE

Oct 16, 2019 in Data Analytics by ch
• 3,450 points
383 views
0 votes
1 answer

How to check if a element is present in the list?

There are multiple functions for this purpose ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
20,927 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
7,674 views
0 votes
1 answer

Do we need to create vectors to create arrays in R?

Yes, you need vectors to create arrays. Arrays take vectors in ...READ MORE

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

How does paste function work in R?

Paste function concatenates vectors together. Syntax: paste(v1,v2,sep = ...READ MORE

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

What is the difference between list and vector in R?

The difference are - A list holds different ...READ MORE

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

How to check installed packages from r source?

Use installed.packages() or find.package() function and pass the ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
435 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,030 points
2,061 views
0 votes
1 answer

How to create a range of dates in R?

Hey, See the below example, > superstore$Order.Date[1] [1] "2014-11-11" > seq(superstore$Order.Date[1],length.out ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
726 views