similar to: Changing size of lattice plot?

Displaying 20 results from an estimated 2000 matches similar to: "Changing size of lattice plot?"

2008 Apr 26
6
quasi-random sequences
Dear list useRs, I have to generate a random set of coordinates (x,y) in [-1 ; 1]^2 for say, N points. At each of these points is drawn a circle (later on, an ellipse) of random size, as in: > N <- 100 > > positions <- matrix(rnorm(2 * N, mean = 0 , sd= 0.5), nrow=N) > sizes<-rnorm(N, mean = 0 , sd= 1) > plot(positions,type="p",cex=sizes) My problem is to
2013 Apr 30
1
Trabajar con un argumento opcional como escalar o vector.
Estimada Lista, Deseo aplicar una función a cada fila de un data frame con un argumento opcional. En la función orginal, el argumento opcional debería poder ser escalar o vector. Necesito definir una función 'aplicaratodasfilas' que llama a otra función 'atomica' que no admite vectores y que requiere también argumentos opcionales. Pongo un ejemplo: # Se aplica a cada fila.
2017 May 09
2
registering Fortran routines in R packages
Dear list, I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics. Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job:
2011 Oct 22
2
Segfault and bad output with fOptions::rnorm.sobol
I have had the following problem with R 2.10, 2.13.1, and 2.13.2, running on Ubuntu linux 10.04, xubuntu 11.10, and a version of Redhat (I think 5). rnorm.sobol is producing impossible random values, and occasionally the routine crashes. Here are samples of the output and the crash message. library(fOptions) Zs <- rnorm.sobol(50, dimension=1) produces this: [,1] [1,]
2017 May 10
3
registering Fortran routines in R packages
Thanks for your email. I try to change the name in lowercase but it conflicts with a C implementation also named halton. So I rename the C function halton2() and sobol2() while the Fortran function are HALTON() and SOBOL() (I also try lower case in the Fortran code). Unfortunately, it does not help since I get init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean
2010 Jan 21
2
about loops
Hello ! I have a quick question about loops. For example, I have a 1 * 1 square and its inscribed circle tangent i, whose radius, of course, is also 1. The loop here is as the following: generate n points, say 5, in the square randomly repeatedly until we have five in total in the circle, then we stop, otherwise we continue. I do not know how ! Help me Please ~ Thank you very much for
2010 Nov 11
3
Evaluation puzzle
The survexp function can fail when called from another function. The "why" of this has me baffled, however. Here is a simple test case, using a very stripped down version of survexp: survexp.test <- function(formula, data, weights, subset, na.action, rmap, times, cohort=TRUE, conditional=FALSE, ratetable=survexp.us, scale=1, npoints, se.fit,
2003 Aug 05
1
So now I'm playing around with Queues....
and I found a reference to an AgentLogin.rtf. Looks great, except I can't get it to work. queues.conf: [sjs-testq] music = default timeout = 1 retry = 1 maxlen = 0 member => Agent/10001 agents.conf: agent => 10001,1234,Steve Sobol extensions.conf: (I have a phone line set up on which the main menu tells you to press 1 to be added to queue. Pressing 1 lands you here) exten =>
2006 Mar 31
1
Fortran and C entry point problem.
Dear All, I have seen a number of e mails on this topic but I have not seen a general solution to date. I have Fortran and C source codes and they have been compiled successfully using: R CMD build mypackage And R CMD install mypackage Without error messages. I then open R and tests out two functions and get: > pgl(0.2,1,2,3,4) Error in
2006 Mar 31
1
Fortran and C entry point problem.
Dear All, I have seen a number of e mails on this topic but I have not seen a general solution to date. I have Fortran and C source codes and they have been compiled successfully using: R CMD build mypackage And R CMD install mypackage Without error messages. I then open R and tests out two functions and get: > pgl(0.2,1,2,3,4) Error in
2011 Dec 15
3
From Distance Matrix to 2D coordinates
Dear All, I am struggling with the following problem: I am given a NxN symmetric matrix P ( P[i,i]=0, i=1...N and P[i,j]>0 for i!=j) which stands for the relative distances of N points. I would like use it to get the coordinates of the N points in a 2D plane. Of course, the solution is not unique (given one solution, I can translate or rotate all the points by the same amount and generate
2006 Nov 13
2
STUN with one public and one private IP?
I'm finishing up deploying an Asterisk (Trixbox) box at work. Wow, I thought Asterisk was cool by itself, but Trixbox has made just about everything turnkey. Great stuff! So... we're using Grandstream GXP-2000 handsets to connect to the Trixbox, which sits on our DMZ with a single public IP. I need the phones to work from random places behind NAT, as well as in the office. I'm using
2003 Sep 25
2
AGI: getting the return code from an exec()'d application?
So I hacked up the Dial app to return a numeric return code instead of changing contexts based on a number being busy or unanswered. The purpose for this modified dial app, which I call AGIDial, is to help me concoct a "follow-me" type of application. The app returns -1 for a completed call, 0 for unanswered, or 1 for busy. Well, I hooked the thing up to an AGI script that uses perl and
2003 Jul 31
1
PHP API for Manager - Plaintext auth needed?
Quick question: My PHP script is now able to connect to the manager port and successfully authenticate using MD5. I would strongly prefer not to do plaintext authentication at all. Would anyone object to plaintext authentication being left out? -- JustThe.net Internet & Multimedia Svcs. [The Fusion of Content & Connectivity] 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve
2003 Sep 08
1
SIP Status Codes
Can anyone give me a pointer to descriptions of the status codes my Grandstream phone displays? I've looked on Google but can't find a definitive listing of SIP codes. -- JustThe.net Internet & Multimedia Services 22674 Motnocab Road * Apple Valley, CA 92307-1950 Steve Sobol, Proprietor 888.480.4NET (4638) * 248.724.4NET * sjsobol@JustThe.net
2003 Oct 14
3
My Grandstream works, but my X-Lite doesn't: no sound after 5sec
X-Lite build 1079 consistently chokes no matter which codec I use - after five seconds I suddenly have no sound coming in and possibly no sound going out too. Putting the line I'm on on hold and then switching back to it gives me another five seconds of sound, then it dies, etc. The Grandstream 101 I'm using is a piece of junk but I don't have the same problem with it. Not sure
2003 Jul 30
3
Manager.pm port
For anyone that cares... I am porting James Golovich's Manager.pm over to PHP. I plan on also doing some documentation which will cover both the Perl and PHP APIs, which will be almost identical (at least, to whatever extent is practical). Will let y'all know when I have some usable code to show you. -- JustThe.net Internet & Multimedia Svcs. [The Fusion of Content &
2003 Jul 21
4
Dynamically setting up/tearing down extensions
Hello, * newbie here, I'm designing a setup that is to eventually be used in a production virtual PBX/VoIP service. Customers need to be able to change their setups over the web - I want them to be able to do simple things like setting up call forwarding, as well as more intricate stuff that will require me to re-generate their dialplans. Administration of the service is to be
2006 Nov 22
2
How to park calls on a specific extension
Currently at our office, if I want someone else to pick up a call, I have to transfer the call to them. So I'm looking into call parking, which is ALMOST perfect. The missing piece of the puzzle: I'm extension 203. I want any call I park to get parked at extension 2203. I want a call my boss parks to park at 2205, since he's ext. 205. In other words, I want calls parked FROM
2002 Jun 19
4
drawing ellipses
Hello again, First I want to thank all the people who answered my question about line width in graphs. I promise I will learn the 'par' help page by heart for the end of the month ! I now want to trace some ellipses to emphasize groups of data. I found how to trace circles with 'symbols()', but no ellipse. I'm planning on writing my own function based on