Most answered questions in Data Analytics

0 votes
1 answer

Anova Analysis vs KMeans - R

The main difference between them is that ...READ MORE

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

ggplot2 - Adjust plot titles,labels

Vjust and hjust attributes are used to set ...READ MORE

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

ggplot2 - scatter plot with boxplot to show the outliers

Add another layer of scatter plot on ...READ MORE

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

Change ggplot2 default color palette

If the scale is continuous, then you can ...READ MORE

Aug 20, 2019 in Data Analytics by anonymous
• 33,030 points
3,683 views
0 votes
1 answer

ggplot2 - Convert the labels in %.

Use geom_label or geom_text and provide labels ...READ MORE

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

Shiny app - tabs refresh content

Asha, It's very important to not add too ...READ MORE

Sep 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,509 views
0 votes
1 answer

R - Split date into dd,mm,yy

I use superstore data and show how ...READ MORE

Oct 31, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,610 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
501 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 6,354 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,030 points
935 views
0 votes
1 answer

File selection for parameter in rmarkdown

A small example -  params: dataset: ...READ MORE

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

List inputs for parameter selection

Use choices attribute to provide a list ...READ MORE

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

Provide selection of parameter in rmarkdown

Use choices attribute to provide a list ...READ MORE

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

rmarkdown Parameters declaration and using parameters

Create parameters using params attribute inside Rmarkdown ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
843 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,719 views
0 votes
1 answer

parameterized reports using RMarkdown

Add params attribute like below specifying dataset ...READ MORE

Nov 4, 2019 in Data Analytics by kamal
836 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,175 views
0 votes
1 answer

Display only output and caption with any warnings or code in Rmarkdown

Use echo=FALSE and fig.cap = "caption in ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
449 views
0 votes
1 answer

Packages to send mails from R

There are different packages available to send ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
388 views
0 votes
1 answer

Rearrange columns while fetching from datasource

You cannot reorder the columns like below. suppose ...READ MORE

Nov 4, 2019 in Data Analytics by rajeev
380 views
0 votes
1 answer

List all dataframes in R session.

Try this. for(x in ls()){   if("data.frame" %in% ...READ MORE

Nov 4, 2019 in Data Analytics by anonymous
• 33,030 points
2,997 views
0 votes
1 answer

cant open a json file in r

You can use the package jsonlite to read ...READ MORE

Nov 4, 2019 in Data Analytics by pallavi
925 views
0 votes
1 answer

Send mail from R script

Hi,  You can visit these link here, It ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
530 views
0 votes
1 answer

R interactive maps

If you are using Tmap then change ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
476 views
0 votes
1 answer

Read from database and store in R as dataframe

Your code would fetch you a MySQL ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
871 views
0 votes
1 answer

Store a built in dataset or dataframe from R to database

dbWriteTable() function allows you to store data ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
806 views
0 votes
1 answer

Clustering strings in R

Convert the field as factors and use ...READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
593 views
0 votes
1 answer

Extract data fron R dataset

You can use the dplyr package,  Convert the ...READ MORE

Jul 30, 2019 in Data Analytics by Cherukuri
• 33,030 points
419 views
0 votes
1 answer

Sunburst charts using plotly

See below example library(plotly) p <- plot_ly( labels ...READ MORE

Nov 3, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,956 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,480 views
0 votes
1 answer

Motion chart in R

A simple motion scatter chart using the ...READ MORE

Nov 3, 2019 in Data Analytics by anonymous
• 33,030 points
760 views
0 votes
1 answer

How to get interactive plots in R?

The best packages for creating interactive visualizations ...READ MORE

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

How to create a Heatmap in R?

Its very simple. Use heatmap function and ...READ MORE

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

What is a chi Squared value?

The chi-squared statistic is a single number that tells ...READ MORE

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

R chart using plotly

Plot_ly example library(plotly) today <- Sys.Date() tm <- ...READ MORE

Nov 4, 2019 in Data Analytics by Cherukuri
• 33,030 points
696 views
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
9,923 views
0 votes
1 answer

Aggregation of fields vs field value line chart in R

Of course, it can be done. Let ...READ MORE

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

How to check row value of one column wrt another column?

Hi ratna, For suppose DF is the DataFrame ...READ MORE

Jul 26, 2019 in Data Analytics by anonymous
618 views
0 votes
1 answer

How to deploy shiny app to shinyapps.io?

There are 2 ways to deploy shiny ...READ MORE

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

Add secondary axis as a dual axis in R plot

You can add a secondary axis in ...READ MORE

Nov 4, 2019 in Data Analytics by keerthi
1,790 views
0 votes
1 answer

Duplicate axis for a R plot

Add duplicate axis using dup.axis attribute like ...READ MORE

Nov 4, 2019 in Data Analytics by radha
1,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,145 views
0 votes
1 answer

Change the order of multiple legends in ggplot

Hi Radha, You can change the order of ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
23,165 views
0 votes
1 answer

How to put border for all legends together and separate borders for each legend in ggplot?

Hi Anitha, There are 2 functions used to ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,885 views
0 votes
1 answer

How to convert a continuous variable to discrete variable and vice versa in R?

Discretize function convert a continuous variable into ...READ MORE

Nov 4, 2019 in Data Analytics by rajeev
3,904 views
0 votes
1 answer

Change the order of legend values in a plot in R

@prardhana, Use scale_fill/color/size_discrete/contin....(labels = c()). compare both to see ...READ MORE

Nov 4, 2019 in Data Analytics by payal
1,789 views
0 votes
1 answer

Add custom lines/sentences within ggplot

Use geom_text along with position and text ...READ MORE

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

plot a line chart along with point labels in the plot

Follow the below steps: 1. Create a ggplot ...READ MORE

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

which to use fill or color to show colors in R plots?

The color attribute is only used for ...READ MORE

Nov 4, 2019 in Data Analytics by komal
1,517 views
0 votes
1 answer

Create a dual axis column/bar chart using ggplot in R

Add position = "stack" in geom_bar() function ...READ MORE

Nov 4, 2019 in Data Analytics by sindhu
4,072 views