search for: kenn

Displaying 20 results from an estimated 52 matches for "kenn".

Did you mean: ken
2013 Apr 11
2
(no subject)
...sary e.g. for packages)? I mean something working like this: > utf2uxxxx("õäöü") [1] "\u00f5\u00e4\u00f6\u00fc" It is easy to program but perhaps someone already has implemented this. (I couldn't find anything useful from searches incl RSiteSearch). Thanks in advance, Kenn -- P.S. Apologies if this is double posted - there was a network error and the first message doesn't seem to have been sent out (but maybe it was). Kenn Konstabel Department of Chronic Diseases National Institute for Health Development Hiiu 42 Tallinn, Estonia [[alternative HTML version d...
2011 Mar 03
1
sqlFetch (RODBC) question
...om.1252 [4] LC_NUMERIC=C [5] LC_TIME=English_United Kingdom.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] RODBC_1.3-2 loaded via a namespace (and not attached): [1] iterators_1.0.3 tools_2.12.1 Thanks in advance, Kenn Kenn Konstabel Department of Chronic Diseases National Institute for Health Development Hiiu 42 Tallinn, Estonia
2011 Mar 25
2
Preserving the class of POSIXt objects
...x$min <- 0L ## x$min[] <- 0L x$hour <- 0L ## x$hour[] <- 0L After these changes, [ and length would work "correctly" (in my possibly naive understanding), and length(trunc(foo, "day")) would return 10 in the example above. Best regards, Kenn Kenn Konstabel National Institute for Health Development Hiiu 42 Tallinn Estonia
2007 Mar 28
2
fitting data with conditions
Mich besch?ftig folgende Fragestellung. Ich kenne die Verteilung (lognormal) zus?tzlich weiss ich das 99%, das 90% und das 1% Quantil. Gibt es in R eine M?glichkeit die Lognormalverteilung zu finden, das heisst den korrespondierenden logmean und logsd? Vielen Dank f?r ihre Hilfe Gruss Yvonne
2007 Oct 12
2
Q-type factor analysis
Hallo! Is there a package in R that does Q-type factor analysis? I know how to do principal component analysis, but haven't found any application of Q-type factor analysis. Thx, Julia -- Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
2011 Jan 06
2
Global variables
Dear R-users, Is there a way I can prevent global variables to be visible within my functions? Sebastien
2011 Apr 10
4
Password-protect R script files
There was a question in R forum very long time back.. on how to protect R Script files from inadvertent editing by users. There is a way to do this from within R, atleast in Windows XP I have tried this and it certainly works , The method is very different from the OS based folder protection route, however making available such a method in the open forum would only kill the very spirit of R.
2009 Aug 29
2
round off errors? (PR#13918)
...XP Submission from: (NULL) (82.113.106.4) I use the following function to compute MutualInformation Matrix of factorial members of a dataframe. I use package minet for this: my.MI = function(test) { ## die Diagonale gibt die Entropien, Teile durch entropy von y und du erh?lst den Zusammenhang ## kenne X und sage daraus y voraus require(minet) MI.matrix = matrix(0,nrow=length(test),ncol=length(test),dimnames=list(names(test),names(test))) for (i in 1:length(test)) { for (j in 1:length(test)) { temp = na.omit(test[,c(i,j)]) MI = build.mim(temp) p.i = prop.table(table(temp[,1])) p...
2013 Sep 18
2
cov2cor exp
...s (instead of "numeric" type) is more efficient as here they're used as indexes and would be converted to integer anyway. Compare > is(1) ... and > is(1L) 1L:p is the sequence 1, 2, 3, ..., p (just like 1:p) Just for curiosity, what is findFn('cov2cor') ? Regards, Kenn* I don't know what findFn('cov2cor') is, I'm a total newbie to R but I created a new, simpler to my opinion function for some descriptive statistics as matrix functions for a matrix called "x": one1=c(rep(1, nrow(x))) means <- t(one1)%*%x/3#row vector of means M=one1%...
2011 Mar 21
1
Curry with `[.function` ?
...t; with "Curry" by using substitute et al. inside `foo`, - this would make it usable only within functions that one could be bothered to redefine this way - probably none.) Thanks in advance for any ideas and comments (including the ones saying that this is an awful idea) Best regards, Kenn Kenn Konstabel Department of Chronic Diseases National Institute for Health Development Hiiu 42 Tallinn, Estonia [[alternative HTML version deleted]]
2010 May 12
1
Xen 4.0 with Remus on Suse 10.1??
...the proper kernel and/or initrd files in place in GRUB to get it to work. Alternatively, is there a way to install Remus into my older Xen 3 which was working? I have not been able to find a Remus source anywhere. Thank you for any help or pointers to the right places to look. Regards, -k Kenn Lippert Computation & Simulation Modeling, Product Manufacturing Division Alcoa Technical Center. Tel: 724-337-2691 Email: kenneth.lippert@alcoa.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2008 Apr 29
1
Consecutive zeros in a vector
...2 2 2 ... and N is 10. I would like a foo(X, 10) to return something like c(6,19) (start and end positions in X of at least 10 consecutive zeros). I can think of a number of slow and probably inefficient ways of doing it (nested loops..), but perhaps someone has a better idea.. Thanks in advance, Kenn [[alternative HTML version deleted]]
2003 Mar 01
1
bootable dvd
Is it possible to use isolinux to create a bootable dvd? I have a .iso that boots fine from cd but not from dvd. I have a Dell OptiPlex GX240 with dvd/cd drive. Dont know for sure if the bios requires an update to boot dvd. Any info would be appreciated. Thanks, Kenn White (801)861-3737 kpwhite at novell.com Zenworks for Desktops http://www.novell.com/products/zenworks/awards.html Novell, Inc., the leading provider of information solutions http://www.novell.com
1999 Jul 24
0
smbmount problems.
...lso, I should mention that I used smbmount to mount it in this way. smbmount \\\\three\\cd-rom /mnt/cdrom/ but I have tried stuff like this as well. ------------------------------------------------------------------------- [root@intranet /root]# smbmount //seventeen/c /mnt/cdrom -U nacs -W NACS -n kenn -d 9 ------------------------------------------------------------------------- [root@intranet /root]# smbmount //db/cd-rom /mnt/cdrom -i 207.166.192.86 -U nacs -W NACS -n kenn If I'm doing something wrong, please piont me in the right direction. thanks |_-_-_-_-_-_-_-_-_-_-_-_-_-_...
2011 Mar 23
0
suggestions re trunc.POSIXt
...h of first element. So I'd suggest changig this too, replacing the lines like x$sec <- 0 by x$sex[] <- 0 (the second version would preserve the number of elements). (Changed version at the end). It doesn't seem like this change could possibly break any existing code. Best regards, Kenn Kenn Konstabel Department of Chronic Diseases National Institute for Health Development Hiiu 42 Tallinn, Estonia ###### trunc.POSIXt <- function (x, units = c("secs", "mins", "hours", "days"), ...) { # changed x$sec <- 0 to x$sec[]<-0 to preserve...
2013 Apr 11
0
Notes and warnings in building a package ('ms-dos style file name', 'no visible binding' and using .C("bincount", ..., PACKAGE = "base"))
...uot;base") Packages should not make .C/.Call/.Fortran calls to base packages. They are not part of the API, for use only by R itself and subject to change without notice." I understand the reasons but what would be a good solution if I like the way it works now? Many thanks in advance, Kenn Kenn Konstabel research fellow Department of Chonic Diseases National Institute for Health Development Hiiu 42 Tallinn, Estonia [[alternative HTML version deleted]]
2011 May 04
4
Recursive objects
Hi all, Does anyone have a comprehensive list of recursive-type objects in R? is.recursive defines them as by exclusion: "most types of objects are regarded as recursive, except for vector types, ?NULL? and symbols (as given by ?as.name?)." I think this that means recursive objects are: * lists * pairlists * calls * expressions Did I miss anything? Hadley -- Assistant
2011 Jan 04
5
scoping/non-standard evaluation issue
Dear r-devel list members, On a couple of occasions I've encountered the issue illustrated by the following examples: --------- snip ----------- > mod.1 <- lm(Employed ~ GNP.deflator + GNP + Unemployed + + Armed.Forces + Population + Year, data=longley) > mod.2 <- update(mod.1, . ~ . - Year + Year) > all.equal(mod.1, mod.2) [1] TRUE > > f <-
2008 Jul 11
1
Subsetting an array by a vector of dimensions
Hi Is it possible to subset an n-dimensional array by a vector of n dimensions? E.g. assume I have > x <- array(1:24, dim=2:4) > x[1,1,2] [1] 7 > dims <- c(1,1,2) I would like a function that I can supply x and dims as parameters to, and have it return 7. Also, I would like to do something like: > x[1,1,] [1] 1 7 13 19 > dims2<- c(1,1,NA) And have a function of x and
2011 Feb 02
2
Help me apply mapply
Hello all I would like to ask your help use mapply. I have a function called findCell that takes two arguments(x,sr) where x is a vector of size two (e.g x<-c(2,3) and sr is a matrix. I would like to call many times the findCell function (thus I need mapply) for different x inputs but always for the same sr. as x is a vector of size two (two cells) I want to pass inside inside the following