Skip to content
CRAN requires the check problems on this package to be fixed before Nov 3 or it will be archived. See the check details

qrfactor

1.6Package record

Simultaneous Q-Mode and R-Mode Factor Analysis for Spatial Data

0packages depend
620downloads / year
24.2%test coverage
11/13flavors OK

Overview

About

Performs Q-mode and R-mode factor analysis simultaneously on spatial and non-spatial data. A single function, qrfactor(), carries out principal component analysis, R-mode factor analysis, Q-mode factor analysis, simultaneous R- and Q-mode factor analysis, principal coordinate analysis and multidimensional scaling. Loadings and scores are returned from the fitted object, and the plot() method provides annotated biplots for combinations of eigenvectors, loadings and scores. Input may be supplied as an 'ESRI' shapefile, a delimited text file or a data frame.

Changes in 1.6

New features

  • qrfactor() gains a rotation argument (default FALSE). Set rotation = TRUE (or "varimax") to varimax-rotate the retained factors to simple structure; the default keeps the classical unrotated solution, so existing results are unchanged. When rotation is requested the same orthogonal rotation is applied to the R-mode and Q-mode loadings, so both modes remain on one common set of axes and the scores, combined loadings, appended index columns and all biplots/maps rotate consistently. The eigenvectors, eigenvalues and PCA loadings are left unrotated. The fitted object now also carries rotation, unrotated.r.loading and unrotated.q.loading.

CRAN policy compliance

Show all changes in 1.6Hide the rest of the changes in 1.6
  • The plot() method no longer leaves the user's graphics state changed: par() is captured on entry and restored with on.exit().
  • The analysis views (type = "cluster", "anova", "region", "admin", "diagnose") no longer write statistical tables to the console unconditionally. They are silent by default and print only when the new plot(..., verbose = TRUE) argument is set; the print()/summary() methods are unaffected.
  • Quoted software and package names ('qrfactor()', 'plot()', 'ESRI') in the DESCRIPTION, and rewrote the ?qrfactor examples so the fast data-frame workflow runs unwrapped and only the shapefile / map examples (which need sf/sp) are under \donttest{}. The stale readOGR() example call was removed.

From NEWS.md in the release

Install

Health

CRAN checks
2ERROR11OK
Check messages
ERRORexamplesr-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Running examples in ‘qrfactor-Ex.R’ failed
The error most likely occurred in:

> ### Name: qrfactor
> ### Title: Simultaneous Q-Mode and R-Mode Factor Analysis
> ### Aliases: qrfactor qrfactor.default print.qrfactor summary.qrfactor
> ###   plot.qrfactor
> ### Keywords: Factor Analysis
> 
> ### ** Examples
> 
> # --- CSV / data-frame workflow (fast, always runs) ---
> csv <- system.file("external", "Africanfreshwater.csv", package = "qrfactor")
> var <- c("Domestic", "Industry", "Agricultur", "Resources",
+          "withdrawal", "perCapitaW")
> 
> mod0 <- qrfactor(csv, var = var)   # classical unrotated solution (default)
Error in `[.data.frame`(object, var) : undefined columns selected
Calls: qrfactor -> qrfactor.default -> rq -> [ -> [.data.frame
Execution halted

CRAN check page ↗

Slowest check: 1.4 min · r-oldrel-windows-x86_64
Status changes
  • ERROR11 OK, 2 ERRORNow
  • ERROR5 OK, 2 ERROR2026-09-16
Advisories

none known

Documentation

In release 1.6
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 1.6Citation fileNoWebsiteYes · pkgdown
Help pages
2
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
50%

Downloads

620
CRAN downloads in the past year
Rank #21,404 · ~2/day · ~52/mo
Daily download trend is not available in this view yet.
46030 days
62090 days
6201 year
Compare downloads with other packages →
Also on7 r2u2 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-09-06
Responsiveness
not measured
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/gowusu/qrfactor on 2026-10-21.

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-07-26

pkgdown site last built 2026-07-26, before release 1.6 (2026-09-15)

CRAN release process (1)
cran-comments.md
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing qrfactor adds 6 packages (3 with compiled code, 7.1 MB of source tarballs). Heaviest: sp 4.3 MB, robustbase 2.2 MB, mvoutlier 466 KB.

Depends (1)
R >= 3.5.0
Imports (5)
methodsspclustermvoutlierpvclust
LinkingTo (0)
none
Suggests (2)
MASSsf
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0 (2011)
Releases (6)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-09-15
  • 1.6Latest
    record
    2026-09-15 · current release · diff ↗ ·
    removed 1 export
    pattern:.
    added 1 export
    qrfactor
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • archivedRemoved from CRAN
    2018-06-17
    check problems were not corrected despite reminders
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
Show 9 earlier eventsHide 9 earlier events
  • 1.4
    record
    2014-01-02 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • 1.3
    record
    2012-02-20 · diff ↗
  • 1.2
    record
    2012-02-20 · diff ↗ ·
    added 1 export
    pattern:.
  • 1.1
    record
    2011-11-14 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 1.0
    record
    2011-10-26
  • R
    R 2.13.0 released · 2011-04-13

Package metadata

First published
2011-10-26
Total releases
6 / 15 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Download size
2.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("qrfactor")
Owusu, G. (2026). qrfactor: Simultaneous Q-Mode and R-Mode Factor Analysis for Spatial Data (Version 1.6) [Computer software]. https://doi.org/10.32614/CRAN.package.qrfactor

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for qrfactor version 1.6 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy