[R] Multinomial models
Hello, I am VERY new to R (one week) and I am trying to run a multinomial logit model. The model I am using is model1 - multinom(Y ~ X1 + X2 + , ..., Xn) if I put in summary(model1) I get #Error in function (classes, fdef, mtable) : unable to find an inherited method for function fitted, for signature multinom and if I put in coef(model1) I get the coefficients. I would like, however, to get the coefficients, estimates, Std Erros and t-Ratios and/or z or P[z] Also can you change the speficiation of the base category without recoding? Thanks. Nicole __ 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.
[R] using install.packages via proxy
Hello everybody, I'm trying to install rJava to use JRI in a Java program as JRI is a part of rJava. There should be the option to install this package via install.packages(rJava). Unfortunately I'm connected to the internet via a proxy. I have no idea how to tell R to connect via the proxy. The R-help tells me something about environment variables like http_proxy. But I have no idea how and where to set these variable as I'm new to R. I don't know whether this is the right way to solve my problem. Is there anyone out there who knows how to solve this problem? Any help is appreciated. Thank in advance Nicole Erbe Production Engineering Verigy Germany GmbH Herrenberger Str. 130 71034 Böblingen Tel: +49 7031 4357327 Mail: [EMAIL PROTECTED] __ [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 and provide commented, minimal, self-contained, reproducible code.
Re: [R] using install.packages via proxy
Hi, I'm (currently forced to) use Win XP. I actually found an easy way to solve the problem of installing the rJava package. To avoid the problems with the proxy I just downloaded the zip file and installed the package in R from a local source. Now I can use the JRI libraries in eclipse by adding the jar to the path. It works fine. Using the libraries is now another issue...I will see how well it works and if the results are what I need. Thanks a lot Nicole Erbe Production Engineering Verigy Germany GmbH Herrenberger Str. 130 71034 Böblingen Tel: +49 7031 4357327 Mail: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Eremeev Sent: Donnerstag, 12. April 2007 14:41 To: [EMAIL PROTECTED] Subject: Re: [R] using install.packages via proxy What operating system do you use? If you use Windows, than open the Control Panel, double click on the System icon, go to Advanced tab, press Environment variables button, then press New to create one more new variable, enter http_proxy as the Name of variable, and http://address.of.your.proxy:port; as its value. In unix you should consult with your shell manual for the proper command and proper startup script file (in bash, this would be export and ~/.bash_profile) You also could use Sys.putenv R function Erbe, Nicole wrote: I'm trying to install rJava to use JRI in a Java program as JRI is a part of rJava. There should be the option to install this package via install.packages(rJava). Unfortunately I'm connected to the internet via a proxy. I have no idea how to tell R to connect via the proxy. The R-help tells me something about environment variables like http_proxy. But I have no idea how and where to set these variable as I'm new to R. I don't know whether this is the right way to solve my problem. Is there anyone out there who knows how to solve this problem? Any help is appreciated. -- View this message in context: http://www.nabble.com/using-install.packages-via-proxy-tf3564991.html#a9958606 Sent from the R help mailing list archive at Nabble.com. __ [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 and provide commented, minimal, self-contained, reproducible code. __ [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 and provide commented, minimal, self-contained, reproducible code.
[R] phi correlation
Hello my big problem is, i can´t find the phi-correlation instruction in the R - programm. (correlation method= spearman, pearson, kendall, I have found) I also cant find the transform instruction which I can transform rational vector into nominal vectors (binary) Transforming into ordinaI I have found with the rank instruction, but I have no found into nominal dates. Please help me . I need it for an examination !!! Thank you Adolf Pessernig [[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
[R] (no subject)
Hi, I wonder if you can help me: I cannot seem to be able to import my data anymore. When I try to import the attached file with the string FunctRes-read.table(C:/Documents and Settings/FunctRes.txt, header=FALSE) I obtain: FunctRes V1 1 ÿþC 2 \n 3C 40 50 6B 7 \n 8C 90 10 1 11 B 12 \n 13 C 14 0 15 0 16 B 17 \n 18 C 19 0 20 1 21 B 22 \n 23 C 24 0 25 1 26 B 27 \n 28 C 29 0 30 1 31 B Can you help me? Thanks Nicole Dr Nicole Soranzo Centre for Population Genetics and Human Health University College London Darwin Building Gower Street London WC1E 6BT Tel: +44 (0)20 7679 4397 Fax: +44 (0)20 7679 2887 E-mail: [EMAIL PROTECTED] http://popgen.biol.ucl.ac.uk/ ÿþC E P H 0 . 0 0 7 8 1 2 5 1 B C E P H 0 . 0 0 7 8 1 2 5 1 B C E P H 0 . 0 0 7 8 1 2 5 0 . 0 2 0 5 1 7 B C E P H 0 . 0 0 7 8 1 2 5 0 . 0 3 1 4 7 9 B C E P H 0 . 0 0 7 8 1 2 5 1 B C E P H 0 . 0 0 7 8 1 2 5 0 . 1 4 6 3 1 B C E P H 0 . 0 0 7 8 1 2 5 1 B C E P H 0 . 0 0 7 8 1 2 5 1 B C E P H 0 . 0 0 7 8 1 2 5 1 B __ [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] Searching a Table
Is there any way to search a column of a table? I read in a table and I want to create a subset based on the criteria that a certain column (filled with words) has a word which starts with a certain letter. The only method I have seen that searches this way is apropos(), but that doesn't seem to search the location I want. If anyone can make a recommendation I would appreciate it. Thanks! Nicole Baggette [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help