questions/data-science
To obtain the desired output, you can ...READ MORE
To improve the performance of your code, ...READ MORE
One function that I designed can produce ...READ MORE
Yes, you can modify the model.matrix() function ...READ MORE
Yes, there is a more efficient method ...READ MORE
Yes, you are on the right track ...READ MORE
Yes, you can clear all variables in ...READ MORE
If you encounter an error stating "'some.function' ...READ MORE
cbind = tmp ("GAD", "AB") tmp # [,1] ...READ MORE
When attempting to compute the CI in ...READ MORE
I'm scrambling to come up with a ...READ MORE
See the code below: library(dslabs) data(gapminder) differenceminder percent > percent filter(year% ...READ MORE
Is it possible to import a csv ...READ MORE
A dataset containing 313 variables is the ...READ MORE
months and 9 years ago updated ten months ...READ MORE
The final n characters of a string ...READ MORE
See the code below: library(dslabs) \sdata(gapminder) gapminder percent > ...READ MORE
An easy illustration of standard deviation calculation: The ...READ MORE
Each element of a vector is duplicated ...READ MORE
I'm attempting to use the for function ...READ MORE
0 In order to compare the voice characteristics ...READ MORE
While using R to practise fundamental matrices ...READ MORE
0 What follows functions as expected: Data.frame(c(1, 2, 3)) ...READ MORE
I'm not clear why the first function ...READ MORE
In order to streamline my work process, ...READ MORE
I need a R function that computes ...READ MORE
5 In R, you may always check ...READ MORE
Everyone agrees that str() reveals an object's ...READ MORE
I'm trying to get a handle on ...READ MORE
Alter this sentence: model = lm(train$latitude train$crashes) to lm(crashes ...READ MORE
You're not loading the TM library, and ...READ MORE
Your error is seeking for range, which ...READ MORE
Using the ggplot2 package, I'm attempting to ...READ MORE
Square RSS Df Sum AIC 169 61.3 ...READ MORE
Since the string is to be treated ...READ MORE
this will work _polynomial = function(x) { ...READ MORE
That was close. The as needs to ...READ MORE
43 I advise employing the caret package's dummyVars ...READ MORE
ggplot2 still imports plyr (at least as ...READ MORE
# set the working directory to the ...READ MORE
Lists of lists are simple to create. list1 ...READ MORE
Do you read 2? sapply. Either a ...READ MORE
You must first restructure your dataset into ...READ MORE
x <- seq(0.1,10,0.1) > x [1] ...READ MORE
I'm modelling with the fpp2 package's data ...READ MORE
df<-data.frame(risk= rep(c("ADV","HHM","POV"),10), ...READ MORE
Excellent query. The documentation is ambiguous on ...READ MORE
There are usually two methods for calculating ...READ MORE
When the first if is followed by ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.