I am reading the book Text Mining with R: A Tidy Approach by Julia Silge & David Robinson to try to find the difference between two works, and not the three
I have a set data that I need to add to levels of labels. One on a single chart within the facet grid, and one from a small dataframe with entries for for each
I am looking to: Insert UI elements Update UI elements Run a long calculation All after pressing one button. Example app: #EXAMPLE APP---- #Libraries---- librar
I have following simplified dataset as example: > str(one_year_before) 'data.frame': 3359 obs. of 3 variables: $ Default_status : Factor w/ 2
Data: https://github.com/yuliaUU/data/blob/main/test.csv griddf <- read_csv("test.csv") create a map: world <- rnaturalearth::ne_countries(scale = "medi
EDIT: I could not come up with a more precise question title but please let me know what better title I could use, thanks! I have a "basic" math problem that I
I am trying to move test DF data to test2 DF data in one code chunk - Right now, I have this going as two separate code chunks - the top one creates the test2 d
I have a dataframe of family relationships (parent, child, spouse, etc.) which is partially filled as per example below. I am trying to use R to fill in the mis
I want to match a regular expression special character, \^$.?*|+()[{. I tried: x <- "a[b" grepl("[", x) ## Error: invalid regular expression '[', reason 'M
I would like to subset text from an original word docx ("original.docx") into a new word docx ("desired.docx"), AFTER the match of the phrase "Drop Text Before
I have 200 workbooks (1 per subject) with two sheets each. I was able to merge all sheets 1 and all sheets 2 in two separate data frames using the following scr
I made a function that takes a dataframe as argument, and creates two dataframes in output according to a threshold value of one of the columns. These 2 output
I am trying to use VS Code to run R. When I open R terminal in VS Code, I cannot find R icon on the left most column. I created a .r file, loaded that into VS
I used write.table(mat, "clipboard-1024", sep="\t", row.names=FALSE) to copy from R to Excel in previous versions. After updating to 4.2.0 it copies columns nam
so I'm using srvyr to calculate survey means of a variable (y) from a survey object, grouping by a categorical variable (x) from that same survey object, and th
I am using R to work with some dataframes. My issue is related on how to check if values in a variable in a first dataframe match with values in another datafra
Minimal working example: library(dplyr) df = data.frame(group_id = c("G1","G1", rep("G2",8)), prod_id = c(1,2,5,6,7,8,9,10,11,12),
I defined a function creates 3 random numbers from 1 to 36, and I allowed repetition. I want to test how many times I can get three same numbers in one hand in
I am trying to create a Shiny app, in which users can select an "option" in the drop-down box(created using selectInput) and Shiny will display the data table a
I would like to animate a ggplot with gganimate using geom_area with different values for the years between 2000 and 2050. However, for some reason if I include