Learning R: Writing Functions & More

  • Thread starter Thread starter Tereno
  • Start date Start date
  • Tags Tags
    Functions Writing
Tereno
Messages
8
Reaction score
0
Does anyone know how to use the R language to write functions and etc?
 
Physics news on Phys.org
Yeah I kinda did..and not to clear about it.
 
R programmation

Does anyone know how to use the R language to write functions for string?

I have this type of string:

ATGTTGCGTGTC

I want to evalute the number of A or T and G and C for every A/T a want to sum 2 for the other 4 I want to have one number...
did you have any suggestion? because with If else I have difficultis
Thanks for any help
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...

Similar threads

Back
Top