Bonjour,

J'aimerai utiliser des méthodes du package tawny de la Random Matrix Theory, voici exemple du tutoriel:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
# This is autorun outside of examples
tawny:::.init()
 
# Fit the appropriate MP curve to the data. This will estimate Q and sigma.
# hist is a histogram object
h <- getRandomMatrix(1000, 6000)
hist <- mp.density.hist(h)
o <- optim(c(6,1), mp.fit.hist(hist))
 
# Calculate and plot the theoretical density distribution
rho <- mp.theory(6,1)
 
clean <- filter.RMT(h, c(6,1))
En exécutant , j'obtiens l'erreur suivante:
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) :
object '.init' not found
Je coince depuis deux jours sans solution. Quelqu'un pourrait m'aider svp?