{
  "_id": "6a106c50acfb0bcc41caa81f",
  "Package": "smile",
  "Title": "Spatial Misalignment: Interpolation, Linkage, and Estimation",
  "Version": "1.1.0",
  "Date": "2025-09-11",
  "Authors@R": "person(given = \"Lucas\",\nfamily = \"da Cunha Godoy\",\nrole = c(\"aut\", \"cre\"),\nemail = \"lcgodoy@duck.com\",\ncomment = c(ORCID = \"0000-0003-4265-972X\"))",
  "Description": "Provides functions to estimate, predict and interpolate\nareal data. For estimation and prediction we assume areal data\nis an average of an underlying continuous spatial process as in\nMoraga et al. (2017) <doi:10.1016/j.spasta.2017.04.006>,\nJohnson et al. (2020) <doi:10.1186/s12942-020-00200-w>, and\nWilson and Wakefield (2020) <doi:10.1093/biostatistics/kxy041>.\nThe interpolation methodology is (mostly) based on Goodchild\nand Lam (1980, ISSN:01652273).",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "GDAL (>= 2.0.1), GEOS (>= 3.4.0), PROJ (>= 4.8.0)",
  "URL": "https://lcgodoy.me/smile/, https://github.com/lcgodoy/smile/",
  "BugReports": "https://github.com/lcgodoy/smile/issues/",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://lcgodoy.r-universe.dev",
  "Date/Publication": "2026-02-06 18:59:53 UTC",
  "RemoteUrl": "https://github.com/lcgodoy/smile",
  "RemoteRef": "HEAD",
  "RemoteSha": "35ad624902c6c364b4c20abb1f4ac775eb345215",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-07 09:02:59 UTC",
    "User": "root"
  },
  "Author": "Lucas da Cunha Godoy [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-4265-972X>)",
  "Maintainer": "Lucas da Cunha Godoy <lcgodoy@duck.com>",
  "MD5sum": "bfb92b24397291fed3b7eb13948e78d9",
  "_user": "lcgodoy",
  "_type": "src",
  "_file": "smile_1.1.0.tar.gz",
  "_fileid": "09f23ed55f782382389790e977ce00b981de999cf29048723c81ca1fbe940207",
  "_filesize": 3926613,
  "_sha256": "09f23ed55f782382389790e977ce00b981de999cf29048723c81ca1fbe940207",
  "_created": "2026-05-07T09:02:59.000Z",
  "_published": "2026-05-22T14:46:40.242Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77403146364,
      "time": 155,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6851101785"
    },
    {
      "job": 77403146225,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6851104429"
    },
    {
      "job": 77403146408,
      "time": 145,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851098021"
    },
    {
      "job": 77403146497,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851108231"
    },
    {
      "job": 77403146508,
      "time": 237,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6851115208"
    },
    {
      "job": 77403146360,
      "time": 403,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6851175191"
    },
    {
      "job": 77403146365,
      "time": 245,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851111636"
    },
    {
      "job": 77403146031,
      "time": 333,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851149365"
    },
    {
      "job": 77403145400,
      "time": 238,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851046963"
    },
    {
      "job": 77403145283,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163348351"
    },
    {
      "job": 77403145808,
      "time": 131,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6851092884"
    },
    {
      "job": 77403146179,
      "time": 149,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6851099641"
    },
    {
      "job": 77403146336,
      "time": 267,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6851139502"
    }
  ],
  "_buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/lcgodoy/smile",
  "_commit": {
    "id": "35ad624902c6c364b4c20abb1f4ac775eb345215",
    "author": "lcgodoy <lcgodoy@duck.com>",
    "committer": "lcgodoy <lcgodoy@duck.com>",
    "message": "add citation file\n",
    "time": 1770404393
  },
  "_maintainer": {
    "name": "Lucas da Cunha Godoy",
    "email": "lcgodoy@duck.com",
    "login": "lcgodoy",
    "orcid": "0000-0003-4265-972X",
    "uuid": 24809942
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "graphics",
      "role": "Suggests"
    }
  ],
  "_owner": "lcgodoy",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 4
    },
    {
      "week": "2026-06",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 9,
  "_contributors": [
    {
      "user": "lcgodoy",
      "count": 202,
      "uuid": 24809942
    },
    {
      "user": "edzer",
      "count": 2,
      "uuid": 520851
    }
  ],
  "_userbio": {
    "uuid": 24809942,
    "type": "user",
    "name": "Lucas Godoy"
  },
  "_downloads": {
    "count": 214,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/smile"
  },
  "_devurl": "https://github.com/lcgodoy/smile",
  "_pkgdown": "https://lcgodoy.me/smile/",
  "_searchresults": 24,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/smile.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/lcgodoy/smile",
  "_realowner": "lcgodoy",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.4.1",
      "date": "2022-04-29"
    },
    {
      "version": "1.0.5",
      "date": "2024-06-14"
    },
    {
      "version": "1.1.0",
      "date": "2025-09-22"
    }
  ],
  "_exports": [
    "ai",
    "ai_var",
    "find_phi",
    "fit_spm",
    "fit_spm2",
    "predict_spm",
    "sev_pexp",
    "sf_to_spm",
    "summary_spm_fit"
  ],
  "_datasets": [
    {
      "name": "liv_lsoa",
      "title": "Liverpool Lower Super Output Area.",
      "object": "liv_lsoa",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "lsoa11cd",
        "lsoa11nm",
        "male",
        "female",
        "imdscore",
        "imdrank",
        "area",
        "geometry"
      ],
      "rows": 298,
      "table": false,
      "tojson": false
    },
    {
      "name": "liv_msoa",
      "title": "Liverpool Middle Super Output Area.",
      "object": "liv_msoa",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "msoa11cd",
        "msoa11nm",
        "leb_est",
        "area",
        "geometry"
      ],
      "rows": 61,
      "table": false,
      "tojson": false
    },
    {
      "name": "nl_ct",
      "title": "Nova Lima census tracts",
      "object": "nl_ct",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "cd_setor",
        "hh_density",
        "var_hhd",
        "avg_income",
        "var_income",
        "pop",
        "avg_age",
        "var_age",
        "prop_women",
        "prop_elder",
        "illit_rate",
        "prop_white",
        "prop_black",
        "prop_native",
        "geometry"
      ],
      "rows": 113,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "AI",
      "title": "Areal Interpolation",
      "topics": [
        "AI",
        "ai",
        "ai_var"
      ]
    },
    {
      "page": "find_phi",
      "title": "Find phi parameter for the Exponential spatial auto-correlation function",
      "topics": [
        "find_phi"
      ]
    },
    {
      "page": "fit_spm",
      "title": "Fitting an underlying continuous process to areal data",
      "topics": [
        "fit_spm",
        "fit_spm.spm",
        "fit_spm2"
      ]
    },
    {
      "page": "goodness_of_fit",
      "title": "Akaike's (and Bayesian) An Information Criterion for 'spm_fit' objects.",
      "topics": [
        "AIC.spm_fit",
        "BIC.spm_fit",
        "goodness_of_fit"
      ]
    },
    {
      "page": "liv_lsoa",
      "title": "Liverpool Lower Super Output Area.",
      "topics": [
        "liv_lsoa"
      ]
    },
    {
      "page": "liv_msoa",
      "title": "Liverpool Middle Super Output Area.",
      "topics": [
        "liv_msoa"
      ]
    },
    {
      "page": "nl_ct",
      "title": "Nova Lima census tracts",
      "topics": [
        "nl_ct"
      ]
    },
    {
      "page": "predict_spm",
      "title": "Prediction over the same or a different set of regions (or points).",
      "topics": [
        "predict_spm",
        "predict_spm.sf",
        "predict_spm.spm_fit"
      ]
    },
    {
      "page": "sev_pexp",
      "title": "Calculate Smallest Eigenvalue for Power Exponential Correlation Matrices",
      "topics": [
        "sev_pexp"
      ]
    },
    {
      "page": "sf_to_spm",
      "title": "single 'sf' to 'spm'",
      "topics": [
        "sf_to_spm",
        "single_sf_to_spm"
      ]
    },
    {
      "page": "smile",
      "title": "smile: Spatial MIsaLignment Estimation",
      "topics": [
        "smile"
      ]
    },
    {
      "page": "summary_spm_fit",
      "title": "Summarizing 'spm_fit'",
      "topics": [
        "summary_spm_fit"
      ]
    },
    {
      "page": "vdl",
      "title": "Voronoi Data Linkage",
      "topics": [
        "vdl"
      ]
    },
    {
      "page": "vdl_var",
      "title": "Voronoi Data Linkage - Single variable and variance",
      "topics": [
        "vdl_var"
      ]
    }
  ],
  "_pkglogo": "https://github.com/lcgodoy/smile/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/lcgodoy/smile/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "e1071",
    "KernSmooth",
    "lattice",
    "MASS",
    "Matrix",
    "mvtnorm",
    "numDeriv",
    "proxy",
    "Rcpp",
    "RcppEigen",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "sf-to-spm.Rmd",
      "filename": "sf-to-spm.html",
      "title": "Converting sf objects to spm ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2020-12-19 00:54:08",
      "modified": "2024-11-15 19:49:38",
      "commits": 15
    },
    {
      "source": "fit-and-pred.Rmd",
      "filename": "fit-and-pred.html",
      "title": "Fitting models and making predictions ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Reference"
      ],
      "created": "2020-12-19 00:54:08",
      "modified": "2024-11-15 21:09:57",
      "commits": 21
    },
    {
      "source": "sai.Rmd",
      "filename": "sai.html",
      "title": "Areal Interpolation ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Reference"
      ],
      "created": "2021-12-15 04:04:35",
      "modified": "2024-11-15 19:49:38",
      "commits": 10
    },
    {
      "source": "theory.Rmd",
      "filename": "theory.html",
      "title": "Method ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "General setup",
        "Model-based approach",
        "Areal Interpolation (AI)",
        "Reference"
      ],
      "created": "2020-12-19 00:54:08",
      "modified": "2024-11-15 21:09:57",
      "commits": 13
    },
    {
      "source": "sp-cov-functions.Rmd",
      "filename": "sp-cov-functions.html",
      "title": "Spatial covariance functions ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Reference"
      ],
      "created": "2020-12-18 22:27:38",
      "modified": "2024-11-15 21:09:57",
      "commits": 10
    }
  ],
  "_score": 6.209515014542631,
  "_indexed": true,
  "_nocasepkg": "smile",
  "_universes": [
    "lcgodoy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-07T09:05:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "0825b1c4df61c805c8f8e70f79397d9c2395896cf958867ad24c628c6d354e0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-07T09:05:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "0620eafddbf226a243f57c3004057ce50c159ad42c5e5f56e53616fe1ddaf117",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-07T09:05:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "76eea73846c92a439b6acb262d4109623b9aa2ad269af29fbdb8ae15744a484a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-07T09:05:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "8437ea7765f72f253ba8895fc3912a1456c3cf43e2552bfa578a74fb32471df8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-07T09:06:07.000Z",
      "arch": "aarch64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "04ed5617dfbfc5f4802fed66b658db177c10ad75c3553581ffe626f4738f757e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-07T09:08:00.000Z",
      "arch": "x86_64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "f0892f758c0834cc27277b6f1f9f4fad455c950abd58a80f2b21194fba635206",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-07T09:05:32.000Z",
      "arch": "aarch64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "3914aff1b090b622e0104ef550c6a359105ad974a606ae58927ea985af22b295",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-07T09:06:45.000Z",
      "arch": "x86_64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "e5718d72e90ef36fefb00da3b0326b12f66a105724603fbcb8dfdebe3d17912b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-07T09:04:29.000Z",
      "arch": "x86_64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "700769c4a6cd94c1b3ab6eb8bef1b22b2db19b77e2d04c3dd3ec9299c2ca552f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-07T09:04:39.000Z",
      "arch": "x86_64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "a6d9b3d6980a026180ee995e1af8c96a2ef88b1a70814287549af1270b070682",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-07T09:06:48.000Z",
      "arch": "x86_64",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "7eff6c4cfcb88269e7b509f7355b7c05c3e30128b8a3e8721d26887dc4eb6bbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-22T14:46:05.000Z",
      "arch": "emscripten",
      "commit": "35ad624902c6c364b4c20abb1f4ac775eb345215",
      "fileid": "30559aa6ed59d6a89161694a1288d9bb4f261593d065b0bf87a639773d63d45d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/lcgodoy/actions/runs/25486233367"
    }
  ]
}