search for: cytokine

Displaying 3 results from an estimated 3 matches for "cytokine".

2010 Oct 20
3
Plot creates a straigth line
...9;b' i get the points connected with lines and one straigth line from the lowest datapoint to the highest data point. how can i avoid/remove it from the figure. i am using R2.9.1, below is the example of the data. od<-c(10, 8, 6,4,2,1, 10.5,7.8,6.4,3.8,2.1,0.95) cyto_conc=2650 # Highest cytokine concentration user defined cyto_std_conc <-c(cyto_conc) for (i in 1:5) { cyto_conc = cyto_conc /3 cyto_std_conc <-c(cyto_std_conc ,cyto_conc) } cyto_std_conc<-log2(rep(cyto_std_conc,2)) cyto<-cbind(cyto_std_conc,od) plot(cyto_std_conc,od, type='b') I have searche...
2007 May 11
0
Tobit model and an error message
Dear R users: I am using survreg for modeling left censored longitudinal data. When I am using the following code for fitting the tobit model I am getting some output with an warning message(highlighted with red color): > survreg(Surv(y, y>=0, type='left')~x + frailty(id), cytokine.data, weight=w, dist='gaussian', scale=1) Call: survreg(formula = Surv(y, y >= 0, type = "left") ~ x + frailty(id), data = cytokine.data, weights = w, dist = "gaussian", scale = 1) coef se(coef) se2 Chisq DF p (Intercept) -1.5099 0.3...
2011 Apr 13
1
error for ttest
Hello all, I have arranged my data as per Dennis's suggestion in this post http://www.mail-archive.com/r-help at r-project.org/msg107156.html. the posted code works fine but when I try to apply it to my data, i get "> u2 <- ddply(xxm, .(plateid, cytokine), as.data.frame.function(f)) Error in t.test.formula(conc ~ Self_T1D, data = df, na.rm = T) : grouping factor must have exactly 2 levels". Self_T1D has two levels "N" and "Y" I have used the ddply function to do the mean and sd for the same dataframe without any issues....