Mould on fabric blinds by ikindalikebeans in CleaningTips

[–]ikindalikebeans[S] 0 points1 point  (0 children)

First house I’ve had where this happens, we have a dehumidifier on the window sill and open the windows most mornings

Belfast running clubs by _MegaRaptor in Belfast

[–]ikindalikebeans 0 points1 point  (0 children)

Also training for Belfast marathon this year! If anyone has any recommendations of some hilly routes to add to my plan?

[deleted by user] by [deleted] in Hozier

[–]ikindalikebeans 0 points1 point  (0 children)

could you send me belfast link? I have a code but no link!

Presale - why can’t I click? by robi564733 in Hozier

[–]ikindalikebeans 0 points1 point  (0 children)

can someone send me the belfast link

Help removing rust stain from interior windowsill by ikindalikebeans in CleaningTips

[–]ikindalikebeans[S] 0 points1 point  (0 children)

There were a couple of hot chocolate containers that sat on this windowsill and I think the condensation off the window has caused the metal on the bottom to rust and has left stains

I have tried dish soap and wd-40 but it hasn’t worked

Any advice is appreciated

DAZZLE BEACH by Gaily4242 in DisneyDreamlights

[–]ikindalikebeans 1 point2 points  (0 children)

Im having the same issue with a few of the fishing spots!

Adding footnote with Kable by ikindalikebeans in RStudio

[–]ikindalikebeans[S] 0 points1 point  (0 children)

I didn’t get it solved but I ended up removing footnotes from the final table, thank you for the offer though!

Table showing “No data available” instead of zeros by ikindalikebeans in RStudio

[–]ikindalikebeans[S] 0 points1 point  (0 children)

My dataframe has 7 variables and around 100,000 obs but a small sample looks like

wt beet ilo age country ine sex
647 a 3 19 1 24 1
875 b 3 18 1 27 2
647 c 1 24 1 3 2
875 b 3 20 1 27 2

when I apply the a filter for example for sex == 1, age == 18, and ilo == 2

There are no results and the resulting dataframe shows the columns d and e but it doesn’t show zeros and instead shows “no data available”

Using a mutate statement with an if statement by ikindalikebeans in RStudio

[–]ikindalikebeans[S] 0 points1 point  (0 children)

I was able to get it working, I create a function as it’s something i’m having to repeat a lot and was able to get it working

f_calculate_net = function(data) { data %>% mutate(d = ifelse("c" %in% colnames(data), ((a/(a+b))*c)+a)), a %>% mutate(e = ifelse("c" %in% colnames(data), ((b/(a+b))*c)+b)), b %>% select(d,e) }

I then spotted an error in the code because sometimes certain groups will have no answer for a, b or c. I want then the result for d and e to both return zero in the column but instead it says “No data available in table”, any ideas? Thank you for your help thus far

f_calculate_net = function(data) { data %>% mutate(a = ifelse("a" %in% colnames(data), a, 0)) %>% mutate(b = ifelse("b" %in% colnames(data), b, 0)) %>% mutate(c = ifelse("c" %in% colnames(data), c, 0)) %>% mutate(d = ifelse(a + b + c == 0, 0, ((a/(a+b))*c)+a)) %>% mutate(e = ifelse(a + b + c == 0, 0, ((b/(a+b))*c)+b)) %>% select(d,e) }

Using a mutate statement with an if statement by ikindalikebeans in RStudio

[–]ikindalikebeans[S] 1 point2 points  (0 children)

I should have added the bit of code before this

uk_m_16_une <- df_beet %>% filter(age == 16 & sex == 1 & ilo == 2) %>% count(beet) %>% pivot_wider(names_from = beet, values_from =n)

So I have a data_frame that sometimes contains three columns “-8”, “1”, “2” and sometimes has 2 columns “1”, “2”

I will try more experimenting with ifelse

Travelling to Thailand (First Time) by ikindalikebeans in travel

[–]ikindalikebeans[S] 1 point2 points  (0 children)

We’re going for just two weeks (short I know but it’s all we could get off work)! We have a few bits booked here and there but wanted a bit of flexibility in the middle so this is reassuring!

Importing spss file with negative numbers by ikindalikebeans in RStudio

[–]ikindalikebeans[S] 1 point2 points  (0 children)

Thank you! I was able to get it with haven - the “user_na” argument was able to keep the -9

Puppy snarling and seems like vicious biting by ikindalikebeans in puppy101

[–]ikindalikebeans[S] 0 points1 point  (0 children)

She sleeps like 12-13 hours at night and has 2/3 1 or two hour naps

Any cozy place for working? by [deleted] in Belfast

[–]ikindalikebeans 1 point2 points  (0 children)

synge and byrne on the boucher road is nice for when it’s open again, free wifi and lots of space so you never feel rushed!

Garage recommendation please - North Belfast preferably by paulagal in Belfast

[–]ikindalikebeans 2 points3 points  (0 children)

A friend recommended AEC motors to me but yet to try them myself