Is there any way to remove columns from a dataframe that has LESS NA-values than for instance 200? So instead of df.dropna(threshold = 200) we want the opposite
I have some sound data in .wav format and I would like to extract Sound Pressure Level data from this file in dB for different timepoints of the recording so I
I have a data frame on R and I want to remove all rows that are not increasing in my column 3. Each row have to be higher or equal than the previous one. But m
I am trying to recover in-sample predictions (fitted values) from a bsts model with a specified poisson response using the bsts package in R. The following res
I want to generate all subset of {1,2,3,4} with only consecutive numbers. (For example I want subset {1}, {1,2} or {2,3,4} but not {2,4}. ) This is what I have
I am working on an R package that I would like to submit to CRAN and have had issues with the size of the data, therefore I moved it into the extdata/data folde
Sorry that this error has been discussed before, each answer on stackoverflow seems specific to the data I'm attempting to run the following negative binomial m
My goal is to get EVERY tweet ever for any twitter account. I picked the NYTimes for this example. The code below works, but it only pulls the last 100 tweets.
I am having trouble installing spacyr on R version 4.2. What is strange is that I've used this package in the past just fine. The installation is pretty basic.
I want to plot all ROC curves in one graphic with the plot function, but the first plot (tree.perf in blue) is separate from the others. Can someone help me out
My data looks like this: Sample_A Sample_B Value Rabbit Mouse 1.2 Mouse Tiger 7.89 Tiger Lion -0.9 Mouse Rabbit
I have the following decision rules: RELIABILITY LEVEL DESCRIPTION LEVEL I Multiple regression LEVEL II Multiple regression + mec
This is a snippet of my interface (if choices = c () it means that the choice is managed on the server side): sidebarPanel( selectizeInput( "s1",
I followed this vignette of the tidymodels package to make the gbm an engine for the boost_tree() function. I came up with the following for regression tasks: l
I am struggling with an issue concerned with nested for loops and calculation with conditions. Let's say I have a data frame like this: df = data.frame("a" = c(
I've looked quite a few different questions on here around Pivot Longer but I can't seem to figure out how to get my scenario to work. For example R Pivot multi
This is the piece of code i'm having troubles with: pump_recipe <- recipe(status_group ~ ., data = data) %>% step_impute_median(all_numeric_predictors()
I'm running a study in which each participant will be presented with stimuli that have been randomized at two different levels: blocks (3 unique blocks) and tri
I searched Stack Overflow for fixes to this error and will put all the things that I have tried below that did not solve the issue. I have not had an issue on o
I am having troubles defining a specific behaviour when hovering an R Plotly graphic. Here is what I would like to do : I would like the full arrow to be respon