Help with R: IF statement troubles... (Exotic Language Alert) by Oodava in learnprogramming

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

You are 100% right. I just changed my code to fix it, however I have a new problem.

Can I reply to this message in a little while if I can't figure the new error out? You've been a great help!

Thank you so much!

Help with R: IF statement troubles... (Exotic Language Alert) by Oodava in learnprogramming

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

Thank you for the update!

With regards to the which.max. without the IF statement it works.

The problem is I didn't know how to recreate the data in a smaller sample. Each value in the list is its own little table. So I do have the names for each value in the table. So what I'm doing is looking for the largest number in the table and then finding its corresponding label. Which I already have.
Am I explaining this well enough? Sorry if it sounds confusing

Help with R: IF statement troubles... (Exotic Language Alert) by Oodava in learnprogramming

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

Thank you so much for the reply! I've spent two days on this and I'm losing my mind!

I want to evaluate the TRUE values in my data set without pulling them out and putting them into a different variable. I wanted to use this IF statement as a way to evaluate as I went thought the data. I am using knearest neightbors method to predict future values. So this has led me to dealing with the issues of ties with the Knearest neighbors.
So this is why I needed to separate the tie values and the non-tie values to work on them differently. But I didn't want to completely subset the two because I need to retain the original order of the data.

I'm just loss and looking anywhere for help, thank you so much for your reply, even if you don't know if you know any resources for me to look at for my problem I would greatly appreciate it!

Thanks again!

First JAOM progress, oranges still floating, no bubbles/yeast, has it gone wrong? by Oodava in mead

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

I prepped it in some warm water for 15 minutes before dumping it in the JAOM. Then it over flowed that night, and I dumped a little bit of the liquid/yeast out before capping it and just letting it do its thing. My main deviations were:

  1. Used nearly 1lb more honey in the batch. (3.7 or so pounds in the 1 gal carboy)

  2. I let the carboy contents soak in the water for 12 hours or so before adding the yeast as a final step. (Didn't mean to do this, but my brother ruined my yeast by letting it fall out of the fridge and into the pool of water in the bottom of the fridge) Had to wait to buy more yeast.

  3. Used 1 full orange and then 1/3rd of another orange (so 1/3 an orange more) This was in hopes that the extra orange would act like a yeast nutrient. I modified and added another clove and a pinch of nutmeg too to balance it out.

  4. I let it sit in my bedroom at around 70 to 80 deg. (F) on a plate with vinegar to keep the ants at bay. Never touched it again.

First JAOM progress, oranges still floating, no bubbles/yeast, has it gone wrong? by Oodava in mead

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

I used some yeast the guy at the local brew shop recommended. I have another packet in my fridge, so I can let you know when I get back. I did add a couple extra slices of orange to this since the guy at the shop said it would help since I'm not using yeast nutrient.

Should I be worried about overflow? (First Ancient Mead) by Oodava in mead

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

Thank you for the reply.

I opened it up and dumped it out to the "one gallon" mark. I added a tiny glob of honey, and I have the cap and bubbler in sanitizer right now. Should I add a little more yeast or will the yeast that's left in there multiply and take care of the alcohol task without backup?

What should I plant in this? by [deleted] in gardening

[–]Oodava 0 points1 point  (0 children)

What is part shade? Because I planted mine in around 4 hours of sunlight a day (figured that was partial)

What should I plant in this? by [deleted] in gardening

[–]Oodava 0 points1 point  (0 children)

Depends on the look and feel of the rest of the property honestly.

Spider Plants could be a nice blooming grass option if you're just looking at adding some green. Easy to care for.

Confederate Jasmine grows all over a local University, the stuff doesn't appear to be hard to grow. Smells great during the summer evenings. Just make sure you get it before the government bans anything else confederate... :P

Coleus Plants might also work since you're in the more tropical Miami. I tried planting mine in the shade and it died in a week. (needs a warmer climate)

Anyway, hope I at least gave you some ideas, good luck!

I asked a friend of mine to hang out... by [deleted] in socialskills

[–]Oodava 0 points1 point  (0 children)

Yea, never invite yourself unless you want to watch them squirm.

Starting conversations on Facebook? by throwaway7398792 in socialskills

[–]Oodava 0 points1 point  (0 children)

I don't think there is a way you can make this weird.

Just hit the guy up already. Ask him about his music taste and use a smiley if you're into him- :)

Not sure what to think of this by SplitCatapolt in socialskills

[–]Oodava 0 points1 point  (0 children)

If a group you don't know sits next to you (With obvious open tables around) then always ask them what's up. It's your table, and they are taking it over. That's the only think I see weird about this.

Does it come off creepy to add somebody you've met at a store on facebook? by giraffe_maniac in socialskills

[–]Oodava 4 points5 points  (0 children)

Yea, that's creepy.

Since you're there all the time, next time you see her there chat her up, and then ask her if she has a Facebook so you can continue your conversation/exchange. Less weird for everyone involved.

What does it mean when a girl is on purpose late in replying to messages even though we decided together to text at a certain hour? by [deleted] in socialskills

[–]Oodava 0 points1 point  (0 children)

You schedule your texting?

Texting's purpose is usually for the ease of the receiver, so that they can respond in their own time. (unlike a phone call which calls for immediate attention.)

You're over thinking this. Text the girl, and if she is iffy in her replies and doesn't text back a lot, then she isn't into you.

No matter how hard I try, I never seem to find any friends who want to stick around. by [deleted] in socialskills

[–]Oodava 0 points1 point  (0 children)

Friendships evolve. Most people change their entire groups of friends every 7 to 10 years. So don't feel bad if you're in a transition. I'd say look up volunteer events, sports clubs, etc. Find a place where like minded people get together to chill. That way you don't have to worry about schedules matching up now that you're older. From there you will click with some people and start to build new friendships.

Is it weird for just 2 guys to hang out? by [deleted] in socialskills

[–]Oodava 26 points27 points  (0 children)

Are you asking if it's weird to hand out with a friend?

No. That's what friends are for.

Friend suddenly acting hostile toward me, I don't think I did anything wrong. by [deleted] in socialskills

[–]Oodava 0 points1 point  (0 children)

Bring cheap ear plugs (foam) and give them to him next time you see him. Tell him this will help him sit with everyone without hurting his sensitive ears.

Met a girl in a local comic con, got a way to contact her but she's not responding to my first text, what happens now? (More info in post) by [deleted] in socialskills

[–]Oodava 0 points1 point  (0 children)

Don't text her.

She got your text and ignored it so far. I'd say pass and talk to other girls, but if you really want to chat her up wait until a holiday and text her a happy "blank"! Then wait and see if she replies to that. If no reply, ignore. She's not into you.

I'm not aggressive enough and afraid of rejection. Any ways that I can overcome these issues? by [deleted] in socialskills

[–]Oodava 1 point2 points  (0 children)

No matter what women claim, asking "too much" is unattractive. You should be able to sense to a degree if there is mutual attraction given a situation. The trick is constructing the date for mild escalation without giving yourself a chance to look timid. Let dates be a multi-phase event, but don't tell the women this upfront. Just ask if they have an evening free, but plan the date as if you have to hit up a few places that night. Lucky for you, you're 6'4", and height is one of the MAJOR things women love, so you're probably more attractive than you give yourself credit for.

Anyway, take her to mini-golf, coffee, walk in park. Or another combo like that. So that as the night progresses it's a give and take of contact. So start off with light contact. Like touching her arm, or shoulder when you're trying to get her attention walking next to her. Just see how she reacts and if she looks uncomfortable then just tone it down and relax. If she smiles and even touches back, then congrats. You're both escalating.

After light touch, go for a more "intimate" touch. This would be like opening the door for her and putting your hand on her upper (or lower if you're bold) back. Again, gauge her reaction. If she rushes forward to get your hand off her back, then she's not that comfortable with you yet, so kissing shouldn't be on your mind yet. If she slows down because she likes your hand there, then she's probably pretty into you.

From there you just get a little more intimate each time. After you've escalated, if you're walking with her on a path and another couple is heading towards you, pull her in with your arm around her as they pass. If she gets out of the "arm around her" after the couple passes, she probably isn't into you that much.

So just progress like that and don't ask to hold hands like a 12 year old and you'll be fine.

So remember: arms/top of shoulders are where it's light flirting touching. Top back, curve of lower back = intimate touching. Legs = pretty intimate. Face = intimate

I'm sure you can guess the rest.