Trending questions in Data Analytics

0 votes
1 answer

How to run R code using JAVA program?

You're trying to call an external application. ...READ MORE

Mar 11 in Data Analytics by Sophie may
• 9,870 points
701 views
0 votes
1 answer

R Programming: Using iteration value to change field names

Remove the first and last column from ...READ MORE

Mar 25 in Data Analytics by Sophie may
• 9,870 points
51 views
0 votes
1 answer

R programming: Naming the output file using a variable

Use the paste command: write.csv(max.hsi, paste0("Index_", i,".csv" ...READ MORE

Mar 25 in Data Analytics by Sophie may
• 9,870 points
37 views
0 votes
2 answers

What is the difference between correlation and covariance?

Correlation and Co-variance both are used as ...READ MORE

Jul 24, 2018 in Data Analytics by Anmol
• 3,620 points
1,781 views
0 votes
1 answer

R programming: For graphics

Use the bquote to write the expression and place ...READ MORE

Mar 15 in Data Analytics by Tyrion anex
• 8,280 points
45 views
0 votes
2 answers
0 votes
1 answer

Calculating relative risks in R

You can calculate the relative risk as  ...READ MORE

Mar 15 in Data Analytics by Tyrion anex
• 8,280 points
36 views
0 votes
1 answer

R Programming: Perform negative binomial distribution

Try this: pnbinom(3,2,0.5) sum(dnbinom(0:3,2,0.5)) This will give the following output: > ...READ MORE

Mar 11 in Data Analytics by Sophie may
• 9,870 points
59 views
0 votes
2 answers

How to set working directory to source file location in R?

Hi,  I'm not sure about the command but you ...READ MORE

Aug 20 in Data Analytics by Cherukuri
• 31,840 points
3,177 views
0 votes
1 answer

R programming error: RODBC

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

Mar 6 in Data Analytics by Sophie may
• 9,870 points
45 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 in Data Analytics by Tyrion anex
• 8,280 points
68 views
0 votes
1 answer

R programming: Finding closest pair

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

Mar 5 in Data Analytics by Tyrion anex
• 8,280 points
60 views
0 votes
1 answer

R programming error: sum of products

Best soln is to integrate R linear algebra: > ...READ MORE

Mar 6 in Data Analytics by Sophie may
• 9,870 points
26 views
0 votes
2 answers

What are the rules to define a variable name in R programming language?

The same rules almost follow for all ...READ MORE

Aug 26 in Data Analytics by anonymous
• 31,840 points
110 views
0 votes
2 answers

How to use group by for multiple columns in dplyr, using string vector input in R?

data = data.frame(   zzz11def = sample(LETTERS[1:3], 100, replace=TRUE),   zbc123qws1 ...READ MORE

Aug 5 in Data Analytics by anonymous
3,597 views
0 votes
1 answer

R programming: Classifying wine dataset

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

Feb 27 in Data Analytics by Sophie may
• 9,870 points
60 views
0 votes
1 answer

R programming: leap years calculation

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

Feb 20 in Data Analytics by Sophie may
• 9,870 points
352 views
0 votes
1 answer

R Programming: Finding items with exceptional sequence

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

Feb 27 in Data Analytics by Sophie may
• 9,870 points
25 views
0 votes
3 answers

What is logistic regression?

Logistic regression is analysis to conduct when ...READ MORE

Aug 6 in Data Analytics by anonymous
167 views
0 votes
3 answers

What is Linear Regression?

linear regression is useful for finding relationship ...READ MORE

Aug 6 in Data Analytics by nikita
176 views
0 votes
3 answers

Can a C program be written in R programming language?

If you have a algorithm you can ...READ MORE

Apr 9 in Data Analytics by anonymous
69 views
0 votes
1 answer

R programming: Monte Carlo Simulation

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

Feb 19 in Data Analytics by Tyrion anex
• 8,280 points
129 views
0 votes
1 answer

How to calculate relative risk in R language?

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

Feb 20 in Data Analytics by Sophie may
• 9,870 points
85 views
0 votes
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 in Data Analytics by Tyrion anex
• 8,280 points
35 views
0 votes
1 answer

R Programming: regexpr error

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

Feb 21 in Data Analytics by Tyrion anex
• 8,280 points
31 views
0 votes
1 answer

R programming: Graphic commands

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

Feb 19 in Data Analytics by Tyrion anex
• 8,280 points
29 views
0 votes
1 answer

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

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

Feb 18 in Data Analytics by Tyrion anex
• 8,280 points
68 views
0 votes
1 answer

R programming: Generating random frequencies

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

Feb 18 in Data Analytics by Tyrion anex
• 8,280 points
55 views
0 votes
3 answers

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

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

Aug 6 in Data Analytics by anonymous
51 views
0 votes
3 answers

How can I add YAML current date in rmarkdown ?

<$today:MM/dd/yyyy> READ MORE

Mar 25 in Data Analytics by Anupam Das
2,040 views
0 votes
2 answers

How can we count TRUE values in a logical vector?

Hi, You can get a count of all ...READ MORE

Aug 20 in Data Analytics by anonymous
• 31,840 points
2,506 views
0 votes
1 answer

R Programming: Market Basket Analysis Error

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

Feb 11 in Data Analytics by Sophie may
• 9,870 points
152 views
0 votes
1 answer

Performing t.test in R programming

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

Feb 11 in Data Analytics by Sophie may
• 9,870 points
27 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 in Data Analytics by Sophie may
• 9,870 points
440 views
+1 vote
4 answers

Which tool Should I learn first Tableu or SAS

Hello I think it will be very much ...READ MORE

Mar 13 in Data Analytics by MrBoot
• 1,210 points
210 views
0 votes
2 answers

Different data structures in R

The different data types in R are ...READ MORE

Aug 26 in Data Analytics by anonymous
• 31,840 points
75 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 in Data Analytics by Sophie may
• 9,870 points
747 views
0 votes
4 answers

Python vs. R for data science

I would say both Python and R ...READ MORE

Aug 1 in Data Analytics by briny
121 views
0 votes
3 answers

Number of missing values in dataset

Try this, lapply(airquality, function(x) { sum(is.na(x)) }) READ MORE

Aug 6 in Data Analytics by anonymous
217 views
0 votes
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 in Data Analytics by Sophie may
• 9,870 points
38 views
0 votes
1 answer

R Programming: Running multiple sub-strings

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

Feb 6 in Data Analytics by Sophie may
• 9,870 points
28 views
0 votes
1 answer

R programming: Linear programming problems

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

Feb 4 in Data Analytics by Tyrion anex
• 8,280 points
74 views
0 votes
1 answer

Parallel programming In R using GPU

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

Feb 4 in Data Analytics by Tyrion anex
• 8,280 points
73 views
+1 vote
2 answers

How to handle outliers

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

Jul 23, 2018 in Data Analytics by Anmol
• 3,620 points
46 views
0 votes
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 in Data Analytics by Sophie may
• 9,870 points
37 views
0 votes
1 answer

Modular programming in R language

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

Jan 31 in Data Analytics by Tyrion anex
• 8,280 points
28 views
0 votes
1 answer

R Programming: Predicting Outliers

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

Jan 28 in Data Analytics by Sophie may
• 9,870 points
80 views
+1 vote
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 in Data Analytics by Tyrion anex
• 8,280 points
155 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 in Data Analytics by Sophie may
• 9,870 points
37 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 in Data Analytics by Tyrion anex
• 8,280 points
61 views