Displaying 20 results from an estimated 800 matches similar to: "Kumar quantile"
2009 May 18
2
How do you save in R?
I know it sounds like a silly question but whenever i click on "save to file"
it doesn't save. whenever i use the function attach(___) it doesn't work,
and says object can not be found. i have a series of data (0,0,0,1,1) that i
need to save, then i want to attach(...) it in another R window.
Please help.
Thanks
--
View this message in context:
2007 Mar 27
1
"Groups" in XYPLOT
I'm not sure I'm barking up the right tree here, but would I need to make
use of groups to plot two separate datasets within ONE panel in xyplot? The
desired end result is a single xy plot of two separate (but similar in
values and ranges).
Full code follows, xyplot code at bottom
#########Determine Frequencies
##########coastal_slope
#needs the maptools package to read ESRI grid
2012 Feb 20
3
How to determine a subset of a binary strings?
Hi,
I need some neat ways of determing a subset of binary strings. For example,
x=c(0,0,1), y=c(0,1,1), z=c(0,1,0). So x is a subset of y and z is also a
subset of y, but x is not a subset of z.
I tried to search R functions and packages but no hits. Any ideas?
Best,
Jing
--
Jing Tang, PhD
Senior Researcher
Finnish Institute of Molecular Medicine (FIMM)
FI-00014 University of
2006 Jul 05
4
degrading gracefully - how to tell if JS is enabled?
Is there a RoR best practice wrt determing in a visitor''s browser has JS disabled? Is there even a way to find out? I''ve got a couple of pages in my app that are not going to degrade gracefully at all. I really need to point a visitor who has JS disabled down a seperate path. Any ideas?
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
2001 Oct 16
1
Defeating Timing Attacks Patch for OpenSSH 2.9.9p2 and 2.9p2
Hello,
In response to the timing analysis attacks presented by Dawn Song et.
al. in her paper http://paris.cs.berkeley.edu/~dawnsong/ssh-timing.html
we
at Silicon Defense developed a patch for openssh to avoid such
measures.
Timing Analysis Evasion changes were developed by C. Jason Coit and Roel
Jonkman of Silicon Defense.
These changes cause SSH to send packets unless request not to,
2006 Jun 20
1
Determine the data type of a function to an argument
Hello All:
How can I determing the "types" of args passed to an R function? For
example, given the following:
calculate <- function(...)
{
args <- list(...)
argName = names(args)
if (arg1 == character)
cat("arg1 is a character")
else
cat("arg1 is numeric")
if (arg2 == character)
2008 Aug 22
1
subset grouped data with quantile and NA's
I can't quite seem to solve a problem subsetting a data frame. Here's a
reproducible example.
Given a data frame:
dat <- data.frame(fac = rep(c("a", "b"), each = 100),
value = c(rnorm(130), rep(NA, 70)),
other = rnorm(200))
What I want is a new data frame (with the same columns as dat) excluding the
top 5% of "value"
2008 Dec 24
1
selecting a subset of a matrix based on a value occurring in 5 records
Hello,
>I am hoping for some advice as to how I might create a subset of a
>matrix. The matrix is 176 x 3530. The rows are individual records
>and the columns words. I want to create a new matrix that only
>consists of words which occur in at least 5 records. For example,
>if column 7 is "charges" and this only appears in 4 records/rows
>this variable would not
2017 Oct 02
0
Clients can't connect after a server reboot (need to use volume force start)
On Thu, Sep 28, 2017 at 8:49 AM, Frizz <frizzthecat at googlemail.com> wrote:
> After I rebooted my GlusterFS servers I can?t connect from clients any
> more.
>
> The volume is running, but I have to do a volume start FORCE on all server
> hosts to make it work again.
>
> I am running glusterfs 3.12.1 on Ubuntu 16.04.
>
> Is this a bug?
>
Have you been able to
2010 Sep 06
0
xlsReadWrite v1.5.2
Natively read and write Excel (.xls) files. Supports Windows 32-bit only (atm).
A new version has been released:
-- changes --
o read.xls
- new arguments 'checkNames'
- recognize NA values according to a new 'naStrings' argument
- recognize NaN values
- recognize 'true', 'false' (not case-sensitive) as logical when
determing a class for data.frame column;
2010 Sep 06
0
xlsReadWrite v1.5.2
Natively read and write Excel (.xls) files. Supports Windows 32-bit only (atm).
A new version has been released:
-- changes --
o read.xls
- new arguments 'checkNames'
- recognize NA values according to a new 'naStrings' argument
- recognize NaN values
- recognize 'true', 'false' (not case-sensitive) as logical when
determing a class for data.frame column;
2015 Aug 25
0
Re: [PATCH v2 00/17] v2v: add --in-place mode
On 08/11/2015 08:00 PM, Roman Kagan wrote:
> This series is a second attempt to add a mode of virt-v2v operation
> where it leaves the config and disk image conversion, rollback on
> errors, registering with the destination hypervisor, etc. to a
> third-party toolset, and performs only tuning of the guest OS to run in
> the KVM-based hypervisor.
>
> The first 14 patches are
2005 May 11
0
entropy and conditional entropy for continous variables
Hi,
this is not a R question per se, but since I'm on the lookout for an R
solution I thought this was the best place:
I would like to calculate the entropy for a variable and the conditional
entropy between two variables, H(X|Y) for variables X & Y
I have coded the case for the categorical case but I'm having problems
understanding how to do it for the continous case.
>From
2008 Sep 09
4
Help with 'spectrum'
For the command 'spectrum' I read:
The spectrum here is defined with scaling 1/frequency(x), following S-PLUS. This makes the spectral density a density over the range (-frequency(x)/2, +frequency(x)/2], whereas a more common scaling is 2? and range (-0.5, 0.5] (e.g., Bloomfield) or 1 and range (-?, ?].
Forgive my ignorance but I am having a hard time interpreting this. Does this mean
2018 Aug 13
0
trace in uniroot() ?
I tend to avoid the the trace/verbose arguments for the various root
finders and optimizers and instead use the trace function or otherwise
modify the function handed to the operator. You can print or plot the
arguments or save them. E.g.,
> trace(ff, print=FALSE, quote(cat("x=", deparse(x), "\n", sep="")))
[1] "ff"
> ff0 <- uniroot(ff, c(0, 10))
2018 Jul 30
2
trace in uniroot() ?
In looking at rootfinding for the histoRicalg project (see gitlab.com/nashjc/histoRicalg),
I thought I would check how uniroot() solves some problems. The following short example
ff <- function(x){ exp(0.5*x) - 2 }
ff(2)
ff(1)
uniroot(ff, 0, 10)
uniroot(ff, c(0, 10), trace=1)
uniroot(ff, c(0, 10), trace=TRUE)
shows that the trace parameter, as described in the Rd file, does not seem to
be
2003 Apr 07
0
Call FWD & the new channel driver chan_local
I just thought i'd post a small sample that uses the new chan_local
to show one way of doing variable callfwding
This sample extension.conf uses's the ast DB to store a users current
extension,
in a db family of CallFWD
and the unique Key is based on the current channel the user is assigned.
In the globals var section each key is hardcoded EXT1, EXT2 this is used in
the
[incoming] context
2018 Aug 13
1
trace in uniroot() ?
Despite my years with R, I didn't know about trace(). Thanks.
However, my decades in the minimization and root finding game make me like having
a trace that gives some info on the operation, the argument and the current function value.
I've usually found glitches are a result of things like >= rather than > in tests etc., and
knowing what was done is the quickest way to get there.
2006 Apr 07
0
"action pass random determ/netrand reclassify --value--": granularity problems
Hi all!
I''m trying to do proportional marking of real-time traffic to indicate link congestion, and for that, I wish to use the DSMARK filter to mark from, say EF to 0xcc. (an unused DSCP value)
By proportional, I mean, if congestion on the egress link is, say 38%, then I shall remark 38 packets of every 100 leaving eth0.
I already wrote some scripts, and I can measure the overload
2005 Jan 23
1
Determing the pfifo backlog
Greetings --
in the "Linux Advanced Routing & Traffic Control HOWTO"
chapter 14.1 on bfifo/pfifo it says that:
"you can use this qdisc to determine the backlog on your interface".
But it does not say exactly how.
Command [#tc -s qdisc ls] outputs the number of packets sent so far
but it does not output any info about the backlog.
My first question is whether a command