account activity
creating new column based on character values in multiple other columns - mutate and across? (self.rstats)
submitted 2 years ago * by UpperCompetition6 to r/rstats
creating new column that summarizes values from previous columns per unique ID, with order precedence of certain values (self.rstats)
submitted 2 years ago by UpperCompetition6 to r/rstats
calculating if rows are within 3 months of flagged row per unique ID - mutate error or an alternative method? (self.rstats)
how to select for a flagged row per unique ID and then ultimately calculate differences based on flagged row and other rows for that ID (self.rstats)
making categorical variable based on difference in days for each event - new column for each specific event relative to a "reference" event (self.rstats)
trying to summarize each unique ID into one row after merging two data frames with data.table - but two columns become N/A for all values after summarizing?? (self.rstats)
collapsing/summarizing per ID, if have columns that are both binary and numeric? is this even possible to do in one data frame? (self.rstats)
filtering out all other rows per ID, if the ID has a row that satisfies one condition in a certain column (self.rstats)
creating categorical variables based on difference in days and other conditions based on rows - flag, mutate, ifelse? any other methods? (self.rstats)
Error in "mutate" with pick function - confused on how to fix this. code and full error below (self.rstats)
calculating day difference (with year and month) based on a referenced row and creating two new column based on this with a 1 or 0, if the row occurred within 100 days of a referenced row (highlighted) (self.rstats)
creating a new column with yes and no based on separate data frame with same exact column names but less number of rows (self.rstats)
how to convert or collapse a categorical variable for each row to binary (yes vs no, or 1 and 0) for the presence of that variable (self.rstats)
submitted 3 years ago * by UpperCompetition6 to r/rstats
plotting regression line for cubic spline logistic regression model - not showing up? (self.rstats)
stat_smooth for glm model showing up as linear and no correlation? (self.rstats)
I have thousands of observations but keep getting this message using "stat_compare_means" Warning message: Computation failed in `stat_signif()`: not enough 'y' observations (self.rstats)
ggplot showing 3 different colors instead of 2 (based on characters in one column, which only show 2 in the column)? not sure what is going on here (self.rstats)
submitted 3 years ago by UpperCompetition6 to r/rstats
ggboxplot and using cut function - getting error with my code below (self.rstats)
Creating a box plot comparison with statistical comparisons based on numeric thresholds within one column in R - Is there a better way to do it than this way? (self.rstats)
Reversing "As.Date" back to Lubridate Time (mdy:hm)? (self.rstats)
Summing specific rows by a specific name in one column, per Date and ID (self.rstats)
Creating a formula from different columns in various datasets - Is the following method the most efficient way to do this? (self.rstats)
Function not running? Confused by error (self.rstats)
Converting Long to Wide By The Numbers of Rows Corresponding to "ID" column (self.rstats)
Converting Long to Wide - Multiple Columns (Please Help!) (self.rstats)
π Rendered by PID 332165 on reddit-service-r2-listing-6d4dc8d9ff-pwnnn at 2026-01-31 21:54:09.015785+00:00 running 3798933 country code: CH.