search for: mf2

Displaying 17 results from an estimated 17 matches for "mf2".

Did you mean: m32
2019 Feb 21
2
model.matrix.default() silently ignores bad contrasts.arg
...; The following code shows the problem: a plain-vanilla model.matrix() > call with no contrasts argument, followed by two wrong contrasts > arguments, followed by a correct contrasts argument. > > data(cbpp, package="lme4") > mf1 <- model.matrix(~period, data=cbpp) > mf2 <- model.matrix(~period, contrasts.arg="contr.sum", data=cbpp) > all.equal(mf1,mf2) ## TRUE > mf3 <- model.matrix(~period, contrasts.arg=contr.sum, data=cbpp) > all.equal(mf1,mf3) ## TRUE > mf4 <- model.matrix(~period, contrasts.arg=list(period=contr.sum), > data=...
2010 Aug 15
0
unexpected behaviour with sparse.model.matrix
...p.unused.levels = FALSE in the model.frame or trying to pass all levels in xlev,which is an argument to sparse.model.matrix (see code below). Any help would be gratefully received. Cheers, Jarrod fac<-factor(rep(1:10,10), levels=1:100) mf<-model.frame(~fac, drop.unused.levels = TRUE) mf2<-model.frame(~fac, drop.unused.levels = FALSE) dim(model.matrix(~fac, mf)) dim(model.matrix(~fac, mf2)) dim(model.matrix(~fac, xlev=list(fac=1:10))) dim(model.matrix(~fac, xlev=list(fac=1:100))) dim(sparse.model.matrix(~fac, mf)) dim(sparse.model.matrix(~fac, mf2)) dim(sparse.model.matrix(~fac...
2019 Feb 22
2
model.matrix.default() silently ignores bad contrasts.arg
...t;> > call with no contrasts argument, followed by two wrong contrasts >> > arguments, followed by a correct contrasts argument. >> > >> > data(cbpp, package="lme4") >> > mf1 <- model.matrix(~period, data=cbpp) >> > mf2 <- model.matrix(~period, contrasts.arg="contr.sum", data=cbpp) >> > all.equal(mf1,mf2) ## TRUE >> > mf3 <- model.matrix(~period, contrasts.arg=contr.sum, data=cbpp) >> > all.equal(mf1,mf3) ## TRUE >> > mf4 <- model.matrix(~peri...
2019 Feb 23
1
model.matrix.default() silently ignores bad contrasts.arg
...t; argument, followed by two wrong contrasts >> > arguments, >> followed by a correct contrasts argument. >> >> > >> >> > data(cbpp, package="lme4") >> > mf1 <- >> model.matrix(~period, data=cbpp) >> > mf2 <- >> model.matrix(~period, contrasts.arg="contr.sum", >> data=cbpp) >> > all.equal(mf1,mf2) ## TRUE >> > mf3 <- >> model.matrix(~period, contrasts.arg=contr.sum, data=cbpp) >> >> > all.equal(mf1,mf3) ## TRUE >&gt...
2019 Feb 21
0
model.matrix.default() silently ignores bad contrasts.arg
...ary/stats/R/models.R#L578-L603 The following code shows the problem: a plain-vanilla model.matrix() call with no contrasts argument, followed by two wrong contrasts arguments, followed by a correct contrasts argument. data(cbpp, package="lme4") mf1 <- model.matrix(~period, data=cbpp) mf2 <- model.matrix(~period, contrasts.arg="contr.sum", data=cbpp) all.equal(mf1,mf2) ## TRUE mf3 <- model.matrix(~period, contrasts.arg=contr.sum, data=cbpp) all.equal(mf1,mf3) ## TRUE mf4 <- model.matrix(~period, contrasts.arg=list(period=contr.sum), data=cbpp) isTRUE(all.equal(mf...
2004 Feb 05
0
correction to the previously asked question (about mergin g factors)
...(sample(letters[1:3], 1e4, replace=TRUE)) > f2 <- factor(sample(letters[3:5], 1e4, replace=TRUE)) > f3 <- factor(sample(letters[5:7], 1e4, replace=TRUE)) > > system.time(for (i in 1:1e2) mf <- mergeFac(f1, f2, f3)) [1] 4.54 0.00 4.73 NA NA > system.time(for (i in 1:1e2) mf2 <- mergeFac2(f1, f2, f3)) [1] 3.95 0.01 4.11 NA NA > system.time(for (i in 1:1e2) mf3 <- mergeFac3(f1, f2, f3)) [1] 3.61 0.00 3.76 NA NA > all(mf == mf2) [1] TRUE > all(mf == mf3) [1] TRUE First, my attempt at generalizing Spencer's suggestion: mergeFac <- function(....
2008 Apr 22
2
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
...ile.common Thanks for your help!! I'm waiting for your answer. cheers, Nicole _______________________________________________________________________ EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid at mf2
2019 Feb 21
0
model.matrix.default() silently ignores bad contrasts.arg
...e problem: a plain-vanilla model.matrix() > > call with no contrasts argument, followed by two wrong contrasts > > arguments, followed by a correct contrasts argument. > > > > data(cbpp, package="lme4") > > mf1 <- model.matrix(~period, data=cbpp) > > mf2 <- model.matrix(~period, contrasts.arg="contr.sum", data=cbpp) > > all.equal(mf1,mf2) ## TRUE > > mf3 <- model.matrix(~period, contrasts.arg=contr.sum, data=cbpp) > > all.equal(mf1,mf3) ## TRUE > > mf4 <- model.matrix(~period, contrasts.arg=list(period=co...
2008 Apr 21
1
[LLVMdev] newbie with pass registering Problem
...llvm-gcc -c -emit-llvm test.c -o test.bc Thank you for your help. cheers, Nicole _______________________________________________________________________ EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid at mf2
2019 Feb 22
0
model.matrix.default() silently ignores bad contrasts.arg
...contrasts argument, followed by two wrong contrasts > >> > arguments, followed by a correct contrasts argument. > >> > > >> > data(cbpp, package="lme4") > >> > mf1 <- model.matrix(~period, data=cbpp) > >> > mf2 <- model.matrix(~period, contrasts.arg="contr.sum", data=cbpp) > >> > all.equal(mf1,mf2) ## TRUE > >> > mf3 <- model.matrix(~period, contrasts.arg=contr.sum, data=cbpp) > >> > all.equal(mf1,mf3) ## TRUE > >> > mf4 <...
2008 Apr 23
0
[LLVMdev] newbie with pass registering Problem
...tried to test it ("opt -load" its .so file ) . Thanks a lot... -Nicole- _______________________________________________________________________ EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid at mf2
2008 Apr 26
0
[LLVMdev] The source code Makefile (newbie with pass registering Problem)
...http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > _______________________________________________________________________ EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid at mf2
2005 Nov 12
2
Internet Explorer installs under wine as default Win2K but then crashes when run...
I want to run Internet Explorer as Win2K at the very least so I might be able to get updates, trying to keep up with security fixes... this might be a pipe dream? I would rather not run anything as Win98 if I can help it... In any case, what I did was, from a clean install of Wine 0.9 on Fedora Core 4, ran [user@localhost ~]$ wine wine: creating configuration directory
2018 Apr 27
5
predict.glm returns different results for the same model
Hi all, Very surprising (to me!) and mystifying result from predict.glm(): the predictions vary depending on whether or not I use ns() or splines::ns(). Reprex follows: library(splines) set.seed(12345) dat <- data.frame(claim = rbinom(1000, 1, 0.5)) mns <- c(3.4, 3.6) sds <- c(0.24, 0.35) dat$wind <- exp(rnorm(nrow(dat), mean = mns[dat$claim + 1], sd = sds[dat$claim + 1])) dat <-
2003 Dec 01
0
No subject
...lainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 ) Return-Path: <r.claeson@computer.org> Delivered-To: samba@lists.samba.org Received: from mf2.bredband.net (mf2.lab.bredband.com [195.54.122.120]) by lists.samba.org (Postfix) with ESMTP id 5718F5189 for <samba@lists.samba.org>; Fri, 22 Jun 2001 09:53:05 -0700 (PDT) Received: from BRIGHT609XX9IC ([213.112.99.145]) by mf2.bredband.net with ESMTP id <20010622165721.LCM299.mf2@B...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking
2005 Aug 15
0
Warcraft III and DirectX?
Hi, I've just installed Warcraft III without any problems. But when I try to run it with one of the following commands: wine war3 -opengl wine "Warcraft III.exe" -opengl a dialog box appears which tells me that Warcraft could not find DirectX 8.1. My wine version is 20050725, my warcraft III version is 1.00 and I'm running a Debian Sarge system with linux-2.6.8. phil