Displaying 20 results from an estimated 30000 matches similar to: "math expressions in graphs"
2009 Aug 19
2
line plot
Dear useRs,
How can I draw a barplot, but instead of bars, I'd get lines?
Thanks,
Kind regards,
Rafael.
____________________________________________________________________________________
[[elided Yahoo spam]]
[[alternative HTML version deleted]]
2009 Sep 08
4
barplot with lines instead of bars
Dear useRs,
I want to plot the following barplot with lines instead of bars. Is there a way?
data <- data.frame(cbind(k = 0:3, fk = c(11, 20,7,2), f0k = c(13.72, 17.64, 7.56, 1.08), fkest = c(11.85, 17.78, 8.89, 1.48)))
d <- t(data[,2:4])
barplot(d, beside=TRUE)
Regards,
Rafael.
____________________________________________________________________________________
[[elided Yahoo
2010 Jan 02
2
help with for loop
Dear useRs,
I want to write a function that generates all the possible combinations of diff().
Example:
If my vector has length 5, I need the diff() until lag=4 ->
c(diff(my.vec), diff(my.vec, lag=2), diff(my.vec, lag=3), diff(my.vec, lag=4))
If it has length 4, I need until lag=3 ->
c(diff(my.vec), diff(my.vec, lag=2), diff(my.vec, lag=3))
So, it must be until lag=(length(my.vec)-1).
2009 Aug 20
3
categorized barplot
Dear useRs,
I can't seem to find out how to categorize my histogram.
I have the following dataset:
Time??????????? First.day? Second.day
08:00-10:00??????? 9?????????? ? 8
10:00-12:00?????? 13???????? ? 15
12:00-14:00??????? 9?????????? ? 9
14:00-16:00???????10????????? ? 9
I attached a jpeg file to this e-mail containing the sketches.
What I'd like to do is a barplot (or histogram),
2009 Nov 16
2
Conditional statement
Dear useRs,
I wrote a function that simulates a stochastic model in discrete time.
The problem is that the stochastic parameters should not be negative and sometimes they happen to be.
How can I conditionate it to when it draws a negative number, it transforms into zero in that time step?
Here is the function:
stochastic_prost <- function(Fmean, Fsd, Smean, Ssd, f, s, n, time, out=FALSE,
2009 Sep 07
2
model simulation
Dear useRs,
Is there a package or a function able to simulate models with sets of differential equations?
Where we could input our model and give R some value to start with and it would generate the graphs?
Regards,
Rafael.
____________________________________________________________________________________
[[elided Yahoo spam]]
[[alternative HTML version deleted]]
2009 Mar 12
8
help with loop
Dear useRs,
I'm trying to write a loop to sum my data in the following way:
(the second - the first) + (the third - the second) + (the fourth - the third) + ...
for each column.
So, I wrote something like this:
c <- list()
for(i in 1:ncol(mydata)) {
for(j in 2:nrow(mydata)) {
c[[i]] <- sum(yc[j,i] - yc[(j-1),i])
}}}
As for the columns it works pretty fine, but it only
2009 Oct 26
1
fit an exponential curve
Dear useRs,
I have the following plot:
pos <- c(27/44, 11/32, 8/40, 4/42, 3/40, 4/40, 2/40)
tmin <- c(15.8, 12.6, 10.5, 2.4, 5.2, 8.5, 7.9)
plot(tmin, pos)
I would like to fit an exponential curve to it.
How could I be able to do this?
Thanks in advance,
Rafael.
____________________________________________________________________________________
[[elided Yahoo spam]]
2009 Sep 25
1
simulating a model
Dear useRs,
I have written an ecological model, based on the epidemiology SIR model.
I've been trying to simulate it in R.
However, I can't simulate it properly.
Two guesses: my script isn't right; I'm not setting the parameters properly
I have uploaded an image to the model here:
http://img24.imageshack.us/img24/743/imagemutr.jpg
The script I am using is as it follows:
2016 Sep 16
2
LLVM v3.9.0 and math built-ins
A little while ago I asked a question on CFE-Dev about a change in the
behaviour of programs using the ISO C math functions, although that question
should have been put to LLVM-Dev. But I got excellent clarification of the
problem anyway. However, since then I have been trying to adapt our
out-of-tree implementation to get the previous behaviour. The problem is
that something like:
#include
2016 Sep 20
4
LLVM v3.9.0 and math built-ins
Hi Mehdi,
The ISO C specification does permit the math functions to modify ‘errno’, but I thought that the ‘-fno-math-errno’ option was to tell the optimiser to assume that ‘errno’ is not modified by the math functions. Explicitly providing ‘-fno-math-errno’ is not restoring the elision optimisation that was performed by LLVM v3.8, and this is really only a driver option, with ‘-fmath-errno’
2018 Jul 11
1
Connection refused (61)
this command produces:
Sent
only!
On Thu, Jul 12, 2018 at 12:29 AM, Larry Rosenman <larryrtx at gmail.com> wrote:
> There is a concept in IMAP of mailbox subscription. This is the default list of mailboxes to be shown.
>
> doveadm mailbox list -s
>
> (full command syntax on the doveadm-mailbox manpage)
>
> That will list the subscribed mailboxes for the logged in
2018 Jul 11
2
Connection refused (61)
what do you mean by 'suscribed'?
On Thu, Jul 12, 2018 at 12:21 AM, Larry Rosenman <larryrtx at gmail.com> wrote:
> Is the user subscribed to the mailboxes?
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx at gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> ?On
2018 Jul 11
2
Connection refused (61)
sorry forgot to mention the port in the roundcube config file!
$config['smtp_port'] = 587;
On Wed, Jul 11, 2018 at 11:36 PM, Larry Rosenman <larryrtx at gmail.com> wrote:
> What mail port are you expecting it connect to on 127.0.0.1?
>
> Here's my config.
> $ grep -v "^//" config.inc.php
> <?php
>
> /* Local configuration for Roundcube Webmail
2014 May 26
3
[LLVMdev] GHC, aliases, and LLVM HEAD
Rafael Espíndola <rafael.espindola at gmail.com> writes:
> On 25 May 2014 21:29, Ben Gamari <bgamari.foss at gmail.com> wrote:
>>
>> For a while now LLVM has started rejecting aliases referring to things
>> other than definitions[1].
>
> We started checking for it. Aliases are just another label in an
> object file. The linker itself doesn't know they
2018 Jul 11
2
Connection refused (61)
connection refused! But why?
On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx at gmail.com> wrote:
> What happens if you telnet 127.0.0.1 587?
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx at gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> ?On 7/11/18, 4:39
2018 Jul 11
2
Connection refused (61)
when using neomutt for the same system user, I can send and receive
emails to everywhere
Also, when installing roundcube, the test email function did succeed!
So my SMTP server should be fine?
On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx at gmail.com> wrote:
> Your smtp server isn't listening.
>
> Is it running, and binding to 127.0.0.1?
>
>
> --
>
2018 Jul 11
4
Connection refused (61)
I am using OpenSMTPD. The OpenBSD 6.3 default one.
Also, when telnet to 127.0.0.1 25 I get a response! So must be
something with 587?
On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx at gmail.com> wrote:
> What's your neomutt connecting to?
>
> For smtp?
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640
2010 Feb 28
2
[LLVMdev] Stuck
Hi Talin,
On Feb 27, 2010, at 22:06, Talin wrote:
> The main problem with shadow-stack is that it's not thread-safe.
It sounds like you've outgrown it, then.
> What about modifying the shadow-stack to use a thread-local linked list?
> Another alternative is to add an additional parameter to every function containing the address of the head of the stack frame list.
and have
2018 Jul 11
2
Connection refused (61)
forgot to also ask about the maildir set up I have:
mail_location = maildir:~/var/mail/%u:LAYOUT=fs
for the following structure:
/var/mail/[user]/Drafts
Inbox
Sent
Spam
Trash
but should be wrong cause when I log in into roundcube I can't see the
stored emails. If I completely skip