Let us call the data frame mtcars head(mtcars) Now let us create an extra column called ‘performance’ using a function called mutate() from dplyr…
Data Science · R
1 Answer
·
1.3K Views
·
Answered ✓
D
Asked by: Damini das · 6 years ago
The advantages of the R language are R is free to use and is an open-source language which can run on operating systems such as UNIX, Windows and…
Data Science · R
1 Answer
·
1.5K Views
·
Answered ✓
F
Asked by: Fukuda Ashikaga · 6 years ago
Some of the most commonly used tools in POS tagging are a) nltk b) Spacy c) TextBlob d) RNN and LSTM for neural network. Despite these tools, there…
Data Science · R
1 Answer
·
1.5K Views
·
Answered ✓
J
Asked by: Joaquina Messer · 6 years ago
[ 7, 8] [12,13] Let us create a matrix of 5 by 5 consisting of numbers 1-25. mat2
Data Science · R
1 Answer
·
2.9K Views
·
Answered ✓
D
Asked by: Deepa bhawana · 6 years ago
To apply lapply() to a function, we have to define a vector # vector v
Data Science · R
1 Answer
·
1.1K Views
·
Answered ✓
A
Asked by: Aashish chaursiya · 6 years ago
To iterate a loop over a matrix, we need to create a matrix first. Let us understand what a matrix is. A matrix is usually an array of numbers or a…
Data Science · R
1 Answer
·
1.5K Views
·
Answered ✓
A
Asked by: Aashish chaursiya · 6 years ago
tidyr() is a complimentary package in R used to create tidy datasets. Tidy data is when we have a data set where every row is an observation and…
Data Science · R
1 Answer
·
1.0K Views
·
Answered ✓
B
Asked by: bhagwati dubey · 6 years ago
To import excel file we have to install a library called ‘readxl’ install.packages(“readxl”) library(readxl) Excel file can contain two formats Xls…
Data Science · R
1 Answer
·
1.5K Views
·
Answered ✓
T
Asked by: Tanya verma · 6 years ago
SQL file can be read by connecting to a database and it completely depends on the type of database that we use. One such library is RODBC. To connect…
Data Science · R
1 Answer
·
826 Views
·
Answered ✓
A
Asked by: Ajit yadav · 6 years ago
Let us define two lists and merge it. A list can contain an array of elements of any data types be it integer, character or float. first_list =…
Data Science · R
1 Answer
·
1.0K Views
·
Answered ✓
N
Asked by: Niharika Deshpande · 6 years ago
For doing that, we can use the following function in R library("quanteda") textstat_entropy
Data Science · R
1 Answer
·
1.1K Views
·
Answered ✓
N
Asked by: Niharika Deshpande · 6 years ago
data(iris) model
Data Science · R
1 Answer
·
1.1K Views
·
Answered ✓
D
Asked by: Dadhija raj · 6 years ago