I have created a factorial function which is then used to create a function for the binomial coefficient. My factorial function works but the binomial function
I try to use tidymodels to tune the workflow with recipe and model parameters. When tuning a single workflow there is no problem. But when tuning a workflowsets
I have NAM wind models that I create map from but I am struggling to add average wind direction vectors. How do I convert the U and V vectors so they give avera
I have one quest (pretty short). I shoud recode variebles with function(). I tried some, but it doesn't work still. It should work with this: recode.numeric(x =
I am trying to get predictions of a multiple variables model, its eplt, its made of 7 scores and one final exam score moy_exam2, I want to predict the later usi
I am running corr.test() to look at potential correlations between genes and bacteria in a dataframe using this code: spearman=cor.test(FullSet$counts.Bac, Full
I am new to working with APIs and especially MS Graph API so please excuse my ignorance. I work with data in R which is similar to Python, I have a data frame w
I have been having problems finding old packages for new nersion of R, any help appreciated > install.packages('NBZIMM') Warning in install.packages : pack
I have a complex shiny app with a lot of inputs, a leaflet map etc ... The problem I have is when the app is busy making some calculations, the users keep on cl
I am trying to transform a dataset: [1]: https://i.stack.imgur.com/09Ioo.png To something like this: [2]: https://i.stack.imgur.com/vKKu2.png How can I do this
everyone I generated 2 ggplot figures and I would like now to add them into the same figure, to do that I simply add the +. So I have 2 plots : (1 ggtree and 1
I am trying to create a simple map of the total number of collisions by county. I will pool the collision across species and then make the fill color dependent
I am using R in order to create a graph for my Tukey Test after my ANOVA analysis. This is the code: TukeyHSD(my.anova) Tukeytest <- TukeyHSD(my.anova) plot(
I got this problem after installing the new version of Rstudio/R , I had R version 3.6 and Rstudio 1.2.xx and after update I got this .T hen I tried doing a cle
Each time after I open RStudio, the first line of code I enter will result in this warning: Warning message: Error in normalizePath(path.expand(path), winslash
I'm working on a Mac and trying to connect to my remote Postgres database in R Studio. Error First, the error: Error: nanodbc/nanodbc.cpp:1021: 00000: FATAL: d
I just noticed that terra::cellSize() produces cell area estimates that do not match those produced by raster::area(). First, why do these two methods not provi
I have an issue where I kind of know what it is but do not know the solution to it. When I fetch data from an external Snowflake DB, it limits the size of the d
For some reason, my code chunks work but when I try to knit the file, I have an "object not found" error. Here's the chunk which causes the error: library(ggplo
I have a dataframe in R. My goal is to create a new column with if_else statement. If the value in a row is equal to the string "company", then the value of thi