[R] Modify the vertex label

2010-09-27 Thread anderson nuel
Dear r-help, I create a graph of my baysian network. I use the package igraph. The names of vertex are within the circle, I would leave them outside the circle? > E(g)$color <- "black" > tkplot(g, ,vertex.label=names,layout=layout.kamada.kawai, edge.color=E(g)$color) Best Regards [[al

Re: [R] creation package

2010-08-25 Thread anderson nuel
e Calls: RT-> plot -> plot.igraph -> text -> text.default Execution halted Best Regards, 2010/8/19, Michael Dewey : > > At 13:57 19/08/2010, anderson nuel wrote: > >> Dear r-help, >> >> I don't use namespace. >> > > Well, as I said in m

Re: [R] creation package

2010-08-19 Thread anderson nuel
lists all the functions(comb l,earn_comb, nchoo,RT),but in the 'man' I left only namepackage-package.Rd and RT.Rd. When I did do this, is it true?? Best Regards 2010/8/18, Michael Dewey : > > At 10:27 18/08/2010, anderson nuel wrote: > >> Dear r-help, >> &g

Re: [R] creation package

2010-08-18 Thread anderson nuel
-> nrow Execution halted I think my problem in creating the package in this: I have a singleglobal function (RT) in my package, but inside RT I need to call several other function( comb l,earn_comb, nchoo). When I used package.sekeleton, Iput in lists all the functions(comb l,earn_comb, nchoo,RT),but

Re: [R] creation package

2010-08-14 Thread anderson nuel
all.out > > But we really need that file to understand what is going on. > > Uwe Ligges > > > > > > > On 13.08.2010 15:12, anderson nuel wrote: > >> Dear r-help, >> I try this command R CMD INSTALL,but still there are errors. >> I look i

Re: [R] creation package

2010-08-13 Thread anderson nuel
.skeleton() I put in the function list seulemnt RT or any other functions, or I shall all functions in the same page?? Best 2010/7/31, Uwe Ligges : > > > > On 30.07.2010 15:44, anderson nuel wrote: > >> Dear r-help, >> >> I create a package. When I installed this packa

[R] creation package

2010-07-30 Thread anderson nuel
Dear r-help, I create a package. When I installed this package (I use this command : R CMD check namepackage),I find an error: * checking whether package 'namepackage' can be installed ... ERROR Installation failed. Could you help me to find solution for this error. Best Regards [[alt

[R] empty matrix

2010-05-10 Thread anderson nuel
Dear r-help, Could you help me to find the function which create an empty matrix. I use matrix(), but it gives *a single value that is NA and length of this matrix is 1.* ** *Best Regards* [[alternative HTML version deleted]] __ R-help@r-pro

Re: [R] Find solution for an error in the condition of if

2010-05-03 Thread anderson nuel
I will sur that problem is coming from the first part of the test. data[pa,k] is a vector because pa is a vector. Coud you help me to solve this error. Best Regards 2010/4/30 Duncan Murdoch > On 30/04/2010 4:19 AM, anderson nuel wrote: > >> Dear r-help, >> >> C

Re: [R] Find solution for an error in the condition of if

2010-04-30 Thread anderson nuel
> warnings() 1: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... : the condition has length>1 ,and only the first element is used I add & between the two conditions..it solve the problem. But , it gives a >> false result. >> >> Best Regards >> > > > [[alternative HTML versi

[R] Find solution for an error in the condition of if

2010-04-30 Thread anderson nuel
Dear r-help, Could you help me to find a solution for this error: Il y a eu 50 avis ou plus (utilisez warnings() pour voir les 50 premiers) > warnings() Messages d'avis : 1: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... : la condition a une longueur > 1 et seul le premier élément

Re: [R] change the size of matrix

2010-04-26 Thread anderson nuel
2468 10 12 Best 2010/4/26 David Winsemius > > On Apr 26, 2010, at 3:18 PM, anderson nuel wrote: > > Dear r-help, >> >> Could you help me to find the function which change the size of matrix . >> > > ?dim > > >> >> B

[R] change the size of matrix

2010-04-26 Thread anderson nuel
Dear r-help, Could you help me to find the function which change the size of matrix . Best Regards [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posti

[R] help

2010-04-23 Thread anderson nuel
Hello, Could you help me to find the function which gives a vector that indicate the element in a vector A that are not in a vector B. Best Regards [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] help

2010-04-19 Thread anderson nuel
gt; [2,]456 >> > a2 <- matrix(7:10, nrow = 2, byrow = TRUE) >> >> > combvec2(a1, a2) >> [,1] [,2] [,3] [,4] [,5] [,6] >> [1,]123123 >> [2,]456456 >> [3,]77788

Re: [R] help

2010-04-19 Thread anderson nuel
gt; > > combvec2(a1, a2) > [,1] [,2] [,3] [,4] [,5] [,6] > [1,]123123 > [2,]45 6 456 > [3,]777888 > [4,]999 10 10 10 > > HTH, > Dennis > > On Sun, Apr 18, 2010 at 3:00

Re: [R] help

2010-04-18 Thread anderson nuel
brew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > > ------ > > > > > On Sun, Apr 18, 2010 at 1:00 PM, anderson nuel wrote: > >> Hello, >> >> I would like to create all combinations of vectors. I find on Matalb >> this >> functi

[R] help

2010-04-18 Thread anderson nuel
Hello, I would like to create all combinations of vectors. I find on Matalb this function 'combvec' which create all combinations of vectors. Please could you help me to find the corresponds function of 'combvec'. For example: On Matlab >> a1 = [1 2 3; 4 5 6] a1 = 1 2 3