Most answered questions in Data Analytics

0 votes
1 answer

Join multiple strings in R

Joining strings in R is quite an ...READ MORE

Jul 19, 2018 in Data Analytics by DataKing99
• 8,240 points
1,326 views
0 votes
1 answer

Logistic Regression Example

Logistic Regression often referred to as the ...READ MORE

Jul 19, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
1,229 views
0 votes
1 answer

Multiple plots onto a single page in R

Plotting multiple plots onto a single page ...READ MORE

Jul 17, 2018 in Data Analytics by Sahiti
• 6,370 points
438 views
0 votes
1 answer

Cross Validation

Cross-validation is a model validation technique for ...READ MORE

Jul 17, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
452 views
0 votes
1 answer

Difference between Eigenvectors and Eigenvalues

Eigenvectors are used for understanding linear transformations. In data ...READ MORE

Jul 17, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
9,278 views
0 votes
1 answer

Univariate/ Bivariate/ Multivariate

Univariate: These analyses are descriptive statistical analysis techniques which ...READ MORE

Jul 13, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
2,352 views
0 votes
1 answer

Statistical Power of Sensitivity

Sensitivity is commonly used to validate the ...READ MORE

Jul 13, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
788 views
0 votes
1 answer

Treat outliers in Dataset

Outlier values can be identified by using ...READ MORE

Jul 12, 2018 in Data Analytics by Sahiti
• 6,370 points
590 views
0 votes
1 answer

How to treat missing values during analysis?

The extent of the missing values is ...READ MORE

Jul 12, 2018 in Data Analytics by Sahiti
• 6,370 points
800 views
0 votes
1 answer

Overfitting vs Underfitting

In statistics and machine learning, one of ...READ MORE

Jul 11, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
952 views
0 votes
1 answer

Selection Bias

Selection bias is the bias introduced by the ...READ MORE

Jul 11, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
747 views
0 votes
1 answer

White noise model in R

The white noise (WN) model is a ...READ MORE

Jul 10, 2018 in Data Analytics by Sahiti
• 6,370 points
808 views
0 votes
1 answer

Random Walk model in R

A random walk is a simple example ...READ MORE

Jul 10, 2018 in Data Analytics by Sahiti
• 6,370 points
770 views
0 votes
1 answer

Rattle packages in R

Rattle is a popular GUI for data mining ...READ MORE

Jul 6, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
614 views
0 votes
1 answer

How to build a Scatter-plot using plotly?

With the help of “plotly” we can ...READ MORE

Jul 6, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
1,438 views
0 votes
1 answer

How to create a new R6 Class in R?

You have to first create an object ...READ MORE

Jul 5, 2018 in Data Analytics by DataKing99
• 8,240 points
1,064 views
0 votes
1 answer

Confusion matrix in R

A confusion matrix can be used to ...READ MORE

Jul 5, 2018 in Data Analytics by DataKing99
• 8,240 points
1,001 views
0 votes
1 answer

How to create a box-plot using “plotly” in R?

You can use this command to create ...READ MORE

Jul 4, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
7,220 views
0 votes
1 answer

How to write a custom function which will replace all the missing values in a vector with the mean of values in R?

Consider this vector: a<-c(1,2,3,NA,4,5,NA,NA) Write the function to impute ...READ MORE

Jul 4, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
4,252 views
0 votes
1 answer

List packages are used for data mining in R?

You can refer to the following packages ...READ MORE

Jul 3, 2018 in Data Analytics by DataKing99
• 8,240 points
1,285 views
0 votes
1 answer

What is a Random Walk model and how can you simulate it using R?

A random walk is a simple example ...READ MORE

Jul 3, 2018 in Data Analytics by DataKing99
• 8,240 points
3,045 views
0 votes
1 answer

How to sample random rows in dataframe?

Create data frame and then implement as ...READ MORE

Jul 3, 2018 in Data Analytics by Sahiti
• 6,370 points
625 views
0 votes
1 answer

How to sample n random rows per group in a dataframe?

You can assign a random ID to ...READ MORE

Jul 3, 2018 in Data Analytics by Sahiti
• 6,370 points
4,732 views
0 votes
1 answer

Create vector matrix of movie ratings using R project?

Why do'nt you try the dcast function, in the reshape2 package. d ...READ MORE

Jun 30, 2018 in Data Analytics by anonymous
897 views
0 votes
1 answer

How to calculate group mean and assign it to new data in R

You can use something like this: df$grp.mean.values <- ...READ MORE

Jun 27, 2018 in Data Analytics by Sahiti
• 6,370 points
1,558 views
0 votes
1 answer

How to find out cluster center mean of DBSCAN in R?

Just index back into the original data ...READ MORE

Jun 27, 2018 in Data Analytics by Sahiti
• 6,370 points
1,200 views
0 votes
1 answer

TwitteR package download of package ‘rjson’ fails in R

If you don't want to upgrade your ...READ MORE

Jun 27, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
1,192 views
0 votes
1 answer

SMOTE-function not working in R

If you convert 'y' to a factor, ...READ MORE

Jun 27, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
2,704 views
0 votes
1 answer

hclust size limit

Classic hierarchical clustering approaches are O(n^3) in runtime and O(n^2) in ...READ MORE

Jun 26, 2018 in Data Analytics by DataKing99
• 8,240 points
666 views
0 votes
1 answer

How to cluster center mean of DBSCAN in R?

Just index back into the original data ...READ MORE

Jun 26, 2018 in Data Analytics by DataKing99
• 8,240 points
573 views
0 votes
1 answer

How to convert a sentence to word table in R?

Try the following code: sentence <- c("case sweden", ...READ MORE

Jun 21, 2018 in Data Analytics by Sahiti
• 6,370 points
1,263 views
0 votes
1 answer

Use different distance formula other than euclidean distance in k means

K-means is based on variance minimization. The sum-of-variance formula ...READ MORE

Jun 21, 2018 in Data Analytics by Sahiti
• 6,370 points
1,413 views
0 votes
1 answer

Is there any easy way to fill in missing data?

You can try the following code: First, you ...READ MORE

Jun 20, 2018 in Data Analytics by DataKing99
• 8,240 points
896 views
0 votes
1 answer

Extract lhs items from rules in R

Try the following code: data("Adult") rules <- apriori(Adult, ...READ MORE

Jun 20, 2018 in Data Analytics by DataKing99
• 8,240 points
1,157 views
0 votes
1 answer

How to write rules generated by Apriori?

I found out one solution: Use as() ...READ MORE

Jun 19, 2018 in Data Analytics by Sahiti
• 6,370 points
437 views
0 votes
1 answer

How to cluster a very large dataset in R?

You can initially use kmeans, to calculate ...READ MORE

Jun 19, 2018 in Data Analytics by Sahiti
• 6,370 points
2,783 views
0 votes
1 answer

Extract a subset of a data frame based on a condition involving a field

Here are the two main approaches. I ...READ MORE

Jun 19, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
16,019 views
0 votes
1 answer

Randomly subset of data with dplyr

Maybe this is what you want: # sample ...READ MORE

Jun 19, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
667 views
0 votes
1 answer

Do-while loop in R

You can use repeat{} condition and check ...READ MORE

Jun 14, 2018 in Data Analytics by DataKing99
• 8,240 points
490 views
0 votes
1 answer

Drop unused levels from a data frame in R

You can use this command droplevels() y <- ...READ MORE

Jun 14, 2018 in Data Analytics by DataKing99
• 8,240 points
1,778 views
0 votes
1 answer

Reshape dataframe without “timevar” from long to wide format in R

Assuming that the data is in the ...READ MORE

Jun 14, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
831 views
0 votes
1 answer

Reshape data from long to wide format in R

Use reshape function: reshape(dat1, idvar = "name", timevar = ...READ MORE

Jun 14, 2018 in Data Analytics by CodingByHeart77
• 3,740 points
2,552 views
0 votes
1 answer

How can I read a .csv file in R language?

read.csv () function is used to read ...READ MORE

Jun 12, 2018 in Data Analytics by zombie
• 3,790 points
556 views
0 votes
1 answer

How can I differentiate between lapply and sapply ?

If the programmers want the output to ...READ MORE

Jun 12, 2018 in Data Analytics by zombie
• 3,790 points
3,799 views
0 votes
1 answer

How to evaluate expression given as a string in R?

The eval() function evaluates an expression, but "5+5" is a string, ...READ MORE

Jun 7, 2018 in Data Analytics by DataKing99
• 8,240 points
4,240 views
+1 vote
1 answer

Identify object in R

Hi,  You can use ? followed by the ...READ MORE

Jul 2, 2019 in Data Analytics by anonymous
• 33,030 points
441 views
0 votes
1 answer

How to extract a dplyr tbl column as a vector?

With dplyr 0.7.0, you can use pull to ...READ MORE

Jun 6, 2018 in Data Analytics by Sahiti
• 6,370 points
6,196 views
0 votes
1 answer

Using dplyr package to summarise multiple columns - R

'dplyr' package provides 'summarise_all()' function to apply ...READ MORE

Jun 6, 2018 in Data Analytics by Bharani
• 4,660 points
1,916 views
0 votes
1 answer

Unable to install the 'devtools' package in R

Run the below command in your Ubuntu/Linux ...READ MORE

Jun 6, 2018 in Data Analytics by Bharani
• 4,660 points
1,481 views
0 votes
1 answer

How many data structures does R language have?

R language has Homogeneous and Heterogeneous data ...READ MORE

Jun 5, 2018 in Data Analytics by zombie
• 3,790 points
755 views