[R] dropping variables from a data frame inside a function

2012-06-22 Thread Joseph Boyer
Why doesn't this work? #Drop a variable name from a data frame DropLikeSAS <- function(x,df) { df[[x]] <- NULL 0 } DropLikeSAS("VarName", DataFrameName) Try it. The column VarName

Re: [R] Variability plot in R

2011-10-05 Thread Joseph Boyer
Dennis, Thank you for your reply. This is a good start for what I want to achieve. -- Joe -Original Message- From: Dennis Murphy [mailto:djmu...@gmail.com] Sent: Friday, May 20, 2011 10:55 PM To: Joseph Boyer Cc: r-help@r-project.org Subject: Re: [R] Variability plot in R Here'

Re: [R] suggestions argument in rbga function in genalg package

2011-10-03 Thread Joseph Boyer
- From: Enrico Schumann [mailto:enricoschum...@yahoo.de] Sent: Friday, September 23, 2011 12:53 AM To: Joseph Boyer Cc: r-help@r-project.org Subject: Re: [R] suggestions argument in rbga function in genalg package I do not use this package, but a quick look at the code shows this. if (!is.null(s

Re: [R] how to get old packages to work on R 2.12.1

2011-10-03 Thread Joseph Boyer
That works great. Thanks, Rich. From: Richard M. Heiberger [mailto:r...@temple.edu] Sent: Wednesday, September 28, 2011 1:13 PM To: Joseph Boyer Cc: r-help@r-project.org Subject: Re: [R] how to get old packages to work on R 2.12.1 Joe, Most firewall issues can be resolved by entering

Re: [R] how to get old packages to work on R 2.12.1

2011-09-28 Thread Joseph Boyer
Many thanks for all the suggestions. For me, the update.packages command will not work behind the firewall at my workplace. But the respondents have given me more than enough suggestions to work with. __ R-help@r-project.org mailing list https://stat.

[R] suggestions argument in rbga function in genalg package

2011-09-22 Thread Joseph Boyer
Would someone be so kind as to provide example code where they use the suggestions argument in the rgba function In genalg? I can't get it to work. The following code works just fine: GenFit <-rbga(Lower, Upper, evalFunc = evaluate) Lower and Upper are each numeric vectors with 7 elements. Eva

[R] Variability plot in R

2011-05-20 Thread Joseph Boyer
Is there a package in R that can do a variability plot? A variability plot is a kind of categorized dot plot. (If there is a lot of data in each category, box plots are used rather than dot plots.) Usually, the categories are factor level combinations. All the dot plots appear in the same window

[R] how to get old packages to work on R 2.12.1

2011-01-19 Thread Joseph Boyer
I just installed R 2.12.1, and when I went to run a few old programs with it, nothing worked. I got a ton of error messages saying such and such package was built before R 2.10.0 and needed to be reinstalled. These were not just warning messages, but error messages that prevent the programs fro