Trending questions in Data Analytics

0 votes
1 answer

nth maximum and nth smallest number in vector

Hi, You can use nth() function to find ...READ MORE

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

How to render outputs of few elements(graphs) in shiny app?

hi Racheal, You can isolate those outputs which ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
834 views
0 votes
1 answer

Shiny r ,I'm doing a dashboard and I can not replace in the table below the name of the column by choosing the selectinput.

Hi, When you want to change any input ...READ MORE

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

help with calculation

Hi Karthik, use pmap( ) to find ...READ MORE

Sep 4, 2019 in Data Analytics by anonymous
• 33,050 points
609 views
0 votes
0 answers

SVM model in R

What is svm model? How to use ...READ MORE

Sep 3, 2019 in Data Analytics by ratna
650 views
0 votes
1 answer

Drop rows on condition from dataframe/dataset

Use code as below dataframe[which(dataframe$sales >= median(dataframe$sales)),] or ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,050 points
1,134 views
0 votes
1 answer

How to format output in shiny app?

You can use sprintf() to define the ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
1,171 views
0 votes
1 answer

What are the top packages in R for data visualization?

These are the top R packages used ...READ MORE

Aug 26, 2019 in Data Analytics by Cherukuri
• 33,050 points
995 views
0 votes
1 answer

Submit all 3 inputs vs one using button in shiny

Hi, Preethi. When you want to submit individually, ...READ MORE

Sep 24, 2019 in Data Analytics by anonymous
• 33,050 points
568 views
0 votes
1 answer

provide a delay to call function in r

Hi, Mehareen slowly() takes a function and modifies ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
736 views
0 votes
1 answer

Shiny app widgests side by side

Hey, Use CSS to float the input widgets ...READ MORE

Sep 24, 2019 in Data Analytics by anonymous
• 33,050 points
566 views
0 votes
1 answer

Simulation of a stochastic processes with drift

Check out below code. It's an example to ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,050 points
734 views
0 votes
1 answer

Rmarkdown color to inline and block text

Hey, To mark text as inline, use a ...READ MORE

Sep 17, 2019 in Data Analytics by anonymous
• 33,050 points
959 views
0 votes
1 answer

Edit image in R

There are different packages in r to edit the ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,050 points
1,710 views
0 votes
1 answer

different ways of reading text files in R?

Hi Payal, These are the ways to read ...READ MORE

Aug 29, 2019 in Data Analytics by Cherukuri
• 33,050 points
734 views
0 votes
0 answers

Convert nested list to dendogram - R

How to convert nested lists to dendrogram? ...READ MORE

Aug 30, 2019 in Data Analytics by ramya
703 views
0 votes
1 answer

Filter using dplyr

@Sagar, use filter followed by condition for ...READ MORE

Sep 10, 2019 in Data Analytics by kiran
1,026 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
3,380 views
0 votes
0 answers

Remove specific elements from list using condition in R

How to remove specific elements from list ...READ MORE

Aug 13, 2019 in Data Analytics by radha
1,430 views
+1 vote
1 answer

Error saying "Error in file(out, "wt") : cannot open the connection" when execute help command in r

Hey @Ali, change working dir, exit r ...READ MORE

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

How to use plyr and dplyr functions inside one source file?

Hi, Lakshmi, Use dplyr::function( ) or plyr::function( ). Since ...READ MORE

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

Display no labels in plot - R ggplot

Hi, One small trick is to change the ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
1,111 views
0 votes
1 answer

How to convert a list to data frame in R?

Let's assume your list of lists is ...READ MORE

Apr 12, 2018 in Data Analytics by nirvana
• 3,090 points

edited Apr 12, 2018 by nirvana 22,329 views
0 votes
1 answer

Can you use 2 dataframes in one ggplot?

Hi, Archana You can use only one data ...READ MORE

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

Append r output in the title of rmarkdown document

Insert with `r <code> ` withion markdown ...READ MORE

Sep 10, 2019 in Data Analytics by priya
800 views
0 votes
1 answer

Contingency tables in R

You can build 2 types of contingency ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,050 points
876 views
+1 vote
2 answers

Keras TypeError: 'int' not iterable

Long Short Term Memory networks are implemented ...READ MORE

Jun 17, 2019 in Data Analytics by Sophie may
• 10,620 points
3,580 views
0 votes
0 answers

Warning: Error in UseMethod: no applicable method for 'spread_' applied to an object of class "table" in shiny Apps in R

Warning: Error in UseMethod: no applicable method ...READ MORE

Jul 19, 2019 in Data Analytics by pragyat
2,318 views
0 votes
1 answer

Create random numbers in R

There are many ways to create a ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
848 views
0 votes
1 answer

How do I make a matrix from a list of vectors in R?

Suppose l1 and l2 are my vectors, li = ...READ MORE

Aug 7, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,467 views
+1 vote
3 answers

How to change column names of a Data frame?

Hi, To change the name of a column ...READ MORE

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

How to see the tree after making decision tree?

Hey Bindhu, If you have created a decision tree using ...READ MORE

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

Importance of fields in the dataset in randomforest

Use Function importance() which defines the importance ...READ MORE

Aug 25, 2019 in Data Analytics by anonymous
• 33,050 points
650 views
0 votes
0 answers

display first n numbers in a sequence

How to display first n numbers in ...READ MORE

Aug 30, 2019 in Data Analytics by chitra

edited Aug 30, 2019 432 views
0 votes
1 answer

Return the current working directory in R

Use below command to fetch the current ...READ MORE

Aug 22, 2019 in Data Analytics by anonymous
• 33,050 points
754 views
0 votes
1 answer

How to replace only set of values in a vector to different values in a dataframe?

If you have a condition using which ...READ MORE

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

Export the updated or manipulated dataframe or result as csv and excel file

Hi, Karthik. Check it out how to write ...READ MORE

Sep 10, 2019 in Data Analytics by sindhu
624 views
0 votes
1 answer

annotate marks in chart/ggplot

One way is to use ggrepel package. ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
703 views
0 votes
1 answer

R - Create a repetitive list from a smaller length vector to fit into dataframe

Hi Nithin, rep() is used to replicate a ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
736 views
0 votes
0 answers

geom_point() in r

Hi, Is it possible to add point ...READ MORE

Aug 23, 2019 in Data Analytics by rachna
665 views
0 votes
1 answer

use of tilde in R

One use of ~ is to mention ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
• 33,050 points
1,308 views
0 votes
1 answer

Search elements in a vector or list

There are multiple functions and operators that can ...READ MORE

Aug 22, 2019 in Data Analytics by Cherukuri
• 33,050 points
637 views
0 votes
1 answer

display the output r code as title in R script Rmarkdown script to html page

Use the file input from parameter and ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
1,502 views
0 votes
0 answers

Merge dataframes with similar field values into one with aggregation

For suppose if these are my dataframes, ...READ MORE

Aug 21, 2019 in Data Analytics by kavitha
577 views
0 votes
2 answers

How to subset rows containing NA in a chosen column of a data frame?

You can give this a try. subset(dataframe, is.na(dataframe$col2)) ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,050 points
10,890 views
0 votes
1 answer

Summarize only number or integer columns in the dataframe.

Hi, Payal. Use the below function. data frame %>% ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,050 points
758 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,050 points
3,299 views
0 votes
1 answer

What are the different types of input for parameters in rmarkdown?

There are different types of inputs that ...READ MORE

Jul 31, 2019 in Data Analytics by Cherukuri
• 33,050 points
1,426 views
0 votes
1 answer

Calculate running total

Hi rubini, Use accumulate or reduce function to ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
696 views