Displaying 7 results from an estimated 7 matches for "idname".
Did you mean:
dname
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {})
Ok, when I want to use an image I added the following code:
<%= image_tag "dsf.jpg" options = {[align="right", style="padding-right:
10px; padding-top: 5px;"]} %>
However, this doesn''t seem to work, it doesn''t like how I have the
"options" part setup. I''m sure there is something very easy
2012 Sep 06
0
lme( y ~ ns(x, df=splineDF)) error
...yr_1.7.1
[11] proto_0.3-9.2 RColorBrewer_1.0-5 reshape2_1.2.1
scales_0.2.1 stringr_0.6
[16] tools_2.15.1
The following function can also be downloaded from
http://jacobwegelin.net/tmp/r-help/.
wrapper <-function(WhichApproach=1, splineDF=4 ){
# Create toy dataset
nID<-25
IDnames<-LETTERS[1:nID]
longdat<-data.frame( x=rep(-10:10, nID) / 3 , ID= rep( IDnames , each=21)
)
set.seed(5)
longdat$x<-longdat$x + rnorm(nrow(longdat))/10
IDeffect<-rnorm(nID) * 20
names(IDeffect) <- IDnames
longdat$IDeffect<-IDeffect[as.character(longdat$ID)]
longdat$y<- (longda...
2012 Sep 26
0
lme(y ~ ns(x, df=splineDF)) error
...1
[6] lattice_0.20-6 MASS_7.3-18 memoise_0.1
munsell_0.3 plyr_1.7.1
[11] proto_0.3-9.2 RColorBrewer_1.0-5 reshape2_1.2.1
scales_0.2.1 stringr_0.6
[16] tools_2.15.1
wrapper <-function(WhichApproach=1, splineDF=4 ){
# Create toy dataset
nID<-25
IDnames<-LETTERS[1:nID]
longdat<-data.frame( x=rep(-10:10, nID) / 3 , ID= rep( IDnames , each=21)
)
set.seed(5)
longdat$x<-longdat$x + rnorm(nrow(longdat))/10
IDeffect<-rnorm(nID) * 20
names(IDeffect) <- IDnames
longdat$IDeffect<-IDeffect[as.character(longdat$ID)]
longdat$y<- (longda...
2006 Jan 24
9
Number of replications of a term
...he previous one (see below) ) is really slow
(30minutes for 44290 terms). But I don't have time by now to write a C
function.
Thanks a lot for your help,
Laetitia.
Here is the function I have written maybe I have done something not
optimized :
repVector <- function(obj){
# order IDName
ord <- gif.indexByIDName(obj)
ordobj <- obj[ord,]
nspots <- nrow(obj)
# vector of spot replicates number
spotrep <- rep(NA, nspots )
# function to get ID:Name for a given spot
spotidname <- function(ind){
paste(ordobj$ge...
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...rrorP(const char *Str) { Error(Str); return 0; }
FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
static ExprAST *ParseExpression();
/// identifierexpr
/// ::= identifier
/// ::= identifier '(' expression* ')'
static ExprAST *ParseIdentifierExpr() {
std::string IdName = IdentifierStr;
getNextToken(); // eat identifier.
if (CurTok != '(') // Simple variable ref.
return new VariableExprAST(IdName);
// Call.
getNextToken(); // eat (
std::vector<ExprAST*> Args;
if (CurTok != ')') {
while (1) {
ExprAST *Arg = Parse...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...n 0; }
> FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
>
> static ExprAST *ParseExpression();
>
> /// identifierexpr
> /// ::= identifier
> /// ::= identifier '(' expression* ')'
> static ExprAST *ParseIdentifierExpr() {
> std::string IdName = IdentifierStr;
>
> getNextToken(); // eat identifier.
>
> if (CurTok != '(') // Simple variable ref.
> return new VariableExprAST(IdName);
>
> // Call.
> getNextToken(); // eat (
> std::vector<ExprAST*> Args;
> if (CurTok != ')') {
&g...
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...const char *Str) { Error(Str); return 0; }
>>
>> static ExprAST *ParseExpression();
>>
>> /// identifierexpr
>> /// ::= identifier
>> /// ::= identifier '(' expression* ')'
>> static ExprAST *ParseIdentifierExpr() {
>> std::string IdName = IdentifierStr;
>>
>> getNextToken(); // eat identifier.
>>
>> if (CurTok != '(') // Simple variable ref.
>> return new VariableExprAST(IdName);
>>
>> // Call.
>> getNextToken(); // eat (
>> std::vector<ExprAST*> Args;
&...