Displaying 8 results from an estimated 8 matches for "tlow".
Did you mean:
low
2007 Dec 06
5
Help rewriting looping structure?
...;cpct5"
for(j in 1:5) {
tsum<- sum(tdat[,j]);
for(k in 1:nrow(tdat)) {
td<- tdat[k,j];
tmp<-tdat[,j];
##### sum values <= to current value and divide by the total sum
tdat[k,paste("cpct,j,sep="")]<- sum(tmp[tmp <= td]) / tsum;
}
}
Thanks,
TLowe
--
View this message in context: http://www.nabble.com/Help-rewriting-looping-structure--tf4957267.html#a14196412
Sent from the R help mailing list archive at Nabble.com.
2006 Nov 20
1
a little help needed plotting chron object
...ES
yjl <- as.character(yjunk) # CONVERT Y'S TO CHARACTERS
c5ot <- substr(c5o,11,20) # EXTRACT JUST THE TIME OF DAY INFO
tv=chron(times=c5ot) # TURN TOD INTO CHRON OBJECT
plot(tv,yjunk,pch=yjl) # PLOT DATA
# ^^^(works with autoscaled x)
tlow="00:00:00" # SET LOW TOD RANGE VARIABLE
thigh="23:59:59" # SET HIGH TOD RANGE VARIABLE
tl=chron(times=tlow) # TURN LOW TOD INTO CHRON OBJECT
th=chron(times=thigh) # TURN HIGH TOD INTO CHRON OBJECT
plot(tv,yjunk...
2008 Feb 19
2
Looping through a list of objects & do something...
Hey Folks,
Could somebody show me how to loop through a list of dataframes? I want to
be able to generically access their elements and do something with them.
For instance, instead of this:
df1<- data.frame(x=(1:5),y=(1:5));
df2<- data.frame(x=(1:5),y=(1:5));
df3<- data.frame(x=(1:5),y=(1:5));
plot(df1$x,df1$y);
plot(df2$x,df2$y);
plot(df3$x,df3$y);
I would like to do something like:
2013 May 13
3
help: R GUI front-end has stopped working
...252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
This is my code:
u<-runif(3000)
k=13
n=length(u)
prob=vector(length=n)
ro=vector(length=n)
beta1=vector(length=n)
g1=vector(length=n)
sb1=vector(length=n)
low=vector(length=n)
tlow=vector(length=n)
effects=vector(length=n)
vb1=vector(length=n)
AA=list()
BB=list()
nnI=list()
library(stats)
for (i in 1:n){
v=as.numeric(u<=u[i])
p=mean(v)
A=vector(length=k)
n1=n%/%k
A<-sapply(1:k,function(m) A<-sum(v[((m-1)*n1+1):(m*n1)]))
A[k]=sum(v[((k-1)*n1+1):n])
AA[[i...
1999 Dec 29
1
cp --recursive
Hi,
I'm trying to copy several files froman NT4 to Linux using
"smbmount //winnt/dados /mnt/tmp -o username=foo,password=bar"
and then "cp -R *.mdb /home".
This is one of my backup steps.
The problem is it won't go recursive. It just copies the files on the
first dir.
I'm using Samba 2.0.6 connecting to NT4 SP3.
Is this a known bug/feature?
Can anyone try this,
1998 Jul 13
0
Re: RedHat 5.X Security Book
...;s the thing, and there's the ways the thing can be used. Don't
confuse the two.
A very minor point, but one that obviously needed mentioning.
Travis
--------------------------------------------------------------------
Travis Low MindQ Publishing
tlow@mindq.com 11490 Commerce Park Drive #400
+1 703 262 6616 (vox) Reston VA 20191-1532 USA
+1 703 716 0237 (fax) http://www.mindq.com
--------------------------------------------------------------------
1999 Dec 30
0
SAMBA digest 2359
...@home.com>
sso> 8) smbfs problems in 2.0.6
sso> by "Keith G. Murphy" <keithmur@mindspring.com>
sso> 9) cp --recursive
sso> by Pedro Fradique da Silva <fradique@ipimar.pt>
sso> 10) Re: cp --recursive
sso> by Travis Low <tlow@knowledgeplanet.com>
sso> 11) Re: cp --recursive
sso> by Nicholas Tang <ntang@rga.com>
sso> 12) Re: Unix .TXT vs DOS .TXT files
sso> by Steve Litt <slitt@troubleshooters.com>
sso> 13) Got samba (almost) working...
sso> by Justin Rain...
2008 Mar 03
3
looping through data frames in a workspace
...each one and clean-up text columns in them. How can I have
R loop through the list? I have tried to find an answer in R help but
the closest solution I can find is to make a static list of data
frames, as illustrated in this recent post:
---------begin post
On Tuesday 19 February 2008 (19:51:15), TLowe wrote:
> Hey Folks,
>
> Could somebody show me how to loop through a list of dataframes? I want to
> be able to generically access their elements and do something with them.
>
> For instance, instead of this:
>
> df1<- data.frame(x=(1:5),y=(1:5));
> df2<- data.fra...