Displaying 3 results from an estimated 3 matches for "d_range".
2014 Feb 03
1
seq range argument
...argument "range" be added?
Otherwise I will have to create an object with the range (may come from a longer calculation), index twice from it and remove it again - kind of an unnecessary bunch of code, I think.
Here's an example:
# What I currently do:
D_orig <- rnorm(20, sd=30)
D_range <- extendrange(D_orig, f=0.1)
Ijustneed <- seq(D_range[1], D_range[2], len=100)
rm(D_range)
# what I'd like to have instead:
D_orig <- rnorm(20, sd=30)
Ijustneed <- seq(range=extendrange(D_orig, f=0.1), len=100)
regards,
Berry
-------------------------------------
Berry Boessenko...
2007 Feb 23
1
rc19 - (_view_lookup_uid_range): assertion failed
...purging ~10 messages from INBOX the index's appeared to go into a
broken state. Mail client (Outlook express) reported "unable to read message
flags". Logged messages:
Feb 23 17:34:58 mailget01 dovecot: IMAP(drawkcab at drawkcab.com): file
mail-index-view.c: line 386 (_view_lookup_ui
d_range): assertion failed: (*last_seq_r >= *first_seq_r)
Feb 23 17:34:58 mailget01 dovecot: IMAP(drawkcab at drawkcab.com): Raw
backtrace: imap [0x80b46eb] -> imap [0x80b413
9] -> imap [0x809c6c8] -> imap(mail_index_lookup_uid_range+0x2b) [0x809cd5b]
-> imap(index_storage_get_uids+0x36)
[0...
2011 Mar 17
1
Using barplot() with zoo -- names.arg not permitted?
...rep(pat, names(df))], order.by = df$time))
I then save the start & end timestamps for future reference, and
generate another zoo, this one containing only the percentages from
df_d:
cpu_states <- c("sys", "intr", "user", "nice", "idle")
d_range <- range(index(df_d))
df_pct <- sweep(df_d, 1, apply(df_d, 1, sum), "/")[, paste(oid, cpu_states[1:4], sep = "")] * 100
Well, that is, I save the percentages in which I'm interested.
So far, so good. df_pct is a zoo (as expected, and the content looks
reasonable....