Displaying 20 results from an estimated 310 matches similar to: "Question"
2011 Jul 03
1
semi correlation
Hi, I want to know how i could calculate semi correlation with R. Is there any package for it?
[[alternative HTML version deleted]]
2010 Jun 20
1
proposed change to 'sample'
There is a weakness in the 'sample'
function that is highlighted in the
help file. The 'x' argument can be
either the vector from which to sample,
or the maximum value of the sequence
from which to sample.
This can be ambiguous if the length of
'x' is one.
I propose adding an argument that allows
the user (programmer) to avoid that
ambiguity:
function (x, size, replace
2009 Jan 02
1
[Fwd: Re: [R] Randomly remove condition-selected rows from a matrix]
Following Duncan's suggestion, I forward the below to R-devel.
vQ
-------- Original Message --------
Subject: Re: [R] Randomly remove condition-selected rows from a matrix
Date: Fri, 02 Jan 2009 10:34:52 -0500
From: Duncan Murdoch <murdoch at stats.uwo.ca>
To: Wacek Kusnierczyk <Waclaw.Marcin.Kusnierczyk at idi.ntnu.no>
CC: R help <R-help at stat.math.ethz.ch>
2015 Jun 17
1
Add-on argument in sample()
> Then the question would be if this test could be replaced with a new
> argument to sample, e.g. expandSingle, which has TRUE as default for
> backward compatibility, but FALSE if you dont want population to be
> expanded to 1:population. It could certainly be useful in some cases,
> but you still need to know about the expansion to use it. I think most
> of these bugs
2007 Apr 06
2
plotting multilevel / lme lines
Dear expeRts,
I am trying to plot a lme-object {package nlme) in such a way, that
on a selected level the x-axis represents the value on a selected
predictor and the y-axis represents the predicted-outcome variable.
The graphs would than consist of several lines that each represent
one group. I can't find such a plotting function.
I could write such a function myself, based on
2005 Mar 04
0
Is aggregate() what I need here?
I'm pretty new to R, and I've been given a script by a user who wants
some help with it. I know enough about the way R works to know that
this is a very inefficient way to do what the user wants (the
LSB_JOBINDEX stuff is added by me so that this can work on many
hundreds of input data files as LSF jobs - it's the nested loops I'm
really interested in):
2011 Aug 26
2
eRm/raschsampler error message
Hi, I am running the non-parametric rasch model tests using eRm. I have a
reasonably large dataset for this type of exercise (110 items, 248 persons).
I run:
> allb2=as.matrix(allb)
> rsample <- rsampler(allb2, ctr)
> t102<-NPtest(rsample, method="T10") #global test, subgroup inv
and receive error message as follows.
"Error in m[idx1, idx2] <- 1 : subscript out
2011 Jul 05
9
How to implement a schedule of recurring events?
Hello,
I am fairly new to Ruby and Ruby on Rails. I am creating an
application that "has many :groups", each with their own schedule of
events. This is a little different than a calendar of events, since
these events recur every week and do not have a specific date. So for
example, I need to display a schedule for one group that looks like
this:
Group A''s Activities
- Monday
2004 Sep 16
1
make doc error
While trying to compile xen-bk.2.0 unstable,at my debian 3.1 machine
everthing went fine until make docs
here`s the error message
-------------------------------------------------------------------------------------------------------
make -C docs all || true
make[2]: Entering directory `/root/xen-2.0.bk/docs''
latex interface >/dev/null
if [ -e interface.toc ] ; then latex interface
2011 Mar 13
1
Bug#618218: xen: FTBFS: make[3]: ps2pdf: Command not found
Source: xen
Version: 4.0.1-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110313 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[3]: Entering directory `/build/user-xen_4.0.1-2-amd64-2x64p6/xen-4.0.1/debian/build/build-docs/docs'
> latex
2013 Jul 12
3
Eliminar filas que cumplen con mas de un criterios simultaneamente ...
Estimada comunidad, tengo el siguiente problema:
Un data.frame con muchas filas de las que debo eliminar aquellas que
cumplen varios criterios al mismo tiempo. Por ejemplo este data.frame:
sol con dia NCar NIns isom area rep tipo
1 con 0.001 1 160s 0 s 6.083543e-01 1
2 con 0.001 1 161c 1 c 1.391274e-03 1 <NA>
3 con 0.001 1 161c 1 c
2009 Jun 18
1
lattice logaritmic scale (basis "e" ), rewriting labels using xscale.component
Hi there,
sorry for troubling everybody once again, I've got a problem rewriting
Sarkar's function for
rewriting the tick locations in a logaritmic way (s.
http://lmdvr.r-forge.r-project.org/code/Chapter08.R):
His example works for log 2 but I need log e (natural logarithm). My
problem is that if I replace
2 with "e" (using paste()), I get the error message that the location
2007 Oct 25
1
Strange behavior with time-series x-axis
I recently called plot(x,y) where x was an array of POSIXct timestamps,
and was pleasantly surprised that it produced a nice plot right out of
the box:
z <- as.POSIXct(c("2006-10-26 08:00:00 EDT","2007-10-25 12:00:00 EDT"))
x <- seq(z[1],z[2],len=100)
y <- 1:100
plot(x,y,type="l")
The X axis had nice labels, one tick mark every other month. (Plotting
on
2013 Jul 12
2
Eliminar filas que cumplen con mas de un criterios simultaneamente ...
Hola de nuevo. Leí mal. Si vas a eliminar esas filas, entonces usa:
sqldf("select * from graph where sol!='lim' and dia!=2")
En el correo anterior seleccioné precisamente a esas descartando a las
demás.
Culpa de mis anteojos... jeje.
On Fri, Jul 12, 2013 at 5:20 PM, Freddy Omar López Quintero <
freddy.vate01@gmail.com> wrote:
> Hola.
>
>
>> Tengo que
2003 Sep 09
1
How limits are set in a scales list
I have a lattice plot that has 4 pages with 4 columns and 8 rows per
page. I wish to have the rows use a separate x-axis since their
ranges are quite different, but I wish to have those same limits used
on each page.
By setting an element of the scales list to something like x = list(limits =
lim.list$CFU, lim.list$CFU, lim.list$CFU, lim.list$CFU,
2017 Feb 09
3
changes in src/unix/system.c break builds on FreeBSD
Dear R devs,
For some days now (~ February, 4th), I am not able to build the recent
tarballs of R-devel on a FreeBSD test box anymore. The breakage seems to
be related to the newest overhaul of src/unix/system.c:
[..snip..]
gcc49 -std=gnu99 -I. -I../../src/include -I../../src/include
-I/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -isystem
/usr/local/include -DHAVE_CONFIG_H -fopenmp
2006 May 19
1
trouble with plotrix package
Hello list,
I wrote a simple program to plot data on polar axes, taking advantage of
the plotrix package and its function radial.plot. The basic plot works
fine, but I am having difficulties with the formatting. There are three
problems, but I thought I would attack them one at a time. Here is the
first:
If my data set contains values with all vector lengths between 0 and 100
(and various
2013 Aug 09
1
Agrupar los terminos de la leyenda
Bueno, una pequeña vuelta de tuerca más usando ggplot.. Aunque no quedó tan limpio como el de Carlos (gran resolucion) tambien te sirve.
Un saludo
library(ggplot2)
dec.df <- mat[mat$sol=="dec",]
lim.df <- mat[mat$sol=="lim",]
dol.df <- mat[mat$sol=="dol",]
dec.dr<-qplot(dia,V5,sol,data=dec.df,color=con2,geom=c("line"),facets=.~sol)
lim.dr
2002 Jan 18
3
readline() to vector
Hi!
I'm trying to use readline() to ask for xlim() and ylim() values
for a subsequent plot. I'm doing:
lim <- readline("Enter xlim and ylim values: ")
then would like to use the values in lim for a plot:
plot(etc, xlim=lim[1:2],ylim=lim[3:4])
The problem is that lim is a character,i.e.,
"10,20,-10,50"
or
"c(10,20,-10,50)"
depending on the input to
2006 Oct 18
2
Errors with GRED after upgrading to 2.6.18 kernel
ALL:
<<diffserv-gred_10-06>>
I have attached the current script that I am using.
$TC qdisc add dev $EDEV parent 2:20 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:20 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:20 gred DP 2 limit $lim min $minTh
max