Displaying 20 results from an estimated 300 matches similar to: "A particular shuffling on a vector"
2011 Jan 25
1
Learn Vectorization (Vectorize)
Greetings Friends,
I would be grateful if you can help me undestand how to make my R code more efficiently.
I have read in R intoductory tutorial that a for loop is not used so ofter (and is not maybe not that efficient) compared to other languages.
So I am trying to build understanding how to get the equivalent of a for loop using more R-oriented thinking.
If I got it right one way to do that
2008 Sep 18
2
dovecot 1.1.3 coredump
I found imap core in coredump dir:
(gdb) bt
#0 0x00000000004abdea in message_parse_header_next (ctx=0x79c150, hdr_r=0x7fffffffe478) at message-header-parser.c:114
#1 0x00000000004a8193 in read_header (mstream=0x795330) at istream-header-filter.c:162
#2 0x00000000004a84e7 in i_stream_header_filter_read (stream=0x795330) at istream-header-filter.c:288
#3 0x00000000004bc216 in i_stream_read
2007 Jul 24
1
How to add circular text for a graph with concentric circles
Dear R experts,
I am plotting the population of students who live in a city, and in
successive circular bands made of the contiguous districts that surround
the city. This is a stylized figure, where I specify the area of each
successive circle based on the cumulative population of students. I want
to compare two sets of concentric circles across different populations -
such as 'All
2011 Jul 28
3
Data frame to list
I'm hoping this is an easy problem that I'm missing something obvious. Given:
x=c(1,1,1,2,2,3,3,3)
y=c(1:length(x))
dataframe=data.frame(x,y)
I would like to convert this to a list for use with certain functions,
where each entry of the list is a subsetted dataframe based on
dataframe$x
I can do this "brute force" by a for-next loop:
unique_x=unique(dataframe$x)
2010 Mar 29
3
2.0.beta4, Panic: stream doesn't support seeking backwards
Hi,
got the following with beta4 while uploading messages from a local
mbox to the dovecot server in my LAN, tested with mutt and sylpheed,
the same action works with 1.2.11:
Mar 29 13:42:46 [dovecot] imap(juergen): Panic: stream doesn't support
seeking backwards
Mar 29 13:42:46 [dovecot] imap(juergen): Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0 [0xb76b7ec4] ->
2007 Mar 19
1
data.frame handling
Dear R-users,
I have a little problem that I can't solve by myself.
I have a data frame with 2 factors and 8 observations (see the following
code):
y <- c(1,1,1,2,2,3,3,3)
y <- factor(y)
levels(y) <- c("a","b","c")
x <- c(1,2,3,1,2,1,2,3)
x <- factor(x)
levels(x) <- c("x","y","z")
X <-
2008 Jul 16
2
Group level frequencies
Dear List,
I have Multi-level Data
i= Indivitual Level
g= Group Level
var1= First Variable of interest
var2= Second Variable of interest
and I want to count the frequency of "var1" and "var2" on the group
level.
I found a way, but there must be a much simpler way.
data.ml <-
data.frame(i=c(1:8),g=as.factor(c(1,1,1,2,2,3,3,3)),var1=c(3,3,3,4,4,4,4
,4),
2017 Jan 26
2
Undefined behavior of head() and tail() with n = 0
In addition, signed zeroes only exist for floating point numbers - the
bit patterns for as.integer(0) and as.integer(-0) are identical.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Jan 26, 2017 at 1:53 AM, Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
>>>>>> Florent Angly <florent.angly at gmail.com>
>>>>>> on Wed, 25 Jan 2017
2015 May 13
0
Back to eth shuffling ...
Have you tried having kickstart set up a more appropriate
/etc/udev/rules/70-persistent-net.rules?
This is normally written by /lib/udev/write_net_rules. You should be able
to modify the automatically generated one to match what you need.
K
2015 May 14
0
Back to eth shuffling ...
On 15 May 2015 at 03:51, Ashley M. Kirchner <ashley at pcraft.com> wrote:
> After the machine boots and I look in /root/ksnet-devices, I see the MAC
> addresses for the devices as:
> Port1 -> eth0
> PCIe Card-> eth1
> Port2 -> eth2
>
> And yet, during the machine's POST (which can verify by the PXE boot up of
> each device), it correctly enumerates the
2009 Nov 03
0
[LLVMdev] array index type shuffling in GEPs
On Nov 2, 2009, at 3:30 PM, Jon McLachlan wrote:
> Hey folks,
>
> I am hoping that someone might be able to help me better understand
> this design decision: For a 64 bit target, index's into GEP's of
> arrays are zext up to 64 bit integers, even if the variable itself is
> an alloca of only i32. Similarly, on a 32 bit target, index's into
> GEP's are
2009 Nov 02
2
[LLVMdev] array index type shuffling in GEPs
Hey folks,
I am hoping that someone might be able to help me better understand
this design decision: For a 64 bit target, index's into GEP's of
arrays are zext up to 64 bit integers, even if the variable itself is
an alloca of only i32. Similarly, on a 32 bit target, index's into
GEP's are trunc'd down to 32 bits even if they ultimately reference an
alloc'd
2010 Sep 16
2
shuffling of data
I have a file that reads like this:
Species,Year,Julian_day
Alnus_glutinosa, 1873, 123
Sorbus_aucuparia, 1873, 122
....(more species...)
Alnus_glutinosa, 1874, 134
Sorbus_aucuparia, 1874, 143
....(more species and years)
Is there a way to plot this as julian day over years so that each species
get a different color?
Also is it possible to convert this data into the format:
Alnus_glutinosa,
2004 May 18
4
granulepos start/end revisited
Hi all,
I noticed the following Subversion commit today:
r6719 | xiphmont | 2004-05-18 16:04:53 +1000 (Tue, 18 May 2004) | 11
lines
Updated doc to reflect current proposal...
Not as much a proposal at this point actually; this is the way I'm now
implementing it. Although we're still in the 'RFC'/'look for horrible
lossage' stage, this is close to being
2015 May 15
0
Back to eth shuffling ...
So a 70-persistent-net.rules like
# onboard port 1 -> eth0
ACTION=="add", SUBSYSTEM=="net", BUS=="pci", ID=="0000:00:19.0",
NAME="eth0"
# PCIe card -> eth2
ACTION=="add", SUBSYSTEM=="net", BUS=="pci", ID=="0000:03:00.0",
NAME="eth2"
# onboard port 2 -> eth1
ACTION=="add",
2015 May 13
2
Back to eth shuffling ...
So I'm back to this problem. A quick run down of what the original problem
was:
I have a machine that I'm configuring to use kickstart to setup. It has two
builtin ethernet ports (labeled ports 1 and 2) and I'm adding a third one
on its PCIe bus. Originally I was using an r8169 clone a default kickstart
always put it as eth0 with the builtin ones as eth1 and eth2 respectively.
After
2015 May 15
0
Back to eth shuffling ...
another identical machine will have the same bus ids. that's why this works.
Kahlil (Kal) Hodgson GPG: C9A02289
Head of Technology (m) +61 (0) 4 2573 0382
DealMax Pty Ltd GitHub: @tartansandal
Suite 1416
401 Docklands Drive
Docklands VIC 3008 Australia
"All parts should go together without forcing. You must
2008 Oct 09
5
Panic 1.1.4
Hi List,
try 1.1.4 and have new Panics in Log. Hoped that 1.1.3 finishes this
errors...
Oct 8 21:56:28 dd10636 dovecot: IMAP(username): Loading modules from
directory: /usr/lib/dovecot/imap
Oct 8 21:56:28 dd10636 dovecot: IMAP(username): Module loaded:
/usr/lib/dovecot/imap/lib20_mail_log_plugin.so
Oct 8 21:56:28 dd10636 dovecot: IMAP(username): Effective uid=857, gid=628,
2003 Nov 10
10
shuffling a vector
Hi,
I'me trying to write a function that will shuffle a vector. At the
moment I'm baically making a vector of randomized indices and then
making a new vector from the original one using these random indices.
However, is there an alternative (more elegant) method to do this? I
tried help.search('shuffle') but it does'nt return anything relevant.
Thanks,
2009 Nov 10
1
Implementation of the "Shuffled Complex Evolution" (SCE-UA) Algorithm
Good evening list,
I'm looking for an R implementation of the "Shuffled Complex
Evolution??? (SCE-UA) algorithm after Duan et al. (1993). Does anybody
know if there is an extension/ package existing that contains it?
Thanks very much for your help! Cheers, Simon
Duan QY, Gupta KV, Sorooshian S (1993) Shuffled Complex Evolution
Approach for Effective and Efficient Global Minimization. In