Most viewed questions in Data Analytics

0 votes
1 answer

Convert markdown pages into interactive shiny apps.

Hi, Follow the below steps: 1. Add shiny runtime ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
858 views
0 votes
2 answers

Error with installing ggplotly.

@bobby, uninstall Rtools and reinstall Rtools with ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
858 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
855 views
0 votes
1 answer

Load CSV File in R

Loading a .csv file in R is ...READ MORE

Jul 28, 2018 in Data Analytics by Sahiti
• 6,370 points
854 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
853 views
0 votes
1 answer

Why does tidyverse still require plyr to load?

ggplot2 still imports plyr (at least as ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
849 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
849 views
0 votes
0 answers

Add new calculated column into dataframe using dplyr functions

How to add new calculated column into ...READ MORE

Aug 1, 2019 in Data Analytics by anonymous
847 views
0 votes
2 answers

R programming: Removing NA values

Hi, Use na.rm = TRUE or Fetch values which has ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
847 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
843 views
0 votes
2 answers

R maps using Tmaps

Check this out! https://www.youtube.com/watch?v=GMi1ThlGFMo READ MORE

Jul 30, 2019 in Data Analytics by anonymous
• 33,030 points
843 views
+1 vote
3 answers

%>% What are these symbols/characters used for in R?

%>% is called a pipe. The process ...READ MORE

Aug 7, 2019 in Data Analytics by anonymous
839 views
0 votes
1 answer

Reshape dataframe without “timevar” from long to wide format in R

Assuming that the data is in the ...READ MORE

Jun 14, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
835 views
0 votes
1 answer

what is diffrence between NROW and nrow in r?

5 In R, you may always check ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
833 views
0 votes
1 answer

R Error: Recommender method UCBF not implemented for data type realRatingMatrix

Kalyan, Try changing method from UBCF to POPULAR. train ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
832 views
0 votes
1 answer

Error with running SQL Query:

Use below code. ofc <- dbGetQuery(db,'select * from ...READ MORE

Oct 1, 2019 in Data Analytics by anonymous
• 33,030 points
831 views
0 votes
1 answer

What do you understand by statistical power of sensitivity and how do you calculate it?

Sensitivity is commonly used to validate the ...READ MORE

Aug 20, 2018 in Data Analytics by Abhi
• 3,720 points
826 views
+1 vote
1 answer

Write r output into table (in database)

Use dbWriteTable () function and set overwrite ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
823 views
+1 vote
1 answer

k means vs KNN

K-means clustering is basically an unsupervised clustering ...READ MORE

Oct 30, 2018 in Data Analytics by kurt_cobain
• 9,390 points
820 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
819 views
0 votes
2 answers

Integration of R with Java

there is a package called rjava that ...READ MORE

Dec 5, 2018 in Data Analytics by Kalgi
• 52,360 points
818 views
0 votes
1 answer

How to create icons for markers in leaflet?

Hi @ch, Create an icon use makeicon function ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
817 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
816 views
0 votes
1 answer

Error sayimg "Executing test function test.should_error ... Timing stopped at: 0 0 0 " in R

In your testthat tests you declare an anonymous function like so: function() ...READ MORE

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

White noise model in R

The white noise (WN) model is a ...READ MORE

Jul 10, 2018 in Data Analytics by Sahiti
• 6,370 points
816 views
0 votes
2 answers

In data frame how to spilt strings into values?

You can do this using dplyr and ...READ MORE

Dec 5, 2018 in Data Analytics by Kalgi
• 52,360 points
815 views
0 votes
1 answer

How to Use rbind and cbind on Single Dataframe

To obtain the desired output, you can ...READ MORE

Jun 22, 2023 in Data Analytics by anonymous
• 1,380 points
813 views
0 votes
1 answer

Calculating quantiles in R.

You can follow this code: y <- rnorm(100) ...READ MORE

May 2, 2019 in Data Analytics by Tyrion anex
• 8,700 points
811 views
0 votes
1 answer

Convert character column to Date field in R Data frame

This is a good question. READ MORE

May 4, 2020 in Data Analytics by anonymous
810 views
+4 votes
0 answers

R programming Error: Error in if (d >= 0) { : missing value where TRUE/FALSE needed

Here is my code: for(i in 1:(nrow(moon_sub))){   l_df[i,] <- ...READ MORE

Jun 24, 2020 in Data Analytics by Molly
• 160 points
809 views
0 votes
1 answer

How to sync Hadoop configuration files to multiple nodes?

Dear Raman, Hope you are doing great. Please accept ...READ MORE

Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
808 views
+3 votes
1 answer

Predict weight and height of a person based on his nationality in R

One of the way by which you ...READ MORE

Dec 12, 2018 in Data Analytics by Kalgi
• 52,360 points
806 views
+1 vote
1 answer

R programming Web Scraping

Try something like this: library(rvest) library(rvest) library(tidyverse) urls <- read_html("http://dk.farnell.com/c/office-computer-networking-products/prl/results/") pag <- ...READ MORE

Oct 29, 2018 in Data Analytics by Maverick
• 10,840 points
806 views
0 votes
1 answer

How to treat missing values during analysis?

The extent of the missing values is ...READ MORE

Jul 12, 2018 in Data Analytics by Sahiti
• 6,370 points
806 views
0 votes
1 answer

R - convert tree to nested list

Hi Akshay, To convert data.tree structure to a list-of-list ...READ MORE

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

Join list of data.frames using map() call

You can use Reduce set.seed(24) r1 <- map(c(5, 10, 15), ...READ MORE

Apr 6, 2018 in Data Analytics by Sahiti
• 6,370 points
805 views
0 votes
1 answer

R lag irregular time series data

You could try using: library(dplyr) library(zoo) na.locf(ts$value[sapply(ts$time, function(x) min(which(ts$time - ...READ MORE

May 11, 2018 in Data Analytics by Sahiti
• 6,370 points
804 views
0 votes
1 answer

Unable to move table rows in shiny r

Try this: library(shiny) library(DT) iris2 = head(iris, 30) server <- function(input, ...READ MORE

Dec 6, 2018 in Data Analytics by Maverick
• 10,840 points
803 views
0 votes
1 answer

How can I use parallel so that it preserves the list of data frames

You can use pmap as follows: nc <- ...READ MORE

Apr 4, 2018 in Data Analytics by kappa3010
• 2,090 points
800 views
0 votes
1 answer

Why is data cleaning needed?

Data cleaning is the fourth step in ...READ MORE

Nov 14, 2018 in Data Analytics by Maverick
• 10,840 points
798 views
+1 vote
1 answer

What is dynamic scoping in R?

Under dynamic scope, if an “unknown” variable ...READ MORE

Nov 2, 2018 in Data Analytics by Maverick
• 10,840 points
798 views
0 votes
1 answer

Statistical Power of Sensitivity

Sensitivity is commonly used to validate the ...READ MORE

Jul 13, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
798 views
0 votes
1 answer

Unable to see histogram even though its been created without any errors in shiny R

In your server.R 4th line. Replace it ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
796 views
0 votes
2 answers

Vector vs List in R

Well, you are right in  saying that ...READ MORE

May 8, 2018 in Data Analytics by anonymous
793 views
0 votes
1 answer

data.frame vs matrix

Yes, both matrix and data.frame are multidimensional ...READ MORE

Apr 27, 2018 in Data Analytics by Bharani
• 4,660 points
791 views
0 votes
1 answer

R programming error: RODBC

You can perform quasi-perl-style string interpolation using ...READ MORE

Mar 6, 2019 in Data Analytics by Sophie may
• 10,610 points
790 views
+4 votes
0 answers

I was unable to cluster the data points using dbscan in R programming

After using dbscan package I was given with ...READ MORE

Feb 2, 2020 in Data Analytics by ramthotahappy
• 160 points
789 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
788 views
0 votes
1 answer

How to run a file with .r extension?

Follow the below command: C:\Program Files\R\R-3.1.1\bin\Rscript.e ...READ MORE

Apr 30, 2019 in Data Analytics by Tyrion anex
• 8,700 points
788 views