Re: [R] ggplot geom_line problem

2021-08-28 Thread Jeff Newmiller
Maybe you will find that coord_cartesian( ylim=c(-30,30) ) works better since it doesn't filter out data before rendering. On August 28, 2021 6:45:11 PM PDT, p...@philipsmith.ca wrote: >I am preparing a time series plot using the ggplot function. It includes >an area plot outlined at its edges w

[R] ggplot geom_line problem

2021-08-28 Thread phil
I am preparing a time series plot using the ggplot function. It includes an area plot outlined at its edges with a line plot. For some reason the line plot, drawn with geom_line(), has some broken portions where the line does not appear, although the filled geom_area() part of the plot is shown

Re: [R] Finding if numbers fall within a range

2021-08-28 Thread Jeff Newmiller
You messed up the dput somehow... but I think this works: m <- t(structure(c(1, 57, 59, 271, 279, 59, 179, 279, 278, 359, 52, 118, 178, 239, 334), .Dim = c(5L, 3L))) brk <- c( 0, 60, 120, 180, 240, 300 ) mc <- matrix( findInterval( m, brk ), ncol = ncol(m) ) m mc DBI <- apply( mc, 1, function(v)

Re: [R] Finding if numbers fall within a range

2021-08-28 Thread Andrew Simmons
Hello, I think I've found a solution, but it's not producing the same answer as what you're expecting. I think you might've mixed up row and column a few times, but you should be able to alter the following to your needs. Also, see ?.bincode: EB <- matrix(data = c( 1, 271, 179, 359, 178,

[R] [R-pkgs] summary plots with adjusted error bar: A Shiny interface

2021-08-28 Thread Denis Cousineau
Dear all, This short email to inform you that a new version of *superb* (SUmmary Plots with adjusted ERror Bars) is now available on CRAN (version 0.9.7.5; codename "two-tail 95% confident"). This package lets you generate plots with correct error bars without heavy programming. I know that

[R] [R-pkgs] monobinShiny: Shiny User Interface for 'monobin' Package

2021-08-28 Thread Andrija Djurovic
Dear R users, I am happy to announce that my new package monobinShiny is now available on CRAN. This is an add-on package to the 'monobin' package that simplifies its use. As reminder, the goal of 'monobin' is to perform monotonic binning of numeric risk factor in credit rating models (PD, LGD, EA

[R] Finding if numbers fall within a range

2021-08-28 Thread Eliza Botto
Dear useRs, Is there a way in R to see if the numbers in a matrix-row fall within the given range or not? For example, I have the following data; > dput(EB) structure(c(1, 57, 59, 271, 279, 59, 179, 279, 278, 359, 52, 118, 178, 239, 334), .Dim = c(3L, 5L)) The ranges for which these numbers ar

Re: [R] A glitch (???) in tools::texi2pf.

2021-08-28 Thread J C Nash
I can understand Rolf's concern. Make is a tool that is very helpful, but also not trivial to learn how to make work. If a good Makefile has been set up, then things are easy, but I've generally found my skills limited to fairly simple Makefiles. I would suggest that what is needed is a bit of mod

Re: [R] A glitch (???) in tools::texi2pf.

2021-08-28 Thread Rolf Turner
On Sat, 28 Aug 2021 12:49:04 +0300 Eric Berger wrote: > As Achim wrote in point (2), Makefile is your friend. Well, all I can say is that Makefile is *not* my friend; I have never made its acquaintance and wouldn't know where to begin looking. Would it be possible for you to provide a templat

Re: [R] A glitch (???) in tools::texi2pf.

2021-08-28 Thread Achim Zeileis
On Sat, 28 Aug 2021, Rolf Turner wrote: On Sat, 28 Aug 2021 09:47:03 +0200 Achim Zeileis wrote: On Sat, 28 Aug 2021, Rolf Turner wrote: I have found that tools::texi2pf() ignores changes to the *.bib file unless the *.bbl file is removed prior to re-running tools::texi2pdf(). This is how

[R] Configure error: checking if libcurl supports https... no

2021-08-28 Thread Rolf Turner
I'm getting results from a package which differ from results that I got a few weeks ago, and the only thing that I can think of that's changed is the version of R (from 4.1.0 to 4.4.1). So I wanted to install 4.1.0 and play around with that, to see if that is indeed the explanation. (If that is

Re: [R] A glitch (???) in tools::texi2pf.

2021-08-28 Thread Eric Berger
As Achim wrote in point (2), Makefile is your friend. On Sat, Aug 28, 2021 at 12:39 PM Rolf Turner wrote: > > On Sat, 28 Aug 2021 09:47:03 +0200 > Achim Zeileis wrote: > > > On Sat, 28 Aug 2021, Rolf Turner wrote: > > > > > I have found that tools::texi2pf() ignores changes to the *.bib file >

Re: [R] A glitch (???) in tools::texi2pf.

2021-08-28 Thread Rolf Turner
On Sat, 28 Aug 2021 09:47:03 +0200 Achim Zeileis wrote: > On Sat, 28 Aug 2021, Rolf Turner wrote: > > > I have found that tools::texi2pf() ignores changes to the *.bib file > > unless the *.bbl file is removed prior to re-running > > tools::texi2pdf(). > > This is how texi2pdf (or actually te

Re: [R] A glitch (???) in tools::texi2pf.

2021-08-28 Thread Achim Zeileis
On Sat, 28 Aug 2021, Rolf Turner wrote: I have found that tools::texi2pf() ignores changes to the *.bib file unless the *.bbl file is removed prior to re-running tools::texi2pdf(). This is how texi2pdf (or actually texi2dvi) from texinfo behaves. This is likely what tools::texi2pdf calles in