Hi,
I'm not sure what you actually want from your email (following the
posting guide is a good way of helping you explain things to the rest
of us in a way we understand - it might even answer your question!
I'm only a beginner at R so no doubt one of our expert colleagues will
help me...
fred
Hi Daniela,
Which platform are you working on? If you're working within a console
on windows-98, then the answer is entirely different to working under
linux or RGui on windows. This is why the Posting Guide says to give
platform details :-)
cheers!
Sean
On 18/08/05, Daniela Salvini [EMAIL
To expand on Dirk's answer, R relies on fairly close compliance to
IEC60559 (aka IEEE754) arithmetic in which 0/0 = NaN. As R is C/Fortran
program, this is a function of your C/Fortran compilers (it is most likely
an FPU setting controlled by the compiler than libc). Problems in this
area
Mulholland, Tom wrote:
I note that the axis help seems to refer to padj. After playing around it is
obvious that I don't know what is meant by this argument, so maybe I'm doing
something wrong. My practical soultion is
padj means perpendicular adjustment, that means bottom/top adjustment
Randy Johnson rjohnson at ncifcrf.gov writes:
model - lmer(response ~ time * trt * bio + (time|id), data = dat)
..
and I would like to obtain an estimate (with standard error) of the change
in response over time for individuals in the treatment group with the
biological factor.
Greg
On Fri, 19 Aug 2005, Mulholland, Tom wrote:
I note that the axis help seems to refer to padj. After playing around
it is obvious that I don't know what is meant by this argument, so maybe
I'm doing something wrong. My practical soultion is
It moves in the other direction: for the standard
Dear useRs,
I need to compute zero of polynomial function fitted by lm. For example
if I fit cubic equation by fit=lm(y~x+I(x^2)+i(x^3)) I can do it simply
by polyroot(fit$coefficients). But, if I fit polynomial of higher order
and optimize it by stepAIC, I get of course some coefficients
Hi
Or maybe table
mat-matrix(sample(LETTERS[1:4], 200, replace=T),40,5)
df-data.frame(mat)
table(df$X4)
A B C D
8 12 11 9
is what is wanted
HTH
Petr
On 19 Aug 2005 at 7:24, Sean O'Riordain wrote:
Hi,
I'm not sure what you actually want from your email (following the
posting
Hi!
I have a few questions concerning reading of tables from R to
other programs. My main question is if itâs even possible to read a table
created in R (with the functions data.frame and save) to Excel (or
maybe SAS) and if so how does one do this? If I just mark the
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Save your table in a text file ( see ?write.table ) with the separator
set to \t ; you can then import it into excel
for the nb of digits use
options(digits=3)
see ?options
Anne
2005/8/19, Fredrik Thuring [EMAIL PROTECTED]:
Hi!
I have a few questions concerning reading
Le 19.08.2005 11:22, Anne a écrit :
Save your table in a text file ( see ?write.table ) with the separator
set to \t ; you can then import it into excel
for the nb of digits use
options(digits=3)
see ?options
Hello,
And if you run R on windows (just a guess because you didn't
Lukasz Komsta luke at novum.am.lublin.pl writes:
I need to compute zero of polynomial function fitted by lm. For example
if I fit cubic equation by fit=lm(y~x+I(x^2)+i(x^3)) I can do it simply
by polyroot(fit$coefficients). But, if I fit polynomial of higher order
and optimize it by
On Fri, 19 Aug 2005, Romain Francois wrote:
Le 19.08.2005 11:22, Anne a écrit :
Save your table in a text file ( see ?write.table ) with the separator
set to \t ; you can then import it into excel
for the nb of digits use
options(digits=3)
Only for printing in R: see below for other
I don't have Pinheiro and Bates handy, but as I recall, it's somthing
like chapter 3. See simulate.lme in package nlme; with luck, it will
also be in the index to Pinheiro and Bates. If not, it's still not hard
to find. Their chapter on this includes some marvelous figures
Gabor Grothendieck [EMAIL PROTECTED] writes:
Its expm.
Doh. I had even looked up its help page...
On 8/17/05, Spencer Graves [EMAIL PROTECTED] wrote:
Hi, Peter:
I couldn't find mexp in the Matrix package, but I did find it in
fMultivar and in Lindsey's rmutil. These are
Hello,
I would like make a plot with a legend. How can I take the legend
outside of the plot frame?
Greetings, Sven Knüppel (Berlin, Germany)
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
Hi
I am looking at getting a PC preinstalled with Windows XP x64. What I
want to know is, has anyone successfully compiled a version of R for
64-bit Windows (Amd64 - not Itanium), and if so did they find any
performance boost?
Thanks
__
Hi there,
This is summary and patch for a bug in read.dbf, demonstrating in
Message-Id: [EMAIL PROTECTED].
After consulting Rjpwiki, a cyber-community of R user in Japan, the
cause was found, and the patch of solution was proposed.
Overflowing occurs when we use read.dbf for reading a dbf
Hi,
I'm in dire need of a fast fourier transformation for me stupid biologist,
i.e. I have a heartbeat signal and would like to decompose it into pure sin
waves, getting three vectors, one containing the frequencies of the sin
waves, one the magnitudes and one the phases (that's what I get
[EMAIL PROTECTED] wrote:
Hello,
I would like make a plot with a legend. How can I take the legend
outside of the plot frame?
Use par(xpd = .)
See ?par for details.
Uwe Ligges
Greetings, Sven Knüppel (Berlin, Germany)
On Thu, 2005-08-18 at 18:19 +0200, [EMAIL PROTECTED] wrote:
Hello,
I would like make a plot with a legend. How can I take the legend
outside of the plot frame?
Does this do what you want?
## change the plotting parameters and store defaults
## mar sets 2 more lines in the margin than
On Fri, 19 Aug 2005, Prof Brian Ripley wrote:
On Fri, 19 Aug 2005, Romain Francois wrote:
Le 19.08.2005 11:22, Anne a écrit :
Save your table in a text file ( see ?write.table ) with the separator
set to \t ; you can then import it into excel
for the nb of digits use
options(digits=3)
Göran Broström [EMAIL PROTECTED] writes:
I have a problem with some functions handling dates, in packages 'date' and
'survival' (they seem to be identical). For instance, from the documentation,
mdy.date {survival}
R Documentation
Convert to Julian Dates
Wolfgang Waser [EMAIL PROTECTED] writes:
Hi,
I'm in dire need of a fast fourier transformation for me stupid biologist,
i.e. I have a heartbeat signal and would like to decompose it into pure sin
waves, getting three vectors, one containing the frequencies of the sin
waves, one the
Hello,
I have a small problem with developing design matrix X, which I use in
estimation the log-likelihood of a multinomial logit model.
I have the data:
number of observation - 289
number of choice alternative- 3
number of choice specific variables in matrix X -4
matrix X =289x4
There is no head.ts and x[1:10,] has the side effect of converting
it from class ts to class matrix. Use window
window(x, end = start(x)[1]+10)
instead or use
head(as.zoo(x))
since there is a head.zoo in the 'zoo' package.
On 8/19/05, Ajay Narottam Shah [EMAIL PROTECTED] wrote:
When
On Fri, Aug 19, 2005 at 01:35:45PM +0200, Peter Dalgaard wrote:
Göran Broström [EMAIL PROTECTED] writes:
I have a problem with some functions handling dates, in packages 'date' and
'survival' (they seem to be identical). For instance, from the
documentation,
Dear sir;
may you drop me some idea how can i get rid of following error message:
Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1)
i dont know what does nmeth and ther rest of error message mean? i have
a file which contains 460 rows and 174 columns including missing value
Mostafa Ghaderi mostafa.ghaderi at inw.agrl.ethz.ch writes:
may you drop me some idea how can i get rid of following error message:
Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1)
i dont know what does nmeth and ther rest of error message mean? i have
a file which
On Fri, 19 Aug 2005, Mostafa Ghaderi wrote:
may you drop me some idea how can i get rid of following error message:
Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1)
i dont know what does nmeth and ther rest of error message mean? i have
a file which contains 460 rows and
On 8/18/05, François Morneau [EMAIL PROTECTED] wrote:
Hello,
I want to fit a Gompertz model for tree diameter growth that depends on a 4
levels edaphic factor ('Drain') and I don't manage to introduce the factor
variable in the formula.
Dinc is the annual diameter increment and D is the
On Fri, 2005-08-19 at 09:59 -0400, White, Charles E WRAIR-Wash DC wrote:
R is included in Fedora Extras. You can skip downloading Extras and
updating the packages on the CD by using:
yum index | grep R
and installing the half dozen or so individual packages that will be
listed. The
one \ where I need it. See example code
below. I am using R 2.1.0, but plan to upgrade soon. Thanks in
advance to anyone who can help.
Roger
rankPath - R:\New Ranks\SMC\SMC
rankDate - 20050819
rankFile - paste(rankPath,rankDate,.xls, sep
or
none, I can't get just one \ where I need it. See example code
below. I am using R 2.1.0, but plan to upgrade soon. Thanks in
advance to anyone who can help.
Roger
rankPath - R:\New Ranks\SMC\SMC
rankDate - 20050819
rankFile
or
none, I can't get just one \ where I need it. See example code
below. I am using R 2.1.0, but plan to upgrade soon. Thanks in
advance to anyone who can help.
Roger
rankPath - R:\New Ranks\SMC\SMC
rankDate - 20050819
first example, with an outer paste() for the suffix:
paste(file.path(R:, New Ranks, SMC, SMC, 20050819), .xls, sep=)
[1] R:/New Ranks/SMC/SMC/20050819.xls
Hth, Dirk
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
, but feel free to try it with any excel
file you may have. Here is the R output.
rankFile - paste(R:\\New Ranks\\SMC\\SMC\\,rankDate,.xls, sep=)
rankFile
[1] R:\\New Ranks\\SMC\\SMC\\20050819.xls
xls - odbcConnectExcel(rankFile)
Warning messages:
1: [RODBC] ERROR: Could not SQLDriverConnect
2: ODBC
Sometimes even the easy stuff is difficult (for me)... I want to get
input from different places to paste together an excel filename (so
you know I'm using windows) that I can open with RODBC. I know about
Using file.path() might be an easier solution for this (and it will allow
your code to
file you may have. Here is the R output.
rankFile - paste(R:\\New Ranks\\SMC\\SMC\\,rankDate,.xls, sep=)
rankFile
[1] R:\\New Ranks\\SMC\\SMC\\20050819.xls
xls - odbcConnectExcel(rankFile)
Warning messages:
1: [RODBC] ERROR: Could not SQLDriverConnect
2: ODBC connection failed
)
xls
You won't have my filename, but feel free to try it with any excel
file you may have. Here is the R output.
rankFile - paste(R:\\New Ranks\\SMC\\SMC\\,rankDate,.xls, sep=)
rankFile
[1] R:\\New Ranks\\SMC\\SMC\\20050819.xls
xls - odbcConnectExcel(rankFile
Hi people,
I'm developing an application (in Linux) using tcltk and calling ggobi from that
application (using the Rggobi package). After I load ggobi and want to use the
windows made by tcltk I get some errors and sometimes R cracks. I believe the
problem is because the packages Rggobi, RGtk and
On Fri, 2005-08-19 at 11:07 -0400, White, Charles E WRAIR-Wash DC wrote:
-Original Message-
On Fri, 8/19, Gavin Simpson wrote:
Peter Dalgaard has noted, on the R-Devel list (sorry I can't provide the
link to the mail - the link from the R site to the mail archives wasn't
working when
On Fri, 19 Aug 2005, Fredrik Thuring wrote:
I have a few questions concerning reading of tables from R to
other programs. My main question is if it???s even possible to read a table
created in R (with the functions data.frame and save) to Excel (or
maybe SAS) and if so how does one do
It really isn't clear that this is correct. The reason is correct:
read.dbf treats numeric files with no decimals as integers, and that _is_
as stated on the help page. So it is definitely not a `bug', and reading
the help would have shown the reason for the original question.
[I in general
On Fri, 19 Aug 2005, [iso-8859-1] G?ran Brostr?m wrote:
Similar strange results appear in other date-related functions. I plan to
write functions that converts, eg, 1977-01-31 to the real number 1977.084
and back. What function in R does what 'mdy.date' claims to do?
Well, mdy.date does
Talita Perciano Costa Leite wrote:
Hi people,
I'm developing an application (in Linux) using tcltk and calling ggobi from
that
application (using the Rggobi package). After I load ggobi and want to use the
windows made by tcltk I get some errors and sometimes R cracks. I believe the
On 8/17/05, Shige Song [EMAIL PROTECTED] wrote:
Dear All,
With kind help from several friends on the list, I am getting close.
Now here are something interesting I just realized: for random
effects, lmer reports standard deviation instead of standard error! Is
there a hidden option that
Hi,
I am trying to compile R-2.1.1 on Solaris10, with the Studio10 compilers.
When I try to compile 64bit with
CFLAGS=-xarch=amd64
export CFLAGS
I get a configure failure on
checking for rl_callback_read_char in -lreadline... no
checking for history_truncate_file... no
configure: error:
On Fri, 19 Aug 2005, Uwe Ligges wrote:
Talita Perciano Costa Leite wrote:
Hi people,
I'm developing an application (in Linux) using tcltk and calling ggobi
from that application (using the Rggobi package). After I load ggobi
and want to use the windows made by tcltk I get some errors and
On Thu, 18 Aug 2005, Alastair Cooper wrote:
I am looking at getting a PC preinstalled with Windows XP x64. What I
want to know is, has anyone successfully compiled a version of R for
64-bit Windows (Amd64 - not Itanium), and if so did they find any
performance boost?
Hmm, where do you get a
Folks:
(Basically a non-R question).
Is there any (simple) OS independent way for (the latest version of) R to
determine the physical dimensions in pixels of the current display device?
Failing that, (how) can this be done for Windows (XP or 2000, say) ?
Thanks.
-- Bert Gunter
Genentech
The screen devices are not platform independent, so I guess not.
The height and width arguments for windows() is in physical inches, and the
ypinch and xpinch specify pixels per inch, according to ?windows.
Andy
From: Berton Gunter
Folks:
(Basically a non-R question).
Is there any
Le 11:12 19/08/2005,Douglas Bates écrit:
On 8/18/05, François Morneau [EMAIL PROTECTED] wrote:
Hello,
I want to fit a Gompertz model for tree diameter growth that depends on a 4
levels edaphic factor ('Drain') and I don't manage to introduce the factor
variable in the formula.
Dinc is
=)
rankFile
[1] R:\\New Ranks\\SMC\\SMC\\20050819.xls
xls - odbcConnectExcel(rankFile)
Warning messages:
1: [RODBC] ERROR: Could not SQLDriverConnect
2: ODBC connection failed in: odbcDriverConnect(con)
xls
[1] -1
rankFile - R:\New Ranks\SMC\SMC\20050818.xls
rankFile
[1] R:New RanksSMCSMC¬50818.xls
Berton Gunter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Failing that, (how) can this be done for Windows (XP or 2000, say) ?
Take a look at the Windows GetDeviceCaps API call
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/devcons_88s3.asp
Parameters that
I am using R version 1.9.1 under Linux.
In the past I have had no problem saving a multi-plot page to a postscript
or png device. However, the last time I did this may have been under a
previous version of R. Presently nothing I do seems to succeed in saving
multi-plots, defined (for example)
Thank you very much, I did try your simple C program and it works
without any problem. I even tried some more sophisticated examples,
and they all print out nan instead of a segfault.
My computer has a Pentium 4 CPU, and I compiled R with the following
flags (these are just my default compiler
Short course: Statistical Learning and Data Mining II:
tools for tall and wide data
Trevor Hastie and Robert Tibshirani, Stanford University
The Conference Center at Harvard Medical School
Boston, MA,
Oct 31-Nov 1, 2005
This is a *new* two-day course on statistical models
for
I just found out that I can do:
x - 0/0
in my R without any problem, it is only when I was trying to print
the value of x by simply type x and return, R crashed with a sigh of
segfault This is so wierd. I will try to report it to the Gentoo
forum and see if any other gentoo user has the
Xing Qiu [EMAIL PROTECTED] writes:
Thank you very much, I did try your simple C program and it works
without any problem. I even tried some more sophisticated examples,
and they all print out nan instead of a segfault.
My computer has a Pentium 4 CPU, and I compiled R with the following
I don't run R on Linux but my first suggestion would be to download the
latest version of R and if you still observe the problem post a new thread
with specific code examples.
Cheers
Francisco
From: Karen L. Updegraff [EMAIL PROTECTED]
Reply-To: Karen L. Updegraff [EMAIL PROTECTED]
To:
On Fri, 19 Aug 2005, Vin Everett wrote:
I am trying to compile R-2.1.1 on Solaris10, with the Studio10 compilers.
When I try to compile 64bit with
CFLAGS=-xarch=amd64
export CFLAGS
I get a configure failure on
checking for rl_callback_read_char in -lreadline... no
checking for
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Good day:
I'm administering 6 linux systems (FC4) in a student lab and worry that
users may want packages that are not installed. I get tired of adding
them one by one. Then I happened upon this page
http://support.stat.ucla.edu/view.php?supportid=30
about installing all R packages from
On Friday 19 August 2005 11:54, Sean O'Riordain wrote:
Hi,
I'm not sure what you actually want from your email (following the
posting guide is a good way of helping you explain things to the rest
of us in a way we understand - it might even answer your question!
I'm only a beginner at R so
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
On Thu, 2005-08-18 at 17:30 -0500, Paul Roebuck wrote:
On Thu, 18 Aug 2005, Ross Boylan wrote:
setClass(B, representation=representation(B, extra=numeric))
setClass(B, representation=representation(extra=numeric),
contains=B)
Are these the same? If not, how do they differ?
What
On 8/19/05, François Morneau [EMAIL PROTECTED] wrote:
Le 11:12 19/08/2005,Douglas Bates écrit:
On 8/18/05, François Morneau [EMAIL PROTECTED] wrote:
Hello,
I want to fit a Gompertz model for tree diameter growth that depends on a
4
levels edaphic factor ('Drain') and I don't
You can also provide the users with the option to add/update their own
packages locally via install- and update.packages(). Here's a piece of
bash code that sets R_LIBS for to a OS specific directory in the users
account. Add it to the system wide startup script.
if test ${R_LIBS} = ; then
I tend to prefer doing graphics in R using the lattice library. I'm
porting some old scripts. Is there a nice way to get in lattice the
equivalent of the plot(type='h'), which is the high-density
lines/histogram plot in base graphics package? I tried doing this
with barchart(), but with limited
On 08/19/05 16:23, Paul Johnson wrote:
Good day:
I'm administering 6 linux systems (FC4) in a student lab and worry that
users may want packages that are not installed. I get tired of adding
them one by one. Then I happened upon this page
I fit the following model using glmmPQL from MASS:
fit.glmmPQL -
glmmPQL(ifelse(class==Disease,1,0)~age+x1+x2,random=~1|subject,family=binomial)
summary(fit.glmmPQL)
The response is paired (pairing denoted by subject), although some
subjects only have one response. Also, there is a perfect
This is based on the pre-2.1.0 ideas. Try
update.packages(ask=FALSE)
install.packages(new.packages(), dependencies=TRUE)
However, I would suggest that you set up each student with a library, say
~/R/library, and point R_LIBS at it (set in Renviron.site). That's what
we do for Windows, and it
74 matches
Mail list logo