Regularly I face the same problem when using R to work with big netcdf files (bigger than the computer memory). There is not an obvious way to change the chunk
I have dataframe which represents sales by model within 2 different years. 'change' column stands for absolute change by models from 2020 to 2021 while 'chng.pe
I found similar error but it seems the problem is not the same. for (i in colnames(t[,4:ncol(t)])) { for (j in poids_teff$station) { if (i == j) { t
The data I am working with is from eBird, and I am looking to sort out species occurrence by both name and year. There are over 30k individual observations, eac
I want to create an R function that inserts a "\n" after every n words in a string (where n is an argument). e.g. startstring <- "I like to eat fried potat
I'm working on an optimization of a logistic regression model made with glm, the optimization is a lasso regression using glmnet. I want to compare both models
I'd like it to gather the dataframe with two key columns, one would be mean and the other variance. Here is the data frame: est1_mean est1_var est2_mean est
A while back, I created a fork of the RDCOMClient package to keep it working with R 3.6 (https://github.com/dkyleward/RDCOMClient). People are now running into
vertejumi_ceturksnos <- data.frame( Vertejumi = c("0", "1", "2", "3"), Pirmais = c(Pirmaiss), Otrais = c(Otraiss), Tresais = c(Tresaiss), Ce
Okay, so I am using a generic data set to troubleshoot this problem. Here is the code I am entering into R: library(plotly) fig <- plot_ly( type = 'cont
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