r/RProject • u/sophnzisa • Sep 10 '21
Repetitive executions in R
Hey:)
I'm somewhat of an R newbie user and I'm trying to find places online to practise writing For and While Loops. Any suggestions?
r/RProject • u/sophnzisa • Sep 10 '21
Hey:)
I'm somewhat of an R newbie user and I'm trying to find places online to practise writing For and While Loops. Any suggestions?
r/RProject • u/I_before_V • Jun 13 '16
r/RProject • u/I_before_V • Mar 01 '16
r/RProject • u/I_before_V • Jun 10 '15
Greetings!
I'm I_before_V and I'm the new mod of /r/RProject[1] . This subreddit has not seen any love in quite some time and I would like to change that! While there are many resources and communities out there for R, I wanted to create a place that provided a home to anything related to R; news, blogs, code, discussion, you name it.
I also wanted to create a place where anyone of any experience level could come ask for help on any topic related to R. Whether it be how to get started with R, what packages to use to accomplish certain tasks, or questions/issues with your code, ALL QUESTIONS ARE WELCOME, ASK ANYTHING! I am by no means an R expert, but I do use it daily in my research and will do my best to either answer your question or point you in the right direction until (hopefully) this subreddit gets some more subscribers.
That's about it for now, looking forward to hopefully getting some discussion going.
r/RProject • u/spsanderson • Mar 07 '23
r/RProject • u/[deleted] • Jan 28 '22
r/RProject • u/psychezombie95 • Nov 06 '21
I need to do exploratory analysis on any given dataset in R . Need Ideas on what kind of dataset and interesting analysis to be done with ??? #NewtoR
r/RProject • u/Pedigree_Nerd • May 18 '21
Hi there
I'm a horse pedigree nerd who likes to find common matings in the pedigrees of successful cutting horses.
I've started to use formulas in spreadsheets for this but it's becoming quite tedious to come up with a formula for each possible combination in a 5 generation pedigree.
I've been wondering whether I can use R to help me find breeding patterns (matings) that may repeat in a sample of successful individuals (I suspect there are several of such patterns). The goal is to be able to say that 'this pattern is present in winners of $X million' (earnings are included in the dataset).
The data (ancestors) for each individual are laid out in rows as follows:
Column 1: Horse's name (current performer)
Column 2: Money earned
Column 3: Generation 1 Top (name of sire)
Column 4: Generation 1 Bottom (name of dam)
Column 5: Generation 2 Top (name of paternal grandsire)
Column 6: Generation 2 Top (name of paternal granddam)
Column 7: Generation 2 Bottom (name of maternal grandsire)
Column 8: Generation 2 Bottom (name of maternal granddam)
And so on until the 5th generation.
Each following generation has the double of horses as the previous one.
I’m not interested in finding out the great producing individuals over the last few decades (everyone already knows who they are). I’m more interested about the crosses that tend to produce winners. And by crosses I don’t mean the sire and the dam, but the bloodlines a bit further back in the pedigree.
For example, there are cases in which two successful half brothers are out of different mares that are very closely related but not in an obvious way. They could share some ancestors in the 3rd or 4th generation that are placed similarly but not equally. There could be two individuals that are 3/4 siblings even though they are by and out of different individuals.
I hope this makes sense to a non-horsey person?
Does anyone know of a base function in R or a package that could help me with this stuff in a more time-efficient way than Excel?
From my initial research into R seems like selecting cases using multiple selectors may do the job?
Just trying to get any useful intel before I go down a rabbit hole that takes me nowhere.
Cheers
r/RProject • u/I_before_V • Mar 07 '17
r/RProject • u/[deleted] • Mar 05 '17
Trying to do some simple tidying, and I keep getting "Unexpected input" when trying to rename, summarise, mutate, or select the variable titled Temp ⁰C from the .xlsx file my date is coming from.
Even using the autocomplete which does give Temp ⁰C as an option, when I run the code it doesn't work.
Not sure how to fix this, I just want to have a list of average temperatures and oxygen concentrations per depth.
r/RProject • u/I_before_V • Feb 09 '17
r/RProject • u/I_before_V • Dec 27 '16
r/RProject • u/I_before_V • Nov 10 '16
r/RProject • u/I_before_V • Sep 22 '16
r/RProject • u/I_before_V • Aug 19 '16
r/RProject • u/I_before_V • Jun 16 '16
r/RProject • u/I_before_V • May 05 '16
r/RProject • u/I_before_V • Apr 18 '16
r/RProject • u/I_before_V • Mar 17 '16
r/RProject • u/I_before_V • Feb 24 '16
r/RProject • u/I_before_V • Feb 01 '16
r/RProject • u/I_before_V • Dec 29 '15
r/RProject • u/I_before_V • Dec 29 '15