[R] Odp: error_hier.part

Petr PIKAL petr.pikal at precheza.cz
Tue Mar 9 08:27:53 CET 2010


Hi

r-help-bounces at r-project.org napsal dne 08.03.2010 11:39:27:

> Hi everyone,
> 
> BEGINNER question:
> I get the error below when running hier.part. Probably i´m doing
> something wrong.
> 
> Error in glm.fit(x = X, y = Y, weights = weights, start = start, 
etastart =
> etastart,  :
>   object 'fit' not found
> In addition: Warning messages:
> 1: In glm.fit(x = X, y = Y, weights = weights, start = start, etastart =
> etastart,  :
>   no observations informative at iteration 1
> 2: In glm.fit(x = X, y = Y, weights = weights, start = start, etastart =
> etastart,  :
>   algorithm did not converge
> 
> The steps i followed:
> - read.table to import 9 ascii files with no header
> - data.frame to join those nine objects (factors)
> - unlist to turn another imported ascii into vector (dependent variable)
> 
> Note: novalues in the ascii appear as -9999. Importing them like that 
gives
> factors; if i change that to NaN, data frames result.
> 
> I know i must be doing something wrong. Can someone please give me some
> clues on what that is?

You are definitely not following posting guide. Provide at least a code 
which led to the error, provide at least structure of your data

str(your.data)

Importing numeric columns with -9999 shall not give factors as result.

What can change factors to data frames??? Without implicit data framing it 
by data.frame(whatever, ...)

Regards
Petr


> Thanks in advance
> Marco
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list