Displaying 20 results from an estimated 1000 matches similar to: "defining a formula method for a weighted lm()"
2010 Nov 30
1
warning creating an as.array method in a package
[Env: R 2.11.1, Win Xp, using Eclipse/StatET]
In a package I'm working on, I want to create as.matrix() and as.array()
methods for a particular kind of
object (log odds ratios). These are returned in a loddsratio object as
the $coefficients component,
a vector, but really reflect an underlying (R-1)x(C-1)xstrata array,
whose attributes are contained in other
components.
I define coef,
2010 Dec 09
1
warning creating an as.array method in a package
I posted on this topic to r-help, but never got a sufficient answer, so
I'm reposting here.
[Env: R 2.11.1, Win Xp, using Eclipse/StatET]
In a package I'm working on, I want to create as.matrix() and as.array()
methods for a particular kind of
object (log odds ratios). These are returned in a loddsratio object as
the $coefficients component,
a vector, but really reflect an underlying
2006 Jan 27
1
Classifying Intertwined Spirals
I'm using an SVM as I've seen a paper that reported extremely good
results. I'm not having such luck. I'm also interested in ideas for
other approaches to the problem that can also be applied to general
problems (no assuming that we're looking for spirals).
Here is my code:
library(mlbench)
library(e1071)
raw <- mlbench.spirals(194, 2)
spiral <-
2015 Feb 27
2
rsync hangs on select() system call
hello,
trying to understand why a rsync client hangs during a transfer. Hopefully
someone can advise.
client = rsync 3.0.6, server = rsync 3.1.1 , transfer is done to a rsync
module with such a command:
rsync -rtxvvv my_data rsync://test at my.rsync.server/INCOMING/
<rsync://test at rsync.resif.fr/INCOMING_TEST/>
the client starts to transfer data (a few Mb) then hangs, then manually
2017 Nov 27
0
Scatterplot of many variables against a single variable
Hi Engin,
Sadly, your illustration was ambushed on the way to the list. Perhaps
you want something like this:
# proportion of useful answers to your request
pua<-sort(runif(20))
#legibility of your request
lor<-sort(runif(20))+runif(20,-0.5,0.5)
# is a data set provided?
dsp<-sort(runif(20))+runif(20,-0.5,0.5)
# generate a linear model for the above
pua.lm<-lm(pua~lor+dsp)
# get the
2017 Nov 27
3
Scatterplot of many variables against a single variable
LOL. Great reply Jim.
(N.B. Jim's conclusion is "debatable" by a judicious choice of seed. e.g.
set.seed(79) suggests that making the request more readable will actually
lower the number of useful answers. :-))
On Mon, Nov 27, 2017 at 11:42 AM, Jim Lemon <drjimlemon at gmail.com> wrote:
> Hi Engin,
> Sadly, your illustration was ambushed on the way to the list. Perhaps
2019 Jan 29
3
Finding label of basic block where a conditional branch merges
Hi,
is there any standard way to figure out the label of the basic block
where a conditional branch merges?
If we have a branch statement without an else part this is straightforward:
br i1 %cmp, label %if.then, label %if.end, !dbg !24
We only need to check the operand names whether they contain "end".
However things are getting
more complex when there is an else branch and in
2007 May 09
2
CentOS 4.4 Installation on Dell poweredge 2900 raid 1 + raid 5 fail
Hi All,
I install CentOS 4.4 without additional driver disk.
When I partition the disk, I create nothing on the raid 5, and I just create
" / " " /boot " and "swap" on the raid 1.
And it works.
When I create a mount point /storage on the raid 5 and create " / " " /boot
" and "swap" on the raid 1.
The error comes again, saying that
2017 Nov 27
0
Scatterplot of many variables against a single variable
Dear Berger and Jim
Can you see my eviews example in the annex? (scattersample.jpg)
Sincerely
Engin
2017-11-27 13:27 GMT+03:00 Eric Berger <ericjberger at gmail.com>:
> LOL. Great reply Jim.
> (N.B. Jim's conclusion is "debatable" by a judicious choice of seed. e.g.
> set.seed(79) suggests that making the request more readable will actually
> lower the number of
2017 Nov 27
1
Scatterplot of many variables against a single variable
You do not appear to have read the Posting Guide mentioned at the bottom if this and every posting on the mailing list.
Only a very few attachment types are allowed through the mailing list... and due to the way many email programs fail to identify them properly, even those few types may not make it through.
Also, this is a plain text email list... any time you send HTML-formatted email it gets
2002 Jun 01
1
Question about Title of Plot
Dear all,
I'm a brazilian medical doctor that I research use of likelihood in the medical research.
I need to do a plot with this layout:
---------------------------------------
| Major Title |
| |
| Title Title |
| -------- -------- |
| | | | | |
| | |
2010 Sep 19
1
odds ratios for n-way tables: seeking an *apply-able method
I'm looking for a way to generalize the calculation of (log) odds
ratios for 2 x 2 x {strata} frequency
tables in vcd::oddsratio() to R x C x {strata} tables.
For an R x C table, F, odds ratios can be defined
in several ways; one simple way, particularly for tables with ordered
factors, is to calculate the
set of continuation odds ratios, based on the (R-1)x(C-1) set of 2x2
tables with
2016 Jan 07
2
Asterisk 11 and old Thomson 2030S Hardphone => SIP Register/Auth Problem against V11
Am 07.01.2016 um 10:55 schrieb Frank:
> On Wed, 2016-01-06 at 17:03 +0100, Juergen Sauer wrote:
Thx, 4answer. :)
>> with in my sip.conf, I have got for this hardphone:
>> [...]
>> [hard1]
>> username=hard1
>> secret=correct-and-three-times-checked-4-digit-pin
>
> In most cases, there is no need to set the "username=" option. The
2009 Feb 05
1
Multiple-Line Comment (PR#13503)
Hello,
sorry for writing here because my problem is not a realt bug but may be
a solution for many people working with R:
I miss the feature for commenting some lines of code at once without
writing a bunch of "#" in front of each line.
This is interesting for trying out some code.
I found some workarounds like
IFELSE(FALSE){} and
`!`<- function(x)
{
if (inherits(x,
2006 Apr 13
2
Automatic finder
It looks rails automatically creates a "finder" method on models that have a "belongs_to". So I tried this in the console:
c = Category.find(2)
chunks = Chunk.find_by_category(c)
chunks is always returned as an empty array. When I know have some chunks with a category_id of 2.
Should the find_by_category do what I think it should be doing or am I completely off base?
2017 Dec 05
2
PLS in R
Hello, I need help with a partial least square regression in R. I have read
both the vignette and the post on R bloggers but it is hard to figure out
how to do it. Here is the script I wrote:
library(pls)
plsrcue<- plsr(cue~fb+cn+n+ph+fung+bact+resp, data = cue, ncomp=7,
na.action = NULL, method = "kernelpls", scale=FALSE, validation = "LOO",
model = TRUE, x = FALSE, y =
2019 Mar 29
5
CentOS Repository broken ?
Hello,
I have a CentOS 7 server with dovecot Repository enabled.
But it is not possible to Update with Yum Update
I have this Error?
The dovecot package is missing?
--> Transaktionspr?fung wird ausgef?hrt
---> Paket dovecot-imaptest.x86_64 2:2.3.5-1 markiert, um aktualisiert zu
werden
---> Paket dovecot-imaptest.x86_64 2:2.3.5.1-1 markiert, um eine
Aktualisierung zu werden
-->
2013 Oct 09
4
[LLVMdev] Related constant folding of floating point values
Hi all,
I have the following test case:
#define FLT_EPSILON 1.19209290E-7
int err = -1;
int main()
{
float a = 8.1;
if (((a - 8.1) >= FLT_EPSILON) || ((a - 8.1) <= -FLT_EPSILON)) { //I am
using FLT_EPSILON to check whether (a != 2.0).
err = 1;
} else {
err = 0;
}
return 0;
}
with -O3 optimization level clang generates already incorrect LLVM IR:
; Function Attrs:
2019 Mar 29
1
CentOS Repository broken ?
or something has been cached, try: yum clean all and then yum update
> Am 29.03.2019 um 14:49 schrieb Gerald Galster via dovecot <dovecot at dovecot.org>:
>
> Hello,
>
> can you please check if the dovecot repository is enabled?
> Is it mentioned at the top of the output when you do "yum update":
>
> (1/10): base/7/x86_64/group_gz
> (2/10):
2018 Sep 10
3
How to avoid multiple registers definitions in customInserter.
Hi,
I'm lowering some of the logical operators (by example the | operator) on integer32.
Sadly my target only provide native instruction on high and low parts of 32 bits registers.
So, I have to generate a sequence of two native instructions (LOR followed by HOR).
I've introduced an Pseudo instruction with a custom inserter.
def OR_A_oo : CLPPseudoInst<(ins