similar to: filling NA gaps according to previous data mean and following data mean

Displaying 20 results from an estimated 4000 matches similar to: "filling NA gaps according to previous data mean and following data mean"

2012 Apr 03
3
filling small gaps of N/A
Hi everybody, I'm a new R french user. Sorry if my english is not perfect. Hope you'll understand my problem ;) I have to work on temperature data (35000 lines in one file) containing some missing data (N/A). Sometimes I have only 2 or 3 N/A following each other, but I have also sometimes 100 or 200 N/A following each other. Here's an example of my data, when I have only small gaps
2008 Dec 28
1
how to get degree according to the name of the node?
Hi all, I have two networks for the same group of the users. I want to compare individual's degree in different networks. But how could I get the degrere of the nodes according to its name? When I use degree(g1), I could only get a vector of the degree of each node. But when I turn to g2, I don't know whose degree it is so I can't match it with the degree(g2). Now I'm trying to
2011 Jun 18
3
Array
Hi, Can someone advise why the followind did not produce the array, given the condition specified? s <- 1 a1 <- array(dim=c(1,4)) a2 <- array(dim=c(2,4)) arr <- ifelse(s==0,a1,a2) Thanks. Muhammad
2012 Jul 02
2
using "na.locf" from package zoo to fill NA gaps
Hi everybody, I have a small question about the function "na.locf" from the package "zoo". I saw in the help that this function is able to fill NA gaps with the last value before the NA gap (or with the next value). But it is possible to fill my NA gaps according to the last AND the next value at the same time? Actually, I want R to fill my gaps with the method of
1999 Nov 10
2
R.bug.report (PR#315)
Again I would like to express my deepest appreciation to all those working so selflessly on the development of R for us all to use it freely (and it is such a joy to use!) Rashid Nassar == Possible bug: 1. boxplot() This is an old behavior that I had reported before, but as it is still there, it may not ba a bug (although it looks like one to me). "qfcut" is numeric, "st"
2000 Jul 10
3
help page typos (PR#599)
A couple of help page typos that I came across: 1. help(sample) Arguments: x: Either a (numeric, complex, character or logical) vector of more than one elements from which to choose, or a positive ^ [element] 2. help(delay) Description: `delay' creates a promise to evaluate the given expression in the
2009 Jun 03
2
Problems with plot and Quartz device (PR#13744)
Full_Name: Thomas Richardson Version: R 2.9.0 GUI 1.28 Tiger build 32-bit (5395) OS: 10.4.11 Submission from: (NULL) (216.254.15.72) I have encountered a problem with points in scatterplots disappearing in a quartz window when it is re-sized (to make it larger). I am constructing an 8x12 matrix of scatterplots each containing approx 600 points. In order to get them in the window I remove the
2015 Feb 24
3
alternatives to do.call() when namespace is attached but not loaded?
Dear R-devel I have a function in a package that essentially provides a wrapper for a group of functions in another Suggested package (it sets appropriate defaults for the context, transforms output, etc). I've implemented this by verifying that the package was loaded with require(sna) and then do.call(snaFunName, args = args) The rDevel check is requesting that I use
2007 Nov 10
1
about R sna package source code
Is anyone know some thing about sna package source code?? I have a question about sna source code, I need some functions in R sna package, so I check the source code. There is a function called efficiency in sna package, but I didn't find the any code about "efficiency", anyone know it? thank you [[alternative HTML version deleted]]
2023 Jan 17
1
dovecot replication - new and cur folders on mx1 and mx2
It might have a noticeable effect on clients. I encountered (probably triggered by this in some way?) that I was unable to het the 'read' bit set in macOS Mail.app. Maybe (as I am doing HA with round robin) the Mail.app client got to one dovecot repository on one tcp connection and then on the other. Is there a reason why syncing tis move from new to cur is a bad idea? Gerben Wierda
2023 Jan 06
3
Re: replicator: Panic: data stack: Out of memory when allocating 268435496 bytes
On January 6, 2023 3:56:39 AM GMT+02:00, Gerben Wierda <gerben.wierda at rna.nl> wrote: >One step further in my quest to create a replacement mail server. > >I now have my old mail server (2.3.19.1, macOS + MacPorts) and my new (2.3.20, Alpine Linux, Docker, apk package). When I turn on replication it works, but, after a while I see: > >Jan 06 00:50:31 replicator: Panic: data
2005 Mar 15
1
How do I call a masked function in a package without a namespace?
Hello, I work with two packages sna and graph from CRAN resp. Bioconductor. Both packages have a function called "degree". Therefore one of the functions is masked by the other and which one gets called depends on the order of loading. The problem is that both package do not have a namespace, therefore calling the masked function with "package::degree" does not work.
2007 May 23
2
installing problems
hi every body. Im new in this program. Im traying to install R in linux suse10.0 in two following form: a) with the file R-2.5.0.tar.gz b) and the rpm file : R-base-2.5.0-2.1.i586.rpm ****** In the first case a) when i uncompressed and type: linux:/opt/R/R-2.5.0 # ./configure the followind message is showed linux:/opt/R/R-2.5.0 # ./configure checking build system type...
2004 Apr 02
3
social network bug! (PR#6729)
Full_Name: Yoon, hye sung Version: 1.8.1 OS: window Submission from: (NULL) (203.255.177.155) > library(sna) Warning message: package sna was built under R version 1.9.0 > What's this message mean?
2009 Jul 14
1
Error installing package sna
Dear R-users, These days, I have been struggling to install the package sna on my Ubuntu 8.04 laptop. My R version is currently R 2.7.2. And I had no trouble installing any other packages (including network). However when I run 'install.packages("sna")', compilation of C codes is ok, but a syntax error is reported when building help pages and sna does not want to install. I
2023 Jan 17
1
dovecot replication - new and cur folders on mx1 and mx2
I can confirm this in a slightly different setting, but still using two-way sync between two dovecots. On e is 2.3.19.1 running on macOS Monterey, the other is 2.3.20 running in an alpine container on Ubuntu. Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>) R&A IT Strategy <https://ea.rna.nl/> (main site) Book: Chess and the Art of Enterprise?Architecture
2009 Jan 21
1
Text Outside Lattice Plot
Dear R users I created the graph at the bottom using xyplot in the lattice package. I added a title using the main="Title" command in xyplot, however it is plotted too close to the legend for my liking. To remedy this I increased the upper margin of the plot using plot(data, position = c(0,0,1,.9)) and attempted to move "SNA" upwards and to the right. I have tried using a
2008 May 29
2
In fact this is a Stats question, but...
Dear All, I'me having (much) trouble understanding why it happened and answering a referee's comment to part of a submitted manuscript. I've tried to google for help but... I'm really confident that although this is a R-Help list someone can help me! I used R to do an ANCOVA w/ RNA/DNA as the dep var, sl as the indep var and gut (a factor w/ levels: prey and empty) as the
2008 Feb 27
1
how to convert a table to adjacency matrix used in social network analysis?
Hi Guys, Do you any one know how to convert a long format table to an adjacency matrix used in sna? The long table looks like p1 p2 counts a b 100 a c 200 a d 100 b c 80 b d 90 b e 100 c d 100 c e 40 d e 60 and I want to convert it to an adjacency matrix which can be used in sna? Any methods will be appreciated! btw, besides sna package, is there any better package can be used in social
2013 May 17
2
zigzag confidence interval in a plot
Dear All, When I plot the values and linear regression line for one data set, it is fine. But for another one I see zigzags, when I plot the confidence interval >cd Depth CHAOsep12RNA 9,94 804 25,06 1476,833333 40,04 1540,561404 50,11 1575,166667 52,46 349,222222 54,92 1941,5 57,29 1053,507042 60,11 1535,1 70,04 2244,963303 79,97 1954,507042 100,31 2679,140625 >