Trending questions in Data Analytics

0 votes
1 answer

R Programming: Finding items with exceptional sequence

Here's a code that will help with ...READ MORE

Feb 27, 2019 in Data Analytics by Sophie may
• 10,620 points
679 views
+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
974 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,620 points
1,695 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
879 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
776 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
4,719 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,072 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,397 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
624 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
601 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,831 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
4,031 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,729 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
533 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,563 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,201 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,250 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,761 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
9,875 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
689 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
864 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,109 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
946 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,185 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
891 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,070 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,544 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,645 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
653 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,659 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,214 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,019 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,860 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,247 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
795 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,403 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,399 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
2,815 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,098 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
8,647 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,906 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,602 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,239 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,771 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
655 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
3,840 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,145 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,650 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,886 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
491 views