SCM

[#2787] spmultinom example does not run (missing "confusion" function)

Date:
2013-05-16 17:50
Priority:
3
State:
Open
Submitted by:
Mikhail Titov (mlt)
Assigned to:
Nobody (None)
Hardware:
None
Product:
None
Operating System:
Windows XP
Component:
None
Version:
None
Severity:
None
Resolution:
None
URL:
Summary:
spmultinom example does not run (missing "confusion" function)

Detailed description
I'm trying to run an example from spmultinom help page in R 3.0.0 on Windows XP 32 bits. GSIF version 0.3-2 (2013-04-24)

Here is the output I'm getting:

> eberg_sm <- spmultinom(formulaString, eberg, eberg_spc@predicted)
Fitting a multinomial logistic regression model...
# weights: 132 (110 variable)
initial value 1170.172893
iter 10 value 772.021035
iter 20 value 751.253136
iter 30 value 732.744290
iter 40 value 726.433959
iter 50 value 721.025085
iter 60 value 720.160710
iter 70 value 720.061630
iter 80 value 720.023542
iter 90 value 720.012014
final value 720.011912
converged
Loading required package: mda
Loading required package: psych
Error in .local(formulaString, observations, covariates, ...) :
could not find function "confusion"
In addition: Warning messages:
1: In nnet::multinom(formulaString, ov, ...) : groups ‘Ha’ ‘Hw’ are empty
2: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘mda’
3: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘psych’

Comments:

No Comments Have Been Posted

Attached Files:

Changes

No Changes Have Been Made to This Item

Thanks to:
Vienna University of Economics and Business Powered By FusionForge