Trending questions in Data Analytics

0 votes
1 answer

R programming: Merging in R Programming

You can merge the two data frames ...READ MORE

Apr 24, 2019 in Data Analytics by Sophie may
• 10,620 points
842 views
0 votes
2 answers

How to count unique values in R?

You can try this way, as.data.frame(v) %>% count(v) READ MORE

Aug 8, 2019 in Data Analytics by anonymous
6,648 views
0 votes
1 answer

R Programming: MS Residual functions

Here's an example, you can try this ...READ MORE

Apr 26, 2019 in Data Analytics by Sophie may
• 10,620 points
685 views
0 votes
1 answer

How to start your journey with Data Analytics

Since you're new to the field, I'd ...READ MORE

Apr 25, 2019 in Data Analytics by Vardhan
• 13,150 points
668 views
+1 vote
2 answers

Import csv excel file in R

Hi. Check out your filename and the ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
1,687 views
+2 votes
1 answer

Error saying object not found in R

Change your link_addr to linkAddr and it ...READ MORE

Dec 11, 2018 in Data Analytics by Maverick
• 10,840 points
6,396 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,620 points
3,337 views
+1 vote
1 answer

Error saying "Error in map_df(1, function(i) { : could not find function "map_df"" in R

Make sure you’ve installed the package purr ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
7,083 views
+1 vote
1 answer

Installing JQ on Mac by command-line

On a mac, any application can be ...READ MORE

Dec 6, 2018 in Data Analytics by Shubham
• 13,490 points

edited Dec 12, 2018 by Shubham 6,331 views
0 votes
1 answer

Error saying "Error in parse(file, keep.source = FALSE, srcfile = src, encoding = enc) : " in shiny R

The error means you’re missing out on ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
6,698 views
0 votes
1 answer

Error saying "Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ"

Make sure is a factor time <- as.factor(c("pm", ...READ MORE

Nov 9, 2018 in Data Analytics by Maverick
• 10,840 points
7,511 views
0 votes
0 answers

R programming error: Deleting the right column

Hi, I'm new to R programming. Below ...READ MORE

Apr 16, 2019 in Data Analytics by Sophie may
• 10,620 points
714 views
+1 vote
4 answers

Which is the best r package used to scrap web pages?

You can use rvest or Rselenium package. READ MORE

Feb 13, 2019 in Data Analytics by Marv
1,194 views
0 votes
1 answer

R Programming - Unable to read files

This is happening because you're not returning ...READ MORE

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

Error saying "no applicable method for 'meta' applied to an object of class" when trying to create TermDocumentMatrix

Heyy @Hannah, the following line of code ...READ MORE

Nov 6, 2018 in Data Analytics by Kalgi
• 52,350 points
7,453 views
+1 vote
1 answer

Error saying "ERROR: Error sourcing C:\Users\ali\AppData\Local\Temp\Rtmp8iTRBM\file54f8276958b3"

Seems like there is a problem with ...READ MORE

Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
6,381 views
0 votes
1 answer

R programming: drc package error

You need two variables, (x and y). ...READ MORE

Apr 5, 2019 in Data Analytics by Sophie may
• 10,620 points
886 views
+1 vote
2 answers

Stacked barchart - R programming with ggplot2

Use position = stack inside geom_bar() ggplot(mydata, aes(x = ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
963 views
0 votes
2 answers

what are the different ways of getting/reading data into for cleaning

Most used functions for reading or extracting ...READ MORE

Aug 23, 2019 in Data Analytics by anonymous
• 33,030 points
811 views
+1 vote
2 answers
0 votes
1 answer

R programming: SQL Syntax

R has a library called, sqldf to do ...READ MORE

Apr 5, 2019 in Data Analytics by Sophie may
• 10,620 points
695 views
0 votes
1 answer

Python : Cannot Import Data using Pandas

So< if your error says: ...READ MORE

Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
5,700 views
0 votes
1 answer

Turn values into scientific notation in R

Consider the below vector: a<-c(0.1324,0.0001234,234.21341324,09.324324) You can convert it ...READ MORE

Jul 19, 2018 in Data Analytics by DataKing99
• 8,250 points
11,733 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,620 points
2,339 views
0 votes
1 answer

R programming error

Loop 1: the value of speed is ...READ MORE

Apr 3, 2019 in Data Analytics by Tyrion anex
• 8,700 points
575 views
+1 vote
1 answer

R Programming: Using iteration value to change field names

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

Mar 26, 2019 in Data Analytics by Sophie may
• 10,620 points
834 views
+1 vote
2 answers

How to count the number of elements with the values in a vector?

Use dplyr function group_by(). > n = as.data.frame(num) > ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
5,059 views
+1 vote
3 answers

What is logistic regression?

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

Aug 7, 2019 in Data Analytics by anonymous
2,070 views
0 votes
1 answer

How to split strings in R?

You can use the  strsplit method to do ...READ MORE

Mar 30, 2019 in Data Analytics by Sophie may
• 10,620 points
556 views
+2 votes
4 answers

Which tool Should I learn first Tableu or SAS

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

Mar 13, 2019 in Data Analytics by MrBoot
• 1,230 points
2,713 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, 2019 in Data Analytics by anonymous
1,999 views
0 votes
0 answers

how does 1=1 helps when joining 2 tables in sql?

Mar 29, 2019 in Data Analytics by anonymous
373 views
+1 vote
1 answer

R programming: For graphics

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

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

Error in shiny R "Warning: Error in read.table: 'file' must be a character string or connection"

Your if statement in the server.R is ...READ MORE

Dec 5, 2018 in Data Analytics by Maverick
• 10,840 points
5,124 views
+1 vote
4 answers

Python vs. R for data science

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

Aug 1, 2019 in Data Analytics by briny
2,264 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 12, 2019 in Data Analytics by Sophie may
• 10,620 points
874 views
0 votes
0 answers

How to use the where clause in R programming?

I'm trying to implement a where clause ...READ MORE

Dec 24, 2018 in Data Analytics by Sophie may
• 10,620 points
4,238 views
0 votes
3 answers

What is Linear Regression?

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

Aug 7, 2019 in Data Analytics by nikita
1,589 views
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,620 points
987 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
1,002 views
+1 vote
1 answer

Calculating relative risks in R

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

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

R programming error: sum of products

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

Mar 6, 2019 in Data Analytics by Sophie may
• 10,620 points
796 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
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,620 points
975 views
+1 vote
3 answers

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

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

Aug 7, 2019 in Data Analytics by anonymous
1,382 views
+1 vote
2 answers

Different data structures in R

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

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
1,719 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,620 points
1,561 views
+1 vote
1 answer

Error when trying to convert data frame into a csv file in R

If packages.csv file is open on your ...READ MORE

Nov 21, 2018 in Data Analytics by Kalgi
• 52,350 points
4,999 views
+1 vote
1 answer

How can I use which() function in R ?

which() function determines the position of elements ...READ MORE

Sep 25, 2018 in Data Analytics by Daisy
• 8,140 points
7,491 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,627 views