Displaying 20 results from an estimated 100 matches similar to: "Aggregate?"
2006 May 10
3
Unique?
Hello,
I have sample data set that looks like:
YEAR MONTH DAY CONTINUE SPL TIMEFISH
TIMEUNIT AREA COUNTY DEPTH DEPUNIT GEAR TRIPID
CONVUNIT
1992 1 26 1 SP0073928 8
H 7 25 4 NA 1000000
02163399054 161
1992 1 26 1 SP0073928 8
H 7 25 4 NA 1000000
02163399054 8
1992 1 26 2 SP0004228 8
H 7 25 4 NA 1000000
02163399054 161
1992 1 26 2 SP0004228 8
H 7 25 4 NA 1000000
02163399054 8
1992
2012 Apr 03
2
Grouping and/or splitting
I have a dataframe imported from csv file below:
Houseid,Personid,Tripid,taz
1,1,1,4
1,1,2,7
2,1,1,96
2,1,2,4
2,1,3,2
2,2,1,58
There are three groups identified based on the combination of first and
second columns. How do I split this data frame?
I tried
aa <- split(inpfil, inpfil[,1:2])
but it has problems.
Output desired is
aa[1]
Houseid,Personid,Tripid,taz
1,1,1,4
1,1,2,7
aa[2]
2008 Oct 30
1
Trying to "expand" some data - Newbie needs help
I want to calculate "expansion factors" for elements in my dataframe
based on a 2-d cross classification. Since I'll have "missing values"
(many combinations will have no record) I'll need a second "expansion
factor" for each "row". I've included my "work to date" below, but I'm
not very close to getting this right.
My
2012 Jun 08
1
noob requesting help
I'm fairly new to R and still learning how to use it. I could really use some
help with the following problem.
I have a huge .csv file containing thousands of measurements on 34 different
birds. Measurements include longitude, latitude, altitude, speed, time, etc.
All birds have a different number (ranging from 121 to 542). All
measurements have a tripID (1 for the first trip of every bird, 2
2012 Jul 13
1
R combining many vectors of predictable name into one date frame
G'day R (power) users,
I have a many vectors, called:
ib1
ib2
ib3
...
ib100
and I would like them in one data frame (df) such that:
> df
ib1 ib2 ib3 ib4 ..... ib100
x x x x x
x x x x x
x x x x x
I have attempted:
hold.list <- list(objects(pattern="ib"))
df <- data.frame(hold.list)
but that
2013 Mar 13
3
Assign the number to each group of multiple rows
Dear R users,
My data have repeating "beh" parameter : 1 or 2 - type of animal behavior
in subsequent locations. I need to assign unique number to each sequence of
locations.
My data is:
>data=data.frame(row=seq(1:10),beh=c(1,1,1,2,2,2,1,1,2,2))
>attach(data)
>data
row beh
1 1 1
2 2 1
3 3 1
4 4 2
5 5 2
6 6 2
7 7 1
8
2006 May 16
3
subset
Hello everyone,
I have a large dataset (x) with some rows that have duplicate variables
that I would like to remove. I find which rows are the duplicates with
X1<-which(duplicated(x)). That gives me the rows with duplicated
variables. Now, how can I remove just those rose from the original data
frame. I think I can create a new data frame without the duplicates
using subset. I have tried:
2012 Apr 03
1
Compare by row and insert previous row value (Or non Time Series Lag)
I have the following sample dataset (CSV input here:http://goo.gl/YR8LP.
CSV output here: http://goo.gl/EFCC8) which I want to transform as follows.
For each person in a household I want to create two new variables OrigTAZ
and DestTAZ. It should take the value in TripendTAZ and put that in
DestTAZ. For OrigTAZ it should put value of TripendTAZ from the previous
row. For the first trip of every
2009 Feb 22
11
Confused about zfs recv -d, apparently
First, it fails because the destination directory doesn''t exist. Then it
fails because it DOES exist. I really expected one of those to work. So,
what am I confused about now? (Running 2008.11)
# zpool import -R /backups/bup-ruin bup-ruin
# zfs send -R "zp1 at bup-20090222-054457UTC" | zfs receive -dv
bup-ruin/fsfs/zp1"
cannot receive: specified fs (bup-ruin/fsfs/zp1)
2013 Sep 02
1
R dataframe and looping help
HI,
You may try this:
dat1<- read.table(text="
CustID TripDate Store Bread Butter Milk Eggs
1 2-Jan-12 a 2 0 2 1
1 6-Jan-12 c 0 3 3 0
1 9-Jan-12 a 3 3 0 0
1 31-Mar-13 a 3 0 0 0
2 31-Aug-12 a 0 3 3 0
2 24-Sep-12 a 3 3 0 0
2 25-Sep-12 b 3 0 0 0
",sep="",header=TRUE,stringsAsFactors=FALSE)
dat2<- dat1[,-c(1:3)]
res<- lapply(seq_len(ncol(dat2)),function(i)
2006 Apr 01
1
CEEA:2006:0215-001 CentOS 4 i386 Update System Enhancement
CEEA:2006:0215-001 CentOS 4 i386 Update System Enhancement
This Enhancement Update is to create a new mirrorlist update system to
create a much better user experience with a dynamic update system with
fail-over capability. Please see this announcement for details:
http://www.centos.org/modules/news/article.php?storyid=118
The following packages are updated and syncing to the mirrors:
i386:
2012 Dec 25
3
[Bug 2016] SCTP Support
https://bugzilla.mindrot.org/show_bug.cgi?id=2016
proler at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |proler at gmail.com
--- Comment #1 from proler at gmail.com ---
on freebsd:
with this patch i cant connect with sctp to v6-only host.
v4
2006 Dec 04
1
Count cases by indicator
Hi,
In the data below, "case" represents cases, "x" binary states. Each
"case" has exactly 9 "x", ie is a binary vector of length 9.
There are 2^9=512 possible combinations of binary states in a given
"case", ie 512 possible vectors. I generate these in the order of the
decimals the vectors represent, as:
2006 Feb 18
0
CentOS-announce Digest, Vol 12, Issue 10
Send CentOS-announce mailing list submissions to
centos-announce at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-request at centos.org
You can reach the person managing the list at
centos-announce-owner at centos.org
When
2011 Apr 20
0
CEBA-2011:0216 CentOS 5 x86_64 vnc Update
CentOS Errata and Bugfix Advisory 2011:0216
Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-0216.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
x86_64:
95a33840c4dfdafde335b03093c5c678 vnc-4.1.2-14.el5_6.6.x86_64.rpm
228eaec0c7f9df994b6100118c80240a vnc-server-4.1.2-14.el5_6.6.x86_64.rpm
Source:
2011 Apr 20
0
CEBA-2011:0216 CentOS 5 i386 vnc Update
CentOS Errata and Bugfix Advisory 2011:0216
Upstream details at : https://rhn.redhat.com/errata/RHBA-2011-0216.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( md5sum Filename )
i386:
f95e008550abd457c7e3ef2692c83f4e vnc-4.1.2-14.el5_6.6.i386.rpm
7a8edb4e600f3235e19156af8a6b80b7 vnc-server-4.1.2-14.el5_6.6.i386.rpm
Source:
2016 Feb 17
0
CEBA-2016:0216 CentOS 7 pacemaker BugFix Update
CentOS Errata and Bugfix Advisory 2016:0216
Upstream details at : https://rhn.redhat.com/errata/RHBA-2016-0216.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
x86_64:
5834d1560baaac22dc10cbce3c2947e83f4f5b2057faead425242dcf5cf5f48e pacemaker-1.1.13-10.el7_2.2.x86_64.rpm
2006 Apr 01
0
CEEA:2006:0216-001 CentOS 4 x86_64 centos-yumconf Enhancement - update
CEEA:2006:0216-001 CentOS 4 x86_64 centos-yumconf Enhancement - update
Due to a request made on the CentOS mailing list, we modified the update
system to listen on both port 80 and 81 for mirrorlist.centos.org and
serve mirrorlists for updates.
The default CentOS-Base.repo file in centos-yumconf has now been
modified to connect via port 80 instead of port 81 to retrieve
mirrorlists.
The
2006 Apr 01
0
CEEA:2006:0216-001 CentOS 4 ia64 centos-yumconf Enhancement - update
CEEA:2006:0216-001 CentOS 4 i386 centos-yumconf Enhancement - update
Due to a request made on the CentOS mailing list, we modified the
update
system to listen on both port 80 and 81 for mirrorlist.centos.org and
serve mirrorlists for updates.
The default CentOS-Base.repo file in centos-yumconf has now been
modified to connect via port 80 instead of port 81 to retrieve
mirrorlists.
The following
2006 Apr 01
0
CEEA:2006:0216-001 CentOS 4 axp centos-yumconf Enhancement - update
CEEA:2006:0216-001 CentOS 4 centos-yumconf Enhancement - update
Due to a request made on the CentOS mailing list, we modified the
update
system to listen on both port 80 and 81 for mirrorlist.centos.org and
serve mirrorlists for updates.
The default CentOS-Base.repo file in centos-yumconf has now been
modified to connect via port 80 instead of port 81 to retrieve
mirrorlists.
files: