耕耘使者 发表于 2014-4-2 11:06 
没别的意思,只是想了解factor这在时原确切作用。
我上网查了,没有找到LGAclaims这个数据集,更奇怪的是 ...
gamlss 这个函数就是在gamlss package里面的。下面是帮助信息:
gamlss {gamlss} R Documentation
Generalized Additive Models for Location Scale and Shape
Description
Returns an object of class "gamlss", which is a generalized additive model for location scale and shape (GAMLSS). The function gamlss() is very similar to the gam() function in S-plus (now also in R in package gam), but can fit more distributions (not only the ones belonging to the exponential family) and can model all the parameters of the distribution as functions of the explanatory variables (e.g. using linear, non-linear, smoothing, loess and random effects terms).
This implementation of gamlss() allows modelling of up to four parameters in a distribution family, which are conventionally called mu, sigma, nu and tau.
The function gamlssNews() shows what is new in the current implementation.
具体的帮助文档我就不贴出来了。