search for: data

Displaying 20 results from an estimated 127279 matches for "data".

2009 Mar 26
2
loading and manipulating 10 data frames-simplified
I have to load 10 different data frames and then manipulate those 10 data frames but would like to do this in a more simplified code than what i am doing. I have tried a couple of approaches but cannot get it to work correctly. So the initial (bulky) code is: #Bin 1 #------- #Loads bin data frame from csv files with acres a...
2009 Oct 05
0
Unusual error while using coxph
Hi all, I'm very confused! I've been using the same code for many weeks without any bother for various covariates. I'm now looking at another covaraite and whenever I run the code you can see below I get an error message: "Error in rep(0, nrow(data)) : invalid 'times' argument" This code works: # remove 'missing' cases from data # snearma <- function(data) { for(i in 1:nrow(data)){ if(is.na(data$all.sp)[i]) data$all.sp[i]<-0 if(is.na(data$all.cp)[i]) data$all.cp[i]<-0 if(is.na(data$al...
2006 May 11
1
Tripp Lite OMNI1000LCD
...turer: Linux 2.6.15.4-n7xsd.2 ohci_hcd - Product: OHCI Host Controller - Serial Number: 0000:00:03.0 - Bus: 001 Trying to match device Device does not match - skipping No appropriate HID device found No matching USB/HID UPS found kaylee# lsusb Bus 003 Device 004: ID 0c0b:27e7 Dura Micro, Inc. (Acomdata) Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 009: ID 0bc7:0008 X10 Wireless Technology, Inc. Bus 001 Device 006: ID 09ae:2005 Tripp Lite Bus 001 Device 001: ID 0000:0000 kaylee# lsusb --verbose -d 09ae:2005 Bus 001 Device 006: ID 09ae:2005 Tripp Lite Device De...
2007 Jan 28
0
Fwd: Re: [Nut-upsuser] Ablerex 625L USB version
...2007 02:20:48 -0400 (AST) Subject: Re: [Nut-upsuser] Ablerex 625L USB version Hi Jon, I can't figure out which version of NUT you are running, because you have pruned that information from your output. Also, which patches, if any, have you applied? What you are seeing from lsusb is not "data" from the UPS; it is simply a detailed parsing of the report descriptor. For example, when it says "Usage, data= [ 0x40 ] 64 Config Voltage", this simply means that HID usage code 0040 corresponds to the "ConfigVoltage" item (see e.g. libhid.c, line 1100). The error messag...
2015 Jun 09
0
libusb_get_string: invalid argument
...onds. and there are two of them each time. hopefully that narrows it down! > >> >>> 1.164089 Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, >>> ReportID: 0x9b, Offset: 0, Size: 16, Value: 3 >>> 1.172696 libusb_get_report: Value too large for defined data type >>> 1.172928 Can't retrieve Report c2: Value too large for defined data >>> type >> >> >> The entries with hex numbers in the path aren't important - the driver >> tries to dump them once at startup, then does not refer to them again. &gt...
2015 Jun 08
2
libusb_get_string: invalid argument
...error occur only every 30 seconds or so? Yes - thats correct. perhaps more like every 15 sec. > >> 1.164089 Path: UPS.ffff0015.[1].ffff00c5, Type: Feature, >> ReportID: 0x9b, Offset: 0, Size: 16, Value: 3 >> 1.172696 libusb_get_report: Value too large for defined data type >> 1.172928 Can't retrieve Report c2: Value too large for defined data type > > The entries with hex numbers in the path aren't important - the driver tries to dump them once at startup, then does not refer to them again. ok thanks > >> 3.402389 libus...
2007 Jan 26
4
Ablerex 625L USB version
Hi, Is there any further information on this UPS interface? I have an Upsonic UPS that is reporting the same interface, but I cannot make it work or get any sensible information from it. Thanks Jon --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 000706-2, 25/01/2007 Tested on: 26/01/2007 11:00:14 AM avast! is copyright (c) 2000-2007 ALWIL Software. http://www.avast.com
2007 Jan 26
4
Ablerex 625L USB version
Hi, Is there any further information on this UPS interface? I have an Upsonic UPS that is reporting the same interface, but I cannot make it work or get any sensible information from it. Thanks Jon --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 000706-2, 25/01/2007 Tested on: 26/01/2007 11:00:14 AM avast! is copyright (c) 2000-2007 ALWIL Software. http://www.avast.com
2010 Sep 18
1
Dynamix 1000 VA USB and NUT
...rType 33 bcdHID 1.00 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 624 Report Descriptor: (length is 624) Item(Global): Usage Page, data= [ 0x86 ] 134 Power Pages Item(Local ): Usage, data= [ 0x04 ] 4 (null) Item(Main ): Collection, data= [ 0x01 ] 1 Application Item(Global): Usage Page, data= [ 0x84 ] 132...
2006 Aug 31
3
what's wrong with my simulation programs on logistic regression
Dear friends, I'm doing a simulation on logistic regression model, but the programs can't work well,please help me to correct it and give some suggestions. My programs: data<-matrix(rnorm(400),ncol=8) #sample size is 50 data<-data.frame(data) names(data)<-c(paste("x",1:8,sep="")) #8 independent variables,x1-x8; #logistic regression model is logit(y)=x1+x2+x3+x4+x5+x6+x7+x8 data$y<-exp(data$x1+data$x2+data$x3+data$x4+data$x5+data$x6+dat...
2015 Jan 09
3
[RESEND/PATCH] nv50/ir: Handle OP_CVT when folding constant expressions
...= OP_MOV; break; } + case OP_CVT: { + Storage res; + bld.setPosition(i, true); /* make sure bld is init'ed */ + switch(i->dType) { + case TYPE_U16: + switch (i->sType) { + case TYPE_F32: + if (i->saturate) + res.data.u16 = util_iround(CLAMP(imm0.reg.data.f32, 0, + UINT16_MAX)); + else + res.data.u16 = util_iround(imm0.reg.data.f32); + break; + case TYPE_F64: + if (i->saturate) + res.data.u16 =...
2010 Mar 12
2
Data frame question
Hi, I have the following question about creating data frames. I want to create a data frame with 2 components: a vector and a matrix. Let me use a simple example: y <- rnorm(10) x <- matrix(rnorm(150), nrow=10) Now if I do dd <- data.frame(x=x, y=y) I get a data frame with 16 colums, but if, according to the documentation, I do dd &...
2010 May 19
8
Generating all possible models from full model
...ifficult to alter models if I want to change a term. For example, below are the set of models I would like to run. Is there a way to specify the full model and have R generate the rest? I.e. specify m1234567<-glm.convert(glm.nb(mantas~site*year+cosmonth+sinmonth+coslunar+sinlunar+plankton, data=mydata)) and have R run all the other models. library(MASS) #Intercept only m0<-glm.convert(glm.nb(mantas~1,data=mydata)) #One term - 7 models #Manta abundance is greater at one of the two sites m1<-glm.convert(glm.nb(mantas~site,data=mydata)) #Manta abundance increases each yea...
2009 Oct 28
4
Insertar filas en un data frame
...71 12 -8758.75 51.45 0 0 2 0 0 0 3 3 6 2 1 7.67 72 1 160 71 13 0 0 4.5 0 1 1 12 1 3 0 4.5 2 1 0 78 2 151 46 13 2.5 15.28 0 0 2 0 0 0 3 0 4.5 2 1 6.31 78 2 151 46 13 0 0 4.5 -2 2 1 24 4 1 2 4.5 1 2 0 78 2 151 46 13 3.083 2.24 0 0 2 0 0 0 1 2 4.5 1 2 0.53 78 2 151 46 #Leer el archivo de datos: Data <- read.table ("C:/Guillermo/Aprendiendo/Tareas_MV/Horas/mydata.prn",header=TRUE) i <- 0 for(i in 2:length(Data$DV)){ if(Data$DV[i] != 0 & Data$TIME[i] != Data$TIME[i-1]){ Data <- rbind(Data[1:i,],Data[i,],Data[i+1:length(Data$DV),]) Data$DV[i] <- Data$NAP[i] Data$...
2023 Oct 29
1
usbhid-ups not loading with Arduino Leonardo on Ubuntu 23.10
...bDescriptorType 33 bcdHID 1.01 bCountryCode 33 US bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 400 Report Descriptor: (length is 400) Item(Global): Usage Page, data= [ 0x84 ] 132 Power Device Page Item(Local ): Usage, data= [ 0x04 ] 4 UPS Item(Main ): Collection, data= [ 0x01 ] 1 Application Item(Local ): Usage, data= [ 0x24 ] 36...
2017 Nov 01
0
Junda-tech
...ID?????????????? 1.00 > ????????? bCountryCode??????????? 0 Not supported > ????????? bNumDescriptors???????? 1 > ????????? bDescriptorType??????? 34 Report > ????????? wDescriptorLength???? 136 > ????????? Report Descriptor: (length is 136) > ??????????? Item(Global): Usage Page, data= [ 0x84 ] 132 > ??????????????????????????? Power Device Page > ??????????? Item(Local ): Usage, data= [ 0x04 ] 4 > ??????????????????????????? UPS > ??????????? Item(Main? ): Collection, data= [ 0x01 ] 1 > ??????????????????????????? Application > ??????????? Item(Local ): Usage,...
2010 Dec 14
2
How to bind models into a list of models?
Hi R-helpers, I have a character object called dd that has 32 elements each of which is a model formula contained within quotation marks. Here's what it looks like: > dd [1] "lm(y ~ 1,data=Cement)" "lm(y ~ X,data=Cement)" "lm(y ~ X1,data=Cement)" [4] "lm(y ~ X2,data=Cement)" "lm(y ~ X3,data=Cement)" "lm(y ~ X4,data=Cement)" [7] "lm(y ~ X + X1,dat...
2017 Aug 23
0
Comparing 2 dale columns
Patrick, ## Run the following script an notice the different values of the dataframe "data" in each instance. # I understand you have done something like the following: data <- data.frame(COL1 = c("6/1/14", "7/1/14"), COL2 = c("5/1/15", "5/1/15"), stringsAsFactors = FALSE) data$Date_Flag <- ifelse(data...
2010 Oct 14
2
Including data in packages
...ear List, I would like to include a couple of objects in a package I am developing and I don't really get it yet. The objects should be available after package load as some functions depend on it. I tried the following: 1) Bundling all objects that I need in the file '/R/sysdata.rda' as described in the "Writing R Extensions" manual on page 7 2) Storing the objects in /inst/extdata/somedata.rda as described in the "Writing R Extensions" manual on page 9 3) Storing the objects in /data/somedata.rda to make it available via data() later on...
2014 Jul 05
1
[PATCH v4] nv50/ir: Handle OP_CVT when folding constant expressions
...case OP_CVT: { + Storage res; + bld.setPosition(i, true); /* make sure bld is init'ed */ + switch(i->dType) { + case TYPE_U16: + switch (i->sType) { + case TYPE_F32: + if (i->saturate) { + int32_t conv = util_iround(imm0.reg.data.f32); + res.data.u16 = (conv < 0) ? 0 : CLAMP((uint32_t)conv, 0, + UINT16_MAX); + } + else res.data.u16 = util_iround(imm0.reg.data.f32); + break; + case TYPE_F64: + if (i->sa...