search for: nthcdr

Displaying 4 results from an estimated 4 matches for "nthcdr".

Did you mean: ethhdr
2012 May 11
0
Additional info: help with SMATR: help with pairwise comparisons using MA regression?
...(Head.W1~Leg.3.1+Site, type="elevation", data=queens, > multcomp=TRUE, multcompmethod="adjusted") > print(com.test) > > This is the error I get when I try to do MA regression: > Error in model.frame(formula = ..1, data = list(Site = c(2L, 2L, 2L, 2L, ?: > ?'nthcdr' needs a list to CDR down > > Any idea as to why it won't work? > > Thank you for this resource! > > Ioulia
2009 Dec 10
1
switch() called with just the EXPR argument causes R to hang (PR#14124)
...(y)) if (TAG(y) == R_NilValue) { UNPROTECT(1); return (eval(CAR(y), rho)); } UNPROTECT(1); return R_NilValue; } argval = asInteger(x); if (argval <= 0 || argval > (length(w))) { UNPROTECT(1); return R_NilValue; } x = eval(CAR(nthcdr(w, argval - 1)), rho); UNPROTECT(1); return x; } ************************************************************************** I do not know C but it seems to me that do_switch expects two arguments. regards Simone tested both on Windows VISTA 32 bit platform i386-pc-mingw32 arch...
2010 Sep 08
0
Correction to vec-subset speed patch
...T(result, i, R_NilValue); + else + SET_VECTOR_ELT(result, i, VECTOR_ELT(x, ii)); + break; + case LISTSXP: /* cannot happen: pairlists are coerced to lists */ - case LANGSXP: - if (0 <= ii && ii < nx && ii != NA_INTEGER) { - tmp2 = nthcdr(x, ii); - SETCAR(tmp, CAR(tmp2)); - SET_TAG(tmp, TAG(tmp2)); - } - else - SETCAR(tmp, R_NilValue); - tmp = CDR(tmp); - break; - case RAWSXP: - if (0 <= ii && ii < nx && ii != NA_INTEGER) - RAW(result)[i] = RAW(x)[ii]; - else - RAW(result)[i] = (Rby...
2012 May 11
0
help with SMATR: help with pairwise comparisons using MA regression?
...m that easy...): com.test=ma(Head.W1~Leg.3.1+Site, type="elevation", data=queens, multcomp=TRUE, multcompmethod="adjusted") print(com.test) This is the error I get when I try to do MA regression: Error in model.frame(formula = ..1, data = list(Site = c(2L, 2L, 2L, 2L, : 'nthcdr' needs a list to CDR down Any idea as to why it won't work? Thank you for this resource! Ioulia -------------- next part -------------- Year Site Ali.L1 Ali.W Gaster Head.L Head.W1 Head.W2 Leg.3.1 Leg.3.2 Body Head.W1.L Leg.3.1.Head.W1 Leg.3.2.Leg.3.1 Ali.L1.W BC.2009 BC 0.48287 0.24797...