Displaying 20 results from an estimated 2000 matches similar to: "rmonad"
2011 Mar 30
4
How to define new operator in R?
Hello, everyone!
Does anyone know how make some symbols have special means in R? For example,
we know that "+" in R means the sum of the two operand on its left and
right. I want to define some operators in R by myself. Is this possible?
Regards!
--
Chuanlong Du
Department of Statistcis
Iowa State University
Ames, IA, US 50011
[[alternative HTML version deleted]]
2006 Apr 23
1
converting similarity matrix formats
Dear all,
I am using a program that generates similarity matrices in the following
non-redundant pairwise format.
a b 0.4
a c 0.5
a d 0.3
b c 0.9
b d 0.6
c d 0.2
matrix(c('a','a','a','b','b','c','b','c','d','c','d','d',.4,.5,.3,.9,.6,.2),byrow=F,nrow=6)
I would like to convert this to a
2010 Apr 08
1
how to manipulate object in specific environment?
Hi
I want to simplify my problem into a prototype, how to write a function to
get all the object in your current environment, e.g. .GlobalEnv, and print
their mode?
For example, if I have object a,b,c... in my environment,
a=1;b='test';c=matrix(0,3,3).....
I want to write a function myfun(), when I run myfun(), this retrieve all
the objects in my environment automatically and print
2011 Mar 30
1
How can we modify attributes of files in Windows Systems using R?
Hello!
Does any one know how to modify attributes of files (hide, read only and
etc) in Windows Systems using R? I tried to use shell to call system
command, but it seems that it doesn't work well. Sometimes it works but
sometimes not.
Regards!
--
Chuanlong Du
Department of Statistcis
Iowa State University
Ames, IA, US 50011
[[alternative HTML version deleted]]
2011 Nov 22
1
Bezier curve in R?
Hi dear all,
I am wondering if there is a function existing in R that did the quadratic
bezier curve interpolation? I hope to generate a bezier curve based on
three sets of points: two end of the line and a control point.
Thanks in advance.
Tengfei
--
Tengfei Yin
MCDB PhD student
1620 Howe Hall, 2274,
Iowa State University
Ames, IA,50011-2274
[[alternative HTML version deleted]]
2004 Nov 19
0
Question on panel corrected standard errors by Beck and Katz
Dear colleagues,
I am looking for a program which can run OLS with panel corrected standard
errors developed by Beck and Katz. Thanks for your help in advance.
Kihong Eom, Ph.D.
539 Ross Hall
Iowa State University
Ames, IA 50011
2004 Jul 28
0
Profile directories ignore directory mask
Hello,
We are running Samba 3.0.4 in ADS mode with winbind. We use roaming
profiles, stored in the [homes] share for each user in a directory
called .ntprofile. This same home directory is used for their UNIX
account. For some reason, when windows creates the roaming profile
directory (.ntprofile) it gets created with permissions 771. This is
bad, because all of our users are members of the
2010 Apr 27
2
R for ubuntu 10.04?
Hi dear all
I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release
that support "karmic" in cran under ubuntu directory, I plan to update my
laptop to Ubuntu 10.04 after April 30, since I have to use some new features
or new version in it, e.g. QT 4.6, I don't know if there is going to be a R
release that will support this newly released Ubuntu?
Thanks in
2003 Jul 22
1
using getBioC()
Hello,
I am trying to install R/Bioconductor on a G4 Mac running OS X. I
have successfully installed R so that a command window opens, but
installation of the downloaded Bioconductor package is giving me
trouble. After copying/pasting the Bioconductor installation script
in to the window and typing getBioC(), I get the following error
message.
"Error in getBioC(): R not currently
2009 Nov 12
0
QR-decomposition using the base package vs. Matrix package
I need to perform a QR-decomposition of a sparse matrix, so I've been
trying to use the Matrix package. Unfortunately I don't seem to be getting
exactly the same results as if I had used the qr() command from the base
package. Here is an example of what I'm doing.
> spdata <-rpois(50,1)
> y <- rnorm(10,0,1)
> S <-
2010 Apr 27
1
R for Ubuntu 10.04?
Hi dear all
I am currently using Ubuntu 9.10 (karmic) and R 2.10, I can find a R release
that support "karmic" in cran under ubuntu directory, I plan to update my
laptop to Ubuntu 10.04 after April 30, since I have to use some new features
or new version in it, e.g. QT 4.6, I don't know if there is going to be a R
release that will support this newly released Ubuntu?
Thanks
Best
2011 Mar 30
2
Is there a function to save the content in R console to some file?
Hello, everyone!
Does anyone know whether there's a function in R which can save the content
in R console to some file? I'm using Windows system and the usual R console
instead of Rstudio.
Regards!
--
Chuanlong Du
Department of Statistcis
Iowa State University
Ames, IA, US 50011
[[alternative HTML version deleted]]
2012 Jan 15
1
ggExtra package installation fails
Hi dear all,
I cannot find ggExtra source code or install it by
install.packages("ggExtra", repos="http://R-Forge.R-project.org")
I am really interested in one of the functions inside called "align.plots",
but cannot find the package on-line.
Do I miss something? or is there any function similar to that I can easily
align multiple plots on the same x-axis on one
2001 Sep 18
1
case weights-coxph (solved)
Hi,
The following function does work
optimize.W<-function(W,k,G,Groups,cph.call,z){
n<-length(Groups)
grp.wt<-rep(0,n)
for(i in 1:(length(G))){
ind<-Groups == G[i]
if(G[i]!=k){
grp.wt[ind]<-W[i]
}
elsegrp.wt[ind]<-1
}
z<-data.frame(cbind(z,grp.wt=grp.wt)) #needed to make the case weights
#part of the data
2011 Jun 08
1
Reference Class error message: may be caused by lazy evaluation?
Dear All,
I came across an error message recently when constructing a reference class,
an example is attached below, it looks like only if I call a specific method
in advance, otherwise it cannot be found in defined method without using
.self, this make it difficulty that sometimes in my initialize method, I
need to call other method defined in the same reference class, the
workaround for this is
2010 Oct 17
0
make error for R 2.13.0
Hi dear all
It's the first time for me to install a developmental version of R, I came
across following errors, my system is
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
I downloaded the dev version of R in cran R source, and downloaded the
recommended packages by using wget as described in R manual, and run
2001 Sep 18
1
case weights in coxph (survival)
Hi,
I am having trouble with the survival library, particualrily the coxph
function.
the following works
coxph(jtree9$cph.call,z,rep(1,dim(z)[1]))
Call:
coxph(formula = jtree9$cph.call, data = z, weights = rep(1, dim(z)[1]))
coef exp(coef) se(coef) z p
SM 0.2574 1.294 0.0786 3.274 1.1e-03
Sex -0.1283 0.880 0.1809 -0.709
2012 Jan 21
3
semi-transparency not supported in devel R? "alpha" cannot be specified in qplot()
Hi dear all,
In my laptop(ubuntu 11.10 64bit), I maintained a released R (2.14) and a
developmental R, I can specify qplot(..., alpha = ) in R 2.14 , but when I
try to use transparency in developmental R, I got a warning message and the
plot is clearly not I want.
minimal example:
> qplot(data = mtcars, x = mpg, y = cyl, alpha = cyl)
Warning message:
In grid.Call.graphics(L_points, x$x, x$y,
2012 Jan 21
3
semi-transparency not supported in devel R? "alpha" cannot be specified in qplot()
Hi dear all,
In my laptop(ubuntu 11.10 64bit), I maintained a released R (2.14) and a
developmental R, I can specify qplot(..., alpha = ) in R 2.14 , but when I
try to use transparency in developmental R, I got a warning message and the
plot is clearly not I want.
minimal example:
> qplot(data = mtcars, x = mpg, y = cyl, alpha = cyl)
Warning message:
In grid.Call.graphics(L_points, x$x, x$y,
2012 Apr 25
0
FW: [BioC] Overlay Gene Expression on SNP (copy number) data
Dear All,
Thank you kindly for such detailed replies. I was looking to overlay data using algorithms so that i am able to tell which genes are differentially expressed due to changes in copy number. I did a pubmed search and found only 7 literature pieces all of which use in-house algorithms. I am yet to explore Gviz since it wouldn't work on R 2.14, would try it after upgrading to R 2.15.