home
I have a dataframe like this df= data.frame(text= c("test and run", "rest and sleep", "test",...
I'm trying to use Dplyr to get following data organized: id <- c("1", "2", "3", "1", "2", "3",...
I am trying to execute a code that takes way too much time (>6 days). Maybe there is a way of...
I have a problem when I want to install the plotrix package. The message is: Error in...
I am trying to increase the font size in a graphic generated with the circlepakeR function in R....
I have a dataset that has something of the following: ID Type Count 1 ...
Teeth <- caries$after - caries$before anova <- aov(Teeth~inst * treat,...
I'm trying to run a knn with train() function with the knn3 method: model_KNN <- train(Y ~ .,...
My data frame is set as follows: Black White Red Blue 0.8 0.1 0.07...
I'm trying to make a counter count each row of a data frame which column 1 needs to equal "vsrv11"...
I am currently writing a code that uses the nlmefunction in the nlme package in R and am trying to...
library(ggplot2) set.seed(1) train.ind <- sample(1:nrow(mpg), round(nrow(mpg)/2)) lm_mod <-...
I am facing a strange issue. Have written a code with ggplot2 which is getting executed perfectly...
So in short, my project is a restaurant booking system. You can book certain times to keep it...
I am trying to apply an SVM model to create a predictor of a category based on some peoples'...
I have one row only data frame (its subtracted from bigger df) and I tried to use it as vector of...
I am using the in_schema() function from dbplyr package to create a table in a named schema of a...
I am running a beta regression model in R on proportion data with one quantitative predictor...
I have a set of three DT::datatables, each in its own tab in flexdashboard. The data for these...
I have this vector: key <- c(2,1,3,2,3,3,3,1,1,3,1,3,3,1,2,3,1,2,2,3,1,3,2,2,1,3,2,2,2,3) And...
library(xts) library(forecast) set.seed(190) modelo_1 <- arima.sim(n = 252*8,list(ar =...
I have some trouble with an implementation of a Power iteration in R. The following is what I got,...
I would like to have additional informed perspectives on disadvantages of using tibbles versus...
I'm trying to optimize 2 nested for loops with GRanges in them. My original GRanges...
I'm running linear regression with all predictors (I have 384 predictors), but only get 373...
I am trying to plot several line graphs from a list using a loop in R. The list temp.list looks...
I am trying to run a linear regression on a dataset (x_final). I have split the data into test and...
Good Day. I am trying to analyse the vendor facebook page. The below steps has been taken to...
I'm trying to do a test 1000 times, sum all of the answers and divide all of it by 1000. I'm...
So I did some manipulations on my dataframe and final dataframe which I thought is closest to...