Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在 R 中保存一个 glm 对象,但是当我重新加载文件时,我得到一个带有我要保存的对象名称的字符向量。
>model = glm(X1 ~ ., family = binomial(link = 'logit'), data = datamatrix) >save(model, file = 'savedmodel') > >savedmodel = load('savedmodel') >savedmodel [1] "model"