similar to: Subject [applying labels to a scatter plot matrix]

Displaying 20 results from an estimated 9000 matches similar to: "Subject [applying labels to a scatter plot matrix]"

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 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 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 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 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 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 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
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 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 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 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 17
0
(no subject)
type ?cor and read the help file In particular read it till you find the entry that tells you how to deal with missing observations. You need to do this because as you get more competent you will undoubdtedly come across other issues, so learning the format of the help and realising why you need to check the Arguments section will reduce your frustration in the future. You also need to read the
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",
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543, height=11.69291) but strwidth() and strheight() give wrong results. > x11(width=42/2.54, height=29.7/2.54, pointsize=12) > plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="", axes=FALSE) > strwidth("Whatever") [1] 0.08471151 > # Now resize the window and
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543, height=11.69291) but strwidth() and strheight() give wrong results. > x11(width=42/2.54, height=29.7/2.54, pointsize=12) > plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="", axes=FALSE) > strwidth("Whatever") [1] 0.08471151 > # Now resize the window and
2002 Aug 14
1
strwidth
Dear plotting experts, I need to determine the width of a string before plotting it to the current device because I want to adjust `mai' to have the necessary space available. It seems to me that this is an "hen and egg" problem: R> a <- "test" R> strwidth(a) Error in strwidth(a) : plot.new has not been called yet # ok, I need an open device R> plot(1:2,
2004 Nov 20
1
Error with strwidth after lattice graphic drawn
In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 2 minor 0.1 year 2004 month 11 day 15 language R I'm getting an error when using strwidth after a lattice graphic is drawn: library(lattice) xyplot(runif(20) ~ runif(20)) strwidth('xxx') Error in strwidth("xxx") : invalid graphics state Any help
2007 Nov 07
1
strwidth and strheight for rotated text
Dear All, I would like to plot text with a box around it. I used strwidth and strheight to compute the size of the box which is plotted with rect: z <- rnorm(10) # horizontal text works plot(rnorm(10)) x1 <- 5 y1 <- 0 label <- "Label" cha <- paste(" ", label, " ", sep = "") xh <- strwidth(cha, cex = par("cex")) yh <-