Is there a way to use different subsets of a dataframe for different variables in table1 in R
I am producing a summary tables for health variables. There are some conditional variables that only have observations for when a value of another variable has been selected: a factor variable with types of respiratory support if a patient has answered “yes” to if they had received it.
I made two plots using par() in R, but it doesn’t save
I made a function where I read a csv file, process the data into the dataframe, make a boxplot and barplot in a (2,1) layout, and save in png file. If I run a function, it does show the correct dataframe, but the plots are not saved. If I run the plot code independently, Rstudio shows the plots correctly though. Please help…
RStudio does not open after Windows11 update
After the Windows11 update my RStudio opened only being blank. I could not access any settings or scripts I used to have open. So I deinstalled it + my R-version and installed the latest R and RStudio versions, then it told me “R does not appear to be installed”, although it is.
Sum of consecutive values with multiple Conditions in R
I’m attempting to calculate the sum of consecutive values that meet the following conditions:
How can I set specific conditions for a calculated column in R?
i have this table:
aux_nov <- hist[, c(“contrato”, “importe”, “mob”, “fecha_pago”, “dias_atraso”)]
knit button error – ‘U’ backslash error Rstudio
I am taking the GDAC coursera class on R and I am getting this error specifically when pressing the “knit” button that creates an html/pdf/word file in Rstudio desktop.
R function stopped working after R update
I am really puzzled over this. I have been using an R package called “ggcyto”. After some updates to R, the function stopped working by returning the following error when running the following code:
I cannot install package ISLR in R Studio Version 4.3.3
I tried to install the package ISLR with the code install.packages(“ISLR”) and the following error message showed up. I have RStudio version 4.3.3 .How can I fix this?
R – save.image() is not completing in R Studio
I have been running a stm model, which took around a day to complete.
Green Infinite Circle RStudio
In “complex” codes, especially in square brackets {} Rstudio stops and displays:
“Session suspension timeout paused: Incomplete command prompt entered. Waiting for event: console_input”