Displaying 20 results from an estimated 2000 matches similar to: "Capping outliers"
2012 Jul 10
1
Why 95% "quantile" empty in R or why 95% "quantile" = 1 with data values between 0 and 1?
I am calling quantiles as follows. I don't understand why sometimes the
columns (data values) above 95% are returned as "NULL"!! When I drop the
percentile down to 92%, I see colums appearing. Why would any quantile be
empty? I see sometimes that 95% percentile is being chosen as "1" for my
data between 0 and 1, where obviously there's no column value equal to 1.
But
2010 May 28
1
create new variable: percentile value of variable in data frame
Hello all,
Thanks in advance for you attention.
I would like to generate a third value that represents the quantile
value of a variable in a data frame.
# generating data
x <- as.matrix(seq(1:30))
y <- as.matrix(rnorm(30, 20, 7))
tmp1 <- cbind(x,y)
dat <- as.data.frame(tmp1)
colnames(dat) <- c("id", "score")
dat
# finding percentiles of "score"
2017 Oct 30
2
Problems in communication with Mustek PowerMust 1060 LCD
System: Cenots Linux 6.9
Application: nut-2.7.5-0.20170613gitb1314c6 [with usb 0.1 from distro]
Device: Mustek PowerMust 1060 LCD
Comunication log file: dump.txt
We are looking at the possibility of successful communicating with this
device UPS Mustek PowerMust 1060 LCD.
PS: wolfy on the list gives me assistance and i can install any new
compiled nut version from sources.
Thanks,
Catalin.
2020 Jan 29
2
Model object, when generated in a function, saves entire environment when saved
Reviving an old thread. I haven't noticed this be a problem for a while
when saving RDS's which is great. However, I noticed the problem again when
saving `qs` files (https://github.com/traversc/qs) which is an RDS
replacement with a fast serialization / compression system.
I'd like to get an idea of what change was made within R to address this
issue for `saveRDS`. My thought is that
2011 Jun 26
4
Sven Power Pro 1000+
Hello.
I recently upgraded from Ubuntu Maverick to Natty and hence upgraded nut from 2.4.3-1ubuntu5 to 2.6.0-1ubuntu3.
My Sven PowerPro+ 1000 UPS ( http://en.sven.ru/catalog/ups/power_pro_plus_1000.htm ) worked fine with the previous version, using megatec_usb driver, but doesn't work with the current version, since megatec_usb is no longer available.
Here is the output from blazer_usb.
2015 Apr 04
2
nutdrv_qx hangs after send: QS
Hi,
I am trying to get NUT 2.7.2 working on my Solaris 11.2 system with a
PowerWalker 2000 VI PSW UPS. I have carefully configured the software such
that it 'works' using custom values in the ups.conf file:
driver = nutdrv_qx
port = auto
desc = "my UPS"
protocol = voltronic-qs
subdriver = cypress
vendorid = 0665
productid = 5161
The problem I'm experiencing is that after a
2011 Apr 26
1
Hook into Coercion Framework for data.frame
Hi,
I am looking into a way to hook into the R coercion framework to allow
me to convert table-like data stored within a COM object into a
data.frame.
Some of our COM objects have their own table-like data storage, and from
R's point of view it's an object (EXTPTRSXP) decoarated with a sepcial
symbol so we can easily identify it.
COM_Table <- a_method_that_creates_the_object()
2016 Oct 01
2
connection pb with blazer_usb with infusec UPS
Hello
i need your help regarding the following issue :
i have a hero touch ups from infosec. it is connected via USB to a raspberry pi 3.
i?ve configure ups.conf file as below
[HERO]
driver = blazer_usb
vendorid = 0665
productid = 5161
either with
port = auto
or
port = /dev/hidraw0
or
port = /dev/ttySo
the connection never works
i get the
2011 Oct 24
1
How to delete rows using conditions on all columns
n <- 10
P1 <- runif(n)
P2 <- runif(n)
P3 <- P1 + P2 + runif(n)/100
P4 <- P1 + P2 + P3 + runif(n)/100
mydata <- data.frame(cbind(P1,P2,P3,P4))
mydata[1,1] <- 8
mydata[3,1] <- -5
mydata[2,3] <- -6
mydata[7,3] <- 7
f=function(z){quantile(z, c(0.01, 0.99)) }
temp1 <- lapply(mydata, f)
temp1
$P1
1% 99%
-4.542391 7.354209
$P2
1% 99%
2011 Mar 22
3
Accelerating the calculation of the moving average
Dear List,
I have a data frame with approximately 500000 rows that looks like this:
?Date??? time??? value
?
19.07.1956????????? 12:00:00?????????????? 4.84
19.07.1956????????? 13:00:00?????????????? 4.85
19.07.1956????????? 14:00:00?????????????? 4.89
19.07.1956????????? 15:00:00?????????????? 4.94
19.07.1956????????? 16:00:00?????????????? 4.99
19.07.1956????????? 17:00:00?????????????? 5.01
2015 Apr 05
2
nutdrv_qx hangs after send: QS
Thank you for the rapid response. I will try and investigate getting
answers to some of your points but I'm a little new to Solaris so I'll need
some time. Glancing at the configure output, it looks like it built against
v0.1.7 of libusb (yes i think that is derived from the one you mention),
checking for libusb version via pkg-config... 0.1.7 found
checking for libusb cflags...
checking
2011 Nov 16
1
Sequence Prediction
I have a data with the sequence of events with millions records and more than
24 time stamped variables.
sample data:
1 2 3 4 5 6 7 8 9 10
A A A C C C B B D D
D D D D D C C C C C
B B A C A C C C D D
I want to predict sequence for next 3 period. How this can be achieved using
R. Is there any package/function in R do this.
I have gone through the document for package "TraMineR" but not
2008 Dec 10
1
Cannot mount samba shares
Hi,
quick(?) question: Has anybody seen that problem below? More important
question: Did anybody solve that?
This is my smb.conf (well, only the most important parts):
[global]
workgroup = FOOBAR
server string = My Server
map to guest = Bad User
preferred master = No
local master = No
domain master = No
dns proxy = No
[on3]
comment = Audio-Video-Imports
path
2005 Dec 08
2
Prototype.js Hash Methods
Hi,
Has anyone seen any documentation on the Hash Object defined in the prototype library?
To be precise the following methods -
1. keys
2. values
3. toQueryString
4. inspect
5. Merge
I am trying to play around with them and have come up with the following examples -
var h = $H({name: "john doe", email: "john-Ch9RrZxMC0c@public.gmane.org", msg: "say hello to
2013 Dec 09
1
AtlantisLand don't want to wake up after the whiteout
2013/12/9 Fabio Cecamore <ceca_89 at hotmail.com>:
> and the UPS don't wake up after the whiteout..
2013/12/6 Fabio Cecamore <ceca_89 at hotmail.com>:
> desc = "AtlantisLand Host Power 851+"
Is your UPS an 'Atlantis Land Host Power 851' or an 'Atlantis Land One
Power 841+'?
The first one should be using a slighty modified version of the
2009 Aug 11
1
error in names
Hi,
what is meaning this errors !!!
Error in names(o.pr)[p.ok] <- names(qs) :
incompatible types (from NULL to character) in subassignment type fix
In addition: Warning message:
In Ops.factor(from, (0:(length.out - 1)) * by) :
+ not meaningful for factors
thank you very much
[[alternative HTML version deleted]]
2014 Jan 21
2
seg fault on search
I have written a very simple function to return the match count based on the simplesearch.cc code. It fails with a seg fault. The relevant code is:
--------------------
int ftQuery(char* qs, const char* dbname,char* results, int msize) {
long docid;
char* op;
char fullDB[1024];
string queryString;
2009 Jul 29
1
ocfs2 quota qs.
Hi Jan,
I am now reading quota support in ocfs2 and have some qs. Wish you can
help me clarify it. Thanks.
ocfs2_quota_write:
In the comment, you said that "we know the transaction is already
started", so it should be called within a transaction. But in this
function, we call ocfs2_extend_no_holes and ocfs2_simple_size_update
which will start another transaction. So we can survive
2011 Nov 04
2
Reading parameters from dataframe and loading as objects
Hi List,
I want to read several parameters from data frame and load them as object
into R session, Is there any package or function in R for this??
Here is example
param <-c("clust_num", "minsamp_size", "maxsamp_size", "min_pct", "max_pct")
value <-c(15, 20000, 200000, 0.001, .999)
data <- data.frame ( cbind(param , value))
data
2015 Jul 28
2
función cantidad mayor de valores
Hola Javier,
Intenta los siguientes cambios
g4 <- function(codigo_llega, n_caracteres){
codigo_llega <- as.character(codigo_llega)
if(n_caracteres == 6) res <- substr(codigo_llega, start=0, stop=4)
else res <- codigo_llega
res
}
g4 <- Vectorize(g4)
x <- c('Jorge Velez','Javier Marcuzzi','Daniel Merino','Susana deus
Alvarez', 'Carlos