Displaying 20 results from an estimated 257 matches for "morte".
Did you mean:
more
2005 May 07
3
converting NA/non-NA's to a binary variable
Dear R colleagues,
I am trying to create a new column in a data frame, which converts values
and NA's from another column into binary format. Essentially I need the
NA's to become 1 and the rest to be 0. The code I wrote is returning the
following error message:
Error in if (mort[i, 4] != NA) mort[i, 8] <- 0 else if (mort[i, 4] == :
missing value where TRUE/FALSE needed
2011 May 02
3
ID parameter in model
Hello,
I am apparently confused about the use of an id parameter for an event
history/survival model, and why the EHA documentation for aftreg does
not specify one. All assistance and insights are appreciated.
Attempting to specifiy an id variable with the documentation example
generates an "overlapping intervals" error, so I sorted the original
mort dataframe and set subsequent entry
2012 Apr 13
1
Coding columns for survival analysis
Hello Folks,
I have 5 columns for thousands of tree records that record whether that
tree was alive or dead. I want to recode the columns such that the cell
reads "found" when a live tree is first observed, "alive" for when a
tree is found alive and is not just found, and "mort" when it was
previously alive but is now dead.
Given the following:
> tree_live
2011 May 21
1
predict 'expected' with eha package
I am unsure what is being returned, and what is supposed to be
returned, when using 'predict' with "type='expected'" for an aftreg
survival model. The code below first generates a weibull model, then
uses predict to create a vector of the linear predictors, then
attempts to create the 'expected' vector, which is empty. The final
two steps in the code generate a
2010 Jul 27
1
xYplot error
Hi,
I'm trying to plot a graph with error bars using xYplot in the Hmisc
package. My data looks like this.
mort stand site type
0.042512776 0.017854525 Plot A ST
0.010459803 0.005573305 PF ST
0.005188321 0.006842107 MSF ST
0.004276068 0.011592129 YSF ST
0.044586495 0.035225266 Plot A LD
0.038810662 0.037355408 PF
2003 Dec 08
0
[PATCH] Add some libgcc stuff to ia64's Makefile.inc
Hi,
Here is a fix for some missing libgcc magic in the ia64 build. A recent
problem with udev uncovered this. PPC needs a similar fix. Olaf will
send a patch, I imagine.
Both unified diff and bk diff (for Bryan) are attached.
mh
--
Martin Hicks Wild Open Source Inc.
mort@wildopensource.com 613-266-2296
-------------- next part --------------
# User: mort
# Host:
2018 Apr 18
3
Why does clang do a memcpy? Is the cast not enough? (ABI function args)
Yes, but why is it even copying the memory? It already has a pointer
which it can cast and load from -- and does so in other scenarios.
I'm wondering whether this copying is somehow required and I'm missing
something, or it's just an artifact of the clang emitter. That is, could
it not omit the memcpy and cast the original variable?
On 18/04/18 19:43, Krzysztof Parzyszek via
2013 Nov 17
1
FactoMineR
Hola.
Como te dijo Carlos, el problema está en los nombres de las columnas y en
los nombres de las filas. Cuando hice la importación (con
dd<-read.csv('mortality.csv'), tuve problemas con las filas de nombre:
- Malignant tumour of the larynx trachea bronchus and lungs
- Malignant tumour of the lip pharynx and mouth
- Other endocrinological metabolic and nutritional conditions
2013 Nov 08
1
[LLVMdev] UNREACHABLE executed at MCJIT.cpp:322!
It was the return type which was i64. I changed it also to my
abi_int_size and it works now. I have to take care of a few other type
translations, but it looks like MCJIT is working now.
Thank you.
On 08/11/13 18:12, Yaron Keren wrote:
> Something must be wrong with the Function Type. Try to debug into
> runFunction to see which if condition fails.
> Just a guess, if this is on 64
2013 Nov 08
2
[LLVMdev] UNREACHABLE executed at MCJIT.cpp:322!
That makes it more mysterious then since I am indeed only calling a main
function. Perhaps I have to invoke it a different way. Here's my call I
have now:
auto main = linker->getModule()->getFunction( "main" );
std::vector<llvm::GenericValue> args(2);
args[0].IntVal = llvm::APInt( platform::abi_int_size, 0 );
args[1].PointerVal = nullptr;
llvm::GenericValue gv =
2013 Nov 17
0
FactoMineR
Hola,
El problema está con el nombre de las columnas y las filas del fichero que
importas.
Mira este detalle tras hacer la importación:
> names(mort)
[1] "X" "X15.24..79." "X25.34..79."
[4] "X35.44..79." "X45.54..79." "X55.64..79."
[7] "X65.74..79." "X75.84..79."
2018 Apr 18
2
A struct {i8, i64} has size == 12, clang says size 16
I think I see a potential issue. My ExecutionEngine setup may not be
using the same target as my object code emitting, and in this test case
I'm running in the ExecutionEngine. I'll go over this code to ensure
I'm creating the same triple and see if that helps -- I'm assuming it
will, since I can't imagine the exact same triple with clang would
produce a different layout.
On
2018 Apr 18
4
A struct {i8,i64} has size == 12, clang says size 16
I'm creating a struct of `{i8,i64}` and `DataLayout::getTypeAllocSize`
is returning `12`. `getStructLayout` also gives an `4` offset for the
second element.
The native ABI, and clang, for the same type are producing a size of 16,
with an alignment of 8, for the second element.
This is for the system triple "x86_64-linux-gnu"
What could be causing this difference in alignment and
2013 Nov 08
0
[LLVMdev] UNREACHABLE executed at MCJIT.cpp:322!
Something must be wrong with the Function Type. Try to debug into
runFunction to see which if condition fails.
Just a guess, if this is on 64 bit system the first argument type may be
int64 but needs to be int32.
Yaron
2013/11/8 edA-qa mort-ora-y <eda-qa at disemia.com>
> That makes it more mysterious then since I am indeed only calling a main
> function. Perhaps I have to invoke
2012 Nov 11
4
[LLVMdev] IR sizeof?
Is there a way to get the size of a type in the IR assembly code? I know
the size must be known since alloca and getelementptr both implicitly
use it, but I don't see any way to get access to the size directly.
I know my final compiler will have to get the size itself, but I'm just
doing some simple tests directly in assembly now and am hoping there is
an easy way to get the size of a
2018 Apr 19
0
Why does clang do a memcpy? Is the cast not enough? (ABI function args)
I believe the memcpy is there just as a consequence of Clang's design -
different parts of the compiler own different pieces of this, so in some
sense one hand doesn't see what the other is doing. Part of it is "create
an argument" (memcpying the local variable into an unnamed value) and then
the next part is "oh, but that argument gets passed in registers, so
decompose it
2011 Oct 04
1
Rug plot curve reversal
Dear R-help
Can anyone tell me why my curve appears the wrong way round on a rug plot?
I am using the same code as on pg 596 of the Crawley R-book.
mod<-glm(mort~logBd,binomial)
par(mfrow=c(2,2))
xv<-seq(0,8,0.01)
yv<-predict(mod,list(logBd=xv),type="response")
plot(logBd,mort)
lines(xv,yv)
I've tried swapping xv and yv around but no luck.
Thanks,
Pete
2017 Aug 07
0
Latin hypercube sampling from a non-uniform distribution
> How can I draw a Hypercube sample for the variable mortality_probability so
> that this variable exhibits the same pattern as the observed distribution?
One simple way is to use the uniform random output of randomLHS as input to the quantile function for your desired distribution(s).
For example:
q <- randomLHS(1000, 3)
colnames(q) <- c("A", "B",
2018 Apr 18
2
Why does clang do a memcpy? Is the cast not enough? (ABI function args)
Yes, I understand that as well (it's what I'm trying to recreate in my
language now).
I'm really wondering why it does the copy, since from what I can tell it
could just as easily cast the original value and do the load without the
memcpy operation.
That is, the question is about the memcpy and extra alloca -- I
understand what it's doing, just not why it's doing it this way.
2018 Apr 18
0
A struct {i8, i64} has size == 12, clang says size 16
It sounds like your DataLayout may not match clang's for x86_64-linux. What
does it say about the alignment of i64?
On Wed, Apr 18, 2018 at 12:05 PM edA-qa mort-ora-y via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I'm creating a struct of `{i8,i64}` and `DataLayout::getTypeAllocSize`
> is returning `12`. `getStructLayout` also gives an `4` offset for the
> second