Displaying 20 results from an estimated 24 matches for "mframe".
Did you mean:
frame
2012 Apr 29
0
need help with avg.surv (Direct Adjusted Survival Curve)
...mkap$strata)
fact.stage<-factor(larynx$stage)
fit1<-coxph(Surv(time, death) ~ fact.stage + age.larynx + factor(year>=74), data=larynx, method=c("efron"))
summary(fit1)
avg.surv <- function(cfit, var.name, var.values, data, weights)
{
if(missing(data)){
if(!is.null(cfit$model))
mframe <- cfit$model
elsemframe <-model.frame(cfit,sys.parent())
} else mframe <- model.frame(cfit, data)
var.num <- match(var.name, names(mframe))
data.patterns <- apply(data.matrix(mframe[, - c(1, var.num)]), 1,
paste, collapse = ",")
data.patterns <- factor(data....
2012 Apr 30
0
need help with avg.surv (Direct Adjusted Survival Curve), Message-ID:
...kap$strata)
fact.stage<-factor(larynx$stage)
fit1<-coxph(Surv(time, death) ~ fact.stage + age.larynx +
factor(year>=74), data=larynx, method=c("efron"))
summary(fit1)
avg.surv <- function(cfit, var.name, var.values, data, weights)
{
if(missing(data)){
if(!is.null(cfit$model))
mframe <- cfit$model
elsemframe <-model.frame(cfit,sys.parent())
} else mframe <- model.frame(cfit, data)
var.num <- match(var.name, names(mframe))
data.patterns <- apply(data.matrix(mframe[, - c(1, var.num)]), 1,
paste, collapse = ",")
data.patterns <- factor(data....
2007 May 01
1
Levels attribute in integer columns created by model.frame()
...me identifies the class that should be expected as "other".
The problem might be fixed by stripping the levels attribute from
any column created by model.frame() that is integer or numeric.
> ###################################################
>
> ## Note the following
> mframe <- model.frame(cbind(deaths, (20-deaths)) ~ sex+ doselin,
+ data=worms)
> class(mframe$doselin)
[1] "integer"
> attributes(mframe$doselin)
$levels
[1] "1" "2" "4" "8" "16" "32"
John Maindona...
2008 Jun 12
4
Background thread - entension code - switch contexts
...ension is running, so what should I do
maybe use a thread at the side of extension (in c++ code) or maybe try
to use the same mechanizm with timer as wxRuby does (but how to
implement that).
My code is simple:
require ''wx''
require ''cppapp'' #myextension
class MFrame < Wx::Frame
STEPS = 100
def initialize
super(nil,-1,"Title")
set_client_size(Wx::Size.new(300,300))
panel = Wx::Panel.new(self)
sizer = Wx::BoxSizer.new(Wx::VERTICAL)
btn = Wx::Button.new(panel, -1, "Click me")
sizer.add(btn, 0, Wx::GROW|Wx::ALL,2...
2009 Sep 08
1
cbind formula definition
...<- paste(names(aktDat),collapse=",")
#use this string in the "f" function to bind the variables
formula <- cbind(bi)~1
#Calculate the modell
poLCA(formula, data)
but this doesn't work: I get the following error message:
"Warnung in model.matrix.default(formula, mframe) :
variable 'cbind(bi)' converted to a factor"
Could anyone help me?
Thanks
Greetings
J?rgen
2012 May 29
1
model frame and formula mismatch with latent class analysis poLCA
Dear R-users,
I keep getting an ERROR saying " Error in model.matrix.default(formula,
mframe) : model frame and formula mismatch in model.matrix() " when i fit
poLCA with more than 63 variables. Below are the details.
I am trying to do a Latent Class Analysis using poLCA. My data set contains
binary scores of, for instance, 200 students on 100 items. These numbers
could even be more...
2020 Mar 25
3
Build Clang/LLVM for AVR
.../usr/lib/gcc/avr/5.4.0
Selected GCC installation: /usr/lib/gcc/avr/5.4.0
(in-process)
"/usr/local/bin/clang-11" -cc1 -triple avr -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.cpp -mrelocation-model static -mthread-model posix -mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose -mconstructor-aliases -target-cpu atmega328p -dwarf-column-info -fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir /usr/local/lib/clang/11.0.0 -fdeprecated-macro -fdebug-compilation-dir /home/alex/tmp/clang-avr -ferror-limit 19...
2020 Mar 25
2
Build Clang/LLVM for AVR
...c/avr/5.4.0
> Selected GCC installation: /usr/lib/gcc/avr/5.4.0
> (in-process)
> "/usr/local/bin/clang-11" -cc1 -triple avr -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.cpp -mrelocation-model static -mthread-model posix -mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose -mconstructor-aliases -target-cpu atmega328p -dwarf-column-info -fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir /usr/local/lib/clang/11.0.0 -fdeprecated-macro -fdebug-compilation-dir /home/alex/tmp/clang-avr -ferror-limit 19...
2019 Oct 30
2
pointer arithmetic with address space attribute not working
...amp;& "Invalid
cast!"' failed.
Stack dump:
0. Program arguments:
/data/users/yhs/work/llvm-project/llvm/build/install/bin/clang-10 -cc1
-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disa
ble-free -main-file-name test.c -mrelocation-model static
-mthread-model posix -mframe-pointer=all -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-t
ables -fuse-init-array -target-cpu x86-64 -dwarf-column-info
-debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb
-resource-dir /data/users/yhs/work
/llvm-project/llvm/build/install/lib/clang/10.0.0 -D ADD
-internal-i...
2020 Aug 23
3
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
...r-
compatible" "-disable-free" "-disable-llvm-verifier" "-discard-value-names" "-ma
in-file-name" "crash.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-mo
del" "posix" "-mframe-pointer=none" "-fmath-errno" "-fno-rounding-math" "-masm-v
erbose" "-mconstructor-aliases" "-munwind-tables" "-target-cpu" "x86-64" "-dwarf
-column-info" "-resource-dir" "C:\\Program Files\\LLVM\\lib...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...amp;& "Invalid
cast!"' failed.
Stack dump:
0. Program arguments:
/data/users/yhs/work/llvm-project/llvm/build/install/bin/clang-10 -cc1
-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disa
ble-free -main-file-name test.c -mrelocation-model static
-mthread-model posix -mframe-pointer=all -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-t
ables -fuse-init-array -target-cpu x86-64 -dwarf-column-info
-debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb
-resource-dir /data/users/yhs/work
/llvm-project/llvm/build/install/lib/clang/10.0.0 -D ADD
-internal-i...
2020 Aug 23
2
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
...ree" "-disable-llvm-verifier"
>> "-discard-value-names" "-ma
>> in-file-name" "crash.c" "-mrelocation-model" "pic" "-pic-level" "2"
>> "-mthread-mo
>> del" "posix" "-mframe-pointer=none" "-fmath-errno" "-fno-rounding-math"
>> "-masm-v
>> erbose" "-mconstructor-aliases" "-munwind-tables" "-target-cpu" "x86-64"
>> "-dwarf
>> -column-info" "-resource-dir"...
2011 Jan 31
1
rj packages and eclipse
Hi everyone!
Does anyone know how to install the rj package in Windows (7)? I am
trying to set up eclipse, but I got [INFO] The R package 'rj' is not
available, R-StatET tools cannot be initialized.
Thank you in advance!
2020 Aug 23
2
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
...er"
>> >> "-discard-value-names" "-ma
>> >> in-file-name" "crash.c" "-mrelocation-model" "pic" "-pic-level" "2"
>> >> "-mthread-mo
>> >> del" "posix" "-mframe-pointer=none" "-fmath-errno" "-fno-rounding-math"
>> >> "-masm-v
>> >> erbose" "-mconstructor-aliases" "-munwind-tables" "-target-cpu"
>> "x86-64"
>> >> "-dwarf
>> >>...
2019 Sep 30
3
Debugging LowerTypeTests in LLVM Using GDB
Hi,
I am looking into Control-Flow Integrity for indirect function calls,
implemented with jump tables. I want to step through the code that produces
these jump tables in GDB. I have built clang and opt from source with
debugging symbols. I believe this code lives in
llvm/lib/Transforms/LowerTypeTests.cpp, but when I try to debug *opt* by
running the command "run -lowertypetests cfi-icall.bc
2020 May 05
2
C++ JIT Compiler with LLVM on Windows 10 - part 5
...uot;-mincremental-linker-compatible",
> "-disable-free",
> "-discard-value-names",
> "-mrelocation-model", "pic",
> "-pic-level", "2",
> "-mthread-model", "posix",
> "-mframe-pointer=none",
> "-relaxed-aliasing",
> "-fmath-errno",
> "-fno-rounding-math",
> "-mconstructor-aliases",
> "-munwind-tables",
> "-target-cpu", "x86-64",
> "-mllvm"...
2020 Nov 05
1
How to use mainline clang/llvm with CMake
...in/usr/bin/clang-12" -cc1 -triple x86_64-apple-macosx10.15.0 -Wundef-prefix=TARGET_OS_ -Werror=undef-prefix -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all --mrelax-relocations -disable-free -main-file-name seq_vector.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=all -fno-rounding-math -munwind-tables -target-sdk-version=10.15.6 -fcompatibility-qualified-id-block-type-checking -fvisibility-inlines-hidden-static-local-var -target-cpu penryn -tune-cpu generic -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb -target-linker-version 609...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...quot;' failed.
> Stack dump:
> 0. Program arguments:
> /data/users/yhs/work/llvm-project/llvm/build/install/bin/clang-10 -cc1
> -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disa
> ble-free -main-file-name test.c -mrelocation-model static
> -mthread-model posix -mframe-pointer=all -fmath-errno -masm-verbose
> -mconstructor-aliases -munwind-t
> ables -fuse-init-array -target-cpu x86-64 -dwarf-column-info
> -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb
> -resource-dir /data/users/yhs/work
> /llvm-project/llvm/build/install/lib/clang/...
2020 May 06
2
C++ JIT Compiler with LLVM on Windows 10 - part 5
...gt;> "-disable-free",
>>> "-discard-value-names",
>>> "-mrelocation-model", "pic",
>>> "-pic-level", "2",
>>> "-mthread-model", "posix",
>>> "-mframe-pointer=none",
>>> "-relaxed-aliasing",
>>> "-fmath-errno",
>>> "-fno-rounding-math",
>>> "-mconstructor-aliases",
>>> "-munwind-tables",
>>> "-target-cpu",...
2020 Apr 27
2
C++ JIT Compiler with LLVM on Windows 10 - part 5
I was just reading the blog post -- very cool!
Regarding Globals construction & destruction: There definitely has been a
lot of churn in that area. There will probably be more before LLVM 11 is
released, but I can see light at the end of the tunnel. I think the Right
Way to run initializers in a JITDylib is to treat it as equivalent to a
dlopen operation (with extra allowances for the fact