Displaying 6 results from an estimated 6 matches for "mcp1".
Did you mean:
mcp
2011 Oct 26
1
help with means using tail()
...l,
I have 5 series (5 ts objects: rp, igpm, ereal, jurosreal, crescpib), and want to create a vector with the means of the last values of each variable.
What I did was this:
mrp1<-mean(tail(rp,9))
migpm1<-mean(tail(igpm,9))
mereal1<-mean(tail(ereal,9))
mjr1<-mean(tail(jurosreal,9))
mcp1<-mean(tail(crescpib,9))
means=rbind(mrp1,migpm1,mereal1,mjr1,mcp1)
They are monthly series, from 1995.1 to 2011.6.
So what I did was generate the mean of each variable for [2010.10 to 2011.6] (9 months, as I wanted).
But now I want to create a vector with the means of the last 9 values [2010.1...
2010 Oct 05
1
loess with missing data points
...ub.id,cases2$group[1],sep=" ")
plot(cases2$IL1Ra~cases2$Age.at.Sample.Collection, ylab="eo_conc",xlab="Age
at Sample",pch=1, ylim=c(3,10), xlim=c(0,22),main=cap)
points(cases2$MIP1b~cases2$Age.at.Sample.Collection,pch=2,ylim=c(1.5,10),col="red")
points(cases2$MCP1~cases2$Age.at.Sample.Collection,,pch=3,
ylim=c(1.5,10),col="brown")
lines(predict(loess(cases2$IL1Ra~cases2$Age.at.Sample.Collection))~cases2$Age.at.Sample.Collection,
lwd=1, lty=1)
lines(predict(loess(cases2$MIP1b~cases2$Age.at.Sample.Collection))~cases2$Age.at.Sample.Collection,
col=&qu...
2009 Aug 28
1
extracting pvalues from ttest
...stle.edu.au/R/e6/help/09/04/11438.html#options2 and I
used the suggestion provided by Jorge with modifications to my data
do.call(c,lapply(your_list_with_the_t_tests,function(x) x$p.value))
but I am getting the following error after excuting the code
B<-by(eo,eo$PlateID, function(.sub) t.test(mcp1~Self_T1D,data=.sub,
na.rm=T)) #ttest platewise
do.call(c,lapply(B, function(x) x$p.value))
Error in do.call(c, lapply(B, function(x) x$p.value)) :
'what' must be a character string or a function
here "B" is equal to "your_list_with_the_t_tests. is something i am doing
wr...
2011 May 19
3
A better way to do this
Hello gurus,
I have a dataframe containing two groups viz., 'control' and 'case', each of
these groups contains longitudinal data for 100 subjects. I have to plot all
these subjects on a single chart and then put a regression line for each of
the group for all the subjects. I have written a function to do the chart
grpcharts<-function (dat, group,group2,molecule,cutoff){
2008 Dec 09
1
creating standard curves for ELISA analysis
Hello R guru's
I am a newbie to R, In my research work I usually generate a lot of ELISA
data in form of absorbance values. I ususally use Excel to calculate the
concentrations of unknown, but it is too tedious and manual especially when
I have 100's of files to process. I would appreciate some help in creating
a R script to do this with minimal manual input. s A1-G1 and A2-G2 are
2008 Dec 26
1
starting values update
...file created by the ELISA software. I am
also uploading the sample file for a better understanding, serum samples in
this case are diluted 4 times
Location Sample ENA-78(37) FgF(54) G-CSF(58) GM-CSF(71) IFNg(75) IL-10(50)
IL-17(20) IL-1b(6) IL-1ra(16) IL-2(17) IL-4(21) IL-5(09) IL-6(32) IL-8(36)
MCP1(78) MIP-1a(59) MIP-1b(74) TNFa(77) VEGF(52)
A1 s1 6923 12667.5 4644 3247 11878 11648 4142.5 6536.5 5409 7057.5 5146
10921 5437 7968 6590.5 11497.5 8358 8088.5 7721
B1 s2 4093 9680 2535.5 2000.5 8392 7017 2135 3913 3162 4226.5 2757 8132.5
2907 6416 6216 8332 5625.5 4364 4225
C1 s3 1689.5 4586 929 10...