Displaying 20 results from an estimated 1000 matches similar to: "German Map in package maps"
2006 Apr 27
2
add city and point in the map
Dear Helpers:
I'm trying to use packages "maps" and "mapdata" (see blow) to display the research resutls on map (Mid-Atlantic region). In particular, I need to mark a number of points in the map by giving their latitude and longitude information. For instance, I would like to mark a point on (long, lat) =(75.56027, 39.09271). Also, I need to mark several cities that I
2007 Jun 23
2
Highliting a text in a plot
Hi everyone,
I want to highlight something in a plot.
So I want to write a text with a yellow background.
I tried to make use of text(x,y,"hallo",bg="yellow")
but that does not work.
I know I am a handful. Sorry!
Maja!
--
2006 Sep 02
3
Dividing objects in classes using function sample()
Hello everyone,
I've a problem and dont know how to solve. This is my first posting and it would be fantastic if you could help me.
I want to divide n objects in k classes and need an output with all (n+1)(n+2)/2 possibilities.
For example n=4, k=3:
That would be:
4 0 0
3 1 0
3 0 1
2 2 0
2 1 1
2 0 2
1 3 0
1 2 1
1 1 2
1 0 3
0 3 1
0 2 2
0 1 3
2007 Aug 07
1
Functions for autoregressive Regressionmodels (Mix between times series and Regression Models) ?
Hello everybody,
I've a question about "autoregressive Regressionmodels".
Let Y[1],.....,Y[n], be a time series.
Given the model:
Y[t] = phi[1]*Y[t-1] + phi[2]*Y[t-1] + ... + phi[p]*Y[t-p] + x_t^T*beta + u_t,
where x_t=(x[1t],x[2t],....x[mt]) and beta=(beta[1],...,beta[m]) and u_t~(0,1)
I want to estimate the coefficients phi and beta.
Are in R any functions or packages for
2007 Aug 04
2
Problems using "lm" in combination with "predict"
Hello everybody,
I'm trying to predict a linear regression model but it does not work.
My Model: y = Worktime + Vacation + Illnes + Bankholidays
My modelmatrix is of dimension 28x4
Then I want to make use of the function predict because there confidence.intervals are include.
My idea was:
mod <- lm(y~Worktime+Vacation+Illnes+Bankholidays)
newdate=data.frame(x=c(324,123,0.9,0.1))
2017 Mar 26
5
[Euro LLVM] Unofficial beer before the conference
I like Tante Maja. I will call them and see if we can flood them. ;-)
I suggest dinner at 18:00?
Best,
Tobias
On Sun, Mar 26, 2017, at 04:08 PM, Bekket McClane via llvm-dev wrote:
> Hi, I’m one of the poster session authors, I’m also currently in
> Saarbruken
> All three places sound nice to me, but I’m not familiar with this town so
> maybe you can pick the place?
> About the
2017 Mar 26
3
[Euro LLVM] Unofficial beer before the conference
I’m going to travel with another person, so 2 people in total
Cheers,
Hsu
> Tobias Grosser <tobias.grosser at inf.ethz.ch> 於 2017年3月26日 下午4:16 寫道:
>
> We have a table reserved at Tante Maja, 18:00 for 15 people. I am travel
> with 5 other people, so 10 more spots are open. Please let me know
> within 30 minutes if you want a spot, such that I can confirm the
>
2010 Oct 15
4
Set value if else...
Hi
I want to set a variable to either 1 or 0 depending on an value of a
dataframe and then add this as a colum to the dataframe.
This could be done with a loop but as we are able to do questions on a
complete row or colum without a loop it would be sweet if it could be done.
for example:
table:
Name Age
Joel 24
agust 17
maja 40
and so on...
And what I want to do is a command that
2017 Mar 26
3
[Euro LLVM] Unofficial beer before the conference
Hi,
I've heard some people are in Saarbrucken and would like to go for a dinner
together.
I've found some places that should be good for groups:
Old Murphys
https://goo.gl/maps/aPXjfwJGSgS2
Tante Maja
https://goo.gl/maps/yF9Gij5qPoN2
Vapiano
https://goo.gl/maps/knK9edHPE1y
Is someone interested in meeting this evening (probably after 5:30)?
Piotr
-------------- next part
2017 Mar 26
2
[Euro LLVM] Unofficial beer before the conference
On Sun, Mar 26, 2017, at 04:23 PM, Piotr Padlewski via llvm-dev wrote:
> Hey Tobias,
> 4 spots for me and my folks. Thanks for taking care Tobias!
OK. We are down at 2 spots (maybe a little bit more)
Piotr 4 spots
Tobias 5 spots
Bekket 2 spots
Alex 2 spots
13 out of 15 spots taken. Let me know if you wanna join. I can try to
get some more spots.
Best,
Tobias
Best,
Tobias
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
I am receiving the above error ( full r session output below) the
script runs OK in windows. and "genotypes" and "ploidy" are both
correct arguments
any suggestions would be most welcome
Nevil Amos
MERG/ACB
Monash University School of Biological Sciences
> library(Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required
2011 Mar 10
2
identical values not so identical? newbie help please!
Hi there!
I'm not sure I can create a minimal example of my problem, so I'm linking to
a minimal .RData file that has only two objects: obs and exp, each is a 6x9
matrix. http://dl.dropbox.com/u/10364753/test.RData link to dropbox file
(I hope this is acceptable mailing list etiquette!)
Here's what happens:
> obs[1, 1]
[1] 118
> exp[1, 1]
[1] 118
> obs[1, 1]-exp[1, 1]
[1]
2003 Nov 03
10
USA map
R users,
In S, there was a function called usa() that
would draw the map of the United States, plus
it had other options for graphics. I have looked
but I can't find the equivalent in R. Is there one?
Thanks,
Jason
2007 Jun 11
1
Starting R within an VBA makro
Hello everybody,
at work I want to start R within an VBA program.
First I calculate something in Excel 2003.
After that I want to start within my VBA makro R wich should start an R file, say i.g, superplot.R which plots me the data well.
So is it possible?
Maybe something like that:
sub test()
'calculate something
start R superplot.R
end test()
Thank you so much.
Kindly
2007 Jun 12
1
Problems with Vista, R 2.5.0 and function save
Hi everyone,
I want to make use of the save function but it did not work.
I'm using vista and R 2.5.0, winzip is installed too.
Here's the code (from example ?save):
> x <- runif(20)
> y <- list(a = 1, b = TRUE, c = "oops")
> save(x, y, file = "xy.Rdata")
Fehler in gzfile(file, "wb") : kann Verbindung nicht ?ffnen
Zus?tzlich:
2007 Jul 15
1
Text with differents colors in a plot / Detecting if text exists
Hi everybody,
I want to write some text in a plot.
That's simple I know. But I want to make use of different colors.
Eg. text(x,y,paste("Sunderland","high")).
Then Sunderland should be black and "high" red.
Has anyone an idea?
By the way. I'm looking for a function or something similar, that can check whether there is text in some regions on the plot.
2010 Jan 18
2
function to set log(0)=0 not working on tables or vectors
There must be a very basic thing I am not getting...
I'm working with some entropy functions and the convention is to use
log(0)=0.
So I wrote a function:
llog<-function(x){
if (x ==0) 0 else log(x)
}
which seems to work fine for individual numbers e.g.
>llog(0/2)
[1] 0
but if I try whole vectors or tables:
p<-c(4,3,1,0)
q<-c(2,2,2,2)
llog(p/q)
I get this:
[1] 0.6931472
2009 Nov 10
3
Error: cannot allocate vector of size...
I'm trying to import a table into R the file is about 700MB. Here's my first
try:
> DD<-read.table("01uklicsam-20070301.dat",header=TRUE)
Error: cannot allocate vector of size 15.6 Mb
In addition: Warning messages:
1: In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :
Reached total allocation of 1535Mb: see help(memory.size)
2: In scan(file, what,
2001 May 25
2
Winamp plug-in update
http://www.blorp.com/~peter/zips/in_vorbis.zip
another bunch of bugfixes and some new features (see tag editor advanced
mode)
-Peter
--
26 maja - Dzien Matki. Wygraj kwiaty dla swojej Mamy!
Do rozdania 75 bukietow z dostawa i zyczeniami.
[ http://zakupy.onet.pl/prezenty.asp?k=7 ]
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To
2008 May 22
1
disaggregate frequency table into flat file
i appologise for the trivialness of this post - but i've been searching the
forum wothout luck - probably simply because it's late and my brain is
starting to go..
i have a frequency table as a matrix:
orig<-matrix(c(40,5,30,25), c(2,2))
orig
[,1] [,2]
[1,] 40 30
[2,] 5 25
i basically need a random sample say 10 from 100:
[,1] [,2]
[1,] 5 2
[2,] 0 3
i