This is very basic. Have you gone through any R tutorials? There are

many good ones on the web. e.g., see here:

https://www.rstudio.com/online-learning/#RIn any case, you should not expect this list to teach you basic R. You

*should* expect it to help you learn and improve your own efforts. I

realize that there is a gray area where these things may overlap.

Also see inline below.

Cheers,

Bert

Bert Gunter

"The trouble with having an open mind is that people keep coming along

and sticking things into it."

-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Fri, Jun 24, 2016 at 9:05 AM, André Luis Neves <

[hidden email]> wrote:

> Dear all,

>

> I`ve got to calculate the ratio of methanogens to bacteria, but I wouldn`t

> like to divide the total copy numbers of methanogens ( on average 10^8) by

> bacteria (10^10) because they have different exponents and bases. So, my

> idea is to standardize both microorganisms counts to 10^3.

Why can't you use scientific notation? What form are your data in?

e.g.

> a <- 6.2E8; b <- 5.4E10

> a/b

[1] 0.01148148

>

> Hypothetical example of what I`d like to do:

>

> Total Methanogens: 28 x 10^3

> Total bacteria: 710 x 10^3

>

>

> Total: 710 + 28= 738 x 10^3

>

> Met/bac Ratio : (28/738)*100 = 3.79%

>

> How could I perform this calculation in R?

>

> Thanks,

>

> --

> Andre

>

> [[alternative HTML version deleted]]

>

> ______________________________________________

>

[hidden email] mailing list -- To UNSUBSCRIBE and more, see

>

https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide

http://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.

______________________________________________

[hidden email] mailing list -- To UNSUBSCRIBE and more, see

https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide

http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.