In my pilot study I applied a between-subjects design. For the follow-up study, a within-subjects manipulation seems more feasable. I want to conduct power anal
I am trying to code R in order to obtain growth rate for COVID-19. The equation can be found on the inserted image where i(t) is the number of infected individu
I have a large data frame in a panel structure (201720 rows; 3 columns) which looks as follows: Name <- c("A", "A", "A", "B", "B", "B") Inception <- c(as
I'm a newbie in r, recently I'm doing a joint modeling of longitudinal and time-to-event data, following the example in the R package "joineR", I only replace t
So I have successfully plotted these graphs individually, now I want to create a plot that has all three categories in one graph with same scales but different
I have a vector of numbers x <- c(1,1,1,3,3,3,2,2,1,2,1,2,55,56,55,54,55,54,53,55,56,55,7,7,9,9,8,8,11,110,111,11,112,113,111,112,33) if I plot x, hist(x)
I'm trying to generate the contour map of LAI in the forest. I used geom_contour_fill function from the metR package. My data looks like this LAI latitude long
So, I am analyzing a dataset that consists of 160 observations and 20 variables and am performing a PCA. It is about patients affected by a disease and the vari
Goal I have five expectations: Solution using modules Communication between modules Dynamic creation of modules local storage using shinyStore Export result in
I want to link to a specific content of another tabPanel within an R Shiny app. I've found plenty of advice on how to do the half part of it respectively: there
I have the following data table: library(data.table) set.seed(1) DT <- data.table(ind=1:100,x=sample(100),y=sample(100),group=c(rep("A",50),rep("B",50))) No
I have a Quarto (RMarkdown) document which is supposed to display a table showing task completion. The code works well but there is excessive white space displa
I have data as follows: cat <- structure(c("east", "north", "south", "west"), .Dim = c(1L, 4L ), .Dimnames = list("categories", NULL)) down <- structure(c
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