Trending questions in Data Analytics

0 votes
1 answer

Convert hclusters to tree in R

Hi Kalyan, 1. Create hcluster using hclust for example, object <- ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
616 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
446 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,030 points
396 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,030 points
389 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,532 views
0 votes
1 answer

Draw lines/plot without dataset - R

Hi @raghav, You can draw specific graphs only ...READ MORE

Jul 24, 2019 in Data Analytics by anonymous
2,163 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,030 points
569 views
0 votes
1 answer

What is the difference between corrgram and corrplot?

Differences - Input - corrgram takes a dataset ...READ MORE

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

2 dataframes in single dplyr pipeline

You can use 2 different data frames ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
1,238 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,030 points
351 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,030 points
908 views
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,030 points
1,012 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
520 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,030 points
469 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,030 points
714 views
0 votes
1 answer

Unable to install TA-Lib on Pycharm

It took me a while to solve ...READ MORE

May 15, 2019 in Data Analytics by Sophie may
• 10,610 points
5,087 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,030 points
468 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,201 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,030 points
841 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,030 points
415 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,030 points
859 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,030 points
1,366 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
724 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,030 points
854 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,030 points
515 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 299 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,030 points
634 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,030 points
506 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,030 points
512 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
524 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,030 points
394 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,030 points
377 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,030 points
528 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
460 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
383 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,130 points

edited Apr 12, 2018 by nirvana 21,861 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,030 points
430 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,030 points
424 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,030 points
426 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,030 points
585 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,030 points
433 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,030 points
1,002 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,610 points
3,025 views
0 votes
0 answers

Add filters to reactive output in shiny

I created a shiny app to calculate ...READ MORE

Aug 14, 2019 in Data Analytics by aditya
664 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
330 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,030 points
905 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
1,708 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,193 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,580 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,030 points
477 views