search for: datal

Displaying 12 results from an estimated 12 matches for "datal".

Did you mean: data
2008 Jan 15
1
bug in mmlcr ? (PR#10576)
Hi the list. Is there a bug in mmlcr package ? The following code does not compile: mmlcrTest <- function(dataW){ dataL <- reshape(dataW,idvar="id",timevar="T",varying=list("T0","T1","T2"),direction="long",v.names="score") resultR <- mmlcr(outer= ~ 1 | id, components = list(list(formula = score~1+T,class= "normlong...
2007 Oct 30
1
data.frame, ggplot vs matplot
...,by=1,length=10) y<-sin(x)%*%t(x) columns<-c(1:10) matplot(x,y) legend("topleft", "(x,y)", columns) # the version below is not working require(ggplot2) data.frame(cbind(x,y))->dataS wide <- reshape(dataS, direction="wide",timevar=c(1:length(columns))) dataL<-reshape(wide,direction="long") # this clearly doesn't work as I would have thought qplot(x, y, data = dataL) Best regards, baptiste
2011 Aug 12
0
testEquatingData (part of ltm package) changes order of columns
...bind(c(NA, NA, NA, NA, 1), c(NA, NA, NA, 1, NA), c(1,1,NA,NA,NA))) names(anchor) <- c("A1","A2", "A3") items <- list(as.data.frame(cbind(c(NA, NA, NA, NA, 1), c(NA, NA, NA, 1, NA), c(1,1,NA,NA,NA)))) #let's assume these are the items that I want to estimate datAll <- testEquatingData(items, AnchoringItems = anchor) Now, after I run the testEquatingData() function, the order of the variables has been changed to A3, V3, A1, A2, V1, V2, instead of, for example A1, A2, A3, V1, V2,V3, or V1, V2, V3, A1, A2, A3. Since I am using the constraint function of the...
2010 Jun 12
0
[PATCH] Btrfs: fix CLONE ioctl destination file size expansion to block boundary
...ions(+), 3 deletions(-) diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 4cdb98c..a687f28 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -1578,6 +1578,7 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, u64 disko = 0, diskl = 0; u64 datao = 0, datal = 0; u8 comp; + u64 endoff; size = btrfs_item_size_nr(leaf, slot); read_extent_buffer(leaf, buf, @@ -1712,9 +1713,18 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, btrfs_release_path(root, path); inode->i_mtime = inode->i_ctime = CU...
2009 Jan 07
1
troubles performing Moran.I test
dear R users, I have troubles performing Moran.I test as suggested on http://www.ats.ucla.edu/stat/r/faq/morans_i.htm my spatial data are longitude and lattitide of communities. The calculation of the inverse distance matrix according to the homepage (using my data) datAL <- read.csv2("C:\\Konvergenz AL.csv", header=T) ALdist <- as.matrix(dist(cbind(datAL$L?nge, datAL$Breite))) ALdist.inv <- 1/ALdist for (i in 1:dim(ALdist)[1]){ALdist.inv[i,i]=0} seems to work since the first 10 elements of my matrix look like this: 1 2...
2010 Jul 26
6
[PATCH] Btrfs: compressed file size ioctl
...slots[0]; + + btrfs_item_key_to_cpu(leaf, &key, slot); + if (btrfs_key_type(&key) > BTRFS_EXTENT_DATA_KEY || + key.objectid != inode->i_ino) + break; + + if (btrfs_key_type(&key) == BTRFS_EXTENT_DATA_KEY) { + struct btrfs_file_extent_item *extent; + int type; + u64 datal = 0; + + extent = btrfs_item_ptr(leaf, slot, + struct btrfs_file_extent_item); + type = btrfs_file_extent_type(leaf, extent); + if (type == BTRFS_FILE_EXTENT_REG) { + datal = btrfs_file_extent_num_bytes(leaf, + extent); + compressed_size += + btrfs_file_extent_disk_...
2013 Feb 09
7
Latest AMD, IOMMU Security Change causing CPU0 Panic and general Problems with AMD+IOMMU changes
...creating new one" (Changeset 26517 in xen-unstable and 25975 in xen-4.2-testing) is causing a CPU0 Panic at boot for me. When i tried to boot latest versions of xen unstable or xen-testing, my dom0 gives me the message: (XEN) ************************************* (XEN) Panic on CPU 0: (XEN) DATAL PAGE FAULT (XEN) [error_code=0000] (XEN) Faulting linear address: 0000000000000000 (XEN) ************************************* I can reproduce this with vanilla kernels 3.8-rc6, 3.7.6, 3.7.4 and Debian Kernel 3.2.0-2. My System: CPU: AMD Phenom II 1090T Mainboard: Asus Crosshair IV Ram: 16GB VGA:...
2006 Jun 13
0
Help debugging superodoctor
...-1 res = 0 file = 0 filename = '\0' <repeats 19 times> test_addr = 1685017119 #5 0x000000000042c00f in get_item_reading (sThis_System=0x63e010, thisitem=0x63e480, parameters=0x63f910, iParameter_Count=38, cRet=0x7fbffff4f0 "0?s") at sd.c:2131 iRet = 0 dataH = 0 dataL = 0 data = 0 errNoL = 10154652 errNo = 0 div = 1 bitmask = 4406925 _v = 0 '\0' #6 0x000000000040b411 in create_SD_Table (sThis_System=0x63e010, spItem=0x63e480, iItem_Count=19, spParameter=0x63f910, iParameter_Count=38) at main.c:1798 thisitem = (ITEMS *) 0x63e480 spSD_Table =...
2006 May 31
3
Zap channels ringing too loudly
Hi All I've got an asterisk system, using a couple of Xorcom Astribanks to provide FXS ports. (I'm using the zaptel 1.2 branch, if that matters) I've noticed that the ringing volume is a lot louder than on our old phone system, and people are starting to complain it's too loud. (This is the noise the phone makes when it rings, not the noise in your handset when you ring
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...oot); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); inode->i_flags |= S_DEAD; out_up_write: up_write(&root->fs_info->subvol_sem); @@ -1633,11 +1633,11 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, new_key.offset, new_key.offset + datal, &hint_byte, 1); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); ret = btrfs_insert_empty_item(trans, root, path, &new_key, size); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); leaf = path->nodes[0]; slot = path->slots[0]; @@ -1663,7 +16...
2011 Jun 21
19
[GIT PULL v3] Btrfs: improve write ahead log with sub transaction
I''ve been working to try to improve the write-ahead log''s performance, and I found that the bottleneck addresses in the checksum items, especially when we want to make a random write on a large file, e.g a 4G file. Then a idea for this suggested by Chris is to use sub transaction ids and just to log the part of inode that had changed since either the last log commit or the last
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them