Displaying 20 results from an estimated 600 matches similar to: "looping using combinatorics"
2006 Jul 18
1
Reconfiguring wide frame to long frame
Greetings, fellow R'ers.
How can I get this frame in R:
ID meas ID.1 meas.1
1 1.1 3 1.2
2 2.1 4 2.2
to look like this (stacking):
ID meas
1 1.1
2 2.1
3 1.2
4 2.2
It's not really the reshape function (or is it?) because we can consider
the additional columns, viz., ID.1 and meas.1, as independent of ID and
meas so it is basically a stacking
2006 Oct 29
2
Rgui.exe fix for "console not found" buffer overflow problem
I'm using R on Windows XP Professional SP2.
I figured out the fix for my buffer overflow problem that did not allow me
to use Rgui.exe for about two weeks. I would keep getting "console not
found" and even when I uninstalled and re-installed got the same problem.
Here's how the problem started. In Rgui.exe, I attempted to get more
visible output in the buffer (I wanted
2006 Aug 18
1
Permutations with replacement
Is there a simple function or process that will create a matrix of
permutations with replacement?
I know that using the combinat package
###### begin R code ######
> library(combinat)
> m <- t(array(unlist(permn(3)), dim = c(3, 6)))
# we can get the permutations, for example 3!=6
# gives us
> m
[,1] [,2] [,3]
[1,] 1 2 3
[2,] 1 3 2
[3,] 3 1 2
[4,]
2006 Aug 21
0
Fw: Permutations with replacement
My apologies, I forgot to CC: to the list on my previous communication
with Daniel.
Jesse
----- Forwarded by Jesse Albert Canchola/EMVL/DIAG/US/BAYER on 08/21/2006
10:50 AM -----
Jesse Albert Canchola/EMVL/DIAG/US/BAYER
08/21/2006 09:36 AM
To
"Daniel Nordlund" <res90sx5 at verizon.net>
cc
Subject
RE: [R] Permutations with replacement
Thanks, Daniel. I need to enumerate
2000 May 03
0
Combinatorics for nonparametric tests
For some small sample sizes I would like to exemplify the combinatorics
underlying certain nonparametric tests like Mann-Whitney-Wilcoxon,
Kruskal-Wallis and Spearman's rank correlation. I have written a
function all.perm which delivers all permutations of 1,2,...,n and
which works reasonably well. This can be used to generate P(R=r) of
Spearman's rank correlation:
2006 Mar 06
1
combinatorics again
Hi
I want to enumerate all vectors of length "J", whose elements are
integers in the range 1 to S, without regard to ordering.
With J=S=3, the combinations are as follows:
[,1] [,2] [,3]
[1,] 1 1 1
[2,] 1 1 2
[3,] 1 1 3
[4,] 1 2 2
[5,] 1 2 3
[6,] 1 3 3
[7,] 2 2 2
[8,] 2 2 3
[9,] 2
2006 Oct 13
5
combinatorics
Hi
How do I generate all ways of ordering sets of indistinguishable items?
suppose I have two A's, two B's and a C.
Then I want
AABBC
AABCB
AACBC
ABABC
. . .snip...
BBAAC
. . .snip...
CBBAA
[there are 5!/(2!*2!) = 30 arrangements. Note AABBC != BBAAC]
How do I do this?
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14
2007 Nov 01
1
AsteriskNOW and TDM800P
Hi all
I sold new TDM800P card with 8 FXO ports, someone know if can be use
this card on AsteriskNOW or trixbox?
What can i do for use this card?
Thanks.
----------
RafaelCanchola
Product Development Engineer,
FonetGlobal Inc.
rcm at fonetglobal.com
http://www.fonetglobal.com
Ph. + 52 800 022 10 21 ext. 214
+ 52 442 167 08 00
VoIP 523663899
d00d! cyberalph
-------------- next part
2017 Dec 21
1
develop.raw error ( adimpro )
Hello all,
I'm trying to use the adimpro package to read RAW files (image). Make
readins is OK!
> r <- read.raw( '20171218_210956.dng', type='RAW', compress=FALSE )
> summary( r )
> ### cut the many lines...
Filter pattern: GR/BG
> extract.info( r )
[1] "GR/B"
>
To next, develop the raw file using the "develop.raw" function.
But the
2007 Oct 08
2
inbound call voip providers
Hello:
I want to have a local telephone number that, when the people calls this
number (via mobile or normal PSTN), the voip provider stablishes a SIP
session to my asterisk box.
It is possible?
If yes...
What providers have this service in Europe?
It is difficult to configure and get things working ok?
Will my asterisk box see the mobile or normal PSTN phone# that is calling the
number
2007 Jan 26
3
International Carriers
Hello everyone!
I 've looking for carriers which can terminate my international calls.
They must accept payments from Argentina and give me interconection to
my Asterisk. I'd appreciate your help or recomendations.
Regards.
--
Facundo Ameal.
fameal<at>gmail<dot>com
Linux User #395088
Share your knowledge, use free software.
2008 Oct 26
4
Bug#503556: crashes on geode
Package: xen-hypervisor-3.2-1-i386-nonpae
Version: 3.2.1-2
Severity: important
Hello,
I just played with my new ALIX board (based on AMD Geode) and found
xen is crashing on it. The output of it is attached.
Regards,
Daniel
-- cat /proc/cpuinfo --
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 10
model name : Geode(TM) Integrated Processor by AMD
2010 May 14
1
Elphel's JP4
Hi,
just a small follow up of recent discussions about Elphel's JP4 format.
I'm working with Andrey and fellows from Elphel to improve support for
JP4 format in the context of Elphel's Apertus project
(http://www.apert.us). As posted by Basil, on
http://wiki.elphel.com/index.php?title=JP4 there is plenty of
information about the format and how to post process it to get back
your real
2003 Sep 10
1
scan() problem
Dear R-helpers,
I have to read some large csv-files into R (30 - 100MB).
Since reading with read.csv leads to "memory exhausted", I tried
with scan(), skipping not needed columns by NULL-elements in
"what".
When these skipped elements are quoted strings with commata inside,
R interprets each such quoted comma as element separator
leading to wrong records in the rest of the
2007 Oct 29
3
syslinux.com: sector read error
Hello. I cannot install syslinux on my hard disk image. Steps to
reproduce the problem:
(1) Create a zeroed disk image with 800 tracks, 32 sides, and 63
sectors or 825753600 bytes
(2) Fdisk and format it with "format.com /S C:" from windows 98SE
boot disk.
(3) Copy syslinux (tested version 3.11, 3.20, and latest released) to
root.
(4) Run "lock C:" and press
2012 Apr 18
1
R - fault creating a 3D and contour graph (SIGABRT)
Hello,
when I tried to create 3D graph from attached file (at first: columns 1,
2, and 3 (longitude, latitude, altitude), then columns 1, 2 and 4 , then
the same for column 5 etc) using Akima library for 3D interpolation (the
data are neither equidistant nor regularly distributed), the console
crashed by SIGABRT fault response.
Do you know what is the main problem? Otherwise, can you advise me the
2012 Apr 01
1
extend data frame for plotting heat map in ggplot2
Hi all!
I want to generate a heat map from an all-vs-all comparison. I have the
data, already scaled to 0-1. However, I have the values only for the
comparisons in one way, and not for the comparisons between the same
group (which are always 1), i.e. I have half the matrix and am missing
the other half and the diagonal.
What is a good way to get it into a form that ggplot2 can use for the
2000 Mar 23
4
Printer shares question
Hi,
I checked the archives, but couldn't find this question:
I have two printers set up on my RedHat Linux 6.1 box, called lp0 and lp1 (original, huh?). Anyway, I want both of these printers to be visible
and browsable on the network. I have the following relevant lines in my smb.conf file:
printcap name = /etc/printcap
load printers = yes
[printers]
comment =
2011 Apr 21
3
R CMD Sweave versus Sweave() on Windows
Dear list subscriber,
I am quite puzzled by the behaviour of processing Sweave files within an R session, i.e.
Sweave("foo.Rnw") versus R CMD Sweave foo.Rnw
In the former the environmental variable 'SWEAVE_STYLEPATH_DEFAULT = TRUE' is obeyed (this is set in etc/Renviron.site as well as under the users home directory in .Renviron). That is the hard-coded path to Sweave.sty is
2016 Oct 06
2
Ordenar matriz de datos
Hola.
Tengo la matriz adjunta, en un formato incómodo (dos columnas).-
Quisiera ordenarla, tal que resulten 9 variables (columnas) con los
siguientes valores, que actualmente están en la V1, repetidos 21 veces:
Leading
Companies
Sales (M AR$)
Market %
Total Growth
Mature Portf
New Products
Extensions
Leading
Lógicamente, en los filas quisiera los valores que actualmente están en la
V2.-
?No logro