[R] C program

2005-09-30 Thread Erin Hodgess
Dear R People: I have R Version 2.1.1. for Windows in binary form. I would like to look at the C code for massdist. It is part of the density function. How would I access this, please? Thank you very much! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical

[R] lm.ridge

2005-10-08 Thread Erin Hodgess
Dear R People: I have a question about the lm.ridge function, please. In the example, there is one set of output values in the select function but another in the comment section. Am I missing something please? R Version 2.1.1 Windows Thanks, Sincerely, Erin Hodgess Associate Professor

[R] listing of permutations

2006-08-02 Thread Erin Hodgess
Dear R People: Suppose I have the 4 numbers: 1,2,3,4. I would like to create a listing of the permutations of 4 items taken 4 at a time. Is there a built in function for that, please? Thanks in advance! R 2-3-1 for Windows or Linux Sincerely, Erin Hodgess Associate Professor Department

[R] OT UNIX grep question

2006-08-09 Thread Erin Hodgess
Dear R People: I want to use the grep command in UNIX/Linux to check some words from the dictionary. Let's say I use: grep dog /usr/share/dict/words and I get back bulldog dog dogged and so on. How could I just get back dog with the grep command please? Thanks, Sincerely Erin Hodgess

[R] Substring and strsplit

2006-08-29 Thread Erin Hodgess
, but what am I doing wrong? Either Windows or Linux 2.3.1 Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch

[R] [OT] Important stat dates

2006-09-07 Thread Erin Hodgess
help! I tried (via Google) today in statistics and today in statistics history but nothing worthwhile appeared. Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED

[R] Dennis Chabot poss. answer

2006-09-20 Thread Erin Hodgess
-0.0760150 16 16 0.4044279 17 17 1.7818196 18 18 2.0357456 19 19 -0.6258242 20 20 0.7165313 21 21 -1.0755710 22 22 -1.2000225 23 23 -0.0944706 24 24 -0.9922149 25 25 0.1655903 Hope this can be useful! Note: I accidentally deleted the original e-mail. Sincerely, Erin Hodgess Associate

[R] expressions/approximate text

2004-08-26 Thread Erin Hodgess
Please forgive the general posting. To get the x approximately = y, please try text(6,2,expression(x %~~% y)) HTH. Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] [R/S] strange

2004-09-01 Thread Erin Hodgess
Dear R and S People: I have run across something very strange. Here is a function that I wrote for R: boot1 - function(y,method=f,p=1) { n1 - length(y) n2 - n1*p n3 - n2 - 1 a - 0.5*(outer(1:n3,1:n3,function(x,y){n2 - pmax(x,y)})) return(a) } and here is the R output: y1 [1] 9 8 7 3 6

[R] [R/S] strange solution

2004-09-01 Thread Erin Hodgess
Dear R and S People: I ended up using the assign command, and things work in S+. boot1 - function(y,method=f,p=1) { n1 - length(y) #n2 - n1*p assign(n2,n1*p) n3 - n2 - 1 a - 0.5*(outer(1:n3,1:n3,function(x,y){n2 - pmax(x,y)})) return(a) } thanks for listening! Sincerely, Erin H mailto: [EMAIL

[R] [R/S] question re solution

2004-09-01 Thread Erin Hodgess
,function(x,y,n2.=n2){n2. - pmax(x,y)})) Why doesn't this work please? thank you! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED

[R] dev.print and win.print

2004-09-30 Thread Erin Hodgess
Dear R Users: Was there an answer to the question about using dev.print and win.print to print as horizontal = FALSE, please? I was working on it and I didn't find the solution. R 1.9.1 Windows Thanks, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL

[R] rhyp function from fBasics

2004-11-21 Thread Erin Hodgess
Dear R People: There is a function from the fBasics library to get the probability and quantiles for the hyperbolic probability function. Is there one that will estimate parms of the hyperbolic probability function from a data set, please? Thanks in advance! Sincerely, Erin Hodgess mailto

[R] simulation of Gumbel copulas

2004-11-22 Thread Erin Hodgess
Dear R: Is there a function or a reference to simulate Gumbel copulas, please? Thanks in advance! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] R version 2.0.1 windows __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] How about a mascot for R?

2004-12-02 Thread Erin Hodgess
How about an R-madillo? Erin from Texas __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] akima

2004-12-06 Thread Erin Hodgess
There is a contributed package called Akima which has the akima function. R Version 2.0.1 Windows The akima is from October 2004, so it is up to date. Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https

[R] fSeries

2005-01-05 Thread Erin Hodgess
)) Model: ARIMA(1,1,1) with method: CSS-ML Coefficient(s): ar1 ma1 -0.2562 0.2779 Hope this helps! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED

[R] way off topic

2005-01-19 Thread Erin Hodgess
Dear R People: Here is another off topic question, please: Does anyone know where to find some archaelogical data (carbon dating), please? When I googled, I got reseach papers but no data. Thanks, Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences

[R] Graphing question/possibly lattice/xyplot

2005-03-02 Thread Erin Hodgess
be done via lines and points, but I was wondering if there is a better way with lattice graphics. Thanks in advance, Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] [O/T] undergrads and R

2006-04-24 Thread Erin Hodgess
would be THRILLED to hear them, as I am using R in Summer School. Thanks, Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch

[R] GUI font size

2006-04-24 Thread Erin Hodgess
Dear R People: On the Edit menu, there is a GUI preference tab. On the Font option, the highest value is 18. Has anyone ever had the font size set larger than that will any success, please? Thanks, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University

[R] garchFit from fSeries

2006-04-26 Thread Erin Hodgess
Dear R People: I'm trying to use the garchFit function from the library(fSeries) However, R freezes every time that I use it. Is anyone else having this problem, please? Thanks in advance! R Version 2.2.1 Windows. Sincerely, Erin Hodgess Associate Professor Department of Computer

[R] garch in tseries

2006-04-26 Thread Erin Hodgess
Hello again! Is there a way to include a mean in the garch function in the library(tseries), please? I tried include.mean=T in the function statement but it didn't work thanks in advance! R Version 2.2.1 Windows Sincerely, Erin mailto: [EMAIL PROTECTED]

[R] R and Java

2006-05-09 Thread Erin Hodgess
Dear R People: Where are the rJava and SJava packages, please? I looked for them to download but they are nowhere to be found. Do they have their own list serves, please? R Windows 2.3. Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical

[R] Rorca zip?

2006-05-15 Thread Erin Hodgess
Dear R People: Is there a Windows binary for ROrca, please? When I did the search on the R site, there were several links to a zip file, but all of the links were broken. Thanks in advance! R Windows R-2.3.0 Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical

[R] choosing a mirror

2006-05-22 Thread Erin Hodgess
Dear R People: Is there a way to select a mirror from the command line instead of via a menu, please? I tried chooseCRANmirror but to no avail. Thanks in advance. R version 2.3.0 Windows. Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University

[R] factors and ops

2006-05-26 Thread Erin Hodgess
like that. Now if I used: subset(HR,as.integer(as.character(Patient)) 214) that will work. If seems to me that there may be a better way. Is that true? R Version 2.3.0 Windows Thanks in advance! sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences

[R] Math symbols for labels in Perspective plots

2006-06-10 Thread Erin Hodgess
, and , + plain(cos) * phi))) Hope this helps! By the way, this is from Windows. Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] Subject: [R] Math

[R] lowesp program in simpleLoess

2006-06-11 Thread Erin Hodgess
Dear R People: I use the binary version of R for Windows. However, I would like to look at the Fortran code for the simpleLoess function, please. How could I see the underlying Fortran code, please? Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer

[R] R kicking us out

2006-06-13 Thread Erin Hodgess
into this, please? If so, how have you solved this problem, please? Thanks in advance! R for Windows Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R

[R] latex function with lm

2006-06-21 Thread Erin Hodgess
missed it. Thanks in advance! R for Windows Version 2.3.1 Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https

[R] installing R on RedHat

2006-06-27 Thread Erin Hodgess
own userid, since I am the only one who uses it. Any suggestions would be much appreciated. Thanks, Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED

[R] put R on a web server

2006-07-15 Thread Erin Hodgess
Dear R People: Has anyone put R on a web server any time, recently, please? (Red Hat Linux) The University of Montana put a version up in 2003, but I was wondering if anyone had done so, please? Also, where would I find information on such an installation, please? thanks, Sincerely, Erin

[R] problem with mirror selection

2006-01-29 Thread Erin Hodgess
that it might be a problem with a firewall, but I thought I would check here as well. R Version 2.2.1 Windows. Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED

[R] decomposed.ts class and method

2006-02-05 Thread Erin Hodgess
for plot on decomposed.ts Any suggestions, please? Thanks in advance! R Version 2.2.1 Windows Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help

[R] R and Power Point

2006-02-13 Thread Erin Hodgess
slides for the teaching. I am currently saving the R screen as WMF files and inserting them into PowerPoint. While this works, it seems that there might be a simpler method. Does anyone have any suggestions for the Power Point, please? Thanks so much! R Version 2.2.1 Windows Sincerely, Erin

[R] R and packages

2006-02-20 Thread Erin Hodgess
for Windows, Version 2.2.1 Thanks for any help! Sorry about the totally weird problem! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help

[R] install RPM file on Redhat

2006-02-26 Thread Erin Hodgess
Dear R People: I downloaded the RPM for Red Hat Linux. How do I install this, please? When I looked at the R Intallation manual, it seemed to be referring to installing from source. Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical

[R] jpeg and pixels

2006-02-28 Thread Erin Hodgess
Dear R People: When using the jpeg function for plotting, is there a way to set the size in inches, please? There is an option for width and height in pixels, but not inches. Any suggestions would be welcome! R Version 2.2.1 Windows Thanks in advance! Sincerely, Erin Hodgess Associate

[R] R icon image file

2006-03-15 Thread Erin Hodgess
Dear R People: I would like to include a link to the R home page on a web page for students. I would like to have the R icon as part of the link. Where is the image file please? (for the icon) Thanks, Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences

[R] [OT] colors in a LaTex doc

2006-03-24 Thread Erin Hodgess
Dear R People: I know that this is COMPLETELY off topic. Does anyone know how to put colors into a LaTex document, please? This is LaTex via WinEdt. I can get colors via PcTex but not in WinEdt. Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer

[R] EXTREMELY off topic

2004-05-02 Thread Erin Hodgess
Dear R People: Someone in the group has a profound statement by Albert Einstein in his or her signature set. The statement is something like: make things as simple as possible, but no simpler. could you please send me the exact quote? Thanks, Erin mailto: [EMAIL PROTECTED]

[R] cointegration

2004-05-03 Thread Erin Hodgess
Dear R People: Is there a function for cointegration in any of the libraries, please? for R Windows, please? thanks, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED

[R] [R ESS]

2004-04-28 Thread Erin Hodgess
, Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] [R ESS] please disregard prev. message

2004-04-28 Thread Erin Hodgess
Wrong name in init.el Sorry, Erin __ [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

[R] [R ESS] one more thing.....

2004-04-28 Thread Erin Hodgess
Ok. R loads up. But when I try to use Ctrl-x-o or any control/escape key in the minibuffer, I get XEmacs does not own the primary selection Any ideas, please? Thanks yet again, Erin mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list

[R] ARIMAX-ARCH

2004-04-29 Thread Erin Hodgess
Please try the library(tseries) There are functions for garch in there. __ [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

[R] off topic publication question

2004-06-08 Thread Erin Hodgess
, please? Thanks for the off topic help. Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch

[R] problem with arima

2004-06-24 Thread Erin Hodgess
Hi Laura! in your last line, you have myforecast$pred instead of my.forecast$pred Hope this helps! If that's not it, try str(my.list) str(my.forecast$pred) and check to see that they are both time series Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical

[R] priceIts problem

2004-07-01 Thread Erin Hodgess
`http://chart.yahoo.com/table.csv?s=ibma=0b=01c=1998d=5e=30f=2004g=dq=qy=0z=ibmx=.csv' In addition: Warning message: cannot open: HTTP status was `404 Not Found' This has been working fine until tonight. Has anyone else seen this, please? thanks in advance! Sincerely, Erin Hodgess Associate

Re: [R] shading in line plots

2005-04-28 Thread Erin Hodgess
There is a force function in the Base package! Does that counteract the evil of the try function? Erin __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] Windows list of Folders

2005-04-29 Thread Erin Hodgess
Hi Kenneth: I tried: list.files(path=c:\\pctexv4\\samples) and that worked just fine. Hope this helps! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: [R

[R] Tukey HSD

2005-05-11 Thread Erin Hodgess
Hi all! __ 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

[R] locator()

2005-06-03 Thread Erin Hodgess
) invisible() } Hope this helps! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

[R] intervals and data frames

2005-06-06 Thread Erin Hodgess
elsewhere. I'm trying to use a data frame in which the first column represents the values from -1 to 1. The remaining columns are initially set to zero. Also, I'm trying to avoid loops. Any suggestions would be much appreciated. Thanks in advance, Sincerely Erin Hodgess Associate Professor Department

[R] write.foreign and SPSS

2005-07-05 Thread Erin Hodgess
Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ 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

[R] Histogram question

2003-09-02 Thread Erin Hodgess
to width), please? I was experimenting with the truehist function and changed the code for the est value. However, the y axis labels are not at the same levels between the prob = T and prob = F when that change is made. This is R 1.7.1 for Windows. thanks in advance! Sincerely, Erin Hodgess

[R] Sampling rows from a list

2003-09-19 Thread Erin Hodgess
Dear R People: Here is a function that someone asked for today. This is getting the sample from different rows from a list. Hope this helps! Sincerely, Erin oe1 function(n) { a1 - n%%3 n1 - seq(from=2,to=(n-1+a1),by=3) n2 - c(1:n)[-n1] if(a1 == 1)n2 -

[R] install problem with R Windows

2003-09-23 Thread Erin Hodgess
Dear R People: I'm trying to install R 1.7.1 for Windows from Source. The error that I get is: previous declarion of 'ssize_t' MAKE[2]: ***[internet.o]Error 1 MAKE[1]: ***[all]Error 1 MAKE: *** [rmodules] Error 2 Any ideas on how to proceed, please? thanks in advance! Sincerely, Erin Hodgess

[R] install R for Windows problem

2003-09-23 Thread Erin Hodgess
Here are all of the messages: In file included from internet.c:858: sock.h.27:conflicting types for 'ssize_t' c:/mingw/include/sys/types.h:119: previous declaration of 'ssize_t' MAKE[2]: ***[internet.o] Error 1 MAKE[1]: ***[all] Error 1 MAKE: ***[rmodules] Error 2

[R] install from source again

2003-10-01 Thread Erin Hodgess
What does Error 255 stand for in the make bitmapdll, please? Thanks, erin [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] POSIX

2003-10-28 Thread Erin Hodgess
Dear R People: I have a question about POSIX. Is this an acronym for something? If I want to refer to this in a paper, what is the proper way to do so, please? Thanks so much! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED

[R] ts vs. POSIX

2003-10-28 Thread Erin Hodgess
OK. What if I have a time series which is collected every Monday, please? What is the proper way to use the start option within the ts command in order to indicate that this is Monday data, please? Thanks again! Sincerely, Erin __ [EMAIL PROTECTED]

[R] Cointegration

2003-11-04 Thread Erin Hodgess
Do any packages exist for cointegration, please? Do we need them, if the answer to the previous is no, please? Thanks, Erin mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] simple compile/Fortran question

2003-11-08 Thread Erin Hodgess
Dear R People: I was finally able to compile R ffrom source on a Linux Red Hat 7.2 With R-1.8.0 I would like to test out a simple Fortran subroutine with R. Here is the output: [EMAIL PROTECTED] bin]$ ./R CMD SHLIB -o test1.so test1.f g77 -mieee-fp -fPIC -g -O2 -c

[R] Expressions and Functions

2003-11-14 Thread Erin Hodgess
for the help! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Durbin Watson

2003-12-08 Thread Erin Hodgess
the Durbin Watson function is in the car library. thanks, Erin __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Durbin Watson thanks!

2003-12-08 Thread Erin Hodgess
Hi all The Durbin Watson is also in the lmtest library as dwtest. Thanks to all of you who answered so promptly!! R Help rocks! Sincerely, Erin __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Matrix to Dates

2003-12-08 Thread Erin Hodgess
Hello again R People: If I have a matrix with 2 columns z1 1960 1 1960 9 1961 6 __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] Matrix to dates

2003-12-08 Thread Erin Hodgess
Let's try again! I have a matrix in which the first column is a four digit year, and the second column is a 2 digit month. How do I convert the matrix to a date function, please? Thanks, Erin Version 1.8.0 mailto: [EMAIL PROTECTED] __ [EMAIL

[R] Long memory ts answer

2003-01-06 Thread Erin Hodgess
fracdiff has its own package called fracdiff. thank you for your great forbearance. Sincerely, Erin __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] .Random.seed vs. set.seed

2003-04-01 Thread Erin Hodgess
Dear R People: What is the difference betwween .Random.seed - seed vs. set.seed please? Thank you so much! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] Version 1.5.1 for Windows __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch

[R] Answer to .Random.seed vs. set.seed

2003-04-01 Thread Erin Hodgess
Here is the answer to the .Random.seed vs. set.seed question: On Tue, 1 Apr 2003, Erin Hodgess wrote: Dear R People: What is the difference betwween .Random.seed - seed vs. set.seed please? 1) In the first you have to know a suitable value for `seed', and that's far from easy

[R] Multivariate Time series

2003-04-02 Thread Erin Hodgess
Dear R People: Is there a library for Multivariate time series, please? For some reason, I'm thinking that Dr. Paul Gilbert may have one? R Version 1.6.2 (i've updated!) for Windows Thanks so much! Sincerely, Erin Hodgess University of Houston - Downtown mailto: [EMAIL PROTECTED

[R] Number lines

2003-06-11 Thread Erin Hodgess
Hi R People! Does anyone have a function that produces number lines, please? It's not a big deal to do, but I thought that I would avoid re-inventing the wheel, if it's already there. Actually, I want to do a dotplot and dotchart just doesn't do it. Thanks! Erin Version 1.7.0 for Windows

[R] summary to breaks question

2003-06-12 Thread Erin Hodgess
Dear R People: thanks SO MUCH for the quick responses to the breaks questions. Here are two possible solutions: I think what you're looking for is ?cut: R xx = c(-2.0, 1.4, -1.2, -2.2, 0.4, 1.5, -2.2, 0.2,

[R] bootstrap question

2003-06-12 Thread Erin Hodgess
like to see those means. If I use the boot command, boot(x,mean,R=40)$t I thought that I would obtain 40 different values. However, those $t values are all the same. what am I doing wrong, please? thanks yet again! sincerely, Erin Hodgess mailto: [EMAIL PROTECTED

[R] mode of a data set

2003-06-23 Thread Erin Hodgess
Dear R People: Is there a function to find the mode of a data set, please? This is the mode as in the value(s) which occur most often. Thanks so much! R for Windows, v 1.7.0 Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED

[R] Summary for mode of a data set

2003-06-23 Thread Erin Hodgess
Dear R People: thank you for the many helpful sets of code that I received!!! I combined several of the concepts for the following function: mode1 function(x) { y - rle(sort(x)) z - y$values[y$lengths==max(y$lengths)] return(z) } xm [1] 22 15 10 30 25 26 2 17

[R] A final global mode function

2003-06-23 Thread Erin Hodgess
PROTECTED] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ravi Varadhan [EMAIL PROTECTED] CC: Erin Hodgess [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [R] Summary for mode of a data set References

[R] data.entry function

2003-06-24 Thread Erin Hodgess
Dear R People: Does anyone use the data.entry function, please? I would like to create a data frame with a character column1, a numeric colum2, and a numeric col3. I would think that data.entry(x,y,z) would work. However, I get a syntax error for function de. Does anyone have any hints

[R] citing an R help file

2003-07-27 Thread Erin Hodgess
Dear R People: What is the correct way to cite help files for a function in R, please? (I'm referring to the online HTML documentation.) Thank you in advance! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https

[R] another citation question

2003-07-27 Thread Erin Hodgess
Dear R People: What is the correct way to cite the manuals available online, please, such as An Introduction to R? Thanks again, Erin [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] dist(x,y)

2004-01-06 Thread Erin Hodgess
Hi Ryszard! There is a dist function in R. It's in the mva package. You can set the kind of distance that you want. Thanks, Erin mailto:[EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] Matrix exponential

2004-01-20 Thread Erin Hodgess
How about this: expm function(x,pow=2) { xd - diag((eigen(x)$values^pow)) xm - eigen(x)$vector %*% xd %*% t(eigen(x)$vector) return(xm) } xa [,1] [,2] [1,]21 [2,]13 expm(xa,pow=3) [,1] [,2] [1,] 15 20 [2,] 20 35 xa %*% xa %*% xa [,1] [,2] [1,]

[R] data.entry question

2004-01-22 Thread Erin Hodgess
Dear R People: When I use data.entry for a new variable, the first entry is a NA The function works all right, but then I get a Warning message: data.entry(xb,Modes=numeric) Warning message: NAs introduced by coercion Since the function works acceptably, should I just ignore the warning

[R] confidence intervals

2004-01-22 Thread Erin Hodgess
Hi Yun Fan! Have you looked at predict.lm? It can give you confidence and prediction intervals. Hope this helps! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r

[R] boot vs. bootstrap

2004-01-24 Thread Erin Hodgess
Version 1.8.1 for Windows. Thank you for your help in advance! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

[R] Plotting question

2004-02-05 Thread Erin Hodgess
Hi Felix: How about this: n1.Plot function(x,my=0,sigma=1) { f.x - dnorm(x,mean=my,sd=sigma) plot(x,f.x,type=l,xlim=c(-5,5)) return(f.x) } Hope this helps! Sincerely, Erin Hodgess mailto: [EMAIL PROTECTED] i have written this little function to draw different normal distributions: n.Plot

[R] Stepwise regression and pacf

2004-02-28 Thread Erin Hodgess
Hello Tomas! There are functions for pacf and plot.acf. They are in library(ts) Hope this helps! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sat, 28 Feb 2004

[R] Phase Plane

2004-02-28 Thread Erin Hodgess
Dear R People: Is there a function available to for phase plane plotting, please? Thanks, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] PS R 1.8.1 on Windows XP 2000

[R] time series with diff. y axes

2004-03-02 Thread Erin Hodgess
- ts(y2,start=c(1996,1),freq=12) par(mar=rep(5,4)) plot(y1.ts,ylab=Horses) par(new=T) plot(window(y2.ts,start(y1.ts),end(y1.ts)),lty=2, + axes=F,ylab= ) axis(4) mtext(Hounds,side=4,line=3) title(main=Horses and Hounds) Hope this helps! Sincerely, Erin Hodgess Associate Professor Department

[R] partial correlation?

2004-03-03 Thread Erin Hodgess
Hi R People! Are Tomas and Scott looking for partial correlation, please? Do they mean something like r_1.23, please? Thanks, Erin __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] get.hist.quote

2004-03-03 Thread Erin Hodgess
Dear R People: Here is a silly one: Where is get.hist.quote, please? Thanks, Erin mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] country codes

2004-03-04 Thread Erin Hodgess
Dear R People: Someone was looking for a country code list: http://kropla.com/dialcode.htm#table Have fun! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED

[R] vector and replace.

2004-03-12 Thread Erin Hodgess
Hi Yong! How about this: gsr - sample(c(g,r,y),replace=T,15) gsr [1] r g r g y y r r y g r y r r g as.numeric(as.factor(gsr)) [1] 2 1 2 1 3 3 2 2 3 1 2 3 2 2 1 Hope this helps! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University

[R] integration in symbols

2004-03-21 Thread Erin Hodgess
Dear R People: Are there any functions for integration in R, please? Not integrateThat return a numeric value. I mean symbolic integration...the moral equivalent of D and deriv, please. Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical

[R] another date conversion

2004-03-22 Thread Erin Hodgess
1.8.1 Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE

[R][S] library question

2004-03-24 Thread Erin Hodgess
Dear R and S+ People: Is it possible to take one of the R libraries and put it into S+ please? R Windows XP 1.8.1 S+ Version 6.2 Thanks in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL

[R] availability of version 1.9.0?

2004-03-27 Thread Erin Hodgess
in advance! Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE

  1   2   >