Pinned Bulletins
View all 1 bulletinsR Language has some news to share
Pinned content
View all 3 collectionsR Language admins have deemed these posts noteworthy.
R Language Frequently Asked Questions
How to write a good R question with a reproducible example
Can you answer these questions?
View all unanswered questionsThese questions still don't have an answer
stat_ellipse() in MCA plot does not cover jittered points / extends far beyond the data
Creating new variables for -n exact months to an enddate
RStudio error message said ggplot data is too long for aesthetic
FlowSOM randomly stops because of missing consensus.pdf
How to get rid of NaN result when using setEvidence function in gRain package when doing Bayesian modeling?
Recommended answers
View all recommended answersThese answers have been recommended
ShinyApp that pulls from Google Sheet
From the googlesheets4::read_sheet's documentation: ... col_types gives control of column types, similar to how col_types works in readr and readxl. Note that currently there is only support for the “...
Looping Datasets in R
It's not clear what you mean with columns 10, 11, 12, and 13. While I'm guessing 10-11 default to 0 and increment, columns 12-13 are unknowns. Please provide a starting set, see How to make a great R ...
Secr model by station, session and site
If you want modeling advice, you should instead as for help at https://stats.stackexchange.com/. Or at the very least provide some sample data with the desired output so possible solutions can be ...
best practice for lost database connection in long running R scripts
In my experience, DBI::dbIsValid is at best a weak indicator of a bad connection, it does not (in my experience) actually verify that the connection is still good (this likely varies by db-driver). In ...
Replace values in multiple columns in a data frame based on conditions in another data frame? [duplicate]
I think https://stackoverflow.com/a/79812681 provides the most performant and simplest approach: a lookup table using a named vector of values. Another alternative (at the expensive of a little ...
See what's trending
View all trending questionsThese are the most active questions in R Language Collective
How to make a great R reproducible example
Sort (order) data frame rows by multiple columns
How do I replace NA values with zeros in an R dataframe?
Drop data frame columns by name
How to join (merge) data frames (inner, outer, left, right)
How to write a good R question with a reproducible example
Create multiple PDF/HTML reports using R Markdown in a loop
Simply submit a proposal, get it approved, and publish it.
See how the process works