I'm new to R and I'm trying to make my chart interactive using shiny and leaflet in R. however I can't seem to run my map_data() under reactive ({ code }) becau
How to change 1.3445 to 13445, 2.4444 to 24444 , and keep 1.20 not change. Thanks! md <- data.frame(value=c('1.3445','1.20','2.4444'))
my brain hurts, I can't figure it out, I would be tremendously thankful for your help. I have a database that gets encrypted at storage using PHP. I need to dec
I'm new at web scraping an I'm stuck with this. My goal is to generate a table with historical data from '2018-01-01' to '2021-12-31' but I have 0 idea of how t
I am working on replicating in a Rmarkdown a report I made in Excel. In some of the results I have tables with conditional columns with color formatting, from r
In readr, where combine using parameter col_names = TRUE and col_character as below code3, it's failed and the error message as attached image. Anyone can help
Goal In an R/Markdown document that I want to convert to LaTeX I want to set knitr options so that the entire document uses plain code chunks for all code input
I found how to print selected column by their names on R but not how to print the column names. My data set is called t and I tried that : print(colnames(t[3:nc
I would like the title of my plot to change based on if the supply is over or under the estimate. The estimate of the supply is in DF$Supply.. If it is positive
I've written code that runs a long calculation in which, as part of it, several UI elements are updated showing part of the progress and results of the calculat
I was exploring the capabilities of the smartEDA package and stuck with a challenge. The target column "US" has 2 categories - "Yes" and "No". The output (below
I am trying to get two samples with unique elements in each sample. That is, the strings on the "first" vector cannot be in the "second" vector. Unfortunately,
I have some code like this: seq(0, 2*pi, length.out = 100) %>% cbind.data.frame(t = ., Y = sin(.)) %>% qplot(t, Y, data = ., geom = "line")+ geom_
how in Rstudio, I can compute the below command?.
I want to extract the random effects from my lmer model, including the person this random effect belongs to. My goal is to create a tibble that has one column f
I have the following dataframe and I want to mutate all the columns in ENV dataframe to substitute some value with case_when function: metrics <- stru
I was wondering why variable mean_y is not recognized by my geom_hline(yintercept = unique(mean_y)) call? library(tidyverse) set.seed(20) n_groups <- 2 n_in
I am writing a wrapper function where I am linking multiple steps of a pipeline. I would like to make it so the user can input multiple options where the value
I have a Landsat 8 dataset downloaded from the USGS. I import into R using the following code: library(raster) library(tmap) B1 <- raster("LC08_L2SP_166072_
I am a newly self-taught user of R and require assistance. I am working with a dataset that has captured location of residence and whether the locality is metro