[R] Overplotting in GGPLOT

2013-01-16 Thread Nick Duncan
Dear All, I am struggling to jitter the labels in this plot: p-ggplot(centbev,aes(x=bet,y=eig,label=rownames(centbev),colour=res, size=abs(res)))+xlab(Betweenness Centrality)+ylab(Eigenvector Centrality) p+geom_text()+labs(title=Key Actor Analysis AD FD Network) When I try this without

[R] Putting an array from excel into R Studio

2013-02-11 Thread Nick Duncan
? Or, does one have to import the worksheet and then begin the analysis through R using the RODBC package? Many thanks, Nick Duncan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] Replacing string in matrix with zero

2012-11-14 Thread Nick Duncan
it in R. If you have the route to do this, it would be much appreciated. Best wishes Nick Duncan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] Replacing string in matrix with zero

2012-11-15 Thread Nick Duncan
11:13, Nick Duncan wrote: Dear All, I have a matrix in which the diagonal has the string Inf in it. In order to be able to do cluster analysis this needs to be replaced with a Zero. I am very sceptical about this assertion. Inf means infinity which is of course *NOT* the same as 0

[R] Function for extracting Lambda Sets

2012-11-15 Thread Nick Duncan
Dear All, I would like to extract Lambda Sets from a binary matrix that represents a social network. The calculation of Lambda Sets is set out in Borgatti 1990 (which can be downloaded freely). The package SNA goes part of the way with the function MaxFlow but does not have the Lambda

Re: [R] Function for extracting Lambda Sets

2012-11-16 Thread Nick Duncan
, Mehmet On Thu, Nov 15, 2012 at 10:45 AM, Nick Duncan nickd...@gmail.com wrote: Dear All, I would like to extract Lambda Sets from a binary matrix that represents a social network. The calculation of Lambda Sets is set out in Borgatti 1990 (which can be downloaded freely). The package SNA

[R] Read Write permissions in current directory

2012-11-20 Thread Nick Duncan
the wiser. Any advice much appreciated? Best, Nick Duncan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self

[R] error message in Linkcomm package

2012-11-22 Thread Nick Duncan
Dear All, Some of the functions in Linkcomm return an error: unused argument(s) (v = V(x$igraph)) Although I follow the guidance in the manual a number of the functions return this error. The igraph vector is an edgelist. Many thanks for any guidance. Best, Nick

[R] Adding a value to one dataframe from another dataframe

2012-12-12 Thread Nick Duncan
Dear All the problem I have is as follows. I have attribute data in a number of data.frames identified 1:58 (the column Null is just there to stop it becoming a list, which caused me trouble, the data I am interested in is in column 1, although other data frames have multiple categories/cols).

[R] Fwd:

2013-01-04 Thread Nick Duncan
http://marionniles.com/myxgcvc.php __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained,

[R] Correlation Matrix Kendall Tau-b with P value

2012-05-15 Thread Nick Duncan
Dear All, I have been trying to find some code to enable this matrix to be generated, but don't seem to find one in which the tau-b and p values are inserted into the matrix. I have found a number that seem to require two matrices, which is a bit clumsy. Any guidance much appreciated. Best, Nick