Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IEAtoolsMOVEDTOGITHUB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Otto, Dr. Saskia
IEAtoolsMOVEDTOGITHUB
Commits
a92c549b
Commit
a92c549b
authored
4 years ago
by
Otto, Dr. Saskia
Browse files
Options
Downloads
Patches
Plain Diff
update of documentation
parent
48fba174
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
man/mafa.Rd
+9
-3
9 additions, 3 deletions
man/mafa.Rd
with
9 additions
and
3 deletions
man/mafa.Rd
+
9
−
3
View file @
a92c549b
...
...
@@ -4,7 +4,7 @@
\alias{mafa}
\title{Min/Max Autocorrelation Factors Analysis (MAFA) in time (or 1D)}
\usage{
mafa(x, time = NULL, nreal = 1000, nmafs = 3, seed = NULL, contr_var =
15
)
mafa(x, time = NULL, nreal = 1000, nmafs = 3, seed = NULL, contr_var =
NULL
)
}
\arguments{
\item{x}{matrix or data frame containing time series of multiple variables.}
...
...
@@ -20,16 +20,22 @@ mafa(x, time = NULL, nreal = 1000, nmafs = 3, seed = NULL, contr_var = 15)
\item{contr_var}{integer; the number of variables with highest contribution to show in the loading plots.}
}
\description{
This is an example showing how to document functions to be included in the package.
final MAFs were a median profile of the MAFs over all realizations.
Min/Max Autocorrelation Factors Analysis (MAFA) in time (or 1D)
}
\details{
MAFA is a multivariate statistical method, that allows the set of initial variables to be
decomposed into factors. The autocorrelation of which decreases, or the variogram increases,
when going from the first factors to the last ones. Hence the very first factors extract
the part of the variables which is the most continuous in time.
The function for this code is adopted from Wollez et al. 2009 (\url{https://doi.org/10.1051/alr/2009020})
}
\examples{
df <- data.frame(variable1 = 1:20, variable2= rnorm(20, 100, 30), variable3 = 1:20 + rnorm(20))
mafa(x = df, time = 1981:2000)
df <- matrix(rnorm(100), ncol = 5)
colnames(df) <- letters[1:5]
mafa(df)
}
\seealso{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment