Most answered questions in Data Analytics

0 votes
1 answer

Create an animation from images in R

Create a vector with all frames required ...READ MORE

Aug 7 in Data Analytics by anonymous
• 31,840 points
20 views
0 votes
1 answer

resize the image in R

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

Aug 6 in Data Analytics by anonymous
• 31,840 points
23 views
0 votes
1 answer

How to include css code in shiny r app?

To include a CSS file, use includeCSS(), ...READ MORE

Aug 30 in Data Analytics by anonymous
• 31,840 points
74 views
0 votes
1 answer

Append r output in the title of rmarkdown document

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

Sep 10 in Data Analytics by priya
16 views
0 votes
1 answer

Read an image into r

There are different packages that read images ...READ MORE

Aug 25 in Data Analytics by anonymous
• 31,840 points
17 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 25 in Data Analytics by anonymous
• 31,840 points
17 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 in Data Analytics by sindhu
16 views
0 votes
1 answer

Show count of unique values for each value in the field in dataframe

Hi, Use below r code. For one field, you ...READ MORE

Aug 21 in Data Analytics by anonymous
• 31,840 points
50 views
0 votes
1 answer

How to sort substring from a dataframe

First, extract the substring from the data ...READ MORE

Nov 4 in Data Analytics by Cherukuri
• 31,840 points
31 views
0 votes
1 answer

Setting up checkpoint dir: PySpark Data Science

You can follow the below steps: Change the ...READ MORE

Aug 2 in Data Analytics by Zulaikha
• 870 points
60 views
0 votes
1 answer

Data Science: Integrating RStudio to DashDB

You can connect dashDB to RStudio by ...READ MORE

Aug 2 in Data Analytics by hussain
16 views
0 votes
1 answer

How to use add_tally() and add_count()

Hey, add_tally and add_count returns the count of ...READ MORE

Sep 10 in Data Analytics by Cherukuri
• 31,840 points
34 views
0 votes
1 answer

Filter using dplyr

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

Sep 10 in Data Analytics by kiran
23 views
0 votes
1 answer

R - Dummy variable creation

@Uday, dummy variables can be created using ...READ MORE

Nov 4 in Data Analytics by Cherukuri
• 31,840 points
14 views
0 votes
1 answer

Tibble vs Dataframe

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

Aug 25 in Data Analytics by anonymous
• 31,840 points
65 views
0 votes
1 answer

Calculate running total

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

Aug 30 in Data Analytics by anonymous
13 views
0 votes
1 answer

Anova Analysis vs KMeans - R

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

Oct 31 in Data Analytics by Cherukuri
• 31,840 points
12 views
0 votes
1 answer

ggplot2 - Adjust plot titles,labels

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

Oct 29 in Data Analytics by Cherukuri
• 31,840 points
14 views
0 votes
1 answer

ggplot2 - scatter plot with boxplot to show the outliers

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

Aug 1 in Data Analytics by Cherukuri
• 31,840 points
25 views
0 votes
1 answer

Change ggplot2 default color palette

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

Aug 20 in Data Analytics by anonymous
• 31,840 points
27 views
0 votes
1 answer

ggplot2 - Convert the labels in %.

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

Oct 30 in Data Analytics by Cherukuri
• 31,840 points
12 views
0 votes
1 answer

Shiny app - tabs refresh content

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

Sep 24 in Data Analytics by Cherukuri
• 31,840 points
49 views
0 votes
1 answer

R - Split date into dd,mm,yy

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

Oct 31 in Data Analytics by Cherukuri
• 31,840 points
43 views
0 votes
1 answer

Rmarkdown color to inline and block text

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

Sep 17 in Data Analytics by anonymous
• 31,840 points
24 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 in Data Analytics by rahul

edited Sep 17 30 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 30 in Data Analytics by Cherukuri
• 31,840 points
25 views
0 votes
1 answer

File selection for parameter in rmarkdown

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

Jul 30 in Data Analytics by Cherukuri
• 31,840 points
22 views
0 votes
1 answer

List inputs for parameter selection

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

Jul 30 in Data Analytics by Cherukuri
• 31,840 points
15 views
0 votes
1 answer

Provide selection of parameter in rmarkdown

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

Jul 30 in Data Analytics by Cherukuri
• 31,840 points
20 views
0 votes
1 answer

rmarkdown Parameters declaration and using parameters

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

Jul 30 in Data Analytics by anonymous
24 views
0 votes
1 answer

Error: object 'params' not found.

@pragyat, Remove " " around data value in ...READ MORE

Nov 4 in Data Analytics by priya
69 views
0 votes
1 answer

parameterized reports using RMarkdown

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

Nov 4 in Data Analytics by kamal
30 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 30 in Data Analytics by anonymous
28 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 30 in Data Analytics by anonymous
25 views
0 votes
1 answer

Packages to send mails from R

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

Jul 29 in Data Analytics by Cherukuri
• 31,840 points
18 views
0 votes
1 answer

Rearrange columns while fetching from datasource

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

Nov 4 in Data Analytics by rajeev
20 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 in Data Analytics by anonymous
• 31,840 points
26 views
0 votes
1 answer

cant open a json file in r

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

Nov 4 in Data Analytics by pallavi
21 views
0 votes
1 answer

Send mail from R script

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

Jul 29 in Data Analytics by Cherukuri
• 31,840 points
23 views
0 votes
1 answer

R interactive maps

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

Jul 29 in Data Analytics by anonymous
• 31,840 points
16 views
0 votes
1 answer

Read from database and store in R as dataframe

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

Jul 29 in Data Analytics by anonymous
• 31,840 points
31 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 29 in Data Analytics by anonymous
• 31,840 points
22 views
0 votes
1 answer

Clustering strings in R

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

Jul 29 in Data Analytics by anonymous
• 31,840 points
18 views
0 votes
1 answer

Extract data fron R dataset

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

Jul 29 in Data Analytics by Cherukuri
• 31,840 points
22 views
0 votes
1 answer

Sunburst charts using plotly

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

Nov 3 in Data Analytics by Cherukuri
• 31,840 points
125 views
0 votes
1 answer

Waterfall chart using plotly in R

A simple waterfall chart using plotly - df ...READ MORE

Nov 2 in Data Analytics by Cherukuri
• 31,840 points
60 views
0 votes
1 answer

Motion chart in R

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

Nov 3 in Data Analytics by anonymous
• 31,840 points
37 views
0 votes
1 answer

How to get interactive plots in R?

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

Nov 2 in Data Analytics by anonymous
• 31,840 points
20 views
0 votes
1 answer

How to create a Heatmap in R?

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

Nov 3 in Data Analytics by Cherukuri
• 31,840 points
26 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 in Data Analytics by Cherukuri
• 31,840 points
21 views