{
  "_id": "6ac234fcd743750d376d6e47",
  "Package": "GFM",
  "Type": "Package",
  "Title": "Generalized Factor Model",
  "Version": "1.2.2",
  "Date": "2026-01-17",
  "License": "GPL-3",
  "Authors@R": "c(person(given = \"Wei\",\nfamily = \"Liu\",\nrole = c(\"aut\", \"cre\"),\nemail = \"LiuWeideng@gmail.com\"),\nperson(given = \"Huazhen\",\nfamily = \"Lin\",\nrole = \"aut\"),\nperson(given = \"Shurong\",\nfamily = \"Zheng\",\nrole = \"aut\"),\nperson(given = \"Jin\",\nfamily = \"Liu\",\nrole = \"aut\"),\nperson(given = \"Jinyu\",\nfamily = \"Nie\",\nrole = \"aut\"))",
  "Author": "Wei Liu [aut, cre], Huazhen Lin [aut], Shurong Zheng [aut], Jin\nLiu [aut], Jinyu Nie [aut]",
  "Maintainer": "Wei Liu <LiuWeideng@gmail.com>",
  "Description": "Generalized factor model is implemented for ultra-high\ndimensional data with mixed-type variables. Two algorithms,\nvariational EM and alternate maximization, are designed to\nimplement the generalized factor model, respectively. The\nfactor matrix and loading matrix together with the number of\nfactors can be well estimated. This model can be employed in\nsocial and behavioral sciences, economy and finance, and\ngenomics, to extract interpretable nonlinear factors. More\ndetails can be referred to Wei Liu, Huazhen Lin, Shurong Zheng\nand Jin Liu. (2023) <doi:10.1080/01621459.2021.1999818>.",
  "URL": "https://github.com/feiyoung/GFM",
  "BugReports": "https://github.com/feiyoung/GFM/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Repository": "https://feiyoung.r-universe.dev",
  "Date/Publication": "2026-01-17 14:20:34 UTC",
  "RemoteUrl": "https://github.com/feiyoung/gfm",
  "RemoteRef": "HEAD",
  "RemoteSha": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-04 11:07:34 UTC",
    "User": "root"
  },
  "_user": "feiyoung",
  "_type": "src",
  "_file": "GFM_1.2.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/dcc874b4010e0649a7e71fff9b7a6a46e73a90b7f1bab1db1a532e694f4a9345",
  "_filesize": 10514367,
  "_sha256": "dcc874b4010e0649a7e71fff9b7a6a46e73a90b7f1bab1db1a532e694f4a9345",
  "_expires": "2027-01-12T11:13:58.000Z",
  "_created": "2026-10-04T11:07:34.000Z",
  "_published": "2026-10-04T11:14:04.460Z",
  "_jobs": [
    {
      "job": 111422874964,
      "time": 110,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301239731"
    },
    {
      "job": 111422874969,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11302060130"
    },
    {
      "job": 111422874979,
      "time": 112,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301479126"
    },
    {
      "job": 111422874996,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301735407"
    },
    {
      "job": 111422874980,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11301656322"
    },
    {
      "job": 111422874986,
      "time": 322,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11301578867"
    },
    {
      "job": 111422874973,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301224813"
    },
    {
      "job": 111422874991,
      "time": 307,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301800951"
    },
    {
      "job": 111422242675,
      "time": 214,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301750513"
    },
    {
      "job": 111422874914,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11301900405"
    },
    {
      "job": 111422874974,
      "time": 200,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300609818"
    },
    {
      "job": 111422874999,
      "time": 167,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301656345"
    },
    {
      "job": 111422874967,
      "time": 118,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11301409311"
    },
    {
      "job": 111422874977,
      "time": 208,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300884173"
    },
    {
      "job": 111422874997,
      "time": 128,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301558621"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362",
  "_status": "success",
  "_upstream": "https://github.com/feiyoung/gfm",
  "_commit": {
    "id": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
    "author": "feiyoung <1029725413@qq.com>",
    "committer": "feiyoung <1029725413@qq.com>",
    "message": "'update'\n",
    "time": 1768659634
  },
  "_maintainer": {
    "name": "Wei Liu",
    "email": "liuweideng@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "doSNOW",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "irlba",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "feiyoung",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "approximate-factor-model",
    "feature-extraction",
    "nonlinear-dimension-reduction",
    "number-of-factors",
    "openblas",
    "cpp"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "feiyoung",
      "count": 30,
      "uuid": 11505493
    }
  ],
  "_userbio": {
    "uuid": 11505493,
    "type": "user",
    "name": "Wei Liu",
    "followers": 29,
    "description": "Stastistics"
  },
  "_downloads": {
    "count": 459,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GFM"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/feiyoung/gfm",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GFM.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/feiyoung/gfm",
  "_realowner": "feiyoung",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.0",
      "date": "2022-01-05"
    },
    {
      "version": "1.2.0",
      "date": "2023-02-13"
    },
    {
      "version": "1.2.1",
      "date": "2023-08-11"
    },
    {
      "version": "1.2.2",
      "date": "2026-01-18"
    }
  ],
  "_exports": [
    "chooseFacNumber",
    "Factorm",
    "gendata",
    "gfm",
    "measurefun",
    "overdispersedGFM",
    "OverGFMchooseFacNumber"
  ],
  "_help": [
    {
      "page": "chooseFacNumber",
      "title": "Choose the Number of factors for Generalized Factor Models",
      "topics": [
        "chooseFacNumber"
      ]
    },
    {
      "page": "Factorm",
      "title": "Factor Analysis Model",
      "topics": [
        "Factorm"
      ]
    },
    {
      "page": "gendata",
      "title": "Generate simulated data",
      "topics": [
        "gendata"
      ]
    },
    {
      "page": "gfm",
      "title": "Generalized Factor Model",
      "topics": [
        "gfm"
      ]
    },
    {
      "page": "measurefun",
      "title": "Assess the performance of an estimator on a matrix",
      "topics": [
        "measurefun"
      ]
    },
    {
      "page": "overdispersedGFM",
      "title": "Overdispersed Generalized Factor Model",
      "topics": [
        "overdispersedGFM"
      ]
    },
    {
      "page": "OverGFMchooseFacNumber",
      "title": "Choose the Number of factors for Overdispersed Generalized Factor Models",
      "topics": [
        "OverGFMchooseFacNumber"
      ]
    }
  ],
  "_readme": "https://github.com/feiyoung/gfm/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "doSNOW",
    "foreach",
    "irlba",
    "iterators",
    "lattice",
    "MASS",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "snow"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "GFM.Brain.Rmd",
      "filename": "GFM.Brain.html",
      "title": "GFM: A Simple Transcriptomics Data",
      "author": "Wei Liu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load real data",
        "Fit GFM model",
        "Compare with LFM in downstream analysis"
      ],
      "created": "2021-12-25 11:27:41",
      "modified": "2023-08-11 08:11:01",
      "commits": 5
    },
    {
      "source": "GFM.Simu.Rmd",
      "filename": "GFM.Simu.html",
      "title": "GFM: alternate maximization and information criterion",
      "author": "Wei Liu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Fit GFM model using simulated data",
        "GFM can handle data with  homogeneous  normal variables",
        "GFM outperforms LFM in analyzing data with  heterogeous normal variables",
        "GFM outperforms LFM in analyzing data with  Count(Poisson) variables",
        "GFM outperforms LFM in analyzing data with  the mixed-types of count and categorical variables",
        "Session information"
      ],
      "created": "2021-12-25 00:19:08",
      "modified": "2023-08-11 08:11:01",
      "commits": 5
    },
    {
      "source": "RGFM.Rmd",
      "filename": "RGFM.html",
      "title": "Installation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Install the GFM"
      ],
      "created": "2021-12-25 00:19:08",
      "modified": "2023-08-11 08:11:01",
      "commits": 2
    },
    {
      "source": "OverGFM_exam.Rmd",
      "filename": "OverGFM_exam.pdf",
      "title": "OverGFM: simulated examples",
      "author": "Jinyu Nie, Zhilong Qin, Wei Liu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load GFM package",
        "Load rrpack and PCAmixdata packages for other methods",
        "Introduction to the data generation mechanisms",
        "Brief description of other methods",
        "OverGFM can handle overdispersed mixed-type data",
        "Other methods poorly handle overdispersed mixed-type data",
        "Visualization",
        "Session information"
      ],
      "created": "2023-08-11 08:11:01",
      "modified": "2023-08-11 08:11:01",
      "commits": 1
    }
  ],
  "_score": 5.857332496431269,
  "_indexed": true,
  "_nocasepkg": "gfm",
  "_universes": [
    "feiyoung"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/c150be8bb0c0124c8590d2fb1b9e5f836e358c2ca315af0ac4aa6089776ce808",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/11fee2304f6a26229d6b8c9439dc77db7d8c92cd48edbe6ea9b365a7a76ae5ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/be85a9a3776d36a8b2a441db0ee767f5f0f0bdf95c7661ed8215b8a5672d8cb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/29fe7c1f0bc4626144ce3dc0c8b6cba7cc0a2aff44550b1d615d2033ac7d2863",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-04T11:10:03.000Z",
      "arch": "aarch64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/6f3261c9e352fcd77dd8c6ea11b9cae9d3bb7eeb22487fa4cbc03fd0c3194dc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-04T11:11:51.000Z",
      "arch": "x86_64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/a885b69aaa8d7c1f8a8ef99ef871ab51967a88ecc9cacf3f38af879b5583ff4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:34.000Z",
      "arch": "aarch64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/a086c8c17f1c824aaf355b0fb1c7cca2e69e6573b595ce47fd10825c29a1baa2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.2",
      "date": "2026-10-04T11:11:31.000Z",
      "arch": "x86_64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/e71d1b84c0b285e8149e89b13ffbad47299bb0c5139a7e60d67f89f464bf2887",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:36.000Z",
      "arch": "emscripten",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/d81f439ec994dc10e97802b558c815cacd7bd32b44b6326322c0f56a5fafceee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-04T11:10:39.000Z",
      "arch": "aarch64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/84765b113e367fea7c1287b16cf0ff377a07001e370fdf3e7614e5c14729f091",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:16.000Z",
      "arch": "x86_64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/feac93a06c8cf2e2f04efff4e029ead221b437753e6b7baee19e38090d630875",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:05.000Z",
      "arch": "x86_64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/895e36b9a208e3df9b91979460a1043c335bcaf590956d05243e9c43689136a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-04T11:10:52.000Z",
      "arch": "aarch64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/47c1da7fa2d77902f85c899202d8ea0a0486ac14d37b0f0102dd19163fe29d78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.2",
      "date": "2026-10-04T11:09:08.000Z",
      "arch": "x86_64",
      "commit": "63d05da03792e74cfd6fb250021cdcc0f27bac85",
      "fileid": "https://r2.ropensci.org/3eadcbe24c872265e928a13d23d2d6b824ff218b3f7adda14923bae357869d16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/feiyoung/actions/runs/37197466362"
    }
  ]
}