Displaying 4 results from an estimated 4 matches for "demogdata".
2017 Feb 15
2
stats::median
...;)}
I suggest that this should become
median <- function (x, na.rm = FALSE, ...) {UseMethod("median")}
This would allow additional S3 methods to be developed with additional
arguments.
Currently I have to over-ride this generic definition in the
demography package because median.demogdata has several other
arguments.
This shouldn't break any code, and will make it easier for new S3
methods to be developed. It is also consistent with almost all other
S3 methods which do include an ellipsis.
-------------------------------------------------------------
Rob J Hyndman
Professor of...
2017 Mar 01
1
stats::median
......) {UseMethod("median")}
>> This would allow additional S3 methods to be developed
>> with additional arguments.
> and S4 methods, too.
>> Currently I have to over-ride this generic definition in
>> the demography package because median.demogdata has
>> several other arguments.
>> This shouldn't break any code, and will make it easier
>> for new S3 methods to be developed. It is also consistent
>> with almost all other S3 methods which do include an
>> ellipsis.
> "shouldn&...
2017 Feb 27
0
stats::median
...> na.rm = FALSE, ...) {UseMethod("median")}
> This would allow additional S3 methods to be developed
> with additional arguments.
and S4 methods, too.
> Currently I have to over-ride this generic definition in
> the demography package because median.demogdata has
> several other arguments.
> This shouldn't break any code, and will make it easier for
> new S3 methods to be developed. It is also consistent with
> almost all other S3 methods which do include an ellipsis.
"shouldn't break any code" is almost...
2016 Jul 11
2
Esperanza de vida librería 'demography'
...ames(Evap_rate)<-c(201210,201301,201304)
colnames(Pop)<-c(201210,201301,201304)
rownames(Evap_rate)<-c(rep(1:nrow(Evap_rate)))
rownames(Pop)<-c(rep(1:nrow(Pop)))
year<-c(201210,201301,201304) ###Es correcto usar meses en lugar de años?
age<-c(1:nrow(Evap_rate))
Renov_data<-demogdata(Evap_rate, Pop ,age, year, "mortality","SPAIN","device",1)
Lte_renov<-life.expectancy(Renov_data,years=Renov_data$year, type="cohort",
age=min(Renov_data$age))
[cid:image001.png en 01D1DB6D.E8E90AC0] ###Por qué el resultado cuand...