Cannot use msn.marginal {sn} in R -


i have try many ways, still cannot use msn.marginal research. when try install package sn in latest r software (ri386 3.2.0), msn.marginal not in there

msn.marginal 

error: object 'msn.marginal' not found

i tried install package of sn version 0.4-18, still cannot use msn.marginal

so, tried install sn package of version 0.4-14, got

install.packages("http://cran.r-project.org/src/contrib/archive/sn/sn_0.4-14.tar.gz", repo=null, type="source")

installing package ‘c:/users/owner/documents/r/win-library/3.2’ (as ‘lib’ unspecified)

trying url 'http://cran.r-project.org/src/contrib/archive/sn/sn_0.4-14.tar.gz'

content type 'application/x-gzip' length 60084 bytes (58 kb)

downloaded 58 kb

  • installing source package 'sn' ...

** r

** data

** inst

** preparing package lazy loading

** help

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/dmsn.rd:12-16: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/dmst.rd:12-17: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/dsn.rd:13-18: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/dsn2.plot.rd:10-12: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/dst.rd:13-18: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/dst2.plot.rd:10-12: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/msn.conditional.rd:12-15: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/msn.marginal.rd:10-12: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/msn.quantities.rd:10-12: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/sn.cumulants.rd:9-11: section \synopsis unrecognized , dropped

warning: c:/users/owner/appdata/local/temp/rtmpclmzuh/r.install4ee448bd3fa9/sn/man/st.cumulants.rd:10-13: section \synopsis unrecognized , dropped

*** installing indices

** building package indices

** testing if installed package can loaded

*** arch - i386

*** arch - x64

  • done (sn)
msn.marginal 

error: object 'msn.marginal' not found

why msn.marginal dropped?

i first removed copy of sn-package library install archives. call install.packages seems have succeeded (since got "done"-message), appear have failed either execute:

library(sn)   # since if had either error or message: loading required package: mnormt package 'sn', 0.4-14 (2010-01-16). type 'help(sn)' summary information 

(if had executed it, callshould have either produced error or message.) produces code:

> msn.marginal function (xi = rep(0, length(alpha)), omega, alpha, comp = 1:d,      dp = null)  {     if (!is.null(dp)) {         if (!is.null(dp$xi))              xi <- dp$xi         else if (!is.null(dp$beta))              xi <- as.vector(dp$beta)         omega <- dp$omega         alpha <- dp$alpha     }     alpha <- as.vector(alpha) # snipped remainder of function code..... 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -