questions/data-science
data = data.frame( zzz11def = sample(LETTERS[1:3], 100, replace=TRUE), zbc123qws1 ...READ MORE
Hi, I'm not sure about the command but you ...READ MORE
key error. I love python READ MORE
Hey, Convert the Class.variable to factor then it might work. random_forest ...READ MORE
You can use the markdown cell to do this. ...READ MORE
Hi Shiva, You need to provide a matrix ...READ MORE
Hi, Nirvana You can also try this. which(iris$Sepal.Length == ...READ MORE
5 ways to measure running time of ...READ MORE
Hey @Ali, change working dir, exit r ...READ MORE
Hi Prachi. To include an image in the ...READ MORE
Consider the below vector: a<-c(0.1324,0.0001234,234.21341324,09.324324) You can convert it ...READ MORE
In simple words, NULL represents the null or an empty object ...READ MORE
Hi@akhtar, You need to install the library in ...READ MORE
You can assign global variables from inside ...READ MORE
Firstly you need to understand the concept ...READ MORE
Use below code - which(is.na(air)) is.na() will return a boolean ...READ MORE
With the try function you can handle errors to ...READ MORE
Use index within [] and provide an ...READ MORE
Consider a dataSet i.e cicar(present under library ...READ MORE
You can give this a try. subset(dataframe, is.na(dataframe$col2)) ...READ MORE
I just found there are 2 functions file.rename() ...READ MORE
Hi, You can get a count of all ...READ MORE
Eigenvectors are used for understanding linear transformations. In data ...READ MORE
Hi, You can read the image using Magick ...READ MORE
Hi Rayan, This error comes due to the ...READ MORE
Use substring() function to extract value from ...READ MORE
You can use the scale_x_discrete() function with ...READ MORE
This error is likely to occur when ...READ MORE
Try writing your valueBox with this syntax: valueBox( ...READ MORE
The error could be because of using reactive ...READ MORE
Try install.packages(“package_name”, repos="http://cr ...READ MORE
summarise() and summarize() are synonyms. READ MORE
There is small mistake in your code. ...READ MORE
Hi Shilpa, The differences are - 1. Tibble ...READ MORE
See below example, > p = colorFactor(palette = ...READ MORE
Consider the iris dataset use the table() function ...READ MORE
By Using gridExtra library we can easily ...READ MORE
Hi kriti, Use below code inside geom_bar function. position ...READ MORE
sort(x,T)[n] Here, 'x' is the data-frame/vector and 'n' ...READ MORE
@Yash, This is a requirement based question. ...READ MORE
Yes there are so many ways: df[,c(V2,V4)] and another ...READ MORE
Your first task would be to build ...READ MORE
1. For taking an argument from the ...READ MORE
Create a string with date notation as ...READ MORE
First we should have some data: df1<-data.frame(matrix(rnorm(20), nrow=10)) > ...READ MORE
You could try adding the following line ...READ MORE
You can use this command to create ...READ MORE
Use discretize function to convert a continuous variable ...READ MORE
Merge function merges an arbitrarily large series ...READ MORE
You can try using match: data <- data.frame(alphabets=letters[1:4], ...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.