[R] Ubuntu hirsute unable to receive the key to add the repository

2021-05-22 Thread Victor
I followed the procedure indicated in https://cran.mirror.garr.it/CRAN/ step by step to� install R under ubuntu 21.04 hirsute but� the apt-key command failed: vr@ubuntu:~$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 Warning: apt-key is

Re: [R-es] raster/brick abre imagen pero reescala valores pixeles

2020-03-24 Thread VICTOR FRANCISCO RODRIGUEZ GALIANO
Hola Jaume, Gracias por tu email. No es la funci�n plot. Yo me percat� de esto porque son im�genes de temperatura y al pasar a Celsius y guardar las im�genes en tif de nuevo sal�an valores muy raros. Lo de plot era s�lo para representar lo que estaba pasando. Los n�meros normales deber�an

[R] how to read association of variable in multiple outcomes using MCMCMGLMM

2018-11-15 Thread Victor Chikwapulo
Dear all, I am  using package MCMCglmm and I would like to request for an assistant on  what to look   in the output which can tell me  whether there is significant  association among the three antibody titers(logiga,logigm,logigg)  for example association between antibody titers and exposure I

[R] [R-pkgs] New package nVennR

2018-03-23 Thread Victor Quesada
A new package, nVennR, is available on CRAN Description: Provides an interface for the nVenn algorithm (Perez-Silva et al. 2018) to create approximately proportional, n-dimensional Venn and Euler diagrams. There is no limit to the number of sets, although using more than seven takes a long

[R] Pasting a large chunk of R code in terminals

2015-10-29 Thread Victor Tian
Hi there, Often times, I would run R in the terminal when the task is computationally intensive and a nice-looking UI is less desired. However, pasting a large chunk of code into the terminal often times ends up being messed up. In Python, the same problem would happen, however, iPython provides

Re: [R] Pasting a large chunk of R code in terminals

2015-10-29 Thread Victor Tian
> Sent from my phone. Please excuse my brevity. > > On October 29, 2015 8:16:17 AM MST, Victor Tian <tianx...@gmail.com> > wrote: > >Hi there, > > > >Often times, I would run R in the terminal when the task

Re: [R] Pasting a large chunk of R code in terminals

2015-10-29 Thread Victor Tian
mporary file > that is 'sourced' in. > > > Jim Holtman > Data Munger Guru > > What is the problem that you are trying to solve? > Tell me what you want to do, not how you want to do it. > > On Thu, Oct 29, 2015 at 2:13 PM, Victor Tian <tianx...@gmail.com> wrote: > >&

Re: [R] Linear regression with a rounded response variable

2015-10-21 Thread Victor Tian
Hi Ravi, Thanks for this interesting question. My thoughts are given below. If you believe the rounding is indeed uniformly distributed, then the problem is equivalent with adding a uniform random error between (-0.5, 0.5) for every observation in addition to the standard normal error, which

[R] Compiling R 3.2.2 under FreeBSD

2015-09-07 Thread Victor
The R-CRAN project under FreeBSD 10.2 ports is quite obsolete being blocked at version 3.0.2 while at the moment the project is at version 3.2.2. Modifying the /usr/ports/math/R port I'm trying to upgrade R to that last version. When I issue the 'make' command I get the following error

[R] read.table with missing data and consecutive delimiters

2015-02-11 Thread Tim Victor
All, Assume we have data in an ASCII file that looks like Var1$Var2$Var3$Var4 1$2$3$4 2$$5 $$$6 When I execute read.table( 'test.dat', header=TRUE, sep='$' ) I, of course, receive the following error: Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 2 did

[R] help

2015-01-06 Thread victor okonga
any one ever used this book Understanding and Applying Research Design? or has an e-copy? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] (no subject)

2014-08-17 Thread Kaiyin Zhong (Victor Chung)
Hi all. I am having problems with inheritance in reference class, here is a small example: Myclass = setRefClass(Myclass, fields = list( fa = numeric, fb = numeric, filename = character,

[R] TS: Calculating the mean by month

2014-02-18 Thread Victor
I have the following (monthly) ts time-series: t Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 2002 5.3 9.4 12.1 14.4 17.9 23.5 24.3 23.6 19.3 16.3 13.9 9.0 2003 7.5 5.4 10.4 13.3 19.9 25.6 26.2 27.6 20.6 15.5 12.5 8.0 2004 6.3 7.8 9.6 13.6 16.5 22.0 24.3 24.6 21.3

[R] Impose constraint on first order derivative at a point for cubic smoothing spline

2013-11-01 Thread Victor hyk
, 0.6).        I really appreciate your help!        Thanks!                 Best             Victor               Here is the initial reply and code provided by Dr. Simon Wood:  Actually, you might as well use gam directly for this (has the  advantage that the smoothing parameter will be chosen

[R] x12 doesn't work any longer

2013-10-14 Thread Victor
Context: Mac OS X 10.7 - R 3.0.2 GUI 1.62 Snow Leopard build (6558) I had been using x12 for some time with no problem at all. every month I update the time series ricpesata (see below) and run the simple procedure below. Now adding the data of the last month, Sep.2013, x12 is complaining:

[R] block incomplete error when compiling R

2013-08-25 Thread Kaiyin Zhong (Victor Chung)
Dear list, I am trying to compile R on a 64-bit Ubuntu 13.04 machine and get the following error: make[2]: Entering directory `/home/kaiyin/opt/R-2.15.0/src/library/Recommended' begin installing recommended package MASS Error in untar2(tarfile, files, list, exdir) : incomplete block on file

[R] choose many files

2013-07-15 Thread RODRIGUEZ MORENO VICTOR MANUEL
in advance Dr Victor M Rodríguez M Doctor en Ciencias, en Ciencias de la Tierra / Geociencias Ambientales INIFAP. CEPAB. (465) 9580167 y 86 Ext 108 y 220

[R] problem on reading many files

2013-07-05 Thread RODRIGUEZ MORENO VICTOR MANUEL
,sep=),-999.9) Error: objeto 'ifnames' no encontrado What I'd like to do is to make easier and fast running the RHtest Thank's a lot in advance for your help. Dr Victor M Rodríguez M Doctor en Ciencias, en Ciencias de la Tierra / Geociencias Ambientales INIFAP. CEPAB. (465) 9580167 y 86 Ext 108

[R] hclust segfault when using rpuDist

2013-06-04 Thread Kaiyin Zhong (Victor Chung)
Hi, dear list. I found that hclust causes segfault in R 3.0.1, here is the code after starting R --vanilla: test.data - function(dim, num, seed=17) { set.seed(seed) matrix(rnorm(dim * num), nrow=num) } m - test.data(120, 45) library(rpud) # load rpud with rpudplus d -

[R] gpuHclust slower than hclust

2013-06-04 Thread Kaiyin Zhong (Victor Chung)
Dear list, According to this presentation ( http://www.rinfinance.com/agenda/2010/MarkSeligman_Tutorial.pdf), gpuHclust in the gputools package should be about 20x faster than clust, but after some testing, I find it actually 4x slower. Here is the code: test.data - function(dim, num, seed=17) {

Re: [R] parSapply can't find function

2013-04-29 Thread Kaiyin Zhong (Victor Chung)
error: could not find function predR Best regards, Kaiyin ZHONG -- FMB, Erasmus MC k.zh...@erasmusmc.nl kindlych...@gmail.com On Tue, Apr 23, 2013 at 3:44 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 23.04.2013 15:00, Kaiyin Zhong (Victor Chung

Re: [R] parSapply can't find function

2013-04-29 Thread Kaiyin Zhong (Victor Chung)
Oh, indeed, that IS the problem. Thank you!!! Best regards, Kaiyin ZHONG -- FMB, Erasmus MC k.zh...@erasmusmc.nl kindlych...@gmail.com On Mon, Apr 29, 2013 at 8:22 PM, David Winsemius dwinsem...@comcast.netwrote: On Apr 29, 2013, at 11:16 AM, Kaiyin Zhong (Victor

Re: [R] parSapply can't find function

2013-04-29 Thread Kaiyin Zhong (Victor Chung)
. Best regards, Kaiyin ZHONG -- FMB, Erasmus MC k.zh...@erasmusmc.nl kindlych...@gmail.com On Mon, Apr 29, 2013 at 8:26 PM, Duncan Murdoch murdoch.dun...@gmail.comwrote: On 29/04/2013 2:16 PM, Kaiyin Zhong (Victor Chung) wrote: Hi, Uwe. I still don't get how

Re: [R] parSapply can't find function

2013-04-23 Thread Kaiyin Zhong (Victor Chung)
:11, Kaiyin Zhong (Victor Chung) wrote: Here is the code, assuming 8 cores in the cpu. library('modeest') library('snow') cl = makeCluster(rep('localhost', 8), 'SOCK') x = vector(length=50) x = sapply(x, function(i) i=sample(c(1,0), 1)) pastK = function(n, x, k) { if (nk) { return(x

[R] snow: cluster initialization

2013-04-18 Thread Kaiyin Zhong (Victor Chung)
Dear all, I found a strange thing with the snow package. This will work: y = matrix(1:4, 2) cl = makeCluster(rep('localhost', 8), type='SOCK') parMM(cl, y, y) This will not: y = matrix(1:4, 2) ncore = system('nproc') parMM(cl, y, y) Error in cut.default(i, breaks) : invalid number of intervals

[R] parSapply can't find function

2013-04-18 Thread Kaiyin Zhong (Victor Chung)
Here is the code, assuming 8 cores in the cpu. library('modeest') library('snow') cl = makeCluster(rep('localhost', 8), 'SOCK') x = vector(length=50) x = sapply(x, function(i) i=sample(c(1,0), 1)) pastK = function(n, x, k) { if (nk) { return(x[(n-k):(n-1)]) } else {return(NA)} } predR

Re: [R] snow: cluster initialization

2013-04-18 Thread Kaiyin Zhong (Victor Chung)
Best wishes, Jon On 18-Apr-13 10:52, Kaiyin Zhong (Victor Chung) wrote: Dear all, I found a strange thing with the snow package. This will work: y = matrix(1:4, 2) cl = makeCluster(rep('localhost', 8), type='SOCK') parMM(cl, y, y) This will not: y = matrix(1:4, 2) ncore = system

Re: [R] snow: cluster initialization

2013-04-18 Thread Kaiyin Zhong (Victor Chung)
# the result is printed, not returned Best wishes, Jon On 18-Apr-13 10:52, Kaiyin Zhong (Victor Chung) wrote: Dear all, I found a strange thing with the snow package. This will work: y = matrix(1:4, 2) cl = makeCluster(rep('localhost', 8), type='SOCK') parMM(cl, y, y) This will not: y

[R] Use pcls in mgcv package to achieve constrained cubic spline

2013-03-11 Thread Victor hyk
unconstrained fit) fv-Predict.matrix(sm,data.frame(x=x))%*%p lines(x,fv,col=2) lines(x,f,col=blue)    Thanks a lot!!     Victor [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Constrained cubic smoothing spline

2013-03-05 Thread Victor hyk
, decreasing). However,  this package is using  B-spline and can only do linear and quadratic B-spline.    In my research, I need to force a cubic smoothing spline to pass a point.    Thanks!   Victor [[alternative HTML version deleted

[R] About basic logical operators

2013-03-05 Thread Victor hyk
[61]  0.20 Why does x[x=0.02] return  no 0.02 but x[x0.2] return a subsample with 0.02? Anyone who can tell me why? Thanks! Victor [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] TRAMO/SEATS and x12 in R

2012-02-23 Thread Victor
I have a Mac OS X system. To deal with a long monthly electricity demand time-series I use the procedures TRAMO/SEATS with the MS-windows only Demetra programme and X12 under R resorting to the awkward - as far as the output is concerned - x12 R package running the relating Fortran code. I

[R] Transforming a string into a command

2011-11-27 Thread Victor
I would like to make a string executable, e.g, s- ln(a+b) a-1 b-2 execute string s to obtain ln(a+b) How can I make it? Ciao fron Rome Vittorio __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Extracting a a chunk of text from a pdf file

2011-09-18 Thread Victor
--- Sent from my phone. Please excuse my brevity. Victor vdem...@gmail.com wrote: In an R script I need to extract some figures from many web pages in pdf format. As an example see http://www.terna.it/LinkClick.aspx?fileticket=TTQuOPUf%2fs0

Re: [R] Extracting a a chunk of text from a pdf file

2011-09-18 Thread Victor
, alle ore 18:25, Joshua Wiley ha scritto: On Sun, Sep 18, 2011 at 7:44 AM, Victor vdem...@gmail.com wrote: Unfortunately pdf2text doesn't seem to exist either in linux or mac osx. I think Jeff's main point was to search for software specific for your task (convert a pdf to text). Formatting

[R] Extracting a a chunk of text from a pdf file

2011-09-17 Thread Victor
In an R script I need to extract some figures from many web pages in pdf format. As an example see http://www.terna.it/LinkClick.aspx?fileticket=TTQuOPUf%2fs0%3damp;tabid=435amp;mid=3072 from which I would like to extract the Totale: 1,025,823). Is there any solution? Ciao Vittorio

[R] pegas package: Problem using nuc.div and tajima d - error with dist.dna() - character variables must be duplicated in .C/.Fortran

2011-07-22 Thread Victor Garcia
. Here, I have oriented myself on the description provided by the help-page in read.loci(). A piece from the dataset is displayed further below. Here my code: /Code/ library(ape) library(adegenet) library(pegas) / load with no problem. / /the command: / data.loci - read.loci(file =/Users/victor

Re: [R] ggplot pale colors

2011-05-29 Thread Victor Gabillon
Hi Ista, Thank you so much for your explanation!! I know now how to handle this scale_color_manual() function. Le 28/05/2011 19:56, Ista Zahn a écrit : Hi Victor, The problem is that you have not grasped the difference between setting an aesthetic to a fixed value and mapping it to a variable

Re: [R] barplot groups of different size i.e. height is NOT a matrix

2011-05-28 Thread Victor Gabillon
Thanks for the help! In the end, i chose to use ggplot which creates really simply different panels. And I am replacing my bars by simple points in the end. Victor __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] ggplot pale colors

2011-05-28 Thread Victor Gabillon
guessing i am duing it wrong but i'm stucked with it. Do you have suggestions? An additional question is that i want to add text along the blue line (which is a reference) but i did not understand what geom_text was expecting. Thanks for your help! Victor [[alternative HTML

[R] continuous time AR(1)

2011-05-27 Thread frossard victor
temporal intervals between samples. Hence I would like to use a continuous time AR(1) that allow irregular time intervals between samples. Unfortunalty I don't find this function in any R package. Doesn't someone know if this function has already be implemented for R? Many thanks in advance. Victor

[R] barplot groups of different size i.e. height is NOT a matrix

2011-05-25 Thread Victor Gabillon
that we don't want to display the same number of parameters for each algorithm. Thanks for your help. Victor __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] RPART error

2011-05-20 Thread victor pontes
, control=control) summary(x) Similar code run on noproblem.csv will not produce the error. Any suggestions on how to proceed to debug this issue would be greatly appreciated.  I am a novice R user, but not a novice programmer (SAS, some C, Java).  Thanks for your time. Victor Pontes Inatec, Inc

Re: [R] Change the text size of the title in a legend of a R plot.

2011-04-29 Thread Victor Gabillon
it goes out of the border as the borders were not designed for the case of a big title. Thanks again!! Victor Le 29/04/2011 10:03, Jannis a écrit : On 04/29/2011 05:21 AM, Victor Gabillon wrote: Horizo - c(1,2,6,10,20) legtext - paste(Horizo,sep=) legend(topleft, legend=legtext,col=col,text.col

[R] Change the text size of the title in a legend of a R plot.

2011-04-28 Thread Victor Gabillon
. Victor __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Associating the day of week to a daily xts object

2011-03-07 Thread Victor
I have the following xts objetct temp str(temp) An ‘xts’ object from 2010-12-26 to 2011-03-05 containing: Data: num [1:70, 1] 2.95 0.852 -0.139 1.347 2.485 ... - attr(*, dimnames)=List of 2 ..$ : NULL ..$ : chr t_n Indexed by objects of class: [POSIXct,POSIXt] TZ: GMT xts

Re: [R] Four parameter logistics.

2011-02-08 Thread Victor F Seabra
try the code below, if you use different upper and lower limits you might get different parameter estimates HTH, Victor standard.curve-data.frame(conc=c(50, 25, 12.5, 6.25, 3.125, 1.563, 0.781,50, 25, 12.5, 6.25, 3.125, 1.563, 0.781),absorb=c(1.918, 1.251, 1.104, 0.719, 0.403, 0.177

Re: [R] manipulate dataframe

2011-02-06 Thread Victor F Seabra
another option is to use reshape() x-data.frame(x1=rep(1:3,each=3),x2=letters[1:9]) x$id-rep(1:3,3) dur-reshape(x,timevar=x1,idvar=id,direction=wide) dur-dur[,-1] colnames(dur) - paste(d, unique(x$x1), sep=) dur cheers, Victor

Re: [R] grid.table with head of two rows

2011-01-19 Thread Victor Urizar
Here is a more clear example: # Create the ftable object oftable-ftable(Titanic, row.vars = 4,col.vars=c(2,3)) require(gridExtra) #Draw the grid, but the rows and heads are missing grid.draw(tableGrob(oftable, show.csep=TRUE, show.rsep=TRUE, show.box=TRUE,

[R] grid.table with head of two rows

2011-01-16 Thread victor
object that prints all the head columns. Thanks in advance Victor -- View this message in context: http://r.789695.n4.nabble.com/grid-table-with-head-of-two-rows-tp3219992p3219992.html Sent from the R help mailing list archive at Nabble.com. __ R-help

Re: [R] using plot with time series object - axes = FALSE option does not appear to work

2011-01-03 Thread Victor F Seabra
I guess you should specify x and y variables: plot(x=PCECTPI$var1, y=PCECTPI$var2, axes = FALSE) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Please, need help with a plot

2011-01-03 Thread Victor F Seabra
although the code somehow didn't work on my Vista / R 2.8, it did work perfectly on a XP machine / R 2.10 I've been trying to fix this for days, Thank you very much for your help! __ 02/01/2011 19:30, David Winsemius

[R] Please, need help with a plot

2011-01-02 Thread Victor F Seabra
(not manually fed in a text command) I received help yesterday and learned a fix using \u2264, eval, parse, and sprintf but the symbols generated by this fix are not exported to an .EPS file Kind regards, Victor Faria Seabra, MD __ R-help@r

[R] Plot symbols: How to plot (and save) a graphic symbols originating from a table

2011-01-01 Thread Victor F Seabra
under the or the sign. # This worked to fix both problems, but is hard to do and # impossible to automate (or at least very difficult) #Please, does anyone know a better approach? #thanks in advance Victor Faria Seabra, MD vsea...@uol.com.br __ R-help@r

Re: [R] Plot symbols: How to plot (and save) a graphic symbols originating from a table

2011-01-01 Thread Victor F Seabra
, I'm running R on windows and didn't try any of this on Linux. thanks in advance, Victor   Victor Faria Seabra Email: vsea...@uol.com.br _ Em 01/01/2011 17:15, Victor F Seabra vsea...@uol.com.br escreveu

[R] Plot symbols: How to plot (and save) a graphic with symbols originating from a table

2011-01-01 Thread Victor F Seabra
of = and = signs # and then plot an hifen under the or the sign. # This approach fixes both problems, but is hard to do and # very difficult to automate # #Please, does anyone know a better way? #thanks in advance # #Victor Faria Seabra, MD #vseabra@ uol.com.br

Re: [R] Plot symbols: How to plot (and save) a graphic with symbols originating from a table

2011-01-01 Thread Victor F Seabra
(gina lt;= lady) ) gt; #thanks in advance gt; gt; Victor Faria Seabra, MD gt; vsea...@uol.com.br -- David Winsemius, MD West Hartford, CT Victor Faria Seabra Email: vsea...@uol.com.br Em 01/01/2011 18:00, Victor F Seabra lt; vsea...@uol.com.br gt

Re: [R] Plot symbols: How to plot (and save) a graphic with symbols originating from a table

2011-01-01 Thread Victor F Seabra
Please, you need to read.table to R as my problems start there If you want you can download the txt file at the link below https://docs.google.com/leaf?id=0BweZgDxYn9BkNmY1NThmMDEtOWUxZS00MzE0LTk0NTQ tYzdlODMxODgxYzJhhl=en thanks, Victor

[R] problem with read.table

2011-01-01 Thread Victor F Seabra
that? thanks, Victor __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] problem with postscript command

2011-01-01 Thread Victor F Seabra
) dev.off() I'm using windows vista, my system is in English, R v2.8.1 thanks, Victor __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] problem with read.table

2011-01-01 Thread Victor F Seabra
_ Em 01/01/2011 20:05, Victor F Seabra vsea...@uol.com.br escreveu: Dear all, Please, when I use the command: table1-read.table(table1.txt, header=TRUE, sep=\t) cells that contain \ u 2264 (corresponding to = sign) get imported as \ \ u2264. which

[R] vectors into a matrix

2010-01-04 Thread Victor Kyros
Dear all, I'm writing code to do automatically several calculations and gather the results in a matrix. I have the following vectors and I just want to make a matrix with them: VD1 VD2 VD3 ... VD12 *In this case, this series of vectors stops there, in 12, but it could be a higher number or

Re: [R] r-inferno.pdf with detailed table of contents and bookmarks

2009-09-17 Thread Victor Manuel Garcia Guerrero
Hey, check this link: http://www.burns-stat.com/pages/Tutor/R_inferno.pdf Greetings Víctor De: r-help-boun...@r-project.org en nombre de Peng Yu Enviado el: jue 17/09/2009 10:43 Para: r-h...@stat.math.ethz.ch Asunto: [R] r-inferno.pdf with detailed table of

[R] Moving to Mac OS X

2009-09-11 Thread Victor Manuel Garcia Guerrero
Hi all, I have been using R on Windows for a long time, but now I am ready to move to Mac OS X, but I was just wondering if R works better on Mac than on Windows. This is because I had some memory size issues in the past. Another question is if some of you know an R editor for Mac (just

Re: [R] Moving to Mac OS X

2009-09-11 Thread Victor Manuel Garcia Guerrero
free to do so ... unless you explicitly write code to use 1 cpu, you'll still have another cpu free to do with what you will (assuming you have enough ram). -steve On 9/11/09 10:32 AM, Marc Schwartz wrote: On Sep 11, 2009, at 12:15 PM, Victor Manuel Garcia Guerrero wrote: Hi all, I have been

[R] how to avoid a for looping break after an error message

2009-07-25 Thread Victor Landeiro
the for looping and all previous results are lost. Can anyone help me to avoid that my looping stops after the error message? Thanks in advance, Victor Landeiro PS: A reproducible example is above, but there is a chance that the error message do not appears, and i reaches 1000: for(i in 1:1000){ x-sample

Re: [R] (-8)^(1/3) == NaN?

2009-07-19 Thread Victor Manuel Garcia Guerrero
It' true, but if you type -8^(1/3) returns -2, and if you type -8^1/3 it returns -2.6, maybe there are some rules about parenthesis... regards Víctor De: r-help-boun...@r-project.org en nombre de Dave DeBarr Enviado el: sáb 18/07/2009 05:04 Para:

Re: [R] Population pyramids

2009-07-09 Thread Victor Manuel Garcia Guerrero
Thanks Jim, I'll try it and I'll keep you informed. All the best, Victor De: Jim Lemon [mailto:j...@bitwrit.com.au] Enviado el: jue 09/07/2009 05:54 Para: Victor Manuel Garcia Guerrero CC: r-help@r-project.org Asunto: Re: [R] Population pyramids Victor

Re: [R] Population pyramids

2009-07-09 Thread Victor Manuel Garcia Guerrero
Wonderful!!! It works!!! Thank you very much Daniel. I owe you one. Cheers Victor De: Daniel Malter [mailto:dan...@umd.edu] Enviado el: jue 09/07/2009 10:44 Para: Victor Manuel Garcia Guerrero; r-help@r-project.org Asunto: AW: [R] Population pyramids

[R] Population pyramids

2009-07-08 Thread Victor Manuel Garcia Guerrero
the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I have been trying all day long and I could not succed. Thanks... Victor __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Population pyramids

2009-07-08 Thread Victor Manuel Garcia Guerrero
...@gmail.com] Enviado el: mié 08/07/2009 11:32 Para: Victor Manuel Garcia Guerrero CC: r-help@r-project.org Asunto: Re: [R] Population pyramids Hi Victor, See http://bm2.genes.nig.ac.jp/RGM2/R_current/library/plotrix/man/pyramid.plot.html http://bm2.genes.nig.ac.jp/RGM2/R_current/library/plotrix/man

Re: [R] Population pyramids

2009-07-08 Thread Victor Manuel Garcia Guerrero
Yes, but my issue is because I need to plot a pop pyramid with confidence intervals, and the pyramid function does not work in that way. Thanks Daniel. -Mensaje original- De: Daniel Malter [mailto:dan...@umd.edu] Enviado el: mié 08/07/2009 11:36 Para: Victor Manuel Garcia Guerrero; r

Re: [R] Population pyramids

2009-07-08 Thread Victor Manuel Garcia Guerrero
, Pedregal de Sta. Teresa C.P.10740, Tlalpan, México, D.F. * : vmgar...@colmex.mx ( : 5617-9016 -Mensaje original- De: Daniel Malter [mailto:dan...@umd.edu] Enviado el: jue 09/07/2009 12:15 Para: Victor Manuel Garcia Guerrero; r-help@r-project.org Asunto: AW: [R] Population pyramids Can

[R] Getting parameters of Gaussian fit in density

2008-11-12 Thread Victor Bloomfield
Is there a way to obtain the parameters (mean, sd, amplitude) of the gaussian functions obtained in a density fit to data. The faithful $waiting times is a standard example. The 2-gaussian fit is very nice, but how can I obtain the parameters? Thanks for your help. Regards, Victor

Re: [R] R's integrate function

2008-09-30 Thread Victor Hernando Cervantes Botero
I got the same error. sessionInfo() R version 2.6.0 (2007-10-03) i386-pc-mingw32 locale: LC_COLLATE=Spanish_Colombia.1252;LC_CTYPE=Spanish_Colombia.1252;LC_MONETARY=Spanish_Colombia.1252;LC_NUMERIC=C;LC_TIME=Spanish_Colombia.1252 attached base packages: [1] stats graphics grDevices utils

Re: [R] Blank certain areas of a contour plot

2008-09-17 Thread Victor Homar
, then filled.contour will not plot in those areas. Hope this helps, -Original Message- From: [EMAIL PROTECTED] [[2]mailto:[EMAIL PROTECTED] project.org] On Behalf Of Victor Homar Sent: Tuesday, September 16, 2008 9:54 AM To: [EMAIL PROTECTED] Subject: [R] Blank certain areas of a contour plot Hi, I'm

Re: [R] Is there a way to not use an explicit loop?

2008-09-17 Thread Victor Hernando Cervantes Botero
Hi, you might try this: set.seed(100) m - 10 size.a- 10 prob.a- 0.3 prior.constant = 0 draw1 = rbinom( m , size.a, prob.a ) beta.draws - function(draw, size.a, prior.constant, n) { rbeta(n, prior.constant + draw, prior.constant + size.a - draw) } bdraws -

[R] Blank certain areas of a contour plot

2008-09-16 Thread Victor Homar
Hi, I'm interpolating a list of syncronous accumulated precipitation observations collected over a number of raingauge stations sited over land, over a regular lat/lon grid using akima's interp(). Then, I plot and locate geographycally the resulting field with a filled.contour() and a call

Re: [R] psychometric functions

2008-08-25 Thread Victor Hernando Cervantes Botero
Hi, 2008/8/21 Mario Maiworm [EMAIL PROTECTED] Hi, I want to fit some psychophysical data with cumulative gaussians. There is quite a convenient toolbox for matlab called 'psignifit' (formerly known as 'psychofit'). It allows the lower bound of the sigmoid to vary slightly from zero, aswell

[R] Rotated Lat-Lon projection in mapproj

2008-07-09 Thread Victor Homar
Hi, I'm trying to plot a field obtained from the atmospheric model WRF-NMM which uses a Rotated Lat-Lon¨ map projection. The WRF documentation mentions that: · Rotates the earth's lat/lon grid such that the intersection of the equator and prime meridian is at the center of the model domain.

[R] Is this sapply behaviour normal?

2008-06-25 Thread Victor Homar
Hi, I'm trying to use sapply to compute the min of several variables, each of them stored in data.frames, grouped as a list: Is it normal that mean() and min() produce different objects dimensions? str(dats) List of 5 $ log20:'data.frame': 83 obs. of 5 variables: ..$

Re: [R] Histogram inset into another histogram

2008-06-19 Thread Victor Homar
Hi Paul, Thanks for the answer. I temporarily did it with the subplot function from the TeachingDemos package but I like this version much better. Best, Victor. Paul Hiemstra wrote: Victor Homar wrote: Dear R users and helpers, I'm trying to find an example of a histogram plot as an inset

[R] Histogram inset into another histogram

2008-06-18 Thread Victor Homar
Dear R users and helpers, I'm trying to find an example of a histogram plot as an inset (upper right or left corner) of another histogram. Anyone has an example of that? Thanks for your help, Víctor. -- --- Víctor Homar

[R] problem using embedded R

2008-05-23 Thread Lobanov, Victor S. [PRDUS]
)), the environment path gets reset to the system's default value, which renders R unusable. I wonder if anyone had experienced a similar problem and knows how to fix it? Victor [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

Re: [R] problem using embedded R

2008-05-23 Thread Lobanov, Victor S. [PRDUS]
Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Friday, May 23, 2008 12:46 PM To: Lobanov, Victor S. [PRDUS] Cc: r-help@r-project.org Subject: Re: [R] problem using embedded R All the usual questions: What OS? What version of R? What is meant by 'environment path

[R] Program output to file using a batch command file

2007-12-31 Thread Jean-Victor Côté
If I copy the following commands in my batch file to the R console, R creates a file named basicStatsIBM.lis with the program output in it: Sortie - file(description = basicStatsIBM.lis, open = wt, blocking = TRUE, encoding = UTF-8) sink(file = Sortie, append = FALSE, type = output, split