the new function find the non-exported functions).
Hope this helps,
Greg Snow, Ph.D.
Statistical Data Center, LDS Hospital
Intermountain Health Care
[EMAIL PROTECTED]
(801) 408-8111
Ritter, Christian C GSMCIL-GSTMS/2 [EMAIL PROTECTED]
07/12/05 05:08AM
R-2.1.1 on windows XP
I just noticed
, new.point2, method=SANN,
control = list(maxit=6, temp=200, trace=TRUE))
y - y[res$par]
par(mfrow=c(2,2))
hist(x)
hist(y)
plot(x,y)
cor(x,y)
y - sort(y)[res2$par]
par(mfrow=c(2,2))
hist(x)
hist(y)
plot(x,y)
cor(x,y)
Hope this helps,
Greg Snow, Ph.D.
Statistical Data Center, LDS Hospital
I have had success by downloading the zipcode (approximate) shapefiles
(the .shp files) from: http://www.census.gov/geo/www/cob/z52000.html
Then using the maptools package (rather than the maps package).
hope this helps,
Greg Snow, Ph.D.
Statistical Data Center, LDS Hospital
Intermountain
a copy to
anyone who is interested (specify if you have perl, or need a stand
alone copy (windows only)).
hope this helps,
Greg Snow, Ph.D.
Statistical Data Center, LDS Hospital
Intermountain Health Care
[EMAIL PROTECTED]
(801) 408-8111
Werner Bier [EMAIL PROTECTED] 06/12/05 01:29PM
Hi R-help
Using layout(matrix(c(1,1,2,2,0,3,3,0),2,3,byrow=TRUE))
may be closer to what the original intent was.
Greg Snow, Ph.D.
Statistical Data Center, LDS Hospital
Intermountain Health Care
[EMAIL PROTECTED]
(801) 408-8111
Lapointe, Pierre [EMAIL PROTECTED] 05/19/05 05:51AM
Try this:
layout(matrix
Here is an approach using optim:
tmpfunc - function(param){
ml-param[1]
sl-param[2]
(qlnorm(.15,ml,sl)-10)^2 + (qlnorm(.5,ml,sl)-30)^2
}
res - optim(c(1,2), tmpfunc)
res - optim(res$par, tmpfunc)
res
hope this helps,
Greg Snow, Ph.D.
Statistical Data Center, LDS
Also look at ?readline
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
Uwe Ligges [EMAIL PROTECTED] 03/29/05 11:43PM
Cuichang Zhao wrote:
Hello,
Could you please tell me how i can get an input from the user in R?
Depends on the kind of input.
See, e.g., ?scan
- ... line it will pause and wait for you to press enter
before continuing on. you can discuss the lines that have just been
executed and the current plot, then press enter for the next chunk.
hope this helps,
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
[EMAIL PROTECTED
Have you looked at the CircStats and circular? They have some plotting
functions that may be of help to you.
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
Dubravko Dolic [EMAIL PROTECTED] 03/24/05 09:38AM
Dear Group,
Having a character vector like this one
for any hints!
Jason
--
Jason W. Martinez, Gradaute Student
University of California, Riverside
Department of Sociology
E-mail: [EMAIL PROTECTED]
hope this helps,
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
the sapply was (under a second on
my fairly fast pc (windows 2000)).
It shouldn't be too hard to convert this into a more general
function.
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
__
R-help@stat.math.ethz.ch mailing
in 2.1.0 (or at least be broken in new and
interesting ways) due to support for UTF-8 encodings.
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
There is a shapefile at:
http://www.vdstech.com/map_data.htm
The maptools package can read and plot shapefiles.
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
Werner Wernersen [EMAIL PROTECTED] 03/03/05 02:35PM
Hello!
Is there a more accurate map of germany than
-r.project.org/ and click on R web-servers under the
Related Projects
heading in the left column to get details.
Hope this helps,
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
__
R-help@stat.math.ethz.ch mailing list
https
='')
#bottom plot
plot(1:10, rnorm(10), ylim=c(-4,4))
### turn off clipping (alow drawn lines to cross all plots)
par(xpd=NA)
### convert top to current usr coordinates
tmp.y2 - cnvrt.coords(x=NA, y=tmp.y, input='dev')$usr$y
# draw rectangle
rect(2.5, -4, 4.5, tmp.y2)
Hope this helps,
Greg Snow
just replace the initial plot with a hexbin or contour plot and you
should have something that takes a lot less room but still shows the
locations of the outer points.
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
__
[EMAIL
/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
Greg Snow, Ph.D.
Statistical Data Center
[EMAIL PROTECTED]
(801) 408-8111
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
301 - 317 of 317 matches
Mail list logo