{
  "_id": "6a23e7df530b9bc726be93d5",
  "Package": "skUtils",
  "Type": "Package",
  "Title": "Helper functions for repgames and dyngames",
  "Version": "0.1",
  "Date": "2012-03-17",
  "Author": "Sebastian Kranz",
  "Maintainer": "Sebastian Kranz <sebastian.kranz@uni-ulm.de>",
  "Description": "Helper functions needed by my package repgames and\ndyngames",
  "License": "GPL (>= 2)",
  "Repository": "https://skranz.r-universe.dev",
  "Date/Publication": "2021-04-06 05:35:59 UTC",
  "RemoteUrl": "https://github.com/skranz/skUtils",
  "RemoteRef": "master",
  "RemoteSha": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-06 09:23:17 UTC",
    "User": "root"
  },
  "MD5sum": "0fe5545bc92886d8ff98a7950ac5a870",
  "_user": "skranz",
  "_type": "src",
  "_file": "skUtils_0.1.tar.gz",
  "_fileid": "91abd5419230d23959bc0c1a02b026e9454f011de96c6bd4137b7ecae0413c4a",
  "_filesize": 117703,
  "_sha256": "91abd5419230d23959bc0c1a02b026e9454f011de96c6bd4137b7ecae0413c4a",
  "_created": "2026-06-06T09:23:17.000Z",
  "_published": "2026-06-06T09:26:55.145Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79867320697,
      "time": 96,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7453226971"
    },
    {
      "job": 79867320695,
      "time": 99,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7453226903"
    },
    {
      "job": 79867320704,
      "time": 97,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7453227074"
    },
    {
      "job": 79867320700,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7453227309"
    },
    {
      "job": 79867320721,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7453226700"
    },
    {
      "job": 79867320716,
      "time": 177,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7453235124"
    },
    {
      "job": 79867320709,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7453229155"
    },
    {
      "job": 79867320706,
      "time": 178,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7453235169"
    },
    {
      "job": 79867174102,
      "time": 167,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453216329"
    },
    {
      "job": 79867320678,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453226073"
    },
    {
      "job": 79867320693,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7453227892"
    },
    {
      "job": 79867320694,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7453224521"
    },
    {
      "job": 79867320691,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7453226920"
    }
  ],
  "_buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/skranz/skUtils",
  "_commit": {
    "id": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
    "author": "Sebastian Kranz <sebkranz@gmail.com>",
    "committer": "Sebastian Kranz <sebkranz@gmail.com>",
    "message": "Update DESCRIPTION\n",
    "time": 1617687359
  },
  "_maintainer": {
    "name": "Sebastian Kranz",
    "email": "sebastian.kranz@uni-ulm.de",
    "login": "skranz",
    "bluesky": "@sebkranz.bsky.social",
    "description": "",
    "uuid": 1413022
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.2",
      "role": "Imports"
    }
  ],
  "_owner": "skranz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "skranz",
      "count": 2,
      "uuid": 1413022
    }
  ],
  "_userbio": {
    "uuid": 1413022,
    "type": "user",
    "name": "Sebastian Kranz"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/skUtils"
  },
  "_devurl": "https://github.com/skranz/skutils",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/skUtils.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add.rowvec",
    "all.eq",
    "approxeq",
    "assign.cols",
    "C_colMaxs",
    "C_colMins",
    "C_rowMaxs",
    "C_rowMins",
    "C_which_colMaxs",
    "C_which_colMins",
    "C_which_rowMaxs",
    "C_which_rowMins",
    "calc.mean.from.F.fun",
    "check.global.vars",
    "clone.env",
    "clone.environment",
    "col.matrix",
    "colMaxs",
    "colMins",
    "copy.env",
    "copy.into.env",
    "copy.into.list",
    "currentenv",
    "discretize.given.F.vec",
    "example.col.matrix",
    "examples.assign.cols",
    "examples.colMaxs",
    "examples.copy.into.list",
    "examples.grid.matrix.permutation",
    "examples.grid.to.matrix",
    "examples.matrix.to.grid",
    "examples.rbind.list",
    "findzero",
    "grid.matrix.permutation",
    "grid.to.matrix",
    "ls.funs",
    "ls.vars",
    "make.grid.matrix",
    "matrix.to.grid",
    "named.list",
    "nlist",
    "paste.matrix.cols",
    "paste.matrix.rows",
    "plot.multi.lines",
    "rbind.list",
    "row.matrix",
    "rowMaxs",
    "rowMins",
    "set.default",
    "sk.levelplot",
    "sk.optim",
    "sk.pareto.frontier",
    "which.colMaxs",
    "which.colMins",
    "which.rowMaxs",
    "which.rowMins"
  ],
  "_help": [
    {
      "page": "add.rowvec",
      "title": "Add a vector v to each row of m",
      "topics": [
        "add.rowvec"
      ]
    },
    {
      "page": "approxeq",
      "title": "APPROXEQ Are a and b approximately equal (to within a specified tolerance)? p = approxeq(a, b, thresh) 'tol' defaults to 1e-3.",
      "topics": [
        "approxeq"
      ]
    },
    {
      "page": "assign.cols",
      "title": "Assigns all columns of df into variables with the same name in environment env",
      "topics": [
        "assign.cols"
      ]
    },
    {
      "page": "calc.mean.from.F.fun",
      "title": "Calculate numerically the expected value given a cdf",
      "topics": [
        "calc.mean.from.F.fun"
      ]
    },
    {
      "page": "check.global.vars",
      "title": "Some functions that are useful for coding Looks through all loaded functions and searches for global variables that are used within the functions this is a common source for errors",
      "topics": [
        "check.global.vars"
      ]
    },
    {
      "page": "clone.environment",
      "title": "Clones an environment and its children",
      "topics": [
        "clone.environment"
      ]
    },
    {
      "page": "col.matrix",
      "title": "Generates a matrix in which all cols are equal to col",
      "topics": [
        "col.matrix"
      ]
    },
    {
      "page": "colMaxs",
      "title": "Computes quickly the maxima of each column of a matrix",
      "topics": [
        "colMaxs"
      ]
    },
    {
      "page": "colMins",
      "title": "Computes quickly the minima of each column of a matrix",
      "topics": [
        "colMins"
      ]
    },
    {
      "page": "copy.env",
      "title": "Copies an environment",
      "topics": [
        "copy.env"
      ]
    },
    {
      "page": "discretize.given.F.vec",
      "title": "Helper function to discretize a continous distribution. F.vec is a finite vector containing the value of the cdf at M different points. The function generates an M dimension vector of probabilities summing up to 1 that discretize the distribution",
      "topics": [
        "discretize.given.F.vec"
      ]
    },
    {
      "page": "findzero",
      "title": "Finds position where the function f becomes zero First tries find.root and if this fails tries optimize",
      "topics": [
        "findzero"
      ]
    },
    {
      "page": "grid.matrix.permutation",
      "title": "Gives the corresponding rows for a permutated grid.matrix given a permutation x.perm of the elements of the original list x",
      "topics": [
        "grid.matrix.permutation"
      ]
    },
    {
      "page": "grid.to.matrix",
      "title": "Transforms a grid in long format into a matrix",
      "topics": [
        "grid.to.matrix"
      ]
    },
    {
      "page": "ls.funs",
      "title": "List all functions",
      "topics": [
        "ls.funs"
      ]
    },
    {
      "page": "ls.vars",
      "title": "List all variables",
      "topics": [
        "ls.vars"
      ]
    },
    {
      "page": "matrix.to.grid",
      "title": "Some functions that are useful for manipulating or creating matrices and data.frames and working with lists of vectors, lists of lists or lists of matrices Transforms a matrix into grid in long format",
      "topics": [
        "matrix.to.grid"
      ]
    },
    {
      "page": "named.list",
      "title": "Some functions that are useful for lists and environments in particular generating, transforming, copying and assigning values Creates a list that is named by the names of its arguments",
      "topics": [
        "named.list"
      ]
    },
    {
      "page": "paste.matrix.cols",
      "title": "Paste together columns of a matrix or data.frame",
      "topics": [
        "paste.matrix.cols"
      ]
    },
    {
      "page": "paste.matrix.rows",
      "title": "Paste together rows of a matrix or data.frame",
      "topics": [
        "paste.matrix.rows"
      ]
    },
    {
      "page": "plot.multi.lines",
      "title": "Plot several lines",
      "topics": [
        "plot.multi.lines"
      ]
    },
    {
      "page": "rbind.list",
      "title": "rbinds a list of matrices, a list of lists, or a list of vectors into a data.frame (or matrix) each column is a list Assume that all columns in the sublists are in the same order",
      "topics": [
        "rbind.list"
      ]
    },
    {
      "page": "row.matrix",
      "title": "Generates a matrix in which all rows are equal to row",
      "topics": [
        "row.matrix"
      ]
    },
    {
      "page": "rowMaxs",
      "title": "Computes quickly the minima of each row of a matrix",
      "topics": [
        "rowMaxs"
      ]
    },
    {
      "page": "rowMins",
      "title": "Computes quickly the minima of each row of a matrix",
      "topics": [
        "rowMins"
      ]
    },
    {
      "page": "set.default",
      "title": "Need to check what it does",
      "topics": [
        "set.default"
      ]
    },
    {
      "page": "sk.levelplot",
      "title": "My wrapper to the lattice function levelplot. Allows for some own color schemes The parameter focus specifies at which z range stronger color changes shall appear",
      "topics": [
        "sk.levelplot"
      ]
    },
    {
      "page": "sk.optim",
      "title": "A wrapper for optimization. Allows to specify which variables shall be free Has the same syntax for one and multidimensional optmization Uses optim, omptimize or a grid search",
      "topics": [
        "sk.optim"
      ]
    },
    {
      "page": "sk.pareto.frontier",
      "title": "Calculates the 2dimensional paretofrontier of the points val1 and val2 The function returns the indices of the points that lie on the Pareto Frontier ordered by val1 and val2.",
      "topics": [
        "sk.pareto.frontier"
      ]
    },
    {
      "page": "which.colMaxs",
      "title": "Computes quickly the index of the largest element of each column of a matrix",
      "topics": [
        "which.colMaxs"
      ]
    },
    {
      "page": "which.colMins",
      "title": "Computes quickly the index of the smallest element of each column of a matrix",
      "topics": [
        "which.colMins"
      ]
    },
    {
      "page": "which.rowMaxs",
      "title": "Computes quickly the index of the largest element of each row of a matrix",
      "topics": [
        "which.rowMaxs"
      ]
    },
    {
      "page": "which.rowMins",
      "title": "Computes quickly the index of the smallest element of each row of a matrix",
      "topics": [
        "which.rowMins"
      ]
    }
  ],
  "_rundeps": [
    "Rcpp"
  ],
  "_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"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "skutils",
  "_universes": [
    "skranz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1",
      "date": "2026-06-06T09:25:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "a705f22db70f8961144d7dba0ca2a055805726d3fe5a1a19757213195b5e3bcd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1",
      "date": "2026-06-06T09:25:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "419002f9a76d839eb59f7fa380ef1e076b5a86aab726a843670269b301155fa5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1",
      "date": "2026-06-06T09:25:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "24bfac6dd6fee0f0f6e5a0fa64daac17cd39f5e4799c1e7d7fed357b34c0e9d3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1",
      "date": "2026-06-06T09:25:08.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "cea2d2b910b6263aa6c65e219d8ba6bcc19f0719d01625d37def6c654a84788d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1",
      "date": "2026-06-06T09:25:01.000Z",
      "arch": "aarch64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "b6d5311c91dbb2a2e8e3808fae19c17a15b0e2a7b9594a2b15dda863fb174dc0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1",
      "date": "2026-06-06T09:26:08.000Z",
      "arch": "x86_64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "9215b6a6ecf0fa5d1791ed97595fd8bfecf37019b3af82aa5cfcbab7ab948867",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1",
      "date": "2026-06-06T09:25:18.000Z",
      "arch": "aarch64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "638b31b43491b14ad299684207e939984921dc1ce43a20a8ea3dbaa8938b5c20",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1",
      "date": "2026-06-06T09:26:11.000Z",
      "arch": "x86_64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "f8c48623a226e5eb7d69a70ec006752cf0fda5d779dc98e52b695e1f6d43b832",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1",
      "date": "2026-06-06T09:25:05.000Z",
      "arch": "emscripten",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "28bde6fa103c888f10c29ae90b13a2804c5ce88e719c26a6d34dc3660c5e32f9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1",
      "date": "2026-06-06T09:24:44.000Z",
      "arch": "x86_64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "c294ea15892733552d1160fea98cd04855e6599e77c1439e97377230196bbfba",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1",
      "date": "2026-06-06T09:24:21.000Z",
      "arch": "x86_64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "589d66bc22d3e58be05ed5ee43ff76e5f2de2df68ba2127b024f65bfcfb53a35",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1",
      "date": "2026-06-06T09:24:37.000Z",
      "arch": "x86_64",
      "commit": "7355347abd20e6ed9d9c264d6e63ac504aa3ad79",
      "fileid": "68a2622942624c6e48d935f6fb1254e42564ea1470bed8c49c8327fbee5e8899",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/27058517499"
    }
  ]
}