Displaying 20 results from an estimated 1000 matches similar to: "sampling rows from a list"
2008 Jun 23
2
Pairwise Partitioning of a Vector
Hi,
How can I partitioned an example vector like this
> print(myvector)
[1] 30.9 60.1 70.0 73.0 75.0 83.9 93.1 97.6 98.8 113.9
into the following pairwise partition:
PAIR1
part1 = 30.9
part2 = 60.1 70.0 73.0 75.0 83.9 93.1 97.6 98.8 113.9
PAIR2
part1 = 30.9 60.1
part2 = 70.0 73.0 75.0 83.9 93.1 97.6 98.8 113.9
....
PAIR9
part1 = 30.9
2010 Aug 01
3
Constructing arguments for plotmath
Colleagues,
I am encountering difficulty adding formatted text to a graphic. Specifically, I want to add a superscript in the middle of a text string but I would like to format the text string on the fly. The commands:
plot(1,1)
ARG <- bquote('TEXT'^'\u00ae')
mtext(ARG, line=-2, side=1)
yield the desired output.
However, my goal is to paste together a string, then pass
2012 Apr 13
5
Merging two data frames with different columns names
I am trying to merge two data frames, but one of the column headings are
different in the two frames. How can I rjoin or rbind the tho frames?
Johnny
# Generate 2 blocks by confounding on abc
d1 <- conf.design(c(1,1,1), p=2, block.name="blk", treatment.names =
c("A","B","C"))
d2 <- conf.design(c(1,1,1), p=2, block.name="blk",
2012 May 14
4
Data read as labels
Hey guys,
i have a strange problem reading a .csv file.
Seems not to be covered by the usual read.csv techniques.
The relevant data i want to use, seems to be saved as the label of the data
point.
Therefore i can not really use it
spec<-"EU2001"
2008 Mar 20
2
[LLVMdev] arm code generation
Hello,
I'm trying to do the following and encountering problems with the
generated arm assembly code:
I've got an application in two parts that i've compiled into llvm
bitcode using:
llvm-gcc -emit-llvm -c part1.c -o part1.bc
llvm-gcc -emit-llvm -c part2.c -o part2.bc
Then I link them together:
llvm-ld part1.bc part2.bc -o combined.bc
Now I use the ARM backend via llc to
2008 Sep 02
1
R Newbie: quantmod and zoo: Warning in rbind.zoo(...) : column names differ
Hello;
I am trying following but getting a warning message : Warning in
rbind.zoo(...) : column names differ, no matter whatever I do.
Also I do not want to specify column names manually, since I am just
writing a wrapper function around getSymbols to get chunks of data
from various sources - oanda, dividends etc.
I tried giving col.names = T/F, header = T/F and skip = 1 but no help.
I think
2009 Nov 01
2
CentOS Mirrored On RapidShare [Links Here]
Hey List,
Firstly I am sorry for the length of this email and that you are all
having too receive it but the point is that this email will now go
into the archive and be indexed by Google (hopefully) and thusly,
people will be able to find these links through Google. My goal is to
mirror CentOS on RapidShare. "Why you fool there are loads of
mirrors?" you might ask; simply for
2008 Jun 23
1
How to access data structure (List of List)
Hi,
I have this kind of output.
> str(nw)
List of 3
$ :List of 2
..$ part1: num 30.9
..$ part2: num [1:78] 60.1 70.0 73.0 75.0 83.9 ...
$ :List of 2
..$ part1: num [1:2] 30.9 60.1
..$ part2: num [1:77] 70.0 73.0 75.0 83.9 93.1 ...
$ :List of 2
..$ part1: num [1:3] 30.9 60.1 70
..$ part2: num [1:76] 73.0 75.0 83.9 93.1 97.6 ...
My question are:
1. What kind of data structure
2017 Nov 10
3
Postlogin script
"j.emerlik" <j.emerlik at gmail.com> writes:
> I would like to prepare postlogin a script that allow imap connection to
> roundcube for all but restrict imap access for selected users.
"from" roundcube?
> Is possible in condition IF use IP addresses as range or with mask (because
> I've more than one web servers) ?
Of course -- many ways to skin this
2013 Jan 22
1
Concatenate two lists, list by list
Dear all,
I would like to concatenate the lists below
str(Part2$dataset)
List of 3
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
str(Part1$dataset)
List of 3
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
$ : num [1:16001] 0 0 0 0 0 0 0 0 0 0 ...
I tried concatenating
2011 Jan 27
1
Errors in Integrate
Hello,
I have written the function I would like to integrate in two ways:
denfxn <- function(yy,vv,a2,b2,mu2) {
pp <- 1-pnorm(yy/sqrt(vv))
part1 <- pp^(a2-1)
part2 <- (1-pp)^(b2-1)
part3 <- dnorm(yy,mu2,sqrt(vv))
return(part1*part2*part3) }
denfxnorg <- function(yy,vv,a2,b2,mu2) {
pp <- 1-pnorm(yy/sqrt(vv))
pp <- if (pp < .001) .001
else
2021 Jul 05
3
Problems with CentOS 8 kickstart
On Mon, 5 Jul 2021 at 07:15, Hooton, Gerard <g.hooton at ucc.ie> wrote:
>
> Hi All,
> I am having problems with a kickstart install of CentOS 8
> When I try to do a completely automated install using PXE/UEFI it get to the point where it reads the kickstart config file.
> Then I see the following message
> "kickstart install Started cancel waiting for multipath
2006 Dec 06
5
LVM & volume groups
Can anybody tell me if it makes a difference if domU''s have separate LVM
volume groups?
For instance, the Xen User Manual
( http://tx.downloads.xensource.com/downloads/docs/user/#SECTION03330000000000000000) says, when setting up a domU''s disks with LVM, to do a
vgcreate vg /dev/sda10
Should each domU have it''s own volume group, or can all the domU''s share
2010 Dec 21
2
[PATCH] chain.c32: support chainloading GRUB2 core.img
Here is a patch that makes it possible to chainload GRUB2 core.img form
chain.c32.
It reuses the grub= parameter (used for chainloading GRUB Legacy stage2):
- both loaded at 0x8000
- start execution at offset 0x200 (0x8200 in memory)
GRUB2 allows to specify another "GRUB home dir" than the standard /boot/grub
GRUB2 doesn't allow to change the configfile 'grub.cfg' name
2021 Jul 05
1
Problems with CentOS 8 kickstart
Hi All,
I am having problems with a kickstart install of CentOS 8
When I try to do a completely automated install using PXE/UEFI it get to the point where it reads the kickstart config file.
Then I see the following message
"kickstart install Started cancel waiting for multipath siblings for nvme0n1"
This is what I have in the kickstart file
# Clear the Master Boot Record
zerombr
#
2015 Aug 14
1
how do I stop automount of Hitichi Lifestudio USB drive
On Fri, 2015-08-14 at 12:39 -0500, Michael Hennebry wrote:
> On Thu, 13 Aug 2015, Leon Fauster wrote:
>
> > Could you provide more context information?
> > Appliance setup, Dekstop setup, server setup?
> > There exist a lot scenarios where something
> > happen automagically?
>
> It's a Chimera Desktop 2014.
> More specifically, I bought the case, the
2003 Aug 27
2
vcut breaks song index ? XMMS search fails
Hello
I have experienced some problems with vcut
(media-sound/vorbis-tools-1.0-r1 package from Gentoo/Linux).
I have a long live record I have encoded in OGG (maybe it would have
been easier to cut the WAV file and encode the parts, but still). The
file was encoded with oggenc from the same package as vcut.
I have therefore tried to use vcut to split the long OGG file in
several smaller files.
2014 Mar 15
2
PATCH: OS SSE support detection, version 2
Erik de Castro Lopo wrote:
>> About part 1:does it have any problems? I can split it into several patches
>> (1 fix = 1 patch) or explain the changes in it in detail.
>
> I didn't apply patch1 because I mis-read your comment here:
>
> http://lists.xiph.org/pipermail/flac-dev/2014-March/004582.html
>
> So, for the patches in this email:
>
>
2009 Jun 21
1
Xen boots to blank screen
It seems like there are several messages in the archive and in various
forums about this problem, but I do not see a clear course of action for how
to solve it. I am relatively new to Linux, compounding my problem. I just
built a new machine for the express purpose of running Xen so my girlfriend
and I could experiment and learn about different Linux distros. I am running
on an Intel DG35EC
2009 Jan 02
2
problem with custom funcion
Hello!
I''ve written custom function split - it''s located in modules/common/
plugins/puppet/parser/functions/split.rb and contains:
module Puppet::Parser::Functions
newfunction(:split, :type => :rvalue) do |args|
str=args[0]
regex=args[1]
idx=args[2]
out=str.split(/#{regex}/)
if out.is_a? Array
out[idx]
else
""
end