Displaying 20 results from an estimated 500 matches similar to: "about "pnorm""
2005 May 18
1
covariance analysis by using R
Hello sir:
Here's a question on covariance analysis which needs your help.
There're 3 experiments,and x refers to control while y refers to experimental result.
The purpose is to compare the "y" values across the 3 experiments.
experiment_1:
x:0.1 0.2 0.3 0.4 0.5
y:0.5 0.6 0.6 0.7 0.9
experiment_2:
x:1 2 3 4 5
y:3 4 6.5 7.5 11
experiment_3:
x:10 20 30 40 50
y:18 35 75 90
2005 Nov 24
1
a question
Hello sir:
Here's a question:
x<-1:5
y<-c(2,1,4)
I wanna get the different elements between x & y,i.e. 3,5.
How can I get the result(3,5) via R function?
Thanks a lot for your help.
My best!
------------------------------
*******************************************
Xin Meng
Capitalbio Corporation
National Engineering Research Center
for Beijing Biochip Technology
2005 Apr 04
1
How to extrct F value
Hello sir:
Here's the result of repeated measures ANOVA.
$"Error: Within"
Df Sum Sq Mean Sq F value Pr(>F)
t 2 524177 262089 258.24 1.514e-06 ***
Residuals 6 6089 1015
---
Signif. codes: 0 `***' 0.001 `**' 0.01 `*' 0.05 `.' 0.1 ` ' 1
My question is: How to extract the F value only?
If the result is a
2006 Jun 06
2
about string
Hello sir:
There are 2 questions about string.
1 How to calculate the width of a string? e.g string "abc"'s width is 3;
2 How can I get the "substring" in such kind of condition:
"f:\\JPCS_signal.txt" "f:\\PC1_signal.txt" "f:\\PC2_signal.txt"
What I wanna get is "JPCS" "PC1" "PC2".How can I achieve them by R
2006 Apr 13
1
about McNemar
Hello sir: How can I perform McNemar (paired chi square test) by using R?
Thanks!
------------------------------
*******************************************
Xin Meng
Capitalbio Corporation
National Engineering Research Center
for Beijing Biochip Technology
BioPharma-informatics & Software Dept.
Research Engineer
Tel: +86-10-80715888/80726868-6438
Fax: +86-10-80726790
Email??xmeng
2006 Apr 19
1
about "intersection set" and "union set"
Hello sir:
group1:1,2,3,4
group2:1,3,4,5
group3:2,4,8,9
.. ...
group1000:9,3,8,2
I wanna get the "intersection set" and "union set". I've tried command "setdiff"and "union",but only two groups is permited.How can I deal with multi groups to find the "intersection set" and "union set"?
Thanks a lot!
My best
2006 Sep 27
3
exact 95% confidence intervals
Hello sir:
As to the 2*2 table format for reporting results comparing a new test to true diagnosis,when I got the sensitivity and specificity,how can I calculate the exact 95% confidence intervals (based on the binomial distribution) for sensitivity and specificity via R?
Thanks a lot!
My best!
------------------------------
*******************************************
Xin Meng
Capitalbio
2006 Sep 20
1
about BATCH and parameter file
Hello sir:
I use Rcmd to execute R code,such as :
"C:\\Program Files\\R\\R-2.2.1\\bin\\Rcmd.exe" BATCH globalLowessRun.r
globalLowessRun.r is a R function written by myself.
But I wanna make the "globalLowessRun.r" changeable,such as globalLinearRun.r or gridbasedLowessRun.r,and so on.
How can I achieve this goal via Rcmd.exe BATCH ?
The only finding is:
Rcmd BATCH
2008 Jul 24
3
how to export ".xls" file with colorful cells?
Hi all:
I wanna know how to expoort ".xls" file. And in the exported ".xls" file, how to set different cells with different color?
Thanks a lot!
My best.
------------------------------
*******************************************
Xin Meng
Capitalbio Corporation
National Engineering Research Center
for Beijing Biochip Technology
BioPharma-informatics & Software
2003 Feb 19
2
plotmath
There's something (probably a lot) missing in my understanding of
plotmath. The LaTeX code for what I'm trying to produce is
\log(-\log(\hat R))
My (probably hopeless) attempt at it uses nested group()s:
expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"),
")"))
Can anyone do it right for me, please?
Thanks,
Ted.
Dr E.A.
2007 Oct 31
2
R GUI for Linux
I have downloaded and tried to install JGR - Java GUI for R - Version 1.5.
I followed all the instructions (at least in my best resolution) and
installed Java latest version.
R installation complete fine.
Has anyone succeded in installing JGR on SuSE 10.3 ?
In the following I hade detailed the failed installation,
As root /i did the following:
linux-Mimin:/usr/local/bin # ./R
R version 2.6.0
2001 Sep 18
1
textbook on experimental design?
I'll be teaching a graduate course on (the analysis of) experimental
designs next year, using R. Does anyone know of a suitable textbook?
(Venables and Ripley MASS Ch6 on Linear Models covers roughly the right
material, but at a level that is way too difficult for my students.)
Sorry if this has been asked before. I've looked through the archives and
found Julian Faraway's book, but
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver.
When I run a simple example, eg
> data(InsectSprays)
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
the boxplot is fine. Doing the same thing after
> xfig(file='test.fig')
and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots
where the boxes, although correctly shaded in,
2001 Feb 13
3
xfig boxplot (polygon) bug??
There appears to be a bug in the R xfig() driver.
When I run a simple example, eg
> data(InsectSprays)
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
the boxplot is fine. Doing the same thing after
> xfig(file='test.fig')
and then opening in Xfig (ver3.2 patchlevel 2) on my Linux box produces boxplots
where the boxes, although correctly shaded in,
2006 Aug 28
3
Firefox extension fo "R Site Search"
Dear useRs,
=================================================
Search for your R routines directly from Firefox!
>> http://addictedtor.free.fr/rsitesearch
=================================================
Mango Solutions, providers of R and S-Plus consulting, application
development and training, are happy to announce the first release of the
R Site Search extension for Mozilla Firefox.
2007 Apr 23
2
Problem with dgamma ?
Hi All,
Here 's what I got using dgamma function :
> nu<-.2
> nu*log(nu)-log(gamma(nu))+(nu-1)*log(1)-nu*(1)
[1] -2.045951
> dgamma(1,nu,nu,1)
[1] 0.0801333
> dgamma(1,nu,nu,0)
[1] NaN
Warning message:
NaNs produced in: dgamma(x, shape, scale, log)
Could anyone tell me what is wrong here ?
I am using R-2.4.1 on windows XP.
Thanks a lot.
2007 Apr 02
1
?Bug: '&&' and '&' give different results?
"&&" seems to behave strangely and gives different results from "&" e.g. in a data frame selection (regardless whether terms are bracketed)?
===========Script=======================
test=data.frame(gender=c("F","M","M","F","F"),side=c("R","L","R","L","R"))
test
2007 Oct 24
3
multiply for vector in R
Dear All,
Is there a conmand to calculate the multiplication of the elements in a vector? For example:
a=c(1,2,3,4)
I want to get 1*2*3*4=24.
Because the dimension of the vector is high, I want to know there is a command for this task in R?
Thank you so much!
Kang
__________________________________________________
[[alternative HTML version deleted]]
2007 Apr 23
1
Extracing "Interval of Time" in seconds in R
Dear List,
I want to let R calculate the time (run-time) it
requires to run a self-written simulation function. I
tried as follows: it
enables me to see the starting and finishing time
points.
#############################
"sim.result" <- function(nsim, ...){
Starting <- date()
... # calculations #
final.result <- ... # Output for display #
cat("# of Iterations used
2007 Jun 18
2
Calculating Percentile in R
Hi all,
I have a problem on how R calculates Percentiles :
Suppose I have following data set:
> data1
[1] -16648185 -14463457 -14449400 -13905309 -13443436 -13234755 -12956282 -11660896
[9] -10061040 -9805005 -9789583 -9754642 -9562164 -9391709 -9212182 -9151073
[17] -9092732 -9068214 -8978151 -8943912 -8761890 -8632106 -8541580 -8501249
[25] -8234466 -8219015