[R] calculate effect size from p-value?

2009-06-09 Thread Joseph Kambeitz
Dear R-List! Is there any function (apparently for BioStat there is!) to calculate effect sizes with the p-values and sample sizes? That would be really useful for meta-analysis! Thanks for the help! Jokel __ R-help@r-project.org mailing list https:

[R] correlation with ties & multiple comparisons problem

2009-03-19 Thread Joseph Kambeitz
Hello! I am currently working on a big data set. There are different subjects that have been measured in about 40 different variables (in this case a measure of brain metabolism). Now I want to look at possbile significant correlations between those variables. As some of the variables are not

[R] Using a discrete function in nls()

2008-10-13 Thread Joseph Kambeitz
I am trying to fit a discrete function to my dataset using nls(). fit<-nls(T2~form(SOA,t1weight,t2weight,d1weight), start=list(t1weight=1,t2weight=1,d1weight=1), data=data1, trace=TRUE) The problem is that my function ("form") includes a discrete function and in that function I used the varia

[R] R: specifying a function in nls

2008-10-11 Thread Joseph Kambeitz
I am encoutering s similar problem to the one described before in "specifying a function in nls". I defined a function "plot_it2" in the following way: plot_it2<-function(SOA,t1weight, t2weight, d1weight, d2weight){ sapply(SOA,plot_it,t1weight, t2weight, d1weight, d2weight) } fit shoul

[R] Turn factors to numeric

2008-10-09 Thread joseph kambeitz
I am having some problems while trying to fit simple data. I aggregated some data using: data1 <- aggregate(data1$T2, list=(SOA=data1$SOA), mean) unfortunatly this coerces my variable SOA into a factor. Therefore when a afterwards try to fit a simple equation to my variable T2 using a formula on