Displaying 20 results from an estimated 600 matches similar to: "How indices calculated in package "boot""
2007 May 14
2
creating a "list of 3 dataframes" from a "list of 2 dataframes" and a dataframe?
#I wish to create a "list of three dataframes" ("results2") from a "list of two dataframes" (temp) and a dataframe ("c")?
#Please advise.
a <- data.frame(x=c(1,2,3),y=c(5,7,9))
b <- data.frame(x=c(2,4,7,9),y=c(2,3,5,4))
c <- data.frame(x=c(22,34,7,9),y=c(52,63,5,4))
results1 <- list(a,b,c) #what I want
#but this is how I need to get there
2008 Oct 22
1
NEW: COM32 module to alias
From: Gene Cumm <gene.cumm at gmail.com>
alias.c: A simple COM32 module that allows the creation of an alias
within the config for SYSLINUX, etc.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
If, for example, you had two labels that only differed by the length
of the label (a short name) or additional APPENDd parameters, this
would reduce the amount of copies of the same
2009 Jul 28
3
Help with significance. T-test?
Hi,
this is more a general statistics question I think.
I am working on a system which automatically answers user questions (such
systems are commonly called "Question Answering systems").
I evaluated different versions of the same system on a publicly available
test set.
This set contains 500 question. Naturally, for each question the answer can
be wrong or right, which is coded as
2011 Nov 29
2
aggregate syntax for grouped column means
I am calculating the mean of each column grouped by the variable 'id'.
I do this using aggregate, data.table, and plyr. My aggregate results
do not match the other two, and I am trying to figure out what is
incorrect with my syntax. Any suggestions? Thanks.
Here is the data.
myData <- structure(list(var1 = c(31.59, 32.21, 31.78, 31.34, 31.61, 31.61,
30.59, 30.84, 30.98, 30.79, 30.79,
1997 Oct 23
0
R-beta: why restart()
Martyn, you write
> I don't think restart() is necessary - it just seems like an invitation to
> bad programming to me.
It's needed when comparing, say, the time to convergence (if at all) of various
iterative processes, for each of a few hundred simulated values. For example one
wants basically
function(data){
summary<-rep(NA,1000)
for(i in 1:1000){
2007 May 30
2
How to search with limit by field
Hello,
I have a ferret index with 2 fields:
Acts_as_ferret :fields => [:client, :content]
If I do model.find_by_contents(query) I obtain all results by the query
but I would like to obtain 3 results for each client.
Any ideas?
Thanks for all.
--
Posted via http://www.ruby-forum.com/.
2008 Oct 27
0
NEW: COM32 module to alias (Revised)
From: Gene Cumm <gene.cumm at gmail.com>
alias.c: A simple COM32 module that allows the creation of an alias
within the config for SYSLINUX and variants.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Revised based on previous discussion on this list <syslinux at zytor.com>
to change the command line string size and account for the possibility
of overflowing the
2012 Mar 01
2
'break' function in loop
Dear R helpers,
I have some difficulties in using ''break'' function with loop, and the followings are my script. What I try to do is (1) permute ''or'' first; (2) doing t-test if this ''or'' pass criteria 1 (k=1); (3) end the loop when I get 10 permutations; (4) redo everything again but this time use criteria 2 (k=2) (I have more criteria 1:n).
2005 Nov 07
1
Newbie on functions
Hi,
I'm trying to write a simple function like
case1 <- function (m, cov, Q, R) {
theta <- (acos(R/sqrt(Q^3)))
beta <- (-2)*sqrt(Q)*cos(theta/3)+m[1]/3
rho1 <- (-2)*sqrt(Q)*cos((theta+2*pi)/3)+m[1]/3
rho2 <- (-2)*sqrt(Q)*cos((theta-2*pi)/3)+m[1]/3
stderrb <- deltamethod( ~(-2)*sqrt(Q)*cos(theta/3)+x1/3,m,cov)
stderrr1 <- deltamethod(
2003 Jun 10
1
Bootstraping with MANOVA
Hi,
Does anyone know what the error message mean?
> Boot2.Pillai <- function(x, ind) {
+ x <- as.matrix(x[,2:ncol(x)])
+ boot.x <- as.factor(x[ind, 1])
+ boot.man <- manova(x ~ boot.x)
+ summary(manova(boot.man))[[4]][[3]]
+ }
>
> man.res <- manova(as.matrix(pl.nosite) ~
+ as.factor(plankton.new[,1]))$residuals
> boot2.plank <-
2013 Oct 15
1
Problem with lapply
Hi together
I'm pretty new to R, so excuse me if it is a basic question.
I have a big dataset (extract of it found in the attachment) of returns from
firms. I'd like to compute the Pearson correlation of each firm with the
"Market" and the corresponding p-Value. So I thought of making a list of
'cor.test's and then extract the needed values with a for loop. What I did
so
2011 Aug 15
2
Extracting information from lm results (multiple model runs)
Just to inform:
I posted that before in R-sig-ecology but as it might be interesting also for other useRs, I post it also to the general r-user list:
Hello Alexandre,
thank you very much. I also found another way to extract summarizing information from lm results over e.g. 1000 repeated model runs:
results2 <- t(as.data.frame(results))
summary(results2)
Although some questions popped up in
2006 Jul 19
4
sorting and pagination
Hello All,
Okay i think I''m finally getting all of what i want out of ferret
working, thanks mostly to reading this forum and also getting ALOT of
questions answered, thanks alot everyone. Anyway my last ferret task is
too get the results sorted by a field called date_registered and have
this working with pagination.
here is what i''m doing at the moment:
2020 Oct 13
3
[PATCH] drm/nouveau/device: fix changing endianess code to work on older GPUs
With this we try to detect if the endianess switch works and assume LE if
not. Suggested by Ben.
Fixes: 51c05340e407 ("drm/nouveau/device: detect if changing endianness failed")
---
.../gpu/drm/nouveau/nvkm/engine/device/base.c | 39 ++++++++++++-------
1 file changed, 26 insertions(+), 13 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
2004 Sep 01
1
[R/S] strange
Dear R and S People:
I have run across something very strange. Here is a function that I wrote
for R:
boot1 <- function(y,method="f",p=1) {
n1 <- length(y)
n2 <- n1*p
n3 <- n2 - 1
a <- 0.5*(outer(1:n3,1:n3,function(x,y){n2 - pmax(x,y)}))
return(a)
}
and here is the R output:
> y1
[1] 9 8 7 3 6
> source("boot1.R")
> boot1(y=y1,p=4)
[,1] [,2]
2013 Aug 01
1
FreeBSD 9.1 won't boot with a graid error
Hi everybody.
I've just upgraded a box from FreeBSD 9 to 9.1 via freebsd-update.
At the first reboot, the machine stopped with messages about GRAID :
GEOM_RAID: Promise: Subdisk kjihgfedcba`_^]\[ZYXWVUTSRQPONM:0-ada0 state
changed from NONE to ACTIVE
The trick is that I've never setup any kind of RAID on that old box...
Is there a way to completely disable GEOM_RAID loading on boot ?
2002 Jan 12
0
HOWTO make lss
Hello,
it took me some time until I found out how to make _working_ .lss
files for syslinux.
So, here is the (rough) howto, maybe you like to include it
in an FAQ.
- Use a paint tool "gimp" (if you know how to handle it)
to create the boot logo, keep in mind that it
will have (at the end) only 16 color.
- make sure it has 640 width.
- save it as gif
<black magic>
- use the
2013 Dec 16
1
extlinux and btrfs
I am a relative newcomer to using extlinux. I am running Fedora 20
which means I am using syslinux 4.05. When I noticied that all of your
documentation said that booting off ext234 and btrfs was supported, I
gave it a try. Indeed, this does work with the boot files and the
extlinux directory installed into the btrfs (root) volume.
Has any thought been given to supporting supporting
2015 Jun 15
3
Two partitions with samd UUID??
I seem to have partitions on two different disks
with the same UUID:
[tim at helen ~]$ sudo blkid /dev/sda2
/dev/sda2: LABEL="/boot1" UUID="5bbc8e95-6108-41f5-bc0e-5b5f8df5ce03"
TYPE="ext3"
[tim at helen ~]$ sudo blkid /dev/sdb2
/dev/sdb2: LABEL="/boot1" UUID="5bbc8e95-6108-41f5-bc0e-5b5f8df5ce03"
TYPE="ext3"
This is
2015 May 11
1
Foreach %dopar% operator incorrectly load balancing
Dear R-SIG-Debian,
I am using R version 3.1.2 with rstudio-server 0.98.113 on debian build
3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux.
I often use the %dopar% operator in from the foreach package to run code in
parallel. However, the only other use on the box seemingly installed a few
items and suddenly %dopar% will use far more than the number of cores I am
specifying and