[R] (no subject)

2009-09-28 Thread Pete Shepard
Hello, I am having a problem understanding the lda package. I have a dataset here: [,1] [,2] [,3] [1,] 2.95 6.630 [2,] 2.53 7.790 [3,] 3.57 5.650 [4,] 3.16 5.470 [5,] 2.58 4.461 [6,] 2.16 6.221 [7,] 3.27 3.521 If I do the following; names(d)-c(y,x1,x2) d$x1 =

[R] help with lda function

2009-09-28 Thread Pete Shepard
I am having a problem understanding the lda package. I have a dataset here: [,1] [,2] [,3] [1,] 2.95 6.630 [2,] 2.53 7.790 [3,] 3.57 5.650 [4,] 3.16 5.470 [5,] 2.58 4.461 [6,] 2.16 6.221 [7,] 3.27 3.521 If I do the following; names(d)-c(y,x1,x2) d$x1 = d$x1 * 100

Re: [R] help with lda function from MASS package

2009-09-29 Thread Pete Shepard
+ 6 2.6052193 + 7 2.6820884), header=T) scale(LD1est) LD1 1 -0.7656170 2 -0.8712721 3 -1.1192555 4 -0.3092138 5 1.3622976 6 0.8391505 7 0.8639103 attr(,scaled:center) LD1 -3.172066e-17 attr(,scaled:scale) LD1 3.104591 On Sep 28, 2009, at 5:54 PM, Pete

[R] limit to p-value using t.test()

2010-02-06 Thread Pete Shepard
Hello, I am using t-test to check if the difference between two poulations is significant. I have a large N=20,000, 10,000 in each population. I compare a few different poulations with eachother and though I get different t-scores, I get the same p-value of 10^-16 which seems like the limit for

[R] getting % influence for 2 factors in LDA

2009-05-23 Thread Pete Shepard
Hello R-list, I am preforming an lda on the following data. Curvature Diameter Quality 1 2.95 6.63Passed 2 2.53 7.79Passed 3 3.57 5.65Passed 4 3.16 5.47Passed 5 2.58 4.46 NotPassed 6 2.16 6.22 NotPassed 7 3.27

[R] trouble loading candisc

2008-12-10 Thread Pete Shepard
Hello, I am having trouble loading the package candisc onto my R distribution. I am using 2.7.1-2. I do a install.packages(candisc and get the following output. Warning in install.packages(candisc) : argument 'lib' is missing: using '/usr/local/lib/R/site-library' --- Please select a CRAN

[R] candisc plotting

2008-12-11 Thread Pete Shepard
Hello, I have a file with two dependent variables (three and five) and one independent variable. I do i.mod - lm(cbind(three, five) ~ species, data=i.txt) and get the following output: Coefficients: three five (Intercept) 9.949 9.586 species -1.166 -1.156 I do a

Re: [R] candisc plotting

2008-12-12 Thread Pete Shepard
to help. Pete Shepard wrote: Hello, I have a file with two dependent variables (three and five) and one independent variable. I do i.mod - lm(cbind(three, five) ~ species, data=i.txt) and get the following output: Coefficients: three five (Intercept) 9.949 9.586

[R] candisc

2009-01-19 Thread Pete Shepard
Hello, I have a question regarding the candisc package. My data are: speciesthreefive 12.956.63 12.537.79 13.575.65 13.165.47 22.584.46 22.166.22 23.273.52 I put these in a table and then a linear model newdata - lm(cbind(three,

[R] heatmap and automatic box sizes

2009-08-18 Thread Pete Shepard
Dear R, I have a list of X,Y coordinates and a ratio associated with each coordinate. The X and Y coordinates are continuous but random from 50-500, I would like to make a continuous heatmap of the ratios at each coordinate. One caveat is that the coordinates are clustered together do some bixes

[R] does rpy support R 2.12.2

2011-03-01 Thread Pete Shepard
Hi, I am getting the following error when I try to run import rpy from the the python IDE: Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.6/dist-packages/rpy.py, line 134, in module % RVERSION) RuntimeError: No module named _rpy2122 RPy