Displaying 3 results from an estimated 3 matches for "tmonth".
Did you mean:
month
2017 Aug 28
3
Extracting subset from netCDF file using lat/lon and converting into .csv in R
...- ncatt_get(ncin,"prAdjust","units")
fillvalue <- ncatt_get(ncin,"prAdjust","_FillValue")
dim(preci.array)
# split the time units string into fields
tustr <- strsplit(tunits$value, " ")
tdstr <- strsplit(unlist(tustr)[3], "-")
tmonth = as.integer(unlist(tdstr)[2])
tday = as.integer(unlist(tdstr)[3])
tyear = as.integer(unlist(tdstr)[1])
chron(time, origin = c(tmonth, tday, tyear))
*Any help would be appreciated!!*
[[alternative HTML version deleted]]
2013 Apr 16
1
assistant
Dear Sir/Ma,
I Adelabu.A.A, one of the R-users from Nigeria. When am running a coxph command the below error was generated, and have try some idea but not going through. kindly please assist:
> cox1 <- coxph(Surv(tmonth,status) ~ sex + age + marital + sumassure, X)
Warning message:
In fitter(X, Y, strats, offset, init, control, weights = weights, :
Ran out of iterations and did not converge
> summary(cox1, conf.int=0.95, exact = TRUE)
Call:
coxph(formula = Surv(tmonth, status) ~ sex + age + marital +...
2017 Aug 28
0
Extracting subset from netCDF file using lat/lon and converting into .csv in R
...quot;)
>
> fillvalue <- ncatt_get(ncin,"prAdjust","_FillValue")
>
> dim(preci.array)
> # split the time units string into fields
> tustr <- strsplit(tunits$value, " ")
>
> tdstr <- strsplit(unlist(tustr)[3], "-")
>
> tmonth = as.integer(unlist(tdstr)[2])
>
> tday = as.integer(unlist(tdstr)[3])
>
> tyear = as.integer(unlist(tdstr)[1])
>
> chron(time, origin = c(tmonth, tday, tyear))
>
> *Any help would be appreciated!!*
>
> [[alternative HTML version deleted]]
>
> ____________...