Displaying 20 results from an estimated 3000 matches similar to: "like apply(x,1,sum), but using multiplication?"
2007 May 26
1
Why ?rmvnorm not working
Hi,
My R version is 2.4.1 and I installed the the packages MASS and run
command library("MASS"),
however when I type ?rmvnorm, no help topic found, it worked before.
I tried to ype ?rinvgamma from "MCMCpack" which works great.
Anybody have idea? I also reinstalled MASS package, but when I try to type
rmvnorm(), no functions found.
Pat
2007 May 16
2
'attach workspace' on R console File menu
Quite often I save misc functions and data objects as .RData files that I
can use in other sessions. Although I could 'Load Workspace" these files,
most of the times I prefer attaching them. It would be really convenient to
have a menu item under the File menu on the Windows R Console to allow
attaching workspaces, e.g.
--------------------
Attach Workspace...
Load Workspace...
Save
2007 Mar 23
1
Creating new directory/folder from R script on run time.
Hi,
Please correct me if this request does not belong to this discussion forum.
Kindly suggest me if there is a way to create a new folder from R on
runtime?
for e.g.
>From one of my R script I want to store the PDF result file in a perticular
folder let say c:\tt
for that initially i am creating "tt" folder manually and using the
following command:
fname <-
2007 Mar 26
3
substitute variable
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070326/3e379677/attachment.pl
2007 Apr 22
1
labels
Hello, I would like to add to axis labels special caracters. Instead of writing :plot(simul, xlab="beta", ylab="sigma11") It would be great if I could write something as in LaTeX :plot(simul, xlab="\beta", ylab="\sigma_{11}") Is there a way to do that ? Thank you
_________________________________________________________________
ues clics pour retrouver tout
2007 Apr 23
2
residuals and predict
hi,
in using glm function is it possible to extract residuals and predict values ?
___________________________________________________________________________
[[alternative HTML version deleted]]
2007 Apr 24
4
from R to html
hello,
If I wanna export data.frame from R to html have you got some ideas to do this?
___________________________________________________________________________
[[alternative HTML version deleted]]
2007 May 04
3
listing R packages in our system
Hi,
I like to know the simple way to list the R package names in our linux
system.
Thanks
Ying
[[alternative HTML version deleted]]
2007 May 29
1
look for packages
Dear list members,
I am analysing some microarray data. I have got the differentially
expressed genes and now want to carry out PCA analysis to get the main
components that contribute to the variance.I have browsered the CRAN and
BioConductor and did not find an appropriate package.
Have anybody ever carried out PCA analysis? Is there any package about PCA
in R?
Thanks for your advice.
2007 Jun 13
2
Removing Inf and Inf values from a fata frame
Hi,
I have a csv file with empty values, when I apply
the different functions (mean, std, etc.) I create a
new data frame, the empty values generate Inf and -Inf
values. How can I remove those Inf and -Inf values
from the new data frame? I already specified na.rm in
the mean and std functions, but the values are still
there.
Thank you,
Judith
2007 Jun 20
2
Creating directory under Windows R session
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070620/7c279140/attachment.pl
2007 Jun 25
3
fractional calculations
Hi All,
is there a function in R that allows me to work with fractions without
transforming them to floats (or whatever) in between?
Something that would calculate something like:
(1/2 + 1/8) * 1/2 = 5/16
without ever transforming to 0.5 and 0.125?
Best,
Federico
--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St Mary's Campus
Norfolk Place,
2007 Apr 19
3
plotting command trouble
Dear R-Experts,
I have the following command lines:
windows()
plot(0:60, 0:0.896, type="n", xlab="Zeit [min]", ylab="Absorptionsmessung
bei 600nm",main="Zellwandstabilit?t" )
dev.off()
Can anyone say me why the plot command does not work and how the correct one should look like?
Important is: x-axis goes from 0 to 60 and the y-axis from 0 to 0.896!
2007 Mar 26
4
a very small query
Hi All
what is the command to give me the listing of the loaded packages. I mean
which are active and not the listing of all the installed packages as
given by library()
thanks in advance
-gaurav
============================================================================================
DISCLAIMER AND CONFIDENTIALITY CAUTION:\ \ This message and ...{{dropped}}
2007 Apr 20
1
Hiding "Warning messages" in coxme output
Dear list,
I have been trying to use coxme in R 2.3.1.
When I use coxme in the following data sim.fr1, i get
"Warning messages: using 'as.environment(NULL)' is
deprecated"
Why does it occur?
How can I hide such warning message,
especially when coxme is under a loop?
Mohammad Ehsanul Karim (Institute of Statistical
Research and Training, University of Dhaka)
>
2007 Mar 27
7
Replacement in an expression - can't use parse()
Dear all,
Suppose I have a very long expression e. Lets assume, for simplicity, that it is
e = expression(u1+u2+u3)
Now I wish to replace u2 with x and u3 with 1. I.e. the 'new'
expression, after replacement, should be:
> e
expression(u1+x+1)
My question is how to do the replacement?
I have tried using:
> e = parse(text=gsub("u2","x",e))
> e =
2006 Apr 27
3
gmane?
Hi All,
I recently found gmane
http://gmane.org/
It's a system to covert mail to news and back, with the nice property of
keeping
a searchable archive... Very convenient if you are subscribed to many lists
and
don't want to have your mail box cluttered. I use it to read several mailing
lists already, but R is not available there.
I wonder if the admins know about gmane and if they
2006 Apr 18
6
R and ViM
Dear all,
I'm starting to learn R, but I'm already programing for a while, using
ViM as editor. Therefore I'd like to be able to use R together with
ViM.
My question now is, whether there are already people out there knowing
how to do this in a similar easy way as with Emacs, and if those would
be willing to share this knowledge.
I did already research on the web on this topic,
2007 Jan 23
3
[fixed] vectorized nested loop: apply a function that takes two rows
(Extremely sorry, disregard previous email as I hit send before pasting the latest version of the example; this one is smaller too)
Dear R users,
I want to apply a function that takes two vectors as input to all pairs
(combinations (nrow(X), 2))of matrix rows in a matrix.
I know that ideally, one should avoid loops in R, but after reading the docs for
do.call, apply, etc, I still don't know
2007 Jan 23
3
[fixed] vectorized nested loop: apply a function that takes two rows
(Extremely sorry, disregard previous email as I hit send before pasting the latest version of the example; this one is smaller too)
Dear R users,
I want to apply a function that takes two vectors as input to all pairs
(combinations (nrow(X), 2))of matrix rows in a matrix.
I know that ideally, one should avoid loops in R, but after reading the docs for
do.call, apply, etc, I still don't know