Trending questions in Data Analytics

+1 vote
1 answer

R programming: How to subset data and plot graphs in R?

You can create a grouping variable depending ...READ MORE

Feb 18, 2019 in Data Analytics by Tyrion anex
• 8,700 points
690 views
+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
611 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,224 views
0 votes
1 answer

Error saying "ERROR: Expected tag to be of type header" while creating a dashboard using shiny R

sliderInput("bins","number of breaks",1,100,50), this line should come under ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
4,124 views
+1 vote
1 answer

How to create a 2D array of vectors of different lengths in R programming?

You can try making a list of matrices ...READ MORE

Feb 1, 2019 in Data Analytics by Sophie may
• 10,610 points
1,318 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
436 views
+1 vote
1 answer

R programming: Generating random frequencies

Follow this, it might help you: Produce sample ...READ MORE

Feb 18, 2019 in Data Analytics by Tyrion anex
• 8,700 points
544 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
386 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,549 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
3,695 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
346 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,351 views
+1 vote
1 answer

Error saying "vector size cannot be NA" when using R with data mining

You can use the removesparseterm function.  Removes sparse ...READ MORE

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

How to reduce the height of valueBox in shiny R?

Add this line before using your vlaueBoxes tags$head(tags$style(HTML(".small-box ...READ MORE

Dec 4, 2018 in Data Analytics by Haseeb
3,627 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,610 points
523 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,490 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
3,875 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,610 points
2,868 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
702 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
731 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
3,962 views
0 votes
1 answer

Error saying "could not find function "read_html"" when trying to use read_html function

Hey @Ali, Execute the following two commands: install.packages(&l ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
3,977 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,610 points
505 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
4,703 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,610 points
420 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,360 points
4,673 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,740 points
9,278 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,139 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
629 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,610 points
928 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,198 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,154 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
4,526 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,610 points
932 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,610 points
2,568 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,190 points
1,121 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,610 points
595 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,175 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
3,835 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,441 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
534 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,610 points
335 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
2,649 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,430 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,610 points
870 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,594 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,610 points
502 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,740 points
8,054 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
2,362 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
3,301 views