Most viewed questions in Data Analytics

0 votes
1 answer

Dataset data type incorrect - R

You can assign datatypes for the field ...READ MORE

Jul 15, 2019 in Data Analytics by anonymous
1,259 views
0 votes
1 answer

How do I remove unnecessary redundant data from a dataset?

You can use dimensionality reduction methods such as ...READ MORE

Nov 13, 2018 in Data Analytics by Maverick
• 10,840 points
1,250 views
+1 vote
2 answers
+1 vote
1 answer

R Code : Combine two lists with different structures

You seem to be having an empty ...READ MORE

Dec 13, 2018 in Data Analytics by Shubham
• 13,490 points
1,231 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,228 views
+1 vote
1 answer

R Programming: Market Basket Analysis Error

The basket.sorted() has less than 5 rules. Refer ...READ MORE

Feb 12, 2019 in Data Analytics by Sophie may
• 10,610 points
1,226 views
0 votes
1 answer

Selecting only p-value and r.squared value from linear regression result

You can use the $ symbol to ...READ MORE

May 22, 2018 in Data Analytics by Bharani
• 4,660 points
1,225 views
+4 votes
0 answers

Counting the frequency of user activities - R

Within a data frame (see below), I ...READ MORE

Dec 3, 2019 in Data Analytics by anonymous
• 160 points
1,224 views
0 votes
1 answer

catch warnings and errors in rpy2

To get the warnings as an rpy2 ...READ MORE

Nov 8, 2018 in Data Analytics by Maverick
• 10,840 points
1,224 views
+1 vote
0 answers
0 votes
1 answer

Hide and show labels by default in maps

Hi, You need to just add an attribute ...READ MORE

Sep 23, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,223 views
+1 vote
1 answer

Parallel programming In R using GPU

Check out the CRAN Task View on High-Performance ...READ MORE

Feb 4, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,219 views
+2 votes
1 answer

Why data cleaning plays a vital role in the analysis?

Data cleaning is the fourth step in ...READ MORE

Nov 22, 2019 in Data Analytics by Keshav
1,216 views
0 votes
1 answer

Loop to automate the plotting process in R

Try something like this: library(tidyverse) data(iris) ## create a grid ...READ MORE

Dec 7, 2018 in Data Analytics by Maverick
• 10,840 points
1,212 views
0 votes
1 answer

2 dataframes in single dplyr pipeline

You can use 2 different data frames ...READ MORE

Aug 21, 2019 in Data Analytics by anonymous
• 33,030 points
1,211 views
0 votes
1 answer

Error saying "Error in install.packages("epiR") : unable to install packages" when trying to install a package

Your system does not contain a personal ...READ MORE

Nov 21, 2018 in Data Analytics by Maverick
• 10,840 points
1,211 views
0 votes
1 answer

HIVE DATA LOADING ERROR

Dear Raghu, Hope you are doing great. It is ...READ MORE

Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
1,210 views
0 votes
1 answer

Plotting multiple graphs on the same page in R

If you want to plot 4 graphs ...READ MORE

Mar 27, 2018 in Data Analytics by Bharani
• 4,660 points
1,203 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,199 views
0 votes
1 answer

web scraping using python or R?

In simple words, Python can be a ...READ MORE

Nov 22, 2018 in Data Analytics by Kalgi
• 52,360 points
1,195 views
0 votes
1 answer

Vectorized IF statement in R?

x <- seq(0.1,10,0.1) > x [1] ...READ MORE

Jun 24, 2022 in Data Analytics by Sohail
• 3,040 points
1,193 views
+1 vote
2 answers

Different data structures in R

The different data types in R are ...READ MORE

Aug 26, 2019 in Data Analytics by anonymous
• 33,030 points
1,192 views
0 votes
0 answers

Remove specific elements from list using condition in R

How to remove specific elements from list ...READ MORE

Aug 13, 2019 in Data Analytics by radha
1,191 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,191 views
0 votes
1 answer

17) Identifying customers likely to churn is part of __________

Hi@ritu, Churn management is the art of identifying valuable ...READ MORE

Dec 2, 2020 in Data Analytics by MD
• 95,440 points
1,187 views
0 votes
1 answer

Error saying "missing 'sequenceID' or 'eventID'" when trying to convert my data into cSPADE compatible format.

Try this: source dataset in this format: 1 3 ...READ MORE

Nov 15, 2018 in Data Analytics by Maverick
• 10,840 points
1,185 views
0 votes
1 answer

display the output r code as title in R script Rmarkdown script to html page

Use the file input from parameter and ...READ MORE

Jul 31, 2019 in Data Analytics by anonymous
1,180 views
0 votes
1 answer

How to create an empty dataframe?

Initialize with empty vectors: data <- data.frame(Date=as.Date(character()), ...READ MORE

Apr 13, 2018 in Data Analytics by nirvana
• 3,130 points
1,178 views
0 votes
1 answer

Error saying 'shinyServer(function(input,output){ output`$histogram`" while creating dashboard using shiny R

Try this for your server.R library(shiny) library(shinydashboard) shinyServer(function(input,output){ output$`$histogram`<- ...READ MORE

Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,176 views
0 votes
3 answers

What is Linear Regression?

linear regression is useful for finding relationship ...READ MORE

Aug 7, 2019 in Data Analytics by nikita
1,174 views
0 votes
1 answer

Error: `width` is shorter than `ellipsis`FALSE

Add ellipsis = "" attribute to remove ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,173 views
0 votes
1 answer

AUC for 3-Class prediction in R

Use type='probs' inside predict() function, so that ...READ MORE

Apr 4, 2018 in Data Analytics by Bharani
• 4,660 points
1,173 views
+10 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

Aug 9, 2018 in Data Analytics by Abhi
• 3,720 points
1,172 views
+2 votes
2 answers

How to create our own dataframe in R?

Data frames are tabular data objects. Unlike ...READ MORE

Oct 29, 2020 in Data Analytics by anonymous
1,171 views
0 votes
1 answer

what is a contingency table?

A contingency table is a table showing ...READ MORE

Oct 21, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,167 views
0 votes
1 answer

Python equivalent to replace function in R

There is actually a replace function in ...READ MORE

May 31, 2018 in Data Analytics by Bharani
• 4,660 points
1,166 views
0 votes
1 answer

Check if number is armstrong number or not

Hey, # take input from the user num = ...READ MORE

Sep 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,165 views
0 votes
1 answer

Error in library("rjson") : there is no package called ‘rjson’.

Hi@akhtar, You can load the JSON file in ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,440 points
1,161 views
0 votes
1 answer

How can I find file name from full file path in R?

You can use: basename("C:/some_dir/filename.ext") # [1] "filename. ...READ MORE

May 24, 2018 in Data Analytics by zombie
• 3,790 points
1,160 views
0 votes
2 answers

How to add sliderbars in a shiny R dashboard?

To add slider bar and slider range ...READ MORE

Dec 5, 2018 in Data Analytics by Kalgi
• 52,360 points
1,156 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,154 views
0 votes
1 answer

R programming: How to convert Tiff to IMG (ERDAS) format?

This code should work: library(raster) input <- list.files(pattern='tif$') output <- ...READ MORE

Jan 16, 2019 in Data Analytics by Tyrion anex
• 8,700 points
1,153 views
0 votes
1 answer

20) In BI, analysis includes

Hi@ritu, In BI, the analysis includes Predictive analysis, ...READ MORE

Dec 2, 2020 in Data Analytics by MD
• 95,440 points
1,144 views
+1 vote
2 answers

How to segment documents into phrases in text mining using R?

You can do this in R using ...READ MORE

Nov 15, 2018 in Data Analytics by sandeep
• 260 points
1,135 views
0 votes
3 answers

R vs MATLAB, which is better with respect to machine learning?

Hello, Both are a good programming language you ...READ MORE

Apr 12, 2019 in Data Analytics by SA
• 1,090 points
1,132 views
0 votes
1 answer

Grouping rows in a list in pandas (python) groupby

Yes, this possible by using groupby function ...READ MORE

May 3, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Jun 8, 2020 by MD 1,131 views
0 votes
1 answer

How to color categorical data markers?

Hey, Use colorFactor function. Check this example. pal <- colorFactor(c("navy", ...READ MORE

Sep 25, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,120 views
0 votes
1 answer

plot trees in R

Hi, Vijay. You can create trees using different ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
1,119 views
0 votes
2 answers

What are the skills required for data science?

Data Science is a platform for analyzing ...READ MORE

Apr 4, 2019 in Data Analytics by MrBoot
• 1,190 points
1,117 views