Displaying 20 results from an estimated 20000 matches similar to: "unique turns ordered into factor (PR#2591)"
2003 Jul 07
0
nlmeODE package combining NLME with a differential equation solve r
Dear All
A new non-linear mixed-effects modelling package for R called nlmeODE is now
available at www.cran.r-project.org and http://nlmeODE.sourceforge.net.
It combines Pinheiro and Bates' NLME library in R with an ordinary
differential equations (ODE) solver thereby enabling the use of differential
equations in population PK/PD modelling. It includes several PK examples
such as one- and
2002 Aug 12
1
Level sets of factors are different (panel.superpose)
I investigated why I was getting this error message...
Error in Ops.factor(groups[subscripts], vals[1]) :
Level sets of factors are different
which led me to putting a browser in panel.superpose:
Called from: panel.superpose(x, y, subscripts, ...)
Browse[1]> vals
vals
[1] 1 2 3
Levels: 1 2 3
Browse[1]> groups[subscripts]
groups[subscripts]
[1] 1 2 3 1 2 1 2 3 1 2 3 1 2 3
Levels: 1 2
2004 Jan 22
4
Fitting compartmental model with nls and lsoda?
Dear Colleagues,
Our group is also working on implementing the use of R for pharmacokinetic compartmental analysis. Perhaps I have missed something, but
> fit <- nls(noisy ~ lsoda(xstart, time, one.compartment.model, c(K1=0.5, k2=0.5)),
+ data=C1.lsoda,
+ start=list(K1=0.3, k2=0.7),
+ trace=T
+ )
Error in eval(as.name(varName), data) : Object
2002 Dec 16
1
Lattice: panel.superpose function does not pass subscripts and groups arguments (PR#2377)
Full_Name: Volker Franz
Version: 1.5.1
OS: Debian-Linux
Submission from: (NULL) (134.176.77.64)
Hi,
working with the panel.superpose function, I found out that this
function does not pass the subscripts and groups arguments to
panel.groups functions.
In my view, this seems an unnecessary restriction, because the
subscripts-mechanism which allows to access the original data should
also work if
2019 Nov 12
2
The best way of generating a good representation for an array with header?
The advantages:
1. A pointer to the struct offset can be converted to a pointer without any cost.
2. A nullpointer to a stretchy buffer can be treated as a zero length array. Consequently no actual struct allocation is needed to represent a zero length array.
3. A reference to the array is the same size as to a pointer.
4. It can be converted to and back from an pointer without losing any
2019 Nov 12
2
The best way of generating a good representation for an array with header?
Yes, we’re actually viewing the struct at an offset.
So basically it’s a struct like this:
typedef struct {
uint32_t size;
uint32_t capacity;
int array[0];
} Foo;
The whole thing is malloc:ed with extra bytes at the end, and capacity is set to that same number of extra bytes.
What’s then passed around is actually the int pointer at an offset: &(foo->array)
Using the that pointer
2017 Jun 16
2
'ordered' destroyed to 'factor'
> On 16 Jun 2017, at 15:59 , Robert McGehee <rmcgehee at walleyetrading.net> wrote:
>
> For instance, what would you expect to get from unlist() if each element of the list had different levels, or were both ordered, but in a different way, or if some elements of the list were factors and others were ordered factors?
>> unlist(list(ordered(c("a","b")),
2015 Jul 01
4
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
The s390-specific virtio drivers have probably more to do with virtio
than with kvm today; let's move them out into a separate section to
reflect this and to be able to add relevant mailing lists.
CC: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck at de.ibm.com>
---
MAINTAINERS | 10 +++++++++-
1 file changed, 9 insertions(+), 1
2015 Jul 01
4
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
The s390-specific virtio drivers have probably more to do with virtio
than with kvm today; let's move them out into a separate section to
reflect this and to be able to add relevant mailing lists.
CC: Christian Borntraeger <borntraeger at de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck at de.ibm.com>
---
MAINTAINERS | 10 +++++++++-
1 file changed, 9 insertions(+), 1
2019 Nov 12
2
The best way of generating a good representation for an array with header?
2006 May 10
2
hard_breaks
Dear Dressers of RedCloth,
I have a question:
text = "Foo\nBar\n\nBaz"
RedCloth.new(text, [ :hard_breaks ]).to_html
# => "<p>Foo<br />Bar<br />\nBaz</p>"
Shouldn''t that really be "<p>Foo<br />Bar</p><p>Baz</p>"?
So long,
--
Christoffer Sawicki
2015 Jul 07
1
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
On Wed, 1 Jul 2015 17:17:41 +0200
Paolo Bonzini <pbonzini at redhat.com> wrote:
>
>
> On 01/07/2015 17:15, Cornelia Huck wrote:
> > The s390-specific virtio drivers have probably more to do with virtio
> > than with kvm today; let's move them out into a separate section to
> > reflect this and to be able to add relevant mailing lists.
> >
> >
2015 Jul 07
1
[PATCH] MAINTAINERS: separate section for s390 virtio drivers
On Wed, 1 Jul 2015 17:17:41 +0200
Paolo Bonzini <pbonzini at redhat.com> wrote:
>
>
> On 01/07/2015 17:15, Cornelia Huck wrote:
> > The s390-specific virtio drivers have probably more to do with virtio
> > than with kvm today; let's move them out into a separate section to
> > reflect this and to be able to add relevant mailing lists.
> >
> >
2019 Dec 16
3
Using "opaque pointers" right now?
I was looking at the talk from 2015 about opaque pointers.
Aside from using the new methods (e.g. LLVMBuildGEP2), is there any other way to perpare for this change?
And also - is it possible to use something like opaque pointers (that is using a single pointer type) even before the switch has been flipped in LLVM?
Christoffer
AEGIK / www.aegik.se
2010 Aug 22
0
lattice::xyplot() with one factor for points and another for lines - solution
Hi:
Yesterday, I posted a question regarding how to handle different graphical
behavior between two factors in xyplot() [package lattice]. After a public
and private reply from Deepayan Sarkar, the problem has been resolved
nicely, including the addition of a stacked legend for the two factors in
question. The latter requires package latticeExtra.
library(lattice)
library(latticeExtra)
# Test
2006 Apr 11
1
Change in lattice dotplot?
Dear list,
I used to have this code in a Sweave document:
sel <- placeDF$Place == "Velar" & placeDF$manner == "Plosive"
table(placeDF$agem[sel], placeDF$place[sel]) -> pd
print(
dotplot(
prop.table(pd,margin=1),
auto.key=list(
space="right"
),
xlab="Relative Frequency",
2017 Jun 16
3
'ordered' destroyed to 'factor'
Dear all,
?
I don't know if you consider this a bug or feature, but it breaks reasonable code: 'unlist' and 'sapply' convert 'ordered' to 'factor' even if all levels are equal. Here is a simple example:
o <- ordered(letters)
o[[1]]
lapply(o, min)[[1]]??????????# ordered factor
unlist(lapply(o, min))[[1]]? # no longer ordered
sapply(o, min)[[1]]??????????# no
2006 Dec 08
1
missing factor levels in a lattice barchart panel cause unexpected failure
Hi all - I'm trying to generate lattice barchart graphs with missing
values, and came across the following:
This does not run. I would expect it to:
library(lattice)
D = data.frame(X=1, Y=factor(letters[2], letters[1:2]))
barchart(~ X, D, groups=Y)
Error in grid.Call.graphics("L_rect", x$x, x$y, x$width, x$height,
resolveHJust(x$just, :
invalid line type
which is simply
2017 Jun 18
0
'ordered' destroyed to 'factor'
Defending the status quo misses the point that R *could* handle ordinal data with a fixed set of levels but actually *does not*. Although it would be useful. Even if this does not imply to handle any possible straw-man situations. Having data-types for nominal, ordinal, and interval-scale data is - in theory - one of the major advantages of S over SAS. But *having* without *handling* means: only
2003 May 02
2
Isolinux init problem
Hello
I have a problem with isolinux my root filesystem is a iso9660
cdrom , it wont start the init but it mounts /dev/hdc as root. Cant linux start directly from a the cdrom or is this another problem?
I get this:
VFS: Mounted root filesystem (iso9660) readonly
Freeing unused kernel memory: 2808kb freead
Warning: unable to open an intital console
Kernel panic: no init found. try parsing