Trending questions in Data Analytics

+1 vote
1 answer

R programming: Monte Carlo Simulation

You can use the sample_n from dplyr to select ...READ MORE

Feb 20, 2019 in Data Analytics by Tyrion anex
• 8,700 points
934 views
+1 vote
1 answer

How to add videos in a shiny R dashboard?

Its pretty simple, try this: server.r library(shiny) shinyServer(function(input, output, session) ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
4,256 views
+1 vote
1 answer

R Programming: regexpr error

The below code will help: gregexpr("D", x) # [[1]] # ...READ MORE

Feb 21, 2019 in Data Analytics by Tyrion anex
• 8,700 points
826 views
+1 vote
1 answer

Parallel programming In R using GPU

Check out the CRAN Task View on High-Performance ...READ MORE

Feb 4, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,507 views
+1 vote
1 answer

R programming: Graphs

Try this: ggplot(dfc, aes(x=x, y=y, colour=f, fill=f, ymin=y-se, ...READ MORE

Feb 21, 2019 in Data Analytics by Tyrion anex
• 8,700 points
681 views
0 votes
1 answer

R programming: Unexpected symbol error

Format your code this way: myfunction <- function() ...READ MORE

Dec 17, 2018 in Data Analytics by Sophie may
• 10,620 points
3,563 views
0 votes
1 answer

Difference between Eigenvectors and Eigenvalues

Eigenvectors are used for understanding linear transformations. In data ...READ MORE

Jul 17, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
10,209 views
+1 vote
1 answer

R programming: glm() function

Since you mentioned you have factorized variables, ...READ MORE

Jan 23, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,917 views
0 votes
1 answer

I'm trying to start rattle on R Studio and end up with an error

You need the package RGtk2 for rattle to ...READ MORE

Nov 26, 2018 in Data Analytics by Maverick
• 10,840 points
4,374 views
0 votes
1 answer

Dynamically select element from a list and work with it - Shiny R

Follow these steps: Import the data into R Check ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
3,960 views
+2 votes
1 answer

R programming: Drawing an xbar and R chart using qcc package

Try this: #x-Bar library(qcc) x=c(1080͵ 1390͵ 1460͵ ...READ MORE

Jan 25, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,666 views
+1 vote
1 answer

R programming: Graphic commands

For this purpose, make use of the ...READ MORE

Feb 20, 2019 in Data Analytics by Tyrion anex
• 8,700 points
602 views
0 votes
1 answer

": cannot open the connection" Error in R

There can be two reasons for this ...READ MORE

Oct 31, 2018 in Data Analytics by Kalgi
• 52,350 points
5,393 views
+1 vote
1 answer

R Programming: Running multiple sub-strings

Instead of using the substr() try with ...READ MORE

Feb 6, 2019 in Data Analytics by Sophie may
• 10,620 points
1,095 views
+1 vote
1 answer

"Error in eval(ei, envir) : object 'RDX2' not found" when trying to source the code in R

This is a very common issue that ...READ MORE

Oct 30, 2018 in Data Analytics by Maverick
• 10,840 points
5,338 views
0 votes
1 answer

Error saying "some group too small for qda"

It's not wrong code (there is little ...READ MORE

Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
4,915 views
0 votes
1 answer

Error saying "Error in open.connection(x, "rb") : Timeout was reached:"

Hey @Ali, even I had faced the ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
4,365 views
+2 votes
2 answers

How to handle outliers

There are multiple ways to handle outliers ...READ MORE

Jul 24, 2018 in Data Analytics by Abhi
• 3,720 points
1,113 views
+1 vote
1 answer

Performing t.test in R programming

You can refer the following: Suppose these are ...READ MORE

Feb 12, 2019 in Data Analytics by Sophie may
• 10,620 points
757 views
0 votes
1 answer

Add radio buttons on shiny R dashboard

Yess of course that's possible. ShinyR provides ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
3,729 views
+1 vote
1 answer

Error saying "could not find function dashboardPage" in shiny R

Include this line in the code: Library(shinydashboard) READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
3,951 views
+1 vote
1 answer

R programming: Linear programming problems

The documentation for the lp package provides ...READ MORE

Feb 4, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,008 views
0 votes
1 answer

R Programming: Predicting Outliers

You can remove outliers without a loop, ...READ MORE

Jan 28, 2019 in Data Analytics by Sophie may
• 10,620 points
1,333 views
+1 vote
1 answer

Execute a shell script that in turn runs a Python program, followed by an R program

You have two FROM commands in your ...READ MORE

Feb 6, 2019 in Data Analytics by Sophie may
• 10,620 points
866 views
+4 votes
3 answers

Issue with dynamic messages when creating a dashboard using shiny R

I had a wrong argument to one ...READ MORE

Dec 3, 2018 in Data Analytics by Ali
• 11,360 points
3,368 views
+1 vote
1 answer

Difference between factor and as.factor in R programming

Hey @Ali, as.factor is a wrapper for ...READ MORE

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

Check Distribution of Categorical Variable in R

Consider the iris dataset use the table() function ...READ MORE

Jul 30, 2018 in Data Analytics by CodingByHeart77
• 3,750 points
9,014 views
0 votes
1 answer

R programming: Missing value error

You can achieve this by wrapping isTRUE() around your if-condition: for ...READ MORE

Jan 24, 2019 in Data Analytics by Sophie may
• 10,620 points
1,318 views
0 votes
1 answer

R programming: How to convert Tiff to IMG (ERDAS) format?

This code should work: library(raster) input <- list.files(pattern='tif$') output <- ...READ MORE

Jan 16, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,615 views
0 votes
1 answer

R error: when installing packages from terminal

I faced the same problem, you must set ...READ MORE

Dec 14, 2018 in Data Analytics by Sophie may
• 10,620 points
3,028 views
0 votes
2 answers

What are the skills required for data science?

Data Science is a platform for analyzing ...READ MORE

Apr 4, 2019 in Data Analytics by MrBoot
• 1,230 points
1,564 views
0 votes
1 answer

R programming: Flip coin simulation

Make use of the ggplot2 package. Start by installing and ...READ MORE

Jan 21, 2019 in Data Analytics by Sophie may
• 10,620 points
1,347 views
0 votes
1 answer

Modular programming in R language

R provides support to create subscripts. For ex. ...READ MORE

Jan 31, 2019 in Data Analytics by Tyrion anex
• 8,700 points
908 views
+1 vote
1 answer

Error saying "'names' attribute [27] must be the same length as the vector [21]"

When you end up with this error ...READ MORE

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

How to pass command line arguments to run a Rscript

1. For taking an argument from the ...READ MORE

Aug 6, 2018 in Data Analytics by Anmol
• 1,780 points
8,523 views
+1 vote
1 answer

Error saying "EXPR must be a length 1 vector" when trying to use the switch functionality

You can use the ifelse function: df$Value <- ifelse(d ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
4,026 views
0 votes
1 answer

Replace comma with a period in data cleaning using R

You can use the scan function in ...READ MORE

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
4,107 views
0 votes
1 answer

Convert java code to R code

You can rjava package for this purpose. rJava is ...READ MORE

Nov 16, 2018 in Data Analytics by Maverick
• 10,840 points
3,975 views
0 votes
1 answer

R Programming: Implement Newton Raphson Algorithm

The problem is that the expressions for f and f1 ...READ MORE

Jan 7, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,716 views
0 votes
1 answer

Using CMD Windows to execute R language

So, Command line arguments can't be directly ...READ MORE

Jan 14, 2019 in Data Analytics by Sophie may
• 10,620 points
1,354 views
0 votes
1 answer

R programming: 'predict() interval' difference between prediction and confidence

The intervals can include the uncertainty on ...READ MORE

Jan 16, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,173 views
0 votes
1 answer

R Programming: Converting lists

Try this: a<-list(c("a", "b"), c("c", "d"), c("e", "f")) t(data ...READ MORE

Jan 28, 2019 in Data Analytics by Sophie may
• 10,620 points
661 views
+1 vote
1 answer

Can I schedule an R program to run on a daily basis?

Make use of the standard operating system facilities ...READ MORE

Jan 25, 2019 in Data Analytics by Tyrion anex
• 8,700 points
748 views
0 votes
1 answer

How do you change the color of the sliderInput - shiny r

There is so parameter that could be ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
3,017 views
0 votes
1 answer

R programming: loop difference

Use the lubridate package to do this: d$departure ...READ MORE

Jan 17, 2019 in Data Analytics by Sophie may
• 10,620 points
1,080 views
0 votes
1 answer

How can I measuring running time of R Code ?

5 ways to measure running time of ...READ MORE

Apr 17, 2018 in Data Analytics by anonymous
12,942 views
0 votes
1 answer

Is it possible to link the R language and Julia?

R has a specific package just for ...READ MORE

Jan 21, 2019 in Data Analytics by Sophie may
• 10,620 points
849 views
0 votes
1 answer

Concurrent Programming Using R

Concurrent programming has been supported by various ...READ MORE

Jan 9, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,347 views
0 votes
1 answer

How do I save plots made using shiny R?

You can use a function called downloadHandler ...READ MORE

Dec 5, 2018 in Data Analytics by Haseeb
2,877 views
+5 votes
0 answers

"Error in tagAssert: argument "body" is missing, with no default" when trying to create a dashboard using shiny R

I'm trying to create a dashboard using ...READ MORE

Dec 11, 2018 in Data Analytics by Ali
• 11,360 points

edited Dec 11, 2018 by Ali 2,428 views