Displaying 20 results from an estimated 200 matches similar to: "Shapley Values"
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 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 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 Feb 12
1
mean from list
hi all,
I have a simple problem that i am not able to solve. I've a list called
datalist with the following structure:
[...]
[[10]]
[[10]]$a
-1 0 1
-1 31 5 2
0 6 7 5
1 1 7 36
[[10]]$b
-1 0 1
-1 31 5 2
0 6 7 5
1 1 7 36
[[10]]$c
[1] 0.855
[[10]]$d
[1] 0.855
[...]
with [[1]] ... [[100]]. How can i get the mean value of datalist[[x]]$d,
where x
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
2011 Dec 28
2
Gale-Shapley Algorithm for R
Dear R-helpers,
I'm not a speciallist in writing complex functions, and the function still
very rusty (any kind of suggestions are very welcome). I want to implement
Gale-Shapley algorithm for R Language. It is based on
http://www.jstor.org/stable/10.2307/2312726 Gale and Shapley (1962) , and it
has evolved to
2009 Feb 24
0
R, Shapley Values and TURF
Hi,
I'm looking for any information on calculating and using Shapley Values
in a TURF context. A paper was presented at an S-Plus conference about
this:
Conklin M., Lipovetsky S. Modern Marketing Research Combinatorial
Computations:
Shapley Value versus TURF Tools, Proceedings of 1998 International
S-Plus User
Conference, Oct. 8-9, 1998, Washington, DC, MathSoft Inc.
Does anyone have
2009 Mar 30
0
Problem in S4 object displaying from within a Java application using JRI
I am using JRI (Java R Interface) library in order to call R from within my
Java application. But since the "rmu1" and "rmu2" ,see the following code,
are objects of type S4 once i run the application the value of Null will be
returned for both of them. On this regard, i would appreciate it if anyone
can tell me how i am going to display and/ or convert these objects to Java
2008 Apr 08
1
error using method ls.ranking.capa.ident
I'm trying to run the generalized least square approach for my 2-additive
problem,
unfortunately this error appeared. I have tried to figure out the error from
the mailing list
but couldn't find the solution. Any help is highly appreciated.
This is my source code:
>a1 <- c(76.18, 61.84, 60.4, 69.09)
> a2 <- c(51.01, 50.39, 87.62, 52.03)
> a3 <- c(80.08, 48.49, 90.86,
2007 Apr 09
1
How to solve differential and integral equation using R?
Hello,
I want to know if there are some functions or packages to solve differential
and integral equation using R.
Thanks.
Shao chunxuan.
[[alternative HTML version deleted]]
2007 Oct 04
1
Updating packages for R 2.6.0
Since this has come up already:
It is a good idea to re-install all packages for a minor-version increment
of R, e.g. 2.5.1 -> 2.6.0 (it is major.minor.patchlevel). This is most
easily done by
> update.packages(checkBuilt=TRUE, ask=FALSE)
However, if you don't want to do that yet, be aware that
- Certain S4-using packages must be reinstalled, and using old versions
can make R
2005 Mar 04
0
Ti sei cancellato con successo
Ecco fatto, da domani non riceverai più la mia mail quotidiana... peccato...
Se vuoi dirci perchè ti sei cancellato basta rispondere
in automatico a questa mail e noi la leggeremo.
Se invece ti sei cancellato per sbaglio puoi reiscriverti o mandando una mail (anche vuota) a:
subscribe.modelle@it.buongiorno.com
o andando sul sito www.tuttinudi.it
Buona giornata
Lo staff di tuttinudi
2007 Mar 26
1
Problem in loading all packages all at once
Hi All
Please see the Rprofile file which i have modified as follows and after
that when I start R then I see that R says to me "TRUE" for all the
packages implying that all loaded at once.
But when i try to use commands as simple as help("lm"), it doesnt work nor
any of the menu "Packages" is not working.
Although the regression using lm ( Y ~ X ) is working
2005 Nov 01
4
S4 classes in existing packages
R-devel,
I'm interested in looking at some examples of existing R packages that
rely heavily on S4 classes to get a feel for varying styles and
package organization techniques. Could you recommend any packages
that might serve as a good starting point?
Thanks in advance,
Jeff
2005 Nov 01
4
S4 classes in existing packages
R-devel,
I'm interested in looking at some examples of existing R packages that
rely heavily on S4 classes to get a feel for varying styles and
package organization techniques. Could you recommend any packages
that might serve as a good starting point?
Thanks in advance,
Jeff
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
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
2019 Oct 29
1
Sieve problem - Timeout while waiting for lock
Hi,
I have an issue with dovecot 2.3.7.2.
When lmtp stores a message into INBOX, I get this error:
2019-10-29 16:32:53 lmtp(?test at XXXX?)<28874><4IPiEytbuF3KcAAAioI89A>:
Error: sieve: Execution of script /config/dovecot/common/default.sieve
was aborted due to temporary failure
2019-10-29 16:32:53 lmtp(?test at XXXX?)<23470>: Error: sieve:
2007 Mar 13
5
can´t access share by name, but on ip
Hi All !
i?m running Clearcase (IBM Rational) and have some strange problems ... when i use Samba ver 3.21b i can?t access the samba share by name (\\servername\sambashare) but i can access it on ip (\\192.168.1.100\sambashare\) i?m running debug level 10 and it seems like it can?t authenticate when access on netbios/dns/host name but on ip it can ? when running samba ver 3.23b from
2011 Feb 25
1
Small enhancement for CMD check
It would be nice if the 00check.log file also included this part of the
output:
Running ?bladder.R?
Comparing ?bladder.Rout? to ?bladder.Rout.save? ... OK
Running ?book1.R?
Comparing ?book1.Rout? to ?book1.Rout.save? ... OK
Running ?book2.R?
Comparing ?book2.Rout? to ?book2.Rout.save? ... OK
etc.
The survival package has enough test scripts that it exceeds my
terminal's scroll