Displaying 20 results from an estimated 900 matches similar to: "Merging Irregular Time Series With NAs"
2017 Apr 12
3
"table(droplevels(aq)$Month)" in manual page of droplevels
The last line of the example in droplevels' manual page seems to be incorrect to me. I think it should read: "table(droplevels(aq$Month))". Amazingly (I don't understand) both variants seem to produce the same result (R 3.3.3):
---
> aq <- transform(airquality, Month = factor(Month, labels = month.abb[5:9]))
> aq <- subset(aq, Month != "Jul")
>
2017 Jun 26
2
Odd behaviour in within.list() when deleting 2+ variables
The behaviour of within() with list input changes if you delete 2 or more variables, compared to deleting one:
l <- list(x=1, y=2, z=3)
within(l,
{
rm(z)
})
#$x
#[1] 1
#
#$y
#[1] 2
within(l, {
rm(y)
rm(z)
})
#$x
#[1] 1
#
#$y
#NULL
#
#$z
#NULL
When 2 or more variables are deleted, the list entries are instead set to NULL. Is this intended?
2017 Jun 26
2
Odd behaviour in within.list() when deleting 2+ variables
>>>>> peter dalgaard <pdalgd at gmail.com>
>>>>> on Mon, 26 Jun 2017 13:43:28 +0200 writes:
> This seems to be due to changes made by Martin Maechler in
> 2008. Presumably this fixed something, but it escapes my
> memory.
Yes: The change set (svn -c46441) also contains the following NEWS entry
BUG FIXES
o
2009 Sep 06
1
IVT SCD support status
Rainer, Arjen
I was wandering around the code, and found that few things are missing
around the IVT code:
- no manpage,
- no entry in driver.list
- no device{mfr,model,type} in the code.
I was about to submit a patch to address the above (ready to commit), but
wanted first to get an update on the status. looking at the last thread,
it's a bit unclear... I'm also interested an upsc
2017 Apr 12
2
"table(droplevels(aq)$Month)" in manual page of droplevels
Hello,
Inline.
Em 12-04-2017 16:40, Henric Winell escreveu:
> (Let's keep the discussion on-list -- I've added back R-devel.)
>
> On 2017-04-12 16:39, Ulrich Windl wrote:
>
>>>>> Henric Winell <nilsson.henric at gmail.com> schrieb am 12.04.2017
>>>>> um 15:35 in
>> Nachricht <b66fe849-bb8d-f00d-87e5-553f866d57e0 at gmail.com>:
2006 Feb 01
6
[XM-TEST][PATCH] hvm network test fixes
The following patch allows the network tests to pass with hvm support enabled.
More specifically:
02_network_local_ping_pos.py
REASON: ping loopback failed for size 65507. ping eth0 failed for size 65507.
(but all other size pings work)
05_network_dom0_ping_pos.py
REASON: Ping to dom0 failed for size 65507.
(but all other size pings work)
11_network_domU_ping_pos.py
passes 100% (even the large
2009 Jun 05
3
help with duplicates
I have a large dataset that contain duplicate records. How do I identify and remove duplicate records?
Chris Anderson
707.315.8486
www.sassydeals4u.com
____________________________________________________________
Free info for small business owners. Click here to find great products geared for your business.
2005 Jul 03
11
[PATCH] xm info
This patch makes "xm info" show information on xen version, compile
info, number of socket/core, etc...
In order to do that, it extends physinfo hypercall to return number of
socket, adds few functions to libxc and extends python wrapper
correspondingly.
Here is the output of new "xm info":
--
system : Linux
host : ubuntu
xen_release
2011 Jan 18
3
tips for looping over a category for beginner
hello, I am very new to R.
My current data set is a mix of values and categories. It is a geoscience
data set, with values per rock sample. Case in point, each sample belongs to
a lithology class, and each sample has several physical property
measurements (density, porosity...).
I want to be able to plot these physical properties for all samples in each
lithology class. this is how i'm doing
2005 Jun 22
17
[PATCH] fix broken ACM
The latest change to ACM makes it fail to compile. This patch fixes the problem.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
$ diffstat acm.patch
acm/acm_core.c | 61 ---------------------
include/acm/acm_hooks.h | 135 ++++++++++++++++++++++++++++++++++--------------
2 files changed, 96 insertions(+), 100 deletions(-)
_______________________________________________
2006 Jun 02
6
Built-in iexplore
Trying to use built-in iexplore.exe (wine-0.9.14, FreeBSD-5.3? KDE-3.5.2).
I get:
$ wine iexplore
fixme:shdocvw:IEWinMain "" 1
fixme:ole:CoResumeClassObjects stub
Could not load Mozilla. HTML rendering will be disabled.
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x17df9c)->((null) 1 0x34fba8
0x0)
fixme:shdocvw:ClOleCommandTarget_Exec (0x17df9c)->((null) 25 0 0x34fbd0 0x0)
2008 Sep 25
2
Equivalent of 'first.var' or 'last.var' from SAS in R?
Hi,
I want to sort a data frame by multiple columns and then take the
first record in each unique level of the "by" group I used to sort the
data frame. Does someone have an example of how to do this?
Thanks,
Matt
--
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas
2005 Jun 13
6
Quirky Bug: "cat /dev/urandom"
If you execute cat /dev/urandom at the xm console of a guest domain,
it will spew garbage forever. Attempts to run xm destroy on it simply
hang.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2005 Apr 25
16
[PATCH] Guest boot loader support
Attached is an updated version of the patch to add boot loader support
for guest domains.
Changes from the initial set of patches:
* Per Ian''s request, adds an option to specify booting a specific kernel
from the host domain (you can specify it either with the title of the
boot loader config entry or with the grub 0-based index)
* Reduces some of the code duplication for finding out
2005 Nov 27
1
segfault on write.dcf with gzfile connection
I'm seeing a segfault on x86_64 Linux with the following code:
desc = read.dcf("BAD")
con = gzfile("test.gz", "wt")
write.dcf(desc, file=con)
close(con)
where BAD has a long field (see below for example). The crash happens
inside dummy_vfprintf. I think the issue is that the va_list ap is
modified by the first vsnprintf call
2005 May 30
24
stable / unstable parallel install?
Hi,
Is there some easy way to install both 2.x and unstable xen
tools at the same machine? Seems /usr is hardcoded everythere
in the tools Makefiles, looks like there is no easy way to put
them to different paths (say, prefix /opt/xen2 and /opt/xen3)
:-/
Gerd
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2009 Nov 09
1
Using something like the "by" command, but on rows instead of columns
Hello R Forum users,
I was hoping someone could help me with the following problem. Consider the following "toy" dataset:
Accession SNP_CRY2 SNP_FLC Phenotype
1 NA A 0.783143079
2 BQ A 0.881714811
3 BQ A 0.886619488
4 AQ B 0.416893034
5 AQ B 0.621392903
6 AS B 0.031719125
7 AS NA 0.652375037
"Accession"
2010 May 12
1
exact the variables used in tree construction
> fit.dimer <- rpart(as.factor(out) ~ ., method="class", data=p_df)
>
> fit.dimer$frame[, "var"]
[1] NE WC <leaf> TA <leaf> <leaf> WG WD WW WC
[11] <leaf> <leaf> <leaf> CT <leaf> FC <leaf> YG QT <leaf>
[21] <leaf> <leaf> NW DP DY <leaf> SK
2004 Dec 23
2
where is Xen''s name from?
hello,
I wonder where the Xen''s name came from? I looked at the Xen FAQ, and
there is no information. That should be there, right ;-)
Merry Christmas to everyone on the list ;-)
AQ
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products
2008 Dec 02
4
Bug in "transform"?
Dear useRs,
Here is a weird behavior of transform function:
mtcars1<-matcars
transform(mtcars1,t1=3,t2=4)
Error in data.frame(`_data`, e[!matched]) :
arguments imply differing number of rows: 32, 1
instead, this works:
mtcars1$t1<-0
transform(mtcars1,t1=3,t2=4)
also works if applied in turn:
transform(mtcars1,t1=3)
transform(mtcars1,t2=4)
I often need to use this