Displaying 2 results from an estimated 2 matches for "vnms".
Did you mean:
vms
2004 Sep 02
3
confidence intervals
Dear R users;
Im working with lme and Id like to have an idea of how
can I get CI for the predictions made with the model.
Im not a stats guy but, if Im not wrong, the CIs
should be different if Im predicting a new data point
or a new group. Ive been searching through the web and
in help-lists with no luck. I know this topic had been
asked before but without replies. Can anyone give an
idea of
2003 Jun 25
3
joining columns as in a relational database
...mples
Several questions:
- Am I duplicating existing functionality?
- Is cjoin a good name for such a function?
- Would this be useful in base?
-------------- next part --------------
"cjoin" <-
function(fr1, fr2, cnm1, cnm2 = cnm1, which)
{
val = as.data.frame(fr1)
vnms = names(val)
cnm1 = as.character(cnm1)
if (length(cnm1) < 1 || any(is.na(match(cnm1, vnms)))) {
stop("cnm1 must be one or more column names from fr1")
}
fr2nm = names(fr2)
if (!missing(cnm2)) {
cnm2 = as.character(cnm2)
if (length(cnm2) != le...