[R] Automatic detachment of dependent packages

2007-09-07 Thread Paul Smith
package:graphics" "package:grDevices" "package:utils" [10] "package:datasets" "package:methods" "Autoloads" [13] "package:base" The packages RSQLite DBI gsubfn proto were not detached. Thanks in advance, Paul __

[R] ploting missing data

2007-09-07 Thread Markus Schmidberger
tät München IBE - Institut für medizinische Informationsverarbeitung, Biometrie und Epidemiologie Marchioninistr. 15, D-81377 Muenchen URL: http://ibe.web.med.uni-muenchen.de Mail: Markus.Schmidberger [at] ibe.med.uni-muenchen.de __ R-help@stat.math.ethz

Re: [R] help on replacing values

2007-09-07 Thread Gabor Grothendieck
setosa","NewName") > Warning message: > invalid factor level, NAs generated in: `[<-.factor`(`*tmp*`, list, > value = "NewName") > > Thanks in advance your help, > > David > > __ > R-

Re: [R] variable format

2007-09-07 Thread Gabor Grothendieck
the Introduction to R manual and look at ?data.frame, ?subset and ?"%in%" On 9/4/07, Cory Nissen <[EMAIL PROTECTED]> wrote: > Okay, I want to do something similar to SAS proc format. > > I usually do this... > > a <- NULL > a$divisionOld <- c(1,2,3,4,5)

[R] help on replacing values

2007-09-07 Thread darteta001
actor`(`*tmp*`, list, value = "NewName") Thanks in advance your help, David ______ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] Running geeglm unstructured corstr

2007-09-07 Thread Ulrich Halekoh
major 2 minor 5.1 year 2007 month 06 day27 svn rev42083 language R

[R] FW: variable format

2007-09-07 Thread Cory Nissen
Anybody? From: Cory Nissen Sent: Tue 9/4/2007 9:30 AM To: r-help@stat.math.ethz.ch Subject: variable format Okay, I want to do something similar to SAS proc format. I usually do this... a <- NULL a$divisionOld <- c(1,2,3,4,5) divisio

Re: [R] computing distance in miles or km between 2 street

2007-09-07 Thread Monica Pisica
with all the other attributes attached to it and calculate distances because it "knows" coordinates, a network of roads and so on. I am not sure this helps but at least maybe gives you some ideas where to look next. Monica Message: 53Date: Thu, 06 Sep 2007 14:42:32 -0400From: Philip

Re: [R] negative value for AIC and BIC

2007-09-07 Thread John Sorkin
me if something is wrong or his > conclusion concerning my model? > > Best regards, > Olivier. > > ______ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide >

Re: [R] Finding convex hull? [Broadcast]

2007-09-07 Thread Liaw, Andy
more carefully, you should have seen that convhulln (geometry) will handle more than 3 dimensions. Andy > Thank you in advance. > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE d

Re: [R] SQL like function?

2007-09-07 Thread Gabor Grothendieck
Others have already pointed out %in% but regarding your comment about SQL, you can use SQL to manipulate R data frames using the sqldf package which provides an interface to lower level RSQLite (and RMySQL in the future) routines. The following examples use SQLite underneath: DF <- data.fr

[R] R survey package again

2007-09-07 Thread eugen pircalabelu
Hi R-users!! I have some trouble with the survey pakage and i would be very glad if you can give me an advice. I have a sample from a survey where household were interviewed. The sample has 4 criteria on which the stratification was based: REGION, SIZE OF HOUSEHOLD, SIZE OF LOCALITY

Re: [R] text in boxplots

2007-09-07 Thread Yves Moisan
Hi Greg, Actually, I'm using the scatterplot function in the car namespace. My understanding is that the scatterplot is turned into a boxplot when the x variable is a factor, but I can't see that in the code of the function. I've successfully modified the function to output regr

Re: [R] 'singular gradient matrix? when using nls() and how to make the program skip nls( ) and run on

2007-09-07 Thread Joerg van den Hoff
lem, the whole > program stops. In my case, the 3rd nls() runs into a problem. I would > still need the program to run the remaining 217 nls( )! Is there a way to > make the program skip the problematic nls() and complete the ramaining > nls()'s? ?try > > > > Your help will

Re: [R] negative value for AIC and BIC

2007-09-07 Thread Hannu Kahra
s, so I am a > little suprised... Could anyone tell me if something is wrong or his > conclusion concerning my model? > > Best regards, > Olivier. > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/list

[R] negative value for AIC and BIC

2007-09-07 Thread Olivier MARTIN
usion concerning my model? Best regards, Olivier. ______ 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 and provide commented, minimal, self-cont

Re: [R] Survey package

2007-09-07 Thread James Reilly
> >design <- svydesign (id=~1, strata= ~regiune + size_loc + age_rec_hhh + size_hh, data= tabel) >and then weights(design) > > gives me: 1,1,1,1,1,1,1,1,1,1,1,... for each element The weights are all 1 because you haven't told R how they should be

Re: [R] write geotiff with projection - RGDAL package

2007-09-07 Thread Roger Bivand
On Thu, 6 Sep 2007, Monica Pisica wrote: > > Hi, > > Doing more search i've discovered package RGDAL that can write a geotiff > file with projection. I saved a geotiff file in UTM projection and if i > read the file back in R and check the projection seems that everyt

Re: [R] SQL like function?

2007-09-06 Thread Moshe Olshansky
am a code that returns a > results showing > matched observations like > > result: TRUE FALSE TRUE TRUE FALSE > > I am reading S programming, but I cannot find a way > to do this. > > Thank you very much. > > Taka > > _____

Re: [R] contourplot lines, text, and mtext

2007-09-06 Thread Frede Aakmann Tøgersen
Sciences immediately and delete this email. Fra: [EMAIL PROTECTED] på vegne af Richard D. Morey Sendt: fr 07-09-2007 03:28 Til: r-help@stat.math.ethz.ch Emne: [R] contourplot lines, text, and mtext If I have a contourplot (in the lattice package) and I want to add straight lines to it, how do I

[R] Finding convex hull?

2007-09-06 Thread Dong-hyun Oh
), calcConvexHull (PBSmapping). I also would like to know if there is a function that can be used for finding convex hull in multi-dimensional case, that is more than 3- dimension. Thank you in advance. __ R-help@stat.math.ethz.ch mailing list

Re: [R] SQL like function?

2007-09-06 Thread Benilton Carvalho
turns a results showing > matched observations like > > result: TRUE FALSE TRUE TRUE FALSE > > I am reading S programming, but I cannot find a way to do this. > > Thank you very much. > > Taka > > ______ > R-help@stat.math.e

Re: [R] SQL like function?

2007-09-06 Thread Takatsugu Kobayashi
Thank you very much. Taka __ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] The variables combined in a table from other table and combination questions

2007-09-06 Thread Stephen Weigand
1 > [3] 2 > [4] 3 > [5] n > > > Moreover, the values of pH and Formulation column are > the combination questions. The values of pH and > Formulation column should be the combinations such as > (1.2, F), (1.2, S), (1.2, MF), (7

Re: [R] randomForest help

2007-09-06 Thread Liaw, Andy
need that to be in ascii, use ascii=TRUE in save(). You can get it back into R by using load() or attach(). To "run data down the model", use predict(Rfobject, datatopredict) (see ?predict.randomForest). What exactly do you want to print to a csv file, the prediction? See ?write or ?writ

Re: [R] Variable Importance - Random Forest

2007-09-06 Thread Liaw, Andy
I'm slowly clearing my back-log of r-help messages... Please see reply inline below. Andy > From: Mathe, Ewy (NIH/NCI) [F] > Hello, > > > > I am trying to explore the use of random forests for > classification and > am certain about the interpretation o

Re: [R] categorical variable coefficients in QSAR [Broadcast]

2007-09-06 Thread Liaw, Andy
No one seemed to have picked up on this, so I'll take a stab: You need to read para and meta into R as factors, and if you want the coefficients to match the way you showed, you also need to take care that the factor levels are in the same order as you showed in the coefficient table.

[R] contourplot lines, text, and mtext

2007-09-06 Thread Richard D. Morey
rch Assistant, Perception and Cognition Lab University of M issouri-Columbia ______ 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 and provide comme

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread David Scott
On Thu, 6 Sep 2007, Nordlund, Dan (DSHS/RDA) wrote: >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Murdoch >> Sent: Thursday, September 06, 2007 4:54 PM >> To: [EMAIL PROTECTED] >> Cc: r-help@s

[R] write.csv / string extraction and field limits

2007-09-06 Thread kwaj
ers -- View this message in context: http://www.nabble.com/write.csv---string-extraction-and-field-limits-tf4395535.html#a12534347 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mai

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Murdoch > Sent: Thursday, September 06, 2007 4:54 PM > To: [EMAIL PROTECTED] > Cc: r-help@stat.math.ethz.ch; Philip James Smith > Subject: Re: [R] computing distance in

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread hadley wickham
On 9/6/07, Ted Harding <[EMAIL PROTECTED]> wrote: > On 06-Sep-07 18:42:32, Philip James Smith wrote: > > Hi R-ers: > > > > I need to compute the distance between 2 street addresses in > > either km or miles. I do not care if the distance is a "shortest >

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Philip James Smith
Thank you for your useful response. I will study it carefully. Best regards, Phil Smith (Ted Harding) wrote: > On 06-Sep-07 18:42:32, Philip James Smith wrote: > >> Hi R-ers: >> >> I need to compute the distance between 2 street addresses in >> either km

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Duncan Murdoch
On 06/09/2007 7:36 PM, Roland Rau wrote: > François Pinard wrote: >> I wonder what happened, for R to hide the underlying Scheme so fully, at >> least at the level of the surface language (despite there are hints). > > As far as I understood, the original version o

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Marc Schwartz
On Thu, 2007-09-06 at 16:40 -0700, Henrik Bengtsson wrote: > On 9/6/07, Rolf Turner <[EMAIL PROTECTED]> wrote: > > > > On 7/09/2007, at 10:17 AM, (Ted Harding) wrote: > > > > > On 06-Sep-07 18:42:32, Philip James Smith wrote: > > >> Hi R-ers: > &

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Duncan Murdoch
On 06/09/2007 6:17 PM, (Ted Harding) wrote: > On 06-Sep-07 18:42:32, Philip James Smith wrote: >> Hi R-ers: >> >> I need to compute the distance between 2 street addresses in >> either km or miles. I do not care if the distance is a "shortest >> driving

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Henrik Bengtsson
On 9/6/07, Rolf Turner <[EMAIL PROTECTED]> wrote: > > On 7/09/2007, at 10:17 AM, (Ted Harding) wrote: > > > On 06-Sep-07 18:42:32, Philip James Smith wrote: > >> Hi R-ers: > >> > >> I need to compute the distance between 2 street addresses in > &

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Roland Rau
François Pinard wrote: > I wonder what happened, for R to hide the underlying Scheme so fully, at > least at the level of the surface language (despite there are hints). As far as I understood, the original version of Ihaka/Gentleman was written in Scheme. But even if you look at the

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Bert Gunter
stics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Harding Sent: Thursday, September 06, 2007 3:18 PM To: Philip James Smith; r-help@stat.math.ethz.ch Subject: Re: [R] computing distance in miles or km between 2 street addre On 06-Sep-07 18:42:32, Philip

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Rolf Turner
On 7/09/2007, at 10:17 AM, (Ted Harding) wrote: > On 06-Sep-07 18:42:32, Philip James Smith wrote: >> Hi R-ers: >> >> I need to compute the distance between 2 street addresses in >> either km or miles. I do not care if the distance is a "shortest >> driving

Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Ted Harding
On 06-Sep-07 18:42:32, Philip James Smith wrote: > Hi R-ers: > > I need to compute the distance between 2 street addresses in > either km or miles. I do not care if the distance is a "shortest > driving route" or if it is "as the crow flies." > > Does an

Re: [R] Lisp-like primitives in R

2007-09-06 Thread François Pinard
[Chris Elsaesser] >> I mainly program in Common Lisp and use R for statistical analysis. >> While in R I miss the power and ease of use of Lisp, especially its >> many primitives such as find, member, cond, and (perhaps a bridge too >> far) loop. Has anyone created a

Re: [R] 'singular gradient matrix’ when using nl s() and how to make the program skip nls( ) and run on

2007-09-06 Thread Gabor Grothendieck
)! Is there a way to > make the program skip the problematic nls() and complete the ramaining > nls()'s? > > > > Your help will be highly appreciated! > > Yuchen Luo > >[[alternative HTML version deleted]] > > ___

[R] computing distance in miles or km between 2 street addresses

2007-09-06 Thread Philip James Smith
Hi R-ers: I need to compute the distance between 2 street addresses in either km or miles. I do not care if the distance is a "shortest driving route" or if it is "as the crow flies." Does anybody know how to do this? Can it be done in R? I have thousands of addres

[R] [R-pkgs] New R package plink for separate calibration IRT linking

2007-09-06 Thread Jonathan Weeks
ope this will be a useful package for those interested in test linking. I invite any comments and suggestions. Take care -- Jonathan Weeks Doctoral Candidate School of Education University of Colorado, Boulder [EMAIL PROTECTED] 303-517-9666 ___ R-packages m

[R] 'singular gradient matrix’ when using nl s() and how to make the program skip nls( ) and run on

2007-09-06 Thread Yuchen Luo
en Luo [[alternative HTML version deleted]] __ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] Warning message with aggregate function

2007-09-06 Thread Bartjoosen
> Dear all, > When I use aggregate function as: > > attach(warpbreaks) > aggregate(warpbreaks[, 1], list(wool = wool, tension = tension), sum) > > The results are right but I get a warning message: > "number of items to replace is not a multiple of replacement length

[R] incomplete latin square design

2007-09-06 Thread Lei Liu
treatment combinations. This looks like a incomplete latin square design. Is there any function in R to create such design? Thanks a lot! Lei Liu Assistant Professor Division of Biostatistics and Epidemiology Department of Public Health Sciences School of Medicine University of Virginia 3181 Hospital

Re: [R] text in boxplots

2007-09-06 Thread Greg Snow
are [EMAIL PROTECTED] (801) 408-8111 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Yves Moisan > Sent: Thursday, September 06, 2007 2:34 PM > To: r-help@stat.math.ethz.ch > Subject: [R] text in boxplots > > > Hi A

[R] text in boxplots

2007-09-06 Thread Yves Moisan
plots-tf4394528.html#a12530892 Sent from the R help mailing list archive at Nabble.com. __ 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 a

[R] larger decimal numbers get rounded ....

2007-09-06 Thread Monica Pisica
as they are? Thanks, Monica _ e=wlmailtagline [[alternative HTML version deleted]] ______ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] larger decimal numbers get rounded ....

2007-09-06 Thread Greg Snow
gt; From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Monica Pisica > Sent: Thursday, September 06, 2007 1:24 PM > To: r-help@stat.math.ethz.ch > Subject: [R] larger decimal numbers get rounded > Importance: High > > > Hi, > > I am sure there is a r

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Greg Snow
Not all of us are familiar with lisp (I have done a little, but not enough to really understand what you are asking). If you tell us what find, member, cond, and loop do, or what functionality you are looking for, then we will have a better chance of telling you how to do the same in R. Just

Re: [R] labelling specific points xyplot

2007-09-06 Thread Deepayan Sarkar
On 9/6/07, GOUACHE David <[EMAIL PROTECTED]> wrote: > Hello R-helpers, > > I'm trying to add labels to points in xyplot graphs, but I want lo label only > those points which have a certain level of my grouping variable, and have > encountered a few problems. > An exa

Re: [R] problems in read.table-Solved

2007-09-06 Thread tkobayas
Thank you very much for help. I am learning R every day Taka Quoting Peter Dalgaard <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: >> Dear R-users, >> >> I have encountered the following problem every now and then. But I >> was dealing with a very sma

Re: [R] larger decimal numbers get rounded ....

2007-09-06 Thread Mark Wardle
tes and i don't want them rounded how can i keep them as they > are? > > Thanks, > > Monica > _ > > > e=wlmailtagline > [[alternative HTML version deleted]] > > ___

Re: [R] problems in read.table

2007-09-06 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > Dear R-users, > > I have encountered the following problem every now and then. But I was > dealing with a very small dataset before, so it wasn't a problem (I > just edited the dataset in Openoffice speadsheet). This time I have to > deal w

Re: [R] problems in read.table

2007-09-06 Thread Gabor Grothendieck
See ?count.fields to get a vector of how many fields are on each line. Also fill = TRUE on read.table() can be used to fill out short lines if that is appropriate. On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Dear R-users, > > I have encountered the following proble

[R] write geotiff with projection - RGDAL package

2007-09-06 Thread Monica Pisica
Hi, Doing more search i've discovered package RGDAL that can write a geotiff file with projection. I saved a geotiff file in UTM projection and if i read the file back in R and check the projection seems that everything is OK. But if i load the file in ArcGIS (ESRI product) i get the wa

Re: [R] Lisp-like primitives in R

2007-09-06 Thread Gabor Grothendieck
Reduce, Filter and Map are part of R 2.6.0. Try ?Reduce On 9/6/07, Chris Elsaesser <[EMAIL PROTECTED]> wrote: > I mainly program in Common Lisp and use R for statistical analysis. > > While in R I miss the power and ease of use of Lisp, especially its many > primitives such as

Re: [R] problems in read.table

2007-09-06 Thread tkobayas
Dear R-users, I have encountered the following problem every now and then. But I was dealing with a very small dataset before, so it wasn't a problem (I just edited the dataset in Openoffice speadsheet). This time I have to deal with many large datasets containing commuting flow da

Re: [R] Excel

2007-09-06 Thread Gabor Grothendieck
ut > it looks ugly. Yes, when loading the data in R you could easily clean > it up automatically... doable. > You can add a space. Then it will not show, but you have to remember > that if you ever use the data for labels etc. You shouldn't need to do > that in the first place.

Re: [R] Excel

2007-09-06 Thread J . delasHeras
Yes, and then you save it, you open it again... same behaviour. The only way I found around it was to insert a character at the beginning of every element in such columns. An apostrophe works, but it looks ugly. Yes, when loading the data in R you could easily clean it up automatically

[R] Lisp-like primitives in R

2007-09-06 Thread Chris Elsaesser
I mainly program in Common Lisp and use R for statistical analysis. While in R I miss the power and ease of use of Lisp, especially its many primitives such as find, member, cond, and (perhaps a bridge too far) loop. Has anyone created a package that includes R analogs to a subset of Lisp

Re: [R] Excel

2007-09-06 Thread Gabor Grothendieck
m with an easy solution. But it isn't. There are > too many variations. > > > A similar problem occurs in R's read.table() function when a factor > > has levels that can be interpreted as numbers. > > at least with read.table you can specify the classes of each c

Re: [R] Excel

2007-09-06 Thread J . delasHeras
itute for Cell & Molecular BiologyFax: +44 (0)131 6507360 Swann Building, Mayfield Road University of Edinburgh Edinburgh EH9 3JR UK -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. __ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] Excel

2007-09-06 Thread J . delasHeras
ot; is not the same. It seems like a problem with an easy solution. But it isn't. There are too many variations. > A similar problem occurs in R's read.table() function when a factor > has levels that can be interpreted as numbers. at least with read.table you can specify the classe

Re: [R] Excel

2007-09-06 Thread J . delasHeras
ey know better than you what you want to do. > > --- David Scott <[EMAIL PROTECTED]> wrote: > >> >> A common process when data is obtained in an Excel >> spreadsheet is to save >> the spreadsheet as a .csv file then read it into R. >> Experienced us

Re: [R] Monotone splines

2007-09-06 Thread Stephen Ellner
Servien remi ([EMAIL PROTECTED]) wrote: >I want to use splines to estimate a function but i want to force the >interpolation to be monotone. Is this possible with R ? There are a few options. You can use mono.con in mgcv (see the example code in ?pcls), or smooth.monotone in fda. In b

Re: [R] Synchronzing workspaces

2007-09-06 Thread Liaw, Andy
licitly with save(list = > ls(all=TRUE), file = ".RData", ascii = T). > > > > Paul. > > > > > > - Original Message > > From: Gabor Grothendieck <[EMAIL PROTECTED]> > > To: Paul August <[EMAIL PROTECTED]> > > Cc: r-help@stat.math.ethz.ch

Re: [R] Recursive concatenation

2007-09-06 Thread Marc Schwartz
Or: > sort(levels(interaction(LETTERS[1:3], 1:3, sep = ""))) [1] "A1" "A2" "A3" "B1" "B2" "B3" "C1" "C2" "C3" Marc On Thu, 2007-09-06 at 11:46 -0400, Liaw, Andy wrote: > Or something like:

Re: [R] Recursive concatenation

2007-09-06 Thread Liaw, Andy
Or something like: R> do.call(paste, c(expand.grid(LETTERS[1:3], 1:3), sep="")) [1] "A1" "B1" "C1" "A2" "B2" "C2" "A3" "B3" "C3" (The ordering is bit different, but that shouldn&#x

Re: [R] Monotonic interpolation

2007-09-06 Thread roger koenker
nivariate function (like a distribution >> function for >> example) ? > > approxfun() might be what your looking for. > > Is the result of approxfun() inevitably monotonic ? > -- > View this message in context: http://www.nabble.com/Monotonic- > interpolation-tf4392288.

Re: [R] Monotonic interpolation

2007-09-06 Thread Liaw, Andy
> > > Bert Gunter > Genetech Nonclinical Statistics > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of excalibur > Sent: Thursday, September 06, 2007 8:04 AM > To: r-help@stat.math.ethz.ch > Subject: Re: [R] Monotonic interpola

Re: [R] Monotonic interpolation

2007-09-06 Thread Bert Gunter
Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of excalibur Sent: Thursday, September 06, 2007 8:04 AM To: r-help@stat.math.ethz.ch Subject: Re: [R] Monotonic interpolation Le jeu. 6 sept. à 09:45, excalibur a écrit : > > Hello everybody, has anyone

Re: [R] Monotonic interpolation

2007-09-06 Thread excalibur
Is the result of approxfun() inevitably monotonic ? -- View this message in context: http://www.nabble.com/Monotonic-interpolation-tf4392288.html#a12524568 Sent from the R help mailing list archive at Nabble.com. __ R-help@stat.math.ethz.ch mailing list ht

Re: [R] Monotonic interpolation

2007-09-06 Thread Vincent Goulet
t your looking for. __ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] creat list

2007-09-06 Thread Gabor Grothendieck
> now is cbind(lista[[1]],lista[[2]],...,lista[[50]]). I guess there would be > an easy way of doing this. Could anyone give me some advice? > -- > View this message in context: > http://www.nabble.com/creat-list-tf4391162.html#a12519637 > Sent from the R help mailing list archive

Re: [R] Warning message with aggregate function

2007-09-06 Thread Xingwang Ye
to restart your R. Xingwang Ye Uwe Ligges wrote: > > > Xingwang Ye wrote: >> Dear all, >> When I use aggregate function as: >> >> attach(warpbreaks) >> aggregate(warpbreaks[, 1], list(wool = wool, tension = tension), sum) >> >> The results are righ

[R] Monotonic interpolation

2007-09-06 Thread excalibur
the R help mailing list archive at Nabble.com. __ 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 and provide commented, minimal, self

[R] labelling specific points xyplot

2007-09-06 Thread GOUACHE David
Hello R-helpers, I'm trying to add labels to points in xyplot graphs, but I want lo label only those points which have a certain level of my grouping variable, and have encountered a few problems. An example dataframe that goes with the following code is at the end of this message. 1st

[R] Survey package

2007-09-06 Thread eugen pircalabelu
deleted]] ______ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] the survey package

2007-09-06 Thread Tobias Verbeke
data=tabel) HTH, Tobias P.S. See http://faculty.washington.edu/tlumley/survey/ for all information relating to this package. -- Tobias Verbeke - Consultant Business & Decision Benelux Rue de la révolution 8 1000 Brussels - BELGIUM +32 499 36 33 15 [EMAIL PROTECTED] __

Re: [R] kendall test

2007-09-06 Thread John Kane
?cor perhaps --- elyakhlifi mustapha <[EMAIL PROTECTED]> wrote: > Hello, > I thougth that there is a function which does the > kendall test in R, > I writed on the console apropos("kendall") and I > didn't found anything can you tell me how could I do

Re: [R] read.table

2007-09-06 Thread Peter Dalgaard
k Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 __ 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.

[R] read.table

2007-09-06 Thread Ingo Holz
Hi, I want to read a ascii-file using the function read.table. With 'skip' and 'nrows' I can select the rows to read from this file. Is there a way to select columns (in the selected rows)? Thanks, Ingo ______ R-help@stat.math.

Re: [R] order intervals in a data.frame

2007-09-06 Thread Peter Dalgaard
the point, but it is a bit fortuitous that it works at all (split the first group at 50 and you'll see). This (or at least something like it) should sort according to left endpoints: o <- order(as.numeric(sub("-.*", "", dat$Interval))) dat[o,] > ? > > Paul > &g

Re: [R] creat list

2007-09-06 Thread livia
gt;> now is cbind(lista[[1]],lista[[2]],...,lista[[50]]). I guess there would >> be >> an easy way of doing this. Could anyone give me some advice? > > > matrix(unlist(lista), ncol=50) > > Uwe Ligges > > ______ > R-help@st

[R] smooth functions

2007-09-06 Thread betul kan
ons estimates in contrast to estimate the parameters B in Regression Analysis, isn't it? I hope I could explain my trouble clearly, Thanks, Niki - [[alternative HTML version deleted]] ___

Re: [R] problem formatting and positioning title in heatmap

2007-09-06 Thread Uwe Ligges
t; heatmap(x = dataM, RowSideColors = RowSideColors, > ColSideColors=ColSideColors, main = title, >margins = c(50,50), scale= do.scale ,labRow=geneNames, > labCol=colLabels, col = hmcol, cex.main = 1, >cexRow = row.lab.mag, cexCol = col.lab.mag) > > > session

Re: [R] order intervals in a data.frame

2007-09-06 Thread Paul Smith
ut Desired_dat <- dat[match(dat$Interval,sort(dat$Interval)),] ? Paul __ 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 and provide commented, minimal, self-contained, reproducible code.

Re: [R] creat list

2007-09-06 Thread Uwe Ligges
> an easy way of doing this. Could anyone give me some advice? matrix(unlist(lista), ncol=50) Uwe Ligges __ 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/po

[R] creat list

2007-09-06 Thread livia
give me some advice? -- View this message in context: http://www.nabble.com/creat-list-tf4391162.html#a12519637 Sent from the R help mailing list archive at Nabble.com. ______ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-hel

Re: [R] geotiff or tiff files with world files

2007-09-06 Thread Roger Bivand
to insert the projection in valid PROJ.4 format. Then: writeGDAL(SGDF, "volcano.tif", drivername = "GTiff", ...) using the options= id needed, to pass through create options as on: http://www.gdal.org/frmt_gtiff.html For follow-ups, plea

Re: [R] how to extract t-test statistics from glm()?

2007-09-06 Thread Uwe Ligges
s Var3) to another table that > can be reused later. I'm new to R and your help is highly appreciated! > > coefficients(summary(glm())) Uwe Ligges > > Eric > > > [[alternative HTML version deleted]] > > ____

Re: [R] kendall test

2007-09-06 Thread Peter Dalgaard
Stefan Grosse wrote: > On Thursday 06 September 2007 09:48:22 elyakhlifi mustapha wrote: > > em > I thougth that there is a function which does the kendall test in R, > em > I writed on the console apropos("kendall") and I didn't found anything > em > ca

[R] order intervals in a data.frame

2007-09-06 Thread João Fadista
00-200 1082 200-300 744 300-400 4213 Thanks in advance. Best regards, João Fadista [[alternative HTML version deleted]] __

Re: [R] list element to matrix

2007-09-06 Thread Jim Lemon
w can repeat this process for an unknown number of entries in the list? In > other words, how shall I index M1? > Hi Diana, To step through the matrices in your list (assuming that it only has one level): for(mat in 1:length(D)) { } Jim _

[R] the survey package

2007-09-06 Thread eugen pircalabelu
t know how to fix my problem. Thank you! - Luggage? GPS? Comic books? [[alternative HTML version deleted]] ______ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

Re: [R] Warning message with aggregate function

2007-09-06 Thread Uwe Ligges
ultiple of replacement length." > > BTW: I use R version 2.4.1 in Ubuntu 7.04. Does not happen for me, neither with R-2.4.1 nor with recent versions of R. Maybe you have redefined one of the used objects (aggregate, warpbreaks, wool, tension, sum) in one of your environments? BTW: Is

<    1   2   3   4   5   6   7   8   9   10   >