[R] how to get data and post it on R

2004-05-15 Thread matt lindon
Hi , i'm having trouble getting data from outside and trying to do either a discrimination analysis or a regression analysis.I don't know what kind of data i need to use and also what are the packages i need to use. Please get me some direction so i can begin .

RE: [R] how to get data and post it on R

2004-05-15 Thread Ko-Kang Kevin Wang
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of matt lindon Sent: Saturday, May 15, 2004 8:21 PM To: [EMAIL PROTECTED] Subject: [R] how to get data and post it on R Hi , i'm having trouble getting data from outside and trying to do either a

Re: [R] how add objects to an svm graphic

2004-05-15 Thread ale . ambrosi
Hi all, First of all thanks for the answers. I'd like to add some objects to a plot.svm graphic. To give a more precise idea here I make a simple example. First I train a SVM. m.svm - svm(status~., data = dati.svm, kernel=radial, cross=20, scale=TRUE ) Then I generates a

[R] what statistical method should i use?

2004-05-15 Thread vinkwai wong
in order to know which production the custumer most like,i design a question as follow : Q:there are six production listed below.according to your preference,the production you like most is_,the production you secondly like is ,and the third is_. productionA productionB

Re: [R] what statistical method should i use?

2004-05-15 Thread Jonathan Baron
On 05/16/04 00:23, vinkwai wong wrote: in order to know which production the custumer most like,i design a question as follow : Q:there are six production listed below.according to your preference,the production you like most is_,the production you secondly like is ,and the third is_.

[R] Again some questions about multilevelanalysis

2004-05-15 Thread Felix Eschenburg
Dear list, I asked some questions about multilevelanalysis a couple of months ago. In the meantime I did some reading about the subject. Now I'd like to check, if I understood it all correctly. If you think my questions are not appropriate for this list, please tell me so and i will immediatly

Re: [R] Again some questions about multilevelanalysis

2004-05-15 Thread Douglas Bates
[EMAIL PROTECTED] (Felix Eschenburg) writes: Dear list, I asked some questions about multilevelanalysis a couple of months ago. In the meantime I did some reading about the subject. Now I'd like to check, if I understood it all correctly. If you think my questions are not appropriate

Re: [R] cannot allocate vector of length 1072693248

2004-05-15 Thread David L. Van Brunt, Ph.D.
Andy; Well, that about does it I'm copying this one back to the list for the benefit of those who may hit this thread while searching the archives. Your changes to the code run just fine on the my Windows machine, but gives the vector length error on the G4 whether I'm using the OS X build

[R] questions about optim

2004-05-15 Thread Dean Lee
Hi, I am trying to do parameter estimation with optim, but I can't get it to work quite right-- I have an equation X = Y where X is a gaussian, Y is a multinomial distribution, and I am trying to estimate the probabilities of Y( the mean and sd of X are known ), Theta1, Theta2, Theta3, and

Re: [R] questions about optim

2004-05-15 Thread Spencer Graves
1. Have you considered parameterizing the problem in terms of (Theta1, Theta2, Theta3), and then computing Theta4 - (1-Theta1-Theta2-Theta3) in the function you ask optim to optimize? 2. Beyond this, I don't understand what you are trying to do. Do you want to estimate a

Re: [R] what statistical method should i use?

2004-05-15 Thread Christian Schulz
IMHO Conjoint-Analysis and MarketSimluations - there exist some nice extensions for practical problems like adaptive-conjoint-analysis , choice-based conjoint analysis etc. christian Am Samstag, 15. Mai 2004 18:23 schrieb vinkwai wong: in order to know which production the custumer most

Re: [R] questions about optim

2004-05-15 Thread Dean Lee
Hi Spencer, Thanks for the reply. 1) When I was playing with optim before sometimes the probabilities came up to be negative. I am not sure what I did before, but now it seems to work correctly after I specify the lower and upper bounds on the Thetas using the L-BFGS-B method in optim. 2) No

Re: [R] questions about optim

2004-05-15 Thread Spencer Graves
I gather you are trying to solve a system of 5 equations with 7 unknowns: The 5 equations are the constraint that the probabilities sum to 0 plus the 4 equations I wrote? This is an underdetermined system, and you should not need optim for that. Why do you want a multinomial

[R] filter out many data.frames

2004-05-15 Thread Christian Schulz
Hi , i would like filter out all combinations of a data-mining result? How i have to declare X because in every loop step it have another lengths ? X - numeric(length(i1,...,i64)) ? Many thanks Christian tres - function(data.frame) { + data - expand.grid(class02 = c(A,B,C,D), class04 =

[R] Fwd: filter out many data.frames

2004-05-15 Thread Christian Schulz
X - numeric(length(data.frame)) before the loop maybe work, because my computer works and works !? christian -- Weitergeleitete Nachricht -- Subject: filter out many data.frames Date: Sonntag, 16. Mai 2004 00:02 From: Christian Schulz [EMAIL PROTECTED] To: [EMAIL

Re: [R] How to restore and edit saved graphics?

2004-05-15 Thread Jonathan Baron
On 05/15/04 16:53, Shin wrote: I am looking for a function to restore saved graphics for further editing, such as changing its title, labels, or legend. How can I do it in R? Thanks in advance. Probably the easiest way is simply to save the code that you used to make the graphic, edit the code,

RE: [R] How to restore and edit saved graphics?

2004-05-15 Thread Shin, Daehyok
Is it so difficult to develop a function or an object to generate all the code automatically in R? Daehyok Shin (Peter) Terrestrial Hydrological Ecosystem Modellers Geography Department University of North Carolina-Chapel Hill [EMAIL PROTECTED] We can do no great things, only small things with

[R] importing text file with duplicate rows / indexing rows and columns

2004-05-15 Thread grr
Could somebody advise me about importing a txt file as a frame? I am using the command: test - read.delim (~/docs/perl/expr_ctx.txt2, header=T, sep = \t, row.names = 1) This gives me an error because there are duplicate rows. In the txt file, the columns are unique subjects and the rows are

Re: [R] How to restore and edit saved graphics?

2004-05-15 Thread Gabor Grothendieck
Saving of the low level graphics that R displays can be 1. turned on with dev.control(displaylist=enable) and 2. turned off with dev.control(displaylist=inhibit). recordPlot() can be used to save the display list in a variable. For example: # turn on display list, perform plot, turn off