Displaying 20 results from an estimated 27 matches for "gmd".
Did you mean:
cmd
2003 Apr 24
5
Fast R implementation of Gini mean difference
...data (see
http://www.xycoon.com/gini_mean_difference.htm for a related
formula). Unsurprisingly, the function is slow (compared to sd or mad)
for long vectors. I wonder if there's a way to make the function
faster, short of creating an external C function. Thanks very much
for your advice.
gmd <- function(x, w) { # x=data vector, w=weights vector
n <- length(x)
tmp <- 0
for (i in 1:n) {
for (j in 1:n) {
tmp <- tmp + w[i]*abs(x[i]-x[j])
}
}
retval <- 0.5*sqrt(pi)*tmp/((n-1)*sum(w))
}
gmd(rnorm(100))
Regards,
Andrew C. Ward
CAPE Cent...
2000 Jul 07
1
R and large RAM
I am planing to buy several machines with 2 GB RAM.
Is R able to use this much memory?
Thanks
Gerhard
--
Dr. Gerhard Paass http://ais.gmd.de/~paass
GMD.AiS - Inst. for Autonomous Intelligent Systems
Schloss Birlinghoven, D-53754 St. Augustin, Germany
mail: paass at gmd.de fon: +49 2241 14-2698 fax: ..-2342
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.c...
2001 Feb 22
1
R-1.2.0: bug report on fn table
...quot;NA")
numeric(0)
> table("NaN")
numeric(0)
This should probably return something different, like in
> table("nan")
nan
1
>
or do I misunderstand something?
regards
Joerg.
-- Dr. Joerg Kindermann Knowledge Discovery Team
GMD - German National Research Center for Information Technology -
phone: +49 02241 142437 fax: +49 02241 142342
http://ais.gmd.de/KD/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-F...
2016 Apr 05
1
Heatmap Colnames
Hello,
please see below my code for a heatmap. Unfortunately my column names do not completely appear. Can you please send me the appropriate code to visualise them?
Many Thanks!
Nils
library(GMD)
dat<-data.frame(EntryA=as.numeric(c(4.24,3,1.66,1.28,1.2,-1.32,-1.88)), EntryB=as.numeric(c(4.16,4.82,-1.82,-3.02,0.99,1.1,-3.31)))
rownames(dat)=c("hsa-miR-200c","hsa-miR-520b","hsa-miR-199a-3p","mmu-miR-124a","hsa-miR-302a","hsa-miR-454...
1999 Aug 26
0
use dyn.load to redefine R internal fns?
...tf into a library and
load it with dyn.load. I don't get an error message, but afterwards the
original function is still valid, my new version isn't executed.
Is there a way to change R internal functions with dyn.load?
thanks in advance for any hints
-- Dr. Joerg Kindermann GMD - AiS
German National Research Center for Information Technology
Schloss Birlinghoven, D-53754 St. Augustin, Germany
phone: +49 02241 142437 fax: +49 02241 142342
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help ma...
2001 Jan 08
0
R-1.2.0: gdb doesn't find functions in shared lib
...0
I tried to recompile without the O2 option, but to no avail. I also tried
both R INSTALL <my_lib> and doing R SHLIB <my_file.c> and then manually loading
the .so file.
I would be glad to receive any hints
-- Dr. Joerg Kindermann Knowledge Discovery Team
GMD - German National Research Center for Information Technology -
phone: +49 02241 142437 fax: +49 02241 142342
http://ais.gmd.de/KD/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-F...
2000 Feb 23
1
Version 0.90.1 bug report on matrix indexing
...9 13 17 21
2 2 6 10 14 18 22
3 3 7 11 15 19 23
4 4 8 12 16 20 24
> bla["a",]_.6
> bla
1 2 3 4 5 6
1 1 0.6 0.6 0.6 0.6 0.6
2 2 6.0 10.0 14.0 18.0 22.0
3 3 7.0 11.0 15.0 19.0 23.0
4 4 8.0 12.0 16.0 20.0 24.0
> gc()
Bus error
-- Dr. Joerg Kindermann GMD - AiS
German National Research Center for Information Technology
Schloss Birlinghoven, D-53754 St. Augustin, Germany
phone: +49 02241 142437 fax: +49 02241 142342
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help ma...
1999 Oct 06
2
R --nsize 2M runs havoc (under linux)
...R process will lead to a
segmentation fault sooner or later, usually inside the storage allocation
routine of R. I cannot reproduce the strange behavior under Solaris,
however.
I would be glad to hear from anyone who has encountered and fixed(!) this
problem.
-- Dr. Joerg Kindermann GMD - AiS
German National Research Center for Information Technology
Schloss Birlinghoven, D-53754 St. Augustin, Germany
phone: +49 02241 142437 fax: +49 02241 142342
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help ma...
2007 Apr 15
1
unable to find inherited method for function "edges", for signature "ugsh", "missing"
....links(object)
})
I can get this to work in the sense that it passes R cmd check. However, if I add the following (to me innocently looking function) to my package I get problems:
nodeJoint <- function(bn, set, normalize=TRUE){
vars <- set
a <- vallabels(gmd)[vars]
levs <- as.data.frame(table(a))
levs <- levs[,1:length(a)]
levs2 <- do.call("cbind",lapply(levs, as.character))
p<-sapply(1:nrow(levs2), function(i)
pevidence(enterEvidence(bn, nodes=vars, states=levs2[i,]))
)
if (normalize)
p <-...
2000 Sep 07
6
Writing a tabel in LaTeX-format
I have a vague recollection of seeing a R-function
that will output a table or matix in a format suitable
for the tabular enviroment in LaTeX.
But I cannot find it. Any hints?
Bendix
----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Centre
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 28 25 87 38
fax: +45 44 43 73 13
bxc at novo.dk
2001 Mar 10
2
passphrase for non existent key?
Hi there. I'm being asked for a passphrase for a key file that does not exist.
See debug output below. Both client and server default to SSH2. Creating a DSA key without a password and copying the public
portion to the server's authorized_keys2 allowed me to login w/o a password. I downloaded and installed the latest version of SSH
from OpenBSD CVS, and now its asking me for the
1998 Jun 26
0
smbmount from samba-1.9.18p8, Linux-2.1.107 and no joy
...ERRnoaccess or ERRbadpw without even bothering to
ask for a password (I suspect it tries to be to smart).
Any help would be very welcome. As an aside note: I'm able
to list the resources on the target machine with the RedHat-5.1
supplied smbclient (Version 1.9.18p5).
--
Regards
Joerg
GMD-IPSI, Dolivostr. 15, Zimmer 120, D-64293 Darmstadt
+49-6151-869-786 (Phone), -818 (FAX)
2001 Jan 27
0
No other free audio Codecs?
...rather difficult so i'd just like to say
Thank You to Xiph again, for trying :)
If anyone knows of any other Free(speech, beer such as MP3
doesn't count) could they please share?
-----BEGIN PGP SIGNATURE-----
Version: N/A
iQA/AwUBOnILMzjFnKpkvcbxEQJEBwCfZkU36b4VohlBpw+z1I5IAfkEdboAoLg7
gmd/WSMK3GwxdcwswcFScc1U
=4d+E
-----END PGP SIGNATURE-----
Daniel Richards - http://leopard.osoal.org.nz/
PGP Pub key:
http://shell.world-net.co.nz/~kyhwana/DanielRPubKey.asc
Fingerprint: 4F09 7B12 03F9 10BD 688A 1D6F 38C5 9CAA 64BD C6F1
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg...
2000 Jan 17
1
dyn.load problem
...r
Error in dyn.load(x, as.logical(local), as.logical(now)): unable to load shared
library "myLib.so":
myLib.so: undefined symbol: MarkSave
Can't I use R internals other than those visible in $R_HOME/include?
Thanks for some clarifying hints
-- Dr. Joerg Kindermann GMD - AiS
German National Research Center for Information Technology
Schloss Birlinghoven, D-53754 St. Augustin, Germany
phone: +49 02241 142437 fax: +49 02241 142342
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help...
2002 May 19
2
ISOLINUX help requested (checksum error)
Hi Mr Anvin,
after downloading the Freedos bootable cd, which now uses your projects
(ISOLINUX & MEMDISK) instead of Bart Lagerweij's DISKEMU (www.nu2.nu), I
contacted the creator of the freedos cdrom. I was interested in how he did
make that cd bootable.
Now I understand it a bit.
As I'm a MS Windows user, I had to figure some things out.
However, upon booting I get a beautiful
2006 Nov 16
2
tar vs. star vs. something-else-I-don-t-know-about
...13 ??? 2006 09:38:38 Build Host: centos3.wellhouse
Group : Applications/Archiving Source RPM: star-1.5a08-4.src.rpm
Size : 336744 License: GPL
Signature : DSA/SHA1, ??? 16 ??? 2004 01:48:38, Key ID 7049e44d025e513b
URL : http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html
Summary : An archiving tool with ACL support
Description :
Star saves many files together into a single tape or disk archive,
and can restore individual files from the archive. Star supports ACL.
[root at devel mrtg]# rpm -qi tar...
2017 Aug 02
0
Generating samples from truncated multivariate Student-t distribution
...un of your calculations were:
> meansBig <- replicate(100, {Xbig <- rtmvt(n=100000, meann, covv, df, lower, upper)
> colMeans(Xbig)} )
> describe(meansBig[4,]) # describe is from Hmisc package
> meansBig[4, ]
> n missing distinct Info Mean Gmd .05 .10 .25
> 100 0 100 1 34.7 0.01954 34.68 34.68 34.69
> .50 .75 .90 .95
> 34.70 34.72 34.72 34.73
> lowest : 34.65222 34.66675 34.66703 34.66875 34.67566
> highest: 34.72939 34.73012 3...
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
1999 Oct 13
3
main/character.c (et.al): dangerous AllocBuffer()
I was hit by ugly crashes of R, when I tried to read big data sets ("volcano").
So I looked into the code and found the following in character.c (triggered by substr()):
I assume that the helper function AllocBuffer() shall facilitate an economic memory management. But
the use of realloc() in the else-branch does not conform to ANSI and may hit you with certain
compilers.
When called
2012 Oct 23
4
daylight
hi there,
does anyone know how to calculate the amount of daylight on every day of the
year in R? I mean the time between sunrise and sunset.
thanks
--
View this message in context: http://r.789695.n4.nabble.com/daylight-tp4647213.html
Sent from the R help mailing list archive at Nabble.com.