On Thu, 15 Jul 2004, [big5] house-ball wrote:
> Hi,
>
> I try to compute critical value for multivariate normal distribution, and I find the
> crit(fit, const = c(0, 1), d = 1, cov = 0.95, rdf = 0) which seems to compute
> critical value. However, I can't compute right critical value for multiva
Kathryn Jones wrote:
Hi folks,
Does anyone know where I can find downloads for old versions
of R, around version 1.0? I found the downloads for unix but
not windows. Any help would be greatly appreciated!
Thank you,
Kathryn
Windows binary versions are not archived on CRAN. You may compile it
fro
Hi folks,
Does anyone know where I can find downloads for old versions
of R, around version 1.0? I found the downloads for unix but
not windows. Any help would be greatly appreciated!
Thank you,
Kathryn
__
[EMAIL PROTECTED] mailing list
https://www.sta
Hi,
I try to compute critical value for multivariate normal distribution, and I find the
crit(fit, const = c(0, 1), d = 1, cov = 0.95, rdf = 0) which seems to compute critical
value. However, I can't compute right critical value for multivariate normal
distribution which I want. I don't know h
Just in case my last post is wrong in assuming that
ordered repesentatives of the 3!^4 intragroup permutations
are adequate, the following minor variation of the routine
in my last post will provide an unordered representative.
Its actually easy to do since sample(12,12), which we
already calcul
On Wed, 2004-07-14 at 17:05, Johanna Hardin wrote:
> Did the MASS package disappear? Specifically, I'm looking for a function to
> find the MCD (robust measure of shape and location) for a multi-dimensional
> data matrix.
>
>
>
> Anyone know anything about this?
Try:
library(MASS)
?cov.rob
Search on the R site ought to show you. cov.rob() is in MASS (part of the
`VR' bundle, and should be part of all R distribution). There's also the
rrcov package with the covMcd() function.
Andy
> From: Johanna Hardin
>
> Did the MASS package disappear? Specifically, I'm looking
> for a funct
Hello everyone! I'm having the dreaded repeated rows problem in RODBC.
Specifically, when I have a NULL value in a column, odbcFetchRows reads the
value not as NULL or NA but as the most recent non-NULL value in the column.
If there is no such non-NULL column, odbcFetchRows reads the value as 0. Le
Did the MASS package disappear? Specifically, I'm looking for a function to
find the MCD (robust measure of shape and location) for a multi-dimensional
data matrix.
Anyone know anything about this?
Thanks, Jo
Jo Hardin
Assistant Professor
Department of Mathematics
Pomona College
61
> From: Sundar Dorai-Raj
>
> William Revelle wrote:
>
> > Dear list friends
> >
> > I fail to understand how to find means for multiple groups
> using the
> > by() function. Help would be appreciated. Thanks.
> > Bill
> >
> >
> > x <- runif(20,0,10)
> > group <- rep(c("A","B"),10)
> > df <-d
William Revelle wrote:
Dear list friends
I fail to understand how to find means for multiple groups using the
by() function. Help would be appreciated. Thanks.
Bill
x <- runif(20,0,10)
group <- rep(c("A","B"),10)
df <-data.frame(x,group)
#df#show the data
rm(x,group)
attach(df)
sd(x)
Dear list friends
I fail to understand how to find means for multiple groups using the
by() function. Help would be appreciated. Thanks.
Bill
x <- runif(20,0,10)
group <- rep(c("A","B"),10)
df <-data.frame(x,group)
#df#show the data
rm(x,group)
attach(df)
sd(x) # sd is defined
m
Based on your description below and our off-list
discussion I gather than the problem is equivalent
to sampling ordered permutations in the sense
defined by Erich (i.e. permutations which are
increasing within blocks) WITHOUT replacement.
Actually one of your valid permutations in your
example i
When all else fails, RTFM; e.g., see ?princomp and read it in its entirety.
Then maybe also try running example(princomp).
Andy
> From: Herman, David (NIH/NIMH)
>
> Hello,
> I'm attempting to run a PCA on an example data
> set. I ran it
> just fine, but I don't know how to few the o
On 07/14/04 16:05, Herman, David (NIH/NIMH) wrote:
>Hello,
>I'm attempting to run a PCA on an example data set. I ran it
>just fine, but I don't know how to few the output?
Take a look at the help file for prcomp, especially the bottom of
it. (This is completely general advice for any
Hello,
I'm attempting to run a PCA on an example data set. I ran it
just fine, but I don't know how to few the output? I listed what the
variable got stored in it, but I don't know how I can get anything else out
of it. Are there other ways to view the results?
Also, I'm confused about
Dear all, is there a R function to construct
simultaneous confidence intervals for multinomial
proportions?
Best wishes
jl
__
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://
On Wed, 2004-07-14 at 08:06, Rolf Turner wrote:
> In respect of generating random ``restricted'' permutations, it
> occurred to me as I was driving home last night If one is going
> to invoke some kind of ``try again if it doesn't work procedure''
> then one might as well keep it simple: Esse
Dear Adaikalavan,
Now I've send a similar e-mail to Robin and Rolf, therefore I can deduce
that my first e-mail was not enough clear (sorry).
Therefore, I'm going to try it again with an explanation of why I don't
want those permutations:
Ive 12 elements in blocks of 3 elements and I want onl
Or just read.table(..., header=FALSE, skip=1)
Andy
> From: F Duan
>
> How about you delete the first row (column names) and then use
> "header=FALSE" in read.table()?
>
> Frank
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Herman, David
> (N
I've been asked, and interested myself:
Has anybody implemented the above in R or another S language dialect?
We are talking about the algorithms / methodology
by Wellner, Groeneboom and Jongbloed, e.g., from the following article
@Article{Jongbloed:1998:ICM,
author = "Geurt Jongbloed",
http://www.jiscmail.ac.uk/lists/ALLSTAT.html
On Wed, 2004-07-14 at 17:47, F Duan wrote:
> Thank you for your reminding. Could you tell me the addresses of STAT-L and
> ALLSTAT lists?
>
> By the way, I found Cronbach's alpha suggested by Prof. Baron might be the
> one I am looking for though it's
I think the issue here is in the two keywords - permutations or sample.
AFAIK, permutations should return all admissible (by some rule)
combinations. If this is a large number, as some have pointed out, then
one essentially takes a _sample_ of all admissible combinations. Since
you earlier mention
John Fox mcmaster.ca> writes:
> You got several useful suggestions for what you may have done wrong. I often
> find that it's easier to use read.table(file.choose()) and to navigate to
> the file in the resulting dialog than to type the path to the file.
Related to this, you could issue the comm
How about you delete the first row (column names) and then use
"header=FALSE" in read.table()?
Frank
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Herman, David
(NIH/NIMH)
Sent: Wednesday, July 14, 2004 11:13
To: '[EMAIL PROTECTED]'
Subject: [R] duplica
OK, I got the point why the help refers to the arguments
of 'optim' only. (Of course, I have read this but did'nt
believe it ... ;-))
Thanks to all of you for the clarification and special thanks
to Duncan Murdoch for the workaround, which is very close to
what I want. I am doing a lot of const
Thank you for your reminding. Could you tell me the addresses of STAT-L and
ALLSTAT lists?
By the way, I found Cronbach's alpha suggested by Prof. Baron might be the
one I am looking for though it's not perfect.
Frank
-Original Message-
From: Peter Flom [mailto:[EMAIL PROTECTED]
Sent:
[EMAIL PROTECTED] (A.J. Rossini) writes:
> I like SWIG (well, it facilitates wrappers for Python really well),
> but it's not perfect.
>
> I've not delved into the difficulties in any detail yet, but we've had
> problems with mixing SWIG and Boost.python for connections with Python
> code -- and
As Erich points out, there is some question as to
what the original problem really is but lets
assume its as Erich describes. Then, to get a
random ordered permutation we just get a random
permutation of 12 elements and sort the intra-block
elements like this:
c(apply(matrix(sample(12,12),3
Hi list,
I am wondering if anybody knows if the Ord-Getis O statistics of
local spatial autocorrelation in the presence of the global spatial
association is implemented in any of the R packages - and of
course in which package ;-)). I am not interested in Getis-Ord G
statistics, for now.
Than
I like SWIG (well, it facilitates wrappers for Python really well),
but it's not perfect.
I've not delved into the difficulties in any detail yet, but we've had
problems with mixing SWIG and Boost.python for connections with Python
code -- and the Boost.python mechanism "feels" like DTL's RS cod
Dear R users,
First of all, thanks to Rolf, Brad, Robin, Erich, Fernando and Adaikalavan
for your time and suggestions.
Ive been testing some algorithms (sorry for the delay, Im very slow, and
Im a completely beginner in Rs world).
First, the Robin algorithm.
I think that there is a prob
On Wed, 14 Jul 2004 08:01:28 -0700, Duncan Temple Lang
<[EMAIL PROTECTED]> wrote :
>SWIG is an extensible system and so people
>other than the SWIG developers can indeed
>provide facilities for supporting R.
>I am surprised nobody has done it yet
>and remember asking you whether you had considere
Dear David,
If there is one fewer variable name in the first row of the data file than
fields in the remaining rows, then read.table() will treat the first entry
in each row as the row name. Simply add a new first variable (such as
"name") to the first row, and specify header=TRUE in the call to
r
Dear David,
You got several useful suggestions for what you may have done wrong. I often
find that it's easier to use read.table(file.choose()) and to navigate to
the file in the resulting dialog than to type the path to the file.
I hope that this helps,
John
> -Original Message-
> From
Try read.table(choose.files(), row.names=NULL).
BTW, I think you might be using an older R version because in R-1.9.1,
the value for row.names is missing by default in read.table().
> args(read.table)
function (file, header = FALSE, sep = "", quote = "\"'", dec = ".",
row.names, col.names, as
Hi!!
I'm using the R package tcltk. See the stretch of code below:
tbn1 = tclvalue(tkadd(tn,label="Modify Data"))
tkpack(tbw1 <- .Tk.newwin(tbn1))
tkpack(fr1 <- tkframe(tbw1))
tkpack(lb1<- tkwidget(fr1,"iwidgets::labeledframe"))
When I try to execute this I have this error at the last line:
Error i
Hello,
I'm simply trying to import a .txt file that has a column of
about 30,000 pts. I found the file, but I'm getting an error:
> m <- read.table(choose.files())
Error in "row.names<-.data.frame"(`*tmp*`, value = row.names) :
duplicate row.names are not allowed
Any help wit
Michael,
Yes you are right, I forgot to specify the dbname when posting in R-help
list. But not in my R-code, since it is specified in ORACLE_SID variable
on Linux. Using the proper syntax I still get an empty data frame:
> library(ROracle)
> drv <- dbDriver("Oracle")
> con <- dbConnect(drv, "ra
Duncan Murdoch wrote:
On Wed, 14 Jul 2004 10:11:30 -0400, Vincent Goulet
<[EMAIL PROTECTED]> wrote :
Hi,
I but you left out the extension that Windows is hiding from you.
Yes indeed! Why Windows hides extensions has never made any sense to
me. To turn off this seriously broken behaviour, open a
This is why the `...' argument is passed to `optim' and not to the
function being optimized, as it also referred in the help file of
`constrOptim'
> constrOptim
function (theta, f, grad, ui, ci, mu = 1e-04, control = list(),
method = if (is.null(grad)) "Nelder-Mead" else "BFGS",
outer.iteratio
There is also the match() function, and the %in% operator, either of
which might do the job, depending on your exact details. For example,
(1:26)[letters %in% c('x','t','j')]
-Don
At 2:34 PM +0200 7/13/04, Anne wrote:
Hello R helpers!
I looked but did not find a table-lookup R-utility. I coul
Dear all,
I'd like to find a minimum of (-loglik) function which is a function of k parameters.
I'd like to run the minimization algorithm for the different subsets of the parameters
and assign the fixed values to the complementary subset. How should I define my
(-loglik) function such that it c
On Wed, 14 Jul 2004 10:11:30 -0400, Vincent Goulet
<[EMAIL PROTECTED]> wrote :
>Hi,
>
>I but you left out the extension that Windows is hiding from you.
Yes indeed! Why Windows hides extensions has never made any sense to
me. To turn off this seriously broken behaviour, open a folder, then
in t
This is what I would try next if I were in your situation; I don't
know it will help.
Try
con <- dbConnect(ora, "rado/[EMAIL PROTECTED]")
instead of
con <- dbConnect(ora, "rado/only2admin"
The default dbname is Sys.getenv("ORACLE_SID"), have you checked that?
For myself, when I make connec
Hello!
It just is not able to find the file as the error message says.
You can check if you are specified the right directory path using dir.
?dir
dir("/Desktop/work/")
I gues you are not.
If you are specifying the full path, precede it with the drive name c:/
Eryk
*** REPLY SEPARAT
Hi,
I but you left out the extension that Windows is hiding from you.
Vincent
On Wednesday 14 July 2004 10:02, Herman, David (NIH/NIMH) wrote:
> Hello,
> I'm new to R, and I'm having trouble importing a text file (I'm
> on Windows XP)
>
> > m <- read.table("/Desktop/work/128_L")
>
>
Andy, Kjetil, hi,
I figured out how to run this, after visiting Jim Ramsay's FDA webpage
example on monotone smoothing:
http://ego.psych.mcgill.ca/misc/fda/ex-growth-d1.html
The code there is Matlab, using very similar names to the R names.
First one needs to create a 'blank' B-spline object (us
Hello,
I'm new to R, and I'm having trouble importing a text file (I'm
on Windows XP)
> m <- read.table("/Desktop/work/128_L")
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `/Desktop/work/128_L'
do you know why this isn't wor
Actually, I think this is a bug. Take a look at this part of constrOptim:
> constrOptim
function (theta, f, grad, ui, ci, mu = 1e-04, control = list(),
method = if (is.null(grad)) "Nelder-Mead" else "BFGS",
outer.iterations = 10
0,
outer.eps = 1e-05, ...)
{
if (!is.null(control$fnscal
On Wed, 14 Jul 2004 14:59:01 +0200 (MEST), "Marlene Mueller"
<[EMAIL PROTECTED]> wrote :
>How can I use a function with some additional input parameters
>in constrOptim? For example, something like
>
>fr <- function(x,a) { ## Rosenbrock Banana function
> x1 <- x[1]
> x2 <- x[2]
> a * (x2 - x1
Hi Marlene,
from the on-line help file of `constrOptim' you can see that the "..."
argument is used for passing extra arguments to the `optim' function
and not in the function being optimized under constraints.
A simple solution would be to pass the value of the extra argument
directly to the fun
Browsing over the FDA book, I can not find any discussion of monotone
smoothing.
Andy
> From: Kjetil Halvorsen
>
> Hola!
>
> Experimenting a little, package fda seems very much under
> development,
> and help pages are definitely not finished.
> It would certainly help to read the book "func
In respect of generating random ``restricted'' permutations, it
occurred to me as I was driving home last night If one is going
to invoke some kind of ``try again if it doesn't work procedure''
then one might as well keep it simple: Essentially use the rejection
method. Just generate a rando
How can I use a function with some additional input parameters
in constrOptim? For example, something like
fr <- function(x,a) { ## Rosenbrock Banana function
x1 <- x[1]
x2 <- x[2]
a * (x2 - x1 * x1)^2 + (1 - x1)^2
}
where the optimum is to be found w.r.t. x. Calling
optim(c(-1.2,1), fr,
Dear Rado,
I think you didn't get a proper db connection at all. You forgot to specify
the database to connect to.
On Wed, 14 Jul 2004, Rado Bonk wrote:
> ### CONNECTION, and SQL QUERY EXECUTION
> > ora <- dbDriver("Oracle")
> > con <- dbConnect(ora, "rado/only2admin"
Which database???
> >
> "UweL" == Uwe Ligges <[EMAIL PROTECTED]>
> on Wed, 14 Jul 2004 11:25:20 +0200 writes:
UweL> Meinhard Ploner wrote:
>> how can I get a list of all S3-methods (of a package)
>> such that I know which functions to include in the
>> S3method() in the NAMESPACE-file? Mayb
Meinhard Ploner wrote:
Meinhard Ploner wrote:
how can I get a list of all S3-methods (of a package)
such that I know which functions to include in the S3method()
in the NAMESPACE-file?
Maybe separated by generic=T/F.
thx
Meinhard Ploner
Vienna
Since one you does not register S3 methods (except for
An ugly workaround for versions prior 2.0 would be creating a copy of
Rgui.exe and change its icon (google for 'change icon'). Under xp I also can
just deactivate the icon on the compatibility tab (disable visual themes).
Best
Jens Oehlschlägel
__
[E
On Wed, 14 Jul 2004 17:12:24 +0900, "Hisaji ONO"
<[EMAIL PROTECTED]> wrote:
>Hi.
>
> Has R dev. team considered employing SWIG(http://www.swig.org/), which
>supports PHP, Ruby, Java etc.,
>for connecting C/C++ libraries with R?
I don't know, but it looks from their web page as though you're askin
Meinhard Ploner wrote:
how can I get a list of all S3-methods (of a package)
such that I know which functions to include in the S3method()
in the NAMESPACE-file?
Maybe separated by generic=T/F.
thx
Meinhard Ploner
Vienna
Since one you does not register S3 methods (except for the Namespace
file),
On Wed, 14 Jul 2004 09:55:26 +0200, "Henrik Bengtsson"
<[EMAIL PROTECTED]> wrote:
>It look like this will be possible from R v2.0.0;
>
>>From http://cran.r-project.org/bin/windows/base/CHANGES.rw2000dev
>
> Added functions setWindowTitle(), getWindowTitle(), and
>getIdentification().
>
>To R-devel
Meinhard Ploner wrote:
how can I get a list of all S3-methods (of a package)
such that I know which functions to include in the S3method()
in the NAMESPACE-file?
Maybe separated by generic=T/F.
thx
Meinhard Ploner
Vienna
Since one you does not register S3 methods (except for the Namespace
file),
Sorry for posting the second time, I corrected the SQL code:
PROBLEM: after executing simple statement, from within R, "fetch"
function gives me the empty dataframe:
### CONNECTION, and SQL QUERY EXECUTION
> ora <- dbDriver("Oracle")
> con <- dbConnect(ora, "rado/only2admin"
> dbListTables(con)
c
Henrik Bengtsson wrote:
It look like this will be possible from R v2.0.0;
From http://cran.r-project.org/bin/windows/base/CHANGES.rw2000dev
Added functions setWindowTitle(), getWindowTitle(), and
getIdentification().
To R-devel: Will this be 1) Rgui only? and/or 2) Windows only?
Well, the title of
how can I get a list of all S3-methods (of a package)
such that I know which functions to include in the S3method()
in the NAMESPACE-file?
Maybe separated by generic=T/F.
thx
Meinhard Ploner
Vienna
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.e
Dear R-users,
I was able to make ROracle package to connect to the DB (Oracle91,
64bit, on Solaris). But after executing siple SQL query, "fetch"
commaned gives me an empty dataframe.
### RORACLE INSTALATION PROCEDURE ###
R CMD INSTALL --configure-args='--enable-extralibs' --enable-oracle32=no
Jordi
try this
R> x <- c(1,2,3, 10,11,12, 41,42,43, 81,82,83)
R> dim(x) <- c(3,4)
R> x
[,1] [,2] [,3] [,4]
[1,]1 10 41 81
[2,]2 11 42 82
[3,]3 12 43 83
R> jj <- t(apply(x,1,sample))
R> jj
[,1] [,2] [,3] [,4]
[1,]1 41 10 81
[2,]2 11 82
Hi.
Has R dev. team considered employing SWIG(http://www.swig.org/), which
supports PHP, Ruby, Java etc.,
for connecting C/C++ libraries with R?
Regards.
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE
It look like this will be possible from R v2.0.0;
>From http://cran.r-project.org/bin/windows/base/CHANGES.rw2000dev
Added functions setWindowTitle(), getWindowTitle(), and
getIdentification().
To R-devel: Will this be 1) Rgui only? and/or 2) Windows only?
Cheers
Henrik Bengtsson
> -Orig
Perhaps what you want might better be described as
ordered partitions?
Is what you want the following:
We study sequences of length 12 and divide them in
4 segments
position 1 2 3, position 4 5 6,
position 7 8 9, position 10 11 12,
Find all permutation sequences of the numbers 1 to 12
with the prop
Jordi:
If I understand you well, the function below may do what you asked for.
It is not clear to me from your posting wether e.g.
1 2 4 3 5 6 7 8 910 11 12
and
1 4 2 3 5 6 7 8 910 11 12
should count as differente permutations, i.e., wether once one pair of
elements interchange
use
unique(data)
or
table(data)
__
[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
DeaR useRs:
Excuse me for my bad English.
I am looking for a function likes table or ftable which returns the sum in a
object by the cross tabulation, not the counts of the cross tabulation.
I dont know if everybody understand me.
Thank you very much.
Agus
---
[[alternative
In the windows version (RGui), is there a way to set
the text displayed in the titlebar of the R window?
When I have 2 instances of RGui running, it would be helpul
if the titlebar could help to understand which is which.
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSI
75 matches
Mail list logo