similar to: Reassign values based on multiple conditions

Displaying 20 results from an estimated 400 matches similar to: "Reassign values based on multiple conditions"

2013 Mar 29
1
Create values based on a table of conditions
Hi R help forum, I have a simple data frame of four columns - one of numbers (really a categorical variable), one of dates and one of data. I have over 500,000 data points to work with, spread over 40 files, each named after a different animal. These are contact data recorded by proximity loggers over two years between the animals of the file name and collars being worn by other animals. The
2004 Jun 01
1
swapping with data.frame
Hi there, I have some data which are convenient to enter as lists. For example: t1<-list(fname="animal1",testname="hyla",dspkr="left",res1=39.7,res2=15.0) t2<-list(fname="animal1",testname="bufo",dspkr="left",res1=14.4,res2=56.1)
2004 Jan 27
2
Probability for ANOVA
Hi all! I have 4 treatments on 5 animals Treat1 Treat2 Treat3 Treat4 Animal1 36 37 35 39 Animal2 33 34 36 37 Animal3 37 35 33 38 Animal4 34 36 34 35 Animal5 35 36 33 36 I use an Anova and i try to verify calcul So i retrieve: DF SS
2005 Dec 09
1
Residuals from GLMMs in the lme4 package
Hello there This is the first time I have used r-help message board so I hope I have got the right address. I am trying to check the residuals of a GLMM model(run using the package lme4). I have been able to check the residiuals of REMLs in lme4 using the following: m1<-lmer(vTotal~Week+fCollar+ (1|fCat), collars) res<-resid(m1) plot(res) qqnorm(res) library(MASS) par(mfrow=c(2,3))
2003 Jan 22
1
expect connect timeout, but don''t get one
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings I''m having a network problem that I don''t understand. It involves/hinges upon an internal router running the latest Shorewall. We make weather radar control and networking software. Our customers are experiencing a connection timeout, but here in the office we are not. I have some slight suspicions as to why they see a
2010 Oct 28
1
adding copies of rows toa data frame based upon start and end dates
Hello All and thanks in advance for any advice. I have a data frame with rows corresponding radio-collared animals (see sample data below). There is a start date (DATESTART), and end date (DATEEND), and the number of days on air (DAYSONAIR). What I would like to do is add a column called DATE to so that each row ID has a row for every day that the radio collar was on the air while copying all
2005 Sep 27
1
Moaning dog...
Here's one for you phone people.... An elderly lady phoned her telephone company to report that her telephone failed to ring when her friends called - and that on the few occasions when it did ring, her pet dog always moaned right before the phone rang. The telephone repairman proceeded to the scene, curious to see this psychic dog or senile elderly lady. He climbed a nearby telephone pole,
2013 Nov 24
1
create a new dataframe with intervals and computing a weighted average for each of its rows
I need you help with this problem, I have a data-frame like this: BHID=c(43,43,43,43,44,44,44,44,44) FROM=c(50.9,46.7,44.2,43.1,52.3,51.9,49.3,46.2,42.38) TO=c(46.7,44.2,43.1,40.9,51.9,49.3,46.2,42.38,36.3) AR=c(45,46,0.0,38.45,50.05,22.9,0,25,9) DF<-data.frame(BHID,FROM,TO,VALUE) #add the length DF$LENGTH=DF$FROM-DF$TO where: + BHID: is the borehole
2025 Jan 11
1
[PATCH v2] ssh-add: support external parsing of key listing
Jim Knoble wrote in <06004671-E946-4462-9076-5C11D5D46E40 at pobox.com>: |> On Jan 10, 2025, at 11:33, Steffen Nurpmeso <steffen at sdaoden.eu> wrote: |> Fyi there is the >35 years old BSD sysexits.h that unfortunately |> did not become standardized, but is widely available nonetheless. | |If you mean [this sysexits][*], that doesn't seem great for several \
2011 Feb 15
1
[slightly OT] predict.randomForest and type=”prob”
Dear all , I would like to use the function randomForest to predict the probability of relocation failure of a GPS collar as a function of several environmental variables x (both factor and numeric: slope, vegetation, etc.) on a given area. The response variable y is thus success (0)/failure(1) of the relocation, and the sampling unit is the pixel of a raster map. My aim is to build a map
2013 Apr 26
2
Remove reciprocal data from a grouped animal social contact dataset
Hi r-help forum, I have been collecting contact data (with proximity logger collars) between a few different species of animal. All animals wear the collars, and any contact between the animals should be detected and recorded by both collars. However, this isn't always the case and more contacts may be recorded on one collar of the two. This is fine, it depends on battery life and other
2011 Mar 12
0
Repeated measures in nlme vs SAS Proc Mixed with AR1 correlation structure
Hi all, I don't know if anyone has any thoughts on this. I have been trying to move from SAS Proc Mixed to R nlme and have an unusual result. I have several subjects measured at four timepoints. I want to model the within-subject correlation using an autoregressive structure. I've attached the R and SAS code I'm using along with the results from SAS. With R lme I get an estimate of
2003 Oct 01
1
hypergeometric & population estimates
"help" We want to estimate the number of caribou in Jasper. We recently conducted an aerial survey and saw 70 uncollared caribou and 8 of 11 collared caribou. We want to estimate the number of caribou in this population with 95% confidence limits. Gary White uses the hypergeometric distribution and determines the population estimates using maximum likelihood and 95%CL as
2025 Jan 10
1
[PATCH v2] ssh-add: support external parsing of key listing
Corey Hickey wrote in <38d76f8e-0744-4bc5-b6e1-db7197e19ad7 at fatooh.org>: |On 2025-01-10 09:57, Jim Knoble wrote: |>> On Jan 9, 2025, at 19:14, Corey Hickey <bugfood-ml at fatooh.org> wrote: |>> |>> To address this, modify ssh-add to: |>> * [...] |>> * exit with a status of 0 instead of 1 |> |> When Damien wrote: |> |>> Adding
2025 Jan 11
1
[PATCH v2] ssh-add: support external parsing of key listing
Steffen Nurpmeso wrote in <20250111031926.AGltefav at steffen%sdaoden.eu>: |Jim Knoble wrote in | <06004671-E946-4462-9076-5C11D5D46E40 at pobox.com>: ||> On Jan 10, 2025, at 11:33, Steffen Nurpmeso <steffen at sdaoden.eu> wrote: ||> Fyi there is the >35 years old BSD sysexits.h that unfortunately ||> did not become standardized, but is widely available
2006 Jan 30
4
Logistic regression model selection with overdispersed/autocorrelated data
I am creating habitat selection models for caribou and other species with data collected from GPS collars. In my current situation the radio-collars recorded the locations of 30 caribou every 6 hours. I am then comparing resources used at caribou locations to random locations using logistic regression (standard habitat analysis). The data is therefore highly autocorrelated and this causes Type
2025 Jan 10
1
[PATCH v2] ssh-add: support external parsing of key listing
> On Jan 10, 2025, at 11:33, Steffen Nurpmeso <steffen at sdaoden.eu> wrote: > > Fyi there is the >35 years old BSD sysexits.h that unfortunately > did not become standardized, but is widely available nonetheless. If you mean [this sysexits][*], that doesn't seem great for several reasons: 1. "A few programs exit with the following non-portable error codes. Do not
2025 Jan 10
1
[PATCH v2] ssh-add: support external parsing of key listing
On 2025-01-10 09:57, Jim Knoble wrote: > >> On Jan 9, 2025, at 19:14, Corey Hickey <bugfood-ml at fatooh.org> wrote: >> >> To address this, modify ssh-add to: >> * [...] >> * exit with a status of 0 instead of 1 > > When Damien wrote: > >> Adding a new exit status for the >> no-keys-in-agent case would be >> acceptable too I
2018 May 29
2
Yum dependency failure installing latest LibreOffice
I've been bashing my head on the wall for 2 or 3 hours for something that should be (and has been, in the past) simple. Trying to install the latest LibreOffice downloaded from Libreoffice.org. I had 6.0.1.1 and downloaded 6.4.0.2, and kept getting dependency errors: --> Running transaction check ---> Package libobasis6.0-base.x86_64 0:6.0.4.2-2 will be installed ---> Package
2007 Dec 20
5
[PATCH 0/16] lguest: introduce vcpu structure
this patch makes room for the vcpu structure in lguest, already used in this very same way at lguest64. It's the first part of our plan to have lguest and lguest64 unified too. When two dogs hang out, you don't have new puppies right in the other day. Some time has to be elapsed. They have to grow first. In this same spirit, having these patches _do not_ mean smp guests can be launched