Re: [R] How to do it in R

2016-06-24 Thread Leonardo Fontenelle
myfun <- function(a, b) a/(a + b) Leonardo Ferreira Fontenelle Em Sex 24 jun. 2016, às 13:05, André Luis Neves escreveu: > 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 > b

Re: [R] inverse table

2016-06-15 Thread Leonardo Fontenelle
Em Qua 15 jun. 2016, às 13:10, Patrizio Frederic escreveu: > Dear R-users, > I've a problem that puzzle me > > suppose I have a two way contigency table > > a <- sample(al <- letters[1:10],100,T) > b <- sample(bl <- LETTERS[1:5],100,T) > ab <- cbind(a,b) > > ddd <- (xtabs(data = ab)) > ddd <- a

Re: [R] is there a package in R or functions to calculate odds/hasard ratio from spline regression

2016-06-15 Thread Leonardo Fontenelle
Em Ter 14 jun. 2016, às 11:43, takiy berrandou escreveu: > Hello, > > I'm looking for a package or function, which calculate OR/HR from spline > model regression. for example in SAS it exist some MACRO helping to do > that > easiely. > > i had make some research on the forum here and on the web b

Re: [R] New installation

2016-06-10 Thread Leonardo Fontenelle
Em Sex 10 jun. 2016, às 03:58, Rainer M Krug escreveu: > Clint Bowman writes: > > I am really wondering, why nobody mentioned Ubuntu so far? > > Ubuntu is a really nice distro, I never had problems with it, many > programs are available for Ubuntu, and it is build on Debian > (stable). Don't wor