我试图了解预测值在nlme
中的预测函数中的含义我正在使用predict
函数的nlme手册中给出的数据和代码作为示例
library(nlme)
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
newOrth <- data.frame(Sex = c("Female","Female","Female","Female","Male","Male"),
age = c(15, 20, 10, 12, 2, 4),
Subject = c("M01","M01","F30","F30","M04","M04"))
## The Orthodont data has *no* F30 , so predict NA at level 1 :
predict(fm1, newOrth, level = 0:1)
predict.fixed
和predict.Subject
列之间有什么区别?
我认为,如果我们省略levels
参数,我们会得到每个主题的age
的每个请求值的预测值,并且这是0
中的0:1
levels
参数的predict.fixed
。但是什么是<TabControl Name="tabControl" Grid.Row="0" MinWidth="270" HorizontalAlignment="Stretch" ItemsSource="{Binding Counters}" ContentTemplate="{StaticResource templateForTheContent}"
ItemTemplate="{StaticResource templateForTheHeader}">
</TabControl>
以及它是如何有用的?