.
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n/
__
R-help@stat.math.ethz.ch
not sure where to look.
Thanks for your time,
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n
On Tue, 24 Apr 2007, gracezhang wrote:
Hi,
I failed to search for R package providing random number generator of Park
and Miller.
Anyone know any R package supporting this kind of function?
rng.lcg-function(x,p1=16807,p2=0,N=2147483647){(x*p1+p2)%%N}
Dave
--
Dr. David Forrest
[EMAIL
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n/
__
R-help@stat.math.ethz.ch mailing
,] -0.4996929
Could someone give me an advice ? I searched everywhere I can but nothing
found.
?nnet
especially:
linout: switch for linear output units. Default logistic output
units.
Thanks a lot.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED
On Mon, 12 Mar 2007, Milton Cezar Ribeiro wrote:
Hi R-gurus
How can I read my bmp files into R?
RSiteSearch('bmp')
system('convert my.bmp my.pnm')
library(pixmap)
?read.pnm
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED
() or image()
plot(expand.grid(1:87,1:61),
col=c.ramp[findInterval(volcano,c.brks,all.inside=TRUE)],
pch='.',cex=10)
Dave
On Wed, 22 Feb 2006, Adelchi Azzalini wrote:
On Tue, 21 Feb 2006 11:08:38 -0600 (CST), David Forrest wrote:
perhaps binning of package sm is what you want
best wishes
. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n/
__
R-help@stat.math.ethz.ch mailing list
https
demonstrate the benefits of R's open source philosophy.
Thanking you for offering feedback,
Thank you.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
.
Perhaps it would be feasible to make an RSourceSearch() function (like
RSiteSearch()) that could recognize things like documentation, functions,
and internals and direct users to the source code.
Dave
On 1/16/07, David Forrest [EMAIL PROTECTED] wrote:
On Tue, 16 Jan 2007, Martin Maechler
On Thu, 11 Jan 2007, David Forrest wrote:
Thanks. The xaxs|yaxs='i' works well for the base graphics. Is there an
additional parameter in play for lattice graphics? The closest I could
gotten is the below which still leaves a bit of a margin:
xy-data.frame(x=c(0,1,1,0,0),y=c(0,1,0,0,1
On Thu, 11 Jan 2007, David Forrest wrote:
Thanks. The xaxs|yaxs='i' works well for the base graphics. Is there an
additional parameter in play for lattice graphics? The closest I could
gotten is the below which still leaves a bit of a margin:
xy-data.frame(x=c(0,1,1,0,0),y=c(0,1,0,0,1
),type='l',xlab=NULL,ylab=NULL)
Dave
On Wed, 10 Jan 2007, Marc Schwartz wrote:
On Wed, 2007-01-10 at 21:18 -0600, David Forrest wrote:
Hi,
I'd like to produce a marginless or zero margin plot so that the pixel
coordinates represent the mathematics.
xy-data.frame(x=c(0,1,1,0,0),y=c(0,1,0,0,1
a 10 pixel margin around these lines, and I'm
not sure what parameter or function is controlling this offset. Any
hints?
Thanks for your time,
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804
=EST) function?
Thanks for your time,
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n
') , ?'==' for an
explanation, or 'abs(acos(0.5) - pi/3) 1e-9' for a solution.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n
time,
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n/
__
R-help@stat.math.ethz.ch
(), and the mailing lists.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n/
__
R
answer quality
of the email list.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n
how to do
several things. Adapting other tutorials or extended problems, like the
Stata session, to R would give additional entry points. A few end-to-end
tutorials on some interesting analyses would be helpful.
Any volunteers?
Dave
--
Dr. David Forrest
[EMAIL PROTECTED
-project.org/posting-guide.html
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n/
__
R
of
the stated month?
seq(as.Date(2004-02-01), by = month, length = 14)-1
[1] 2004-01-31 2004-02-29 2004-03-31 2004-04-30 2004-05-31
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
On Wed, 24 Aug 2005, Shin, David wrote:
...
system(c:\\program files\\sas institute\\v8\\sas.exe test)
Warning message:
c:\program not found
Escape the spaces too. It is trying to run the program c:\program or
c:\progra~1\sas
Dave
--
Dr. David Forrest
[EMAIL PROTECTED
.
If anyone has any comments or suggestions I would be very interested.
I posted a link to it on the GraphGallery page of the R Wiki:
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?GraphGallery
Why not make it a package?
Dave
--
Dr. David Forrest
[EMAIL PROTECTED
] - u[3]))
}
u - matrix(rnorm(100),nrow=10)
v - matrix(rnorm(100),nrow=10)
quiver(u,v)
I added these functions as an example to the Wiki:
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?GraphGallery
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?QuiverPlot
Thanks for your time,
Dave
--
Dr. David
a pretty 5-set radially symmetric Venn diagram on
http://www.combinatorics.org/Surveys/ds5/VennSymmEJC.html
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
On Fri, 10 Jun 2005, Roger Bivand wrote:
On Thu, 9 Jun 2005, David Forrest wrote:
I have some disconnected boundary data from a finite element ocean model
and I'd like to make a plot.
Maptools looks promising, but since my data is not in a shapefile or a
map, I'm unclear on what
30 different islands. Maptools seems devoted to shapefiles,
and it is unclear how to create 'polylists'.
Is there a good way to manage and graph data defined on irregular grids?
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED
On Tue, 7 Jun 2005, David Forrest wrote:
...
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?UsePictures
This page demonstrates the use of pictures and the use of a public image
server for hosting graphics files.
Also, there's a page:
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl
).
Counterexample:
http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?Tips_And_Examples
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com
On Tue, 7 Jun 2005, Dan Bolser wrote:
On Tue, 7 Jun 2005, David Forrest wrote:
On Tue, 7 Jun 2005, Dan Bolser wrote:
...
I agree, but its hard to get people contributing without something
centralized (some central autohrity). The problem with the existing wiki
http://fawn.unibw
of pictures and the use of a public image
server for hosting graphics files.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http://maplepark.com/~drf5n
fails me at understanding your question. I don't get stuck
anywhere.
Romain
Perhaps the javascript menu on the left does not function on some
browsers.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED
) it could be identified with multiple keywords
and dynamically listed in each of the sub-galleries.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http
){}
# such that:
zzinv(257) #or zzinv(c(0,1,1))
#000101
Is zzinv() the operation you need?
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
http
(string){
RURL = http://www.google.com/u/newcastlemaths;
RSearchURL = paste(RURL, ?q=, string, sep = )
browseURL(RSearchURL)
return(invisible(0))
}
help.start()
help.search.google(brain+surgery)
help.search.archive(brain+surgery)
Dave
--
Dr. David Forrest
[EMAIL PROTECTED
Hi,
According to help(sub), the ^ should match the zero-length string at the
beginning of a string:
sub('^','var',1:3) # 1 2 3
sub('$','var',1:3) # 1var 2var 3var
# This generates what I expected from the first case:
sub('^.','var',11:13) # var1 var2 var3
Dave
--
Dr. David Forrest
[EMAIL
them? I think these sorts of things could
help demonstrate and disseminate the graphics abilities of R.
Dave
--
Dr. David Forrest
[EMAIL PROTECTED](804)684-7900w
[EMAIL PROTECTED] (804)642-0662h
On Wed, 8 Dec 2004, internautem wrote:
My friend Veslot proposed me the Raven !
http://www.teteamodeler.com/allopass/images/corbeau.jpg
As a matter of fact the intelligence of this bird is
comparable to one of a monkey, although its brain is close to
a reptile brain. R is quite the same :
On Tue, 23 Nov 2004, Philippe Grosjean wrote:
Patrick Burns wrote:
[]
No, I'm not volunteering to build the system.
Too bad! ;-)
Indeed, the idea to index tens of thousands of functions could not be
appealing to many of us! Why not to consider to test such ideas at the
package
On Fri, 19 Nov 2004, an ying wrote:
Dear Sir/Madam,
I am doing a project related to R.
However, it is always difficult find some R functions.
The R user guide seems not complete.
Is there any free document about all R functions ?
Who knows ? please help me.
My email is [EMAIL PROTECTED]
On Wed, 17 Nov 2004, Mike Prager wrote:
...
Using CLI software, an infrequent user has trouble remembering the known
functions needed and trouble finding new ones (especially as that user gets
older). What might help is an added help facility more oriented towards
tasks, rather than
On Thu, 18 Nov 2004, Frank E Harrell Jr wrote:
...
...
I second all of that. What you are describing Mike could be done with
a community-maintained wiki, with easy to add hyperlinks to other sites.
There is a wiki at http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl but it
doesn't seem to get
On Wed, 27 Oct 2004, Kunal Shetty wrote:
thank you Sundar,Andy, Partha for your prompt reply.
as for the %*% is matrix multiplication problem sunder here is a sample of
what i want...
x - rnorm(100,17,24) # X values
y - rnorm(100,7,11) # Y values
# since X and Y values are
On Fri, 8 Oct 2004, Barry Rowlingson wrote:
Here's a function for searching the Rwiki from R:
rwiki.search - function(string){
RwikiURL=http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl;
RwikiSearchURL=paste(RwikiURL(),?search=,string,sep='')
browseURL(RwikiSearchURL)
Suppose I have
x-data.frame(v1=1:4, v2=c(2,4,NA,7), v3=rep(1,4),
v4=LETTERS[1:4],v5=rep('Z',4))
or a much larger frame, and I wish to test for and remove the constant
numeric columns.
I made:
is.constant-function(x){identical(min(x),max(x))}
and
apply(x,2,is.constant) # Works for
Thanks Deepanyan,
On Sat, 28 Aug 2004, Deepayan Sarkar wrote:
...
Yes, I think rgl would be the right tool for this. Even apart from the 3d
acceleration issues, one of the problems with getting this in R would be that R
doesn't do raster graphics, and I don't think hidden surface algorithms
On Wed, 8 Sep 2004 [EMAIL PROTECTED] wrote:
Hi all,
I have two questions stated below:
1. How to draw an observation uniformly from a given data?
For example, I have a dataset (or dataframe) with 10 observations (with a
set of variables) and I want to uniformly select an observation from
On Fri, 27 Aug 2004, Sundar Dorai-Raj wrote:
Søren Højsgaard wrote:
Dear all,
One of my students (whom I am trying to convince to use R) wants to get a fairly
large SAS dataset into R (about 150mB). An obvious and simple thing she tried was
to write the dataset as a .csv-file and
Hi,
I have an array of 2d node locations and an array triangles, and would
like to plot something like a image or persp.
An example of doing it with rgl is:
library(ncdf)
library(rgl)
# wget http://www.maplepark.com/~drf5n/extras/teapot.nc
teapot-open.ncdf(teapot.nc)
I don't want to gripe here, but I would like to know the best method for
submitting suggestions and patches to the documentation.
It looks like for many help items, we need to track from the html file
which help.search(*)/help(*) presents, back to the authoritiative
documentation file from which
On Tue, 17 Aug 2004, Arne Henningsen wrote:
Thank you for all your answers!
I agree with you that it is not a bug. My mistake was that I thought that a
data frame is similar to a matrix, but as ?data.frame says they ... share
many of the properties of matrices and of lists.
...
I think the
Is there a package for stacks with pushing and popping?
I'd really like to do something like
push(par(no.readonly=TRUE))
some stuff
par(pop())
It seems like it wouldn't be difficult, and that someone may have already
implemented a set of stack functions, and I wouldn't like to duplicate
On 11 Feb 2003, Joshua Gramlich wrote:
Is anyone using R with postgres? I'd like to do so, but cannot seem to
find any reasonable explanation of how to do so.
Joshua Gramlich
Chicago, IL
library(RPgSQL) # It isn't in an obvious place:
#
54 matches
Mail list logo