I am running an alignment with the DECIPHER package in bioconductor using an Rstudio instance located on a server. dna1 <- RemoveGaps(dnaSet, removeGaps = "a
I am trying to access campaign manager 360 Reporting API with using the httr package in R. This is the code I have run so far to test the connection and I keep
I have a set of points saved with their respective latitude and longitude in a data frame like this: points = data.frame(point_id = 1:3, lat = c
I would like to divide my data based on the median into high and low. I want to put it in one column. df <- data.frame(salary = c(623.3,515.2,611.0,729.0,843
I am trying to install R 4.0 on Ubuntu 18.04.4 LTS but I keep getting errors of > sudo apt install r-base-core Reading package lists... Done Building depen
Now I can use jupyter lab with R kernal in a web browser and use VS Code to edit jupyter note book code with python kernal, is it possible to edit R code in VS
I have data as follows: dat <- structure(list(amount_of_categories = c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L ), mun
Is there a way to round to 1 decimal place for continuous variables in the table1 package? Looking at the documentation, there seems to be a way to do number of
A question on openxlsx library in R: I'm looking for a way in openxlsx to add a newline to a cell value so that the value is in two (or more lines) in Excel. I
I am fitting data using gam() function. At this time, there is an interaction in opposite directions between the two variables. Is smoothing possible considerin
I am trying to create a for loop to merge 4 raster (EVI MODIS tiles) at a time (because the 4 raster create one big map) in a list of 8 raster (my real list is
If i have the following table: tibble(year = c("2020", "2020", "2020","2021", "2021", "2021"), website = c("facebook", "google", "youtube","facebook", "
I am trying to replicate the example shown here, made with rayshader package: https://www.rayshader.com/reference/plot_gg.html I was focused in particular on th
I have a column which list timestamps and I am in need of converting that to corresponding date for all rows in that column. Listing the code below app21_csv &
I am trying to create a function which can do some test over the database. its something i am creating new to my code. for example i have a database of survey i
I'm quite new in R and I'm struggling overlaying a filled histogram divided in 6 classes and a KDE based on the whole distribution (not the individual distribut
I need to fill each row of a matrix with '1' between 'start' and 'end' columns, where the 'start' and 'end' column names (dates in the real data) are specified
Usingsummary(fit.measures = TRUE) I am able to access extensive information about the fit of models stored in lavaan model objects. In this output (exemplified
I'm new to R and trying to isolate the best performing features from a data set of 247 columns (246 variables + 1 outcome), and 800 or so rows (where each row i
I need to fill each row of a matrix with '1' between 'start' and 'end' columns, where the 'start' and 'end' column names (dates in the real data) are specified