similar to: Labelling individual points on 3D PCA scatterplot

Displaying 20 results from an estimated 120 matches similar to: "Labelling individual points on 3D PCA scatterplot"

2012 Jun 19
1
help with xy.coords(x,y)
i am working on the project to analyze hedge fund performance, i would appreciate that if you guys could spare some time helping me out with the R code. Thanks. The senario is: i applied BOXPLOT() to plot the performance of all hedge funds with 7 strategies. And right now in this boxplot I need to plot the points of 30 individual hedge funds from my portfolio. And I applied POINTS() and
2018 Apr 20
1
Further questions
Hi R folks, In my previous post I forgot to mention that I was new to R. I was really grateful for your quick help. I have two further questions: 1) In the graph of a regression line I would like to show one specific residual yi obs - yi pred (let's take the person whose residual is 76). How do I add a bracket to this vertical distance and name it? I'am getting stuck after the
2012 Oct 23
1
scatterplot with wrong line offset
Hi All, I'm trying to do a Scatterplot (package: car), and add a line (just for reference). There is my code: #------------------------------------Code--------------------------------------------------- library("car") library("calibrate") G_T<-c("car","bike","boat") ave<-c(80,10,45) perf<-c(100,80,75) df2<-data.frame(G_T,ave,perf)
2012 Jun 14
1
Help for boxplot
Hi guys, I am doing a project to evaluate the 7 individual fund performance from a portfolio compared with all fund performance utilizing the same strategy. Lets say in total there are 10 strategies and in the portfolio there exist 5 strategies. First, i use the BOXPLOT() and SUBSET() to produce the box plot of all the 5 funds performance individually: #identify funds in strategies within
2010 May 02
3
adding year information to a scatter plot
Hi R users, I would like to add year information to each point in a scatter plot. The following example shows what i mean: df=data.frame(year=c(2001,2002,2003),a=c(8,9,7),b=c(100,90,95)) df plot(b~a,data=df) Now, I would like to see which point belongs to 2001, 2002 and 2003 in the above graphic. Thank you very much, ozan [[alternative HTML version deleted]]
2012 Nov 24
3
How to Label Cases in Scatterplots?
Hi everyone, i?m trying to graphically display distributions with r and i?m working with makrodata from the WVS. the command i?m using is > plot (Makrodata$v11, Makrodata$v12, xlab="Democracy Score Economist", > ylab= share religious people") i?m having an additional variable that identifies respectively labels the
2011 Jun 30
2
sdev value returned by princomp function (used for PCA)
Dear all, I have a question about the 'sdev' value returned by the princomp function (which does principal components analysis). On the help page for princomp it says 'sdev' is 'the standard deviations of the principal components'. However, when I calculate the principal components for the USArrests data set, I don't find this to be the case: Here is how I
2011 Aug 09
2
S4 classes, some help with the basics
Hi All, I have tried to find an answer within documentation, but I cannot: o How can call a class "slot" without knowing the name a priori? E.g., let's say I use the "pcaMethods" library to create a "pcaRes" object. How can I call parts of that object without using the specific names of the object in the call? example code: library(pcaMethods)
2010 Apr 16
1
PCA scores
Hi all, I have a difficulty to calculate the PCA scores. The PCA scores I calculated doesn't match with the scores generated by R, mypca<-princomp(mymatrix, cor=T) myscore<-as.matrix(mymatrix)%*%as.matrix(mypca$loadings) Does anybody know how the mypca$scores were calculated? Is my formula not correct? Thanks a lot! Phoebe [[alternative HTML version deleted]]
2012 Feb 22
1
xtable prcomp
Hi, I need to export to LaTex the summary of a PCA. So: myPCA <- prcomp(myDF) mySummary <- summary(myPCA) # print(xtable(mySummary)) How can I export to LaTeX not all the summary but only the first nPCs?? Best Riccardo
2013 Jul 10
3
PCA and gglot2
Hi, I was trying as well as looking for an answer without success (a bit strange since it should be an easy problem) and therefore I will appreciate you help: My simple script is: # Loadings data of 5 columns and 100 rows of data data1<-read.csv("C:/?/MyPCA.csv") pairs(data1[,1:4]) pca1 <- princomp(data1[,1:4], score=TRUE, cor=TRUE) biplot(pca1) The biplot present the data
2012 Dec 04
2
Labelling x axis in plot function
Hi, In the plot function I want to label x axis as the numbers between 1 and 12 (so 1, 2, 3, 4, 5, ..., 12). How should I do it? The range of x values are different than this range. Thanks! Kind regards, T. Bal [[alternative HTML version deleted]]
2004 Sep 27
1
greek letters for labelling axes
Hi, Does anyone have any ideas on how to show greek letters on the x and y axes? I have tried > plot(x,y, xlab=expression(delta), ylab=expression(gamma)) but the output on the x-axis is "d" and on the y-axis it is "g". Any help will be very much appreciated. Cheers, Sam.
2009 Aug 23
1
[LLVMdev] Basic question concerning phi nodes and SSA variable labelling.
I have a basic question concerning how LLVM assigns labels to the LHS of an SSA assignment. My impression from the interface is you can pick a string which becomes the label for the result. However if you multiple labels which share the same name in a function a number gets added to the end of the label (is this correct?). In cases where you need to know what these resulting labels are is it
2010 Nov 15
1
What's the meaning of labelling a game with "steam"
Hi guys! I was reading to the platinum games list and I noticed that many are accompanied by the "steam" label (i.e. day of defeat steam): what does that mean? Can't I use the normal game dvd to install the game? Sorry but I'm quite a wine noob! Thanks in advance!
2006 Jan 09
0
Partition labelling
When doing a network install with a kickstart file, how do I prevent the partition label on the root filesystem from being changed? I'm building a system with multiple flavors of CentOS in separate partitions and I would really like to have the partition labels be something meaningful. So far, the only idea I've come up with is to use the --noformat flag on the partition definintion in
2006 May 05
0
plot.ts bad default labelling and lag.plot incomplete doc
Hi all. I've found that also in R-2.3.0 there is the bad labelling previously found in R-2.2.1. x <- ts(1:3) plot(lag(x,1),x) #labels 1 and 3 are superposed on the first point. plot(lag(x,1),x, xy.labels=as.character (1:2)) #this is ok xy <- ts.intersect(lag(x,1),x) plot(xy[,1],xy[,2]) #this also is ok The same problem is shown by lag.plot, which in turn calls plot.ts. Also note that
2002 Apr 22
0
Problem with logarithmic axes labelling
Dear R-helpers! Using logarithmic axes sometimes results in an odd labelling. In some cases, only half of the axes do have labels. Hmmmm. I've played around with par(lab=c(5,5,7)) but that didn't help. An example: ---- begin example ---- x <- c(0.12, 0.3, 0.53, 1.1, 1.8, 2.6, 4.5) y <- c(0.012, 0.021, 0.032, 0.055, 0.1, 0.2, 0.35) plot(x, y, log="xy",
2004 Nov 27
1
labelling barplot
Hi. I'd like to produce a barplot where only the lowest value and the highest value are labelled on the x-axis. E.g. I might have a list of numbers and frequencies: barplot( c( 2, 2, 0, 4, 2 ), names.arg=c( 1, 2, 3, 4, 5 ) ) where the data is a set of counts for some values between 1 and 5. I'd like to have a barplot where only the extremes 1 and 5 are labelled. How do I do this?
2005 Jan 17
1
bold face labelling / expression
Dear colleagues, I have a great problem in using "expression" for axes labels. I want the labels in bold face (i.e.: par(font.lab=2)). When typing boxplot(y ~ groups, names = "" , xlab = "", ylab = "", axes = F) axis(side=1, at=c(1,2), xlab=c(expression(H[2]*O),"others")), I do not get a bold face labelling. Does anyone know, how I could