questions/data-science
Try this: df %>% filter(!is.na(col1)) READ MORE
Hello team, you can use na.omit x <- c(NA, 3, ...READ MORE
To change the font size of text ...READ MORE
You can change data types using as.* ...READ MORE
Hi, You need to create a data frame ...READ MORE
Hi, You can use plyr module. It will give ...READ MORE
Hi Swathi, You can use ls() to list ...READ MORE
.tolist() function will remove index READ MORE
You can use the 'filter' function from ...READ MORE
Description Windows & Linux Mac Clear console Ctrl+L ...READ MORE
You can also try this way, x_new = ...READ MORE
Check out file.exists() function!! The function file.exists() returns a ...READ MORE
The function match works on vectors : x <- sample(1:10) x # ...READ MORE
To obtain the desired output, you can ...READ MORE
Yes, you are on the right track ...READ MORE
To improve the performance of your code, ...READ MORE
Yes, you can modify the model.matrix() function ...READ MORE
Yes, there is a more efficient method ...READ MORE
Yes, you can clear all variables in ...READ MORE
If you encounter an error stating "'some.function' ...READ MORE
The difference are - A list holds different ...READ MORE
Replace all \ with \\. Its trying ...READ MORE
According to the "Arithmetic operators" help page ...READ MORE
Since the string is to be treated ...READ MORE
Your error is seeking for range, which ...READ MORE
x <- seq(0.1,10,0.1) > x [1] ...READ MORE
One function that I designed can produce ...READ MORE
Each element of a vector is duplicated ...READ MORE
5 In R, you may always check ...READ MORE
ggplot2 still imports plyr (at least as ...READ MORE
When attempting to compute the CI in ...READ MORE
See the code below: library(dslabs) data(gapminder) differenceminder percent > percent filter(year% ...READ MORE
cbind = tmp ("GAD", "AB") tmp # [,1] ...READ MORE
I'm scrambling to come up with a ...READ MORE
Plot character or pch is the standard ...READ MORE
Alter this sentence: model = lm(train$latitude train$crashes) to lm(crashes ...READ MORE
43 I advise employing the caret package's dummyVars ...READ MORE
You're not loading the TM library, and ...READ MORE
The final n characters of a string ...READ MORE
You ought to have done this: "ggplot2" is ...READ MORE
Square RSS Df Sum AIC 169 61.3 ...READ MORE
Hi @radha, You can have 2 types of ...READ MORE
this will work _polynomial = function(x) { ...READ MORE
When the first if is followed by ...READ MORE
Is it possible to import a csv ...READ MORE
A dataset containing 313 variables is the ...READ MORE
Since the dot has a specific meaning ...READ MORE
0 What follows functions as expected: Data.frame(c(1, 2, 3)) ...READ MORE
An easy illustration of standard deviation calculation: The ...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.