Hi, I think about everyone asks the same question as you. A quick and
dirty way to fix it is to copy Sweave.sty from$R_HOME/share/texmf/ to
the same directory as your Sweave/R/TeX files.
BTW: Would it be possible to add a comment about the above in the
Sweave() help page and maybe even have an
On Thu, Feb 19, 2004 at 09:22:09AM -0800, Thomas Lumley wrote:
So, what is the _right_ way for obtatining SE? Why two those formulas above
differ?
If you are maximising a likelihood then the covariance matrix of the
estimates is (asymptotically) the inverse of the negative of the Hessian.
Thank you for the reply,
i tried it with the devel version 1090 (18.02.2004) but it is still the same
problem.
Is there any other solution. As said before it works on 1 Windows 98
Computer but not on the other's.
I can't change the operating system of the computers. Which files of windows
could
On Fri, 20 Feb 2004 09:53:31 +0100 Henrik Bengtsson wrote:
Hi, I think about everyone asks the same question as you. A quick and
dirty way to fix it is to copy Sweave.sty from$R_HOME/share/texmf/ to
the same directory as your Sweave/R/TeX files.
BTW: Would it be possible to add a comment
This is only partly a question about R, as I am not quite sure about the
underlying statistical theory either.
I have fitted a non-linear mixed-effects model with nlme. In the fixed
part of the model I have a factor with three levels as explanatory
variable. I would like to use Tukey HSD or a
DeaR useRs:
Excuses for my english. I am trying to read a file with my dats and the format is a
number, 3 spaces, other number, etc...
When I use:
a-read.table(file=c:/datos2.dat,sep=)
R sais:
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 3 did not
I'm trying to do a sunflowerplot of Galton's data, with both regression
lines and data ellipses,
and I must be doing something wrong, because the lines do not intersect
at \bar{x}, \bar{y}.
The problem is likely in the line for x.y, but I don't know how to
specify that correctly.
The data is
Hi all. I've got a really dumb question for anyone. How do I write the
output of a limma analysis (basically the topTable) to a text file? I want
to output the topTable for the entire microarray (not really a topTable
anymore I suppose..). Thanks for any advice!
-Josh
You should make your missing value indicator something other than your
separator indicator:
1. Use a text editor to indicate all missing values as NA or
2. Use a text editor to replace the 3 separator spaces with, for example, a
comma or semicolon and use the argument sep=, or sep=; which
Michael Friendly [EMAIL PROTECTED] writes:
The data is read in grouped form( galton), and then ungrouped (galton2):
galton - read.table(~/sasuser/data/galton.txt, header=TRUE)
# ungroup
galton2-galton[rep(1:nrow(galton), galton$frequency), 1:2]
attach(galton)
sunflowerplot(child,
Dear Mike,
I believe that the following is the problem: For the regression of x on y,
you have to move y to the left-hand-side of the equation to plot the line
in {x, y}; so if the regression equation from the model x.y is x = a + b y,
you need abline(-a/b, 1/b).
I hope that this helps,
John
Hi, I think this question should asked on the Bioconductor mailing
list instead. I know Gordon Smyth is reading that one, but I don't
think he's reading this one regularly.
If I remember correctly df - topTable() returns a data.frame, which
you can write to a file using write.table(df,
Greetings List,
I am conducting some large simulations using R. As a result, I get many plots but I'm
having some trouble with including some of them in a Microsoft Word document. Can any
one tell me the easiest method of having copies of the R-graphs in the Word documents?
Best regards
On Fri, 2004-02-20 at 09:54, Mahmoud K. Okasha wrote:
Greetings List,
I am conducting some large simulations using R. As a result, I get
many plots but I'm having some trouble with including some of them in
a Microsoft Word document. Can any one tell me the easiest method of
having copies
On Fri, Feb 20, 2004 at 05:54:33PM +0200, Mahmoud K. Okasha wrote:
Greetings List,
I am conducting some large simulations using R. As a result, I get many plots but
I'm having some trouble with including some of them in a Microsoft Word document.
Can any one tell me the easiest method of
Right click on the plot and choose copy as metafile. Copying
it as a metafile copies it as a vector graphic rather than as
a bitmapped graphic so the elements of the graphic (e.g. axis
labels, points on the plot) stay intact allowing later editing
in Word.
In your Word document move to the
Itay -
If it were my problem, I would re-structure the task around the
existing capabilities of lapply(). In particular, I would
concatenate the three lists of functions, then write a wrapper
function which takes three arguments: an index, a list of
functions and a data set. Then I would
Hi!
Like to write quite a lot (ca 100) of objects from my envirovment with save.
The names of the objects are in a list nam.
nam-dir()
nam-grep(E,nam,value=T)
length(nam)
20
for(x in nam)
{
#reads the objects and assigns the names.
assign(x,simFromEmboss(Simmatrix(),x))
Ajay Shah wrote:
On Thu, Feb 19, 2004 at 02:26:55PM +0100, Arne Henningsen wrote:
Hi,
I did not find any web page about using R in economics and econometrics so
far. However, this does not mean that there is none (searching with google
for R and economics gives many pages about economics
Dear Mahmoud,
There are several ways to do this. I find the following the simplest: Right
click on the graphics-device window in R and select Copy as metafile from
the pop-up menu. Then right-click in the Word document where you want the
graph to appear and select Paste.
Perhaps if you could
Hi, everyone,
I have a question on using lme on a mixed effects model with nested
error structure. After applying lme to the data, and put the outcome in,
say TR.lme. I can extract the fixed effects by TR.lme$coef$fixed.
However, when I use TR.lme$coef$random.effects, it does not give the
On Fri, 20 Feb 2004 11:08:00 -0600
Marc Schwartz [EMAIL PROTECTED] wrote:
On Fri, 2004-02-20 at 09:54, Mahmoud K. Okasha wrote:
Greetings List,
I am conducting some large simulations using R. As a result, I get
many plots but I'm having some trouble with including some of them in
a
On Thu, Feb 19, 2004 at 04:40:13PM -, Simon Cullen wrote:
On Thu, 19 Feb 2004 19:06:08 +0530, Ajay Shah [EMAIL PROTECTED] wrote:
snip R for economists
Okay, I made a start, with
http://www.mayin.org/ajayshah/KB/R/more.html
Tell me what should go into it. :-)
I think the
Hallo!
Thanks a lot!
Its exactly what I was looking for.
Sincerely
Eryk
*** REPLY SEPARATOR ***
On 2/20/2004 at 12:57 PM Liaw, Andy wrote:
Is the `list=' argument for save() what you're looking for?
Andy
Hi!
Like to write quite a lot (ca 100) of objects from my
Zonghui Hu [EMAIL PROTECTED] writes:
I have a question on using lme on a mixed effects model with nested
error structure. After applying lme to the data, and put the outcome
in, say TR.lme. I can extract the fixed effects by
TR.lme$coef$fixed. However, when I use TR.lme$coef$random.effects,
At 11:08 AM -0600 2/20/04, Marc Schwartz wrote:
On Fri, 2004-02-20 at 09:54, Mahmoud K. Okasha wrote:
Greetings List,
I am conducting some large simulations using R. As a result, I get
many plots but I'm having some trouble with including some of them in
a Microsoft Word document. Can any one
On Fri, 20 Feb 2004, wolski wrote:
for(x in nam)
{
#reads the objects and assigns the names.
assign(x,simFromEmboss(Simmatrix(),x))
nnam-paste(x,.rda,sep=)
print(nnam)
save(x,file=nnam)
}
I knew that it fails. (It saves object x containing a char.)
There
Hi,
I am trying to install the OOP package (v0.4-2) from Omega Hat using the
R CMD INSTALL (I have also tried untarring the package an using R
INSTALL) but no joy. Here is the following error...
$] R CMD INSTALL OOP_*
* Installing *source* package 'OOP' ...
** libs
gcc
However,
1. the editing of .ps files once they have been inserted
into Word seems to be limited compared to using Windows metafiles.
2. R on Windows does not provide the capability to do right
click copy with a .ps file so you have to right click save the
file and then insert it into Word
Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.
This is a generic help message. The message I received wasn't sent to
any of my command addresses.
--- Administrative commands for the vim list ---
I can handle administrative requests automatically. Please
do not
Is it normal behaviour for strptime(29-Jan-01,%d-%b-%y)$mon to return a
value of 0?
strptime(29-Jan-01,%d-%b-%y)$year #works ok
101
strptime(29-Jan-01,%d-%b-%y)$mday #works ok
29
Regards,
Alex
Alex Hanke
Department of Fisheries and Oceans
St. Andrews Biological Station
531 Brandy Cove Road
St.
Hi All,
I'm using a call to eval to evaluate a linear model, however, I have found
that despite calling
options (contrasts=c(contr.sum, contr.poly))
prior to evaluation, my model factors are coded using the indicator
coding associated with the contr.treatment contrast option
As an inelegant
I have wrestled with this problem a lot. I use Linux, coauthors use
Windows, and the eps files I make from R don't work with MS Word. Well,
the don't ever have previews and they sometimes won't print at all
when I use CrossOver Office with MS Office 2000 in Linux. My coauthor
says he can
Ajay Shah [EMAIL PROTECTED] writes:
If you could produce a table with Econometrics to R translations that
would be immensely helpful, as a start. I know someone suggested creating
a facility for 'aliasing' econometrics-speak to R functions, but this got
shot down for being unwieldy
Yes, its normal.
See ?DateTimeClasses
---
Date: Fri, 20 Feb 2004 14:43:55 -0400
From: Hanke, Alex [EMAIL PROTECTED]
[ Add to Address Book | Block Address | Report as Spam ]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: [R] strptime() behaviour
Is it normal behaviour for
Does UNIX R have a similar command, or does it just take as much memory as
it needs? On a related note, does the memory have to be contiguous on
either type of system? I am not hitting my max memory even with the 2gb max
mem set (I'm not even hitting 1.5gb) -- it is giving me errors such as:
Hello,
Does anyone know how to run R BATCH job in PHP? I tried the PHP function
exec(), shell_exec, passthru() to run R script, however, none of them
worked. If someone ever had experince to run R in PHP, could I ask for
an example code?
Thanks a lot!
Dongmei
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Could someone tell me where I could find some instructions for running R in
BATCH mode? Especially regarding the format of the program or command file,
Thanks a lot
__
[EMAIL PROTECTED] mailing list
The bottom of every post to this list says:
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
which, among other things, tells you to search in the archive. If you do
that, you will see that this question has been asked numerous times, and had
been answered. The
On Fri, 20 Feb 2004 13:47:51 -0600
Paul Johnson [EMAIL PROTECTED] wrote:
I have wrestled with this problem a lot. I use Linux, coauthors use
Windows, and the eps files I make from R don't work with MS Word. Well,
the don't ever have previews and they sometimes won't print at all
when I
Hello,
I first would like to thank all of you for your great ideas. However, I
agree with Paul particularly in that the answer is more complicated than
other people make it seem when you have many graphs. I am trying all the
ideas. It seems that all of them work but with some difficulties. I have
RTFM: see ?BATCH, or in case you are using Windoze, Help - FAQ on R for
Windows, click on Q 2.10.
Andy
From: Christian Landry
Could someone tell me where I could find some instructions
for running R in
BATCH mode? Especially regarding the format of the program or
command file,
R:
I am starting to do LOESS regressions and was wondering if anyone has
written code to create M-Plots (Cleveland and Devlin 1988). The M-Plot
allows a method for choosing the smoothing parameter that produces the
smallest variance subject to not generating a statistically significant
bias
Perhaps some additional explanation is in order. There are
two basic classes of format:
- vector graphics such as windows metafile (wmf) and svg where
the actual structure of the drawing is stored.Editing these
can be done with no loss of resolution and you can access
the individual
Greetings,
Thank you Gabor for your great explanation. I feel ok with it.
Best regards..
Mahmoud
.
- Original Message -
From: Gabor Grothendieck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, February 21, 2004 2:04 AM
Subject: Re: [R] R:
Thanks! Especially for pointing out the usage of a 'wrapper'
function in conjunction to lapply. In addition, data
re-organization was important, too, as you pointed out.
My final solution was slightly different than your proposition.
See below.
Thanks again,
Itay
On Fri, 20
We've sent this position out to SF Bay Area schools. Since we have
standardized on R as our preferred analytics platform it seemed
appropriate to post here.
We also have a full time Data Analyst position open. Search for
Loyalty Matrix on [1]www.craigslist.org= for details.
Jim
Is there an easy way to do a stratified random sampling based on a factor
column in R? E.g. I want to extract a random 10% of the data from dataset
for each class (so each class may have a different number of entries,
depending on its size). On a related note, if this is easily doable, is
there
Try this. ptrain and ptest and proportions in the training
and test samples. The next line generates a random test
vector of factors, f, for testing purposes.
ptrain - 0.3; ptest - 0.2
set.seed(1); f - cut(runif(100),3,lab=F)
first - function(x, p) x[seq( ceiling(p * length(x) ) )]
perms -
50 matches
Mail list logo