Most answered questions in Data Science

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
0 answers

how to make 2 separate substrings from strsplit in R

When it comes to accessing the elements ...READ MORE

Jun 13, 2022 in Data Science by Avinash
• 1,260 points
163 views
0 votes
0 answers

Determine the data types of a data frame's columns

I'm using R and have loaded data ...READ MORE

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

Introduction to Statistical Learning with Applications in R Figure Codes

I recently bought the following book: An Introduction ...READ MORE

Jun 1, 2022 in Data Science by avinash
• 1,840 points
374 views