Commit 4e422791 by Eric Coissac

Remove matlib dependency

parent 4666fe91
......@@ -6,4 +6,3 @@ S3method(print,pm)
export(mcor)
export(mvar)
export(pm)
import(matlib)
#' @title ProcMod
#' @description blabla
#' @author Christelle Gonindard-Melodelima
#' @import matlib
#'
require(matlib)
NULL
#' Compute the variance, covariance matrix of K coordinate matrices.
#'
......@@ -132,7 +130,7 @@ pm = function (model,data) {
SIMPLIFY = FALSE)
if (length(xx.cov)>1)
ixx.cov=inv(xx.cov)
ixx.cov=solve(xx.cov)
else
ixx.cov=1/xx.cov
......@@ -318,3 +316,6 @@ summary.pm = function(object,
return(results)
}
AIC.pm = function(object, ..., k = 2) {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment