Displaying 12 results from an estimated 12 matches for "ccode".
Did you mean:
code
2007 Dec 26
2
Principal Components Analysis
Hi,
I do have a file that has 500000 columns and 40 rows. I want to apply PCA on
that data and this is what I did
h1<-read.table("Ccode.txt", sep='\t', header=F) # reads the data from the
file Ccode.txt
h2<-prcomp(na.omit(h1),center=T)
but I am getting the following error
"Error in svd(x, nu = 0) : 0 extent dimensions"
I appreciate if someone can help
Thanks
--
View this message in context: http:...
2009 Nov 20
1
how to link C code with gsl from R CMD and dyn.load
...$ R CMD SHLIB hello.c
WARNING: ignoring environment value of R_HOME
gcc -std=gnu99 -I/usr/local/R-2.8.1/lib64/R/include -I/usr/local/include
-fpic -g -O2 -c hello.c -o hello.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o hello.so hello.o
However, as I tried to load it in R
libPath = "~/ccode"
dyn.load(file.path(libPath, "hello.so"))
I got an error message in R
Error in dyn.load(file.path(libPath, "hello.so")) :
unable to load shared library '~/ccode/hello.so':
~/ccode/hello.so: undefined symbol: gsl_stats_mean
I do have gsl installed and the gls...
2009 Sep 10
0
[PATCH 06/13] nv50: handle SEQ, SGT, SLE, SNE opcodes
...= LT
+ * 0x2 = EQ
+ * 0x3 = LE
+ * 0x4 = GT
+ * 0x5 = NE
+ * 0x6 = GE
+ * 0x7 = set condition code ? (used before bra.lt/le/gt/ge)
+ * 0x8 = unordered bit (allows NaN)
+ */
static void
-emit_set(struct nv50_pc *pc, unsigned c_op, struct nv50_reg *dst,
+emit_set(struct nv50_pc *pc, unsigned ccode, struct nv50_reg *dst, int wp,
struct nv50_reg *src0, struct nv50_reg *src1)
{
struct nv50_program_exec *e = exec(pc);
- unsigned inv_cop[8] = { 0, 4, 2, 6, 1, 5, 3, 7 };
struct nv50_reg *rdst;
- assert(c_op <= 7);
+ assert(ccode < 16);
if (check_swap_src_0_1(pc, &src0, &s...
2010 Aug 14
2
[LLVMdev] clang: compile c code from char array?
Hi, how do I compile c code from a char array in clang?
Im using code from the interpreter example.
Thanks.
char *cCode; // the char array
// fill array with code goes here...
// Initialize a compiler invocation object from the clang (-cc1) arguments.
const driver::ArgStringList &CCArgs = Cmd->getArguments();
llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);
CompilerInvocation::Cre...
2010 Aug 15
2
[LLVMdev] clang: compile c code from char array?
...-dev/2010-June/009507.html
>
> On Sun, Aug 15, 2010 at 2:50 AM, gafferuk <gafferuk at gmail.com> wrote:
>
>>
>> Hi, how do I compile c code from a char array in clang?
>>
>> Im using code from the interpreter example.
>> Thanks.
>>
>> char *cCode; // the char array
>> // fill array with code goes here...
>>
>>
>> // Initialize a compiler invocation object from the clang (-cc1)
>> arguments.
>> const driver::ArgStringList &CCArgs = Cmd->getArguments();
>> llvm::OwningPtr<CompilerInvocatio...
2013 Jun 20
0
Produce HTML reference in knitr using rmd
...ut I haven't been able to figure it out.
<p style="font-size:16px; text-align:center">
Lightpt <#location1> Lightb <#location2> LightbT <#location3>
Graph 4 <#location4>
</p>
graph 1
```{r, include=FALSE}
plot <- function(cCode, model = "y", years = 3) {
CairoPNG(paste(cCode, ".png", sep = ""), width=600, wheigth=675)
lapply(1:ncol(pcmat), function(x) {
...
})
dev.off()}
```
Thank you for your time,
Alex
--
View this message in context: htt...
2009 Feb 06
1
Joint test
...mildrawsh +
milwinwar + millosewar + mildrawwar
+ civwinsh + civlosesh + civdrawsh +
civwinwar + civlosewar + civdrawwar
+ monwinsh + monlosesh + mondrawsh +
monwinwar + monlosewar + mondrawwar
+ frailty(ccode), na.action=na.exclude,
data=LeaderPG.data,
control=coxph.control(eps=1e-09,iter.max=100,outer.max=100))
library(aod)
# To test if Military Leaders are equally sensitive to the outcome of WAR
as Civilian leaders we need a JOINT test.
wald.test(b=coef(modelPG2), Sigma = vcov(modelPG2), Terms=...
2010 Aug 15
0
[LLVMdev] clang: compile c code from char array?
...elp:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-June/009507.html
On Sun, Aug 15, 2010 at 2:50 AM, gafferuk <gafferuk at gmail.com> wrote:
>
> Hi, how do I compile c code from a char array in clang?
>
> Im using code from the interpreter example.
> Thanks.
>
> char *cCode; // the char array
> // fill array with code goes here...
>
>
> // Initialize a compiler invocation object from the clang (-cc1) arguments.
> const driver::ArgStringList &CCArgs = Cmd->getArguments();
> llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation);...
2010 Aug 15
0
[LLVMdev] clang: compile c code from char array?
...t; On Sun, Aug 15, 2010 at 2:50 AM, gafferuk <gafferuk at gmail.com> wrote:
>>
>>>
>>> Hi, how do I compile c code from a char array in clang?
>>>
>>> Im using code from the interpreter example.
>>> Thanks.
>>>
>>> char *cCode; // the char array
>>> // fill array with code goes here...
>>>
>>>
>>> // Initialize a compiler invocation object from the clang (-cc1)
>>> arguments.
>>> const driver::ArgStringList &CCArgs = Cmd->getArguments();
>>> llvm::Ow...
2004 Jul 26
5
covariate selection in cox model (counting process)
...all countries at risk (including some
with NA), assuming id == id[complete.cases(dataset)]
(all countries have at least one complete observation) this will be computed
by
>attach(dataset)
>sum(tapply(stop[complete.cases(dataset)]-start[complete.cases(dataset)],CCO
DE,sum) /tapply(stop-start,CCODE,sum))
But this would be a rather empirical adjustment, maybe with no theoretical
basis.
And I don't think I can enter this as argument k to step()....
Thank you for having read this. Hope I was not too long.
And thank you a lot for any help, comment, etc.
(sorry for mistakes in English as I...
2006 Feb 18
1
Help on Speex VBR mode
I have a work to do about the VBR mode of Speex and the way it works. I must
study the vbr.c file. I get the global idea about what the code does, but
I'm not able to describe it in details.
So I would like to know if there's somewhere a documentation about the
vbr.ccode that I could read to make me understand how it works ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20060218/271b3283/attachment.html
2004 Jul 04
2
smooth non cumulative baseline hazard in Cox model
Hi everyone.
There's been several threads on baseline hazard in Cox model but I think
they were all on cumulative baseline hazard,
for instance
http://tolstoy.newcastle.edu.au/R/help/01a/0464.html
http://tolstoy.newcastle.edu.au/R/help/01a/0436.html
"basehaz" in package survival seems to do a cumulative hazard.
extract from the basehaz function:
sfit <- survfit(fit)
H