[R] Inverse Student t-value

2014-09-30 Thread Andre
calculation for this? Appreciate your helps in advance. Cheers! Andre [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Inverse Student t-value

2014-09-30 Thread Andre
give more detail. Cheers! On Wed, Oct 1, 2014 at 1:01 AM, Duncan Murdoch wrote: > On 30/09/2014 1:31 PM, Andre wrote: > >> Dear Sir/Madam, >> >> I am trying to use calculation for two-tailed inverse of the student`s >> t-distribution function presented by Excel

Re: [R] Inverse Student t-value

2014-09-30 Thread Andre
2014, Duncan Murdoch wrote: > On 30/09/2014 2:26 PM, Andre wrote: > >> Hi Duncan, >> >> Actually, I am trying trace the formula for the "Critical value of Z" and >> manual formula is =(I7-1)/SQRT(I7)*SQRT((TINV(0. >> 05/I7,I7-2))^2/(I7-2+TINV(0

Re: [R] Inverse Student t-value

2014-09-30 Thread Andre
eers! On Wed, Oct 1, 2014 at 1:20 AM, Duncan Murdoch wrote: > On 30/09/2014 2:11 PM, Andre wrote: > >> Hi Duncan, >> >> No, that's correct. Actually, I have data set below; >> > > Then it seems Excel is worse than I would have expected. I confirmed R'

Re: [R] Inverse Student t-value

2014-09-30 Thread Andre
incomplete beta function. The incomplete beta function is given by R's > *pbeta* function. You regularize it with R's *beta* function. Then you > use R's *uniroot* function to find the inverse. Good homework problem. > > > *Andre >* > Sent by: r-help-boun.

Re: [R] Inverse Student t-value

2014-10-02 Thread Andre
Dear All, The manual formula mean that how to calculate that value by hand for TINV(0.408831, 1221) and the resulted is 4.0891672 Appreciate your help in advance. Cheers! On Wed, Oct 1, 2014 at 9:15 PM, wrote: > What do you mean by a "manual" formula? > > > *Andr

[R] Master Thesis - R

2010-04-13 Thread Andre
Hello, I would like to do a dissertation related to the R-Project. This will be the final work that I have to do to finish my master degree in Information Management. Essentially I would like to present a work with the principal functionalities of R and perhaps I could also do a development of a

[R] How to connect R with SAP

2010-07-31 Thread Andre
Hello, Anyone knows if there is a way to connect R with the ERP SAP? Thanks. -- View this message in context: http://r.789695.n4.nabble.com/How-to-connect-R-with-SAP-tp2309018p2309018.html Sent from the R help mailing list archive at Nabble.com. __

[R] list subselect by name ?

2017-09-09 Thread Andre Mikulec
uot; "V" "W" "X" "Y" "Z" > str( list(letters=letters, LETTERS=LETTERS)[c("letters","LETTERS")] ) List of 2 $ letters: chr [1:26] "a" "b" "c" "d" ... $ LETTERS: chr [1:26] "A&

[R] Plotting Confidence Intervals

2015-05-02 Thread Andre Roldao
Hi Guys, It's the first time i use R-Help and i hope you can help me. How can i plot conffidence intervals? with the data bellow: #Package Austria library(car) #head(States) States1=data.frame(States) ines=lm(SATM ~ log2(pop) + SATV , data=States1) summary(ines) NJ=as.data.frame(States["NJ",c(

Re: [R] Plotting Confidence Intervals

2015-05-02 Thread Andre Roldao
Hi Kehl, First i would like to thank you for the support. to respond your question i want rather the 4 intervals with the labels, but another one with the 4 bars with the intervals, it was fantastic! Thank you again! 2015-05-02 9:24 GMT+01:00 Kehl Dániel : > Hi Andre, > > I think yo

[R] setBreakpoint No source refs found

2014-12-17 Thread Andre Mikulec
hdquantile step 2 in hdquantile step 2 in  Tracing function "hdquantile" in package "namespace:Hmisc" Tracing function "hdquantile" in package "Hmisc" Also, I can set "RStudio breakpoints" in R Studio on many lines in Misc.s What is this e

[R] library(nlme) groupedData question‏

2015-10-12 Thread Andre Mikulec
ted levels in factors are deprecated What am I doing wrong?  How do I adjust? Thanks, Andre Mikulec  andre_miku...@hotmail.com DETAILS (  the following R code can be copied and pasted to the R console and ran ) --- library(nlme) d.x <- read.table(header=TRUE, text=" o g h i     d A C

[R] DeSolve package

2015-10-15 Thread Andre Jackson
, ...) : object 'p' not found Can someone explain this error and its remedy? Andre Jackson jacksonan1...@gmail.com "You must be the change you wish the world to be" [[alternative HTML version deleted]] __ R-help@r-proj

Re: [R] library(nlme) groupedData question‏

2015-10-19 Thread Andre Mikulec
; "G" "H" "G" "H" "G" "H" "G" "H" "G" "H" "G" "H" "G" "H" $ d: num 1 2 4 8 16 32 64 128 256 1024 2048 4096 8192 16384 32768 65536 - attr(*, "formula")=C

Re: [R] Graphics not working for R in ubuntu

2008-07-19 Thread Mose Andre
You can't run the Windows GUI in Ubuntu (unless you run it in a Windows virtual machine). Try installing rkward and using rkward for an alternative (you will probably be pleasantly surprised): sudo apt-get install rkward rkward http://rkward.sourceforge.net/ -Mose On Fri, Jul 18, 2008 at 11:09

[R] Connecting R to PostgreSQL on Windows.

2008-07-30 Thread Andre Cesta
easy to do it. The help files within GNU R are excellent quality. Best regards, André Andre Cesta, Eng, MSc, SCJP, SCJA http://geocities.com/aa

[R] Successfully connected GNU R to PostgreSQL on windows XP.

2008-07-30 Thread Andre Cesta
l the steps and documented them here: http://code.google.com/p/jwanalytics/wiki/GnuRe Thanks for making it easy to do it. The help files within GNU R are excellent quality. Best regards, André Andre Cesta, Eng, MSc, SCJP, SCJA http://geocities.com/aa

[R] Working with tables with missing levels

2009-07-27 Thread Andre Nathan
, so that, for example, t1 becomes 0 1 2 3 4 0.4 0.0 0.2 0.0 0.4 Is there a way to do that? Thanks, Andre __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Working with tables with missing levels

2009-07-27 Thread Andre Nathan
level after the distributions are created. Thanks, Andre __ 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] R Windows64+RCommander

2010-04-30 Thread Andre Lebert
erely yours Andre LEBERT __ 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] need a solution to an R-problem: consultant available?

2009-12-13 Thread Andre Zimmermann
, and this would be very useful. I would ideally like to have confidence bands for the mean function and a single prediction. I have posted my current Rscript below, with the location of the error noted, in addition, below the Rscript, is some example data. Let me know what you think. Cheers,

[R] Multiple plot margins

2009-05-12 Thread Andre Nathan
| l +-+ +-+ +-+ label label label where the margins between each plot should be narrow. Should I just plot the graphs without axis titles and then use text() to manually position them? Thanks in advance, Andre __ R-help@r-proj

Re: [R] Multiple plot margins

2009-05-13 Thread Andre Nathan
ylab="") > plot(1, xaxt="n", yaxt="n", xlab="", ylab="") > plot(1, xlab="I", ylab="B") > plot(1, xlab="II", ylab="", yaxt="n") > plot(1, xlab="III", ylab="", yaxt="n&

[R] Axis label spanning multiple plots

2009-05-27 Thread Andre Nathan
should I use text() and position the title manually? Thanks in advance, Andre __ 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

Re: [R] Axis label spanning multiple plots

2009-06-01 Thread Andre Nathan
text positioning, that is)? Thanks, Andre __ 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.

Re: [R] Axis label spanning multiple plots

2009-06-01 Thread Andre Nathan
r two plots, something like ++ t || || i || ++ t ++ l || || e || +----+ Thanks, Andre __ R-help@r-project.org mailin

Re: [R] Axis label spanning multiple plots

2009-06-01 Thread Andre Nathan
plot()? That would make it easier to position the text. Thanks again, Andre On Mon, 2009-06-01 at 23:02 +0200, baptiste auguie wrote: > sorry i misread the question -- i thought you wanted the two plots > were in one row. Here are a few options, > > > 1- use ggplot2 or lattice,

Re: [R] Axis label spanning multiple plots

2009-06-01 Thread Andre Nathan
On Mon, 2009-06-01 at 20:46 -0300, Andre Nathan wrote: > the x and y coordinates seem to always be relative the the axes of the > first call to plot(). Oops, no they aren't :) It was a mistake in the coordinates. They work exactly the way I wanted.

[R] Postcript font size

2009-06-11 Thread Andre Nathan
sults were the same. Is there a way to specify a font size that is consistent among calls to plot()? Thanks, Andre __ 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.o

Re: [R] Postcript font size

2009-06-11 Thread Andre Nathan
On Thu, 2009-06-11 at 19:09 -0300, Andre Nathan wrote: > Is there a way to specify a font size that is consistent among calls to > plot()? To put it correctly: is there a way to specify a font size that is consistent among calls to postcript()? All the fonts in the same file have the sam

Re: [R] Postcript font size

2009-06-11 Thread Andre Nathan
in one of them, and par(ps = 18) in the other. Strangely, the generated files had the following PS code: /ps 12 def /Font1 findfont 12 s I don't know PostScript, but I assume this means pointsize = 12. Best, Andre __ R-help@r-project.org mail

[R] How to fit a linear model to data by minimizing the mean absolute percent error?

2013-01-14 Thread Andre Cesta
Hi All, I wonder if you can help me with an aparently simple task.  I have been searching examples for this without any luck: #Assume x<-1:10  #x ranges from 1 to 10. y<-x*runif(10)+ 1.5*x  #y is a linear function of x with some error. Add uniform error that is scaled to be larger as x values

[R] How to fit a linear model to data by minimizing the mean absolute percent error?

2013-01-14 Thread Andre Cesta
Hi All, I wonder if you can help me with an aparently simple task.  I have been searching examples for this without any luck: #Assume x<-1:10  #x ranges from 1 to 10. y<-x*runif(10)+ 1.5*x  #y is a linear function of x with some error. Add uniform error that is scaled to be larger as x values a

Re: [R] How to fit a linear model to data by minimizing the mean absolute percent error?

2013-01-14 Thread Andre Cesta
From: Bert Gunter To: Andre Cesta Cc: "r-help@r-project.org" Sent: Monday, 14 January 2013, 13:34 Subject: Re: [R] How to fit a linear model to data by minimizing the mean absolute percent error? Take the logs of both side and minimize the absolute error on the log scale, then

[R] foreach takes foreever?

2013-01-21 Thread Andre Zege
I started to look at ways to improve times of certain very parallel tasks and thought that foreach should be a valid candidate to do the job. So, i opened foreach tutorial by Steve Weston and started timing examples from it. First example from tutorial is  >system.time(for(i in 1:10) sqrt(i

[R] failure to connect to Bloomber using Rbbg from batch script on Windows

2013-02-05 Thread Andre Zege
n 0.4-155 64 bit Win 7 Ultimate Would greatly appreciate any hints Andre [[alternative HTML version deleted]] __ 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.or

Re: [R] failure to connect to Bloomber using Rbbg from batch script on Windows

2013-02-05 Thread Andre Zege
quot; Sent: Tuesday, February 5, 2013 7:22 AM Subject: Re: [R] failure to connect to Bloomber using Rbbg from batch script on Windows Andre, Does the batch script always fail, or is it sometimes successful? You've probably tried running in batch and interactively one after the other, bu

[R] tidy.source() gets confused when # is not a comment but a part of a literal string?

2013-02-16 Thread Andre Zege
I needed to clean someone else code and run it through tidy.source. It encountered a number of hangups which after some experimentation lead me to suspect that the culprit is # symbol when it is a part of literal string. For example if i copy the following to the clipboard confuse.tidy <-    fu

[R] htmlParse (from XML library) working sporadically in the same code

2013-03-20 Thread Andre Zege
am using 64-bit  R.15.3 version on windows machine Thanks much Andre [[alternative HTML version deleted]] __ 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

[R] to divide column cells by the mean of another column

2014-04-20 Thread Andre Zacharia
Dear all, I am getting data columnwise that I need to divide by the mean of another column If the column is the previous one this code works perfectly well: fun1 <- function(beginColumn, by, data) { indx <- seq(beginColumn, ncol(data), by = by) as.data.frame(t(100 - (t(data[, indx])/colMeans(dat

[R] R help

2014-07-01 Thread Andre Weeks
ot seem to find the right option. If you could help me out, that would be fantastic. Thanks in advance and have a wonderful day! -- Sincerely, Andre Rei Weeks M.P.H Biostatistics (2014) B.S. Biology +1-(850)-443-6592 ᐧ [[alternative HTML versi

[R] lubridate concatenation issue

2012-11-15 Thread Andre Zege
date in my local timezone and avoid this, but if i don't do it, is there an option in environment or functions to avoid this from happening -- otherwise i need to watch out for nasty bugs.  Thanks Andre [[alternative HTML version deleted]] __

[R] Missval in netCDF and its handling by the ncdf package

2014-02-06 Thread Dusterhus, Andre
Hi all, I got currently some trouble with missvals in netCDF files: I have a netCDF file, written with an unknown program, which shows via ncdump no fillval or missval for its variables. Within the variables obviously a missval of 9.96921e+36 is used. When I read it into R via the ncdf package

Re: [R] Missval in netCDF and its handling by the ncdf package

2014-02-07 Thread Dusterhus, Andre
Feb 2014, at 17:45, David W. Pierce wrote: > > Various questions about missing values in the R ncdf package, and how they > > are > > handled if the file lacks the standard "_FillValue" attribute. > > Hi Andre, > > It sounds like the fundamental pro

[R] survfit question

2010-09-09 Thread andre bedon
(Surv(claimj,censorj==0)~1) surv.all<-survfit(Surv(claimj,censorj==0)~1) summary(surv.all) plot(surv.all) I would really appreciate any assistance. Thank you. Regards, Andre [[alternative HTML version dele

[R] for loop

2010-09-21 Thread andre bedon
is code, tmp1 and tmp2 return only one value, where I need around 520 values. Any ideas would be appreciated. Regards, Andre [[alternative HTML version deleted]] __ R-help@r-project.org mailing lis

[R] acf function

2010-09-26 Thread andre bedon
11 [13,] 12 [14,] 13 [15,] 14 [16,] 15 [17,] 16 $series [1] "x" $snames NULL I need just the $acf values. How do I access them? I would really appreciate any advice. Thankyou. Regards, Andre [[alt

[R] Adding a time variable prior to using reshape

2010-10-06 Thread Andre Easom
ere a (quick) way to use reshape without adding a time variable? 2) If the time variable is necessary, is there a quicker way to generate it? (I know there is, because I did it in Excel...) Thanks in advance for any advice. Andre > foo Label Value 1 Alpha 0.57911322 2 Alpha 0.02

[R] how to debug (mtrace) a function defined inside a function?

2010-10-29 Thread Andre Zege
Hi, everyone. I am using a fair amount of closures in my code. Problem i am experiencing is i cannot figure out how to mtrace functions defined within a function. There must be some way to name such function for mtrace to see it and let me step into it. For example, say i have code mymodel<-func

[R] RJDBC doesn't load Oracle driver?

2010-11-24 Thread Andre Zege
After installing RJDBC on RedHat Linux and using it successfully with mySQL JDBC driver i am trying to use it with Oracle database. I use the JDBC driver that works fine elsewhere (use it in DBVizualizer). However, when i try to load the driver, drv<-JDBC("oracle.jdbc.driver.OracleDriver", "/hom

[R] RJDBC doesn't load Oracle driver?

2010-11-24 Thread Andre Zege
I am having trouble loading Oracle JDBC driver into RJDBC. Basically, i installed RJDBC and used it to connect to MySql. However, when i try to load JDBC Oracle driver, it gives me an error message > drv<-JDBC("oracle.jdbc.driver.OracleDriver", "/pathToDriver/ojdbc6.jar") Error in .jfindClass(as

Re: [R] RJDBC doesn't load Oracle driver?

2010-11-26 Thread Andre Zege
I asked my local java export and his reply was that the driver was compiled with the later version of java that i need to install. I did install it in parallel to existing java and changed JAVA_HOME variable to point to new java directory. I also pre-pended PATH with path to java. Still, when i tr

Re: [R] RJDBC doesn't load Oracle driver?

2010-11-26 Thread Andre Zege
Hmm, for the sake of anyone who steps on the same mine. Basically, this class error always say that you need to install latest java. It's not enough to get new jre -- you need to get full latest jdk as well. After that you need to do R reconfiguration, which is done by R CMD javareconf Then you ne

[R] contourplot help

2010-12-20 Thread Andre Nathan
ble, one option would be to color each level line differently and then add a legend. Is it possible to do that? Finally, how can I remove the tick marks from the top and right axes? Thanks, Andre __ R-help@r-project.org mailing list https://stat.et

[R] logistic regression: wls and unbalanced samples

2011-04-26 Thread Andre Guimaraes
Greetings from Rio de Janeiro, Brazil. I am looking for advice / references on binary logistic regression with weighted least squares (using lrm & weights), on the following context: 1) unbalanced sample (n0=1, n1=700); 2) sampling weights used to rebalance the sample (w0=1, w1=14.29); e 3) a

Re: [R] logistic regression: wls and unbalanced samples

2011-04-27 Thread Andre Guimaraes
t; On Apr 27, 2011, at 00:22 , Andre Guimaraes wrote: >> >>> Greetings from Rio de Janeiro, Brazil. >>> >>> I am looking for advice / references on binary logistic regression >>> with weighted least squares (using lrm & weights), on the following

[R] vector decreasing by a factor

2011-05-02 Thread andre bedon
o seq() but increasing or decreasing by factors? I need to do this in one step i.e, not using loops. Any help would be greatly appreciated. Regards, Andre [[alternative HTML version deleted]] __ R-h

[R] for loop

2011-05-06 Thread andre bedon
040th element. I have implemented this with a for loop an hour ago and it is still loading, can anyone offer any suggestions as to how I can create this matrix without using loops? I would really appreciate any suggestions. Regards, Andre [[alterna

[R] Survreg object

2011-05-14 Thread andre bedon
Hi,Just a quick one, does anyone know the command for accessing the standard errors from a survreg object? I can access the coefficients by model$coefficients, but I cant seem to find a command to access the errors. Any help would be greatly appreciated.Regards,Andre

[R] Using a loop to define new variables

2010-05-28 Thread Andre Easom
hich solve this exact issue. Cheers, Andre ** This email and any attachments are confidential, protect...{{dropped:22}} __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

[R] Best way to organize this data for plotting

2011-02-17 Thread Andre Nathan
s the easiest way to get a list like (dmin1, dmax1) -> mean(coef such that (dmin, dmax) = (dmin1, dmax1)) (dmin2, dmax2) -> mean(coef such that (dmin, dmax) = (dmin2, dmax2)) ... (dminN, dmaxN) -> mean(coef such that (dmin, dmax) = (dminN, dmaxN)) given a file like

[R] Regression coefficient constraints

2011-09-03 Thread andre bedon
Hi Guys, Does anyone know how I could constrain my regression coefficients so that they are positive and add up to one? Any help will be greatly appreciated. Kind Regards, Andre [[alternative HTML version deleted

[R] FW: Regression coefficient constraints

2011-09-04 Thread andre bedon
appreciated. Kind Regards, Andre [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] incorrect number of subscripts on matrix

2012-06-29 Thread andre bedon
Hi, Wondering if anyone could help me out with this error.Im trying to fill a matrix with random numbers taken from an exponential distribution using a loop: x.3<-matrix(rep(0,3000),nrow=1000,byrow=T)for(i in 1:1000){x[i,]<-rexp(3,rate=2/3)} I get the error message: Error in x[i, ] <- rexp(3, ra

[R] Select some, but not all, variables stepwise

2011-11-04 Thread Andre Easom
uld be appreciated. Cheers, Andre ** This email and any attachments are confidential, protect...{{dropped:22}} __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Multiple plots question

2008-03-19 Thread Andre Nathan
he others, or is there an automatic way to do this? Thanks in advance, Andre __ 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

[R] Multiple plots question

2008-03-20 Thread Andre Nathan
rgest value and call plot() on it, and then points() on the others, or is there an automatic way to do this? Thanks in advance, Andre __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

[R] Histograms without bars

2008-05-19 Thread Andre Nathan
's a better way to do that. I've been using prop.table() to plot these "histograms" for integer numbers, but now I need binning and I'm not sure what is the best way to proceed. Thanks in advance, Andre __ R-help@r-project.org m

Re: [R] graphics - line resolution/pixelation going from R to windows metafile

2007-11-16 Thread Mose Andre
You might try using the Cairo package, which will allow you to bypass using the Windows graphics device and can give you anti-aliasing. As the manual says: "It is ideal for use in server environments (file output) and as a replacement for other devices that don't have Cairo's capabilities such as

[R] combine variables to matrix

2007-12-12 Thread Andre Jung
;- cbind(V1,V2,V3); works. But how could I put together 1200 columns? I've searched the R mailing help and stumbled upon this entry: https://stat.ethz.ch/pipermail/r-help/2007-July/137121.html which doesn't help me. thanks for your help. andre ___

[R] X11 uses font size 25 although 28 was requested

2007-12-15 Thread Andre Jung
uses font size 25 although 28 was requested] --- system: R version 2.6.1 (2007-11-26) on openSuSE 10.3 installed via YaST from http://download.opensuse.org/repositories/home:/dsteuer/ (provided by Detlef Steuer) any suggestions? Thanks!

Re: [R] R rpm for Mandriva 2008.1 ?

2008-09-13 Thread Andre Nathan
Hi Joanne There is a package in Mandriva's repository, called "R-base". You can isntall it with "urpmi R-base". HTH, Andre On Sat, 2008-09-13 at 16:48 +0100, Joanne Demmler wrote: > Are there any R rpm's for Mandriva 2008.1? I found a couple of dodgy &g

Re: [R] Combining tables

2008-09-14 Thread Andre Nathan
Thanks Jim, it worked great! On Sun, 2008-09-14 at 21:27 -0400, jim holtman wrote: > try this: > > > c(tx,ty) > 1 2 3 3 4 > 3 2 1 4 1 > > z <- c(tx,ty) > > tapply(z, names(z), sum) > 1 2 3 4 > 3 2 5 1 > > __ R-help@r-project.org mailing list https://s

[R] Combining tables

2008-09-14 Thread Andre Nathan
ay to "combine" tx and ty in such a way to give me the distribution below? 1 2 3 4 3 2 5 1 Essentially what I'm looking for is something equivalent to table(c(x,y)), but x and y are too large and I'd like to avoid the concatenation. Thanks in advance, Andre

Promova seus Neg�cios na Internet

2008-01-25 Thread Andre Luis
This is a text part of the message. It is shown for the users of old-style e-mail clients [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] Questions about histograms

2008-02-10 Thread Andre Nathan
n searching for this and couldn't find any info. Best regards, Andre __ 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.

Re: [R] Questions about histograms

2008-02-10 Thread Andre Nathan
Thanks Bill and Duncan for your replies, I understand it now. Somehow I didn't notice the width of the bars was < 1.0. Andre On Mon, 2008-02-11 at 11:38 +1000, [EMAIL PROTECTED] wrote: > Andre, > > Regarding your first question, it is by no means clear there is anything >

Re: [R] How to join path with arguments

2008-02-19 Thread Andre Nathan
ot; > sprintf("%s.png", name1) [1] "sample-plot.png" > paste(name1, "png", sep = ".") [1] "sample-plot.png" HTH, Andre __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] A more idiomatic way to write this

2008-02-24 Thread Andre Nathan
more idiomatic, R-like way to write it: x <- ... divs <- ... for (i in seq(from = 1, to = 100, by = 1000)) { x[i:(i - 1 + 1000)] <- x[i:(i - 1 + 1000)] / divs[i %/% 1000 + 1] } Any suggestions are welcome. Thanks in advance, Andre _

Re: [R] A more idiomatic way to write this

2008-02-24 Thread Andre Nathan
On Mon, 2008-02-25 at 11:52 +1000, [EMAIL PROTECTED] wrote: > x <- x/rep(divs, each = 1000) Fantastic :) Thanks Bill, Andrew and Rolf Andre __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the p

Re: [R] Geometric progression

2008-02-24 Thread Andre Nathan
On Sun, 2008-02-24 at 23:26 -0300, Andre Nathan wrote: > > gp(1, 2, 10) > [1]1248 16 32 64 128 256 512 1024 > Actually, [1]1248 16 32 64 128 256 512 Andre __ R-help@r-project.org mailin

Re: [R] Geometric progression

2008-02-24 Thread Andre Nathan
On Sun, 2008-02-24 at 21:39 -0500, Charilaos Skiadas wrote: > 2^(0:9) I guess it's so simple that I'd never think of that... Thanks! Andre __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do rea

[R] Geometric progression

2008-02-24 Thread Andre Nathan
8 16 32 64 128 256 512 1024 Any pointers? Thanks, Andre __ 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, mi

[R] "Raw" histogram plots

2008-02-26 Thread Andre Nathan
al data? What I'm doing is setting a small bin length (for example, "breaks = seq(0, 1, by = 1e-6)", but there's still a chance that points will be grouped in a single bin. Is there a better way to do this kind of "raw histogram" plotting? Thanks, Andre _

Re: [R] "Raw" histogram plots

2008-02-26 Thread Andre Nathan
I know about stem, but the data set has 1 million points, so it's not very useful here. I want to avoid binning just to have an idea about the shape of the distribution, before deciding how I'll bin it. Andre On Tue, 2008-02-26 at 16:20 -0600, roger koenker wrote: > t

Re: [R] "Raw" histogram plots

2008-02-27 Thread Andre Nathan
from a table, so that I can pass them as the x and y arguments to plot()? Thanks, Andre __ 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 p

Re: [R] "Raw" histogram plots

2008-02-27 Thread Andre Nathan
he prop.table hint. I looked everywhere but none of my searches hinted at table/table.prop. You guys' help has been invaluable for me. Thanks again, Andre __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] esercizio

2008-03-03 Thread Mose Andre
Hey Flo, I'm not entirely sure what you're problem is -- due to the language thing, probably -- but I think you want a function that will give you (or computes in an intermediate step) the "edit distance" between strings. There is the "sdists" function in the cba package that might help (it can g

Re: [R] ayuda

2008-03-14 Thread Mose Andre
Try Sys.sleep() On Fri, Mar 14, 2008 at 4:33 PM, Rosaura Cordero <[EMAIL PROTECTED]> wrote: > hola, si me pudieran decir como hago para colocar dentro de un ciclo una > pausa > > - > > ¿Con Mascota por primera vez? - Sé un mejor Amigo > > >[[alternative HT

[R] Incrementally building histograms

2008-11-05 Thread Andre Nathan
x27; here Is there a more efficient and/or idiomatic way to do this? Thanks, Andre __ 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

[R] plot contour map for irregular data points

2007-09-12 Thread Andre Jung
Hello, I'm dealing with the following problem: I have a table with x and y coordinates and corresponding values of a mineral concentration, let's call it z. Can someone provide me a short step-by-step manual for the steps necessary to get a contour map? How to sort and interpolate my matrix

Re: [R] plot contour map for irregular data points

2007-09-13 Thread Andre Jung
p/2003-December/043897.html https://stat.ethz.ch/pipermail/r-sig-geo/2005-October/000609.html cheers, andre S Ellison wrote: > Doesn't the lattice package's contourplot take arbitrary x and y? > > library(lattice) > ?contourplot ___

[R] Netalg

2009-10-14 Thread Andre Barbosa Oliveira
Hi, I would like to use the package netalg made for Stefan Neubauer and Georg Dorffner. In this package there are functions similars with netlab, a package for Matlab. I searched for this package and didn't found it. This package had his name changed??? How I can download this package?? Be

[R] Maximum Likelihood Estimation

2009-11-03 Thread Andre Barbosa Oliveira
Hi, I would like estimate a model for function of production's Coob-Douglas using maximum likelihood. The model is log(Y)= beta[1]+beta[2]*log(L)+beta[3]*log(K). I tried estimate this model using the tools nlm ( ) and optim ( ) using the log-likelihood function below: > mloglik <- fu