Displaying 20 results from an estimated 3000 matches similar to: "barplot legend size"
2003 Aug 26
3
plot empirical pdf
Hi,
are there any function to plot the empirical probability distribution
function? I just don't want to reinvent the wheel...
Best wishes,
Ott
--
Ott Toomet
PhD Student
Dept. of Economics
?rhus University
Building 322
Universitetsparken
8000 ?rhus C
Denmark
otoomet (a) econ au dk
ph: (+45) 89 42 20 27
-------------------------------------------
(o_ (*_ (O_
2004 Jun 08
3
make fails with utf-8 locale, RH9 (PR#6958)
Hi,
I have an RH9 box (gcc (GCC) 3.2.2, perl 5.8.0, make 3.79.1). My
locale is
LANG="et_EE.UTF-8"
I do:
$ ./configure --prefix=/usr/local
...
$ make
...
make[4]: Entering directory `/home/otoomet/a/R-1.9.0/src/library/stats4'
dumping R code in package 'stats4'
Error in structure(c(unlist(lapply(list(...), unclass))), class = c("POSIXt", :
couldn't
2002 Oct 29
1
pretty not pretty
Hi,
I have a following vector:
> smallch
[1] 0.0652840 0.1181300 0.0319370 0.0155700 0.0464110 0.0107850
[7] 0.0158970 0.0375900 0.0603090 0.0310300 0.0105920 0.0540580
[13] -0.0177740 0.0039393
Pretty (R 1.5.1) has problems with zero:
> pretty(smallch)
[1] -2.000000e-02 -3.469447e-18 2.000000e-02 4.000000e-02 6.000000e-02
[6] 8.000000e-02 1.000000e-01 1.200000e-01
2002 Oct 29
1
pretty not pretty
Hi,
I have a following vector:
> smallch
[1] 0.0652840 0.1181300 0.0319370 0.0155700 0.0464110 0.0107850
[7] 0.0158970 0.0375900 0.0603090 0.0310300 0.0105920 0.0540580
[13] -0.0177740 0.0039393
Pretty (R 1.5.1) has problems with zero:
> pretty(smallch)
[1] -2.000000e-02 -3.469447e-18 2.000000e-02 4.000000e-02 6.000000e-02
[6] 8.000000e-02 1.000000e-01 1.200000e-01
2005 Aug 25
1
how to close connections?
Hi everybody,
I am using gzipped files quite extensively and cannot figure out how I
can close (or reuse) connections.
Example:
> for(i in 1:300) {cat(i, "\n"); a <- readLines(gzfile("file.gz"), n=1) }
1
2
...
46
47
Error in gzfile("~/tyyq/andmebaasiq/ETU/ETU1997.tsv.gz") :
all connections are in use
To use just gzfile without any open/close should
2002 Nov 20
1
un-install R 1.6 built from source
I have installed R 1.6 for Linux from source, but unfortunately, I didn't
check if the Xwindow headers were available, so I have installed it without
Xwindows capabilities. Thus, I want to uninstall it and install it again
properly with the required features, but I don't know how to uninstall R when
built from source. I would appreciate any help on this. Thanks very much in
advance!
2005 May 16
2
a problem sourcing a file using chdir=TRUE
Dear R-users,
I used to give commands such as:
> source(file="~/path/to/file.R", chdir=TRUE)
but with the latest v. 2.1.0 it does not seem to work anymore.
I tried to figure out what it was going on and it seems that the string
for which
> class(file)
[1] "character"
is changed to
> class(file)
[1] "file" "connection"
when the connection is
2002 Nov 04
3
write table and dinnames
I would write in tab-text file a table like this one:
TAB colname1 TAB colname2 TAB TAB... colnameN
rowname1 # # #
rowname2 # # #
rownameM # # #
then I wrote something like:
mymatrix <- matrix(nrow=M,ncol=N,byrow=T)
rownames(mymatrix) <- chvector1
colnames(mymatrix) <- chvector2
2004 Jun 14
2
ordering points as vertex of a polygon
Dear R-users,
Suppose I have the following x-y coordinates which give the boundaries of
a polygon:
> x <- c(5,4,5,9,6,6,4,7,10,7,10,4,10)
> y <- c(6,3,2,6,3,7,5,4,4,7, 5,4, 6)
I would like to plot the following graph:
> plot(x,y)
> ord <- c(7,12,2,3,5,8,9,11,13,4,10,6,1)
> polygon(x[ord],y[ord])
How I can obtain the above ordering (in the example an anti-clockwise
2005 Apr 04
3
plotting mathematical notation and values substitution
Dear R-users,
I'm trying to add a title on a plot with both mathematical notation and
values substitution. I read the documentation and search the mailing list
but I was not able to solve my problem. Actually, there is a message by
Uwe Ligges on June 2003 which addresses a question very close to mine, but
the code provided doesn't work. The code is the following:
# I add this to let you
2011 Apr 16
4
Jabber / facebook chat?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
has anyone managed to establish an XMPP connection to the facebook
Jabber servers?
I'd like to send messages on missed calls vie FB.
- -S
- --
(o_ Stefan Gofferje | SCLT, MCP, CCSA
//\ Reg'd Linux User #247167 | VCP #2263
V_/_ Heckler & Koch - the original point and click interface
-----BEGIN PGP
2023 Aug 06
1
hist(..., log="y")
hist() is designed so that the total area sums to 1. You should build you desired behavior using a barchart.
?
David
Sent from my iPhone
> On Aug 5, 2023, at 11:50 PM, Ott Toomet <otoomet at gmail.com> wrote:
>
> ?Sorry if this topic has been discussed earlier.
>
> Currently, hist(..., log="y") fails with
>
>> hist(rexp(1000, 1), log="y")
2002 Oct 28
3
changing coordinates?
I just detected R and have, after browsing the manual, one question:
I look for quite a lot of time for graphical software which allows to
plot data from a table or external file _with the axes of the coordinate
system changed_, i.e. the x-axis should run from top left to bottom
left, and the y-axis from top-left to top-right. It is of no use to
interchange the rows in the table, the
2001 May 16
1
stl in library(ts)
I am running R 1.2.2 under Linux. When using the function stl in
the ts library, how can I save the seasonal component? What I
would like was something like:
library(ts)
data(nottem)
data.stl <- stl(nottem, "per")
x <- data.stl$sea
This what I get:
> x
NULL
I would, however, like to store in x the seasonal component.
Thanks in advance. Francisco.
--
Francisco
2004 Mar 30
3
mysql or postgresql?
Hi,
there are something that is using mysql instead postresql?
If I modify the modules.conf, and write load => cdr_mysql.so get this error:
loader.c:240 ast_load_resource: /usr/lib/asterisk/modules/cdr_mysql.so:
cannot open shared object file: No such file or directory
loader.c:359 load_modules: Loading module cdr_mysql.so failed!
Ok, there is no cdr_mysql.so, anybody it's using * with
2011 Apr 16
4
Jabber / GTalk / hints
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Are hints not yet implemented in res_jabber?
I have this here:
exten => 3000,hint,gtalk/gtalk_account/mari.xxxxxxx at gmail.com
But the hint doesn't show any difference. It always shows online on the
phone and core show hints always shows that:
6003 at internal : SCCP/6003 State:Unavailable Watchers 0
6002 at internal :
2005 Jul 02
2
Colored asterisk -R?
Hi folks,
when I start asterisk directly, I get a colored CLI. When connect to a
already running asterisk with asterisk -R, it's never colored, despite
I'm running both from the same console (tty). Is there a way to force
asterisk -R into color mode?
Regards,
Stefan
--
(o_ Stefan Gofferje | Linux Systems Specialist
//\ Reg'd Linux User #247167 | Network Security
2011 Jun 09
1
SIP/IAX guest access?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, I have a general question about SIP access for nonregistered users.
I would like to make it possible for basically anybody to make a SIP
call to my asterisk without having to have a user account, but in a
specific context. So that e.g. somebody could make a SIP call to
SIP/stefan at my.asterix.pbx and it would go like this:
[incoming_guest]
2014 Jun 03
3
Get last dialed number in a context?
Hi,
I would like to implement an auto-redial function in a context. The idea
is about like this:
Dial a number
Hear busy
Hangup
Pick up again
Dial a code like *123
=> jumps into a context which redials until callresult is not busy
Maybe like this:
[autoredial]
exten => s,1,Set(number=${CHANNEL(lastdialed)})
exten => s,2,Dial(SIP/${number}@account,60,g)
exten => s,3,Wait(15)
exten
2014 Apr 11
1
SIP fraud IP blacklist
Hi,
in case, anyone is interested...
I have started compiling a blacklist of hosts and networks from which
SIP fraud attempts occur.
My criteria currently are:
To block an IP:
- Minimum 3 attacks within one week from the same IP
To block a network:
- Attacks from minimum 3 IPs from that network within 2 weeks
Common criteria:
- Provider does not react to complaints OR
- Provider sends autoreply