Displaying 6 results from an estimated 6 matches for "coariates".
Did you mean:
covariates
2018 Mar 05
2
backquotes and term.labels
...code the program want to send all of the right-hand side variables
forward to the strata() function.? The code looks more or less like this, where m is the
model frame
? Terms <- terms(m)
? index <- attr(Terms, "term.labels")
? if (length(index) ==0)? X <- rep(1L, n)? # no coariates
? else X <- strata(m[index])
For the variable with a space in the name the term.label is "`in st`", and the subscript
fails.
Is this intended behaviour or a bug?? The issue is that the name of this column in the
model frame does not have the backtics, while the terms structure doe...
2018 Mar 07
1
backquotes and term.labels
...hand side variables
> forward to the strata() function.? The code looks more or less like this, where m is
> the model frame
>
> ? Terms <- terms(m)
> ? index <- attr(Terms, "term.labels")
> ? if (length(index) ==0)? X <- rep(1L, n)? # no coariates
> ? else X <- strata(m[index])
>
> For the variable with a space in the name the term.label is "`in st`", and the
> subscript fails.
>
> Is this intended behaviour or a bug?? The issue is that the name of this column in the
> model frame does...
2018 Mar 08
4
Fwd: Re: [EXTERNAL] Re: backquotes and term.labels
...ction. The code looks more or less like
>>> this, where m is
>>> the model frame
>>>
>>> Terms <- terms(m)
>>> index <- attr(Terms, "term.labels")
>>> if (length(index) ==0) X <- rep(1L, n) # no coariates
>>> else X <- strata(m[index])
>>>
>>> For the variable with a space in the name the term.label is "`in st`",
>>> and the
>>> subscript fails.
>>>
>>> Is this intended behaviour or a bug? The issue i...
2018 Mar 05
0
backquotes and term.labels
...o send all of the right-hand
> side variables forward to the strata() function. The code looks more or
> less like this, where m is the model frame
>
> Terms <- terms(m)
> index <- attr(Terms, "term.labels")
> if (length(index) ==0) X <- rep(1L, n) # no coariates
> else X <- strata(m[index])
>
> For the variable with a space in the name the term.label is "`in st`", and
> the subscript fails.
>
> Is this intended behaviour or a bug? The issue is that the name of this
> column in the model frame does not have the backtics,...
2018 Mar 08
1
Fwd: Re: [EXTERNAL] Re: backquotes and term.labels
...>>>>> this, where m is
>>>>> the model frame
>>>>>
>>>>> Terms <- terms(m)
>>>>> index <- attr(Terms, "term.labels")
>>>>> if (length(index) ==0) X <- rep(1L, n) # no coariates
>>>>> else X <- strata(m[index])
>>>>>
>>>>> For the variable with a space in the name the term.label is "`in
>>>>> st`",
>>>>> and the
>>>>> subscript fails.
>>...
2018 Mar 08
0
Fwd: Re: [EXTERNAL] Re: backquotes and term.labels
...ore or less like
>>>> this, where m is
>>>> the model frame
>>>>
>>>> Terms <- terms(m)
>>>> index <- attr(Terms, "term.labels")
>>>> if (length(index) ==0) X <- rep(1L, n) # no coariates
>>>> else X <- strata(m[index])
>>>>
>>>> For the variable with a space in the name the term.label is "`in
>>>> st`",
>>>> and the
>>>> subscript fails.
>>>>
>>>> Is t...