[R] joining files after canonical correlation

2005-05-29 Thread Brett Stansfield
ecome a new data set from which I could undertake a scatterplot matrix of the canonical variates? brett Brett Stansfield Environmental Scientist - Water Quality Hawke's Bay Regional Council 102 Vautier Street Private Bag 6006 Napier Phone (06) 835-9200 extn 9334 Fax (06

[R] Chi Square Test on two groups of variables

2005-05-26 Thread Brett Stansfield
e = 1 > chisq.test(oxygen) Pearson's Chi-squared test data: oxygen X-squared = 26.6576, df = 128, p-value = 1 It looks as if R is only reading the first set of variables pertaining to oxygen. Is there a way for it to test for two groups of variables? brett stansfield Brett Stansfield

[R] Linear Discriminant Analysis Biplots

2005-04-28 Thread Brett Stansfield
s anyone know how to do this properly Brett Stansfield __ 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] Factor Analysis Biplot

2005-04-14 Thread Brett Stansfield
Eggs 0.839 -0.195 Milk 0.679 Fish 0.300 0.951 Cereals -0.902 -0.267 Starch 0.542 0.253 Nuts -0.760 Fr.Veg-0.145 0.325 So how can I get it to do a biplot? Is there a way for R to recognise component loadings less than the cut off value??

[R] Factor Analysis Biplot

2005-04-14 Thread Brett Stansfield
biplot I get biplot(eurofood.fa$scores[,1], eurofood.fa$scores[,2]) Error in 1:n : NA/NaN argument What can I do to overcome this?? Brett Stansfield __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] plotting Principle components vs individual variables.

2005-04-10 Thread Brett Stansfield
57347990 USSR2.30107089 -0.382390458 0.1891648810 0.330762873 Western Samoa -3.87627808 -1.843488955 0.8209468511 0.188597852 I think what is happening is that running2 only has 5 rows while pca$scores has 55 Can anyone help here? Brett Stansfield __

[R] Plotting principle components against individual variables

2005-04-08 Thread Brett Stansfield
ot;red") Error in xy.coords(x, y) : x and y lengths differ What am I doing wrong here Brett Stansfield __ 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] Principle Component Loadings

2005-04-07 Thread Brett Stansfield
Dear R Could you help here I'm trying to decifer what the principle component loadings are in an R output. Are they in any way related to eigen vectors or eigen values? Brett Stansfield __ R-help@stat.math.ethz.ch mailing list https://stat.et

[R] Principle Component Analysis in R

2005-04-04 Thread Brett Stansfield
.1 Comp.2 Comp.3 Comp.4 SS loadings 1.00 1.00 1.00 1.00 Proportion Var 0.25 0.25 0.25 0.25 Cumulative Var 0.25 0.50 0.75 1.00 I just got concerned that no loading value was given for X100m, component 3. I have looked at the data using list() and it all seems OK brett

[R] Subject [applying labels to a scatter plot matrix]

2005-03-26 Thread Brett Stansfield
Dear R Is there a way to apply row names as labels to a scatter plot matrix , I tried pairs(dogs, labels=row.names) Error in strwidth(labels, "user") : cannot coerce type closure to character vector I'm not sure what this means, however maybe you might know of a way to

[R] font sizes for row.names of dendograms

2005-03-23 Thread Brett Stansfield
saying Error in plclust(cluster.results, labels = iris$specie, cex = 0.8) : unused argument(s) (cex ...) > what am I doing wrong here brett stansfield __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] Complete Linkage Clustering techniques

2005-03-23 Thread Brett Stansfield
before on the scatter plots that it somehow mucked it up. I tried detach then attach and commenced making the data matrix again and followed the procedures through. Not sure what I've done wrong here, can anyone help me brett stansfield __ R-help

[R] Highlighting points in a scatter plot matrix

2005-03-21 Thread Brett Stansfield
Dear R I recently did a scatterplot matrix using the following command pairs(sleep[c("SlowSleep", "ParaSleep", "logbw", "logbrw", "loglife", "loggest")],col=1+as.integer(ParaSleep > 5.5 | SlowSleep > 15.7)) this highlighted outlying points for some of the x,y plots that I needed to identify. Unfort

[R] NaN

2005-03-20 Thread Brett Stansfield
Dear R What does NaN mean? I recently did a correlation on a batch of data for some reason it didn't like one column cor(sleep,use="complete.obs") BodyWt BrainWt SlowSleep ParaSleep TotalSleep BodyWt 1. 0.95584875 -0.3936373 -0.07488845 -0.3428373 BrainWt

[R] (no subject)

2005-03-17 Thread Brett Stansfield
I recently tried to make R highlight certain features in a scatterplot matrix pairs(sleep[c("SlowSleep", "ParaSleep", "logbrw", "loglife", "loggest", "logbw")], * col=1+as.integer(ParaSleep > 5.5)) this worked fine but when I wanted to add another condition i.e where another variabl

[R] (no subject)

2005-03-16 Thread Brett Stansfield
Dear R I recently created some variables in R as in I opened a data set and then produced log base 10 transformations on some of the variables. When I ask R to do a simple x, y plot it recognises the raw data but does not recognise the log transformed variables. It says > plot(logbrw, ParaSleep, t

[R] (no subject)

2005-03-16 Thread Brett Stansfield
Dear R I'm trying to do a correlation matrix for some variables I have. Unfortunately there are some NA entries for some of the variables I tried the following cor(sleep[c("logbw", "logbrw", "SlowSleep", "ParaSleep", "loglife", "loggest")]) but it told me Error in cor(sleep[c("logbw", "logbrw",

[R] (no subject)

2005-03-03 Thread Brett Stansfield
Dear R help Is there a way for R to ignore NA entries in a data set. I find I can do box plots for certain columns that have no NA entries but cannot do histograms or boxplots for the other columns that have NA entries Brett Stansfield __ R-help

[R] (no subject)

2005-02-28 Thread Brett Stansfield
e the current version of R nothing will be effected. brett Brett Stansfield Environmental Scientist - Water Quality Hawke's Bay Regional Council 102 Vautier Street Private Bag 6006 Napier Phone (06) 835-9200 extn 9334 Fax (06) 835-3601 ___

[R] (no subject)

2005-02-01 Thread Brett Stansfield
eaving women Average Heights and Weights for American Women Use 'data(package = .packages(all.available = TRUE))' to list the data sets in all *available* packages. Brett Stansfield Environmental Scientist - Water Quality Hawke

[R] FW: Document1

2005-02-01 Thread Brett Stansfield
> -Original Message- > From: Brett Stansfield > Sent: Wednesday, 19 January 2005 4:25 p.m. > To: '[EMAIL PROTECTED]' > Subject: Document1 > > <> I was trying to get R to analyse one variable of the file > Chicken Weight. when I

[R] FW: Document1

2005-02-01 Thread Brett Stansfield
> -Original Message- > From: Brett Stansfield > Sent: Wednesday, 19 January 2005 4:25 p.m. > To: '[EMAIL PROTECTED]' > Subject: Document1 > > <> I was trying to get R to analyse one variable of the file > Chicken Weight. when I

[R] selecting subsets of data for analysis

2005-02-01 Thread Brett Stansfield
can you tell me how to ask R to analyse a subset of data eg. supposing the data set consists of 9 columns and I only want R to analyse columns 1, 3 and 5 how would I command R to conduct eg. boxplots of those variables only? thanks brett Brett Stansfield Environmental Scientist - Water