Displaying 3 results from an estimated 3 matches for "maryr".
Did you mean:
mary
2013 Oct 04
2
pregunta
...ayuda del R funcionan perfectamente
###########################################
library(survival)
library(epicalc)
data(Marryage)
use(Marryage)
attach(Marryage)
summ(Marryage)
age <- endyr - birthyr
label.var(age, "Age")
summ(age, by = marital)
age.marr <- maryr - birthyr
label.var(age.marr, "Age at marriage")
summ(.data[,8:9])
married <- marital == "Married"
time <- ifelse(married, age.marr, age)
(surv.marr <- Surv(time, married))
head(data.frame(age, age.marr, married, surv.marr))
.
cbind(age, sex, age.marr,...
2013 Oct 04
1
pregunta
...rryage)
>>
>> attach(Marryage)
>>
>> summ(Marryage)
>>
>>
>>
>>
>>
>> age <- endyr - birthyr
>>
>> label.var(age, "Age")
>>
>> summ(age, by = marital)
>>
>>
>>
>> age.marr <- maryr - birthyr
>>
>> label.var(age.marr, "Age at marriage")
>>
>> summ(.data[,8:9])
>>
>>
>>
>> married <- marital == "Married"
>>
>> time <- ifelse(married, age.marr, age)
>>
>>
>>
>> (surv....
2013 Oct 04
0
pregunta
...)
>
> library(epicalc)
>
> data(Marryage)
>
> use(Marryage)
>
> attach(Marryage)
>
> summ(Marryage)
>
>
>
>
>
> age <- endyr - birthyr
>
> label.var(age, "Age")
>
> summ(age, by = marital)
>
>
>
> age.marr <- maryr - birthyr
>
> label.var(age.marr, "Age at marriage")
>
> summ(.data[,8:9])
>
>
>
> married <- marital == "Married"
>
> time <- ifelse(married, age.marr, age)
>
>
>
> (surv.marr <- Surv(time, married))
>
> head(data.fram...