similar to: help with loop over data frame

Displaying 20 results from an estimated 10000 matches similar to: "help with loop over data frame"

2007 Mar 28
2
aggregating data with Zoo
Is there a way of aggregating 'zoo' daily data according to day of week? eg all Thursdays I came across the 'nextfri' function in the documentation but am unsure how to change this so any day of week can be aggregated. I have used POSIX to arrange the data (not as 'zoo' series) according to day of week, but am curious if I've missed if a similar option available
2007 Feb 22
2
Is there better alternative to this loop?
Dear List, Thanks to those who helped with my enquiry a few days ago. I have a another question on loops, in this case I am trying to print out the row of a data frame if the previous 3 values (daily values) in col5 are in descending order. I have this loop which works, but ask whether this can be done differently (without conventional loop) in R: flag="T" d= 3 # d represents
2006 Dec 10
1
using zoo for daily stock prices
Hi all, Please forgive this newbie posting to the list for the first time if I haven't followed proper procedure. I have read through many of the archives and find them most useful in learning R. I have ten years daily data (stock closing prices) which I read in zoo format. I am having problems coding R to run a count of how many days in each month have a price higher than the first day
2007 May 28
2
Yearly statistics
Dear R-experts, Sorry if I've overlooked a simple solution here. I have calculated a proportion of the number of observations which meet a criteria, applied to five years of data. How can I break down this proportion statistic for each year? For example (data in zoo format): open high low close hc lc 2004-12-29 4135 4135 4106 4116 8 -21 2004-12-30 4120 4131
2007 Feb 22
1
how to show date with this subset
Dear List, Thankyou to Jim and Marc for their help on my previous question. I have a data frame of five columns, the first being a list of dates and the other four columns are numeric values. I wanted to list the days where all 4 columns of values are less than in the previous row. I used the following which works fine, except it doesnt show the dates for each row (the values from column 1).
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
2007 Mar 02
1
extracting data from zoo series
Dear List, Sorry if I'm overlooking something simple here but I have gotten a bit tangled. I am trying to print the next five values(with their dates), which occur after a certain condition is met. I have a series of data in zoo format, call it "A". From this series I have created a subset (also in zoo format) based on a certain condition, call this series "B". I
2007 Jun 01
1
aggregate in zoo
Hi R-experts, Thanks very much to Jim Holtman and Gabor on my previous question. I am having another problem with data manipulation in zoo. The following is data (Z) for first business day of every month in zoo format. I am trying to get mean of "open" for each year. I subset Z <- Z[,2] then > sapply(split(Z, format(index(Z), "%Y")),mean) I get error message:
2004 Feb 17
3
parse error in GLMM function
Hi R-Helpers: I?m trying to use the function GLMM from lme4 package, (R-1.8.1, Windows 98),and I get the following error: > pd5 = GLMM(nplant~sitio+ + fert+ + remo+ + sitio:fert+ + remo:sitio+ + remo:fert+ + remo:fert:sitio + data=datos, + family=binomial, +
2002 Jun 06
4
Linux and Printing via smbprint
Hi there Looking at the archives I didn't find a solution to the following problem we have here: Printing from our linux-server (wagner) to an intel printserver (PS652D8F) doesn't work. Here's the stuff we know/tried: wagner:~ # smbclient -L //PS652D8F -N added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0 Got a positive name query response from 10.0.0.40 ( 10.0.0.40
2011 Aug 20
16
question on delta transfer
Hello, Anybody have experience on this matter? "If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist" Please reply Thank you, Remo Angeloni ********************************************************************************************** *** PRIVILEGED AND
2020 Mar 18
3
Headsup on feature removal
So I am on of the many users with qmail, and using vpopmail auth, I guess chatting with some other guys in the other mailing list we will convert to mysql driver but this is a lot of work for many people. I do understand dropping things out but a valid solutions needs to be proposed. Remo > On Mar 18, 2020, at 06:49, Michael Peddemors <michael at linuxmagic.com> wrote: > >
2019 Sep 07
4
Multiple certificate option
What is the best way to adopt multiple certs? Thanks.
2019 Aug 23
2
Problem with sync user account from Samba Master to Samba Slave
Hello, i?ve Samba 4.7 with domain controller with 3 servers, 1 master (samba-ad) and two slaves (samba-slave1) and (samba-slave2). The problem is when create user account from "samba-ad? this account not sync to slave, but i create the account on "samba-slave1" or "samba-slave2? this is sync on all server. Samba version [???????.] root at samba-ad:~# samba -V Version
2014 Feb 13
3
Emne: Eaton Powerware 5110 - some stats not reported
Hi On http://nutwiki.kanonbra.com/wiki/Category:Eaton_Powerware_5110 you can see what is reported. The unreleased part refers to v2.7.1, which is now released. Alf Greg Vickers <daehenoc at iinet.net.au>: >Hi all, > >I've hooked up an Eaton Powerware 5110 to Ubuntu 13.10 server, and >configured nut appropriately. The cgi scripts are working fine, but on
1998 Jun 30
1
Re: A switch? A router? What am I
At 09:52 AM 6/30/98 -0500, you wrote: >A switch can be used as a security device. Many of the newer switches can be >configured to support multiple VLANs which prohibit machines on one VLAN [...] You know, I considered talking about vlans when I started writing up definitions. But I figured that if the guy didn''t know what a switch was, a vlan would just further confuse him.
2014 Feb 15
0
Emne: Eaton Powerware 5110 - some stats not reported
2014-02-13 6:55 GMT+01:00 Alf H?gemark <alf at i100.no>: > Hi > Hi Alf, > On > http://nutwiki.kanonbra.com/wiki/Category:Eaton_Powerware_5110 cool thing! But duplicating the NUT Device Dumps Library [1]. The DDL can also serve both users and developers purposes, by providing these dumps as .dev files (usable with dummy-ups). I'm looking for someone to help me completing
2006 Jun 23
2
Time series labeling with Zoo
Hi, I'm using zoo because it can automatically label the months of a time series composed of daily observations. This works well for certain time series lengths, but not for others, e.g.: While: > library(zoo) > plot(zoo(runif(10), as.Date("2005-06-01") + 0:50)) Shows up the months and day of month, > plot(zoo(runif(10), as.Date("2005-06-01") + 0:380))
2004 May 16
2
cdr-csv / Zaptel BRI / full number not stored (missing leading zeroes)
Hi, I'm using a ZaptelBRI card. It works fine. But I have a small problem with call logs. The leading zeroes of the external calling party are not stored (e.g. : 0140302010 will be stored as 140302010). Same for international numbers for which "00" will be stripped out. I would not mind if the cdr record would give me an indication of the call's origin (national or
2019 May 25
3
Hello some help on login users saying it's disabled
Hello I am experiencing some strange issue with the dovecot, the web round cube works fine but when I try to connect with an iPhone over IMAP IMAPs it tells me that the account is disabled. Please advice here is what I see in the logs: May 25 14:30:32 imap-login: Info: Aborted login (no auth attempts in 0 secs): user=<>, rip=172.10.163.251, lip=208.53.44.237,