I am using a multiple additive model (in the quantreg package) and I would
like to 'extract' the fitted model formulae
ie- for a straight line the formula would be y= 'a+b*c'
for my multiple model I would expect somthing more complex because the model
is not linear (its a bit like a GAM) but given
Hi All,
I am using the package quantreg to create a 'model' that I can then use to
predict the response variable (volume) from a larger set of explanatory
variables (environmental factors):
ie-
#model-
>fit <- rqss(volume~qss(env.factor1,lambda=1)+ qss(env.factor2,lambda=1),
tau = 0.9)
>summary(
mm / 60 + ss / 3600)' to something like
> # 'Convert <- function(sign, d, m, s, dd = as.numeric(d), mm = as.numeric(m),
>ss = as.numeric(s)) sign * (abs(dd) + mm / 60 + ss / 3600) #(this does not
>work
>but something similar, or a different approach may?)
>
> An
Hi,
I am trying to do some calculations turning DMS data to decimal degrees using
the formula (D+(M/60)+(S/3600)), some of the D's involve -ve numbers, the
easiest way to do the calculation is to use absolute numbers then use the
'sign'
function in R to change the answer back to the correct -
Hi All,
I have location data set up as degrees: minutes: seconds (for example,
122:45:45) I need to get this data into decimal degree form (eg, 122.7625).
I know that I need to use the formula:
Decimal degrees = Degrees + (Minutes/60) + (Seconds/3600)
Does anyone know how I can get R to do t
Hi All,
I have location data set up as degrees: minutes: seconds (for example,
122:45:45) I need to get this data into decimal degree form (122.7625).
I know that I need to use the formula
Decimal degrees = Degrees + (Minutes/60) + (Seconds/3600)
Does anyone know how I can get R to do this?
6 matches
Mail list logo