Re: [R] How to use bash command in R script?

2007-02-27 Thread Peter Dalgaard
Guo Wei-Wei wrote: Thank you all! I solved my problem with your help. Come to think of it, it might be more to the point to use scan() on a pipe(): con - pipe(mxresult.sh ABC.mx, r) mynum - scan(con) close(con) -- O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B c/

[R] Fwd: RFA

2007-02-27 Thread amna khan
-- Forwarded message -- From: amna khan [EMAIL PROTECTED] Date: Feb 25, 2007 9:51 PM Subject: RFA To: R-help@stat.math.ethz.ch, [EMAIL PROTECTED] Dear Sir in the following example,is the vector lmom a l-moment ratios vector? What is meant by size = northCascades[,1]? And what are

[R] Fwd: RFA and nsRFA

2007-02-27 Thread amna khan
-- Forwarded message -- From: amna khan [EMAIL PROTECTED] Date: Feb 25, 2007 9:37 PM Subject: RFA and nsRFA To: [EMAIL PROTECTED], R-help@stat.math.ethz.ch Dear Sir There are two packages of regional frequency analysis RFA and nsRFA. Are both give us same results if not then what

[R] Fwd: nsRFA

2007-02-27 Thread amna khan
-- Forwarded message -- From: amna khan [EMAIL PROTECTED] Date: Feb 25, 2007 9:44 PM Subject: nsRFA To: R-help@stat.math.ethz.ch, [EMAIL PROTECTED] Dear Sir I am not understanding the HOMTESTS in package nsRFA. Is vector x is the data from all sites combined combined in one

Re: [R] How to use bash command in R script?

2007-02-27 Thread Guo Wei-Wei
It's a great way. You told a lot of things that I need to ask. Thank you very much! Best wishes, Wei-Wei 2007/2/27, Peter Dalgaard [EMAIL PROTECTED]: Guo Wei-Wei wrote: Thank you all! I solved my problem with your help. Come to think of it, it might be more to the point to use scan() on a

[R] Additional args to fun in integrate() not found?

2007-02-27 Thread Sergey Goriatchev
Hello, fellow Rdicts, I have the code for the program below. I need to integrate a function of x and p. I use integrate to integrate over x and pass p as an additional argument. p is specified and given default value in the argument list. Still, integrate() cannot read p, unless I explicitly

[R] Additional: to integrate()

2007-02-27 Thread Sergey Goriatchev
Hi again, people I found that there is some problem with rel.tol agrument in the integrate() function. It is not getting found. Maybe because it is a call to .Machine$double.eps? If I specify rel.tol as an argument in gedCDF, everything works, except for those warning messages. Strange. --

Re: [R] Additional args to fun in integrate() not found?

2007-02-27 Thread Dimitris Rizopoulos
you need 'p = p' in the integrate() call; try this version: gedCDF - function (yvec, p = 2, mu = 0, scale = 1, numint = 0) { k - sqrt(2) # k - 1 scale - scale*k zvec - (yvec - mu) / scale cdf - numeric(length(zvec)) for (i in seq(zvec)) { z - zvec[i] cdf[i]

Re: [R] Coxph and ordered factors

2007-02-27 Thread Florent Baty
Dear Terry, Thanks for your answer. I realised that depending on whether or not I am using an ordered factor I have some substantial changes in the output of function coxph: Here is the output I obtain when using variable 'stage2' as an ordered factor: Call: coxph(formula = Surv(survTime,

[R] merge two colums

2007-02-27 Thread Aimin Yan
I have a data set like this head(data.1A24_aa_model) V1V2 V3 V4 V5 V6 1 1A24 MODEL 1 ALA 1 84.47 2 1A24 MODEL 1 GLN 2 63.06 3 1A24 MODEL 1 TYR 3 107.72 4 1A24 MODEL 1 GLU 4 54.36 5 1A24 MODEL 1 ASP 5 67.01 6 1A24 MODEL 1 GLY 6 999.00 I want to change this to the

Re: [R] merge two colums

2007-02-27 Thread Robin Hankin
Hi. Use paste(... , sep=_) to create a new variable, then data.frame() to join them. Note that you have to name the columns explicitly; the default names are long for my tastes. HTH rksh a - data.frame(V1=1:3,V2=letters[1:3],V3=3:1,V4=100:102) a V1 V2 V3 V4 1 1 a 3 100 2 2 b

[R] training svm

2007-02-27 Thread David Meyer
Hello (whoever you are), your data looks problematic. What does head(ne_span_data) reveal? BTW, svm() will not handle NA values. Best David - Hello. I'm new to R and I'm trying to solve a classification problem. I have a training dataset of about 40,000 rows and 50

Re: [R] fitting of all possible models

2007-02-27 Thread Frank E Harrell Jr
Indermaur Lukas wrote: Hi, Fitting all possible models (GLM) with 10 predictors will result in loads of (2^10 - 1) models. I want to do that in order to get the importance of variables (having an unbalanced variable design) by summing the up the AIC-weights of models including the same

Re: [R] fitting of all possible models

2007-02-27 Thread hadley wickham
Hi Lukas, You may find my meifly package helpful. It provides functions to generate ensembles of models (eg. fitall) and then extract all the coefficients, residuals etc (coef, summary, residual etc). The main point of the package is to visualise all these models, and I second Frank's comment

Re: [R] Crosstabbing multiple response data

2007-02-27 Thread John Kane
--- John Kane [EMAIL PROTECTED] wrote: Thanks to everyone for this. I was looking at the same problem last night and just was going to write a posting to R-help when I saw this. --- Michael Wexler [EMAIL PROTECTED] wrote: Thanks to Charles, Gabor, and a private message from

[R] How to put the dependent variable in GLM proportion model

2007-02-27 Thread Serguei Kaniovski
Hello everyone, I am confused about how the dependent variable should be specified, e.g. say S and F denote series of successes and failures. Is it share-S/(S+F) glm(share~x,family=quasibinomial) or glm(cbind(S,F)~x,family=quasibinomial) The two variants produce very different dispersion

[R] fitting the gamma cumulative distribution function

2007-02-27 Thread Tim Bergsma
Hi. I have a vector of quantiles and a vector of probabilites that, when plotted, look very like the gamma cumulative distribution function. I can guess some shape and scale parameters that give a similar result, but I'd rather let the parameters be estimated. Is there a direct way to do

[R] stl function

2007-02-27 Thread Anja Eggert
I want to apply the stl-function to decompose a time series (daily measurements over 22 years) into seasonal component, trend and residuals. I was able to get the diagrams. However, I could not find out what are the equations behind it. I.e. it is probably not an additive or multiplicative

Re: [R] fitting the gamma cumulative distribution function

2007-02-27 Thread Stephen Tucker
Hi Tim, I believe fitdistr() in the MASS package is the function you are looking for. (example given in help page)... Best regards, ST --- Tim Bergsma [EMAIL PROTECTED] wrote: Hi. I have a vector of quantiles and a vector of probabilites that, when plotted, look very like the gamma

[R] rpart minimum sample size

2007-02-27 Thread Amy Uhrin
Is there an optimal / minimum sample size for attempting to construct a classification tree using /rpart/? I have 27 seagrass disturbance sites (boat groundings) that have been monitored for a number of years. The monitoring protocol for each site is identical. From the monitoring data, I am

Re: [R] survival analysis using rpart

2007-02-27 Thread Terry Therneau
I use rpart to predict survival time and have a problem in interpreting the output of ?estimated rate? (1) Is the ?estimated rate? the estimated hazard rate ratio? (2) How does rpart calculate this rate? (3) Suppose I use xpred.rpart(fit, xval=10) to perform 10-fold cross-validation using

[R] garch and extra explanatory variable

2007-02-27 Thread Bernd Dittmann
Hi useRs, a daily garch(1,1) model can be extended whereby the variance equation incorporates say higher frequency volatility measure. The variance equation would look something like: s(t)2 = garch(1,1) + a*v(t-1) whereby v(t-1) would be the intraday vola of yesterday (a the coef.). How can

Re: [R] fitting the gamma cumulative distribution function

2007-02-27 Thread Adelchi Azzalini
On Tue, 27 Feb 2007 06:59:51 -0800 (PST), Stephen Tucker wrote: ST Hi Tim, ST ST I believe fitdistr() in the MASS package is the function you are looking ST for. (example given in help page)... ST ST Best regards, ST ST ST ST --- Tim Bergsma [EMAIL PROTECTED] wrote: ST ST Hi. ST ST I have

Re: [R] rpart minimum sample size

2007-02-27 Thread Wensui Liu
amy, without looking at your actual code, i would suggest you to take a look at rpart.control() On 2/27/07, Amy Uhrin [EMAIL PROTECTED] wrote: Is there an optimal / minimum sample size for attempting to construct a classification tree using /rpart/? I have 27 seagrass disturbance sites (boat

Re: [R] fitting of all possible models

2007-02-27 Thread Indermaur Lukas
Hi Frank I fitted a set of 12 candidate models and evaluated the importance of variables based on model averaged coefficients and SE (model weights =0.9). Variables in my models were not distributed in equal numbers across all models thus I was not able to evaluate the importance of variables

[R] str() to extract components

2007-02-27 Thread Simon Pickett
Hi, I have been dabbling with str() to extract values from outputs such as lmer etc and have found it very helpful sometimes. but only seem to manage to extract the values when the output is one simple table, any more complicated and I'm stumped :-( take this example of the extracted

Re: [R] fitting of all possible models

2007-02-27 Thread Bert Gunter
... Below -- Bert Bert Gunter Genentech Nonclinical Statistics South San Francisco, CA 94404 650-467-7374 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank E Harrell Jr Sent: Tuesday, February 27, 2007 5:14 AM To: Indermaur Lukas Cc:

Re: [R] rpart minimum sample size

2007-02-27 Thread Frank E Harrell Jr
Amy Uhrin wrote: Is there an optimal / minimum sample size for attempting to construct a classification tree using /rpart/? I have 27 seagrass disturbance sites (boat groundings) that have been monitored for a number of years. The monitoring protocol for each site is identical. From

Re: [R] str() to extract components

2007-02-27 Thread Joerg van den Hoff
On Tue, Feb 27, 2007 at 03:52:54PM -, Simon Pickett wrote: Hi, I have been dabbling with str() to extract values from outputs such as lmer etc and have found it very helpful sometimes. but only seem to manage to extract the values when the output is one simple table, any more

Re: [R] stl function

2007-02-27 Thread Gavin Simpson
On Tue, 2007-02-27 at 15:55 +0100, Anja Eggert wrote: I want to apply the stl-function to decompose a time series (daily measurements over 22 years) into seasonal component, trend and residuals. I was able to get the diagrams. However, I could not find out what are the equations behind it.

[R] compiling issues with Mandriva Linux 2007 Discovery

2007-02-27 Thread Bricklemyer, Ross S
All, I am a new user to Linux but I am familiar with R. I have previously used and installed R on a Windows platform without problems. I recently set up a dual boot system (XP_64, Mandriva) to run R on a Linux platform in order to more efficiently handle large datasets. I have not done

Re: [R] fitting of all possible models

2007-02-27 Thread Frank E Harrell Jr
Indermaur Lukas wrote: Hi Frank I fitted a set of 12 candidate models and evaluated the importance of variables based on model averaged coefficients and SE (model weights =0.9). Variables in my models were not distributed in equal numbers across all models thus I was not able to evaluate

Re: [R] fitting of all possible models

2007-02-27 Thread Frank E Harrell Jr
Bert Gunter wrote: ... Below -- Bert Bert Gunter Genentech Nonclinical Statistics South San Francisco, CA 94404 650-467-7374 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank E Harrell Jr Sent: Tuesday, February 27, 2007 5:14 AM To:

Re: [R] str() to extract components

2007-02-27 Thread joris . dewolf
mod - lmer(resp3~b$age+b$size+b$pcfat+(1|sex), data=b) coef(mod)[1]$Subject[1,1] [EMAIL PROTECTED] wrote on 27/02/2007 16:52:54: Hi, I have been dabbling with str() to extract values from outputs such as lmer etc and have found it very helpful sometimes. but only seem to manage to

[R] ts; decompose; plot and title

2007-02-27 Thread Alberto Monteiro
Is there any way to give a decent title after I plot something generated by decompose? For example: # generate something with period 12 x - rnorm(600) + sin(2 * pi * (1:600) / 12) # transform to a monthy time series y - ts(x, frequency=12, start=c(1950,1)) # decompose z - decompose(y) # plot

Re: [R] ts; decompose; plot and title

2007-02-27 Thread Gabor Grothendieck
Try this: plot(cbind(observed = z$random + z$trend * z$seasonal, trend = z$trend, seasonal = z$seasonal, random = z$random), main = My title) Change the * to + if your setup is additive. On 2/27/07, Alberto Monteiro [EMAIL PROTECTED] wrote: Is there any way to give a decent title

[R] ordered matrix question

2007-02-27 Thread Juan Pablo Fededa
Hi all, Is there an easy way to generate an object wich will be the same matrix, but ordered by de cfp value? The data frame consists of numeric columns: BlockXYcfpyfpID 0524244213.417957.184821091 055627065.3839049.5683726612 0528

Re: [R] RDA and trend surface regression

2007-02-27 Thread MORLON
Thanks a lot for your answers, I am concerned by your advice not to use polynomial constraints, or to use QDA instead of RDA. My final goal is to perform variation partitioning using partial RDA to assess the relative importance of environmental vs spatial variables. For the spatial analyses,

Re: [R] RDA and trend surface regression

2007-02-27 Thread Kuhn, Max
Helene, My point was only that RDA may fit a quadratic model for the terms specified in your model. The terms that you had specified were already higher order polynomials (some cubic). So a QDA classifier with the model terms that you specified my be a fifth order polynomial in the original data.

Re: [R] ts; decompose; plot and title

2007-02-27 Thread Gavin Simpson
On Tue, 2007-02-27 at 15:24 -0200, Alberto Monteiro wrote: Is there any way to give a decent title after I plot something generated by decompose? For example: # generate something with period 12 x - rnorm(600) + sin(2 * pi * (1:600) / 12) # transform to a monthy time series y - ts(x,

Re: [R] ordered matrix question

2007-02-27 Thread Mendiburu, Felipe \(CIP\)
Juan Pablo, X is data.frame or matrix X - X[order(X[,4]),] options see help(order) Felipe de Mendiburu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Juan Pablo Fededa Sent: Tuesday, February 27, 2007 12:47 PM To: R-help@stat.math.ethz.ch Subject: [R]

Re: [R] ordered matrix question

2007-02-27 Thread Earl F. Glynn
Juan Pablo Fededa [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Is there an easy way to generate an object wich will be the same matrix, but ordered by de cfp value? Does this help? RawData - BlockXYcfpyfpID + 0524244213.41795

[R] sample size for 2-sample proportion tests

2007-02-27 Thread Berta
Hi R-users, I want to calculate the sample size needed to carry out a 2-sample proprotion test. I have the hypotesized treatment probability of success (0.80), the hypotesized control probability of success (0.05), and also de proportion of the sample devoted to treated group (5%),

[R] Function to do multiple named lookups faster?

2007-02-27 Thread David Reiss
Hi, I apologize if this topic has been discussed - I could not figure out a good search phrase for this question. I have a named vector x, with multiple (duplicate) names, and I would like to obtain a (shorter) vector with non-duplicate names in which the values are the means of the values of the

Re: [R] how much performance penalty does this incur, scalar as a vector of one element?

2007-02-27 Thread Jason Liao
Dear Prof. Tierney, thank you very much to answer my question. It is good to know that the loss of efficiency can be small. I came to this question after using R to implement a few low level algorithm: KD-tree and recursive algorithm for conditional Poisson binomial. The R's speed has been

Re: [R] ordered matrix question

2007-02-27 Thread Daniel Nordlund
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juan Pablo Fededa Sent: Tuesday, February 27, 2007 9:47 AM To: R-help@stat.math.ethz.ch Subject: [R] ordered matrix question Hi all, Is there an easy way to generate an object wich will be the

Re: [R] Macros in R

2007-02-27 Thread Greg Snow
Others have pointed you to the answer to your question, but both FAQ 7.21 and the assign help page should really have a big banner at the top saying Here Be Dragons. Using a loop or other automated procedure to create variables in the main namespace can cause hard to find bugs, accidentally

[R] plotting rpart objects - fancy option

2007-02-27 Thread Volker Bahn
Hi all, I'm trying to create nice plots of rpart objects. In particular, I'd like to use the fancy option to text() that creates ellipses and rectangles at the splits and endnotes, respectively. This worked fine in the past, but now the ellipses do not interrupt the original tree lines

[R] Multiple conditional without if

2007-02-27 Thread bunny , lautloscrew.com
Dear all, i am stuck with a syntax problem. i have a matrix which has about 500 rows and 6 columns. now i want to kick some data out. i want create a new matrix which is basically the old one except for all entries which have a 4 in the 5 column AND a 1 in the 6th column. i tried the following

Re: [R] RDA and trend surface regression

2007-02-27 Thread Gavin Simpson
On Tue, 2007-02-27 at 13:13 -0500, Kuhn, Max wrote: Helene, My point was only that RDA may fit a quadratic model for the terms specified in your model. The terms that you had specified were already higher order polynomials (some cubic). So a QDA classifier with the model terms that you

Re: [R] Macros in R

2007-02-27 Thread Gabor Grothendieck
The FAQ does mention your point already. On 2/27/07, Greg Snow [EMAIL PROTECTED] wrote: Others have pointed you to the answer to your question, but both FAQ 7.21 and the assign help page should really have a big banner at the top saying Here Be Dragons. Using a loop or other automated

[R] recording graphics going from lattice to traditional plots, and issues with log axes

2007-02-27 Thread Michael D. Rennie
Hi there I am using the options(graphics.record = TRUE) command to keep track of my plots as I execute them. However, if I do a couple of plots using the lattice package (i.e., xyplots(y ~ x, ...), then go back to using the traditional graphics state (i.e., plot(y, x, etc...), then I can't

[R] matplot on lattice graphics

2007-02-27 Thread Mario A. Morales R.
can I use matplot on each panel of a lattice graphic? How? https://academico.unicordoba.edu.co/squirrelmail/src/compose.php?send_to=r-help%40stat.math.ethz.ch __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] read.csv size limits

2007-02-27 Thread jim holtman
Have you used colClasses to define what each of the columns contain? Can you use 'scan'? I haven't tried anything with 500,000 columns, but if they are numeric, this should not take too long. So I create a 20 line file with 500,000 columns and here is what it took reading it both as numeric and

Re: [R] Multiple conditional without if

2007-02-27 Thread Mendiburu, Felipe \(CIP\)
Dear matthias, newmatrix = oldmatrix[ (oldmatrix[,5]==4 oldmatrix[,6]==1) , ] Felipe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of bunny , lautloscrew.com Sent: Tuesday, February 27, 2007 1:25 PM To: r-help@stat.math.ethz.ch Subject: [R] Multiple

Re: [R] RDA and trend surface regression

2007-02-27 Thread Roger Bivand
On Tue, 27 Feb 2007, Gavin Simpson wrote: On Tue, 2007-02-27 at 13:13 -0500, Kuhn, Max wrote: Helene, My point was only that RDA may fit a quadratic model for the terms specified in your model. The terms that you had specified were already higher order polynomials (some cubic). So a

Re: [R] Multiple conditional without if

2007-02-27 Thread Petr Klasterecky
bunny , lautloscrew.com napsal(a): Dear all, i am stuck with a syntax problem. i have a matrix which has about 500 rows and 6 columns. now i want to kick some data out. i want create a new matrix which is basically the old one except for all entries which have a 4 in the 5 column AND a 1

[R] Problem with R interface termination

2007-02-27 Thread Bhanu Kalyan.K
Dear Sir, The R interface that i am currently using is R 2.4.1( in Win XP). I am not able to terminate the program by giving the q() command. Each time I pass this command, q() Error in .Last() : could not find function finalizeSession this error creeps in and it neither allows me to save my

[R] interactions and GAM

2007-02-27 Thread Beaulaton Laurent
Dear R-users, I have 1 remark and 1 question on the inclusion of interactions in the gam function from the gam package. I need to fit quantitative predictors in interactions with factors. You can see an example of what I need in fig 9.13 p265 from Hastie and Tibshirani book (1990). It's

Re: [R] Multiple conditional without if [Broadcast]

2007-02-27 Thread Liaw, Andy
From: bunny, lautloscrew.com Dear all, i am stuck with a syntax problem. i have a matrix which has about 500 rows and 6 columns. now i want to kick some data out. i want create a new matrix which is basically the old one except for all entries which have a 4 in the 5 column AND a 1

Re: [R] How to put the dependent variable in GLM proportion model

2007-02-27 Thread Greg Snow
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 The first one should be: n - (S+F) share - S/(S+F) glm(share~x, family=quasibinomial, weights=n) This should give you results more comparable to the second one. Either way

[R] Angle of Bar Plot

2007-02-27 Thread Mohsen Jafarikia
Hello everyone, I want to use 'angle' in Bar Plot with different angles for different bars. For example if the 3th column of the following data is '0.0', I want the angle to be '45' degrees, if it is '1.92', I want '65' and … 1 3.740.00 2 6.121.92 3 9.710.00 4

Re: [R] compiling issues with Mandriva Linux 2007 Discovery

2007-02-27 Thread Douglas Bates
On 2/27/07, Bricklemyer, Ross S [EMAIL PROTECTED] wrote: All, I am a new user to Linux but I am familiar with R. I have previously used and installed R on a Windows platform without problems. I recently set up a dual boot system (XP_64, Mandriva) to run R on a Linux platform in order to

Re: [R] PLotting R graphics/symbols without user x-y scaling

2007-02-27 Thread Greg Snow
Beyond the other replies that you have received, here are a couple more ideas. The cnvrt.coords function in the TeachingDemos package can aid in switching between the coordinate systems so you could use this to convert your x,y coordinates from the user system to the plot coordinates (0 to 1),

Re: [R] RDA and trend surface regression

2007-02-27 Thread Jari Oksanen
On 27 Feb 2007, at 20:55, Gavin Simpson wrote: On Tue, 2007-02-27 at 13:13 -0500, Kuhn, Max wrote: Helene, My point was only that RDA may fit a quadratic model for the terms specified in your model. The terms that you had specified were already higher order polynomials (some cubic). So a

Re: [R] Multiple conditional without if

2007-02-27 Thread Mendiburu, Felipe \(CIP\)
Matthias, According to the logic, New matrix which is basically the old one except for all entries which have a 4 in the 5 column AND a 1 in the 6th column newmatrix - oldmatrix[ (oldmatrix[,5]!=4 oldmatrix[,6]!=1) , ] --- newmatrix - oldmatrix[ !(oldmatrix[,5]==4 oldmatrix[,6]==1) , ] by,

Re: [R] looping

2007-02-27 Thread Greg Snow
For the example that you give, using lapply, sapply, or replicate may be the better way to go: mysample - replicate( 50, dataset[ sample(10,100), ] ) If you really want to use a loop, then use a list: mysamples - list() mysampdata - list() for (i in 1:50){ + mysamples[[i]] -

Re: [R] Multiple conditional without if

2007-02-27 Thread Nordlund, Dan (DSHS/RDA)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petr Klasterecky Sent: Tuesday, February 27, 2007 12:15 PM To: bunny , lautloscrew.com Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Multiple conditional without if bunny , lautloscrew.com

Re: [R] fitting of all possible models

2007-02-27 Thread Greg Snow
You may want to look at the packages 'leaps'. I don't think it does glm's, but possibly you could modify it to. Otherwise here is one quick approach (though there are probably better ones): apply( expand.grid( c(TRUE,FALSE),c(TRUE,FALSE),c(TRUE,FALSE) ), + 1, function(x)

Re: [R] Macros in R

2007-02-27 Thread Greg Snow
The FAQ does mention using a list (and I did not mean to imply that it did not). Personally I think it is a little soft on this point for the following reasons: 1. It mentions lists at the very end, some users may read about the assign function, think that that answers the question that they

[R] R in linux

2007-02-27 Thread Aimin Yan
I used to use R-WinEdt in Windows. I know R-Winedt is only for R in Windows. Now I try to use R in linux. I am wondering if there is something that can do same thing as R-Winedt for R in linux? Aimin __ R-help@stat.math.ethz.ch mailing list

[R] R in linux

2007-02-27 Thread Aimin Yan
I used to use R-WinEdt in Windows. I know R-Winedt is only for R in Windows. Now I try to use R in linux. I am wondering if there is something that can do same thing as R-Winedt for R in linux? Aimin [[alternative HTML version deleted]] __

[R] help with NSST models in GaussRf

2007-02-27 Thread Eleonora Demaria
Hi R-Users, I am ussing GaussRf in the Random Fields Package to generate spatial-temporal fields. I am having a hard time understanding how to use the NSST model. Does anybody have some experience with this model or any of the non-separable space time models available? I got

[R] factor documentation issue

2007-02-27 Thread Geoff Russell
There is a warning in the documentation for ?factor (R version 2.3.0) as follows: The interpretation of a factor depends on both the codes and the 'levels' attribute. Be careful only to compare factors with the same set of levels (in the same order). In particular, 'as.numeric' applied

Re: [R] Angle of Bar Plot

2007-02-27 Thread Ben Bolker
Mohsen Jafarikia jafarikia at gmail.com writes: Hello everyone, I want to use 'angle' in Bar Plot with different angles for different bars. For example if the 3th column of the following data is '0.0', I want the angle to be '45' degrees, if it is '1.92', I want '65' and … [snip]

[R] .C HoltWinters

2007-02-27 Thread sj
Hello, I would like to look at the compiled C code behind HoltWinters from the stats package. Is that possible? If so where do I find it? thanks, Spencer [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] Datamining-package-?

2007-02-27 Thread j.joshua thomas
Dear Group, I am looking for a package that is going to help me on Data preprocessing methods in Datamining. Is there any package in R2.4.0 to support DM? or what is the suitable package that i can adopt do the work? Kindly need your assistance. Thanks Regards JJ --- -- Lecturer J.

Re: [R] Datamining-package-?

2007-02-27 Thread Wensui Liu
what do you mean by data preprocessing? there are tons of R functions that you can use to process data and do data mining. On 2/27/07, j.joshua thomas [EMAIL PROTECTED] wrote: Dear Group, I am looking for a package that is going to help me on Data preprocessing methods in Datamining. Is

Re: [R] Datamining-package-?

2007-02-27 Thread j.joshua thomas
Hi again, The idea of preprocessing is mainly based on the need to prepare the data before they are actually used in pattern extraction.or feed the data into EA's (Genetic Algorithm) There are no standard practice yet however, the frequently used on are 1. the extraction of derived attributes

[R] lm ANOVA vs. AOV

2007-02-27 Thread Matthew Bridgman
Why would someone use lm and ANOVA (anova(lm(x))) instead of AOV (or the other way around)? The mean squares and sum of squares are the same, but the F values and p-values are slightly different. I am modeling a dependent~independent1*independent2. Thanks, Matt Bridgman [[alternative

Re: [R] Datamining-package-?

2007-02-27 Thread Daniel Nordlund
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of j.joshua thomas Sent: Tuesday, February 27, 2007 5:52 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Datamining-package-? Hi again, The idea of preprocessing is mainly based on the need to prepare

Re: [R] Problem with R interface termination

2007-02-27 Thread Henrik Bengtsson
Hi, this is due to the R.utils library. Interestingly, others reported this yesterday. There are three different ways to get around the problem right now: 1) Exit R so it does not call .Last() by quit(runLast=FALSE), 2) load the R.utils package and then exit via quit() as usual, or 3) remove

Re: [R] Datamining-package-?

2007-02-27 Thread j.joshua thomas
I couldn't locate package rattle? Need some one's help. JJ --- On 2/28/07, Daniel Nordlund [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of j.joshua thomas Sent: Tuesday, February 27, 2007 5:52 PM To:

Re: [R] Datamining-package-?

2007-02-27 Thread j.joshua thomas
Dear Group, I have found the package. Thanks very much JJ --- On 2/28/07, j.joshua thomas [EMAIL PROTECTED] wrote: I couldn't locate package rattle? Need some one's help. JJ --- On 2/28/07, Daniel Nordlund [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL

Re: [R] Datamining-package-?

2007-02-27 Thread jim holtman
From the RGUI select Packages/Install Package and you should find it. On 2/27/07, j.joshua thomas [EMAIL PROTECTED] wrote: I couldn't locate package rattle? Need some one's help. JJ --- On 2/28/07, Daniel Nordlund [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL

Re: [R] Datamining-package-?

2007-02-27 Thread Roberto Perdisci
Hi, out of curiosity, what is the name of the package you found? Roberto On 2/27/07, j.joshua thomas [EMAIL PROTECTED] wrote: Dear Group, I have found the package. Thanks very much JJ --- On 2/28/07, j.joshua thomas [EMAIL PROTECTED] wrote: I couldn't locate package rattle?

[R] Be true

2007-02-27 Thread Magdalena Lott
(Watch Michael J. Fox back McCaskill on stem cells -- :32 ) Democrats say they are ahead Critical Care Inc, symbl: .CTCX. This one is an easy doubler @ 65 cents wont last long Expected target : $ 3.00 Critical Care Announces Expansion of Cost Containment Activities Business Wire (Fri, Feb

[R] Datamining-package rattle() Errors

2007-02-27 Thread j.joshua thomas
Dear Group I have few errors while installing package rattle from CRAN i do the installing from the local zip files... I am using R 2.4.0 do i have to upgrade to R2.4.1 ? ~~ utils:::menuInstallLocal() package 'rattle'

Re: [R] Function to do multiple named lookups faster?

2007-02-27 Thread jim holtman
try this: x - 1:30 names(x) - sample(LETTERS[1:5], 30, TRUE) x B B C E B E E D D A B A D B D C D E B D E B D A B B A B E B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 x - 1:30 names(x) - sample(LETTERS[1:5], 30,

Re: [R] Datamining-package rattle() Errors

2007-02-27 Thread Tim Churches
j.joshua thomas wrote: Dear Group I have few errors while installing package rattle from CRAN i do the installing from the local zip files... I am using R 2.4.0 do i have to upgrade to R2.4.1 ? You *do* have to read the r-help posting guide and take exact heed of what it suggests:

Re: [R] Datamining-package rattle() Errors

2007-02-27 Thread Nordlund, Dan (DSHS/RDA)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of j.joshua thomas Sent: Tuesday, February 27, 2007 6:54 PM To: r-help@stat.math.ethz.ch Subject: [R] Datamining-package rattle() Errors Dear Group I have few errors while installing package rattle

[R] matplot on lattice graphics

2007-02-27 Thread Mario A. Morales R.
can I use matplot on each panel of a lattice graphic? How? __ 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,

Re: [R] bootcov and cph error

2007-02-27 Thread Frank E Harrell Jr
Williams Scott wrote: Hi all, I am trying to get bootstrap resampled estimates of covariates in a Cox model using cph (Design library). Using the following I get the error: ddist2.abr - datadist(data2.abr) options(datadist='ddist2.abr') cph1.abr -

Re: [R] lm ANOVA vs. AOV

2007-02-27 Thread Richard M. Heiberger
The underlying least squares arithmetic of aov and lm is identical. In R, the QR algorithm is used. The difference between the two is intent of the analysis and the default presentation of the results. With lm [Linear Model], the focus is on the effect of the individual columns of the predictor

Re: [R] factor documentation issue

2007-02-27 Thread Peter Dalgaard
Geoff Russell wrote: There is a warning in the documentation for ?factor (R version 2.3.0) as follows: The interpretation of a factor depends on both the codes and the 'levels' attribute. Be careful only to compare factors with the same set of levels (in the same order). In

Re: [R] Datamining-package rattle() Errors

2007-02-27 Thread j.joshua thomas
I browse through the web link http://rattle.togaware.com/ and followed the instructions Installation on RGtk2 has been done without errors. however i have problem with rattle. So i download rattle 2.2.4.zip and unpack it. earlier i have tried from CRAN rattle 2.2.0.zip it showed some warning

Re: [R] lm ANOVA vs. AOV

2007-02-27 Thread Peter Dalgaard
Matthew Bridgman wrote: Why would someone use lm and ANOVA (anova(lm(x))) instead of AOV (or the other way around)? The mean squares and sum of squares are the same, but the F values and p-values are slightly different. Crudely put, aov() is effectively useless on unbalanced designs.

[R] package rattle() - libatk-1.0.0.dll Error

2007-02-27 Thread j.joshua thomas
I've installed R-Gui2.4.0 R version 2.4.0 RC (2006-09-27 r39540) Copyright (C) 2006 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()'

Re: [R] Problem with R interface termination

2007-02-27 Thread Henrik Bengtsson
For the completion of this thread; the below update was confirmed to solve the problem. /HB On 2/27/07, Henrik Bengtsson [EMAIL PROTECTED] wrote: Hi, this is due to the R.utils library. Interestingly, others reported this yesterday. There are three different ways to get around the problem

[R] Package RGtk2, rattle, libatk-1.0.0.dll Errors

2007-02-27 Thread j.joshua thomas
Dear Group, I have followed the instructions from the link http://datamining.togaware.com/survivor/Installing_GTK.html However i couldn't fix the libatk01.0.0.dll application error Here, i did uninstall R-Gui-2.4.0 then did the fresh installation and still facing the same problem I am using

  1   2   >