First 44 rows of r
| uuidstring | repo_namestring | relative_pathstring | contentstring | categorystring | algo_rel_scorefloat32 | quality_scorefloat32 | source_meta |
|---|---|---|---|---|---|---|---|
| af8a945d-a1b0-454e-8202-a318459a8231 | cran/fungible | R/fsIndeterminacy.R | #' Understanding Factor Score Indeterminacy with Finite Dimensional Vector Spaces #' #' #' This function illustrates the algebra of factor score indeterminacy #' using concepts from finite dimensional vector spaces. Given any factor loading #' matrix, factor correlation matri… | ALGO | 0.8752212524414062 | 3.2477896213531494 | {"github_metadata":{"branch":"master","commit_count":28,"repo_created_at":"2015-08-18T18:43:44.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":0,"forks":1,"issues":0,"pull_requests":0},"file_meta":{"content_id":"805f9be65e9a10036d7285562146d97fe016a4c0","size… |
| 5dfa5fa6-0424-4d68-8dd4-2ca22824572a | cran/NormalBetaPrime | man/nbp.Rd | \name{nbp} \alias{nbp} \title{Normal-Beta Prime Regression} \description{This function implements the Monte Carlo EM (Gibbs sampling) approach for the normal-beta prime (NBP) model in the standard linear regression model, \deqn{y = X \beta + \epsilon,} where \eqn{\e… | DATA | 0.6911585927009583 | 3.2868454456329346 | {"github_metadata":{"branch":"master","commit_count":4,"repo_created_at":"2018-08-23T20:30:57.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"ba5c2412ecb64b9943a8bbbf252995885f98738a","size_… |
| 901beb78-2519-4aca-bf13-6f849894baa1 | graphdr/formatdown | R/formatdown_options.R | # Internal function not exported: formatdown_opts <- settings::options_manager( delim = "$", size = NULL, decimal_mark = ".", big_mark = "", big_interval = 3, small_mark = "", small_interval = 5, whitespace = "\\\\ ", multiply_mark = "\\times" ) # User functio… | TOOL | 0.8555422425270081 | 6.5272088050842285 | {"github_metadata":{"branch":"main","commit_count":228,"repo_created_at":"2022-11-13T19:10:44.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":8,"forks":0,"issues":2,"pull_requests":0},"file_meta":{"content_id":"d4ee44539d22cca1be267b61bf5c0efd863993ac","size… |
| e021d8c2-04ea-41ba-aa78-b18bf5c2ac16 | rohan-shah/mpMap2 | tests/testthat/test-singleIndexToPair.R | context("singleIndexToPair") singleIndexToPair <- function(markerRows, markerColumns, index) { .Call("singleIndexToPair", markerRows, markerColumns, index, PACKAGE="mpMap2") } parameteriseRegion <- function(markerRows, markerColumns) { nValues <- .Call("countValuesToEstimate", … | TEST | 0.6215549111366272 | 6.781601428985596 | {"github_metadata":{"branch":"master","commit_count":657,"repo_created_at":"2015-03-24T03:03:16.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":12,"forks":5,"issues":3,"pull_requests":0},"file_meta":{"content_id":"c2a36acceb2e6e561593e9ccf02041003a7055bd","s… |
| 1753c5d9-bede-43b1-b548-bab5f933b062 | cran/RGtk2.10 | man/pangoRendererDrawGlyph.Rd | \alias{pangoRendererDrawGlyph} \name{pangoRendererDrawGlyph} \title{pangoRendererDrawGlyph} \description{Draws a single glyph with coordinates in device space.} \usage{pangoRendererDrawGlyph(object, font, glyph, x, y)} \arguments{ \item{\code{object}}{[\code{\link{PangoRenderer}}… | TOOL | 0.6918604969978333 | 5.98110294342041 | {"github_metadata":{"branch":"master","commit_count":1,"repo_created_at":"2014-03-13T16:53:12.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"4ff7ab2a319ab7953efd17af15740b182199d503","size_… |
| f32343a6-a981-4786-8b19-4f2bdb7aa178 | mleary/learylib | R/utils.R | #' A function to read text from github (or really any site) #' #' @param url URL to RAW github text file #' #' @details This is a helper function for getting text files from my Github repo. #' It is currently used in the update_rprofile function and could be used in #' fu… | TOOL | 0.7131273746490479 | 4.422153949737549 | {"github_metadata":{"branch":"main","commit_count":54,"repo_created_at":"2020-02-26T00:20:15.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"4805c56b14c3236410b510a6b8ae132787607bf6","size_… |
| 5f02b652-7732-4c7c-9b11-ccae09e5f128 | EddiePerochon/Heliconiini_Diversity | functions/biv_map_modified.R | # rasterx <- Full_indices_H[[1]] # rastery <- Full_indices_I[[1]] # colormatrix <- col.matrix # nquantiles <- 4 biv_map_modified <- function (rasterx, rastery, colormatrix, nquantiles = 10) { rastery@data@values[is.na(rastery@data@values) & is.na(rasterx@data@values) == FALS… | DATA | 0.7061852812767029 | 3.0226829051971436 | {"github_metadata":{"branch":"main","commit_count":5,"repo_created_at":"2025-01-29T15:36:13.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":1,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"2b55da097bcfdfe4e1a82e3e1c24c2a4201880b1","size_b… |
| ce9cd423-9489-4476-9f69-5b959559afef | ykim0902/btools | man/cton.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/btools_utilities.r \name{cton} \alias{cton} \title{Convert character to numeric} \usage{ cton(cvar) } \arguments{ \item{cvar}{The character string input. No default.} } \description{ \code{cton}… | TOOL | 0.7504839301109314 | 4.872242450714111 | {"github_metadata":{"branch":"master","commit_count":40,"repo_created_at":"2016-07-20T18:03:51.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"652d6f04086f3606407cb37255d23ec5d7c3405c","siz… |
| 1dc8ec10-d03a-4277-9b6f-e33b8536ac9d | cran/twotrials | R/pTippett.R | #' @title Combined p-value from Tippett's method #' #' @description This function computes the combined p-value based on two #' parameter estimates using Tippett's method (also known as the minimum #' method) #' #' @inheritParams p2TR #' #' @return The combined p-value ba… | ALGO | 0.8541216254234314 | 4.517758846282959 | {"github_metadata":{"branch":"master","commit_count":1,"repo_created_at":"2025-06-06T13:45:23.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"89733aa3dfa905ff7ec83c81a156f5ab78cb9888","size_… |
| 1405a40e-de93-4489-ac72-c718380a1ce9 | mithyB/astat | sw01/Aufgaben.R | # Aufgaben # Aufgabe 1.2 # a) Bilden Sie einen Vektor x mit den Zahlen 4, 2, 1, 3, 3, 5, 7. x <- c(4, 2, 1, 3, 3, 5, 7) # b) Wählen Sie mit R den dritten Wert aus. x[3] # c) Wählen Sie mit R den ersten und vierten Wert aus. x[c(1, 4)] # d) Bestimmen Sie die Länge des Vektor… | DATA | 0.8806992173194885 | 4.232844829559326 | {"github_metadata":{"branch":"master","commit_count":10,"repo_created_at":"2023-03-06T13:21:21.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"eb8dd08a9558bb745835628e1cf426a997ce915f","siz… |
| db504e9a-cbb9-4663-9917-0f2f9af9f61c | johnnyzhz/coefficientalpha | man/rsem.gname.Rd | \name{rsem.gname} \alias{rsem.gname} \title{ Internal function } \description{ Internal function } \usage{ rsem.gname(name) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{name}{ Variable names. } } \references{ <NAME> and <NAME> (2011) Robust Struct… | TOOL | 0.8096246719360352 | 5.274136543273926 | {"github_metadata":{"branch":"master","commit_count":1,"repo_created_at":"2013-04-24T20:26:28.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"153732d1821d845a0cc333c51f275568ea88cde2","size… |
| 4c55bf78-b6a6-4b16-b8fd-b4f81c3819a4 | chrisadolph/tile-simcf | simcf/R/cfset.R | cfFactorial <- function(...,formula=NULL,data=NULL,names=NULL,hull=FALSE,f="mean") { #,trim.exptrapolated=FALSE,data=NULL) { increment <- function(ctr,maxctr,nexttoincr) { if (all(ctr[1:nexttoincr]==maxctr[1:nexttoincr])) { nexttoin… | DATA | 0.8434449434280396 | 3.407280683517456 | {"github_metadata":{"branch":"master","commit_count":13,"repo_created_at":"2012-01-29T06:32:50.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":14,"forks":10,"issues":33,"pull_requests":2},"file_meta":{"content_id":"a7ab57e423ffd310b4d9d28e0527df09e329b822","… |
| 848fe399-0346-48cf-bfff-ceeaf1430f12 | ColdEyeLampr/STAT6021_teamassign06 | teamassign06.R | # Team Assignment 6 # # 1. A couple of examples of the proc.time function " start <- proc.time() # A slow example t <- 0 for (i in 1:1000000) { t <- t + i } proc.time() - start start <- proc.time() # A faster example t <- sum(as.numeric(1:1000000)) proc.time() - start " #… | DATA | 0.7407633066177368 | 3.592979907989502 | {"github_metadata":{"branch":"master","commit_count":6,"repo_created_at":"2015-10-14T00:15:29.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"d40fc428dd69c268a2ac526a714c76b8ee6a61fe","size… |
| cc89ef81-c48d-4cce-ad07-37af1ebbb4a9 | TypeFox/R-Examples | spider/R/tclust.R | tclust <- function(distobj, threshold = 0.01){ distobj <- as.matrix(distobj) out <- unique(apply(distobj, 2, function(x) which(x < threshold))) for(i in 1:length(out)){ for(j in 1:length(out)){ if(length(intersect(out[[i]], out[[j]])) > 0) out[[i]] <- union(out[[i]], out[[j… | ALGO | 0.8634102940559387 | 3.002086639404297 | {"github_metadata":{"branch":"master","commit_count":4,"repo_created_at":"2016-05-24T12:17:08.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":40,"forks":29,"issues":3,"pull_requests":0},"file_meta":{"content_id":"88043a6343e35e769a3cbf3c9f421216ebcd7cb3","siz… |
| 4b206623-9254-41af-9589-58e96338ad66 | TypeFox/R-Examples | ParamHelpers/R/isRequiresOk.R | #' @title Check if parameter requirements are met. #' #' @description #' Check if a parameter value satisfies the requirements of the #' parameter description. This only checks the \code{requires} expressions. #' #' @template arg_parset #' @param par.vals \code{list()} \cr #' L… | TOOL | 0.8467708230018616 | 5.699197292327881 | {"github_metadata":{"branch":"master","commit_count":4,"repo_created_at":"2016-05-24T12:17:08.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":40,"forks":29,"issues":3,"pull_requests":0},"file_meta":{"content_id":"055a60c3ebd78ab352d7768b13789965c63eaf7a","siz… |
| 5484dd11-60bd-4078-99b5-32952a62b503 | lhenneman/searchAQ | R/ni.R | #' utility #' #' \code{%ni%} negates \code{%in%} `%ni%` <- Negate(`%in%`) | TOOL | 0.8532289266586304 | 5.308111667633057 | {"github_metadata":{"branch":"master","commit_count":50,"repo_created_at":"2018-02-22T01:56:27.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"0c7f4957fec8171424eab12280a7ea7ce46a7428","siz… |
| 44011948-3841-4ff6-98a0-7bb8877aba8b | systats/pokerena | R/poker_plots.R | #' pockets #' @export pockets <- function(cards = Poker:::full_deck){ ordering <- c("2", "3", "4", "5", "6", "7", "8", "9", "T", "J", "Q", "K", "A") cards <- cards %>% stringr::str_replace_all("10", "T") tidyr::expand_grid( card1 = cards, card2 = cards ) %>%… | ALGO | 0.8392230272293091 | 4.662985324859619 | {"github_metadata":{"branch":"master","commit_count":21,"repo_created_at":"2020-08-08T08:31:33.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"b53ad3d7a6b94ef7d2d220455fa96be84d972e78","siz… |
| 3677692f-7a3d-4514-84b4-6ddb5030a437 | oucru-biostats/Data_management_and_basic_summaries_in_R | Dealing_with_date-time_data/scripts/get_day_info-correct.R | get_day_info <- function(dateString, order){ ###### Load necessary libraries library(lubridate) ###### Exception handlers if (missing(dateString) | missing(order)) stop('All parameters are mandatory!') if (!is.character(dateString)) stop('dayString should be of type … | TOOL | 0.7626686096191406 | 4.527017593383789 | {"github_metadata":{"branch":"main","commit_count":5,"repo_created_at":"2021-03-02T07:30:26.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":0,"forks":0,"issues":1,"pull_requests":0},"file_meta":{"content_id":"b939b2b230c9dfc9f03e1d19ec0bdb398c881d09","size_by… |
| 7ed8477b-6e96-4c47-a7aa-ca6ac7adfa35 | trinker/discon | man/dc_equality.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/dc_equality.R \name{dc_equality} \alias{dc_equality} \alias{dc_equality_sub} \title{Extract Equality Discourse Connectors in Context} \usage{ dc_equality(text.var, grouping.var, n.before = 1, to… | DATA | 0.6672203540802002 | 4.1991071701049805 | {"github_metadata":{"branch":"master","commit_count":48,"repo_created_at":"2015-02-23T23:13:36.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":3,"forks":0,"issues":1,"pull_requests":0},"file_meta":{"content_id":"0d7b55c7a1011a7d9fa9f049aa310fa7186a330c","siz… |
| 12d9e5a8-911f-4d58-adac-f4854356e5a9 | D5n9sMatrix/guile-rlang | matrix/gnu/bin/allow/cgwine.r | #!/usr/bin/r rlang::.data | CONFIG | 0.757280707359314 | 4.361173629760742 | {"github_metadata":{"branch":"master","commit_count":2,"repo_created_at":"2023-08-17T03:24:44.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"0989ce0c0b896a7373dc27c18ef6dfc6facf61a4","size… |
| 6c3bbd2b-5146-4d29-9ca3-74ca43bdd5c6 | TypeFox/R-Examples | hcp/R/zzcon.vals.R | con.vals <- function(x, y, n, j, k) { a <- con.parms(x, y, n, j, k, 1, 1) nr <- nrow(a$theta) est <- a$theta[nr, ] b <- con.est(x[j], x[k], est) eta <- c(b$eta1, b$eta2) beta <- c(b$a0, b$a1, b$b0, b$b1, b$c0, b$c1) tau <- c(x[j], x[k]) list(eta = eta, beta = b… | ALGO | 0.8769911527633667 | 3.521862268447876 | {"github_metadata":{"branch":"master","commit_count":4,"repo_created_at":"2016-05-24T12:17:08.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":40,"forks":29,"issues":3,"pull_requests":0},"file_meta":{"content_id":"7c8e5efda09604618e715f8c31efd98e3bd24d7a","siz… |
| 85222e1a-11d5-4ef3-8e8f-2e471203a3dc | JonWayland/R-Playground | standardizing_us.R | ############################################################### ### Standardizing US States to Their 2-Letter Abbreviations ### ############################################################### Mess2Abbr <- function(str, proxy = FALSE, proxyPath = NULL){ require(dplyr) r… | TOOL | 0.63848477602005 | 4.116635799407959 | {"github_metadata":{"branch":"master","commit_count":52,"repo_created_at":"2018-10-01T15:43:24.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":2,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"5d6c58697dae3a11eeed5e49f5b4593296bcba7d","siz… |
| dd0dc219-0ab6-4a06-9dd3-c65fd4f97613 | nimfah2/datasciencecoursera | cachematrix.R | ## This assignment is regarding lexical scoping and caching functions that may ## require long computation time. ## This function ,makeCacheMatrix, creates a special "matix" object that can ## cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL set <-… | ALGO | 0.88274085521698 | 6.65814733505249 | {"github_metadata":{"branch":"master","commit_count":6,"repo_created_at":"2015-11-20T07:32:07.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"7e010063cfe376c3455f2f6c32fa6329de3e2305","size… |
| 08a3c43b-a606-4e16-b673-8a40286b340c | conedatascience/autotracer | R/zzz.R | globalVariables({ c("diff_dt_onset", "from", "from_date", "patient_id", "time", "to", "to_date") }) | WEB | 0.6811332106590271 | 3.014958381652832 | {"github_metadata":{"branch":"master","commit_count":4,"repo_created_at":"2020-09-02T20:04:19.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"a0d34ce744ab338ae9b8337dccf0eb44468998b9","size_… |
| 1c11707c-dc9d-455a-8ebe-5b5960c2c34c | lawremi/RGtk2 | RGtk2/man/gtkCListOptimalColumnWidth.Rd | \alias{gtkCListOptimalColumnWidth} \name{gtkCListOptimalColumnWidth} \title{gtkCListOptimalColumnWidth} \description{ Gets the required width in pixels that is needed to show everything in the specified column. \strong{WARNING: \code{gtk_clist_optimal_column_width} is deprecated … | TOOL | 0.6460292339324951 | 5.894586563110352 | {"github_metadata":{"branch":"master","commit_count":504,"repo_created_at":"2011-10-11T11:50:22.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":10,"forks":9,"issues":8,"pull_requests":2},"file_meta":{"content_id":"c6b5f276b96b4e7247333fbd761ca8776adda850","s… |
| 90fe3ad9-4f61-4a39-a05e-f09a2ae999f8 | rsbivand/splancs | man/ranpts.Rd | % Copyright <NAME> and % <NAME> (c) 1991-3; https://www.maths.lancs.ac.uk/~rowlings/Splancs/ % R port: copyright 1998-2000 by <NAME> \name{ranpts} \alias{ranpts} %- Also NEED an `\alias' for EACH other topic documented here. \title{adjust number of random points in polygon} \d… | TOOL | 0.8139979839324951 | 5.730350017547607 | {"github_metadata":{"branch":"main","commit_count":44,"repo_created_at":"2023-06-12T16:59:33.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":1,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"e723dcfd02c3fabb11099f4bd19bb454767f4b3c","size_… |
| 3c3d2de2-5a07-4d5b-bfff-bbaa0c6b3faa | r-lib/archive | R/zzz.R | .onLoad <- function(libname, pkgname) { lib_path <- system.file("lib", .Platform$r_arch, paste0("libconnection", .Platform$dynlib.ext), package = "archive") res <- dyn.load(lib_path) rchive_init(res$new_connection$address, res$read_connection$address) } .onUnload <- funct… | TOOL | 0.8184862732887268 | 5.922224044799805 | {"github_metadata":{"branch":"main","commit_count":410,"repo_created_at":"2017-03-07T18:59:55.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":145,"forks":18,"issues":13,"pull_requests":5},"file_meta":{"content_id":"40fb09847d7a32403b2da819258874d60fe3111d","s… |
| 242741f0-3d7c-4343-b795-69b91553265b | nogueirs/JMLR2018 | R/getStability.R | getStability <- function(X,alpha=0.05) { ## the input X is a binary matrix of size M*d where: ## M is the number of bootstrap replicates ## d is the total number of features ## alpha is the level of significance (e.g. if alpha=0.05, we will get 95% confidence intervals) ## it's a… | ALGO | 0.6730796694755554 | 3.045663356781006 | {"github_metadata":{"branch":"master","commit_count":22,"repo_created_at":"2017-07-21T15:07:02.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":17,"forks":7,"issues":1,"pull_requests":0},"file_meta":{"content_id":"8ef6609d182b879c6b9d1c1891920955188ec1cb","si… |
| 00022a6a-2ed0-42d2-ae98-3a79b1eb3474 | ericborn/R-544 | Born_CS544_HW4.R | #dunif D for probability mass function (PMF) for continuous data #punif for cumulative distribution function (CDF) for discrete uniform #qunif quantile function (inverse of punif) returns values based upon CDF input #dbinom for binomial distribution # n = number of tria… | DATA | 0.6107604503631592 | 4.595559597015381 | {"github_metadata":{"branch":"master","commit_count":3,"repo_created_at":"2019-07-10T17:40:12.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":1,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"f7c82918430c061bc82722d8799b790e346e4f95","size… |
| 6fdf3d61-c70a-490c-a9f9-ef8b3051e832 | zero323/r-snippets | man/logiderle.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/logiderle.R \name{logiderle} \alias{logiderle} \title{Retrun logical vector w of length n where w_l == TRUE if there exists such p that l in i[p] to j[p]} \usage{ logiderle(i, j, n) } \arguments… | ALGO | 0.8501034379005432 | 4.981404781341553 | {"github_metadata":{"branch":"master","commit_count":91,"repo_created_at":"2014-11-30T19:47:39.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":8,"forks":17,"issues":3,"pull_requests":0},"file_meta":{"content_id":"bb8483cb431cebe1ba5a4fa1afbe1a5d2d0dbb06","si… |
| 07efea0b-8e65-470c-8b00-92f2057d53bf | TypeFox/R-Examples | ROptRegTS/R/optIC.R | ############################################################################### ## Classical optimal IC (optimal in sense of the Cramer-Rao bound) ############################################################################### setMethod("optIC", signature(model = "L2RegTypeFam… | ALGO | 0.858479380607605 | 4.533964157104492 | {"github_metadata":{"branch":"master","commit_count":4,"repo_created_at":"2016-05-24T12:17:08.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":40,"forks":29,"issues":3,"pull_requests":0},"file_meta":{"content_id":"8fa3ea5eb48e3551526531c6e03b3bbc62045fe8","siz… |
| 987761fd-b7c5-490e-a7f2-0de5b124b9a9 | nshi-stat/surrosurvo | R/surrosurvo-package.R | #' Evaluation of Individual-Level Surrogacy for Survival and Ordinal, #' Continuous, or Survival Endpoints in Data with Ties #' #' @author #' <NAME> and <NAME> #' @name surrosurvo-package #' @rdname surrosurvo-package #' @aliases surrosurvo-package #' @docType package #' @keyword… | TOOL | 0.7510079145431519 | 4.866873741149902 | {"github_metadata":{"branch":"main","commit_count":30,"repo_created_at":"2024-12-18T03:11:14.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"f1c6af780c10da93bfff0b0501ed2aeed70b6542","size_… |
| f0733453-a72f-4877-8afd-fa7e2a1e730a | robertkck/euro4baby | R/mod_payments.R | mod_payments_ui <- function(id) { ns <- NS(id) tagList( # uiOutput(ns("ui")) ) } mod_payments_server <- function( id, days = reactive(NULL), incomeMother = reactive(NULL), incomeFather = reactive(NULL) ) { # stopifnot(is.reactive(data)) # stopi… | WEB | 0.8108217716217041 | 4.725184440612793 | {"github_metadata":{"branch":"main","commit_count":42,"repo_created_at":"2022-09-18T13:05:54.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":2,"forks":0,"issues":14,"pull_requests":0},"file_meta":{"content_id":"0ff55f4c8774dc26b83a9edf2bb8a002c51b8e9f","size… |
| 13c1e8fb-2df7-434c-b98e-eaa40ef162ec | YsoSirius/shinyTreeSG | R/init.R | .global <- new.env() initResourcePaths <- function() { if (is.null(.global$loaded)) { shiny::addResourcePath( prefix = 'shinyTree', directoryPath = system.file('www', package='shinyTree')) .global$loaded <- TRUE } shiny::HTML("") } # Parse incoming shi… | TOOL | 0.6288988590240479 | 4.204780578613281 | {"github_metadata":{"branch":"master","commit_count":36,"repo_created_at":"2018-10-19T21:38:20.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":1,"forks":1,"issues":0,"pull_requests":0},"file_meta":{"content_id":"4f67ad6b33d64b5c3d36339d2e96f25c6715f0ab","siz… |
| 0faa4d87-14a8-4050-b3db-745fdac9d87b | river-jade/rdv-framework | projects/g2/getClusterDistVecs.R | #=============================================================================== # source ("getClusterDistVecs.R") #=============================================================================== # History # 2014 02 01 - BTL - Created. # Extracted from clusterReadingTest.… | DATA | 0.7877695560455322 | 3.4581058025360107 | {"github_metadata":{"branch":"master","commit_count":645,"repo_created_at":"2015-03-16T06:39:19.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"513913b570031bcbf4da3f9a64342e6ffbfde340","si… |
| 0e68dec3-5abd-4676-bee6-cd504d36a699 | jhushalders/CE302 | Lista 3 - Matrizes.R | # Lista 3 - Matrizes ## Exercícios sobre Matrizes #1) vetorA <- c(2, 96, 49) vetorB <- c(35, 2, 100) vetorC <- c(43, 42, 92) matrizA <- rbind(vetorA, vetorB, vetorC) matrizA class(matrizA) #2) soma_Colunas <- colSums(matrizA) soma_Colunas #3)… | DATA | 0.7774562239646912 | 4.125408172607422 | {"github_metadata":{"branch":"main","commit_count":17,"repo_created_at":"2024-09-12T16:39:15.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"d3a3a97571eb1c6d74f0d1482f393ac8e6df8b2c","size_… |
| a464dc94-e3db-4d50-a857-727da2936228 | lawremi/RGtk2 | RGtk2/man/gtkTextBufferCreateMark.Rd | \alias{gtkTextBufferCreateMark} \name{gtkTextBufferCreateMark} \title{gtkTextBufferCreateMark} \description{Creates a mark at position \code{where}. If \code{mark.name} is \code{NULL}, the mark is anonymous; otherwise, the mark can be retrieved by name using \code{\link{gtkTextBu… | TOOL | 0.6984512805938721 | 6.148975372314453 | {"github_metadata":{"branch":"master","commit_count":504,"repo_created_at":"2011-10-11T11:50:22.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":10,"forks":9,"issues":8,"pull_requests":2},"file_meta":{"content_id":"bf099a8ff1b424787a93f6108ab7c6eceff11f65","s… |
| 73400abe-49d1-42b5-b45f-a7206efe94c2 | mbertolacci/WoodburyMatrix | tests/testthat/test-normal-distribution.R | context('normal distribution') test_that('dwnorm returns the correct value for known examples', { n <- 100 W <- WoodburyMatrix(Diagonal(n), Diagonal(n)) true_with_0 <- -0.5 * (n * log(2 * pi) + n * log(2)) true_with_1 <- true_with_0 - 0.5 * n / 2 expect_equal( dw… | TEST | 0.6970090270042419 | 6.8406853675842285 | {"github_metadata":{"branch":"master","commit_count":40,"repo_created_at":"2020-07-18T13:13:57.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":3,"forks":0,"issues":1,"pull_requests":0},"file_meta":{"content_id":"38a1c3864c7ed7943469b375676d64a31c7c98ec","siz… |
| a9ccaaad-09e5-4975-b483-fc5d6c380ba0 | genobobeno/buildaflame | R/utils_createLink.R | #' Change Domain to Hyperlink #' #' Yup #' #' @param val1 href domain #' @param val2 text #' #' @return string utils_createLink <- function(val1,val2) { sprintf('<a href="%s" target="_blank" class="btn btn-primary">%s</a>',val1,val2) } | TOOL | 0.8350394368171692 | 4.108676910400391 | {"github_metadata":{"branch":"master","commit_count":16,"repo_created_at":"2020-05-12T00:58:48.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"23b8a875ecf1a6a0984c1e594492a6b7bd19f24e","siz… |
| 5794c224-2a88-494d-bfba-06da41e7947e | MCMaurer/advent_of_code | 2021/day_12/day_12.R | library(tidyverse) library(tidygraph) # strategy: # join the dataframe to itself # check to see if any have hit "end". remove those routes, add them to "finished routes". # check to see if any have gone back to "start". remove those routes. # check to see if any have repeated a… | DATA | 0.7176021933555603 | 4.710114002227783 | {"github_metadata":{"branch":"main","commit_count":29,"repo_created_at":"2021-12-01T16:41:34.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"037b89cd5233ed805c8a02a12e064b0f98c05098","size_… |
| 191849c0-2b5f-4d19-8dc3-37d506494d6e | kmckeough/LI-Segmentation-RPackage | LIsegmentation/R/estPartition.R | #' Estimate Partition Function #' #' Calculate the log partition function given a specific beta parameter #' #' @param n size of image #' @param G partition data frame containing the energy (U) and corresponding counts of each state (G) #' @param beta beta parameter estimate #' @… | ALGO | 0.8667477965354919 | 4.844271183013916 | {"github_metadata":{"branch":"main","commit_count":9,"repo_created_at":"2021-05-06T17:15:12.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":2,"forks":0,"issues":0,"pull_requests":0},"file_meta":{"content_id":"0355e03b39d46a46043a91270ae7784075b23933","size_b… |
| c4e1a3b8-01bb-4ea1-8a49-b7ffb8ea82b7 | cran/sstModel | R/riskFactor.R | #' Constructing a Mapping Table #' #' @description \code{mappinTable} is the constructor for the #' S3 class mappingTable. It allows to define the market risk factors. #' #' @param ... riskFactor objects. Please note that no risk factor name can be chosen #' among the followi… | TOOL | 0.7833993434906006 | 4.444540977478027 | {"github_metadata":{"branch":"master","commit_count":1,"repo_created_at":"2018-05-03T22:26:35.000Z","is_fork":false,"is_org_owned":true,"forked_from":null,"stars":0,"forks":5,"issues":0,"pull_requests":0},"file_meta":{"content_id":"d8395e9625c931e0f799013e5fc6f6c4d4516cd3","size_… |
| 2532e901-31b1-43f8-b144-971ff996aaf8 | lgnbhl/xlcharts | R/Protection.R | #' @title Protection #' #' @description Protection options for use in styles. #' #' \url{https://openpyxl.readthedocs.io/en/stable/api/openpyxl.styles.protection.html} #' #' @param locked locked #' @param hidden hidden #' @param ... Additional arguments, i.e. kwargs. #' #' @retur… | TOOL | 0.8019049167633057 | 6.824307441711426 | {"github_metadata":{"branch":"main","commit_count":16,"repo_created_at":"2024-04-21T13:21:24.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":13,"forks":2,"issues":0,"pull_requests":0},"file_meta":{"content_id":"f5996c041079d82973c87f98de2fa706dfa2a895","size… |
| 9a23ee3d-bf0e-4a0d-beae-fdb685040c0f | tra418/BIS-044-Fall-2020 | BIS 044 - Assignment 03A - Solution.R | for (i in 1:25) { cat(i**2,"\n") } | TOOL | 0.8164512515068054 | 4.25606632232666 | {"github_metadata":{"branch":"master","commit_count":8,"repo_created_at":"2020-09-13T15:31:17.000Z","is_fork":false,"is_org_owned":false,"forked_from":null,"stars":0,"forks":27,"issues":0,"pull_requests":0},"file_meta":{"content_id":"e433cb6247579eb2d507d938e7d51ab723746849","siz… |