Displaying 20 results from an estimated 4000 matches similar to: "nesting vectors in a dataframe"
2012 Jan 18
2
Table Intersection
I've got two tables....
first one(table1):
ID chrom start end
Ex1 2 152 180
Ex2 10 2000 2220
Ex3 15 3000 4000
second one ( table2):
chrom location name
2 160 Alv
2 190 GNN
2 100
2008 Oct 06
0
Computing on the language redux
Warning: This is only for those interested in R language minutiae
A recent post on this list asked if there was a simple way to change the R
language object:
ex1 <- expression(x < a) ## just the part to the right of the <- assignment
to the object
expression( x < a & y < b) ## or something like this
Phil Spector showed how to do this by essentially deparsing and reparsing
1997 Nov 03
1
R-alpha: expression(..) objects -- c(ex1, ex2) `fails'
When investigating the
legend(x,y, expression ( <math>, <math> ), ....)
[as suggested by Jim Lindsey],
I once again stumbled over the fact that expression objects behave somewhat
``wierdly'', IMHO.
We can have expressions of length(.) > 1, and access elements of these like
list elements.
However, other natural things don't work with expressions; some example
2010 Sep 27
1
bwplot superpose panel.points from another dataframe
Hi everybody,
using bwplot for producing panel boxplot with 3 dimensions
i want to add a mark on each boxplot representing one individual (on all its
dimensions)
till now, i didn't succeed getting the desired solution
I want as well to keep the median symbols as a line
Many thanks for your help
christophe
here is the tested code:
########################
library(lattice)
ex <-
2018 Feb 15
1
RV: Problem_graphic
Hi everyone,
I am beginner using R but I try to learn more.
I need this graphic or similar but instead of tropical and temperate are three ontogenetic states
Larva Met Juv
CTMAX
CTMIN
SP SP SP
This is my scrip:
Ex = subset(Expr, Outlayer=="N")
Ex2 = subset (Ex, S0 == 1)
Ex3
2010 Oct 13
1
bwplot change whiskers position to percentile 5 and P95
Dear R-community,
Using bwplot, how can I put the whiskers at percentile 5 and percentile 95,
in place of the default position coef=1.5??
Using panel=panel.bwstrip, whiskerpos=0.05, from the package agsemisc gives
satisfaction, but changes the appearance of my boxplot and works with an old
version of R, what I don’t want, and I didn’t find the option in
box.umbrella parameters
Many thanks
2009 Feb 24
1
R parser for If-else
Hi list,
I don't know if somebody has spent a lot of time debugging strange
problems with if else positioning - the parser seems to recognize only
the syntax bellow - this is the only way of making these pieces of
code to work.
As far as i'm concerned, no examples were available (it would be so
awesome to have them in the introductory manual!)
#Try to change the placement of the
2015 Feb 05
5
[LLVMdev] RFC: Recursive inlining
Hi,
The other day on IRC myself, Chandler, Hal and Pablo discussed recursive
inlining. I've pondered a bit since then, and thought I'd get some
background on the list with the aim of stimulating discussion.
Our goal is to inline recursive functions. We have several workloads with
recursive calls, and inlining them to a certain degree can improve
performance by up to 30%.
Inlining
2023 Jun 07
1
[External] Re: ctrl -c while executing --progress --size-only --partial results in unhidden but incomplete file
Rsync has no memory of what other instances of rsync have done in the
past. An existing file with a different name is of no interest to it
unless --delete in which case it would be deleted. Maybe what you
really want is --partial-dir?
On 6/7/23 16:17, Lacey, Nathan wrote:
> I'm suggesting a partial file that isn't hidden is worse.
> Because any other app looking at the file
2004 Jun 25
1
understanding nlm
Hi,
I am using the nlm() function to fit the following exponential function to
some data by minimizing squared differences between predicted and observed
values:
csexponential<- function(x, t1, ti, p){
ti + abs(t1 - ti)*(exp(-(p*(x-1))))
}
As background, the data is performance measured across time. As you might
imagine, we get rapid improvement across the first couple of time points
2006 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
Here are my patches to add extra shapes to the annotate
plugin. I have also added dbus support and made a few things
configurable.
The new tools available are Line, Rectangle and Circle, the
original is called Brush. There is no selection line at the
moment because I do not understand OpenGL yet. Hopefully
these patches can be added and something added later.
There is an extra action called
2015 Feb 05
5
[LLVMdev] RFC: Recursive inlining
Hi Hal,
> As we had briefly mentioned on IRC, one way of forming this 'stack', and
its associated 'cnt' variable, is to use dynamic stack allocation.
I hadn't really reached a decision on the mechanics yet. However, your
suggestion while it can work within the current abilities of the IR, has
the disadvantage that it is using an extra stack slot for the link pointer.
I
2006 Apr 06
3
skipping rows in trellis key
Hi,
I would like to add a key to my trellis plot using draw.key. Here is what I
want:
3 x 6 key where the first row is a header.
row 1: empty, "S-R Mapping", "R^2"
row 2: pch=17, "Color", 0.951
row 2: pch=17, "Shape", 0.934
ect...
The problem is that I would like the cell in the upper left corner to be
empty (a placeholder) with the remaining
2000 Apr 28
0
Problems setting up Samba (nmbd) as multi-subnet router
Hi,
i have a network with one machine acting as master router with
2x4-Port-Ethernet-Cards in it - running nmbd!
There are two Windows-Workgroups, WRK1 and WRK2 in each there are
Windows-Exchange-Servers EX1, EX2. In WRK2 the PDC is on EX2, in WRK1 there
is a standalone PDC, PDC1.
Every network is a full 255 IP-Network.
192.168.40.1 WRK1 EX1 (192.168.40.40) PDC1 (192.168.40.42)
192.168.41.1
2007 Jan 04
1
problem with function 'optimise' (PR#9438)
Full_Name: Karsten Krug
Version: 2.4.0
OS: Open Suse 10.0, Windows XP
Submission from: (NULL) (88.134.13.50)
I found a problem in the 'optimise' function for one dimensional optimisation.
Example 1:
Try to find a maximum of the function below with the use of 'optimise' in the
interval [0,0.5]. The function follows a parabola and has two local maxima
located at the margins of
2015 Feb 18
5
[LLVMdev] RFC: Recursive inlining
Hi,
Apologies for the very late response.
We have manually tried the idea with a very simple Fibonacci sequence code. While being very very simple, the recursion cannot be handled by TRE. Because there are two recursive callsites, it also needs to keep some sort of state across iterations of the "while(stack not empty)" loop.
We get between 2.5 and 8x slowdowns depending on which
2013 Nov 16
2
[LLVMdev] struct with signed bitfield (PR17827)
On 2013 Nov 15, at 19:41, Mark Lacey <mark.lacey at apple.com> wrote:
> I don’t have the C/C++ standards in front of me but IIRC whether a char/short/int/long/long long bitfield is signed or unsigned is implementation defined. You need to explicitly specify signed or unsigned in order to have any guarantee of the signedness, e.g. signed int.
Section 3.9.1 of the C++11 standard [1]
2006 Aug 15
0
Help with workaround for: Function '`[`' is not in thederivatives table
Earl F. Glynn asks:
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Earl F. Glynn
> Sent: Tuesday, 15 August 2006 8:44 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Help with workaround for: Function '`[`' is not in
thederivatives table
>
> # This works fine:
> > a <- 1
2013 Nov 16
0
[LLVMdev] struct with signed bitfield (PR17827)
C says that plain bit-fields could be either signed or unsigned. C++
removed this allowance in core issue 739:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#739
On Sat, Nov 16, 2013 at 1:55 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
> On 2013 Nov 15, at 19:41, Mark Lacey <mark.lacey at apple.com> wrote:
>
> > I don’t have the C/C++
2013 Jul 18
4
[LLVMdev] About LLVM switch instruction
Hi Mark,
This will workaround the problem of "default" branch restriction on
the switch instruction. The trouble with this technique is that it
will trump later optimization phases such as constant propagation.
When a block was part of a case, because of the knowledge of the case
value, the block was a candidate for better optimization. However,
when we move the body of the case into