[R] Help in dynamic simulation using deSolve

2018-05-31 Thread Wedaj Bahiru via R-help
Hi R help, I wanted to simulate two pool model (A&B) using deSolve package for time 0 to 12 by 1.  Initial values of the state variables are A=5, B=3. The fluxes are as follows1) Flux into A= 5 units per unit time 2) Flux from A to B= 0.33) Flux out of A=0.1 4) Flux from B to A=0.35) Flux out of

Re: [R] How to alpha entire plot?

2018-05-31 Thread Boris Steipe
Interesting problem. I would discretize the x-values and interleave them. Lines from one dataset still overlap, so you see high- density and low-density regions, but lines from the other dataset are drawn into the interval. Like so: interleave <- function(x, MIN, MAX, N, nChannel = 2, channel)

Re: [R] Help About R-Package Portability

2018-05-31 Thread Jeff Newmiller
Your lack of permissions is highly operating-system-specific and local-policy-specific and therefore outside the scope of this mailing list... I suggest you have a conversation with your system administrator(s). Insuring the ability to run R code when the admin is not cooperating is not really s

[R] How to alpha entire plot?

2018-05-31 Thread Ed Siefker
I have two chromatograms I want plotted on the same axes. I would like the plots to be transparent, so the first chart is not obscured. I have tried adjustcolor(..., alpha.f=0.3), the problem is that my chromatogram is so dense with datapoints that they overlap and the entire graph just ends up a

Re: [R] Filtering using multiple rows in dplyr

2018-05-31 Thread Jeff Newmiller
Yes this can be done using dplyr. One of the main advantages of doing so is that it is possible to develop and modify code to handle fairly complicated requirements easily, but it may not always be best from a performance or memory usage perspective. The example below walks you through some ins

Re: [R] bracketing for optimize

2018-05-31 Thread Enrico Schumann
On Thu, 31 May 2018, ivo welch writes: > dear R wizards: `optimize()` requires the user to provide the > brackets. I can write a bracketing routine, given a function and a > starting point, but I was wondering whether there was already a > "standard" user-exposed implementation. (Presumably, th

[R] bracketing for optimize

2018-05-31 Thread ivo welch
dear R wizards: `optimize()` requires the user to provide the brackets. I can write a bracketing routine, given a function and a starting point, but I was wondering whether there was already a "standard" user-exposed implementation. (Presumably, this is used in nlm, too; alas, nlm is in C, not n

[R] Help About R-Package Portability

2018-05-31 Thread BEDIRHAN CALDIR
Hi, I'm having an issue with R package configurations which I thought the community would help me. I have two softwares written in R, DECoN and panelcn.mops, and need to run both of them isolated. The problem is that I couldn't install them onto neither the OS with the sudo permissions nor the hom

Re: [R] Filtering using multiple rows in dplyr

2018-05-31 Thread Ulrik Stervbo via R-help
Hi Sumitrajit, dplyr has a function for this - it's called filter. For each group you can count the number of SNR > 3 (you can use sum on true/false). You can filter on the results directly or add a column as you plan. The latter might make your intention more clear. HTH Ulrik On 2018-05-30

Re: [R] mysterious rounding digits output

2018-05-31 Thread Ted Harding
Thanks Martin! Good to know that you have made this important change, And, regarding Maybe we should additionally say that this is *not* round()ing, and give a link to the help for signif() ? I think that also would be most useful. In fact, ?signif leads to a whole survey of "Rounding of Number