Displaying 7 results from an estimated 7 matches similar to: "Calculate x-values from a spline"
2007 Jun 08
4
match rows of data frame
Hi R-experts,
I have a data frame (A) , and a subset (B) of this data frame. I am trying
to create a new data frame which gives me all the rows of B, plus the 5th
next row(occuring in A). I have used the below code, but it gives me all 5
rows after the matching row. I only want the 5th.
FiveDaysLater <- A[c(sapply(match(rownames(B),rownames(A)), seq,
length=6))),]
Any guidance much
2006 Sep 18
0
Question on apply() with more information...
>From: =?ISO646-US?Q?Gunther_H=3Fning?= <gunther.hoening at ukmainz.de>
>Date: 2006/09/18 Mon AM 06:26:25 CDT
>To: 'Petr Pikal' <petr.pikal at precheza.cz>
>Cc: r-help at stat.math.ethz.ch
>Subject: Re: [R] Question on apply() with more information...
I think you want something like below but it
probably needs some fixing up because i don't recall
the syntax
2006 Jul 21
1
Merge two dataframes of different column length and row length by two columns at a time
Hello,
I have two dataframes of the following structures:
str(a)
`data.frame': 1354896 obs. of 14 variables:
$ V1 : int 0 1 2 3 4 5 6 7 8 9 ...
$ V2 : int 0 0 0 0 0 0 0 0 0 0 ...
$ V3 : int 74 12305 103 12337 46 57 12446 90 12097 79 ...
$ V4 : num 11.8 1529.2 17.8 1579.4 6.7 ...
$ V5 : int 88 11040 104 11557 56 58 11040 74 10991 81 ...
$ V6 : num 15.5 1921.3 20.3
2009 Apr 08
1
Genstat into R - Randomisation test
Hello everybody,
I have a question. I would like to get a correlation between
constitutive and induced plant defence which I messured on 30 plant
species. So I have table with Species, Induced defence (ID), and
constitutive defence (CD). Since Induced and constitutive defence are
not independant (so called spurious correlation) I should do a
randomisation test. I have a syntax of my
2007 Aug 20
1
Q: combine 2 data frames with missing values
Een ingesloten tekst met niet-gespecificeerde tekenset is
van het bericht gescrubt ...
Naam: niet beschikbaar
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070820/920567a6/attachment.pl
2012 Mar 01
1
libguestfs on debian squeeze
Hello all,
I tried unsuccessfully to run libguestfs on debian squeeze (with kernel
from testing) using the packages you provide here:
http://libguestfs.org/download/binaries/debian-packages/.
The output I get from libguestfs-test tool is this:
===== Test starts here =====
LIBGUESTFS_DEBUG=1
TMPDIR=(not set)
libguestfs: new guestfs handle 0x17f32c0
library version: 1.14.0
guestfs_get_append:
2007 Aug 21
2
Partial comparison in string vector
Hi list members
I have a vector of strings
x=c("w","ex","ee")
And I want to get a logical vector showing the positions where my search
string "e" matches the elements partially, i.e. is at least the left-hand
part of the target strings, i.e. I want to get a vector FALSE TRUE TRUE.
Any ideas?
Thanks
Steve Powell
proMENTE social research
research |