search for: sub_data

Displaying 4 results from an estimated 4 matches for "sub_data".

2012 Jun 21
1
[PATCH] x86/PCI: fix guest_io_read() when pci_cfg_ok() denies access
...ue to all ones should not harm any or the other cases. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -1717,7 +1717,7 @@ static uint32_t guest_io_read( while ( bytes != 0 ) { unsigned int size = 1; - uint32_t sub_data = 0xff; + uint32_t sub_data = ~0; if ( (port == 0x42) || (port == 0x43) || (port == 0x61) ) { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2018 Dec 12
2
Subset dentro de un for
...,group=group))+ labs(title = paste("5026 Minimum number of IFd species to go extinct")))) } Quoting Carlos Ortega <cof en qualityexcellence.es>: > Esta es una forma... > >> for(i in c('Ozone', 'Solar.R')) { > + print(i) > + sub_data <- subset(airquality, eval(parse(text=i)) < 100) > + res_ult <- mean(sub_data$Temp, na.rm = TRUE) > + print(res_ult) > + } > [1] "Ozone" > [1] 77.34862 > [1] "Solar.R" > [1] 71.85294 > > Y otra forma à la dplyr...: > >> library(rl...
2018 Dec 12
4
Subset dentro de un for
Muy buenas. Quiero hacer un loop en el que en cada iteración se hace un subset con el que se queda con las muestras para la que cierta variable es positiva. Si hago esto, sale bien: df2<-subset(df, subset = var1>0) Pero he probado así (y de no sé cuantas formas más), antes de hacer el for, y no sale: GT<- c("var1","var2", ? ) df2<-subset(df,
2018 Dec 12
2
Subset dentro de un for
...t; >> >> >> >> >> >> >> >> Quoting Carlos Ortega <cof en qualityexcellence.es>: >> >>> Esta es una forma... >>> >>>> for(i in c('Ozone', 'Solar.R')) { >>> +   print(i) >>> +   sub_data <- subset(airquality, eval(parse(text=i)) < 100) >>> +   res_ult <- mean(sub_data$Temp, na.rm = TRUE) >>> +   print(res_ult) >>> + } >>> [1] "Ozone" >>> [1] 77.34862 >>> [1] "Solar.R" >>> [1] 71.85294 >&g...