Latest questions in Data Science

0 votes
0 answers

what is intelligent automation ?

Feb 19 in Data Science by Evanjalin
• 360 points
65 views
0 votes
1 answer

How to establish a connection to a remote Redash database using R?

To connect to a Redash database using ...READ MORE

Feb 17, 2023 in Data Science by anonymous
398 views
0 votes
1 answer

Using group by on multiple columns

Group By X means to put all those with ...READ MORE

Sep 3, 2022 in Data Science by narikkadan
• 63,420 points
429 views
0 votes
1 answer

Finding duplicate rows in SQL Server

Use this : select o.orgName, oc.dupeCount, o.id from organizations ...READ MORE

Aug 14, 2022 in Data Science by narikkadan
• 63,420 points
338 views
0 votes
0 answers

What does R assume regarding order in paired t-test?

I'm assuming that the data are assumed ...READ MORE

Jul 22, 2022 in Data Science by avinash
• 1,840 points
835 views
0 votes
0 answers

How to read a csv-file from an url in R?

I'm not very experienced with R, so ...READ MORE

Jul 22, 2022 in Data Science by avinash
• 1,840 points
383 views
0 votes
1 answer

R: Generate Random Numbers with "floor" and "runif"

It looks like there's a small issue ...READ MORE

Sep 8, 2023 in Data Science by anonymous
• 1,180 points
430 views
0 votes
0 answers

How to plot two histograms together in R?

I have two data frames, one each ...READ MORE

Jul 22, 2022 in Data Science by avinash
• 1,840 points
286 views
0 votes
0 answers

The difference of na.rm and na.omit in R

I've just started with R and I've ...READ MORE

Jul 22, 2022 in Data Science by avinash
• 1,840 points
548 views
0 votes
1 answer

Forecast Package from R in Python

Yes, you can use the R forecast ...READ MORE

Sep 8, 2023 in Data Science by anonymous
• 1,180 points
397 views
0 votes
0 answers

Data frames and is.nan()

I was using sum(is.na(my.df)) to check whether ...READ MORE

Jul 22, 2022 in Data Science by avinash
• 1,840 points
167 views
0 votes
0 answers

Data frames and is.nan()

Sum(is.na(my.df)) worked as predicted when I used ...READ MORE

Jul 20, 2022 in Data Science by avinash
• 1,840 points
187 views
0 votes
0 answers

Understanding of minbucket function in CART model using R

Let's say that the training data is ...READ MORE

Jul 20, 2022 in Data Science by avinash
• 1,840 points
263 views
0 votes
1 answer

How to use plotly in R shiny

Here's a corrected version of your code: # ...READ MORE

Sep 8, 2023 in Data Science by anonymous
• 1,180 points
433 views
0 votes
1 answer

Plot a legend outside of the plotting area in base graphics?

It appears that you are experiencing some ...READ MORE

Sep 8, 2023 in Data Science by anonymous
• 1,180 points
238 views
0 votes
1 answer

sample function in R

It seems like you are experiencing an ...READ MORE

Sep 8, 2023 in Data Science by anonymous
• 1,180 points
431 views
0 votes
1 answer

R command for setting working directory to source file location in Rstudio

Yes, you can specify your working directory ...READ MORE

Sep 8, 2023 in Data Science by anonymous
• 1,180 points
384 views
0 votes
0 answers

How to deal with NaN values in R?

Due of my inexperience with programming and ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
210 views
0 votes
0 answers

Difference between ls() and objects()

What distinguishes the ls() and objects() functions? The ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
307 views
0 votes
0 answers

passing function argument to dplyr select

I can do this to pick out ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
246 views
0 votes
0 answers

Frequency table in R

I'm having trouble with something that ought ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
225 views
0 votes
0 answers

NA while using strptime function

Version 1.0.136 of R Studio for Windows ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
256 views
0 votes
0 answers

Read an Excel file directly from a R script

How do I open an Excel file ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
180 views
0 votes
0 answers

How does cut with breaks work in R

I've tried using?cut but haven't been able ...READ MORE

Jul 9, 2022 in Data Science by avinash
• 1,840 points
294 views
0 votes
0 answers

How does cut with breaks work in R

I've tried using?cut but haven't been able ...READ MORE

Jul 6, 2022 in Data Science by avinash
• 1,840 points
334 views
0 votes
0 answers

Explicitly calling return in a function or not

A while back, Simon Urbanek from the ...READ MORE

Jul 6, 2022 in Data Science by avinash
• 1,840 points
241 views
0 votes
0 answers

Understanding `scale` in R

I'm attempting to comprehend R's definition of ...READ MORE

Jul 6, 2022 in Data Science by avinash
• 1,840 points
291 views
0 votes
0 answers

What is the difference between rm() and rm(list=ls())?

The majority of items I've read. They ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
301 views
0 votes
0 answers

Fibonacci Sequence in R

Due of my inexperience with programming and ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
273 views
0 votes
0 answers

How do I get a list of built-in data sets in R?

Please advise on how to obtain the ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
184 views
0 votes
0 answers

How to manually find the minors of a matrix in R programming?

I have to write a function that ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
305 views
0 votes
0 answers

In R, how to get an object's name after it is sent to a function?

I'm trying to find the opposite of ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
177 views
0 votes
0 answers

Creating an R dataframe row-by-row

In RStudio, if I execute this code: "1 ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
165 views
0 votes
0 answers

R console output only shows most recent command in "if" condition

In RStudio, if I execute this code: "1 ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
180 views
0 votes
0 answers

Getting "NA" when I run a standard deviation

a quick query I read the variable ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
414 views
0 votes
0 answers

Get row and column indices of matches using `which()`

Say I have some matrix, for example: m ...READ MORE

Jul 5, 2022 in Data Science by avinash
• 1,840 points
168 views
0 votes
0 answers

Why 'nrow()' function doesn't seem to work within 'summarise()' function?

See the code below: library(dslabs) \sdata(gapminder) gapminder percent > ...READ MORE

Jun 30, 2022 in Data Science by avinash
• 1,840 points
200 views
0 votes
0 answers

Standard Deviation in R Seems to be Returning the Wrong Answer - Am I Doing Something Wrong?

An easy illustration of standard deviation calculation: The ...READ MORE

Jun 30, 2022 in Data Science by avinash
• 1,840 points
344 views
0 votes
0 answers

Load csv file in R

Is it possible to import a csv ...READ MORE

Jun 27, 2022 in Data Science by avinash
• 1,840 points
226 views
0 votes
0 answers

Stepwise AIC using forward selection in R

In R, I'm attempting to perform a ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
247 views
0 votes
0 answers

To speed up the tapply function in R, or another function to convert data frame into a matrix

I must turn a sizable dataset into ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
205 views
0 votes
0 answers

understanding durbin-watson test in R

I believe I have a misconception about ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
237 views
0 votes
0 answers

Calculate correlation with cor(), only for numerical columns

I have a dataframe and would like ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
244 views
0 votes
0 answers

Create a sequence of sequences of numbers

The following sequence should be created in ...READ MORE

Jun 24, 2022 in Data Science by Avinash
• 1,260 points
274 views
0 votes
1 answer

Unexpected behavior for setdiff() function in R

Asymmetric difference is provided by 18 setdiff. ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
631 views
0 votes
1 answer

grepl in R to find matches to any of a list of character strings

Inside of a grepl regular expression, you ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
2,471 views
0 votes
1 answer

What's the difference between "*" and "+" in lm() in R?

Lm is a fitting method for linear ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
564 views
0 votes
1 answer

Using dcast to widen a data frame

> dcast(z, id ~ item, value.var="freq") ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
266 views
0 votes
1 answer

Import CSV file using R

If there are quotes ("), by using ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
712 views
0 votes
1 answer

Problem with sample function in R

The first time works, but after that, ...READ MORE

Jun 24, 2022 in Data Science by Sohail
• 3,040 points
303 views