Commit 099d2940 by Christelle Melodelima

remove dependancy to matlib

parent a7d9dea9
......@@ -3,3 +3,4 @@
.RData
.Ruserdata
inst/doc
.DS_Store
......@@ -9,7 +9,6 @@ Description: More about what it does (maybe more than one line)
License: What license is it under?
Encoding: UTF-8
LazyData: true
Imports: matlib
RoxygenNote: 6.0.1
Suggests: knitr,
rmarkdown
......
......@@ -6,4 +6,3 @@ S3method(print,pm)
export(mcor)
export(mvar)
export(pm)
import(matlib)
......@@ -15,3 +15,4 @@ LaTeX: pdfLaTeX
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace,vignette
#' @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
......
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