[R] One application of Tcltk2

2010-05-27 Thread Abelian
Dear All I utilize the Tcltk2 to develop a Gui for application. In order to make my function more clearly, i use a function ,tk2notebook, to build several notes for different application. I have studied the example of this function. In the R- help, it provided a example below. tt2 <- tktoplevel()

[R] Tcl/TK

2009-06-19 Thread Abelian
Dear All Due to develope some usful programe, we choose the R-GUI be our program interface. By the way, i study about userguide of tcl/tk in help, but i think that the help article in R is not clear. For example, when i confuse about some usages and i want to know how to use, i will search on help.

[R] the puzzle of eigenvector and eigenvalue

2009-04-24 Thread Abelian
Dear all I am so glad the R can provide the efficient calculate about eigenvector and eigenvalue. However, i have some puzzle about the procedure of eigen. Fristly, what kind of procedue does the R utilize such that the eigen are obtained? For example, A=matrix(c(1,2,4,3),2,2) we can define the eig

[R] the definition of eigenvector in R

2009-04-23 Thread Abelian
Dear All i have a little puzzle about eigenvector in the R. As we know that the eigenvector can be displayed on several form. For example A=matrix(c(1,2,4,3),2,2) if we want to get the eigenvalue and eigenvector, the code followed eigen(A) $values [1] 5 -1 $vectors [,1] [,2] [1

[R] threshold distribution

2009-04-04 Thread Abelian
Dear ALL I have a list of data below 0.80010 0.72299 0.69893 0.99597 0.89200 0.69312 0.73613 1.13559 0.85009 0.85804 0.73324 1.04826 0.84002 1.76330 0.71980 0.89416 0.89450 0.98670 0.83571 0.73833 0.66549 0.93641 0.80418 0.95285 0.76876 0.82588 1.09394 1.00195 1.14976 0.80008 1.11947 1.09484 0.8149

[R] interactive image graphic

2009-03-27 Thread Abelian
Dear All I want to plot a kind of figures, which can interactive with user. For example, i have a matirx which can be showed by image function. i.e. we can compare the value depend on different colors. However, the change of colors depend on the range of value. Nowaday, i want to set a bar, which c

[R] memory space

2009-03-18 Thread Abelian
Dear all when the program is runing, we can realize that the memory size will be asked more and more.. Therefore, we could meet the significant problem, such as out off memory size. However, even if i rm() some variables that i will not use it anymore, the memory size still not enough. By the way,

[R] how to rotate the histogram

2009-03-11 Thread Abelian
Dear all I want to combine two figures on one plot. First figure display the data distribution. The x-axis of first figure is individual's ranking and the y-axis of first figure is probability. However, the second figure is a histogram about probability. In order to make the figure more clearly, i

[R] how to make the figure more clearly

2009-02-18 Thread Abelian
Dear all when i draw some figures by R, i try to use "jpeg" to display my result. However, it isn't still clear as i want. Especially when i compare the origial figures by R and the ".jpeg" file the code is follwed jpeg(filename=,width = 1200, height = 800, pointsize = 14) .. dev.o

[R] Simulation Result display form

2008-11-21 Thread Abelian
after obtaining the result, the result is displayed below: individual RS_number Phy_Posi LOH_intensity 1 1718890 rs1496555 2.2241110.8121 2 1668776 rs2376495 3.0849860.786 <--- 3 1723597 rs4648462 3.1551270.784 <--- 4 1728870 rs10492940 3.1876070.7831

[R] utilize the R to write something on txt file

2008-10-23 Thread Abelian
i have to utilize the R to report the simulation result by txt file. However, i have to write some introduction and explanination before the result. For example, In the first part. the introduction is like below === === Data description === ===