Displaying 20 results from an estimated 500 matches similar to: "mean from list"
2006 Feb 12
1
R: mean from list
great!! thanks very much, mean(unlist(lapply(listdata, function(z) z$c)))
works well.
and what about getting the average table $a (displaying the average elements
across all 1000 matrix)? could you please help me? I am struggling with
this...
thanks in advance
Roberto
mean(unlist(lapply(x, function(z) z$d))) should do the trick
On Sun, 12 Feb 2006 20:06:12 +0000, statistical.model at
2006 Feb 06
1
Shapley Values
Hi,
I am trying to compute the Shapley Values between a set of p independent
variables (x1, ..., xp) and the dependent variable y to study the
relationships.
I believe that the package "kappalab" could be an appropriate choice.
Is anybody able to give me some hints about the code I should write?
Any better package?
thanks in advance!
Roberto Furlan
University of Turin
2006 Mar 18
2
extraction - subsets
Hi everybody,
let us assume i have the following matrixX and vectorY
matrixX <- runif(100)
dim(matrixX) <- c(10,10)
vectorY <- as.matrix(as.character(seq(1,10)))
if I define:
subsample<-c("2")
i can extract the rows from matriX based on the elements in vectorY which
are listed in subsample
matrixX[vectorY==subsample]
if I define subsample with more than 1 element, such
2006 Jan 20
3
fractional factorial design in R
Hi,
i need to create a fractional factorial design sufficient to estimate the
main effects.
The factors may have any number of levels, let's say any number from 2 to 6.
I've tried to use the library conf.design , but i cannot figure out how to
write the code.
For example, what is the code for a design with 5 factors (2x3x3x5x2) and
only main effects not confounded?
thanks in advance!
2006 Feb 06
5
lme4: Error in getResponseFormula(form) : "Form" must be a two sided formula
I'm sure I'm being stupid so flame away...
R2.2.1 on Windoze (boohoo) latest updates of packages.
I'm exploring a dataset (land) with three variables looking at an
narrowly unbalanced two group (GROUP) ANCOVA of a randomised
controlled trial analysing endpoint score (SFQ.LOCF.ENDPOINT) entering
the baseline score (SFQ.BASELINE) as covariate and the following work
fine:
> res.same
2006 Jan 02
2
First time class problems
Hi,
I''ve just had my very first attempt of making a JavaScript class,
"prototype" style, so please bare with me, for any disastrous errors :-)
Anyway, I''ve made this class, which is called on an input field on focus:
http://pastebin.com/487417
It works fine in FireFox, but causes some problems in IE. My question is
regarding line 69 in the paste. What is
2002 May 18
0
Importante!
Vuoi Davvero Guadagnare con Internet?
Bene, salva su disco questa pagina per averla a portata di mano
anche se il tuo PC non ? connesso a Internet,
poi
copia quanto segue in Word o in Blocco Note e stampalo,
cos? lo potrai leggere con pi? attenzione.
Questo Sistema ? diverso da tutti gli altri, quindi non essere precipitoso nel valutarlo senza averlo compreso a fondo,
ma ti assicuro che
2005 Nov 09
0
Same "suggestion" div for multiple autocompletes
Hi,
I have this problem when using the ajax autocomplete control. I use the same
div for several "categories" of suggestions, but it seems to remember the
old suggestions. The suggestion div flickers, and usually ends up showing
the previous suggestions.
Is there some sort of method for avoiding this? One would of course be to
make a div for each suggestion category, but that
2005 Nov 10
0
Using multiple inputs with ajax.autocompleter
Hi,
I wrote yesterday (
http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2005-November/001307.h
tml ), but with no replies. This mail is not to spam, just a further
clarification of the problem:
This little bit of code illustrates the problem:
<script language="javascript">
function ac(elm) {
var val = $F(''val'');
new
2005 Mar 30
1
Simple question on server / client
Hello everybody, sorry if my question could offend anybody, is not my
intention.
Well, I am not a real techie person, but I like to fool around using
packages and free software, lately I have been reading on VPNs, and I am
working on setting one up at home.
I don't know if at this point of time I am biased or what, but I am
expecting to see a VPN server and a VPN client, this tinc is a
2004 Aug 16
2
taking asterisk out of nat?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello I have a router that is behind a nat, I want to take asterisk
out of nat so I can use it with sip. what would be the best way to
go about doing this? I have cable internet and everything is hooked
up to a router currently.
thanks
hank
- -----BEGIN PGP SIGNATURE-----
Version: PGP 8.1
2004 Sep 08
3
astwind has any one got this thing to work?
hello I am fitteling with the astwind-installer-0.1.1.exe asterisk for windows and am having trouble getting the thing to connect to the meers to download the updates and stuff. I looked at the wiki and set up networking and stuff with no success, has any one got this thing to work successfully?
my windows box is the faster of the 2 machines and my main linux box is down at the moment. I am
2004 Apr 28
1
spandsp rxfax crashes *
Rxfax answers, makes handshake, and crashes once the page starts to send. It
receives a .tif file of 8 bytes.
Asterisk dumps core - gdb shows :
#0 0x281fd86c in t4_rx_putbit () from /usr/local/lib/libspandsp.so.0
#1 0x281fea3c in fast_putbit () from /usr/local/lib/libspandsp.so.0
#2 0x28208324 in decode_baud () from /usr/local/lib/libspandsp.so.0
#3 0x2820893f in process_baud () from
2004 Apr 19
3
spandsp/rxfax terminates asterisk
Initial handshake sounds fine, but asterisks dies before receive of the fax.
Here is the log :
Changed from phase 0 to 1
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow carrier down
Slow carrier up
Slow
2004 Apr 20
0
fwd:Re: Asterisk prepaid debug
I use http://www.voip-info.org/wiki-Asterisk+callingcard
You only should compile the prepaid.c (look at readme file).
Regards.
Julio
----- Original Message -----
From: <clive18@webmail.co.za>
To: <juliom@telelinkusa.net>
Sent: Tuesday, April 20, 2004 12:47 AM
Subject: fwd:Re: [Asterisk-Users] Asterisk prepaid debug
> Hi
>
> Which pre-paid app are you using?.
> Is it
2004 Nov 22
9
asterisk gui?
hello is there a gui that would allow me to configure everything from phones, to extentions, to voice mail to basicly everything that asterisk can do?
I did go to
www.voip-info.org
and none of the guis I saw there do the trick and the ones that come close aren't downloadable just wanted to see status on this
thanks
hank
----------------------------------------
My Inbox is protected by
2009 Nov 13
6
replace a whole word with sub()
Dear all,
I cannot figure out how to solve a small problem (well, not for me), surely somebody can help me in few seconds.
I have a series of strings in a vector X of the type "xxx", "yyy", "zzz", "IgA", "IgG", "kkk", "IgM", "aaa".
I want to substitute every ENTIRE string beginning with "Ig" with
2008 Oct 30
2
p-value=0 running coxph
Dear all,
I have a question concerning the p-value. When running coxph I get a p-value
= 0. :confused:
Can this be true? Why aren?t there decimal points? Is there a way to find
out the exact p-value?
Here is the output:
----------------------------------------------------------------------------------------------------
Call:
coxph(formula = Surv(start, stop, status) ~ Albumin_gproL, data = dial,
2002 Oct 14
0
Condividi i tuoi files con Grokster
Vuoi scaricare da Internet ogni tipo di files: programmi, giochi, MP3,
filmati, foto e tanto altro?
Visita il sito http://anzwers.org/free/grokster/ e scarica il software per
condividere i tuoi files
con tutto il mondo!
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2007 Oct 04
0
Boot with Grub the installation of FreeBSD_6.2 from an floppy image.
Hi,
I have 2 partition o my HD: /dev/hda1 e /dev/hda2 .
In /dev/hda2 there is Suse_10.1,
/dev/hda1 is empty,
and in the MBR there is Grub.
Normally, FreeBSD can be installed from a CD or a floppy,
but I haven't neither a cd device nor a floppy device.
So, I want run the installation of FreeBSD_6.2 from a floppy image.
In this thread there is an idea, but I didn't understand it.