questions/data-science
A confusion matrix can be used to ...READ MORE
You can use this command to create ...READ MORE
Consider this vector: a<-c(1,2,3,NA,4,5,NA,NA) Write the function to impute ...READ MORE
You can refer to the following packages ...READ MORE
A random walk is a simple example ...READ MORE
Create data frame and then implement as ...READ MORE
You can assign a random ID to ...READ MORE
Why do'nt you try the dcast function, in the reshape2 package. d ...READ MORE
You can use something like this: df$grp.mean.values <- ...READ MORE
Just index back into the original data ...READ MORE
If you don't want to upgrade your ...READ MORE
If you convert 'y' to a factor, ...READ MORE
Classic hierarchical clustering approaches are O(n^3) in runtime and O(n^2) in ...READ MORE
Try the following code: sentence <- c("case sweden", ...READ MORE
K-means is based on variance minimization. The sum-of-variance formula ...READ MORE
You can try the following code: First, you ...READ MORE
Try the following code: data("Adult") rules <- apriori(Adult, ...READ MORE
I found out one solution: Use as() ...READ MORE
You can initially use kmeans, to calculate ...READ MORE
Here are the two main approaches. I ...READ MORE
Maybe this is what you want: # sample ...READ MORE
You can use repeat{} condition and check ...READ MORE
You can use this command droplevels() y <- ...READ MORE
Assuming that the data is in the ...READ MORE
Use reshape function: reshape(dat1, idvar = "name", timevar = ...READ MORE
read.csv () function is used to read ...READ MORE
If the programmers want the output to ...READ MORE
The eval() function evaluates an expression, but "5+5" is a string, ...READ MORE
Hi, You can use ? followed by the ...READ MORE
It's easier to convert alpha to characters ...READ MORE
With dplyr 0.7.0, you can use pull to ...READ MORE
'dplyr' package provides 'summarise_all()' function to apply ...READ MORE
Run the below command in your Ubuntu/Linux ...READ MORE
R language has Homogeneous and Heterogeneous data ...READ MORE
CRAN package ecosystem has more than 6000 ...READ MORE
You can use the p_load() function from ...READ MORE
Create an empty data.frame first and then ...READ MORE
Below is one solution: # GET EQUATION AND ...READ MORE
The key to ordering is to set ...READ MORE
You just have to add 'outlier.shape=NA' inside ...READ MORE
sort(x,T)[n] Here, 'x' is the data-frame/vector and 'n' ...READ MORE
You're looking for invalidateLater. Put this, with the ...READ MORE
When you refresh the page in the ...READ MORE
There is actually a replace function in ...READ MORE
Result = Set1.add(Set2) x y 0 70 ...READ MORE
You can try to override ggplots default ...READ MORE
You should try using one library but ...READ MORE
You can try theme(): Library(ggplot2) a <- data.frame(x=gl(10, 1, ...READ MORE
You can use: options(warn=-1) // turning off warnings ...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.