Latest questions in Data Analytics

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
+1 vote
1 answer

R programming: Finding closest pair

The dist() function will help you find the ...READ MORE

Mar 5, 2019 in Data Analytics by Tyrion anex
• 8,700 points
608 views
0 votes
1 answer

Negative Binomial Distribution in R Programming

You can try this: pnbinom(3,2,0.5) sum(dnbinom(0:3,2,0.5)) Here's the output: > pnbinom(3,2,0.5) [1] ...READ MORE

Mar 5, 2019 in Data Analytics by Tyrion anex
• 8,700 points
784 views
+1 vote
1 answer

R programming: Classifying wine dataset

Run the below code, it should work: wineData$taste ...READ MORE

Feb 27, 2019 in Data Analytics by Sophie may
• 10,610 points
771 views
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,610 points
422 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
444 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
390 views
0 votes
1 answer

R programming: leap years calculation

Here's a small modification to your code, ...READ MORE

Feb 20, 2019 in Data Analytics by Sophie may
• 10,610 points
2,910 views
+1 vote
1 answer

How to calculate relative risk in R language?

The risk can be calculated by using ...READ MORE

Feb 20, 2019 in Data Analytics by Sophie may
• 10,610 points
2,074 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
353 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
618 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
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
565 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
536 views
+1 vote
1 answer

R Programming: Market Basket Analysis Error

The basket.sorted() has less than 5 rules. Refer ...READ MORE

Feb 12, 2019 in Data Analytics by Sophie may
• 10,610 points
1,233 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
424 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
543 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
710 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,234 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,333 views
0 votes
1 answer

How to remove HTML tags from string in R Programming?

Try this simple code to remove the <br ...READ MORE

Feb 1, 2019 in Data Analytics by Sophie may
• 10,610 points
4,326 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
634 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

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
342 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
607 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,357 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
538 views
0 votes
1 answer

How to convert JSON into CSV in R programming?

Use the jsonlite::fromJSON to read the data into ...READ MORE

Jan 24, 2019 in Data Analytics by Sophie may
• 10,610 points
6,688 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
951 views
0 votes
1 answer

R programming: sapply() function

There are 2 ways to do it, ...READ MORE

Jan 23, 2019 in Data Analytics by Tyrion anex
• 8,700 points
321 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,555 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
940 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
516 views
0 votes
1 answer

R programming basics

There's a small change you can make, ...READ MORE

Jan 18, 2019 in Data Analytics by Tyrion anex
• 8,700 points
330 views
0 votes
2 answers

R Programming error in if condition

Hi. Instead of breaking the line add it ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
764 views
+1 vote
0 answers

group By Sum

Hi, I want group By sum in R ...READ MORE

Jan 18, 2019 in Data Analytics by Rajendra

recategorized Jan 18, 2019 by Vardhan 570 views
0 votes
1 answer

Does R provide support for tacit programming?

R has a package called magrittr. That's ...READ MORE

Jan 17, 2019 in Data Analytics by Sophie may
• 10,610 points
412 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,610 points
643 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
688 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,164 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
880 views
0 votes
1 answer

Report function outputs in R programming

In your case, you've stored the output ...READ MORE

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

R Programming error: twitteR OAuthFactory object

You need to install the following packages: install.packages(c('RO ...READ MORE

Jan 11, 2019 in Data Analytics by Tyrion anex
• 8,700 points
753 views
+1 vote
3 answers

How to change the value of a variable using R programming in a data frame?

Try this: df$symbol <- as.character(df$symbol) df$symbol[df$sym ...READ MORE

Jan 11, 2019 in Data Analytics by Tyrion anex
• 8,700 points
35,313 views
+1 vote
2 answers

Skills required to become an R programmer

As you want to become an r ...READ MORE

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

What is the paradigm of R language?

R provides features of object-oriented and functional programming ...READ MORE

Jan 10, 2019 in Data Analytics by Sophie may
• 10,610 points
722 views
0 votes
1 answer

Is there a way to terminate an R program without causing an error?

You can make use of the 'browser' ...READ MORE

Jan 10, 2019 in Data Analytics by Sophie may
• 10,610 points
730 views
0 votes
1 answer

Data slicing using R programming

You can perform data slicing by splitting the ...READ MORE

Jan 9, 2019 in Data Analytics by Tyrion anex
• 8,700 points
766 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
748 views
0 votes
1 answer

R programming: Does the R language have reflection?

The answer to your question is yes. ...READ MORE

Jan 8, 2019 in Data Analytics by Sophie may
• 10,610 points
673 views