Re: [R] How can we get a predicted value that are used to plot the figure using a plot_model function of sjPlot?

2020-09-28 Thread Paul Bivand
data.frame with the values that get passed to plot_model(). As these functions can handle many different fitted models, the help pages are large and have subsections for different model classes. However, the information requested is (as is not uncommon) in the help pages. Paul Bivand On Sat, 19 Sep

Re: [R] How to generate this type of scatter plots in R

2020-07-30 Thread Paul Bivand
This looks like a beeswarm plot - using package beeswarm or (for ggplot users) ggbeeswarm. Paul On Thu, 23 Jul 2020 at 05:31, Jim Lemon wrote: > > Hi John, > Perhaps "dendroPlot" in the plotrix package? > > JIm > > On Thu, Jul 23, 2020 at 11:00 AM array chip via R-help > wrote: > > > > > > Hell

Re: [R] R create .docx file ?

2020-04-15 Thread Paul Bivand
However, the Reporters github page clearly says that the package has been removed from CRAN and it has been replaced by the officer package. Note that ReporteRs has been removed from CRAN the 16th of July 2018 and is not maintained anymore. please migrate to officer. https://cran.r-project.org/we

Re: [R] install R

2019-05-09 Thread Paul Bivand
tween distributions. Good luck Paul Bivand On Wed, 8 May 2019 at 23:20, John via R-help wrote: > > On Wed, 8 May 2019 21:05:29 +0800 (CST) > yueli wrote: > > > Hello, > > > > > > I am trying to install R. > > > > > > Thanks in advance for a

Re: [R] Information installation package sjPlot

2018-01-16 Thread Paul Bivand
This depends on the resources of your computer. If it's very small, some dependencies can take a long time. My record is the glmmTMB dependency with over 24 hours compilation (on an old netbook). One helpful way round can be to download the .tar.gz of the package, close down all other programs, a

Re: [R] importing spss files without value labels

2015-10-10 Thread Paul Bivand
d the documentation - for importers, data.set, measure. Paul Bivand Centre for Economic & Social Inclusion London On 9 October 2015 at 19:43, David Winsemius wrote: > > On Oct 9, 2015, at 9:19 AM, Yongnam Kim wrote: > >> Hi all, >> >> I know how to import spss data fil

Re: [R] ggplot2 will not install after system upgrade

2015-09-10 Thread Paul Bivand
This is most likely the "stringi" dependency, which is new. Follow the links from the CRAN page for "stringi" and you may find some guidance. I initially had the same problem with my Mageia install, but it's sorted now. On 3 September 2015 at 22:53, Jeff Trefftzs wrote: > On Thu, 2015-09-03 at

Re: [R] R and Newest version of Java

2014-10-31 Thread Paul Bivand
After updating Java, I have to run R CMD javareconf. On Windows 64-bit, the java default updater has in the past removed the 64-bit version as it updates that wanted for 32-bit browsers. The 64-bit version needed reinstalling manually. Paul Bivand On 28 October 2014 18:43, Prof Brian Ripley

Re: [R] Download CSV Files from EUROSTAT Website

2013-11-05 Thread Paul Bivand
body is definitely doable. readHTMLTable seems to assume that the column headings are a single row, which isn't always the case. Paul Bivand On 5 November 2013 18:44, Barry Rowlingson wrote: > On 4 Nov 2013 19:30, "David Winsemius" wrote: > >> Maybe you should use their &

Re: [R] 'XML' package cannot be un-zipped or un-tar'd"

2013-10-22 Thread Paul Bivand
ng up on the mailing list, so a quick search should have found the issue. The XML readme file points out that building on windows is not as simple as on other platforms. Paul Bivand On 19 October 2013 20:51, Steven Dwayne Randolph < randolph_steve...@lilly.com> wrote: > Even when I attempt

Re: [R] Memisc package: imported varibles from SPSS have got wrong measurement

2012-07-26 Thread Paul Bivand
David's ?measurement measurement(mz$age_variable) <- "interval" # where age_variable is the unstated item in that "select" list is what I use in similar circumstances. Where it seems to come from is the SPSS users habit of setting value labels on various categories of user-missing values - so a su

Re: [R] RODBC connect to Excel (64-bit Windows 7)

2012-05-25 Thread Paul Bivand
excel spreadsheets that then open nicely in 32-bit Excel. Just requires a little care to know whether your workflow is 32 or 64 bit. Paul - Paul Bivand Associate Director of Analysis and Statistics Centre for Economic & Social Inclusion 3rd

Re: [R] Reading SPSS: underlying numerical codes

2012-04-19 Thread Paul Bivand
You didn't say that your workflow involved going backwards and forwards between SPSS and R. Importing from legacy formats like SPSS .sav is well developed, with additional resources from packages Hmisc (spss.get) and memisc (spss.system.file) with, in the latter case, support for reading subsets o

Re: [R] How do Sweave users collaborate with Word users?

2012-04-09 Thread Paul Bivand
lve a procurement process, the need to purchase something when other users (and the administration) are happy with their Word/Excel solutions may be an insurmountable barrier. Good luck Paul Bivand Centre for Economic and Social Inclusion (a non-profit organisation) London On 9 April 2012 13:23, Ri

Re: [R] handling a lot of data

2012-01-30 Thread Paul Bivand
If you do not need all the variables in the SPSS files, use package 'memisc'. spss.system.file() and it's subset() allow you to just load the variables needed. You will need to transform into data.frame as the memisc data.set includes the SPSS attributes, user-missings etc. Pau

Re: [R] need help on read.spss

2011-10-20 Thread Paul Bivand
Try the memisc package which seems to have an independent implementation from PSPP (at least looks that way when compiling on linux) plus the ability to select variables before reading in the entire dataset. Paul Bivand - Paul Bivand Head of

Re: [R] gregmisc library (Mandriva)

2009-10-09 Thread Paul Bivand
relevant devel-packages enables you to keep up to date. Paul Bivand 2009/10/3 chi ball : > > > > Hi, I'm not able to find a rpm of "gregmisc" library (>2.0.0)  for Linux > Mandriva 2008 S

Re: [R] Fedora 10 KDE plasma font rendering issue

2009-04-12 Thread Paul Bivand
Fedora 2.8.1 rpm may need to take this into account - if compiling, you'd have discovered at configure stage. Paul Bivand Paul Bivand 2009/4/1 Martyn Plummer : > On Tue, 2009-03-31 at 18:36 -0700, dfermin wrote: >> Nope. I checked this. Both those fonts are installed. > > Wel

Re: [R] Running out of memory when importing SPSS files

2009-02-19 Thread Paul Bivand
-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. > You could try using package memisc and only bring in th

Re: [R] R on Mandriva

2008-09-26 Thread Paul Bivand
. Paul Bivand Head of Analysis and Statistics Direct Line: 020 7840 8335 Inclusion has a launched a new website, please visit: www.cesi.org.uk Inclusion 3rd floor, 89 Albert Embankment, London SE1 7TP Tel: 020 7582 7221 Fax: 020 7582 6391 Inclusion website

Re: [R] R on Mandriva

2008-09-25 Thread Paul Bivand
t you need. - Paul Bivand Head of Analysis and Statistics Direct Line: 020 7840 8335 Inclusion has a launched a new website, please visit: www.cesi.org.uk Inclusion 3rd floor, 89 Albert Embankment, London SE1 7TP Tel: 020 7582 7221 Fax: 020 7582 6391 Inclusi

Re: [R] Code to calculate internal rate of return

2008-08-14 Thread Paul Bivand
You could look at how the same problem is dealt with in package "financial". Paul Bivand 2008/8/1 Moshe Olshansky <[EMAIL PROTECTED]> > > You can use uniroot (see ?uniroot). > > As an example, suppose you have a $100 bond which pays 3% every half year (6% >