Displaying 14 results from an estimated 14 matches similar to: "Help please! How to code a mixed-model with 2 within-subject factors using lme or lmer?"
2008 Sep 13
2
moving from aov() to lmer()
Hello,
I've used this command to analyse changes in brain volume:
mod1<-aov(Volume~Sex*Lobe*Tissue+Error(Subject/(Lobe*Tissue)),data.vslt)
I'm comparing males/females. For every subject I have 8 volume measurements
(4 different brain lobes and 2 different tissues (grey/white matter)).
As aov() provides only type I anovas, I would like to use lmer() with type
II, however, I have
2012 Oct 30
1
Is there an lm() equivalent of panel.lmline()?
panel.lmline returns intercept and slope of y ~ x subsetted to the
combination of conditioning factors given to xyplot in lattice.
for instance:
xyplot(Xvalues ~ log(Qvalues)|Tfac, data = df7, panel = panel.lmline)
I am looking to find the equivalent formulation for lm() proper. If I do
this:
lmcal <- lm(Xvalues ~ log(Qvalues):Tfac, data = df7)
Only one value of the intercept is returned.
2009 Oct 05
0
Unusual error while using coxph
Hi all,
I'm very confused! I've been using the same code for many weeks without any
bother for various covariates. I'm now looking at another covaraite and
whenever I run the code you can see below I get an error message: "Error in
rep(0, nrow(data)) : invalid 'times' argument"
This code works:
# remove 'missing' cases from data #
snearma <-
2013 Feb 26
1
Getting the correct factor level as Dunnett control in glht()
Hello all,
I would like to do a Dunnett test in glht(). However, the factor level I
want to use as the control is not the first.
dunn1<-glht(model3, linfct = mcp(Container = "Dunnett"), alternative =
"less")
The factor container has 8 levels, so it would be nice not to manually
enter in all of the contrasts. I originally discovered glht() when
working with a glm model
2008 Aug 13
4
MinGW Patch
Hello, I was trying to compile Flac on MinGW/Msys but got an error stating
SIZE_T_MAX is undefined.
To fix this error I edited the file "flac-1.2.1/include/share/alloc.h" and
made the following change:
Starting at line #36 I changed:
#ifndef SIZE_MAX
# ifndef SIZE_T_MAX
# ifdef _MSC_VER
# define SIZE_T_MAX UINT_MAX
# else
# error
# endif
# endif
# define SIZE_MAX SIZE_T_MAX
2004 Dec 16
0
STABE, CVS and in between? Confused
I am not worthy. Ok that's out of the way, I fall on the mercy of the
Gods of CVS, general development and asterisk:
I am using 1.0 STABLE in a production box for our office. Sure, I lobe
to play with dialplans and new devices and tricks, but I mainly need a
two line office phone system that works in as much of a failsafe
manner as is possible.
I want to take advantage of the later builds,
2008 Aug 13
0
MinGW Patch
will surgent wrote:
> Hello, I was trying to compile Flac on MinGW/Msys but got an error stating
> SIZE_T_MAX is undefined.
> To fix this error I edited the file "flac-1.2.1/include/share/alloc.h" and
> made the following change:
<snip>
> #ifndef SIZE_MAX
> # ifndef SIZE_T_MAX
> # ifdef _MSC_VER
> # define SIZE_T_MAX UINT_MAX
> # elif
2007 Mar 06
1
Fixes to make flac build on Solaris
The attached patch is needed to make flac build on Solaris. Can
some/all of these changes go upstream?
Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flac-01-forte.diff
Type: text/x-patch
Size: 3186 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20070124/c752fe5e/flac-01-forte-0001.bin
2005 Jul 26
6
implement audit trail table
has anyone has any idea how to implement audit trail table for all update /
deletion done on records?
I''m thinking to have corresponding audit trail table to each table, so
everthing before an update or deletion is done, a new record will be insert
into the corresponding audit trail table.
Is there a way to overwrite the save, destroy, method at the application
level? so that I do not
2006 Aug 14
0
Engines 1.1.4
Engines 1.1.4, featuring compatibility with Rails 1.1.6 Secure Edition
(TM), includes a number of synergising technologies designed to
optimize holistic action-items and e-enable visionary solutions. Point
your preferred *SVN* client at
http://svn.rails-engines.org/engines/tags/rel_1.1.4
or syndicate a turn-key zeitgeist via *script/plugin*
script/plugin install -f engines
to literally
2005 Jun 29
14
Unobtrusive scripting?
Currently, pages generated by Rails tend to be sprinkled with
JavaScript. This happens, because the various helper methods work only
locally and simply append to the output.
In order to hide the JavaScript away, rendering would probably have to
be changed. A way I can think of is that a page-specific script is
included in the head of the document and JavaScript code is not written
to the
2005 Aug 25
17
IE and the activeX security warning
I''ve been testing my page, which not only includes my new slider code
but the drag and drop code as well. You can see it here:
http://hoover.razorstream.com/preference.htm
My issue is that in IE, I get the annoying security warning across the
top saying ''IE has restricted this file from showing active content that
could access your computer''. If I allow the
2005 Jul 06
16
Autocompletion not working in Konqueror
I''ve just had a look again at the autocompletion demo that Thomas put up
at
http://script.aculo.us/demos/ajax/autocompleter
Unfortunately, in Konqueror (3.4.1) it doesn''t work at all. Not even an
error is triggered. It does work nicely in Firefox. How about Safari?
I don''t have the time right now to track this down systematically (maybe
latter), but just from
2005 Aug 19
13
Enumerations (again): Comments please
Some of my earlier questions may have hinted ever so slightly in the
direction that I''m trying to implement "enumerations". By an
enumeration here I mean a class that has a fixed number of immutable
instances, which in turn have essentially only a name and a position.
Requirements I''ve tried to meet are
- Enumeration instances should only be loaded once from the