Displaying 9 results from an estimated 9 matches for "ophir".
2005 Nov 10
7
different functions on different vector subsets
Hi,
I am trying to apply two different functions on on a vector as follow:
a<-c(NA,1,2,3,-3,-4,-6)
if a>0 I would like to raise it by the power of 2: 2^a and if the a<0 I
would like to have the inverse value, i.e., -1/2^a.
so I thought of doing it two steps:
a[a>0]<-2^[a>0]
a[a<0]<-(-1)/2^a[a<0]
I got the following error
Error: NAs are not allowed in subscripted
2005 Sep 27
3
Dummy quesion about environment
Hi,
I'm trying to understand environment object in R.
I used the example:
f <- function(x) {
y <- 10
g <- function(x) x + y
return(g)
}
h <- f()
h(3)
then i saw that f return an environment
> h
function(x) x + y
<environment: 01B28570>
but I coudn't access to x and y object in that environment:
I tried
2003 Feb 08
1
mirroring R
Dear supporter,
Can you tell me please how can I mirroring R at our site? One of the reasons I would like to do this is the fact that it is impossible to update R behind our firewalls.
Thank in advance
Ron Ophir, Ph.D.
Bioinformatician,
Biological Services
Weizmann Institute of Science
POB 26
Rehovot 76100
Israel
e-mail: Ron.Ophir at weizmann.ac.il
Phone: 972-8-9342614
Fax:972-8-9344113
2003 Jan 26
1
R2HTML
Dear group members,
I am trying to install R2HTML on PC, but keep getting the following error message:
Error in testRversion(descfile) : This package has not been installed properly
See the Note in ?library
Can any help me with this?
thanks in advance,
Ron
[[alternate HTML version deleted]]
2003 May 01
1
rotate plot
Dear group members,
I am trying to plot two adjacent plots using layout function. One plot is scatter plot and the other is density plot. However, I would like that the density plot would be present horizonaly in respect to the scatter plot.
| |
| |
| |
|
2003 Jun 16
1
grid background color
Dear all,
I am trying to run cloud function in lattice library under r-1.7, and I wlways get gray background. I've tried to chang it by set "...par.box=list(col="white")"
or by gpar(background="white") but no result.
How do i do it?
Thanks in advance,
Ron
2003 Jul 13
1
bootstrap for hclust
dear group members,
I am looking for a function that assess the stability of cluster. The result of hclust function is an hclust object which can be plot as a dendrogram. However to have confidence in the tree topology usualy bootstap is applied. I understand that I can apply bootstarp on the original data and then run hclust(dist() ) as much as I resampled but how to comapre the topologies the I
2002 Nov 29
1
KS for goodness of fit
Dear All,
I have two distributions which I don't their nature. I want to check whether they come from the same distribution. I know that I can use KS test however the standart function ks.test applies only the ks test for testing the difference of two samples (non-parametric). By the way the distribution are of Euclidean distances. One of observed and the other of shuffled data.
Thanks,
Ron
2003 May 22
0
download problem: configuration
Dear All,
I installed R on linux red-hat 7.3. I tried to run getBioC() script, which download R packages from bioconductor site, but I get the followin error message:
Error in getBioC() : Your R is not currently configured to allow HTTP
connections, which is required for getBioC to work properly.
How do I configure R correctly?
Thanks,
Ron