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
I would like to have a table as ouptut where I have the t-statistics between the difference in means of certain variables and based on two specific subsets of m
I am constantly getting warning message like : as.is should be specified by the caller using true Code is like : difficulty_data <- data_original[,c(-1)] %
I saved a table created by gt in HTML using gtsave. I'm having trouble loading and displaying this small HTML table in Shiny The HTML table is at: https://filed
I am trying to add a column in an imputed dataset (I used mice). I managed to transform the imputed dataset in a dataframe, add the column that comes from anoth
I would like to fit a Cox model for prediction of 1-year survival using a specific set of predictors. The data contains 78 events in 620 subjects. I don't think
I have a dataframe that contains NA values, and I want to remove some rows that have an NA (i.e., not complete cases). However, I only want to remove rows at th
I simply cannot get these functions: symbolicInt and integral. Not sure why. I just re-installed everthing. I thought maybe it was becuase of the libraries but
I am having some trouble replacing values in a dataframe. I would like to replace values based on a separate table. Below is an example of what I am trying to d
I have the following R code: ##Installe the package install.packages("ggstatsplot") library(ggstatsplot) ## Create data df <- data.frame(replicate(2,sample(
I have two simulated data frames: d, created below, which has all the rows of longitudinal data for two different people. Each row has a start and end date. Som
When I try to assign dput to object, it assigns and then prints the values below. It should ne happen.It should just pass to the object get_ls <- dput(head(i
Given a matrix object in R, it's easy to coerce it to a sparse matrix in triplet format: library(Matrix) m <- matrix(rbinom(100,1,0.5),10,10) m <- as(1*m,
I would like to plot a density plot over counts histogram using following sample data: However my density line was not readable in my plot. if I use ..ncount..,
I am trying to write a script that will generate violin plots with seurat for single cell sequencing data. I am looking for cell type clusters. Seurat makes a
I want to do a TA dashboard in shiny and i wish to plot each indicator checked from the checkboxGroupInput the problem is when using input$my_checkboxGroupInput
I'ld like to extract specific data from a log-data. In R it looks like that Data Frame I need values from Data$Time of the cases, where Data$Data_Type == "DATA"
I am trying to adapt this solution, by onyambu: New data dat_in_new <- structure(list(rn = c("Type_A", "Type_B" ), `[0,25) east` = c(1269L, 85L), `[0,25)
I am running an R script using Rscript from the command line (linux) like this: Rscript myscript.R inputfile1.csv inputfile.csv integerArg My command args are