search for: cg

Displaying 20 results from an estimated 600 matches for "cg".

Did you mean: cgi
2005 Jan 06
8
Asterisk startup
Is there a way to execute specific applications at Asterisk startup (like "startup context" or something)?
2006 Nov 09
4
Plotting symbols with two positions?
...trial series, using the numbers of the trials as symbols in the plot. pch = as.character(trial_no) works fine, but truncates the trial number to the first digit. As I have sixteen trials in the series I get into problems.... How do I squeeze in two positions as a symbol in a plot? All the best /CG On Thu, November 9, 2006 9:30 am, Dimitris Rizopoulos said: > try the following: > > x <- runif(100, -4, 4) > y <- 1 + 2 * x + rnorm(100, sd = 2) > fit <- lm(y ~ x) > > plot(x, y) > abline(fit) > legend("topleft", expression(paste(R[adj]^2, " = 0...
2006 Apr 21
5
optim "CG" bug w/patch proposal (PR#8786)
Dear R team, when using optim with method "CG" I got the wrong $value for the reported $par. Example: f<-function(p) { if (!all(p>-.7)) return(2) if (!all(p<.7)) return(2) sin((p[1])^2)*sin(p[2]) } optim(c(0.1,-0.1),f,method="CG",control=list(trace=0,type=1)) $par 19280.68 -10622.32 $value -0.23...
2008 Mar 18
1
S4 : dumpMethod
Hi the list, I almost finished the green book (chapter 7 and 8 on S4), this is probably one of my last question :-) I hope you will not miss them to much ! Here is my today nighmare: I do not manage to use dumpMethod : setClass("A",representation(a="numeric")) setMethod("plot","A",function(x,y,...){cat("AAAAA\n")})
2005 Oct 28
3
replacing a factor value in a data frame
...hat's driving me mad. I have a dataframe of factors, from a genetic scan of SNPs. I DO have NAs in the dataframe, which would look like: V4 V5 V6 V7 V8 V9 V10 1 TT GG TT AC AG AG TT 2 AT CC TT AA AA AA TT 3 AT CC TT AC AA <NA> TT 4 TT CC TT AA AA AA TT 5 AT CG TT CC AA AA TT 6 TT CC TT AA AA AA TT 7 AT CC TT CC <NA> <NA> TT 8 TT CC TT AC AG AG TT 9 AT CC TT CC AG <NA> TT 10 TT CC TT CC GG GG TT In the dataframe I have 1 column where one factor has been erroneosly given alternative readings: CG and GC. I w...
2012 Sep 26
3
replace string values with numbers
Hi everyone, I have a data frame Gene with SNPs eg. P1 P2 P3 CG CG GG -- -- AC -- AC CC AC -- AC I tried to replace all the GG with a value 3. Gene[Gene=="GG"]<-3 It always give me: Warning in `[<-.factor`(`*tmp*`, thisvar, value = 3) : invalid factor level, NAs generated Does any know if there is anything wrong with my code? Thanks,...
2006 Jun 30
3
data extraction
...have a data that have 20,000 rows and 20 columns. Io wonted to extract the 10th row only. Example the 10th, 20th, 30th 40th…..20000 th. can you please help me how do I do that.Than kyou. Example is below. Inpute: AG GG GG AG CC CC CC CC CT CC CT CT GG GG GG GG CC CC CC CC GG GG GG GG CC CC CC CC GG CG CG GG GG GG GG GG *CC CC CC CC* AA AG AG AA AA AA AA AA GG AG AG GG GG AG AG GG GG GG GG GG TT TT TT TT AA AG AG AA CT CC CT TT AG AA AG GG *AA AA AG AG* AA AA AA AA CC CC CC CG GG GG GG AG CT TT CT CT AT AA AT AT GG GG GG AG CG CC CG GG GG GG GG AG CC CC CC CT GG GG GG GG *GG GG AG AG *CC CC CC CT...
2010 Dec 27
0
First release of package "cg" for comparison of groups
Version 0.9.0, a first release of cg, is published on CRAN and its mirrors. The "cg" name stands for "compare groups." Its genesis and evolution are driven by common "in-practice" needs to compare samples, treatments, administrations, conditions, etc. in medicine research & development. The current ve...
2010 Dec 27
0
First release of package "cg" for comparison of groups
Version 0.9.0, a first release of cg, is published on CRAN and its mirrors. The "cg" name stands for "compare groups." Its genesis and evolution are driven by common "in-practice" needs to compare samples, treatments, administrations, conditions, etc. in medicine research & development. The current ve...
2003 Feb 26
2
na.action in model.tables and TukeyHSD
...lem by taking the whole trial away from the dataset, but it doesn?t feel very sophisticated...;-) (Prof. Ripley answered a similar question from me two weeks ago. The answer was good but didn?t work as the reason of the error was the same as this time: a whole trial with only na:s in it). Thanks /CG CG Pettersson cg.pettersson at evp.slu.se
2006 Jun 17
2
managing data
...Y" is (19850 rw, 9 col). Therefore my out put need to be "Z" is (19010rw,15 col). A small example of my input and out put is here below. Thank you in advance! input Table"X"" A,1,2,2 B,2,1,1 C,1,2,2 E,2,2,1 F,2,1,1 H,1,2,2 J,2,1,1 K,2,1,1 Table"Y" A,GG,CG, B,CC,TC, C,CA,AA, D,AT,TT, E,AA,AA, F,CG,CG, G,CC,CC, H,GG,GT, I,GT,TT, J,AA,AT, K,AC,CC, output Table"Z"" A,1,2,2,A,GG,CG, B,2,1,1,B,CC,TC, C,1,2,2,C,CA,AA, E,2,2,1,E,AA,AA, F,2,1,1,F,CG,CG, H,1,2,2,H,GG,GT, J,2,1,1,J,AA,AT, K,2,1,1,K,AC,CC, Regards Hannes [[alternative HTML...
2013 Dec 11
1
Driver for Realtek RTL8151GH-CG
Does anybody know if NIC Realtek RTL8151GH-CG is supported on FreeBSD 9.2 or 10.0? It is included in HP ProDesk 490 MT which I may buy, but I cannot find what hardware parts are supported by FreeBSD and what not. I am running FreeBSD for about 13 years on servers. I didn't run it on desktop grade HW for more than 8 years. So any tips f...
2011 Mar 30
1
[LLVMdev] Trouble traversing the CallGraph
...ying to traverse nodes in the CallGraph I get stuck in nodes representing external functions. Take the following code: ----- #include <stdio.h> int main() { printf( "Hello World!\n" ); } ----- If I try to traverse the CallGraph using the following code: ----- CallGraph CG = this->getAnalysis<CallGraph>(); for( CallGraph::const_iterator i = CG.begin(); i != CG.end(); ++i ) { CallGraphNode * cgn = i->second; for( CallGraphNode::const_iterator ii = cgn->begin(); ii != cgn->end(); ++ii ) {} } ----- The CallGraphNode::const_iterator is inconsist...
2006 May 24
0
optim "CG" bug w/patch proposal (PR#8786)
...;>> I've checked the original source, and the C code in optim does >> >>> accurately reflect the published algorithm. >> >>> >> >>> Since your example is a discontinuous function, I don't see why you >> >>> expect CG to work on it. John Nash reports on his extensive >> >>> experience that method 3 is the worst, and I don't think we should >> let >> >>> a single 2D example of a badly-behaved function override that. >> >>> >> >>>...
2006 May 22
3
Syntax error when running dispatch.cgi
Hi, when I execute dispatch.cgi at the command line, I get the following error message: [cg@cg rails]$ ./public/dispatch.cgi ./public/dispatch.cgi:3:in `require'': ./public/../config/environment.rb:8: syntax error, unexpected ''<'' (SyntaxError) <%= ''# '' if freeze %>RAILS_GE...
2005 Sep 04
1
.Call with C and Fortran together (PR#8122)
...ith the following example: Suppose I made a program in fortran, and a C interfacece to it. Now I want to use this C interface in R to call my fortran program. Then I modified my C file to deal with SEXPs and compile it as a shared lib. Look at the files: File: prog.f ------------- subroutine cg() write(*,*) 'Just a simple test' end subroutine program() write(*,*) 'Calling the function...' call cg() end File test.h ------------ #include "cfortran.h" PROTOCCALLSFSUB0(PROGRAM,program) #define program() CCALLSFSUB0(PROGRAM,progr...
2011 May 23
1
Help with isolating and comparing data from two files.
...utorials but they haven't been much help to me so far. The problem is relatively simple as I've already created working solutions in Java and Perl, but I need a solution in R as well. I have two text files, say pos.txt and reg.txt. In pos.txt, the data is listed for example: c22 1445 - CG 1 4 c22 1542 + CG 2 3 c22 1678 + CG 13 15 ... etc. for thousands of lines. The most important column is column 2, which lists "position" (e.g. 1445, 1542, 1678). In reg.txt, data is listed as: c22 1440 1500 cpg: 44 56 ...... c22 1520 1700 cpg: 56 87 ...... c22 1800 1900 cpg: 58 90 ........
2013 Dec 02
2
[LLVMdev] Segmentation fault when traverse call graph
...ss MyPass which need to traverse call graph, I firstly added the CallGraph analysis to the pass requirements by *AU.addRequired<CallGraph>();* My pass MyPass then will be added to a pass manager by *manager.add(new MyPass());* and then I want to traverse the call graph such as: CallGraph CG = this->getAnalysis<CallGraph>; for (CallGraph::const_iterator i = CG.begin(); i != CG.end(); ++i) { .... } However, I encountered a segmentation fault with the next core dump information. What should I do? llvm::PassInfo::createPass() const + 4 llvm::PMTopLevelManager::schedulePass(llvm...
2016 Jun 08
12
Intended behavior of CGSCC pass manager.
Hi Chandler, Philip, Mehdi, (and llvm-dev,) (this is partially a summary of some discussions that happened at the last LLVM bay area social, and partially a discussion about the direction of the CGSCC pass manager) A the last LLVM social we discussed the progress on the CGSCC pass manager. It seems like Chandler has a CGSCC pass manager working, but it is still unresolved exactly which semantics we want (more about this below) that are reasonably implementable. AFAICT, there has been no pu...
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I had hoped that the following method for using the Sortable library from scriptaculous would work: 1) create the list 2) create a Sortable for it 3) create another list 4) create a Sortable for it and so on. Unfortunately this doesn''t work. I can''t find any info in the documentation for