Displaying 20 results from an estimated 2000 matches similar to: "swap"
2008 Aug 19
4
converting coordinates from utm to longitude / latitude
Hi,
is there a function in R to convert data read with read.shape and which is originally in UTM coordinates into longitude / latitude coordinates?
I found the convUL() function from the PBSmapping package but I have no idea how I could apply that to the read.shape object.
Many thanks,
Werner
__________________________________________________
Do
sragenden Schutz gegen Massenmails.
2008 Aug 26
2
String search: Return "closest" match
Hi,
I have to match names where names can be recorded with errors or additions.
Now I am searching for a string search function which returns always the "closest" match. E.g. searching for "Washington" it should return only Washington but not Washington, D.C. But it also could be that the list contains only "Hamburg" but the record I am searching for is
2010 Jan 19
4
Remove term from formula for predict.lm
Hi,
probably just a quick question: can I somehow change the formula used with predict? E.g., the regression was run on "y ~ u + v + w" but for the prediction the term v should be removed from the formula contained in the regression object and only "y ~ u + w" be used.
I could use model.matrix etc. to do the predictions but it would be very helpful to know a simpler way.
2010 Mar 05
1
how can I look at .Internal(model.matrix(t, data))?
Hi,
I would like to see how model.matrix expands factor column to a set of dummy columns. I think that is done int .Internal(model.matrix(t, data)) which is called from model.matrix.default. But I have not idea how I can look at this function. How can I get to such internal functions?
Thanks so much!
Werner
____________________________________________
einen herausragenden Schutz gegen
2010 Mar 09
1
find out commands in package
Dears,
I am trying to implement some R package which is still under construction and has not yet been submitted to CRAN (RSSA, http://anton.korobeynikov.info/software). Documentation is yet very poor (or i just did not find it), so I am wondering whether there is any way to retrieve a list of commands available in this package from within R? And to find out whether the package is successfully
2010 Mar 24
1
lattice: defining graphical parameters
Dears,
could anyone give me some advice how to change some plotting parameters for a lattice graph?
I need to adjust the following:
-reduce outer margins (like par(mar=c(0,0,0,0)) with base graphs)
-modify positions of labels (like par(mpg=c(0,0,0)) with base graphs)
I already did some research, but got confused by the huge amount of settings with the lattice objects.
I know that the road
2009 Apr 28
8
duplicate 'row.names' are not allowed
Hi everyone,
I have got the following problem:
x1 <- rnorm(10,5,1)
x2 <- runif(10,0,1)
nam1 <- paste("A",1:4,sep=".")
nam2 <- paste("A",6:9,sep=".")
nam <- c(nam1,"A.4",nam2,"A.9")
mydata <- data.frame(x1,x2)
rownames(mydata) <- nam
Error in `row.names<-.data.frame`(`*tmp*`, value = c("A.1",
2011 Feb 04
2
logging the public key
Can openssh log which public key, as listed in the authorized keys file,
was used to log in? If so, how?
I don't see a config option, so I'm currently using a custom command via
COMMAND="....." ssh-dss AAAAB3Nza..... key1
COMMAND="....." ssh-dss AAAABFFFF..... key2
to log the key. It would be nice if there was a better way.
Suggestions?
Anthony.
--
Anthony R
2010 Mar 24
2
splitting word
Hi all,
Could someone tell me how to split a word.
c("AA")
to
c("A","A")
Thanks!
Phoebe
[[alternative HTML version deleted]]
2009 Jun 08
5
mean
Hi,
I have gote the following data
x1 <- c(rep(1,6),rep(4,7),rep(6,10))
x2 <- rnorm(length(x1),6,1)
data <- data.frame(x1,x2)
and I would like to compute the mean of the x2 for each individual of x1, i. e. x1=1,4 and 6?
Thank you very much in advance,
Amori
[[alternative HTML version deleted]]
2009 Jul 23
3
Counter
Hi everyone,
Is there any counter function in R for the following purpose:
x <- matrix(c(1,1,0,2,1,0,0,2,0,1,2,1,2,1,0,1),nrow=4)
As I would like to know how many zeros, ones, and twos in each row of x?
Many thank in advance,
Amor
[[alternative HTML version deleted]]
2010 Jan 09
2
Functions for QUAIDS and nonlinear SUR?
Hi,
I would like to estimate a quadratic almost ideal demand system in R which is estimated usually by nonlinear seemingly unrelated regression. But there is no such function in R yet but it is readily available in STATA (nlsur), see B. Poi (2008): Demand-system estimation: Update, Stata Journal 8(4).
Now I am thinking, what is quicker learning to "program" STATA which seems not really
2009 May 27
2
boxplot
Hi gues,
Is there any function in R for boxplot with different time points?
t1 <- c(rep(1,20),rep(2,20))
t2 <- c(rep(1,10),rep(2,10),rep(1,10),rep(2,10))
x <- rnorm(40,5,1)
dat <- data.frame(t1,t2,x)
boxplot(x~t1,t2)
Many thanks,
Amor
[[alternative HTML version deleted]]
2009 Nov 13
1
p-value > 1
Dear all,
I am trying to use SAMr-library(samr), it gives me p-value = 1.001, any idea why?
Many thanks,
Amor
__________________________________________________
z gegen Massenmails.
[[alternative HTML version deleted]]
2010 Mar 24
3
help in matlab - r code
Dear list members,
I need to translate 3 lines of matlab code to R (a loop, to be specific),
and I don't know what would be the results in matlab or how to do it in R--
I don't realise if they are doing to the col, vector or what. if the results
are a vector or a value or a matrix :-(
Anyone with matlab, can run it and give me the result? Any ideias what am I
doing wrong?
The code is
2007 Jun 22
3
[LLVMdev] BigBlock register allocator
Hi everyone,
Quick summary:
LLVM now has a new register allocator particularly suitable for
compiling (very) large, machine-generated functions.
Longer story:
I've recently been using LLVM in an application that involves JITing
fairly large functions that have no control flow - they're just flat
sequences of instructions, anywhere from 100 to 10000+ in size. (The
control flow is
2008 Oct 17
0
AW: Using serial port from a domU
Just something to be added:
- This procedure doesn''t work with a Fedora 9 DomU
- Maybe you have to blacklist some modules in the Dom0: AFAIK you have to rmmod (better: blacklist on boot using modprobe.conf) these modules: serial_core 8250 and 8250_pnp
----- Ursprüngliche Mail ----
Von: Federico Fanton <fake@panizzolo.it>
An: xen-users@lists.xensource.com
Gesendet: Freitag, den
2008 Sep 26
0
AW: Help GPLPV Drivers
hey
is it possible, that you didn''t assign any drive letters to the second harddrive? please check -> system config -> administration -> computer -> drive manager (i hope the names are correct, i only have a german win2k3). there you can assign drive letters to partitions...
hope it helped
----- Ursprüngliche Mail ----
Von: Shanmuga Rajan
2008 Sep 20
0
[LLVMdev] Using VirtRegMap
Hi Evan,
> Ok. Everyone has different idea about "easy". :-)
I second your opinion that it is not very easy to use and it is very tightly coupled with the current linear scan register allocator implementation.
> But VirtRegMap is going to be remove one of these days.
When are you going to do that? Are you going to remove it from the source tree? Will it be replaced with
2007 Jan 08
0
IAX call path optimization with more than 3 legs
hi list,
after connecting 3 asterisk servers via IAX in a line
(+ 1 client at each end), i noticed that call path
optimization happens only one time, i.e. only one
node/leg in the path can be reduced.
Does anybody know if this is the intended behaviour or
if it's a bug?
Can anyone confirm my observations?
It seems that the first node, that sends the TXREQ
Message, is "optimized".