Hello,
I am trying to run a makeConstrasts() function to compute eBayes t-
test with the following design list (six hybridizations and three
samples -in duplicates):
A BC
1 1 00
2 1 00
3 0 10
4 0 10
50 01
6
ginal Message-
From: Liaw, Andy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 11:50 AM
To: Shin, David; 'r-help@stat.math.ethz.ch'
Subject: RE: [R] generate bi-variate normal data
From: Shin, David
>
> Dear all,
>
> I would like to generate bi-variate normal
Mark,
Thanks. I am still waiting for someone to help me with this matter. I will
appreciate for any insight from you or the others.
Thanks.
David
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 01, 2006 12:27 AM
To: Shin, David
Cc: r-help
Dear all,
I would like to generate bi-variate normal data given that the first column
of the data is known. for example:
I first generate a set of data using the command,
x <- rmvnorm(10, c(0, 0), matrix(c(1, 0, 0, 1), 2))
then I would like to sum up the two columns of x:
x.sum <- apply(x, 1, su
D] On Behalf Of Prof Brian Ripley
Sent: Wednesday, August 24, 2005 12:33 PM
To: r-help@stat.math.ethz.ch
Subject: Re: [R] Call SAS from R
Date: Wed, 24 Aug 2005 18:05:44 +0100 (BST)
From: Prof Brian Ripley <[EMAIL PROTECTED]>
To: David Forrest <[EMAIL PROTECTED]>
Cc: "Shin, Da
as institute\\v8\\sas.exe test" in dos environment, it
didn't work, either.
I will appreciate very much if someone can help a bit. Thanks.
David
-Original Message-
From: Don MacQueen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 11:38 AM
To: Shin, David; r-help@sta
Thanks for some kind responses from the list.
Maybe I should present my data here a little bit to explain why I want to
use SAS.
Below is part of my data set.
First, I need to skip the first 9 lines which I can use skip=9 to do this.
Second, I need to read to rows of data. the first row starts w
Hi All,
I am new to post question on this list. I apologize if this question is too
easy or irrelevant.
I am doing a simulation study and I need to read a data file that can be
easily read by SAS.
So, what I try to do is to execute SAS in R and then read the output of SAS
to R.
I try the followi
Dear List,
I would like to write my output data to a file with the fixed format like
what you can do in SAS.
For example:
put
@1( variable1 ) (10.5)
@11 ( variable 2) ($5.)
:
:
etc.
Is there a way in "R" that would allow me to do the same thing?
Thank you for your a
tions for this somewhat trivial issue. But,
I cant find it. Can you help me? Thanks.
Daehyok Shin
__
[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
> >Considering replies to my question, typical practices of R users seem:
> >1. Creating a special function to source frequently used scripts.
>
> That's not right. The practice I was describing is to have frequently
> used code in a function, not in a script.
Here, I meant "scripts " is "script
ons.
What I asked is the way to set up default search paths for source function,
whether or not files in the paths contain a set of functions or simple
script code.
Daehyok Shin
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listi
when a script file is edited or added. My suggestion can save the effort.
In the sense to make R more convenient environment to users, is it trivial?
Daehyok Shin
> -Original Message-
> From: Roger D. Peng [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 10, 2004 PM 11:14
>
more easily. What
do you think of it?
Daehyok Shin
> -Original Message-
> From: Liaw, Andy [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 10, 2004 PM 10:07
> To: '[EMAIL PROTECTED]'; R, Help
> Subject: RE: [R] where does R search when source()?
>
>
> N
word, any way to set up default search paths for script
files?
Daehyok Shin (Peter)
>
> The former. No documentation says otherwise, so why would you
> think that it
> might search somewhere el
Exactly where does R search for foo.R if I type source(foo.R)?
Only from current working directory (same as getwd()), from all directories
specified by e.g. $PATH? Thanks.
Daehyok Shin
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch
I am looking for R programs implementing RIV(Recursive Instrumental
Variable) method
to identify and estimate constant parameter TF(Transfer Function) models.
Help please, if you know it.
Daehyok Shin (Peter)
__
[EMAIL PROTECTED] mailing list
https
Is it difficult in R to create a function calling system() with user's
inputs iteratively?
Daehyok Shin (Peter)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Prof Brian Ripley
> Sent: Thursday, June 24, 2004 PM 2:28
> To: Shin, D
# Return to R
> getwd()
[1] "/home/a"
Thanks in advance.
Daehyok Shin (Peter)
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL PROTECTED]
"We can do no great things,
only small things with great love."
Thanks, Petr.
The ls.objects function displays a really nice summary about objects.
Surely, I will use it more often than ls or ls.str.
Daehyok Shin
> -Original Message-
> From: Petr Pikal [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 21, 2004 AM 11:01
> To: Duncan Mur
I am not familar with the unique terminology of R.
What I mean with a variable is a sort of a reference which points to a
function or a value.
Daehyok Shin
> -Original Message-
> From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 21, 2004 AM 10:26
> To: S
I use NetCDF file format using ncdf package for binary data handling.
For more complex structure, HDF format will be better, which I do not try in
R.
Daehyok Shin
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> ethz.ch]On Behalf Of Moises Hassan
> S
practical value.
Daehyok Shin
> -Original Message-
> From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 20, 2004 PM 12:03
> To: Shin, Daehyok
> Cc: [EMAIL PROTECTED]
> Subject: RE: [R] A way to list only variables or functions?
>
>
> On Sun,
Interesting, but it seems too complex.
In my opinion, just listing functions or non-functions meets my need.
Anyway, thanks.
Daehyok Shin (Peter)
> -Original Message-
> From: S?en Merser [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 20, 2004 AM 10:51
> To: Shin
> Subject
Neat! Thanks.
How about incorporating this support into standard commands, ls() or
objects()?
Daehyok Shin (Peter)
> -Original Message-
> From: Gabor Grothendieck [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 20, 2004 AM 10:06
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>
I am curious if there is any way to list only variables or functions in
current environment, rather than listing all objects? Thanks.
--
Daehyok Shin (Peter)
Geography Department
Univ. of North Carolina-Chapel Hill
__
[EMAIL PROTECTED] mailing list
ckage.
Daehyok Shin (Peter)
> -Original Message-
> From: Richard A. O'Keefe [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 07, 2004 PM 10:50
> To: [EMAIL PROTECTED]
> Subject: RE: [R] Vectors of years, months, and days to dates?
>
>
> as.Date(c(years, months,
assume some functions are only called directly by users in an
interactive shell?
Please consider positively this kind of simple interface for as.Date.
I am quite sure this operation will be used widely once implemented.
as.Date(c(years, months, days))
Is there no one supporting my idea?
Daehyok Shin
Thanks, but, what I want is to convert three vectors of years, months, and
days directly into POSIXlt or Date objects
without creating character vectors.
Daehyok Shin (Peter)
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL
> > res <- as.POSIXlt(paste(years, months, days, sep="-"))
This command still convert numbers to a character vector, right?
Daehyok Shin (Peter)
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL PROTECTED]
How can I create POSIXlt directly from the numbers?
I failed to find the solution from help documents.
Daehyok
--On Monday, June 07, 2004 4:44 PM +0100 Prof Brian Ripley
<[EMAIL PROTECTED]> wrote:
On Mon, 7 Jun 2004, Shin, Daehyok wrote:
The interface for dates in R is a little confusing
his solution the ISOdate function converts the vectors into
characters,
which can cause serious performance and memory loss
when the vectors of years, months, and days are huge.
I am quite sure there is much better solution for it. What is it?
Thanks.
Thanks, Thomas. This is exactly what I want.
I am wondering why there is no explicit mention about this function,
such as, in the help document of gc().
Daehyok Shin (Peter)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Thomas Luml
Is there any way to define a destructor method of an object,
which is called automatically when garbage collector reclaims it?
Daehyok Shin
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
plot?
Interestingly, there is no mention about dev.control() in the help document
of recordPlot(). I think it should be there.
Thanks again.
Daehyok Shin (Peter)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Gabor Grothendieck
> Sent: Satu
Is it so difficult to develop a function or an object to generate all the
code automatically in R?
Daehyok Shin (Peter)
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL PROTECTED]
"We can do no great things,
only small things
I am looking for a function to restore saved graphics for further
editing, such as changing its title, labels, or legend.
How can I do it in R? Thanks in advance.
--
Daehyok Shin (Peter)
Geography Department
Univ. of North Carolina-Chapel Hill
I try memory.size function to find out available memory size,
but surprisingly R complains it can't find the function.
?memory.size also failed.
Is it not in the base library? If so, why can't my R find it?
I am using the binary 1.9.0 version for Mandrake 9.1.
Thanks in advance.
Da
Thanks, Murdoch.
The .Call is what I want.
In R extension manual,
"
Neither .Call nor.External copy their arguments. You should treat arguments
you receive through these
interfaces as read-only.
"
Daehyok Shin
> -Original Message-
> From: Duncan Murdoch [mailto:[EMAIL P
modeling system in R,
where some C functions should be called more than 1000 times with arguments
of huge arrays.
So, the issue is important for better performance.
Thanks again,
Daehyok Shin
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch
not passed to the compiled
code)."
Thanks in advance.
Daehyok Shin
__
[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
than
language itself.
So, even though I was a little disappointed at OOP of R, I will continue to
look at R.
Cheers.
Daehyok Shin (Peter)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bob Cain
> Sent: Wednesday, April 07, 2004 PM 4:32
>
shell, I believe we should try to give more informative messages at
least for the mistakes.
I think the error I reported is one of the mistakes.
Unfortunately, I don't have ability to create a patch for it.
Hopefully, somebody to fix it soon for better R.
Daehyok Shin
On Wed, 2004-04-07 at
this kind of common error.
Daehyok Shin
__
[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
I am looking for a package to read and write NetCDF files.
NetCDF package says it can only read, not write.
Another package for the standard binary file format?
Daehyok Shin
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman
Hm. Smarter than I expected.
But, any special reason why the 6th line clones another vector?
To me, just reference copy seems to be enough for the purpose.
6 xf = date.frame(x=x)
Daehyok Shin
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf
4 y = x
5 y[10] = 1
6 xf = date.frame(x=x)
7 xf$x[10] = 1
8 return(y)
}
Daehyok Shin
Terrestrial Hydrological Ecosystem Modellers
Geography Department
University of North Carolina-Chapel Hill
[EMAIL PROTECTED]
"We can do no great things,
only small thi
Hi, let me ask a basic question.
Is there any class like timeDate or timeSeries in S-PLUS?
I have a trouble in finding the classes in R manuals.
Thanks in advance.
Shin, Daehyok
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman
Dear Sir,
I am a user of R, and I just downloaded rw1081.exe
from your site.
When I install the said file, it reports that a file
is missing. I dont know the cause. Its the only
mising file because when I press ignore, everyting
installs just fine.
Anyways, Sir, can you send me the lacking fi
49 matches
Mail list logo