Displaying 20 results from an estimated 1000 matches similar to: "tracking data"
2004 May 15
1
Fwd: filter out many data.frames
X <- numeric(length(data.frame))
before the loop maybe work, because
my computer works and works !?
christian
---------- Weitergeleitete Nachricht ----------
Subject: filter out many data.frames
Date: Sonntag, 16. Mai 2004 00:02
From: Christian Schulz <ozric at web.de>
To: r-help at stat.math.ethz.ch
Hi ,
i would like filter out all combinations of a data-mining result?
How i
2009 May 21
4
Re placing a "+" in a string
I know this is easy, but I am stumped:
> gsub("0","K","8.00+00")
[1] "8.KK+KK"
> gsub("+","K","8.00+00")
Error in gsub("+", "K", "8.00+00") : invalid regular expression '+'
In addition: Warning message:
In gsub("+", "K", "8.00+00") :
regcomp error:
2011 Apr 07
1
df with max function applied to 6 lags of a variable?!?
Hello everyone!
I have a data frame of 136 variables with 270 observations. I would like to create a new data frame such that each element of that data frame contains the maximum value of the 6 prior lags of the initial data frame. So for example, if my original data frame, A, were
A1=c(7.72, 7.94, 7.56, 7.54, 0.93, 0.59, 7.21, 8.00, 7.19, 7.57)A2=c(4.27, 3.70, 3.80, 3.67, 3.83, 3.95, 4.02, 2.06,
2002 Dec 09
1
ifelse ?
Hi,
i want transform data and using apply(data,2,fuz)
, but i don't know why the values < low & > high don't get 0 or 1, they
get
the value from Formula ,too "((x-low)/(high-low))" what's not the
intention ?
....is switch more approriate !?
thanks for advance ,Christian
fuz <- function (x) {
#x <- na.omit(x)
low <- quantile(x,0.15)[[1]]
high
2001 Oct 04
1
tcl/tk & Windows2000?
Hello,
i have some problems to run tcltk/R
on with Win2000.
With Win98 i have no problems !?
When i do this in R, i get no message-error & tcl/tk
is really here !
Sys.putenv("TCL_LIBRARY"="C:/tcl/lib/tcl83")
,but after i use :
library(tcltk)
,i get :
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2001 Dec 25
1
tseries object
Hello,
what's the problem with the dimnames - i get no solution ?
thanks for advance, regards
christian
> file <- read.table("c:/rw1040/data/timeSeries.txt",header=T)
> file
DATE AQ EUMS
1 Jan92 7.6 98.4
2 Feb92 7.5 98.5
3 Mrz92 7.5 97.0
....................
117 Sep01 9.4 105.3
118 Okt01 9.5 102.6
> file.ts <-
2002 Dec 02
1
advanced tabulation
i make me thoughts about a "advanced tabulation" package similar to
commercial software products like Quantum or Wincross.
Before i'm beginning to fight with coding - is in the mailing-List anybody
doing something similar in the past and have a good starting point
and/or suggestions for me ?
My purpose ist to define for a dataset headers (i.e. sex,age-groupes..)
which should
2003 Sep 24
2
data.frame with duplicated id's
Hi,
is there a exstisting function (..i found nothing until now.)
what makes it possible transfrom a dataset:
ID AGE V.MAI V.JUNE
11 20 100 120
12 30 200 90
into
ID AGE V
11 20 100
11 20 120
12 30 200
12 30 90
,or have i to programm ths my self?
Thanks for any comment, help and/or starting point.
regards,christian
2004 Nov 10
1
"conditional duplicates"?
Hi,
i would like check a repeated measurement dataset, whether
cases (which (id) could be more than one time included and not all same
times included.)
have more than one times the same SMONTH!?
#This pseudo code didn't work with a for loop, because the [i+1] isn't
known.
How i could refer to [i+1] ?
if(ID[i] == ID[i+1] & SMONTH[i] !=[i+1]) {res[i] <- 0 }
if(ID[i] == ID[i+1]
2005 Jan 21
2
gsub pattern?
Hi,
search in web for regular expressions i get the information that
the line below replace all AUTO string's like AUTOBAHN
,AUTORENNEN with 1 but nothing happend.
Using the [] in the pattern it works like i'm expected, but i didn't
want single character replacment. Where is my mistake?
bcode <- gsub("/^AUTO.*/","1",MyStringVector,ignore.case=T,extended=T)
2006 Feb 16
4
how to clear screen in R-console?
HI all,
How to clear the screen in R-console?
Thanks a lot@!
[[alternative HTML version deleted]]
2002 Feb 24
2
count definite categories
Hello,
i calculate with the formula conf=Sum(2*Xn^n)
definite number for binary configurations .
How it is possible to count the number of different conf ?
example:
384
384
512
512
512
the result should be 2 .
Thanks for advance & regards,
Christian
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2006 Nov 15
1
dynamic aggregation of many variables
Hi,
i have many variables for in example 4weeks and want to do
aggregations, like mean standard , deviation etc..
With mean it works but how i can calculate the standard deviation for
the 4weeks and for every ID.
many thanks & regards, christian
week1 <- grep("(_PRO_001)",names(dmx3),perl=T)
week1table <- subset(dmx3,select=c(ID,week1))
week2 <-
2008 Aug 01
1
importing explicitly declared missing values in read.spss (foreign)
There is a problem when importing an spss-file containing explicitly declared
missing values in R using the read.spss function from the foreign package.
I'm not sure these problems are the same in every version of spss, I am
using the latest version 16.0.2.
I included http://www.nabble.com/file/p18776776/missingdata.sav
missingdata.sav and
2002 Apr 16
6
Classification Analysis
Hi everyone,
Could somebody explain to me what is the package/function for
classification analysis. I am performing analysis of music files in the form
of MIDI files. I end up with about 750 dependent variables from the
analysis, I also have a number of independent/grouping variables that I set
manually. What I would like is to be able to predict which group a
particular MIDI files belongs to
2002 Nov 29
3
Subsetting from data.frame
Hi,
attach(data)
if (TREUE[TREUE ==11] && EMPFEHL[EMPFEHL < 11])
{ TREUE <- EMPFEHL }
what's wrong ( TREUE ==EMPFEHL works not,too )?
many thanks & regards,Christian
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2002 Dec 27
2
RSvgDevice & sapply(plotmeans)
Hi,
anybody know why this not works for several
plots ?
When i set onefile=T the plots are stacked one about another
, onefile=F only the first plot is shown in AllbusMeansPlots.svg.
[h2 is a data.frame]
......hist and sapply works for several plots nice with RSvgDevice !
Maybe setting the title after apply is a problem, but until yet i didn't
found a better solution ?
library(RSvgDevice)
2002 Jan 14
1
newbie: table,mean for all variables
Hello,
(1)
what is the way to use
table for the hole dataSet ?
I would get a cross-table with x1 and other variables in the dataSet which have got 100 columns :
table(x1,data[variable2 until variable 100])/length([variable2 until variable 100])*100
like this but it's wrong ?
table(x1,data[,2:100])/length(data[,2:100])*100
if i type: table(data[,1:10])
to get the frequency
2001 Oct 06
1
tcltk
HI,
(1) ...thanks for the last comments to tcltk & Win2000.
(2) - i'm newbie in tcl/tk but would like learn fast and develop
(learning by doing) a tcl/tk clusterAnalysis application which combine
some clusterMethods from different Rpackages.
i use the tkttest.R example as "reference" and become not finished for
my "first" step????
(3) how is it possible that the code
2003 Apr 25
2
sjava w2k
..sorry for this "repeated" off-topic question, but i look
for any suggestion in the manuals, find nothing related?
library(Sjava)
Error in firstlib(which.lib.loc, package) :
JAVA_HOME is not set
Error in library(Sjava) : .First.lib failed
...what i have to done?
many thanks & regards,christian