[R] Making objects global in a package

2018-07-13 Thread Michael Hannon
Greetings. I'm putting together a small package in which I use `dplyr::read_csv()` to read CSV files from several different sources. I do this in several different files, but with various kinds of subsequent processing, depending on the file. I find it useful to specify column types, as the appa

Re: [R] OT --- grammar.

2018-06-24 Thread Michael Sumner
9 ext. 88276 > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html >

Re: [R] Subset Rasterbrick by time

2018-06-18 Thread Michael Sumner
leted]] > > > > __ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html &g

Re: [R] rasterize SpatialPolygon object using a RasterBrick object

2018-06-01 Thread Michael Sumner
_ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <http://www.r-project.org/posting-guide.html> and provide commented, minimal, self-contained, repr

Re: [R] Problem with adding a raster and a brick

2018-06-01 Thread Michael Sumner
essed). Cheers, Mike. On Thu, 24 May 2018 at 20:08 Michael Sumner wrote: > > > > On Thu, 24 May 2018 at 18:41 Mark R Payne > wrote: > > Hi, > > I seem to be having a problem adding the following two raster objects > together - one is a rasterLayer, the other is a rast

Re: [R] TukeyHSD for multiple response

2018-05-26 Thread Michael Friendly
l variance. For proper partial Type III tests, use car::Manova rather than stats::manova which only gives sequential, Type I tests HTH -Michael On 5/25/2018 9:11 AM, Sergio Ferreira Cardoso wrote: Dear all, I'm testing the effect of species and sex in my sample by using the principal c

Re: [R] Problem with adding a raster and a brick

2018-05-24 Thread Michael Sumner
tml> and provide commented, minimal, self-contained, reproducible code. -- Dr. Michael Sumner Software and Database Engineer Australian Antarctic Division 203 Channel Highway Kingston Tasmania 7050 Australia [[alternative HTML version deleted]] _

Re: [R] Installing an Archived Package

2018-05-16 Thread Michael Dewey
Dear Evguenia In that case the program you are using to download is being helpful and unzipping the archive for you. You could replace helpful with irritating in that sentence. You need to try another downloader. Michael On 16/05/2018 18:11, Evguenia Ignatova wrote: Hello Michael and

Re: [R] Installing an Archived Package

2018-05-16 Thread Michael Dewey
Dear Evguenia What happens if you manually download the version you want and run install.packages() on that file? Your first attempt is on a .tar file not on the tar.gz file in the archive, not sure if that makes a difference. Michael On 16/05/2018 16:24, Evguenia Ignatova wrote: Hello, I

Re: [R] Modèle à Equations structurelles

2018-05-10 Thread Michael Dewey
Psychometrics one might help you. If you want someone to send you code, as appears from your mail, you are out of luck on this list. Michael On 10/05/2018 15:50, yaya bamba via R-help wrote: Bonjour, Quelqu'un pourrait m'aider avec le code R pour estimer les modèles à équations structu

Re: [R] adding overall constraint in optim()

2018-05-03 Thread Michael Ashton
the r-sig-finance list might be a > better place for you to post your query. > > Cheers, > Bert > > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed

[R] adding overall constraint in optim()

2018-05-03 Thread Michael Ashton
(t(wgt.vect) %*% (cov.mat %*% wgt.vect)) LowerBounds<-c(0.2,0.05,0.1,0,0,0) UpperBounds<-c(0.6,0.3,0.6,0.15,0.1,0.2) OptimSolution<-optim(wgt.vect, fn=opt.fun, method="L-BFGS-B",lower=LowerBounds,upper=UpperBounds) Any thoughts are appreciated! Mike Michael

Re: [R] Help with R-Calling forth csv.

2018-04-16 Thread Michael Dewey
Dear Mohammad Perhaps if you showed us what you tried people could offer more helpful advice? When you say you want to call it forth do you mean you want to read in the file using read.csv? Michael On 16/04/2018 11:23, Mohammad Areida wrote: Hi, I'm working on R trying to f

[R] Inverse Gaussian distribution not working in glm funciton

2018-04-16 Thread michael tsagris via R-help
Hello everybody, I have encountered a problem with the inverse Gaussian distribution. It is very likely that it will not work regardless of the data input. I have programmed this regression and it works fine no matter which distribution the response comes from. If you run this example (first tri

Re: [R] convert numeric variables to factor

2018-04-10 Thread Michael Dewey
UBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help <https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html <http://www.r-project.org/posting-guide.html> and provide commented, minimal, self-c

Re: [R] How do I include a factor in a groupedData object? Meaning and use of inner and outer parameters

2018-03-22 Thread Michael Dewey
Dear John You are only allowed to have the primary covariate on the left hand side of the vertical bar. Other covariates go in inner or outer. Michael On 22/03/2018 12:59, Sorkin, John wrote: Windows 10 64-bit, R-Studio, R version 3.4.3 Several questions relating to groupedData: (1) I am

Re: [R] exporting data to stata

2018-03-22 Thread Michael Dewey
Dear Rosario Your object called data1 is, as you showed us, of the wrong class. You therefore need to convert it in some way although i suspect you will then use the survey information. Michael. On 22/03/2018 07:46, rosario scandurra wrote: Hi, I am new to R and I want to export data into

[R] Σχετ: Σχετ: Problem with Rd2.tex tduring compilation

2018-03-05 Thread michael tsagris via R-help
Cheers. Στις 3:59 μ.μ. Δευτέρα, 5 Μαρτίου 2018, ο/η Michael Dewey έγραψε: https://stat.ethz.ch/mailman/listinfo/r-package-devel On 05/03/2018 13:46, michael tsagris wrote: > Hi and thanks for the prompt reply. I cannot say I understood or know > what to do. > Can you pleas

Re: [R] Σχετ: Problem with Rd2.tex tduring compilation

2018-03-05 Thread Michael Dewey
https://stat.ethz.ch/mailman/listinfo/r-package-devel On 05/03/2018 13:46, michael tsagris wrote: Hi and thanks for the prompt reply. I cannot say I understood or know what to do. Can you please tell me which is this mailing list? Στις 2:15 μ.μ. Δευτέρα, 5 Μαρτίου 2018, ο/η Michael Dewey

[R] Σχετ: Problem with Rd2.tex tduring compilation

2018-03-05 Thread michael tsagris via R-help
Hi and thanks for the prompt reply. I cannot say I understood or know what to do. Can you please tell me which is this mailing list? Στις 2:15 μ.μ. Δευτέρα, 5 Μαρτίου 2018, ο/η Michael Dewey έγραψε: The error is that one of your documentation files is failing. Try compiling each

Re: [R] Problem with Rd2.tex tduring compilation

2018-03-05 Thread Michael Dewey
The error is that one of your documentation files is failing. Try compiling each one separately with R CMD Rd2pdf yourfilenamehere.Rd and see what happens. There is a list especially for package developers which might be better in future. Michael On 05/03/2018 10:51, michael tsagris via R

[R] Problem with Rd2.tex tduring compilation

2018-03-05 Thread michael tsagris via R-help
Hello, I am receiving this message when uploading my R package to rdevel. https://win-builder.r-project.org/incoming_pretest/180305_110240_Compositional_29/00check.log Can anybody please help? [[alternative HTML version deleted]] __ R-help@r-pr

[R] Σχετ: Desktop.ini hiddeln file creates during compilaiton

2018-03-03 Thread michael tsagris via R-help
-devel [5] https://github.com/RcppCore/Rcpp/issues -- Sent from my phone. Please excuse my brevity. On March 2, 2018 10:50:54 AM PST, michael tsagris via R-help wrote: >Hello, I am experiencing some difficult time with my R package. Every >time I compilei it a hidden file, desktop.ini, is bei

[R] Σχετ: Desktop.ini hiddeln file creates during compilaiton

2018-03-02 Thread michael tsagris via R-help
g/web/packages/reprex/index.html (read the vignette) [4] http://stat.ethz.ch/mailman/listinfo/r-package-devel [5] https://github.com/RcppCore/Rcpp/issues -- Sent from my phone. Please excuse my brevity. On March 2, 2018 10:50:54 AM PST, michael tsagris via R-help wrote: >Hello, I am experienc

[R] Desktop.ini hiddeln file creates during compilaiton

2018-03-02 Thread michael tsagris via R-help
Hello, I am experiencing some difficult time with my R package. Every time I compilei it a hidden file, desktop.ini, is being created. I am using C++ behind, linkking to Rcpp. The file is generated even when I compile it with  Linux, and in many different computers. Does anybody have any advice o

Re: [R] RExcel issues

2018-03-01 Thread Michael Ashton
Thanks though - didn’t know there was that ecosystem. I will try that list. > On Mar 1, 2018, at 5:37 PM, David Winsemius wrote: > > >> On Mar 1, 2018, at 2:02 PM, Michael Ashton >> wrote: >> >> Hi - >> >> For a while I've used RE

Re: [R] RExcel issues

2018-03-01 Thread Michael Ashton
No, this is home use. I wasn’t even aware there was a commercial license. > On Mar 1, 2018, at 5:37 PM, David Winsemius wrote: > > >> On Mar 1, 2018, at 2:02 PM, Michael Ashton >> wrote: >> >> Hi - >> >> For a while I've used RE

[R] RExcel issues

2018-03-01 Thread Michael Ashton
with Rexcel? I've updated Rexcel to 3.2.16 but it made no difference. Any suggestions of what to try will be warmly entertained! Thanks, Mike Michael Ashton, CFA Managing Principal Enduring Investments LLC W: 973.457.4602 C: 551.655.8006 [[alternative HTML version deleted]]

Re: [R] JGR not installed. Attempting to install from CRAN...

2018-02-20 Thread Michael Dewey
Dear Jenny From your email address I would have thought one of the two South African ones would be best. In the unlikely event of your chosen mirror not being up-to-date, try another one. Michael On 20/02/2018 07:55, Jenny Coetzee wrote: Loris, thank you thank you so much!!! do you know

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Michael Hannon
; >> > On 19 Feb 2018, at 12:25, Duncan Murdoch > <mailto:murdoch.dun...@gmail.com>> wrote: >> > >> > On 19/02/2018 5:47 AM, Michael Hannon wrote: >> >> Thanks, Duncan. The files in question are Emacs Org-mode files, and I >> >> think th

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Michael Hannon
h wrote: > On 18/02/2018 9:06 PM, Michael Hannon wrote: >> >> Greetings. The group that I work with has just started using the approach >> outlined in Karl Broman's handy primer: >> >> http://kbroman.org/pkg_primer/pages/vignettes.html >> >>

Re: [R] Include pre-existing PDF files as vignettes in an R package?

2018-02-19 Thread Michael Hannon
al? If so, what about the instructions provided there > do you find lacking? > > Best, > Ista > > On Sun, Feb 18, 2018 at 9:06 PM, Michael Hannon > wrote: >> Greetings. The group that I work with has just started using the approach >> outlined in Karl Broman's h

[R] Include pre-existing PDF files as vignettes in an R package?

2018-02-18 Thread Michael Hannon
Greetings. The group that I work with has just started using the approach outlined in Karl Broman's handy primer: http://kbroman.org/pkg_primer/pages/vignettes.html to create vignettes for a couple of R packages. This works fine as long as we have a current Rmd version of the vignette. But

Re: [R] How to label a polygon window (spatstat package)

2018-02-09 Thread Michael Sumner
_ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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 cod

[R] Unexpected behaviour from read.table

2018-02-04 Thread Michael
issue with read.table, although I can easily accept I'm missing something obvious here. Best, Michael R version 3.4.3 (2017-11-30) Platform: x86_64-apple-darwin15.6.0 (64-bit) / x86_64-pc-linux-gnu (64-bit) Running under: macOS High Sierra 10.13.2 / Ubuntu 16.04.3 LTS [[alt

[R] Speeding up npreg

2018-02-03 Thread Michael Haenlein
without problems but it takes a very long time to do so (nearly one hour). Is there any way to speed up the npreg function to decrease the running time? Or is there another function/ package for Kernel regression that may be faster? Any advice would be much appreciated Thanks, Michael

Re: [R] command line fails

2018-02-02 Thread Michael Ashton
Thans Dan. It seems that it may be an issue with 3.4.3...I'm going to attempt a patch this weekend. The code works fine from the command line in 3.2.5! Michael Ashton, CFA Managing Principal Enduring Investments LLC W: 973.457.4602 C: 551.655.8006 -Original Message- From: D

Re: [R] command line fails

2018-02-02 Thread Michael Ashton
Fascinating. The script runs fine in 3.2.5, but won't run in 3.4.3 even with ALL lines commented out. I have no idea what that means. I can't imagine I found a 3.4.3 bug no one knows about. Michael Ashton, CFA Managing Principal Enduring Investments LLC W: 973.457.4602 C: 55

Re: [R] command line fails

2018-02-02 Thread Michael Ashton
id that, I did TRY reversing the slashes and got the same result. :-) Michael Ashton, CFA Managing Principal Enduring Investments LLC W: 973.457.4602 C: 551.655.8006 -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Friday, February 02, 2018 8:16 AM T

[R] command line fails

2018-02-02 Thread Michael Ashton
ript.exe "P:\Investments\Trading Tools\RV Tools\myfile.r" And again, it executes perfectly if I open the GUI first and then run it within R. Thanks for the help! Mike Michael Ashton, CFA Managing Principal Enduring Investments LLC W: 973.457.4602 C: 551.655.8006

[R] semPLS package will not load seems to be failing on loading package lattice

2018-01-28 Thread Michael Lane
advice or help on this bug would be much appreciated Best regards Michael Dr Michael Lane USQ Profile<http://staffprofile.usq.edu.au/Profile/Michael-Lane> PhD Information Systems, USQ Email: michael.l...@usq.edu.au<mailto:michael.l...@usq.edu.au> Ph 07 4631 1268 Mobile 0407 316 391 Acad

Re: [R] Letters group Games-Howell post hoc in R

2018-01-18 Thread Meyners, Michael
s with any data (means or whatever) you want to report. multcompLetters allows you to use p values or a logical (significant or not) HTH, Michael > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of David Bars > Cortina > Sent: Dienstag, 16.

Re: [R] Clinical Trial data sets in public domain?

2018-01-14 Thread Michael Dewey
Dear Robert This might seem more suited to the Open Data site in the Stack Exchange family. The answer must depend on what you mean by public domain as data sets are available from drug company sites on application but presumably with restrictions on re-publication. Michael On 13/01/2018

Re: [R] setting constraints on gam

2018-01-13 Thread Michael Dewey
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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. -- Michael http://www.dewey.myzen.co.uk/h

Re: [R] RQuantLib

2017-12-30 Thread Michael Dewey
Dear Bob In fact the current release is 3.4.3 I can think of no reason why that should matter here but it might be worth trying to upgrade to it. Michael On 29/12/2017 18:31, rsherry8 wrote: Joshua, Thanks for the response. When you said at least version 3.4.0, I upgraded to 3.4.2 which I

Re: [R] Facing problem in installing the package named "methyAnalysis"

2017-12-29 Thread Michael Dewey
Dear Pijush You might do better to ask on the Bioconductor list as IRanges does not seem to be on CRAN so I deduce it is a Bioconductor package too. Michael On 29/12/2017 07:29, Pijush Das wrote: Dear Sir, I have been using R for a long time. But recently I have faced a problem when

Re: [R] offset with a factor

2017-12-20 Thread Michael Dewey
The documentation for ?offset states that you can have more than one offset. Michael On 20/12/2017 14:51, Bond, Stephen wrote: Knowledgeable useRs, Please, advise how to use offset with a factor. I estimate monthly effects from a much bigger data set as monthly effects seem to be stable, and

Re: [R] chi-square distribution table

2017-12-18 Thread Michael Dewey
__ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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. -- Michael http

[R] Aggregation across two variables in data.table

2017-12-13 Thread Michael Haenlein
mp[,list(mean(Theta)),by=list(Marital, Education)] But I don't know how to integrate this into a loop. Thanks, Michael [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.

Re: [R] Remove

2017-12-08 Thread Michael Hannon
library(dplyr) DM <- read.table( text='GR x y A 25 125 A 23 135 . . . ) DM %>% filter((GR == "A" & (x >= 15) & (x <= 30)) | (GR == "B" & (x >= 40) & (x <= 50)) | (GR == "C" & (x >= 60) & (x <= 75))) On Fri, Dec 8, 2017 at 4:48 PM, Ashta wrote: >

Re: [R] cannot allocate vector of size n

2017-12-05 Thread Michael Hannon
(1) That's an old version of R Studio, although I doubt that that's the source of your problem. (2) What is your session info? > sessionInfo() or > devtools::session_info() I just allocated a numeric vector of size 2.5e9 on a 16GB linux box (R 3.4.3). It worked, but it pretty much exhau

Re: [R] Where is R 3.4.3 (announced for 30.November)?

2017-12-02 Thread Michael Dewey
. -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] Preventing repeated package installation, or pre installing packages

2017-11-29 Thread Michael Dewey
Dear Larry As far as your first question is concerned I think one of require or requireNamespace may be what you need. Michael On 29/11/2017 14:28, Larry Martell wrote: I have a R script that I call from python using rpy2. It uses dplyr, doBy, and ggplot2. The script has install.packages

Re: [R] dplyr - add/expand rows

2017-11-28 Thread Michael Lawrence
QRC 24 07EA001 1983 QRC If you tell the computer more about your data, it can do more things for you. Michael On Tue, Nov 28, 2017 at 7:34 AM, Martin Morgan < martin.mor...@roswellpark.org> wrote: > On 11/26/2017 08:42 PM, jim holtma

Re: [R] How to produce rainfall maps

2017-11-22 Thread Michael Sumner
> 60126 Torrette di Ancona, Ancona > > Uff: 071 806 7743 > > E-mail: stefano.so...@regione.marche.it > > ---Oo-oO > > > > > -- > Sarah Goslee > http://www.functionaldiversity.org > >

Re: [R] Changeing logarithms

2017-11-19 Thread Michael Dewey
Dear Liz I am not sure I completely understand your problem but you can create a new variable by going newVariable <- log(oldVariable) or in many cases just use log(oldVariable) where you previously used oldVariable Michael On 19/11/2017 00:21, Aino Rprogram wrote: Hi! I'm

Re: [R] RStudio blank upon opening

2017-11-17 Thread Michael Dewey
elp@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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. -- Michael http://www.dewey.myzen.co.uk/home

Re: [R] Is there a tool to find unused functions?

2017-11-15 Thread Michael Hannon
mvbutils::foodweb produces a graphical display of the hierarchy (or network or ...) of function calls. Isolated functions are not called. This might help you. -- Mike On Wed, Nov 15, 2017 at 12:44 AM, Alexander Engelhardt wrote: > I've inherited a large R codebase which has grown over a few ye

Re: [R] create waveform sawtooth

2017-11-13 Thread Michael Tiemann
me like sawtooth (and square) don't behave as expected when using > xunit="samples". Workaround is to use xunit="time" instead: > > sawtooth(110,duration=1/100,samp.rate=sample_rate,xunit="time") > > I looked at the code but found it to be opaque. > --

Re: [R] create waveform sawtooth

2017-11-12 Thread Michael Tiemann
My tuneR sawtooth wave function generator is broken. When I use the sine function, I get exactly what I expect: a sine wave whose frequency is defined by the freq parameter. In particular, higher frequencies have shorter wavelengths (more cycles per second means shorter waves). When I create

Re: [R] Primer for working with survey data in R

2017-11-12 Thread Michael Dewey
Dear Kevin The nearest equivalent to the SPSS VALUE LABELS is the labels in factor(). If you want to attach labels to a whole question like VARIABLE LABELS then you may want to use an attribute using attr() Michael On 11/11/2017 19:56, Kevin Taylor wrote: I am taking a behavioral stats

Re: [R] update R version in windows

2017-11-10 Thread Michael Dewey
Dear Stephen Does section 2.8 in the Windows FAQ help you? Michael On 10/11/2017 16:49, Bond, Stephen wrote: Is there a utility which will allow me to upgrade my R version and update all packages from the old version? If I manually upgrade, then I have to manually re-install 50 packages

Re: [R] Survival model error

2017-11-06 Thread Michael Dewey
do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and mor

Re: [R] HELP relevel INTERCEPT-COMPARISONS

2017-10-29 Thread Michael Dewey
__ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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 encountered a fatal error. The session was terminated. + *** caught illegal operation ***

2017-10-26 Thread Klaus Michael Keller
Dear all, I just installed the "Short Summer" R update last week. Now, my R Studio doesn't open anymore! --> R encountered a fatal error. The session was terminated. and my R terminal doesn't close properly --> *** caught illegal operation *** I restarted my Mac OS Sierra 10.12.6 and reinsta

Re: [R] Linear regression with tranformed dependant variable

2017-10-24 Thread Michael Friendly
residuals/errors) To see what's going on, you can make make partial regression / added-variable plots using car::avplots. The loess smooth will show you if the relationship is non-linear. HTH -Michael Em 23-10-2017 18:54, kende jan via R-help escreveu: Dear all, I am trying to fit a multiple l

Re: [R] looping using 'diverse' package measures

2017-10-19 Thread Michael Dewey
ng-guide.html and provide commented, minimal, self-contained, reproducible code. --- This email has been checked for viruses by AVG. http://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIB

Re: [R] dput(treat)

2017-10-11 Thread Michael Dewey
ling list -- To UNSUBSCRIBE and more, see 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. --- This email has been checked for viruses by AVG. http://w

Re: [R] Issue calling MICE package

2017-10-04 Thread Michael Dewey
Dear Ole One of the experts may be able to diagnose this without extra information but I suspect you have not got the right magic in your NAMESPACE file in your package. You may need to re-read section 1.5.1 of the Writing R extensions manual. Michael On 04/10/2017 13:47, Ole Høst wrote

[R] Fwd: Re: Fwd: R errors

2017-10-02 Thread Michael Dewey
Please do not just reply to me but also to the list as other people there more expert than I may be able to help you better. Michael Forwarded Message Subject:Re: [R] Fwd: R errors Date: Mon, 2 Oct 2017 18:39:39 +0900 From: NYI NYI HTWE To: Michael Dewey

Re: [R] Fwd: R errors

2017-10-02 Thread Michael Dewey
sent. Michael On 02/10/2017 03:13, NYI NYI HTWE wrote: -- Forwarded message -- From: NYI NYI HTWE Date: Sun, Oct 1, 2017 at 1:49 PM Subject: R errors To: r-wind...@r-project.org Dear I'm very new R-user. I run a model successfully and my supervisor ask me to confirm the r

Re: [R] Converting SAS Code

2017-09-29 Thread Michael Dewey
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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. --- This email has be

Re: [R] R_LIBS_USER not in libPaths

2017-09-16 Thread Michael Dewey
Dear Rene I am not sure I understand your problem so this may be completely uselss but when I am going to run R from the command line I first of all run a little batch file. set R_HOME=C:\Users\Michael\Documents\bin\R\R-3.4.1 set R_PATH=%R_HOME%\bin\x64 set PATH=%R_PATH%;%PATH% Someone

Re: [R] How to add make option to package compilation?

2017-09-15 Thread Michael Dewey
l has been checked for viruses by AVG. http://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Σχετ: show 0 at y axis in xyplot lattice

2017-09-12 Thread Michael Dewey
Dear Maria The file you attached to your first e-mail did come through but I think some people on the list must have missed it. Michael On 12/09/2017 12:54, Maria Lathouri via R-help wrote: Dear all, Thank you very much for the help. ylim=c(-5, 80) worked. Regarding the reproducible example

Re: [R] Extracting subset from netCDF file using lat/lon and converting into .csv in R

2017-08-29 Thread Michael Sumner
quot;_FillValue") > > dim(preci.array) > # split the time units string into fields > tustr <- strsplit(tunits$value, " ") > > tdstr <- strsplit(unlist(tustr)[3], "-") > > tmonth = as.integer(unlist(tdstr)[2]) > > tday = as.integer(unlist(tdstr

Re: [R] Meta-regression of categorical variables

2017-08-18 Thread Michael Dewey
tained, reproducible code. --- This email has been checked for viruses by AVG. http://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listin

Re: [R] Shiny install failed

2017-08-15 Thread Michael Dewey
help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- This email has been checked for viruses by AVG. http://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html __

Re: [R] Plotting log transformed predicted values from lme

2017-08-10 Thread Michael Dewey
On 10/08/2017 13:48, Alina Vodonos Zilberg wrote: Thank you Michael, Curves for each level of the factor sounds very interesting, Do you have a suggestion how to plot them? Make your newdata matrix N times longer where your factor has N levels and replicate your log(x) down one column and

Re: [R] Plotting log transformed predicted values from lme

2017-08-10 Thread Michael Dewey
ttps://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. --- This email has been checked for viruses by AVG. http://www.avg.com -- Michael http://www.dewey.my

Re: [R] Use case for HDF5 dataspace interface

2017-08-09 Thread Michael Sumner
ailing list -- To UNSUBSCRIBE and more, see > > > 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] How long to wait for process?

2017-07-27 Thread Michael Friendly
multicolinearity, near perfect separation is a data problem, and is often better solved by careful thought about the model, rather than wrapping the data in a computationally intensive band aid. -Michael On 7/26/2017 10:14 AM, john polo wrote: UseRs, I have a dataframe with 2547 rows and several

Re: [R] par(mfrow) for heatmap plots

2017-07-23 Thread Michael Dewey
This email has been checked for viruses by AVG. http://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

Re: [R] Creating/Reading a complex string in R

2017-07-19 Thread Michael Friendly
It was suggested to quote your string with *backticks* (` ... `) rather than single quotes. String <- ` ... ` On 7/18/2017 1:05 PM, Christofer Bogaso wrote: Thanks for your pointer. Is there any way in R how to replace " ' " with " /' " programmatically? My actual string is quite

Re: [R] label sunflower point

2017-07-17 Thread Michael Friendly
related to observation plot attributes, then, if necessary, read the source code. The col= argument of sunflowerplot is passed to points(), and seg.col= is passed to segments, so you could try creating a vector of these, with a different value for the point you want to highlight. -Michael

[R] Arranging column data to create plots

2017-07-16 Thread Michael Reed via R-help
data becomes jumbled. Thoughts Thanks for your help Michael E. Reed __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide

Re: [R] R and UBUNTU startup

2017-07-04 Thread Michael Friendly
On 7/04/17 11:15 AM, PIKAL Petr wrote: Dear all I have 3 questions. Due to some reason I switched from Vista to Ubuntu on home PC. I was used to start with Rgui.exe. However I am not able to find it under Ubuntu and R starts as terminal (probably Rterm). Question 1. Is Rgui.exe available on l

Re: [R] Creating two groups of random numbers

2017-06-29 Thread Michael Dewey
-- To UNSUBSCRIBE and more, see 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. --- This email has been checked for viruses by AVG. http://www.avg.com -- Michael

Re: [R] R package for scorecard development

2017-06-29 Thread Michael Friendly
seful to compare it with a logistic model. -Michael On 6/28/17 1:26 PM, Nikhil Abhyankar wrote: Hello all, Is there any R package that can develop a scorecard model for a binary target variable? More details: I want to create a scorecard based on the raw data I have. I have a binary target var

Re: [R] Help : glm p-values for a factor predictor

2017-06-29 Thread Michael Friendly
III tests. Factors in stepwise methods must be handled specially, to allow all levels to be included/excluded together. I don't know of R software that does this. HTH -Michael __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Model studies in one analysis using treatment as a five level moderator in a meta-regression

2017-06-28 Thread Michael Dewey
funnel plots.rtf<https://www.dropbox.com/s/67pnfpi10qu110v/R%20code%20voor%20forrest%20en%20funnel%20plots.rtf?dl=0> www.dropbox.com Shared with Dropbox [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCR

Re: [R] Comparing pooled proportions(complication and reoperation rates) of different treatment modalities

2017-06-24 Thread Michael Dewey
ented, minimal, self-contained, reproducible code. --- This email has been checked for viruses by AVG. http://www.avg.com -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://

Re: [R] Simple control structure issue

2017-06-23 Thread Michael Ashton
SONOFAGUN…I’m a bit embarrassed. Thanks Bill! From: William Dunlap [mailto:wdun...@tibco.com] Sent: Friday, June 23, 2017 6:15 PM To: Michael Ashton Cc: r-help@r-project.org Subject: Re: [R] Simple control structure issue R is a case-sensitive language: 'if' (lowercase 'i')

[R] Simple control structure issue

2017-06-23 Thread Michael Ashton
I am having a hard time with 'next'. I come from the "sloppy" school that learned BASIC with Goto. Conceptually next seems pretty straightforward. I just can't get it to work correctly in my code. Here's a stripped down version: WhichRunNow<-"Daily" Cnums=c(0,1,"2b3") Cpers=c("Daily","Daily","W

[R] Advanced bootstrap question

2017-06-21 Thread Michael Ash
b <- boot(second.df, boot_script, R=100) print(summary(b)) } Thank you very much. -- Michael Ash, Chair, Department of Economics Professor of Economics and Public Policy University of Massachusetts Amherst Email m...@econs.umass.edu Tel +1-413-545-4815 <(413)%20545-4815> Twi

Re: [R] help regarding r-project

2017-06-08 Thread Michael Dewey
pe of resume filter but not able to get expected intercept values, could you please help regarding this project ASAP. to predict, skills + experience =result -- Michael http://www.dewey.myzen.co.uk/home.html __ R-help@r-project.org mailing list

Re: [R] Errors running spdplyr example

2017-06-07 Thread Michael Sumner
_____ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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-containe

[R] R] Error message "cs_lu(A) failed: near-singular A (or out of memory)"

2017-06-05 Thread Keilhacker, Michael
we experienced again the same error message. We use R 3.3.2 and the systemfit package 1.1-20. I would be very grateful if you could support us anyhow and give us a hint how we could solve the situation. Thanks again for your help. Warm Regards from M

Re: [R] [spatstat] Convert shapefile to pixel image

2017-06-01 Thread Michael Sumner
hatever value suits you. The larger it is, the smoother the > individual polygons will look, in pixellated form, but the longer things > will take. With 4307 polygons, that might be a rather long time! > > HTH > > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Dep

[R] getting a subset corresponding to a list element

2017-05-26 Thread Michael Ashton
I'm not sure how to ask this with the proper terminology, but here goes: The BDH() function in RBLPAPI returns, for a list of symbols (e.g., 'SPX Index','RIY Index','IBM Equity') a list of closing prices. The problem is that the result is not a matrix or a dataframe, but a list. So, if I run th

<    1   2   3   4   5   6   7   8   9   10   >