Michael [EMAIL PROTECTED] writes:
Hi all,
Why cov(y, y) only gives one value, and cov(t(y), t(y)) gives 3x3 NA matrix?
Here my y is listed below and it is a 3x1 matrix.
I am expecting that if I have a random vector y=[y1 y2 y3]', here '
denotes a transposition so that
y is a
michael watson (IAH-C) wrote:
Hi Sean
Thanks for the help, but I really wanted to do this in R :)
Not sure whether it works for your example, but perhaps you will find
Klimt useful:
http://stats.math.uni-augsburg.de/Klimt/
Uwe Ligges
Any suggestions?
Mick
I have collected the following data before and after a treatment for a
number of sites:
Before TreatmentAfter Treatment
Casesuccess failure success failure
1 nbs1nbf1nas1naf1
2 nbs2nbf2
Hi,
I've been slowly transitioning to saving sets of objects for a project
using save() rather than cluttering my workspace and then doing
save.image()
However, sometimes after I have done say:
save(x,y,z, file='work.Rda')
and I reload it a little later and I see that I also want to save
look at ?mcnemar.test(); I hope it helps.
Best,
Dimitris
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven
Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web:
Hi Pete,
Thanks for your help! But I don't understand your answer... could you please
elaborate more?
thanks,
M
On 10 Mar 2006 09:32:12 +0100, Peter Dalgaard [EMAIL PROTECTED]
wrote:
Michael [EMAIL PROTECTED] writes:
Hi all,
Why cov(y, y) only gives one value, and cov(t(y), t(y))
On Fri, 10 Mar 2006, Rajarshi Guha wrote:
Hi,
I've been slowly transitioning to saving sets of objects for a project
using save() rather than cluttering my workspace and then doing
save.image()
However, sometimes after I have done say:
save(x,y,z, file='work.Rda')
and I reload it a
Hi,
Can anyone please advise if there is a neat way to 'share' libraries of
(previously developed) S+ code with R?
Specifically, within S+ I can use the attach(what = Chapter Directory,
pos = 2) command, to retrieve previously developed functions and variables
to position 2 in the search list.
Dear All,
I couldn't figure and couldn't google out how to make construct a pair of
\Sexpr s or a LaTeX macro that would include
5\cdot 10^{-12}
into the LaTeX output istead of
5e-12 .
Any ideas?
Thank you
Gábor
__
On Fri, 2006-03-10 at 03:46 -0500, Rajarshi Guha wrote:
Hi,
I've been slowly transitioning to saving sets of objects for a project
using save() rather than cluttering my workspace and then doing
save.image()
However, sometimes after I have done say:
save(x,y,z, file='work.Rda')
and
Hello there,
I had been learning to use R for some time and I am trying to install it
on Ubuntu 5.04 Linux. I downloaded the tarball, there was some problem
with the installation. Perhaps someone who faced similar problems might
help me.
I downloaded the latest release R Version 2.2.1 from
Hi
I am using R 2.2.0 under SuSE 10
I want to use lm() to get the slope and intercept for several daatasets
and store them in a database. So far so good - but how do I extract the
slope and the intercept from the result from lm()?
my code looks like this:
lmNNDens - lm(log(DensNN$MeanNN) ~
Hi R Users,
I don't know how much is difficult my problem and even it is possible to
solve in R or not.
Given a vector with 2000 observations. I want to creat a new vector from
that vector so that new vector be the sum of every 5 observations sequently.
That is , each new
How about some variation on the following:
x - 5e-12
xc - as.character(x)
xss-strsplit(xc, )
paste($,xss[1],\cdot ^{,xss[3],xss[4], xss[5],}$, sep = )
[1] $5cdot ^{-12}$
untried, of course, but maybe you could squeeze something out of it.
*
Dear All,
I couldn't
Am 10 Mar 2006 um 12:17 hat Rainer M Krug geschrieben:
Hi
I am using R 2.2.0 under SuSE 10
I want to use lm() to get the slope and intercept for several
daatasets and store them in a database. So far so good - but how do I
extract the slope and the intercept from the result from lm()?
Oops,
the third line should have been:
xss-unlist(strsplit(xc,))
to get that output but I'm missing something about escaping the backslash,
since
it's missing and when I double it, it doubles. I think that there has
been some
discussion about this on the list, if you look it up.
Amir Safari [EMAIL PROTECTED] writes:
Hi R Users, I don't know how much is difficult my problem and
even it is possible to solve in R or not. Given a vector with 2000
observations. I want to creat a new vector from that vector so
that new vector be the sum of every 5
you may try something along these lines:
num2Latex - function (x, digits = 0) {
op - options(scipen = -digits)
on.exit(options(op))
x - as.character(x)
ind - grep(e, x)
x[ind] - sapply(strsplit(x[ind], e), function(s) paste(s[1],
e, as.numeric(s[2]), sep = ))
x[ind] -
Dear R people,
I want to use the tune.nnet function of e1071 package to tune nnet .
I am unable to understand the parameters of tune.nnet from the e1071 pdf
document.
I have performed nnet on a traindata and want to test it for class
prediction with a testdata.
I want to know the values of
Hi,
I hope the following code helps.
Best,
Roland
## creating example data
xx - 1:30
yy - 3 + 2*xx + rnorm(length(xx), mean=0, sd=2)
plot(xx,yy) # looks reasonable
## the 'lm'
mymodel - lm(yy~xx)
summary(mymodel) # just looking at the results
## extracting intercept and slope:
coef(lmNNDens)[1]
?coef
Rainer M Krug wrote:
Hi
I am using R 2.2.0 under SuSE 10
I want to use lm() to get the slope and intercept for several daatasets
and store them in a database. So far so good - but how do I extract the
slope and the intercept from the result from lm()?
my
Rainer M Krug wrote:
I want to use lm() to get the slope and intercept for several daatasets
and store them in a database. So far so good - but how do I extract the
slope and the intercept from the result from lm()?
Read the help for lm - it talks about coefficients rather than slope
and
You have to install Xserver (x.org or XFree86) devel packages before
compiling.
On Piektdiena, 10. Marts 2006 17:31, M Senthil Kumar wrote:
Hello there,
I had been learning to use R for some time and I am trying to install it
on Ubuntu 5.04 Linux. I downloaded the tarball, there was some
BORGULYA Gábor borgulya at gyer2.sote.hu writes:
I couldn't figure and couldn't google out how to make construct a pair of
\Sexpr s or a LaTeX macro that would include
5\cdot 10^{-12}
into the LaTeX output istead of
5e-12 .
a =1.3452e-12
asp =
Dear all,
This message is a kind of 'to be continued...' for that send by /Yu-An
Dong,/ [BioC] problems with GO package data
https://stat.ethz.ch/pipermail/bioconductor/2006-February/011760.html,
last february.
I've just installed R 2.2.1 on my computer (Windows based version) and
Dear all,
Is it dangerous to use step() during model simplification when I have an
ANOVA design that is unbalanced (i.e. there is order dependence when
entering the terms into the full model)?
Thanks very much for your help!
Kind regards,
Christoph
Another flexible approach is to zip/tar all the required individual .rda
files together. There are two advantages that I see :
1) You can extract a single file from the collection if you want.
2) You can easily list what objects are in the zipped/tarred file.
In R you have to load all object
On Fri, 10 Mar 2006, Andris Jankevics wrote:
|You have to install Xserver (x.org or XFree86) devel packages before
|compiling.
|
Hi,
Although, I don't remember which package i had installed, I remember
installing some X developer packages using apt-get earlier when ./config
itself had
Hello.
I have grown accustomed to the .Data directory in S-Plus and so when
I came to R I continued that behaviour by saving my workspaces at
the end of each R session. So, I have saved workspaces in various
directories where I have used R just as I would have had various
.Data directories where
Try this:
x - 1:20
c(rowsum(x, gl(length(x), 5, length(x)))
If the length of x is not a mulitple of 5 there will be a stub at the
end containing the sum of less than 5 elements.
On 3/10/06, Amir Safari [EMAIL PROTECTED] wrote:
Hi R Users,
I don't know how much is difficult my problem
I never tried opening more than one instance of Rgui, but when I wanted to
run two jobs at the same time on one Win XP PC, I would run one in Rgui and
one in Rterm and I have never had a problem with that setup. As above, when
I close my R session, I always say no to the save question.
HTH,
I use emacs and ESS to develop the scripts. The new releases of R has
the script function already in built.
Typically I keep all the data and scripts related to a project in its
own folder, so I have minimal worry about paths.
To save large and associated objects, I use
save(x, y, z,
On 10 March 2006 at 09:19, M Senthil Kumar wrote:
| On Fri, 10 Mar 2006, Andris Jankevics wrote:
| |You have to install Xserver (x.org or XFree86) devel packages before
| |compiling.
|
| Although, I don't remember which package i had installed, I remember
| installing some X developer packages
Other than Emacs, I use the same work habits as Adai. An advantage of
this workflow is that almost everything is stored in text format, so it
is easy to compare different versions to see what has changed, and it
works very well with version control (I use Subversion).
The only thing I'd add
On Fri, 10 Mar 2006, Dirk Eddelbuettel wrote:
|
|On 10 March 2006 at 09:19, M Senthil Kumar wrote:
|| On Fri, 10 Mar 2006, Andris Jankevics wrote:
|| |You have to install Xserver (x.org or XFree86) devel packages before
|| |compiling.
||
|| Although, I don't remember which package i had installed,
Thanks Adai. A couple questions/comments about this.
Adaikalavan Ramasamy wrote:
I use emacs and ESS to develop the scripts. The new releases of R has
the script function already in built.
I use emacs and ESS too (in Linux). I do not know about the script
function you mention. It's not in
Dear all,
There is something I'm missing in order to understand the following behavior:
aa - c(test, name)
ifelse(any(nchar(aa) 3), aa[-which(nchar(aa) 3)], aa)
[1] test
any(nchar(aa) 3)
[1] FALSE
Shouldn't the ifelse function return the whole aa vector?
Using if and else separately, I
I
On 3/10/06 8:33 AM, Duncan Murdoch [EMAIL PROTECTED] wrote:
Other than Emacs, I use the same work habits as Adai. An advantage of
this workflow is that almost everything is stored in text format, so it
is easy to compare different versions to see what has changed, and it
works very well
Hi:
I'm trying to plot dates on the x-axis of a code, but the legend is not being
displayed. I receive the following error:
Error in match.arg(x, c(bottomright, bottom, bottomleft, left, :
'arg' should be one of bottomright, bottom, bottomleft, left,
topleft, top, topright, right,
Adrian DUSA wrote:
Dear all,
There is something I'm missing in order to understand the following behavior:
aa - c(test, name)
ifelse(any(nchar(aa) 3), aa[-which(nchar(aa) 3)], aa)
[1] test
any(nchar(aa) 3)
[1] FALSE
Shouldn't the ifelse function return the whole aa vector?
On Friday 10 March 2006 16:31, Uwe Ligges wrote:
[...]
aa[!(nchar(aa) 3)]
Thanks very much, I got it now.
All the best,
Adrian
--
Adrian DUSA
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101
The argument to legend should be of class date, not character.
Also please post reproducible code including definitions of all
variables used and library calls.
On 3/10/06, Bryan Sykes [EMAIL PROTECTED] wrote:
Hi:
I'm trying to plot dates on the x-axis of a code, but the legend is not being
Hi
Why plot.date? I wonder if plot() did not work too.
Did not you get error with as.date? Probably as.Date was intended and
formating forgotten.
Legend requires some positioning from user's side and you can use
either
legend(xposition, yposition, legend=whatever you want to put here,
)
Hi
I have a list that has attributes:
attributes(lis[2])
$names
[1] 150096_at
I want to use those attributes in a function and then use lapply to
apply that function to every element of the list, eg for simplicity's
sake:
my.fun - function(x) {
attributes(x)
}
Then
l2 - lapply(lis,
A lot of programming style are personal choices and as such varies from
individual to individual. See my comments below.
On Fri, 2006-03-10 at 09:01 -0500, Kevin E. Thorpe wrote:
Thanks Adai. A couple questions/comments about this.
Adaikalavan Ramasamy wrote:
I use emacs and ESS to develop
Dear statistics experts,
I'm looking for a way to compare the fit of the following three models:
LinModel - lm(y ~ x)
LogModel - nls(y ~ SSlogis(x, Asym, xmid, scal))
PotModel - nls(y ~ a * x^n, start=list(a=1, n=1))
I am only interested in whether one of these models has substantial advances
Hi,
michael watson (IAH-C) [EMAIL PROTECTED] writes:
I have a list that has attributes:
attributes(lis[2])
$names
[1] 150096_at
I want to use those attributes in a function and then use lapply to
apply that function to every element of the list, eg for simplicity's
sake:
my.fun -
michael watson (IAH-C) wrote:
Hi
I have a list that has attributes:
attributes(lis[2])
$names
[1] 150096_at
Here you get the attributes of lis, while you will get the attributes
of the *elements* of lis when applying the functions below, the lattes
is comparable with
Olivier BUHARD [EMAIL PROTECTED] writes:
This message is a kind of 'to be continued...' for that send by /Yu-An
Dong,/ [BioC] problems with GO package data
https://stat.ethz.ch/pipermail/bioconductor/2006-February/011760.html,
last february.
And the discussion has moved to the
yes sorry at the very least i should have mentioned this
is on OSX.
regards,
mark+ \ ucsf
On Mar 10, 2006, at 5:14 AM, roger bos wrote:
I never tried opening more than one instance of Rgui, but when I
wanted to run two jobs at the same time on one Win XP PC, I would run
one in Rgui and
Hi,
I believe configure was not finding tk.h, because tk-devel rpm was not
available on the given host. Thanks Erik and Peter for the suggestions
on checking tk.h and stdout of ./configure.
Just one further question for Peter
Well, the package is there, as a stub to tell you that it doesn't
I'd like to do a simple one-way ANOVA comparing the means of 6
groups. But it seems like the only way to do an ANOVA in R is to
specify some sort of model, where there is an outcome or dependent
variable that is a function of independent variables (linear model).
But I don't have a
Hi to all,
I initiate in R - Linux and I've some problems to find an editor with R
interface as like RWinEdt for WinEdt.
Anyone know one?
Thanks in advance for your kind cooperation.
Best regards
Atenciosamente
Ana Patricia Martins
---
Serviço
Suppose you have 6 groups (A, B, C, D, E, F) and you measured the weight
of 5 individuals from each group. Therefore you have 30 weight
observations in total.
You wish to test if the mean of the response variable is different for
each of the groups.
[ i.e. the null hypothesis is that all 6
emacs + ess
Shige
On 3/11/06, Ana Patricia Martins [EMAIL PROTECTED] wrote:
Hi to all,
I initiate in R - Linux and I've some problems to find an editor with R
interface as like RWinEdt for WinEdt.
Anyone know one?
Thanks in advance for your kind cooperation.
Best regards
Check out:
http://www.sciviews.org/_rgui/projects/Editors.html
http://ess.r-project.org
On 3/10/06, Ana Patricia Martins [EMAIL PROTECTED] wrote:
Hi to all,
I initiate in R - Linux and I've some problems to find an editor with R
interface as like RWinEdt for WinEdt.
Anyone know one?
Ana,
On Friday 10 March 2006 08:52, Ana Patricia Martins wrote:
Hi to all,
I initiate in R - Linux and I've some problems to find an editor with
R interface as like RWinEdt for WinEdt.
Anyone know one?
I believe Kile would be the closest counterpart, especially if you're
interested in the
Hi,
I initiate in R - Linux and I've some problems to find an
editor with R
interface as like RWinEdt for WinEdt.
Anyone know one?
a good interface, for sure, is Emacs[1] (or XEmacs[2]) in conjunction
with ESS[3]. The problem is, however, that it takes a while and some
commitment to get
Is anyone using vi for R?
I use vim (actually gvim) on Windows XP. It has syntax highlighting
for R, tex and many other formats.
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
What about Tinn-R?
www.sciviews.org (but the correct link is the R site)
It's free and with a lot of interesting features.
Afaik, no latex and for windows only.
I'll spend some hours to get used to *emacs though...it'll pay off!!
My 2 cents
Stefano
On Fri, Mar 10, 2006 at 06:17:18PM +0100,
Thanks to all for your help, especially to Adaikalavan for his
excellent and concise response. The key (for me) was realizing that
the one variable that I am measuring is the dependent variable, and
the groups are the independent variable. The model can then be
easily represented in R
Never used that, but go to your bin folder and see if you see both Rgui.exeand
Rterm.exe. If so, you can definitely use that method.
HTH,
Roger
On 3/10/06, mark garey [EMAIL PROTECTED] wrote:
yes sorry at the very least i should have mentioned this
is on OSX.
regards,
mark+ \ ucsf
On Fri, 2006-03-10 at 09:03 -0800, Randall R Schulz wrote:
Ana,
On Friday 10 March 2006 08:52, Ana Patricia Martins wrote:
Hi to all,
I initiate in R - Linux and I've some problems to find an editor with
R interface as like RWinEdt for WinEdt.
Anyone know one?
I believe Kile
Although this should be trivial, I'm having a spot of trouble.
I want to make a lattice plot of the format y1+y2 ~ x | grp but then fit a
lm to each y variable and add an abline of those models in different colors.
If the xyplot followed y~x|grp I would write a panel function as below, but
I'm
On Fri, 10 Mar 2006, mark garey wrote:
yes sorry at the very least i should have mentioned this
is on OSX.
Yes, but the real question is what you mean by a 2nd R console. I
guessed that you meant a second console for the same workspace, Brian
Ripley guessed that you meant another instance
Also, are you familiar with Bernhard Pfaff (2006) Analysis of
Integrated and Cointegrated Time Series with R (Springer) and the
companion urca package (www.pfaffikus.de)? I have not used them, but
my cursory review suggests they might do what you want.
hope this helps.
zoo has the yearmon class which will convert a date to a year +
0/12 to 11/12 to represent the month, disregarding the day, so:
library(zoo)
12 * as.numeric((as.yearmon(2006-03-07) - as.yearmon(2006-02-06))) # 1
On 3/10/06, Smith, Phil [EMAIL PROTECTED] wrote:
Hi R-people:
I need a function
Hi R-people:
I need a function to compute the number of months between 2 dates, in the same
way a mother would do it.
For example, if a kid is born on February 6, the number of months between that
date and March 7 is exactly 1 month, although it is only 29 days.
Thank you!
Phil Smith
CDC
Sean Davis wrote:
On 3/10/06 8:33 AM, Duncan Murdoch [EMAIL PROTECTED] wrote:
Other than Emacs, I use the same work habits as Adai. An advantage of
this workflow is that almost everything is stored in text format, so it
is easy to compare different versions to see what has changed, and it
On 3/10/06 1:53 PM, Kevin E. Thorpe [EMAIL PROTECTED] wrote:
Sean Davis wrote:
On 3/10/06 8:33 AM, Duncan Murdoch [EMAIL PROTECTED] wrote:
Other than Emacs, I use the same work habits as Adai. An advantage of
this workflow is that almost everything is stored in text format, so it
Please re-read the entire message I sent you yesterday as it already
answered this question. (Hint: The answer is in the R FAQ too.)
I couldn't find anything on the R FAQ's mentioning Debian
specifically. And a simple search for 'upgrade' in the FAQ also
turned up nothing. I even used Google
On 3/10/2006 1:53 PM, Kevin E. Thorpe wrote:
Sean Davis wrote:
On 3/10/06 8:33 AM, Duncan Murdoch [EMAIL PROTECTED] wrote:
Other than Emacs, I use the same work habits as Adai. An advantage of
this workflow is that almost everything is stored in text format, so it
is easy to compare
On Fri, 10 Mar 2006, Adaikalavan Ramasamy wrote:
The attach function appears to have two functions now :
Since R 1.1.0, in fact.
a) attach(lala.rda) loads objects from lala.rda into the search path
b) attach(obj) makes the named columns of a dataframe or list available
in the search path.
thanks a lot!
[[alternative HTML version deleted]]
__
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
1. Try this at the R prompt: RSiteSearch(mars, restrict=functions)
2. I know of no publicly available implementation of PRIM.
3. Please put your question in the _body_ of the message.
Andy
From: Michael
thanks a lot!
[[alternative HTML version deleted]]
On Fri, 2006-03-10 at 11:57 -0800, Michael wrote:
thanks a lot!
[[alternative HTML version deleted]]
mars() in package mda
can't find PRIM. This list posting didn't appear to get an answer:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/71239.html
which might suggest that this
Hi, List,
I am using function 'cph' in package 'Design'. I have run into this error
message but could not find documentation after looking for a long time.
Could someone help me out? What kind of problem it is in my data set and
how to fix it?
Thanks a lot!
Auston
Error in fitter(X, Y,
Gabor, please correct me if I am wrong but shouldn't you use as.Date to
change the date string to a Date class before you call as.yearmon? i.e.
12*
as.numeric(as.yearmon(as.Date(2006-03-07))-as.yearmon(as.Date(2006-02-07)))
That returns 1 in Windows XP
Regards
Francisco
From: Gabor
Hi,
I have the following dataframe. The County Column has many empty spaces
at the end.
I want to cut out the empty space and put them back into the dataframe.
How can this be done?
head(DailyCounty)
Date County GFCPer GFCEquip Acre nFires
Date2
1 2001-01-04
I just solved this for dealing with deliverables for the CBOT's treasury
futures.
length(seq(from=x, to=y, by=months))-1
David L. Reiner
-Original Message-
From: [EMAIL PROTECTED] [mailto:r-help-
[EMAIL PROTECTED] On Behalf Of Smith, Phil
Sent: Friday, March 10, 2006 12:20 PM
Dan Chan wrote:
Hi,
I have the following dataframe. The County Column has many empty spaces
at the end.
I want to cut out the empty space and put them back into the dataframe.
How can this be done?
head(DailyCounty)
Date County GFCPer GFCEquip
RSiteSearch(trim) or RSiteSearch(trim space) will get you there.
Francisco
From: Dan Chan [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Subject: [R] trimming a factor
Date: Fri, 10 Mar 2006 15:52:03 -0500
Hi,
I have the following dataframe. The County Column has many empty spaces
at the end.
On 3/10/06, Andy Bunn [EMAIL PROTECTED] wrote:
Although this should be trivial, I'm having a spot of trouble.
I want to make a lattice plot of the format y1+y2 ~ x | grp but then fit a
lm to each y variable and add an abline of those models in different colors.
If the xyplot followed y~x|grp
On Thursday 09 March 2006 06:12 pm, Dylan Beaudette wrote:
Greetings,
I have perused the r-help mailing list archives for an answer to this
question, without avail.
I would like to color the leaves of a dendrogram plot based on a cutoff
in one of the variables involved in the initial
When I run some large optimizations in R under Windows it puts a heavy
load on the CPU, which makes other applications that run at the same
time very slow. Is it possible to instruct R to be less aggressive in
its use of computer resources, so I can use my computer for other
purposes while running
See also the colored dendrogram in the R Graph Gallery. It has a couple of
additional cool features.
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=79
-Christos Hatzis
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dylan Beaudette
Dear R-users,
Does anyone have an idea of how to calculate the quantile of the weighted data?
Any suggestion will be appreciated!
Best,Jing
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
On 3/10/2006 4:42 PM, Vries, Han de wrote:
When I run some large optimizations in R under Windows it puts a heavy
load on the CPU, which makes other applications that run at the same
time very slow. Is it possible to instruct R to be less aggressive in
its use of computer resources, so I can
Jing Yang wrote:
Dear R-users,
Does anyone have an idea of how to calculate the quantile of the weighted
data?
Any suggestion will be appreciated!
Best,Jing
library(Hmisc)
?wtd.quantile
--
Frank E Harrell Jr Professor and Chair School of Medicine
Thank you. Your suggestion works perfectly.
Han
-Original Message-
From: Duncan Murdoch [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 2:49 PM
To: Vries, Han de
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] possible to impose limit on R's use of resources?
On 3/10/2006 4:42 PM,
On 10 March 2006 at 19:14, Jeremy Morris wrote:
| Please re-read the entire message I sent you yesterday as it already
| answered this question. (Hint: The answer is in the R FAQ too.)
|
| I couldn't find anything on the R FAQ's mentioning Debian
| specifically. And a simple search for
Thanks for your response, Christos, but when I try this:
new = old[old$q.D1 0.05,]
I get the following warning (and what I'm trying to do fails):
Warning message:
not meaningful for factors in: Ops.factor(old$q.D1, 0.05)
I've tried to bone up on the topic of factors and searching R help,
something like sprintf in C?
so I can do:
print(sprintf(the correct result is %3.4f\n, myresult));
---
Also, I am desperately looking for a clear console screen function in
R...
thanks a lot!
[[alternative HTML version deleted]]
__
Does any package in R offer the stratified McNemar test?
Nathan
Nathan Leon Pace, MD, MStat
University of Utah
Salt Lake City, UT 84132
Office: 801.581.6393
Fax: 801.581.4367
Cell: 801.205.1019
Pager: 801.291.9019
Home: 801.467.2925
[[alternative HTML version deleted]]
I've found memory management sometimes problematic under Windows.
I've a calculation that runs without difficulty in 512MB under Mac OS X
(10.3 or 10.4); I'd expect the same under Linux. Under Windows
(XP professional) with 512MB, it requires a freshly booted system.
But maybe the new machines
On Fri, 10 Mar 2006, Michael wrote:
something like sprintf in C?
so I can do:
print(sprintf(the correct result is %3.4f\n, myresult));
Did you try this line of code? It actually works in R, although you would
probably prefer cat() instead of print().
-thomas
---
Also, I
On Fri, 10 Mar 2006, Matthew Scholz wrote:
Thanks for your response, Christos, but when I try this:
new = old[old$q.D1 0.05,]
I get the following warning (and what I'm trying to do fails):
Warning message:
not meaningful for factors in: Ops.factor(old$q.D1, 0.05)
I've tried to bone up
Oh yeah, it worked... I got it typed wrong in R console... that's why...
but why is cat() preferred?
On 3/10/06, Thomas Lumley [EMAIL PROTECTED] wrote:
On Fri, 10 Mar 2006, Michael wrote:
something like sprintf in C?
so I can do:
print(sprintf(the correct result is %3.4f\n,
On Fri, 10 Mar 2006, Michael wrote:
Oh yeah, it worked... I got it typed wrong in R console... that's why...
but why is cat() preferred?
In this context, because it translates the \n to a newline and doesn't
precede the output by [1].
So, if you are actually producing pretty output with
You really need to learn how to do some searching, as you seem to
be constantly asking questions you can answer yourself
help.search(sprintf)
On Fri, 10 Mar 2006, Michael wrote:
something like sprintf in C?
so I can do:
print(sprintf(the correct result is %3.4f\n, myresult));
---
1 - 100 of 107 matches
Mail list logo