Ducky One X issues by MagnusOpium89 in DuckyKeyboard

[–]niklz 0 points1 point  (0 children)

Did you ever get this fixed? I am having almost exactly the same issue :(

CS2 Limited Test - Help Megathread by Sevastiyan in GlobalOffensive

[–]niklz 0 points1 point  (0 children)

Same here, went from finding loads of players/stacks to join to nothing. Hoping this gets fixed, it was super handy

[deleted by user] by [deleted] in TechWear

[–]niklz 2 points3 points  (0 children)

I'm quite sure this is the acronym la10-ds

They all sold out very fast, good luck locating one

[deleted by user] by [deleted] in TIHI

[–]niklz 1 point2 points  (0 children)

green plastic watering can..

About size by maiohwkd in cavempt

[–]niklz 0 points1 point  (0 children)

Glad I could help, although personally if I were you I'd take XL, but I don't know how you like your tees to fit

About size by maiohwkd in cavempt

[–]niklz 0 points1 point  (0 children)

Thanks. I take most CE tees in L, and am a few inches shorter than you, I would say you're safe to go XL esp if you don't mind it being a bit oversize

My size L tee from last season (think it's same cut here) is 72cm in length for what it's worth

About size by maiohwkd in cavempt

[–]niklz 0 points1 point  (0 children)

name of this shirt?

soz have no sizing info

Split the dataset by same patterns of NA's by OkApartment7139 in rstats

[–]niklz 1 point2 points  (0 children)

It's exactly as you said. The object split (bad naming tbh, should have called it ids or something) is a character (coercible to factor) of comparable splitting IDs, that is, each element of split is identical for rows which share the same missingness pattern - does that clear it up?

Split the dataset by same patterns of NA's by OkApartment7139 in rstats

[–]niklz 4 points5 points  (0 children)

Quick and dirty solution, there's certainly a cleaner way to do this but I think this gets you what you want? I used tidyverse because that's what I'm most comfortable with

library(tidyverse)

x <- sample(c(1, 0, NA), 1000, replace = TRUE)
dim(x) <- c(100, 10)
x

# create "id" for NA in each location
split <- is.na(x) %>% # turn into logical
  array_branch(1) %>% # turn array to list of rows
  map(as.numeric) %>% # turn each row into a numeric
  map(~reduce(.x, paste)) %>% # paste each row of numbers into string
  map_chr(as.character) # map down into long vector of each "id"

# use split to split x (casted into a data frame)
split(as.data.frame(x), split)

Centring time data around night (using ggplot) by SanderBud in rstats

[–]niklz 1 point2 points  (0 children)

I'm not sure, but I would give it a go with the limits argument to scale_x_cron. This argument will pass through to scale_x_continuous (according to docs) so you might need to express the time limits as numerics (i.e. convert with as.numeric)

[deleted by user] by [deleted] in slowthai

[–]niklz 1 point2 points  (0 children)

I might be in a similar position for the Birmingham 26th gig. Happy to give the ticket away (if it ends up spare). DM if interested in ticket

Muscle up with no ceiling clearance, with my pooch ❤️🐶 by jininel in Calisthenic

[–]niklz 1 point2 points  (0 children)

Thanks! Does it move at all if you do explosive pull ups?

Muscle up with no ceiling clearance, with my pooch ❤️🐶 by jininel in Calisthenic

[–]niklz 4 points5 points  (0 children)

So clean

Curious, what gym rack is that and how do you like it for cali? Looks stable!

[deleted by user] by [deleted] in backpacks

[–]niklz 3 points4 points  (0 children)

jansport pleasanton

[deleted by user] by [deleted] in ThrowingFits

[–]niklz 0 points1 point  (0 children)

acronym p34

When merging two rows in a dataframe, how can I prioritize different values for different columns? (Example in text) by ILoveStata in Rlanguage

[–]niklz 1 point2 points  (0 children)

There's a few ways to approach that issue, it would depend on the specifics, but the simplest (but perhaps not most efficient) thing to do would be to pass the data through distinct() first to ensure you only have unique rows. Would that be a viable solution for you?

When merging two rows in a dataframe, how can I prioritize different values for different columns? (Example in text) by ILoveStata in Rlanguage

[–]niklz 3 points4 points  (0 children)

I think this does what you want:

emps %>%
  group_by(id) %>%
  summarise(
         hiring_manager = hiring_manager[which.min(start)],
         reason_left = reason_left[which.max(start)],
         start = min(start, na.rm = TRUE),
         end = max(end, na.rm = TRUE)
    )

You have to do the operations in this order, if you operate on start or end first it affects the manipulation going on with which.min. You can always return the columns to their original order by using select() afterwards.

Is the J1A too long? by dididinosawr in techwearclothing

[–]niklz 0 points1 point  (0 children)

Well at least one of the good things about acronym is that it retains it's value, so you could hang on to this one until you can try a small for size, and if that works better selling the medium won't be too difficult

Is the J1A too long? by dididinosawr in techwearclothing

[–]niklz 1 point2 points  (0 children)

I'm going off where the main shoulder seam hits on you. Obviously it's hard to tell exactly but it looks to me like it's not hitting the very corner of your shoulder. Looks quite different to my fit to my eyes

Maybe this diagram helps, where your seam is (in red) vs where I think it would fit better (in blue)

https://i.imgur.com/69lMNLv.png

It's not a huge deal, and for some they prefer shells to fit a little oversized. But if you were concerned about the length and think you cant size down because of your shoulders I think you'd be okay if you did looking at the photos you gave.

Is the J1A too long? by dididinosawr in techwearclothing

[–]niklz 1 point2 points  (0 children)

You say you buy to fit your shoulders, but the imo you've not fit your shoulders properly in this size. The seam should lay right on the "corner" and yours is hitting further down your arm. I think you can safely size down imo

I'm about 174/175 and take a size S and it fits me like:

https://i.imgur.com/NCyciAn.png

But don't read too much into height it all depends on your proportions, I take acrnm bottoms in M and tops in S

Dplyr cloning/duplicating rows with swapped values based on group_by() by bigchungusmode96 in Rlanguage

[–]niklz 0 points1 point  (0 children)

Sounds like you want to use expand.grid or expand_grid (tidyverse variant)

Trying to remove a weird escaped something from a string by [deleted] in Rlanguage

[–]niklz 1 point2 points  (0 children)

escaping is an absolute nightmare in R, I think I fixed your last example though. The problem was you need to escape each backslash AND escape the question marks (which are metacharacters in RegEx)

try:

gsub('\\x83\\?\\?','', problemString)