[R] Putting an array from excel into R Studio

2013-02-11 Thread Nick Duncan
ity between excel and R studio? 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

[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 ji

[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, reproducible

[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). The

[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] Read Write permissions in current directory

2012-11-20 Thread Nick Duncan
ving looked at these help pages I'm none 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-g

Re: [R] Function for extracting Lambda Sets

2012-11-16 Thread Nick Duncan
ets' > > Best, > Mehmet > > On Thu, Nov 15, 2012 at 10:45 AM, Nick Duncan 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 Borgat

[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 partitioning

Re: [R] Replacing string in matrix with zero

2012-11-15 Thread Nick Duncan
Dear Rolf, You are of course quite right, however I wish the diagonal to be ignored by setting the value to zero. The inf was just recognising the flow value from self to self. A very fair point though. Best, Nick On 15 November 2012 04:10, Rolf Turner wrote: > On 15/11/12 11:13, Nick Dun

[R] Replacing string in matrix with zero

2012-11-14 Thread Nick Duncan
imple way to do 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/pos

[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