Displaying 3 results from an estimated 3 matches for "varmin".
Did you mean:
armin
2008 Jul 04
2
create a zero matrix & fill
...ot be transformed in double)
> plot(Variation[1],Variation[2])
Fehler in as.double.default(x) : (list) Objekt kann nicht nach 'double'
umgewandelt werden
Any suggestion?
Hier is the function:
#Computing variation of the power
VAR<-function(power,length){
tvar=pmean=pmin=pmax=varmax=varmin<-matrix(data=0,ncol=(length-tml0))
for(i in tml0:length){
tvar[i]=i
pmean[i]=mean(power[i:(i+deltat)])
pmin[i]=min(power[i:(i+deltat)])
pmax[i]=max(power[i:(i+deltat)])
varmax[i]=100*(pmax[i]-pmean[i])/pmean[i]
varmin[i]=100*(pmean[i]-pmin[i])/pmean[i]
Results=list(tvar,pmean,pmin,pmax,varmax,va...
2008 Jul 04
1
initialize a matrix
...eturns minimum,maximum,mean of a
vector(power)
I've done the following :
VAR<-function(power,length){
for(i in tml:length)){
tvar[i]<-i
pmean[i]<-mean(power[i:i+deltat])
pmin[i]<-min(power[i:i+deltat])
pmax[i]<-max(power[i:i+deltat])
varmax[i]<-100*(pmax[i]-pmean[i])/pmean[i]
varmin[i]<-100*(pmean[i]-pmin[i])/pmean[i]
Resulats<-list(tvar,pmin,pmax,pmean,varmin,varmax)
}}
p.s. tml is a variable which is grater than 0 , deltat is a constant defined
The problem is that tvar is unknown for R.
So I have to initialize tvar,pmean...
Should I create a zero matrix with length o...
2008 Jul 04
0
RES: initialize a matrix
...eturns minimum,maximum,mean of a
vector(power)
I've done the following :
VAR<-function(power,length){
for(i in tml:length)){
tvar[i]<-i
pmean[i]<-mean(power[i:i+deltat])
pmin[i]<-min(power[i:i+deltat])
pmax[i]<-max(power[i:i+deltat])
varmax[i]<-100*(pmax[i]-pmean[i])/pmean[i]
varmin[i]<-100*(pmean[i]-pmin[i])/pmean[i]
Resulats<-list(tvar,pmin,pmax,pmean,varmin,varmax)
}}
p.s. tml is a variable which is grater than 0 , deltat is a constant defined
The problem is that tvar is unknown for R.
So I have to initialize tvar,pmean...
Should I create a zero matrix with length o...