I've been using Tableau to visualise some data on activity counts at different sites. I'm trying to convert to using R studio instead. However, I'm facing some
I wrote a function to calculate annual growth for my parameters: growth.rate <- function(data){ for (i in c("Area", "Rainfall", "Yield")) { T1 <- ma
I'm doing a Shiny app and I have a question. I want to have a slider input which min and max values depends on values in some dataframe. That's easy to make. Bu
Consider dataset the following dataset: ID Start time End time Traffic Lane 1 01-01-2015 01-02-2015 500 1 1 01-01-2015 01-02-2015 400 2 1 01-02-2015 01-03-2015
I am having trouble creating a bar chart utilizing ggplot2 that is sorted by value. I understand that I can order the data frame by the value
I am new in R, so maybe anyone could help me. I have dataset like this ID Date Revenue Sales 1 2022.01.01 10 20 1 2022.02.01 11 21 1 2022.03.01 12 22 2 2022.01
The following code runs nicely in the console or from an .r-file: library(rstudioapi) thisisthepathvariable <- rstudioapi::selectDirectory(caption = "Select
I've made a gantt chart with timevis, but because the group titles are quite long and there are lots of elements it's not fitting on the screen. I'd like the th
Maybe I missed something in how tax_glom works but as I did not find any info here nor elsewhere on the web, maybe someone here can help. I do not provide data
Probably a user error but I can't find it for the life of me. Trying to rearrange the order of factors in a boxplot I am making using ggplot using the, "scale_x
I'm trying to host a shiny app on a Linux RedHat server. The app works perfect when running locally. However, neither the slider or histogram is showing while o
I have a general shiny question, rather than a specific call to help with code. I've just finished creating a branded shiny template using a mix of fresh and so
I have a data.frame(tt) with 3 columns: nazvReki - grouping variable (18 values); rang - axis X (443 entries from 1 to 70. It takes values from 1 to 70, but for
I work with library circlize and I made plot. Below you can see code library(circlize) random_values<-c(500:100) random_sample<-sample(random_values,15)
I have multiple equations that I want to solve using caracas. I define my equations using sympy$Eq, then try to solve the equations using sympy$solve. But this
I am using a package called Vegan to calculate the PCA of my environmental samples and then plot my PCA values on the ordination space in R, I am using the data
I am an absolute beginner with R, so I'm sorry in advance for this probably simple question... I have an excel dataset that looks like this: Now, I need to tra
I have a string variable type in my data frame that has a long string (its a JSON response) with both the names of the columns I want and the values following i
This column is from a dataframe called bdata. How do I convert this column smoothly into an rdate format when some of the variables here are already in rdate f
I'm trying to use the forestplot package to include estimate (beta) values. I can do it just fine if I were to use means instead of estimates using the code bel