Displaying 20 results from an estimated 100 matches similar to: "Converting Variable Name into String"
2008 Nov 10
1
Preparing data for display
I have a dataset of about 10^6 rows, each consisting of a timestamp,
several factors, a string, some integers, and some floats.
I'd like to graph this data in various ways, including straightforward
ones (how many events per week over the past year for each of 4 values
of some factor), some less straightforward. I've managed to do this
by brute force, but I'd like to learn how to do
2010 Apr 09
2
How to use tapply for quantile
I am trying to calculate quantiles of a data frame column split up by
two factors:
# Calculate the quantiles
quarts = tapply(gdf$tt, list(gdf$Runway, gdf$OnHour), FUN=quantile,
na.rm = TRUE)
This does not work:
> quarts
04L 04R 15R 22L 22R 27 32
33L 33R
0 NULL Numeric,5 NULL Numeric,5 NULL Numeric,5 NULL
Numeric,5 NULL
1 NULL
2001 Dec 17
1
sftp-server questions
Hello,
Is there any way to specify which pubkey has rights to use the
sftp-server subsytem when this has been set up in the sshd server?
I don't know if I could control which users are authorized to use the
sftp-server, could I?
Is there any official patch that allows sftp-sessions 'chroot'ed?
Thanks in advance.
--
Best regards,
quart mailto:quart at
2020 Jun 18
4
FileCheck
Hello,
I am not sold on FileCheck's new behaviour. For failing tests in verbose mode, it first dump the actual error messages, followed by the annotated input file to FileCheck. The result is I can't immediately see error messages if the input is more than just a few lines long, so I have to scroll all the way up to see the errors, then down again, etc.
I do see some advantages of
2007 Jun 15
2
method of rpart when response variable is binary?
Dear all,
I would like to model the relationship between y and x. y is binary
variable, and x is a count variable which may be possion-distribution.
I think it is better to divide x into intervals and change it to a
factor before calling glm(y~x,data=dat,family=binomail).
I try to use rpart. As y is binary, I use "class" method and get the
following result.
>
2010 Dec 31
4
Repeated Indexing / Sequence Operation
Hi Everyone,
quick question before the end of the year.
I have soem indices to select data from a bigger sample. I want to select n
days before each index and n days after the index. Any clever way to do it.
A for loop would do but I wanted to know if there is a moreR-friendly way to
approach this
Example
# InitialIndices
i2 = (90, 190, 290)
# Indices I want to end up with
i3 = c(85, 86, 87,
2006 Jun 05
1
Format Values from a date_select
Hi
I have two date select options in a form, when I try and grab these
values using somthing like
@pMax = params[:max]
I get this in the varibale name
max(1i)2006max(2i)6max(3i)5
which has the correct data, jsut with added things like max(1i)
Whats the best way of grabbbing this data into a variable without the
extra titles?
Scott
--
Posted via http://www.ruby-forum.com/.
2006 Apr 05
2
chan_modem_i4l delay
Hi,
I currently use? Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k on a debian sarge with a kernel 2.4.27 on a P4 3Gig with 1Gig
of memory
When i use i4l on any call, the called party ( on the telco operator side ) ear me with a delay of 1 sec after 1
minutes , 2 sec after 3 minutes and so on...
After a quart hour, the delay make the conversation just
2009 Aug 21
2
gantt chart for dataset
hi,
Thanks for responding of gantt charts. but i have some problem regarding
with gantt charts. i.e.
Ymd.format <- "%Y/%m/%d"
Ymd <- function(x){ as.POSIXct(strptime(x, format=Ymd.format))}
gantt.info <- list(
labels =c("First task","Second task","Third task","Fourth task","Fifth
task"),
starts
2008 Nov 11
2
Manipulation in timeSeries object:how to use the function "applySeries" by daily?
Hi all
I have some tick-by-tick data and I have calculated the intraday returns. I
want to sum up the intraday squared returns to calculate the daily
volatility(or daily variance). I know that the s-plus FinMerics has the
function aggregateSeries function that can be apply to daily data:
aggregateSeries(x, Fun, by="daily"), but the counterpart function in
R:applySeries can not be apply
2011 Oct 03
1
Assigning factor names to interaction plot
Hi everyone,
I have the following problem:
I have three variables, 'group', 'city' and 'pressure'
There is an interaction effect between group and city and I'd like to show
this in an interaction plot:
interaction.plot(group, city, pressure, type="b",
col= c(1:2),
leg.bty="o", leg.bg="blue", lwd=1,
2020 Jun 18
4
FileCheck
I would guess that in a CI system the order doesn't matter much because you look at a webpage? I looked at some build bots today/yesterday that now also show this, and yeah, it's fine either way, I was guessing.
My primary use-case is usage in a terminal, and displaying the errors first followed by all input makes this pretty unusable.
________________________________
From: Chris
2010 Nov 17
3
Parameterising apply To Compute Rolling Average of Columns in a matrix
I sent a post to find a clever way to compute a Rolling Average of columns
in a matrix and I was given the solution below which I am very pleased
with.
RollingAverage <- function(x, RollingObs) {
cx <- cumsum(x);
N <- length(x);
Temp <- (cx[RollingObs:N] - c(0, cx[1:(N-RollingObs)]))/RollingObs
Output <- array(NA, N)
Output[RollingObs:N] <- Temp;
Output
}
The only
2011 Jan 04
5
Help with "For" instruction
Hi,
I am having a problem in doing something similar to this example:
Suppose I have this vector a, and from it I wish to create 5 other vector
each one with less one value than what object a has
So I have "a"
a<-c(1,2,3,4,5)
and I want
a1 that shoud have (2,3,4,5)
a2 that should have (1,3,4,5)
a3 that should have (1,2,4,5)
a4 that should have (1,2,3,5)
a5 that should have
2012 Nov 03
7
some help
Hi People!
I have following concern consisting of some steps to do in R:
I have an ascii file (table) consisting of many columns and rows.
1. I would like to order all values of the columns one under each other. It
will begin with column 1, then column 2 under column 1, column 3 under
column 2 etc. until at the end there is only 1 column. How do I do it?
2. Second problem is to make a
2019 Oct 04
1
CentOS 8 network-scripts
On Fri, 4 Oct 2019 at 10:41, Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote:
>
>
>
> On 2019-10-04 08:03, Chris Adams wrote:
> > Once upon a time, Ljubomir Ljubojevic <centos at plnet.rs> said:
> >> Bridge for VM's is main reason I hate NM.
>
> +1
>
> My impression is younger generation doesn't value rules that programmers
> were
2016 Mar 23
1
Open Project : Inter-procedural Register Allocation [GSoC 2016]
*Vivek Pandya*
On Wed, Mar 23, 2016 at 9:43 AM, C Bergström <cbergstrom at pathscale.com>
wrote:
> From the research and code I've seen - Doesn't this break regalloc
> down into a global and location allocation strategy? (maybe I'm
> remembering incorrectly)
>
> Yes I think you are correct. If I recall IP Reg allocation allocates some
registers to varibale that
2000 May 16
4
How do I add fitted curves to coplots?
G''day
I''ve been performing an analysis of some data by a follow the leader
method (Bad I know but it seems to work and I think I understand all the
steps now) and I''ve run into a problem. The analysis is for all practical
purposes identical to the non-linear mixed effects analysis performed on
Ludbrooks Rabbit data in the second edition of Venables & Ripley (page
2006 Apr 06
0
chan_modem_i4l delay again..
Hi,
I currently use Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k on a debian sarge with a kernel 2.4.27 on a P4 3Gig with 1Gig of memory
When i use i4l on any call, the called party ( on the telco operator side ) ear me with a delay of 1 sec after 1 minutes , 2
sec after 3 minutes and so on...
After a quart hour, the delay make the conversation just impossible !!!
I use a tdm400P to connect my analogs
2020 Jun 18
3
FileCheck
As for the ordering issue... from the command line, I tend to set verbosity
high, and so I pipe to a pager and search for "error:". I prefer errors
before the input dump then. My point is that it should be configurable if
we change the default ordering.
Joel
On Thu, Jun 18, 2020 at 1:13 PM Joel E. Denny <jdenny.ornl at gmail.com> wrote:
> Thanks for bringing this discussion