Displaying 20 results from an estimated 1000 matches similar to: "Removing Inf and Inf values from a fata frame"
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 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 May 07
3
like apply(x,1,sum), but using multiplication?
Hi,
I need to multiply all columns in a matrix so something like
apply(x,2,sum), but using multiplication should do.
I have tried apply(x,2,"*")
I know this must be trivial, but I get:
Error in FUN(newX[, i], ...) : invalid unary operator
The help for apply states that unary operators must be quoted. I tried
single quotes too, with the same results.
Thanks,
-Jose
--
Jose
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 =
2008 Feb 05
6
Sampling
Hi there,
I want to generate different samples using the
followindg code:
g<-sample(LETTERS[1:2], 24, replace=T)
How can I specify that I need 12 "A"s and 12 "B"s?
Thank you,
Judith
____________________________________________________________________________________
Be a better friend, newshound, and
2009 Aug 25
3
Regular expression to define contents between parentheses
Hello dear R-helpers,
I haven't been able to figure out of find a solution in the R-help archives about how to delete all the characters contained in groups of parenthesis. I have a vector that looks more or less like this:
myvector<-c("something (80 km/h, sd) & more (6 kg/L,sd)", "somethingelse (48 m/s, sd) & moretoo (50g/L , sd)")
I want to extract all
2008 Feb 21
3
R console closes on its own
Dear R-experts,
I am running a script that has the following
structure:
windows(height=5.5,width=8)
dat<-read.csv("myfile.csv")
names(dat)<-c('a','b','c','d')
dat<-dat[,1:4]
xyplot(dat$a~dat$b)
Then I usually save the plot as a PDF (from the
menu in the R console). I can save the PDF twice in a
row; but at the third time, right when I
2007 Jul 02
2
Substitution of Variables
Hi,
I need to run a script under the variable (that
comes from a csv file) that is assigned to another
variable. This is very a simplified version of what I
want to do:
data<-read.csv('name.csv')
names(data)<-("VA","VB","VC")
v<-VA
mn(v)
Thank you in advance,
Judith