Displaying 4 results from an estimated 4 matches for "valp".
Did you mean:
val
2004 Aug 31
1
subselect install problem
...R 1.8.1 fails (below). Any help is greatly appreciated.
Xiao-Jun
* Installing *source* package 'subselect' ...
** libs
f2c < anneal.f > anneal.c
anneal:
Error on line 263: Declaration error for fica: adjustable dimension on non-argument
Error on line 263: Declaration error for valp: adjustable dimension on non-argument
Error on line 263: Declaration error for auxw: adjustable dimension on non-argument
Error on line 263: wr_ardecls: nonconstant array size
Error on line 263: wr_ardecls: nonconstant array size
Error on line 263: wr_ardecls: nonconstant array size
make: *** [a...
2007 Jan 05
1
help for memory problem with 64-bit machines
...as.integer(ninclude), as.integer(inc),
as.integer(nsol), as.integer(niter), as.logical(improvement),
as.double(cooling), as.double(temp), as.integer(coolfreq),
as.integer(length(pcindices)), as.integer(pcindices), as.logical(esp),
as.logical(silog), as.integer(as.vector(initialsol)), as.double(valp),
as.double(as.vector(vecp)), as.double(as.vector(H)), as.integer(r), PACKAGE =
"subselect")
2: anneal(cor(swiss), 2, 3, nsol = 4, niter = 10, criterion = "RM")
aborting ...
-------------------------------------------------------------------------------
-----
----...
2013 Jun 04
0
Conversión de objeto temporal (TS) a matriz (o data.frame)
...rmatC(
apply(x.matriz,2,function(x) sd(x,na.rm=T)),
dig=2,format="f"),
varianza=formatC(
apply(x.matriz,2,function(x) var(x,na.rm=T)),
dig=2,format="f"),
shapiro.valor=formatC(
aux.shapiro[1,],dig=4,format="f"),
shapiro.valp=formatC(
aux.shapiro[2,],dig=4,format="f")
)
Siendo x.matriz un objeto TS convertido a matriz. Aux.shapiro la calculo
así:
# Prueba de Shapiro y Wilk
aux.shapiro<-matrix(unlist(apply(x.matriz,2,function(x)
shapiro.test(x)[1:2])),
ncol=12,nrow=2)
¡Ah, vale!:...
2013 Jun 02
2
Conversión de objeto temporal (TS) a matriz (o data.frame)
Hola,
Si no te entiendo mal, necesitas la conversión a matriz como paso
intermedio para agregar por meses (o cualquier unidad temporal). Si es
así, te aconsejo que uses el paquete zoo y el método aggregate para la
clase zoo.
Por ejemplo:
library(zoo)
dats <- data.frame(date=seq(as.Date('2012-01-01'), by='day', length=3*365),
A=rnorm(3*365),