search for: millipore

Displaying 20 results from an estimated 21 matches for "millipore".

2009 Mar 27
2
Sorting problem
...ft) : invalid argument to unary operator", The command is "BA[order(BA[1],-BA[2]),]". BA is the data frame. It was working if I used increasing on both columns. Why the decreasing symbol "-" is not working here? Thanks. -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]]
2009 Apr 15
2
How to extract p-value into a table from a groups of t test
...3] t = -0.1128, df = 33.635, p-value = 0.9109 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.001918987 0.001717230 sample estimates: mean of x mean of y 0.004893264 0.004994143 ...... -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]]
2009 Mar 31
3
'for Loop'
Hello, I'm trying to create a for loop for a data set, I have a list of results in this data set and I want to take the 1st two add them together and divide by the mean of the 1st to, then do the same for the 3rd and 4th values in the list and so on and each time return a value for the calculation on each pair. Any help would be appreciated. Thanks, Al [[alternative HTML version
2009 Aug 19
2
Contrasts within ANOVA frame (Repost)
...223 2.4239 0.1200 StdLot: 2 vs 3 1 1.683 1.683 18.3299 2.162e-05 *** StdLot: 1 vs 3 1 Residuals 601 55.173 0.092 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 2 observations deleted due to missingness -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]]
2010 May 07
1
How to pass value to an argument in a function which is an argument to the main function
...t.stats. What I would like to do is call bwplot() like bwplot(CL~DOSE,data=patab,stats=my.boxplot.stats(type=7)), But I got an error: Error in my.boxplot.stats(type = 7) : element 1 is empty; the part of the args list of 'is.na' being evaluated was: (x) Thanks a lot. Jun Shen from Millipore Corporation ======================================================== my.boxplot.stats<-function (x, coef = 1.5, *type=6*, do.conf = TRUE, do.out = TRUE) { if (coef < 0) stop("'coef' must not be negative") nna <- !is.na(x) n <- sum(nna) stats &l...
2009 Aug 19
3
Fitting a logistic regression
Hello, I have this data: Time AMP 0 0.2000000 10 0.1958350 20 0.2914560 40 0.6763628 60 0.8494534 90 0.9874526 120 1.0477692 where AMP is the concentration of this metabolite with time. If you plot the data, you can see that it could be fitted using a logistic regression. For this purpose, I used this code: AMP.nls <- nls(AMP~SSlogis(Time,Asym, xmid, scal), data
2010 Apr 16
6
bwplot puts the bars in the wrong place
Dear R-Help, With the attached data set, I am still getting incorrect bwplots > xyplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf) # Is correct > bwplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf, horizontal=FALSE) # Puts the boxes on the wrong x-axis values # look especially at 0 and 3. How do I fix this? What is happening? Thanks, Jim Rome
2009 Mar 08
1
R console misc questions
hi, all I have two questions on using R console effectively (this is on Mac, not sure if it applies to win platform): First, I'd like to make the console font bigger, the default is too small for my screen. There is a "Show Fonts" from Format menu where you can adjust it, but it seems only for current session. Next time I start R, I have to redo everything. My question is, is there
2009 May 07
2
A potential bug for paste() ?
Hi, everyone, Try the following command to see if you get TRUE or FALSE. I get FALSE on a unix platform but TRUE on Windows. Any comment? all(paste(Theoph[1],Theoph[2])==paste(Theoph[[1]],Theoph[[2]])) -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]]
2009 Jul 21
1
how to change the "quantile" method in bwplot
Hi, everyone, Since quantile calculation has nine different methods in R, I wonder how I specify a method when calling the bwplot() in lattice. I couldn't find any information in the documentation. Thanks. -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]]
2009 Jul 30
1
package lattice can't be loeaded
I try to load the package lattice by library(lattice). Although I have installed it through CRAN by internet as well as from a local directory using the zip-file, it can't be loaded into the editor. Can anyone give advice, please. I am using R 2.9.1 on Widows XP. Thanks a lot, Luba [[alternative HTML version deleted]]
2009 Aug 11
0
Contrasts within ANOVA frame
...223 2.4239 0.1200 StdLot: 2 vs 3 1 1.683 1.683 18.3299 2.162e-05 *** StdLot: 1 vs 3 1 Residuals 601 55.173 0.092 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 2 observations deleted due to missingness -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]]
2009 Apr 03
2
how to sort and plot data?
hi, Previously my email very simple and less information. Let say I have raw data as below:- user_id website time 20 google 0930 21 yahoo 0935 20 facebook 1000 25 facebook 1015 61 google 0940 60 yahoo 1050 40 friendster 1115 61 google 1200 40
2009 Aug 21
2
Problem with passing a string to subset
Dear R-users, The following question bothered me for the whole afternoon: how can one pass a string as the conditioning argument to subset? I tried plain mystr, eval(mystr), expression(mystr), etc... I don't to be able to find the correct syntax > foo <- data.frame(a=1:10,b=10:1,c=rep(1:2,5)) > mystr<-"c==1" > subset(foo,c==1) a b c 1 1 10 1 3 3 8 1 5 5 6
2009 Aug 05
3
import data into R
Thank you Gabor Grothendieck for your answer !! i have charge the pachage but now i have this massage  read.table("c:/TOTAL.xls",h=T) [1] ÐÏ.à.. <0 rows> (or 0-length row.names) Warning messages: 1: In read.table("c:/TOTAL.xls", h = T) :   incomplete final line found by readTableHeader on 'c:/TOTAL.xls' 2: In if (!header) rlabp <- FALSE :   the condition has
2009 Mar 16
3
sort data frame columns according to a list
HI,   I have searched the R-help achive, trying to find a way to sort columns in a data frame according to a specific list, but not be able to find a general way to do it.   My data frame contains columns, with each one named from a sample ID, and each sample was measured in a specific time, generating one column of data, now I would like to sort the columns according to the time course, so I have
2009 May 12
1
Using loops to run functions over a list of variables
Hello, I have a data set with many variables, and often I want to run a given function, like summary() or cor() or lmer() etc. on many combinations of one or more than one of these variables. For every combination of variables I want to analyze I have been writing out the code by hand, but given that I want to run many different functions over dozens and dozens of variables combinations it is
2009 Aug 19
3
a naive question
Hi, and my apologies for the following very naive question : I would like to read a column of numbers in R and plot a histogram. eg : x<-read.table("txSTART"); y<-as.numeric(x); and I do obtain the error : Error: (list) object cannot be coerced to type 'double'. Please could you let me know the way to fix it. thanks, bogdan <r-help@r-project.org> [[alternative
2009 Apr 18
4
Loop question
Hi everyone, I am trying to accomplish a small task that is giving me quite a headache. I would like to automatically generate a series of matrices and give them successive names. Here is what I thought at first: t1<-matrix(0, nrow=250, ncol=1) for(i in 1:10){ t1[i]<-rnorm(250) } What I intended was that the loop would create 10 different matrices with a single column of 250
2009 Apr 09
2
failed when merging two dataframes, why
Hi, R-listers, Failed, when I tried to merge df1 and df2 by "codetot" in df1 and "codetoto" in df2. I want to know the reason and how to merge them together. Data frames and codes I have used were listed as followed. Thanks a lot in advance. df1: popcode codetot p3need BCPy01-01 BCPy01-01-1 100.0000 BCPy01-01 BCPy01-01-2 100.0000 BCPy01-01 BCPy01-01-3 100.0000 BCPy01-02