search for: hbrc

Displaying 18 results from an estimated 18 matches for "hbrc".

Did you mean: brc
2005 Mar 17
0
(no subject)
...= NULL, use = "all.obs", method = c("pearson", "kendall", "spearman")) use is the appropriate argument. All you need to do is to decide which option to wish to use. Tom > -----Original Message----- > From: Brett Stansfield [mailto:brett at hbrc.govt.nz] > Sent: Thursday, 17 March 2005 5:55 AM > To: R help (E-mail) > Subject: [R] (no subject) > > > 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 foll...
2005 Mar 23
1
Complete Linkage Clustering techniques
Dear R I recently asked for a cluster analysis Using * cluster.results <- hclust(iris.dist, method="complete") * but nothing happened i.e the previous scatterplot matrix still showed up whereas I was expecting a dendogram. Could it be that because I had used cutree before on the scatter plots that it somehow mucked it up. I tried detach then attach and commenced making the data
2005 May 26
1
Chi Square Test on two groups of variables
Dear R help I have been trying to conduct a chi square test on two groups of variables to test whether there is any relationship between the two sets of variables chisq.test(oxygen, train) Pearson's Chi-squared test data: oxygen X-squared = 26.6576, df = 128, p-value = 1 > chisq.test(oxygen) Pearson's Chi-squared test data: oxygen X-squared = 26.6576, df = 128,
2005 Mar 24
2
font sizes for row.names of dendograms
Dear R I recently performed a cluster analysis. It produced the dendogram no problem but unfortunately the font size of the row.names were all cluttered due to their large size So I tried to change the font size using plclust(cluster.results, labels=iris$specie, cex=0.8) and R came back to me saying Error in plclust(cluster.results, labels = iris$specie, cex = 0.8) : unused argument(s)
2005 Mar 21
2
Highlighting points in a scatter plot matrix
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. Unfortunately this highlights all the x,y
2005 Mar 21
2
NaN
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.00000000 0.95584875 -0.3936373 -0.07488845 -0.3428373 BrainWt 0.95584875 1.00000000 -0.3867947 -0.07427740 -0.3370815 SlowSleep -0.39363729
2005 Feb 02
4
(no subject)
can you recommend a good manual for R that starts with a data set and gives demonstrations on what can be done using R? I downloadedR Langauage definition and An introduction to R but haven't found them overly useful. I'd really like to be able to follow some tutorials using a dataset or many datasets. The datasets I have available on R are Data sets in package 'datasets':
2005 Feb 02
1
selecting subsets of data for analysis
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 Quality Hawke's Bay Regional Council 102 Vautier Street Private Bag 6006 Napier Phone (06) 835-9200
2005 Feb 02
1
FW: Document1
> -----Original Message----- > From: Brett Stansfield > Sent: Wednesday, 19 January 2005 4:25 p.m. > To: 'S.Ganesh at massey.ac.nz' > Subject: Document1 > > <<Doc1.doc>> I was trying to get R to analyse one variable of the file > Chicken Weight. when I ask > > hist(data$weight) > R says "x must be numeric" > yet when I
2005 Mar 04
1
(no subject)
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
2005 Mar 16
2
(no subject)
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",
2005 Mar 27
1
Subject [applying labels to a scatter plot matrix]
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 do this? brett stansfield
2005 Apr 05
2
Principle Component Analysis in R
Dear R Should I be concerned if the loadings to a Principle Component Analysis are as follows: Loadings: Comp.1 Comp.2 Comp.3 Comp.4 X100m -0.500 0.558 0.661 X200m -0.508 0.379 0.362 -0.683 X400m -0.505 -0.274 -0.794 -0.197 X800m -0.486 -0.686 0.486 0.239 Comp.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
2005 May 29
2
joining files after canonical correlation
Dear R, I recently did a canonical correlation analysis on two subsets of data (location and weather). So I now have canonical scores for location and weather. but I'd now like to do a scatterplot matrix using the pairs statement. Is there a way to somehow join location.U and weather.V to become a new data set from which I could undertake a scatterplot matrix of the canonical variates?
2005 Apr 15
1
Factor Analysis Biplot
Dear R help I am having difficulty doing a biplot of the first two factors of a factor analysis. I presume it is because the values in factor 2 for Milk and NUTS are not displayed in the component loadings. Loadings: Factor1 Factor2 RedMeat 0.561 -0.112 WhiteMeat 0.593 -0.432 Eggs 0.839 -0.195 Milk 0.679 Fish 0.300 0.951 Cereals -0.902 -0.267
2005 Apr 28
0
Linear Discriminant Analysis Biplots
Dear R I'm trying to plot the lda means onto a 2 D plot of discriminant scores. Preferably I'd like these to be in a larger font compared to the discriminant scores. I tried skull.mean.pred <- predict(skulls.lda, as.data.frame(skulls.lda$means), dimen=2) from which I got skull.mean.pred $class [1] 1 2 3 4 5 Levels: 1 2 3 4 5 $posterior 1 2 3 4
2005 Feb 28
3
(no subject)
Dear R Can you tell me how to change the working directory of R It's just that I have some text files that I wish to save separately from the R filing structure eg. into C:/my documents and need to change the working directory of R so that it reads these files . This means if I ever upgrade the current version of R nothing will be effected. brett Brett Stansfield Environmental Scientist -
2005 Apr 11
0
plotting Principle components vs individual variables.
Dear R, I'm trying to plot the first principle component of an analysis vs the first variable but am having trouble. I have no trouble doing the initial plot but have difficulty thereafter. First I want to highlight some points of the following data set list(running) [[1]] X100m X200m X400m X800m X1500m X5K X10K Marathon Argentina 10.39 20.81 46.84 1.81