blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4aad61460301d8c91c8de0f7c4a5b9f788ab2d9 | 2b526666985a1d6367b6359d8e51ad13b5063cc2 | /quiz2.r | e05939c8455eeba6ff15979e10a0909297bc9564 | [] | no_license | nhchauvnu/gettingcleaning | f7734690f071b8c2cdf3986c1fd7c90883b37881 | 2757809b16586ac109ee5085eca665c9bd9f0ff8 | refs/heads/master | 2016-09-10T19:40:42.619362 | 2015-04-25T14:33:43 | 2015-04-25T14:33:43 | 33,798,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 571 | r | quiz2.r | require(sqldf)
acs = read.csv('ss06pid.csv')
# sqldf("select * from acs where AGEP < 50 and pwgtp1")
# sqldf("select pwgtp1 from acs where AGEP < 50")
# sqldf("select pwgtp1 from acs")
# sqldf("select * from acs where AGEP < 50")
require(XML)
URL <- 'http://biostat.jhsph.edu/~jleek/contact.html'
# doc <- htmlTreePars... |
2b077e3dd6d60819c5b216c21740b8de5fd0f471 | 49f46e7a2b6f6ed6fbc664d028b5c6dc1cdd685b | /R/add_htmlwidgets_deps.R | 55b599b5db55e4860ff6e4a05293889004f72cb0 | [] | no_license | d4tagirl/d4tagirl.com | 158cd2fda5094391f6ef93e375c8b65ab37b4953 | a6f859ee1033bacf27822cfbc91d7a9e279457c6 | refs/heads/master | 2021-01-11T18:10:08.650246 | 2020-07-03T19:20:13 | 2020-07-04T17:51:17 | 79,505,453 | 4 | 8 | null | 2020-01-04T20:28:05 | 2017-01-19T23:27:47 | JavaScript | UTF-8 | R | false | false | 3,045 | r | add_htmlwidgets_deps.R | if(!exists("html_dependency_resolver", mode="function")) source("R/rmarkdown_internal_funs.R")
#' Configure htmlwidgets dependencies for a knitr-jekyll blog
#'
#' Unlike static image plots, the outputs of htmlwidgets dependencies also have
#' Javascript and CSS dependencies, which are not by default processed by knitr... |
676ce90ffb587d96e6dad983e1422dc22c8ce40f | 367e08a923163864ae25f7b396a0a8e473e9ead4 | /Salmon_analysis.R | b99147c7caf9a50aa4f12a956ffb2b951189caee | [] | no_license | Yago-91/RNA-seq-Analysis | 78bf9038c1c71e7c9c6bf97f73c96228643772b4 | 37de6c55509653ac9639bf2def090eec2b363fea | refs/heads/master | 2022-12-08T13:23:21.327826 | 2020-08-27T19:39:13 | 2020-08-27T19:39:13 | 290,854,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,746 | r | Salmon_analysis.R | #https://bioconductor.org/packages/release/bioc/vignettes/tximport/inst/doc/tximport.html
suppressMessages(library(tximport))
suppressMessages(library(DESeq2))
#Parsing command line arguments
args <- commandArgs(trailingOnly = T)
#Setting variables
loc_dir <- args[1]
quant_dirs <- unlist(strsplit(args[2], ","))
Spec... |
73bf06263b021076ef108b6704f9ef6e22f10ffc | 38da5449fb2f72e920bb64829f599c999378f812 | /Scripts/re_filter.R | 774966c29c48b4003291d87e0639b6b808d86aed | [] | no_license | chengxiz/Geocoding-R | 6517d6e36551066f88d5f6047cdd9b61dab3da8f | 50298973e5d6bc5a9619cc62707e1908fd75e596 | refs/heads/master | 2021-01-21T10:34:38.640107 | 2017-02-28T21:52:38 | 2017-02-28T21:52:38 | 83,457,036 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 425 | r | re_filter.R | data <- read.csv('../Files/geocoded_unfiltered_Home_Addresses.csv')
home.addresses <- read.csv('../Files/Home_Addresses.csv')
data.filtered <- home.addresses[is.na(data$formatted_address),]
write.csv(data.filtered, file='../Files/mismatch_unfound_Home_Addresses.csv', row.names=TRUE)
data.updated <- data[!is.na(data$f... |
6b171a53e69a50a2de35bf3f70aa9905aea6e8ea | c130bd1b4fae630feb2f6ccf7d219ccb54568377 | /Figure4_Method_comparison_and_sampling_effort.R | 2f563cf38377b6dd5377b9be009d31534c5239e3 | [] | no_license | ASanchez-Tojar/inferring_hierarchies_uncertainty | de8bf9426764fae2ee520c60528f00b912b5f0f9 | 813443dd5748f4fae399327e3fec4f93bbadd8f3 | refs/heads/master | 2021-01-20T12:28:53.121118 | 2019-04-05T03:15:05 | 2019-04-05T03:15:05 | 82,660,228 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 38,118 | r | Figure4_Method_comparison_and_sampling_effort.R | # Authors:
# Alfredo Sanchez-Tojar, MPIO (Seewiesen) and ICL (Silwood Park), alfredo.tojar@gmail.com
# Damien Farine, MPIO (Radolfzell) and EGI (Oxford), dfarine@orn.mpg.de
# Script first created on the 27th of October, 2016
############################################################################... |
59beeed7085f6d57befdee574f13a42686e0e09c | 205eba39f070121c6d322ec62701005c101e82da | /man/gh_legacy_get_user_search_by_keyword.Rd | c5866413837040478be88e74119a38464d1f4918 | [
"MIT"
] | permissive | ramnathv/gh3 | c6f5991c3f780470f65fc57c382e95dc2b584b3e | 71eef49603ea0cce78caf680cf2d80a8eb1a57df | refs/heads/master | 2020-05-19T15:56:20.787819 | 2019-05-06T16:48:24 | 2019-05-06T16:48:24 | 185,095,205 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 652 | rd | gh_legacy_get_user_search_by_keyword.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gh3.R
\name{gh_legacy_get_user_search_by_keyword}
\alias{gh_legacy_get_user_search_by_keyword}
\title{Find users by keyword.}
\usage{
gh_legacy_get_user_search_by_keyword(keyword, ...)
}
\arguments{
\item{keyword}{The search term}
\item{...}... |
e1327363ed6e89671bb6e1efd0792fd256b9e274 | b76e9f7f2183b1f24f2123dc41d06c483306557e | /LL Age Depth Model.R | bfea4908f7b8309726c80529b4a9acb5b22b8d9b | [] | no_license | jesshstone/SESYNC-Extinction-and-Resilience | adac4f20a846181e77db746ab715e0b58a120650 | 6b603b3af83b6267755e0c20e3dd72a007601639 | refs/heads/master | 2020-06-23T01:20:44.239051 | 2019-07-26T19:44:43 | 2019-07-26T19:44:43 | 198,458,204 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 860 | r | LL Age Depth Model.R | attach(LLAgeDepthModel)
print(LLAgeDepthModel)
library(Bchron)
LLout = Bchronology(ages=LLAgeDepthModel$ages,
ageSds=LLAgeDepthModel$agesds,
calCurves=LLAgeDepthModel$calCurves,
positions=LLAgeDepthModel$posistion,
positionThicknesses=LLA... |
a9dac18d824b13f25e5f079e2e2d913042c7e40f | fd5a10219ac23bdbe8eee102faedd85585899298 | /Elevation lines/Script/Elevation gganimate.R | 49d457e04123533a4829a28a26c8c426ca70c2af | [] | no_license | adamflr/Visuals | 494a940301d364dafd028d3fb9a68620b16805ea | 8cb1424efc82238a08c196775c6ce257ea5f189e | refs/heads/main | 2023-05-26T21:42:52.737305 | 2023-04-30T11:03:47 | 2023-04-30T11:03:47 | 213,185,821 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,457 | r | Elevation gganimate.R | # Elevation lines, gganimate
dat <- data.frame(x = rep(1:10, 4), y = rep(1:4, each = 10), id = 1:20)
library(dplyr)
library(gganimate)
ggplot(dat, aes(x, y, group = id)) +
geom_line()
dat$t <- (dat$y %in% c(1,2)) + 1
dat$t[dat$t == 2] <- 2 + seq(0, 1, length.out = sum(dat$t == 2))
ggplot(dat, aes(x, y)) +
geom_p... |
7d685a1de79dcf3ed7fcbc920990263318996678 | be4649735271cd61c719f3e4e543ca6108bd7f4e | /cachematrix.R | 58b7dfaccb15bb94f244ab944e6c73179e7e55a4 | [] | no_license | myrasaurus/ProgrammingAssignment2 | aa94354c0e45b4c07c21a2df04498d4425e60e45 | 50807bac1ca3a96b6999d5a0d13760472d01295f | refs/heads/master | 2021-05-27T03:54:22.729588 | 2014-04-26T21:48:44 | 2014-04-26T21:48:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,471 | r | cachematrix.R | ## This function takes matrix input of an invertible matrix
makeCacheMatrix <- function(x = matrix()) {
## i and x can be seen similar to private objects to this class.
## The function itself can be seen as a constructor.
## Attempt to map FP to Java/CPP terms.
i <- NULL
set <- function(y) {
x <<- y
... |
1974b885e918d950ee1ac6e6c22e0d4dc2089388 | 80c6644d745190dd3702b5668ef5eae423a27859 | /calculo_de_indices_climaticos.R | 3f4c9269fe0fef12b770ae77f79a84783dbbc2e2 | [] | no_license | fmanquehual/proyecto_agua_en_R | 356bfdf9c4156587a2ccfd3addaadfd634aed537 | e4a51c5192f174708a982b62a42626fff51078a1 | refs/heads/master | 2023-01-14T13:22:57.448036 | 2020-11-13T05:15:59 | 2020-11-13T05:15:59 | 300,746,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,438 | r | calculo_de_indices_climaticos.R | library(climdex.pcic)
library(lubridate)
library(ggplot2)
library(trend)
rm(list=ls())
dev.off()
setwd('C:/Users/Usuario/Documents/Francisco/proyecto_agua/proyecto_agua_en_R/')
source('funcion_calculo_de_pendiente_indices_climaticos.R')
source('funcion_calculo_de_pendiente_indices_climaticos_por_estacion.R')
# Lec... |
11d6de44b94553db457790ae441e8a3a69a6b20e | 494c71f56647f6695bd8b046372fd42c7f1b9040 | /R/zzz.R | b51a4fd93f114ae14871f3f956b2481ce546e82e | [] | no_license | minghao2016/tidysq | 1e813a019878dac2bb1cb239d05fa97e37bc93b4 | 953b1d3c1ce1e250f9afcb3f8fe044c6f7391c76 | refs/heads/master | 2023-03-23T20:03:08.700872 | 2021-03-12T17:03:05 | 2021-03-12T17:03:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | zzz.R | .onLoad <- function(libname, pkgname) {
prev_options <- options()
new_options <- list(
tidysq_NA_letter = "!",
tidysq_safe_mode = FALSE,
tidysq_on_warning = "warning",
tidysq_pillar_max_width = 15,
tidysq_print_max_sequences = 10,
tidysq_print_use_color = TRUE
)
unset_inds <- !(nam... |
a8bfff6bce9ff1a28dc503974dd2a5442e6c1668 | 9fbd7cafab56b8cb58ca7385a726a0070d9e050d | /man/sen_senator_suplentes.Rd | 40f308d94cf57437a986f2eea8cc5fc869fe3268 | [] | no_license | duarteguilherme/congressbr | 6f343935a7734dfac70c6794a031db614dafd248 | e9f05428e877f56d31966b14ca00b4ec825fabf5 | refs/heads/master | 2022-11-22T05:40:27.177434 | 2020-07-14T23:20:22 | 2020-07-14T23:20:22 | 83,827,931 | 17 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,108 | rd | sen_senator_suplentes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sen_senator_details.R
\name{sen_senator_suplentes}
\alias{sen_senator_suplentes}
\title{Downloads and tidies information on titular senators and their
\emph{suplentes} in the Federal Senate}
\usage{
sen_senator_suplentes(id = 0, ascii = TRUE)... |
1bf57732951a3bc632c36d9136e0ae327cf4bbb9 | d029129f3872cccb3132b7f6a0b043dcedd91916 | /assignment3/solution3_5.R | f4e853ae860cd8d96a0bad92c9fff9ea0da90c50 | [] | no_license | samgary/cb101-2020-assignment | f44b0ddf1e8fdf7af1676f929b4ecc71b5e61049 | dbbd05088c29bdb0048360247e21e86c12f3e271 | refs/heads/main | 2023-01-31T14:01:52.840742 | 2020-12-07T02:30:38 | 2020-12-07T02:30:38 | 312,909,142 | 0 | 0 | null | 2020-11-14T21:57:06 | 2020-11-14T21:57:06 | null | UTF-8 | R | false | false | 607 | r | solution3_5.R | #Problem 5: Fermi estimation. How many liters of melted chocolate would be needed to cover enough cashews to cover a football field?
# Assumptions: area of a single cashew is ~0.25 inches and mL chocolate needed to cover one cashew is 2 mL (0.002L).
# football field is ~ 300 feet long x 160 feet wide or ~3500 inches ... |
63f74f3d4b2edc089da3e805595c7893a3352124 | 9066794639a122f5aabdf9740f364e3fe4b2ca2c | /Census/gwrCensus.R | c63d24df321f45a7aac240548604ac9bfc135c45 | [] | no_license | nserr/GEOG-418-Final-Project | 634b9c9a91d3f454b0f4b43460e88eeec30fe07f | 7f834d38317336553f9011572c7260aa15d85dc2 | refs/heads/master | 2023-01-25T00:30:36.336642 | 2020-12-07T01:00:52 | 2020-12-07T01:00:52 | 315,450,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,692 | r | gwrCensus.R | #####################################
## Geographically Weighted Regression
#####################################
#Add polygon coordinates to SPDF
income.tracts.no0.coords <- sp::coordinates(income.tracts.no0)
income.tracts.no0$X <- income.tracts.no0.coords[,1]
income.tracts.no0$Y <- income.tracts.no0.coords[,2]
## ... |
cc6f9d5ab3f1a67bcb83050101da44ee5e28608d | 9b9c0ef49b1e80016500e336cd21eaf677faf9c2 | /binomial.R | 760934a2e222f9a268b89cecaf4cca2a1d08ea1b | [] | no_license | RafaelSdeSouza/UV_JAGS | 410bfe0b7591eab59f2f7195ce59118eb9be3f21 | 2a01fa30e0e65fa6a48f1b30b68271ac90b4fcd9 | refs/heads/master | 2021-09-28T21:16:52.915016 | 2018-11-20T17:33:13 | 2018-11-20T17:33:13 | 104,210,106 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,433 | r | binomial.R | # From: Bayesian Models for Astrophysical Data, Cambridge Univ. Press
# (c) 2017, Joseph M. Hilbe, Rafael S. de Souza and Emille E. O. Ishida
#
# you are kindly asked to include the complete citation if you used this
# material in a publication
# Code 5.25 - Synthetic data from a binomial model in R
set.seed(33559)
... |
fe7e6a07297497e41b678b69576dc3b63d2f07d3 | b94bde90fdb3e38483293d906c0b5f0669af647e | /simsem/man/simLnorm.Rd | e660a726a17e306bd004c8382068b4b1472e18a6 | [] | no_license | pairach/simsem | c2da13f31af4b8ed986647320090bbd9edc0c400 | 8194f63851ed0c0dbd447726988b0a58619ec43a | refs/heads/master | 2020-12-25T01:50:53.664082 | 2012-05-29T21:38:06 | 2012-05-29T21:38:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 830 | rd | simLnorm.Rd | \name{simLnorm}
\alias{simLnorm}
\title{
Create random log normal distribution object
}
\description{
Create random log normal distribution object. Random log normal distribution object will save the mean and standard deviation (in log scale) parameters.
}
\usage{
simLnorm(meanlog = 0, sdlog = 1)
}
\arguments{... |
e53134895d89945da9fc55faef3cef4dd6c735ff | 318ae47c60f33603e5a6685f418117f6014cc8d8 | /feature_extraction/jointSummaries_features.R | ef3ee0ae608f8dc551edea9ff9769f6bcf02716b | [
"MIT"
] | permissive | itismeghasyam/psorcast-validation-analysis | e915bcfc32a097420751ca87ee8ac6f8b4cd9aef | 3ce36673c8de20cfd6a9481feddf6d95f0a442ba | refs/heads/main | 2023-08-29T17:32:13.807074 | 2021-11-05T14:50:39 | 2021-11-05T14:50:39 | 376,185,467 | 0 | 0 | MIT | 2021-06-12T02:30:08 | 2021-06-12T02:30:08 | null | UTF-8 | R | false | false | 8,301 | r | jointSummaries_features.R | ############################################################
#' This script will be used for summarizing reported each
#' joint counts for Psorcast users
#'
#' Note: it will exclude finger joints and only use
#' main joint location (ankle, hip, elbow, wrist etc.)
#'
#' @author: aryton.tediarjo@sagebase.org
#' @main... |
1dcae51444228cc15fd4b4b9f1b79ce9e27d5cab | d4288dc5baf4ca0f59fe414f55b1ad7a442abc7e | /man/predictorC_wrap.Rd | 3eac427bf2fe7ecdd16834a4fb64c248dac7c7d9 | [] | no_license | courtiol/SileR | c9c3d3e091d207c685bb6729ceb6aaf8fdb7207e | e914b6090aba8a8eacad5feec0839d8a52625035 | refs/heads/master | 2021-06-03T17:23:15.030331 | 2020-05-09T12:54:34 | 2020-05-09T12:54:34 | 130,906,264 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 946 | rd | predictorC_wrap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fit_model.R
\name{predictorC_wrap}
\alias{predictorC_wrap}
\title{Predict the probability of death (R wrapper for C++)}
\usage{
predictorC_wrap(data, design_matrix, indices = NULL)
}
\arguments{
\item{data}{The dataset to be used}
\item{desi... |
9e8ebc51d407ca81c05f7a192e70de76858dcc0b | 943fdae2438c7beb2763b1883bb1ab267625173a | /ExData_Plotting1/Plot2.R | d09aff6dc93aef3a61da072d8aa6df7f3e36ebec | [] | no_license | Narges-Shah/Exploratory-Data-Analysis | 8deb74822c7df451112cd99577242fa4dd8c422c | 7a938f94a024310b810855be459cb08d5a5d050f | refs/heads/master | 2021-04-26T13:29:29.956666 | 2016-03-13T23:45:51 | 2016-03-13T23:45:51 | 53,810,621 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 456 | r | Plot2.R | # Reading the data set
f2m <- read.csv("First2Month.csv", header=TRUE, sep=';', na.strings='?')
# Convert Date and Time variables
f2m$datetime <- strptime(paste(f2m$Date,f2m$Time), "%d/%m/%Y %H:%M")
# Plotting the Data
png("plot2.png",width=480,height=480,units="px",bg="transparent")
message("Global Active Power Plot... |
b8d83f324bf0c59b359adfd1ca04c6bae857c69c | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /output/sources/authors/1564/NetworkAnalysis/lipschitz.R | 4d645579e7244e2e277baca6e6fb64ffe1a1d002 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 730 | r | lipschitz.R | na.DistanceOrdering <-
function(Dg,Dh){
if(sum(dim(Dg)!=dim(Dh))>0) stop("Dg and Dh do not identical dimensions.")
out <- .Call("distance_ordering",PACKAGE="NetworkAnalysis",as.matrix(Dg),as.matrix(Dh))
return(out)
}
na.IndirectPaths <-
function(W,Vpair,k,output="Summaries"){
if(k==0) stop("Order of indirect ... |
1ff9ef630141516cc679d1798ff63376c0bf4f2b | 6ed7a8aa75fb30997d1cc9ee73bc9bc07aafea6d | /man/degree_discounted_graph.Rd | cae4013136e84058e0c7344fc79d539d9a256758 | [] | no_license | androsova/seednet | 5b4d70758649f70d4c4d0393251397bcc760b0cb | 880c53dd95a5d1dab2ffb7faf2b6bd0596daca86 | refs/heads/master | 2020-03-27T17:48:33.087164 | 2018-08-31T11:23:37 | 2018-08-31T11:23:37 | 146,873,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,432 | rd | degree_discounted_graph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/seednet_functions.R
\name{degree_discounted_graph}
\alias{degree_discounted_graph}
\title{Degree-discounting of graph}
\usage{
degree_discounted_graph(graph, edge_attrib)
}
\arguments{
\item{graph}{An igraph graph with weights as edges attrib... |
52a8bb665186084d9ba127ac30a95fbfa5c6a4a9 | 5f7c2796b4c7b141e3e6583b2a56505e6674cde0 | /man/Get_L_inv_y.Rd | c3a3fbf7587e3c3ab65c06d3d612b23edc429097 | [] | no_license | cran/FastGaSP | cbd332807df530ce80dc0995eaab41136c87a75c | b23d2aada97af9417b8eaa815402f617ee337523 | refs/heads/master | 2021-09-08T07:24:55.023809 | 2021-09-02T22:20:08 | 2021-09-02T22:20:08 | 164,700,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,133 | rd | Get_L_inv_y.Rd | \name{Get_L_inv_y}
\alias{Get_L_inv_y}
\title{
vector of half of the sum of squares
}
\description{
This function computes the inverse of L matrix multiples the output vector, where the L matrix is the Cholesky decomposition of the correlation matrix. Instead of computing the Cholesky matrix, we compute it using the ... |
d4a0c9eca8e130b33cfe2ff48bfb5fdf15269c9c | cca0e8eb35dc8d55cd2d45db7891d878be6747e6 | /tests/testthat/test-silent-message-error.R | 976245ab5177c78c933bdbc08eb364c4b783ef03 | [
"MIT"
] | permissive | phillydao/deidentify | dcae7346a7ea7db36ad24fb1ef82ee0a7dce8e34 | 61dfd8c6b94113913a06744634c3991deb3ae97a | refs/heads/master | 2023-02-25T03:18:05.332427 | 2021-02-03T18:47:51 | 2021-02-03T18:47:51 | 292,612,885 | 0 | 1 | NOASSERTION | 2021-02-03T18:47:52 | 2020-09-03T15:45:31 | R | UTF-8 | R | false | false | 2,313 | r | test-silent-message-error.R | test_that("messages work as expected", {
expect_message(make_k_score(example, columns = "groups"))
expect_message(make_k_score(example, columns = "groups"),
"Note: There are 3 groups with 3 or fewer observations.")
expect_message(make_k_score(example, minimum_k_score = 5, columns = "groups"),
... |
d2864cc5316b4516d547fe19ecda94c71d501534 | 83e1c7cd2d90784105e52d9633c411c4036f2d0a | /PostWork7/PostWork7.R | 4e2ac3a6585105a1184fea539727048e2c77a358 | [] | no_license | panchis7u7/Bedu-Posworks | c364514d681a83afc9defb11946a0ddf64a73e59 | 18ba97af0534f81eab8beae5513958becde9829d | refs/heads/master | 2023-02-25T17:06:24.910564 | 2021-02-04T18:45:06 | 2021-02-04T18:45:06 | 330,039,041 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,578 | r | PostWork7.R | #Viridiana Escarzaga Solis
#Carlos Sebastián Madrigal Rodríguez
#Diego Armando Morales Corona
#Carlos Rodríguez Tenorio
#https://www.football-data.co.uk/mmz4281/1516/SP1.csv
#Instalamos la libreria que nos permitira la conexion a mongodb.
suppressMessages(suppressWarnings(install.packages("mongolite", dependencies = T... |
e8ab8ed07f21cec7d360c6b5ccd69edde9150a04 | a5cd7045e10488bdc18d26c3d154b03f2ef2a4bb | /R/crssi_create_dnf_files.R | e1e529840f36ba2d95a29f7b490142e82d6f46ec | [] | no_license | BoulderCodeHub/CRSSIO | fae179cc18101e772e07504135ce4d5e39446027 | 0a6783f08b832ff63e499436e79be3845b9dbd39 | refs/heads/master | 2023-06-08T05:09:21.380436 | 2023-06-02T18:03:23 | 2023-06-02T18:03:23 | 30,599,142 | 4 | 2 | null | 2022-07-14T20:05:07 | 2015-02-10T15:39:19 | R | UTF-8 | R | false | false | 8,565 | r | crssi_create_dnf_files.R | #' Create CRSS Natural Flow Input Files From Historical Record
#'
#' `crssi_create_dnf_files()` creates the natural flow input files used by the
#' Colorado River Simulation System (CRSS) by applying the
#' [Index Sequential Method](http://onlinelibrary.wiley.com/doi/10.1111/j.1752-1688.1997.tb03557.x/abstract)
#' (... |
ba8c2dea6200f67e29482732eec3fd602116bc6b | aba7a5f337376a3759b75771d0fed43aba8f1506 | /TMDbfromR/man/print.tmdb_api.Rd | c1d515de20958fc993732001eb225075174e1fd1 | [] | no_license | 3inapril/tmdb-package | be56ca6f44dc363dc35b99c8cf4a9b7491bf2c2f | cd4ae1fa23d613a04cc899a58348f4641928a617 | refs/heads/master | 2021-05-03T10:51:53.450310 | 2016-10-05T22:13:14 | 2016-10-05T22:13:14 | 69,840,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 667 | rd | print.tmdb_api.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/common_functions.R
\name{print.tmdb_api}
\alias{print.tmdb_api}
\title{Print object tmdb_api}
\usage{
print.tmdb_api(rst) or rst
}
\arguments{
\item{rst}{The returned object of function get_result() or get_result_general().
rst should be of c... |
f9cdf718addcb400e48c0702e6970399c3fcb16d | 239986245337e040e6dc5198b73b7e81f75863c1 | /fake data.R | 9d7667b779725f831cf58220c0202b6a74cf3190 | [] | no_license | drvalle1/github_SBM_gamma | 579984832c9b25455a791698e8bb24d7f9b7a2ca | 2d141ec6c10a12f7b6508ed73920174128f611c1 | refs/heads/master | 2020-04-16T04:16:10.205823 | 2019-02-27T16:45:34 | 2019-02-27T16:45:34 | 165,260,829 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 897 | r | fake data.R | rm(list=ls(all=TRUE))
set.seed(3)
setwd('U:\\GIT_models\\github_SBM_gamma')
ngroup.loc=5
ngroup.spp=3
#get parameters
tmp=runif(ngroup.loc)
theta.true=theta=tmp/sum(tmp)
tmp=runif(ngroup.spp)
phi.true=phi=tmp/sum(tmp)
set.seed(4)
psi=matrix(c(0.05,0.5,0.95,
0.5,0.05,0.95,
0.05,0.95,0.5,
... |
86094db492c3e1df8c82f2adbcb5cbd311949179 | 80608c38040fb865d6d743d8deb015ccd6db3446 | /Forecast - Index and Future.R | 4105086f2c03bb144561dba8252f141f2527d4c2 | [] | no_license | Quynh0420/TimeSeriesAnalysisProject | 06b0cfc84b3d60258d6aa9456c9dde9fe9d5a743 | 823d70369b68359b8bd6ef9404ef2438cfa77822 | refs/heads/master | 2020-12-05T17:51:23.397442 | 2020-01-06T22:33:45 | 2020-01-06T22:33:45 | 232,196,301 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 45,731 | r | Forecast - Index and Future.R | ########################################################
# Home Project - Time Series Analysis
# Student: QUYNH BUI - 393519
# Lecturer: Dr. Piotr Wójcik
# Faculty of Economic Sciences, University of Warsaw
#
#####################... |
3b3cee8e2bf007e10c8a070e8847a97d15a12187 | 7b4bf9930648abddd9f0143d7f67399e6b66339d | /plot4.R | 411687e05016336b60e3c1fa4ead931c8a8597d7 | [] | no_license | feliao/ExData_Plotting1 | 41486b0a3c7438f910a8fbe68432de32232ab932 | c3a9fe4154a9322facbed1c74cf19ac6eed283d6 | refs/heads/master | 2020-12-28T19:32:53.722538 | 2014-09-07T02:07:43 | 2014-09-07T02:07:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,860 | r | plot4.R | plot4 <- function() {
power_data <- read.table(file = "./household_power_consumption.txt",header = TRUE,sep = ";")
power_data$Date <- as.Date(power_data$Date,"%d/%m/%Y")
x <- power_data$Date > as.Date("2007-01-31","%Y-%m-%d") & power_data$Date < as.Date("2007-02-03","%Y-%m-%d")
... |
536fd26f06f2231921322cec6ccc3d62ebb06f66 | 41cf1a468130f589270b71ffe04c696d8b904860 | /analysis/ais-global/new/clump_processing.R | f3ae1dca0be10ca2c6778e6d2590c64108a4ca9f | [
"MIT"
] | permissive | dmarch/covid19-ais | 53ef60f7c7273e1d4da275f2829119937303c69a | 51239137a854d0dfed55c6e452136b932ba7a63c | refs/heads/master | 2023-04-07T12:58:30.526573 | 2021-05-06T04:51:34 | 2021-05-06T04:51:34 | 280,381,188 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,776 | r | clump_processing.R | # We keep:
# - large clumps (patches > 1000 cells)
# - small clumps wich are adjacent to the coastline (closest distance to coastline < 27,750 m)
#
# We remove:
# - clumps with no variation in SD and count
#---------------------------------------------------------------------------
# clump_processing Process c... |
17c74b143b44ef4d69c52ba0c4bad78f1967fdb0 | 814cbfc3ff46684cfe94c7a65f73f1b705aa867a | /plot3.R | 8034a368259cd311cfb6d1b70e65dc63d1e94791 | [] | no_license | octern/ExData_Plotting1 | 3b429b32c7881dda259b6ed8f9af54a253806a54 | 9075b27d0a30f131793a2d39cd8d8f5148dee37b | refs/heads/master | 2021-01-15T13:22:54.664085 | 2014-05-07T04:00:10 | 2014-05-07T04:00:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,025 | r | plot3.R | # get the data -- we could do some head-tail fiddling to get only the rows we need, but it's way faster to import the whole shebang and use git to subset it.
setwd("/Users/testo/datasci/exploratory/ExData_Plotting1")
pow<-read.table("household_power_consumption.txt", sep=";", header=T, stringsAsFactors=F)
powsub<-pow... |
79a9a1d04a1a6a5510c406438e4e93d850e6eb85 | 7c02f2b5f02b675bd67ea0c54bfc198db90e6562 | /code/98_prepare_to_share/01_prepare_to_share.R | 30ab1f7365f769a47ca78cc7ece34053f797e7cc | [] | no_license | LieberInstitute/Visium_SPG_AD | 6ba55a92efd708719fd8f5ca6aa98a344b06c409 | 0441e194b03370524d4115d71a74dd491c419002 | refs/heads/master | 2023-08-16T10:35:34.956869 | 2023-08-16T02:20:24 | 2023-08-16T02:20:24 | 377,886,452 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,987 | r | 01_prepare_to_share.R | library("here")
library("spatialLIBD")
library("SpatialExperiment")
library("sessioninfo")
## Create output directory
dir_rdata <- here("processed-data", "98_prepare_to_share")
dir.create(dir_rdata, showWarnings = FALSE)
## Determine the suffix
suffix <-
ifelse(as.numeric(Sys.getenv("SGE_TASK_ID")) == 1, "wholeg... |
2319aa81afc9c4e5ebe9479b73d68211e446bf3d | dcda12d7eac0414aace026e7e805159b53319554 | /ROV_Summary_12_2014.R | 141a0ebbd09530083aa0d7ecb5b6bd29150d0e20 | [] | no_license | sare-ah/Seamount_benthic_communities | f921e2036ed5336c61a26a95a8c062f9ad4c7e41 | f23b69b5169b2256469258190d2bf14ef89fd97e | refs/heads/master | 2020-12-18T17:22:23.821468 | 2017-01-11T00:07:58 | 2017-01-11T00:07:58 | 235,468,161 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,756 | r | ROV_Summary_12_2014.R | ####################################################################################################################
# Submersible summaries for Cobb Cruise Tech Report
#
# Objective: For each dive determine:
# beginning and ending timestamp
# beginning and ending depth
# ... |
7804d1e46893ab0a02f105ac4f5ad6a357d310f9 | d367eed128705ccab8f54126b64f2e5abf8c77f5 | /knn_votingAggregation.R | 9be96d7484bc0d2a811436ce76415ca6fbbed00f | [] | no_license | christianadriano/ML_VotingAggregation | a2baabd75b7445cbb71785bea7008037049cebef | e1f4c9d8c7ca40148ac418f2bbed80ff966bd1d9 | refs/heads/master | 2022-06-12T21:26:15.176765 | 2022-04-03T22:00:03 | 2022-04-03T22:00:03 | 99,424,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,539 | r | knn_votingAggregation.R | #K-nearest neighbor KNN
#Predict bug covering questions based on various values of
#the parameters in the aggregation methods
#Obtain the data
# Import data
source("C://Users//chris//OneDrive//Documentos//GitHub//ML_VotingAggregation//aggregateAnswerOptionsPerQuestion.R");
summaryTable <- runMain();
#I need to gua... |
0751f8511a3a8a7bbbfd8babbb8d7225abcd7202 | 78e56603355988ae42605256857e991e540f228a | /plot1.R | 177fc3f61adad5f442d64600cd374045c605a894 | [] | no_license | bbqsatay/ExData_Plotting1 | f1693af2230258782ff7bae2bed7d1c3b07a167a | bc764ffe5624c4ca3611a9d20a76c0525557014a | refs/heads/master | 2021-01-12T21:05:23.204878 | 2016-01-10T13:30:34 | 2016-01-10T13:30:34 | 49,333,600 | 0 | 0 | null | 2016-01-09T17:17:29 | 2016-01-09T17:17:28 | null | UTF-8 | R | false | false | 712 | r | plot1.R | plot1 <- function( ) {
data <- read.csv("household_power_consumption.txt", header=TRUE, sep = ";",stringsAsFactors=FALSE)
## then change to date format
data$Date <- as.Date(data$Date, format = "%d/%m/%Y")
## extract data from the 2 dates we want
data2 <- subset(data, (Date == "2007-02-01") ... |
e4b680ea2d910762f2d26eebc195fef84744923c | 7fe5d6f380d029f551fae6a719215590810fc7b2 | /filter_reffile.R | 7dc6a08d94d24eb049bd97b5113631a9ca8fbbc9 | [] | no_license | aecahill/MOTHUR_saltmarsh | bd4113eb65d80986b79d13a80aa482684e17788b | 96492aba7d0f7d589da65707214014e7951072e6 | refs/heads/master | 2021-08-19T09:25:03.634753 | 2021-06-20T19:41:59 | 2021-06-20T19:41:59 | 152,486,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,416 | r | filter_reffile.R | library(seqinr)
#read in reference alignment
refalign<-read.alignment("C:/Users/acahill/Desktop/reference.align",format="fasta")
#read in table of errors thrown by mothur
#these are seqs that are in the ref but missing from the tax file; need to be removed from ref
errortab<-read.table("C:/Users/acahill... |
c5906b2dfa7f350d909eed7ab648ae35823da8d3 | b74cc181865d768836668c1a74da52f0ec446175 | /R/ReadConQuestLibrary.R | e56c5815b544d6e37068a65e7e51ae3ecb53ec83 | [] | no_license | cran/conquestr | 8cf9d92dce604b7dca4269be7da2502379b61663 | 4b56911ac14bcde0a5c7e9d7af6dd4250f6babd9 | refs/heads/master | 2023-03-28T12:02:24.099503 | 2023-03-12T08:00:02 | 2023-03-12T08:00:02 | 174,560,250 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 39,177 | r | ReadConQuestLibrary.R | #' @title ReadDouble
#' @param myFile An uncompressed 'ACER ConQuest' system file created by 'ACER ConQuest'.
#' @return A list
#' @keywords internal
ReadDouble <- function(myFile)
{
readBin(myFile, double(), endian = "little", size = 8, n = 1)
}
#' @title ReadDoubleList
#' @param myFile An uncompressed 'ACER ConQ... |
8a1cd2d920c044b3d29946e307ae1bd8a3fef10c | d0ff71c623df1a81500a76fb29d6171aa3816686 | /plot5.R | bf3678f5e42c537cfd89cce43476f28032a85847 | [] | no_license | wayneheller/ExploratoryDataFinalProject | 9476ae8aab1be64c75c085d7784d218e7495ec0f | 17ec1bf2101588e90529c8889b3b97cff3b50097 | refs/heads/master | 2021-01-21T05:15:41.125556 | 2017-02-27T13:03:18 | 2017-02-27T13:03:18 | 83,163,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,330 | r | plot5.R | ################################################################################
# Exploratory Data Analysis - John's Hopkins University | Coursera #
# Week 4 Course Project #
# Wayne Heller ... |
067a4de3c824e8ed3a9a4605509f86b5c69b6b40 | 68ea8cc5ca78458c13a6c26020fcd2767c6584d0 | /Rough work/function_all_distances.R | 3ff4d536b3401207c96c6c82e29e2f8c734e9034 | [] | no_license | elsie-h/ward_gower | dfb7ec9a621d8f1e011ae5d4e834a797c14a9ab1 | da88ff8b471c269e79ea318eb3bc1a3f030ba0a1 | refs/heads/master | 2021-06-10T12:41:50.738182 | 2021-04-07T16:00:17 | 2021-04-07T16:00:17 | 166,024,208 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,740 | r | function_all_distances.R | ## Author: Elsie Horne
## Date created: 21st Jan 2019
## Description: function for direct calculation of Ward's with Gower measure
## Packages:
library(tidyverse)
library(cluster) # for agnes and daisy
library(arrangements) # for combinations
# re-write this function to reduce the number of distance matrices that ar... |
ff3d4447f2bc0c30f16a7c5c7c58e29a13d4af70 | 79edc8a9d34a8ff70bf6b977d4545bfe741dc739 | /R/plot.fitted.bsam.R | b2c6e42a3e501dbeca58fa512d4a6efcae75d69f | [] | no_license | cran/bsamGP | ed52b508d20ca806f2878c208f64dd76aae98ce9 | 9ecc1d5140fc0df05415675a141c52c07ff2f641 | refs/heads/master | 2022-04-30T04:38:58.685326 | 2022-03-17T19:40:02 | 2022-03-17T19:40:02 | 99,417,918 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 17,541 | r | plot.fitted.bsam.R | "plot.fitted.bsam" <- function(x, type = "response", ask = FALSE, ggplot2 = TRUE, legend.position = "none", ...) {
yobs <- x$y
xobs <- x$x
nobs <- x$n
nfun <- x$nfun
smcmc <- x$mcmc$smcmc
xgrid <- x$fit.draws$xgrid
ngrid <- x$nint + 1
wbm <- x$wbeta$mean
fxobsm <- x$fxobs$mean
fxobsl <- x$... |
a5a47a302cb5d21470d9efe17435ea8a0188b56e | a5a1dfa861d42495ea1013c42f8edd460ca89561 | /genotype/joint_genotyping/plot_sensitivity.R | 1006879d6c4b22b9f6705a750da641b9a0abb608 | [] | no_license | chanibravo/hcasmc_eqtl | 4cca8abab75d63196d005294bf42d291128fac24 | 0c4f25b5a336349d8e590f2ac357ce0519e16032 | refs/heads/master | 2021-09-20T05:52:29.831159 | 2018-08-05T05:23:01 | 2018-08-05T05:23:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 906 | r | plot_sensitivity.R | #!/usr/bin/env Rscript
# bosh liu
# 2016/05/13
# durga
# plot sensitivity vs other metrics
# library:
library(cowplot)
# paths:
input_file="../data/joint2/recalibrate_INDEL.tranches"
figure_path='../figures/160513_plot_sensitivity'
# read input:
input=fread(input_file,header=T)
# remove sensitivity = 100%:
input... |
5449d2b059f747ce044774702ee5012c1f7f98b1 | 93e2aa9f2709e36dede8b1645c14d69e6774e5ec | /plot4.R | c16a25f48c261266adc792c27e94542bdb838c80 | [] | no_license | t-redactyl/ExData_Plotting1 | cff32562d9b5079683791b8f8a98ec4bfb2aca7f | 6e645b63dbedf639c9dc09bc3fc51e4011a7f830 | refs/heads/master | 2021-01-18T09:14:17.333862 | 2015-03-07T12:04:19 | 2015-03-07T12:04:19 | 31,810,143 | 0 | 0 | null | 2015-03-07T11:37:14 | 2015-03-07T11:37:14 | null | UTF-8 | R | false | false | 2,152 | r | plot4.R | # Plot of global active power against time
#Reading in the data
rm(list = ls())
# Importing the data
if(!file.exists("./data")) {
dir.create("./data")
}
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileUrl,"./data/Dataset.zip", mode="wb")
unzip(".... |
b3a4d95ec5fccfe5a59289fe4fcde9bc6f0f0a4f | 01f20211b667045c9f3d255ef93a30bba7be27b3 | /KEGGpathway_plots_AND_genes_to_excel.R | 1a5058dbd910658f74b848632ae7b0a31f346caa | [] | no_license | Genebio/HCV.SARS | 17a0943fcab4f585bca9d5143e82588a6e9d2112 | 03bb867714243ad4c25aa5d454b285a46e1c6bb0 | refs/heads/main | 2023-06-19T00:26:38.171381 | 2021-07-20T13:47:07 | 2021-07-20T13:47:07 | 380,697,073 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,967 | r | KEGGpathway_plots_AND_genes_to_excel.R | library(KEGGprofile)
library(openxlsx)
db <- read.csv("human_gene_id.csv")
head(db)
HCV.NEW_db <- as.character(db$GeneID[na.omit(match(HCV.NEW_DE, toupper(db$Symbol)))])
KEGG_HCV.NEW <- find_enriched_pathway(HCV.NEW_db, species = "hsa", returned_adjpvalue = 0.05, download_latest=T)[[1]][,c(1,6)]
KEGG_HCV.NEW_diff_path... |
ef44f0a90dae614c035ffabab0c6751b83c3a715 | 8fd589c0c2a809e0c1c54eb7f9dc1f4e93bf063b | /man/dst_query_match.Rd | 46c377d28f96fd5bb2fb14250bf6f8a0e1e90db2 | [] | no_license | rOpenGov/dkstat | 08c22c85db4fa7ca0ae11befad0a6dfca195a51a | f8865d301fd6738905b004edc08b8431fe4f1099 | refs/heads/master | 2021-11-20T08:36:10.153166 | 2021-10-13T15:02:21 | 2021-10-13T15:02:21 | 21,630,033 | 29 | 8 | null | 2016-10-16T17:36:42 | 2014-07-08T21:24:24 | R | UTF-8 | R | false | true | 465 | rd | dst_query_match.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dst_query_match.R
\name{dst_query_match}
\alias{dst_query_match}
\title{Helper function to return ids based on text values}
\usage{
dst_query_match(table, lang, meta_data, query, format)
}
\arguments{
\item{table}{Table from StatBank.}
\item... |
d195f90ac0bc2fc3fca0918039065763b48d6f33 | d75b7bc015b47d94254bcc9334ba15972d3ec9a1 | /1. FIRST YEAR/Introduction to Computing/Exercices_Laura/exercici99.R | e6912cb926ff1026c2719efb841ed9f24b4e0a03 | [] | no_license | laurajuliamelis/BachelorDegree_Statistics | a0dcfec518ef70d4510936685672933c54dcee80 | 2294e3f417833a4f3cdc60141b549b50098d2cb1 | refs/heads/master | 2022-04-22T23:55:29.102206 | 2020-04-22T14:14:23 | 2020-04-22T14:14:23 | 257,890,534 | 0 | 0 | null | null | null | null | ISO-8859-3 | R | false | false | 306 | r | exercici99.R | n <- 5
if (n==0){
cat ("La successió és buida\n")
} else if ( n==1 || n==2){
e1 <- 1
e2 <- 2
cat (e1, "\n",e2, "\n")
} else {
e1 <- 1
e2 <- 2
cat (e1, "\n",e2, "\n")
for( i in 3:n){
x <- e1 + e2
cat(x , "\n")
e1<- e2
e2<- x
}
}
|
d6e538f1b017a3203d82647eb638e59823743e3c | 66db54ec2ca479e182953a8479dbee941289d240 | /R/download_network_hdf5.R | 96857785a66d60acd5e61cf7c4d2ac708abb85ba | [] | no_license | sarbal/OutDeCo | edb039b2181bf559973bbc43cc7095f0710795a7 | 09eea73882b5a763d7a241460e499e809348ca3b | refs/heads/master | 2022-12-16T11:37:10.906690 | 2020-09-24T06:08:56 | 2020-09-24T06:08:56 | 239,221,202 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,008 | r | download_network_hdf5.R | #' Download networks from dropbox
#'
#' @param network_type name of pre-built network to use (generic, blood, brain)
#' @param flag_occr boolean to select occurence network or coexpression network
#' @param dir dummy directory for the networks
#' @examples
#' network_type='generic'
#'
#' @import utils
#' @expo... |
832c15194632a9547936de9b0bd9648514689ccb | 16502827f4c63a4dbb1a52517d777740b4253dcf | /R/phy_to_ldf.R | 4b45d9fae8673ee81a3166976941c84e0c9f2c47 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | microsud/microbiomeutilities | 62a3dd12fa5396dff29a17f8f7612d25251e0269 | 046a9f928f35fc2a02dd6cfb9175a0c7ddf65c4b | refs/heads/master | 2022-12-06T14:44:11.259855 | 2022-11-23T08:07:05 | 2022-11-23T08:07:05 | 104,251,264 | 32 | 8 | NOASSERTION | 2021-04-14T09:31:29 | 2017-09-20T18:10:49 | R | UTF-8 | R | false | false | 2,431 | r | phy_to_ldf.R | #' @title Convert \code{\link{phyloseq-class}} object to long data format
#' @description An alternative to psmelt function from \code{\link{phyloseq-class}} object.
#' @param x \code{\link{phyloseq-class}} object
#' @param transform.counts Data transform to be used in plotting
#' (but not in sample/taxon ordering)... |
3cc7ac0475c630a8af9eff5ed00d642f1644abaa | d4edb03b1bf3b0a0fbc58208b6437fda4dbd3d6f | /inst/simulation_and_plotting_scripts/generate_auRC-auPRC_replicates(imbalanced-data).R | 73132f9c5b9302d644588e217d849964640320a2 | [
"MIT"
] | permissive | insilico/npdr | 245df976150f06ed32203354819711dfe60f211b | 1aa134b6e82b700460e4b6392ef60ae2f80dfcfc | refs/heads/master | 2023-06-23T20:24:58.581892 | 2023-06-10T00:53:23 | 2023-06-10T00:53:23 | 163,314,265 | 10 | 5 | NOASSERTION | 2021-09-21T18:15:34 | 2018-12-27T16:16:52 | R | UTF-8 | R | false | false | 6,698 | r | generate_auRC-auPRC_replicates(imbalanced-data).R | # generate replicates of auRC and auPRC from simulated data with varying degrees of class imbalance
#
# generates data for plotting script: make_auRC-auPRC_boxplots(imbalanced-hitmiss-nbds).R
library(npdr)
library(reshape2)
library(ggplot2)
library(PRROC)
save.files = F
if (save.files){
cat("Results files for ",num... |
a9fe55bedca0df37be26822466aed7d0b038cafa | 07e52ac913df25c8420e67aeea4425e0d2e7183a | /R/methods.R | 3dec7a59a9b2a784b9bb9756c1d5d41199380a77 | [] | no_license | rgcca-factory/RGCCA | b772a93ec0630f3617def32d8fdbef22dee2722e | 068c56194637b65b3371e53701005504670b1f26 | refs/heads/main | 2023-08-04T11:01:51.467178 | 2023-07-17T09:53:09 | 2023-07-17T09:53:09 | 194,089,737 | 9 | 12 | null | 2023-07-17T09:53:11 | 2019-06-27T12:19:01 | R | UTF-8 | R | false | false | 1,914 | r | methods.R | #' Available methods for RGCCA
#'
#' List the methods that can be used with the rgcca function.
#' @return A vector of the methods implemented with the rgcca function.
#' @examples
#' available_methods()
#' @export
available_methods <- function() {
c(
"rgcca", "sgcca", "pca", "spca", "pls", "spls", "cca",
"if... |
c0a0b61923a90a28101122c03d7257df566ec9be | 648ebf72f913f90fe9575a8325ce1d8633ac449e | /R/predict.MFA.R | bc4832d30d50a501af1805a4174a2b545f9c71b2 | [] | no_license | husson/FactoMineR | 1b2068dc925647603899607bf2a90e926ef002d5 | 1f7d04dcf7f24798ce6b322a4dd3ab2bd8ddd238 | refs/heads/master | 2023-04-28T09:19:02.186828 | 2023-04-23T11:32:21 | 2023-04-23T11:32:21 | 32,511,270 | 26 | 9 | null | 2023-04-21T13:34:38 | 2015-03-19T09:08:51 | HTML | UTF-8 | R | false | false | 2,496 | r | predict.MFA.R | predict.MFA <- function(object, newdata, ...){
## newdata : les donnees pour les individus supplementaires
## object : la sortie de l'AFM sur les donnees actives
ec <- function(V, poids) {
res <- sqrt(sum(V^2 * poids,na.rm=TRUE)/sum(poids[!is.na(V)]))
}
if (!is.null(object$quanti.var$coord)) ncp <- ncol(o... |
19cedc73c224a282074674321beff8613800b745 | 5137d2b74fa00d70152f5a18d0a24d1b4785cff0 | /Pathways/annotatePathwayCategories.R | cff2c5893f751e1fe5d09cc008a554c642edbe3c | [] | no_license | noemiandor/Utils | 02462f322102d602cb22d028fb7ac3ff4084489e | 9de792c32e46dbef7485e34400b4e4153cd41c4d | refs/heads/master | 2022-05-02T08:00:38.590908 | 2022-04-04T16:06:42 | 2022-04-04T16:06:42 | 192,091,982 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,178 | r | annotatePathwayCategories.R | annotatePathwayCategories<-function(targets, verbose=T, annotationFiles="~/Projects/code/RCode/github/Utils/Pathways"){
pr=read.table(paste0(annotationFiles,filesep,"ReactomePathwaysRelation.txt"),sep="\t", stringsAsFactors = F)
pnames=read.table(paste0(annotationFiles,filesep,"NCBI2Reactome_All_Levels_HSapiens.txt... |
71a87be0d14896c469172aaba1fab43251e32f79 | b471b23efd99dc6ccc1dfdeeee9f45b9b0770830 | /cachematrix.R | 84e7f4d46f60fd82cdfed6974f149da003d65ffc | [] | no_license | Josealigo/ProgrammingAssignment2 | 2f5d004502278c26fd3b96edbdfd44ef9ce9d45d | 246b1d37f4520864f3aaa5c09618750ec60e93f7 | refs/heads/master | 2020-07-22T01:49:21.905425 | 2019-09-08T00:19:20 | 2019-09-08T00:19:20 | 207,036,991 | 0 | 0 | null | 2019-09-07T23:28:10 | 2019-09-07T23:28:09 | null | UTF-8 | R | false | false | 1,141 | r | cachematrix.R | ## Because matrix inversion is usually a costly computacion the following
## functions basicly cache the inverse of a matrix
## makeCacheMatrix function will save us a matrix and its inverse matrix also
## a few functions to get that matrix, to change it and also its inverse matrix.
makeCacheMatrix <- function(x = m... |
6b7ec5ff6b5a74c47b2cad592616e657b66d682c | 16557af8fc3b53d6a6fbf22c755a67974e56c108 | /man/EEControl.Rd | e25afc8fd32d1369ea5082925ceb0e28a73852d5 | [] | no_license | cran/RelValAnalysis | 965abb939e245857d2aebc5dbc420a668437a6d9 | 8fef3417f6bd3e23b9a8b1df9c114375ac37d619 | refs/heads/master | 2020-05-26T18:01:24.605537 | 2014-06-25T00:00:00 | 2014-06-25T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,831 | rd | EEControl.Rd | \name{EEControl}
\alias{EEControl}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~]
Control Term in the Energy-entropy Decomposition
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
The function computes the control term o... |
c4c9a333eb8089bb2019cfccf62340cc60293828 | d546e040c361023b68a53ce4a6969ba44b21861c | /models/geonet/model.r | f5bc7d13c7daeafa19cb4317bd8402b24c27618c | [] | no_license | factn/reality-reliability | 115f0266eecb41723f577f9a1ca2b13590be33a6 | e6bd7d965b941fd68932be53d32b014afd303554 | refs/heads/master | 2023-02-20T13:54:59.419613 | 2021-01-20T22:05:59 | 2021-01-20T22:05:59 | 167,264,355 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 453 | r | model.r | library(rstan)
library(Matrix)
library(brms)
options(mc.cores = parallel::detectCores())
load('data/data.rdata')
W <- 1*as.matrix(sparseMatrix(i=c(W_sparse[, 1], W_sparse[, 2]), j=c(W_sparse[, 2], W_sparse[, 1])))
row.names(W) <- seq(nrow(W))
claims$value <- claims$value/10.0
# Fit the model
model <- brm(value ~ (1|... |
aef705a196a43199209bece12d540a7ed6d9d80d | ffa12d1a799a5c2b753600e9f447badda81f8f26 | /R/few.R | 1d4065438772cd08fa9904dd0e986c778dbf5b20 | [] | no_license | Yaneri16/ggthemes | ed8fe746eec3868abae00b33f1bae77efd85e5b4 | 29c3f151bb69a013345d8a3e7c19933e98696c4d | refs/heads/master | 2020-03-19T00:52:01.113860 | 2018-05-27T21:46:58 | 2018-05-27T21:46:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,487 | r | few.R | #' Color Palettes from Few's "Practical Rules for Using Color in Charts"
#'
#' Qualitative color palettes from Stephen Few,
#'
#' Use the light palette for filled areas, such as bar charts.
#' The medium palette should be used for points and lines.
#' The dark palette should be used for either highlighting specific poi... |
b3e8a262f97ecc95c6683126b9a26c57793463b4 | de00ff6505f4e888e23ef8adc2fcaca64af54b82 | /FinalProject/text_mining.R | 33bfc601e4c1271d2c9647036084598428d7ed66 | [] | no_license | lrshum17/STA523Project | 35491f95b237712dad7cd9bd9bf466dba7a1ae25 | b2f7e3176c9790491e564b8292eaf074805dd71c | refs/heads/master | 2020-12-24T10:55:58.630111 | 2015-12-13T02:24:50 | 2015-12-13T02:24:50 | 73,118,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,884 | r | text_mining.R | install.packages("twitteR")
library(twitteR)
consumer_key<-"zSeAWHNpaL5G7GpHuCO4zTffT"
consumer_secret<-"dZnarPgWiQCnb1bJ0tvN3xFBmWVMRQCDDWl9UsFtkiTGpzztfG"
access_token<-"1071126529-DLvrKbaT9ju1yQsAHBWZz5h3vHGEWWyWYeTHP4Z"
access_secret<-"h3XgPKhsKkF66ShXfbFPEnby2VUofGD6AYvu53CFvUFX7"
requestURL <- "https://api.tw... |
5e24bb3ce4670708739389c4f8c9c8b58c950f8a | 4716097bd47f69b5f71facd0bef1e49ff66cc87d | /R/print.PolyTrend.R | 5b5b6b8e918f58a5d68f3b5b299d487350f2fc80 | [] | no_license | cran/PolyTrend | e3f8aa12da6873d2289164b46533b2faaa1f6a7a | a265e92c070e3c4b4c1861f6081d10408ef6f3d0 | refs/heads/master | 2016-09-13T16:39:09.945585 | 2016-05-31T11:10:07 | 2016-05-31T11:10:07 | 58,641,187 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 971 | r | print.PolyTrend.R | print.PolyTrend <-
function(x, ...) {
cat("\nPolyTrend input data:\n")
cat(sprintf("\nY: %s\n", paste(x$Y,collapse=" ")))
cat(sprintf("alpha: %.2f\n", x$alpha))
cat("\nPolyTrend classification:\n")
strTrendType <-c("concealed", "no trend", "linear", "quadratic", "cubic")
cat(sprintf("\nTrend type: ... |
5623292347c397df9b08bd8b4f7122cbb8d7d90d | 1c5e993681ab00b3eb698d05f84e1daf2b4723e9 | /man/runDBN.Rd | 7184e4d7b84e51c822136afd4e3d903ff31402db | [] | no_license | cran/EDISON | d4e9ecb9187ec33efa2276d00ca5b37a487159e1 | 9d3d3660629fe0ee9fa81697452c47369485fa3a | refs/heads/master | 2021-01-21T21:55:02.171225 | 2016-03-30T21:04:12 | 2016-03-30T21:04:12 | 17,678,892 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,571 | rd | runDBN.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runDBN.R
\name{runDBN}
\alias{runDBN}
\title{Setup and run the MCMC simulation.}
\usage{
runDBN(targetdata, preddata = NULL, q, n, multipleVar = TRUE,
minPhase = 2, niter = 20000, scaling = TRUE, method = "poisson",
prior.params = NULL, s... |
2787c48154d90bc3749ceee32061f1cbbd55c1b3 | 4982fe092c56874d7ef622f1519f0a796ec8430c | /rankall.R | 22329314c70ad52d452372768bc857b0e7d92d3d | [] | no_license | ccurley/r_programming | 321b3f6d7485371efed8183e4d559169adc651eb | 2f0fd3084a31854ecc062b287d262edb78f001d6 | refs/heads/master | 2016-09-09T23:12:26.208118 | 2015-10-03T11:30:56 | 2015-10-03T11:30:56 | 42,875,845 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,520 | r | rankall.R | # rankall.R
# Coursera - Introduction to R
# Assignment 3 - Week 4 - Part 3
#
# This is bascially the same script as the rankhosptial, with the operation in the if/else if/else state-
# ment slightly altered to build a data frame. As always, I overcomplicated that step with an rbind call in
# my first pass -- which alm... |
8c21ef4d549f6f565e0cd680231dd7798f0f939e | 3218909350b6f8388a6452c1f444184054598173 | /API_ZZZ/utqe-RestRserve/RestRserve/utqe_dev/api_utqe_table_read.R | 13af31e604478c41ca512d902f58f1742bae9613 | [] | no_license | ashther/practice | 340bcbe6bc823e118baf4ae257dc65effecc1eff | 13229521acf8ab1574747735719be334f99354e1 | refs/heads/master | 2020-05-21T03:21:45.526293 | 2018-12-07T10:35:30 | 2018-12-07T10:35:30 | 40,460,359 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,743 | r | api_utqe_table_read.R |
list_to_string <- function(params, .collapse = ' and ') {
# sqlInterpolate will reganize chinese character as position variable!!
# if there is chinese colnames, we will need data structure like this:
# params <- list(names = list(code = '代码'), values = list(code = 001))
paste0('`', names(params), '`',
... |
6a38f1e69336a89f4ded4201eeb11004873902a2 | f8e90f1d7e1765986d1e54518e36be3421340abf | /R/MiRKATS.R | c7a9b5b21daef83cde1d71b2d96b16f6e03816df | [] | no_license | cran/MiRKAT | dc223b705b1e95a30ecf32be9187dfe1b2ce7895 | 7458a2346404eb5e6cde863bf2de58a8b9675837 | refs/heads/master | 2023-03-04T06:52:51.698101 | 2023-02-17T13:50:02 | 2023-02-17T13:50:02 | 98,353,574 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 9,854 | r | MiRKATS.R | #'Microiome Regression-based Kernel Association Test for Survival
#'
#' Community level test for association between microbiome composition and survival outcomes (right-censored time-to-event data)
#' using kernel matrices to compare similarity between microbiome profiles with similarity in survival times.
#'
#' ob... |
671274739f28d4f9dcb6e852b6a82ee86f006ea6 | 197f5cb3cba1fc192cc58a20afaa73e71538787c | /R/BNP_Dataframe.R | 67c43259d48a308429326a877316ad512a11995e | [
"MIT"
] | permissive | mar-esther23/boolnet-perturb | 84370fc4c986ec3bb55c19f7b64e9e3c0563d7d4 | 047ba2cfe98d00cf7424f62e9089504cbf535f78 | refs/heads/master | 2021-01-12T21:37:11.039229 | 2020-04-18T03:17:30 | 2020-04-18T03:17:30 | 143,438,464 | 5 | 2 | null | 2020-03-02T04:39:10 | 2018-08-03T14:39:24 | R | UTF-8 | R | false | false | 10,369 | r | BNP_Dataframe.R | ###################
#### DATAFRAME ####
###################
#' Convert a BoolNet attractor to dataframe.
#'
#' If Booleans converts a BoolNet attractor to data frame with nodes displayed in Boolean format. First column is the attractor number, second is the number of state inside the attractor, the rest of the columns... |
fdde6839d6f5889a4eba97fd4fbf8ebed8cb0e3a | 9dc1278807d585d24cf5b9ba2f74b9b5f40d8c2d | /tests/testthat/test_parseImage.R | a8daafda582b4db584b7691af1674bca133b2efd | [
"MIT"
] | permissive | stephenwilliams22/Spaniel | b6387e686d9e280deeab89d63655a93bb5476f05 | 6dada98d8a9eddde4a4610457b8d4311f9ecb2ec | refs/heads/master | 2020-08-01T22:26:42.014191 | 2019-09-25T14:09:30 | 2019-09-25T14:09:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | test_parseImage.R | # Tests for parseImage function
# ------------------------------------------------------------------------------
context("Testing parseImage")
# These tests were created to ensure that the parseImage functions works
# correctly and creates a grob
# Test parseImage
# --------------------------------------------------... |
30ce6f71612864f1e6e0d045a4c0e5067522111d | 316c717e4d40ebccec50658cf22c81930908e620 | /training_testing_subset.R | 0b662a02426099c58f2bea5c9a8bd9ee05e3a1fb | [] | no_license | selinawj/Reviews-Classifier | c7951ded37d53df0a5147655e50aa52329d2576d | 70881b7fdedf0e1a0674962992d82e0148b58054 | refs/heads/master | 2020-06-10T23:01:26.671614 | 2016-12-07T16:09:24 | 2016-12-07T16:09:24 | 75,850,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,770 | r | training_testing_subset.R | #removing empty reviews
education_df <- na.omit(education_df)
finance_df <- na.omit(finance_df)
game_df <- na.omit(game_df)
social_df <- na.omit(social_df)
weather_df <- na.omit(weather_df)
#using a smaller subset of training and testing data
training_data_5000 <- rbind(education_df[1:1000,], finance_df[1:1000,], game... |
60aa004fd28d22375a36fea17fc52b13dac5bed4 | 5cc65e4cf454eaf7adce2924d9935401c0780f81 | /cachematrix.R | 20588a84aa3100bb006a6f798f884cf1b5c312e2 | [] | no_license | cplearning/ProgrammingAssignment2 | 73157f94bd7870c1f3c2b46ef631280a1f6fed0d | 98a46580583c06b8fdbf09469f7302225eebb326 | refs/heads/master | 2021-07-23T04:33:42.627803 | 2017-10-31T19:18:24 | 2017-10-31T19:18:24 | 109,038,864 | 0 | 0 | null | 2017-10-31T18:47:28 | 2017-10-31T18:47:27 | null | UTF-8 | R | false | false | 1,160 | r | cachematrix.R | ## File created by cplearning on 2017-10-31
## The functions calculate the inverse of a matrix and cache teh results for the next use
## makeCacheMatrix creates a list of functions that store and retrieve the matrix 'x'.
## When used with the companion function cachSolve to calculate the matrix inverse,
## it suppor... |
2961632a8f495f5c59463a072aa9170095102cca | 8734b26adb5975f7b6e7685cf899d8b23599a154 | /R/utils_get_dots.R | 1833e5f72a0000db02179a9d8094892d09a21022 | [] | no_license | strengejacke/sjlabelled | 3606b01702e59a6ac47459fd216ab468f777c266 | 548fa397bd013ec7e44b225dd971d19628fdc866 | refs/heads/master | 2022-11-12T10:34:47.538335 | 2022-10-23T20:16:20 | 2022-10-23T20:16:20 | 92,868,296 | 78 | 16 | null | 2020-11-25T14:50:47 | 2017-05-30T19:24:17 | R | UTF-8 | R | false | false | 3,215 | r | utils_get_dots.R | # function to evaluate dots in a tidyselect-style and return
# the variable names as character vector
.get_dot_data <- function(dat, dots, verbose = TRUE) {
if (!is.data.frame(dat) || length(dots) == 0) {
return(dat)
}
columns <- colnames(dat)
x <- unlist(lapply(dots, function(i) {
# contains-token
... |
9f954378dd001b6ef113c5a657f73898972ddfdb | 3e5d8d362b3367e4ff0e152b0242b7a285d8484f | /R/write_gifti.R | f08ac8e87e474d9fc7bc4654ec4c7873250ad6b0 | [] | no_license | mandymejia/ciftiTools | d591a6e8732dd9df17dd62d959a7a808eee16bef | 7becc99a6301c47541c883739f7fb2f0f3413e60 | refs/heads/master | 2023-08-17T06:07:35.229385 | 2023-01-23T20:00:17 | 2023-01-23T20:00:17 | 241,136,369 | 30 | 10 | null | 2023-08-21T21:47:22 | 2020-02-17T15:06:01 | HTML | UTF-8 | R | false | false | 9,278 | r | write_gifti.R | #' Write a data matrix to a GIFTI metric file
#'
#' Write the data for the left or right cortex to a metric GIFTI file.
#'
#' @param x A \eqn{V x T} data matrix (V vertices, T measurements). This can also
#' be an object from \code{gifti::readgii}, or a length \eqn{T} list of length
#' \eqn{V} vectors.
#' @param gift... |
0a02abe7bf7acb8edaa8e03443ddcba3cfbcc11f | d8585f141faff24dacdde002672a37aee6b5c796 | /redudantCode.r | 2a9f2d3f0fbf4366e878d67c3145ae83cac48521 | [] | no_license | yangxu698/RateSub | c8cd5ecc951dc3f9bd2847b8c57ecdef2683a814 | 90b7ada7faa0bb27da33d51bfcd8d51fab27068d | refs/heads/master | 2020-04-29T05:15:17.548730 | 2019-04-29T18:50:09 | 2019-04-29T18:50:09 | 175,876,041 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,715 | r | redudantCode.r | read_csv("../MSA0680.csv") %>% filter(accountnumber == "CA02600002")
data = read_csv("../MSA0680.csv") %>% filter(accountnumber = CA)
mutate(date_num = as.numeric(as.POSIXct(surveydate))) %>%
left_join(data_complement, by = "accountnumber") %>%
select(accountnumber, INST_NM) %>%
... |
4ad3217bd41e3c7140b799dd42af2b078b856a41 | 563f761040775133293553aaf17c4b8eac01d4ee | /scripts/4.5_evaluate_best_model.R | a3ddf62ff27e7ca155ad5f8cbf5a0e8349edb336 | [
"MIT"
] | permissive | brendanhcullen/personality-diabetes | d77a30b34f6722833b13891d12585051f3ee606c | 6ac3ce8f5dc34eb03f78429e1f83edc45266beb6 | refs/heads/master | 2023-02-10T10:49:39.990733 | 2021-01-01T19:59:08 | 2021-01-01T19:59:08 | 198,284,368 | 0 | 0 | MIT | 2020-12-17T00:12:01 | 2019-07-22T18:53:46 | R | UTF-8 | R | false | false | 1,005 | r | 4.5_evaluate_best_model.R | library(here)
library(tidyverse)
library(caret)
# Load holdout test data --------------------------------------------------
best_mods_fits <- readRDS(here("output/machine_learning/training/best_mods_fits.RDS"))
test_data_pp <- readRDS(here("output/machine_learning/testing/test_data_pp.RDS"))
# convert diabetes to fa... |
35cb0cfee49d385470e5f8b76c16d06a600b22e0 | 9ea27859f36ecf8bf273b34a768865f03af8e771 | /R/RedisParam-logger.R | 22592f2a72a27a80cf08962aee6c78f2d341a8e1 | [] | no_license | mtmorgan/RedisParam | dbe44f9f5478b72e7757468d677866788b39d32b | fca99f1834fdb5323321e485a2594cf6323b92d7 | refs/heads/master | 2023-07-21T11:53:03.884482 | 2022-06-10T15:48:14 | 2022-06-10T15:48:14 | 171,951,305 | 2 | 1 | null | 2023-07-14T14:15:03 | 2019-02-21T21:54:37 | R | UTF-8 | R | false | false | 1,847 | r | RedisParam-logger.R | ## Get the logger name
get.logger.name <-
function(x)
{
paste0("RedisParam.", bpjobname(x))
}
## Get the file used by the logger
get.log.file <-
function(x)
{
if (is.na(rpisworker(x))||!rpisworker(x)) {
paste0("RedisParam_manager_log_", Sys.getpid())
} else {
paste0("RedisParam_work... |
906c73b4f8d9e71d38931f090405d6601cce7fed | bc48ffd209e2678a6f42c26fee8b3d74c3497fdb | /man-roxygen/mouter.R | 1b187c1735d99eb1b3fece42de8939af09d6aa87 | [] | no_license | mbojan/mouter | 8f224a5c608bed28e8fa6b33d2d98116ada9bd47 | df63aadbf21070d83993cbbd147497e1f774d57a | refs/heads/master | 2021-01-17T19:25:48.763708 | 2017-02-06T19:39:06 | 2017-02-06T19:39:06 | 65,302,549 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 334 | r | mouter.R | # As an array
a <- mouter(
A = c(a=1, b=2) / 3,
M = matrix(1:4 / 10, 2, 2, dimnames=list(D=letters[5:6], E=letters[7:8])),
B = c(c=2, d=3) / 5,
retval="a"
)
str(a)
# Data frame
mouter(
A = c(a=1, b=2) / 3,
M = matrix(1:4 / 10, 2, 2, dimnames=list(D=letters[5:6], E=letters[7:8])),
B = c(c=2, d=3) / 5,
... |
a67c3c2fcbc0c11c6b97bb296232fb8c8c297cb9 | 4edab06f5f798ccb53fee765b8d7a9b8c2d4ad34 | /plot.R | b8e038400157d1b7e87747f1cb8f6d0bfeb8af57 | [] | no_license | bharathirajajewin/testrepo | 33ace96af05165421f266e421c4cdbe4574bdd21 | 4d288f626e6affe4b6e843b43acaa7ed8e54b2de | refs/heads/master | 2020-04-07T15:35:33.765282 | 2014-10-14T14:36:06 | 2014-10-14T14:36:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 39 | r | plot.R | a <- rnorm(100)
plot(a, mail="Barplot") |
fe6680c60a90d7bd82c3f75b8d1d978771010820 | 8986d42911f0d3f4ea330dd8df4668ba6dac403c | /R/agreguj_wskazniki_2rm.R | 6a29797547d31814d15d603af4f2cdbfed9a703b | [
"MIT"
] | permissive | tzoltak/MLASZdane | 07a25b412b2c0a987581967251206e52e067d4c9 | 3f51cce2959436d6e648c7394cf4dfe9b7fee274 | refs/heads/master | 2023-08-31T15:50:35.253211 | 2021-08-09T12:54:37 | 2021-08-09T12:54:37 | 77,215,737 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,046 | r | agreguj_wskazniki_2rm.R | #' @title Obliczanie wskaznikow z 2 rundy monitoringu na poziomie zagregowanym
#' @description Funkcja oblicza wartości wskaźników na poziomie zagregowanym
#' na podstawie ramki danych z wynikami ankiety CAWI.
#' @param wskazniki ramka danych z wynikami 2 rundy monitoringu
#' @param grupy ramka danych zawierająca defin... |
0f82ae271f4ae0677d9a535722ed73450b41c1e9 | 9409270923e73e0e1cbf8099a729ab26bd3efff2 | /combine_Utrack.R | d697dd1bc61e6ef8ec211102371ce760b19d0353 | [] | no_license | vrrenske/spotprocessR | cf229f52fc476fe0dd8b2e8de782b1dc99bf9b85 | 9cf944564a7b1411712dd312f9fb6e273e92e7f1 | refs/heads/master | 2020-04-05T13:07:44.924705 | 2018-03-05T13:15:09 | 2018-03-05T13:15:09 | 95,105,125 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,025 | r | combine_Utrack.R | ####################COMBINING DATA UTRACK###############################################
##Renske van Raaphorst 25-04-2016
##To combine outputs from different movies; same experiment; into 1 plot and/or combine different conditions to produce comparison plots
rm(list=ls(all=TRUE))
library(ggplot2)
library(ggthemes)
#... |
fbe14964c1604e442991bbd6a799ebd5963e8854 | 5bab0a6c27ce35f248b87fa223336df789ce64bc | /Pulsar Classification/Models.R | 6ca824edda1d1ff13d61c092c49f748ace4f3078 | [] | no_license | othersideoflearning/portfolio | aae6647658048aa32ba929c4f5493d9b57c05abb | a1d5f3f31f8090e0e7144185e7cf6ed902185df8 | refs/heads/master | 2021-10-11T07:06:33.990780 | 2021-10-01T15:54:23 | 2021-10-01T15:54:23 | 195,103,163 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,086 | r | Models.R | library(ROSE)
library(rpart)
library(readr)
library(psych)
library(caret)
library(e1071)
library(rattle)
# library(naivebayes)
# library(Boruta)
HTRU_2 <- read_csv("D:/Academics/Semester-IV(Late Spring 2017)/Machine Learning - I/Project work/Data/HTRU2/HTRU_2.csv", col_types = cols(Class = col_factor(levels = c("0", ... |
d6941b7ef84d8e4f30e2f020d913a7701a3a3dde | a85d5b1041c03415a670091cba8dfc08500c2960 | /R programing/refrigration.r | 1841054dc2c38a35eacadec364d1a699d94fced4 | [] | no_license | sandeepsingh800/test | 6f921d4648dbdf94aca66cf80c8265af679a3c94 | c253d4b895cec8651c8bd36a85884650f341e129 | refs/heads/master | 2021-05-05T07:53:35.527740 | 2018-01-26T04:28:07 | 2018-01-26T04:28:07 | 118,894,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,419 | r | refrigration.r | ##The R-Code has been simplified for the individual product categories.
##Let's refer to this during our meeting.
##~~~~~~~~~~~~~~~~~~~~~~~~~
require(forecast)
require(xts)
require(lubridate)
require(RODBC)
#Historical Input (Train)
db <- odbcConnect("SHC EDW PROD1", uid = "dsankar", pwd = "dheeraj88")
D... |
d796d83be3753cfea3b09fe6275355f1b514c2b3 | c903fb060f7fdec352d33a1bc482e230136ad10f | /r/kellogg_vcards.R | e982f66aa682f0b957b7555476c4e08e1680d2ba | [] | no_license | kftb/kellogg-1y-vcf-cards | baa26f9dfdc4d4f98f49f0f241bba305586a31f0 | a3adbed4ea86022ea753e3243415eb97342a97f0 | refs/heads/main | 2023-05-28T13:12:03.743655 | 2021-06-20T14:10:55 | 2021-06-20T14:10:55 | 374,499,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,867 | r | kellogg_vcards.R |
library(tidyverse)
library(dplyr)
library(dialr)
library(xlsx)
# Import data
netids<- read_csv("input/1y_survey.csv") %>% select('netID', 'perm_email', 'kellogg_email', 'first_name', 'last_name')
df <- read_csv("input/1Y Class of 2021 Directory - 1Y Class of 2021 Directory.csv", skip=3,
col_types = c(... |
2fddfb32e7361a252aeb9fcb09b21312aaa376d3 | fdae81101c47e85301841c1dc74bd0bf527e4409 | /R/anova4Fits.R | d1503bcad5c0bca58c5cf18b2e22c6250f6b3021 | [] | no_license | cran/CalciOMatic | 5e08d237fafa8b39131f7eb5006c1d438afc40ec | 2ca130e89e581137ecc3d0da57019e75d2967037 | refs/heads/master | 2021-01-19T00:08:47.036248 | 2009-10-06T00:00:00 | 2009-10-06T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 689 | r | anova4Fits.R | anova4Fits <-
function(Fit_1, Fit_2) {
## Perform an ANalyse Of VAriance to determine the best fit among 2
## Useful to check whether a monoexponential or biexponential fit,
## preformed by nls, best predicts experimental data
if(inherits(Fit_1,"nls") & inherits(Fit_2,"nls")) {
result <- anova(Fit_1,Fit_... |
43e87422a39ade213dbf1db859a6b348e629c594 | d859174ad3cb31ab87088437cd1f0411a9d7449b | /autonomics.plot/man/plot_sample_distrs_n_pca.Rd | d2b13a2efd43c7adbf8f039989e3584accb9e8cf | [] | no_license | bhagwataditya/autonomics0 | 97c73d0a809aea5b4c9ef2bf3f886614eceb7a3c | c7ca7b69161e5181409c6b1ebcbeede4afde9974 | refs/heads/master | 2023-02-24T21:33:02.717621 | 2021-01-29T16:30:54 | 2021-01-29T16:30:54 | 133,491,102 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,159 | rd | plot_sample_distrs_n_pca.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pca.R
\name{plot_sample_distrs_n_pca}
\alias{plot_sample_distrs_n_pca}
\title{Plot sample distributions and pca}
\usage{
plot_sample_distrs_n_pca(
object,
descr = "",
color_var = default_color_var(object),
color_values = default_color... |
25704d8e4f027095ea239f377165fe94d42a5ea6 | 3d3502b01a3dbf15f0799d873c7b414bb35802fb | /man/predict_nodes.Rd | 3fd0d46e047f14b4e8efa02013b35438c552ae4d | [] | no_license | molson2/subgroupTree | f8b7c9477859e2b51a0e3d9d66143dd337af263f | 4263665d8c00ca98485c5422be5cd41ce903d276 | refs/heads/master | 2020-08-08T15:58:02.907607 | 2019-12-03T08:29:59 | 2019-12-03T08:29:59 | 213,864,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 456 | rd | predict_nodes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/split_functions.R
\name{predict_nodes}
\alias{predict_nodes}
\title{return leaf number containing predictions}
\usage{
predict_nodes(rpart.obj, newdata)
}
\arguments{
\item{rpart.obj}{rpart fit object}
\item{newdata}{data.frame with test pre... |
26eacd842e6136ec1250a9a835f67ae4f752c5f8 | f7c8cdbc396d525e22a4cb663bde50f57f1b2030 | /Drainage_Soil.R | 543da24bf621d7ca53d238bd801a4fd2baf95927 | [] | no_license | yuanhongdeng/SoilHydrology-Temperature | e0c041f9240e0b9b32cc0cab548a12ffb7cc730b | 9521342929ff19bed4ed68fec8b80df6ce96bf36 | refs/heads/main | 2023-02-22T04:59:51.552824 | 2021-01-14T16:36:11 | 2021-01-14T16:36:11 | 390,379,273 | 0 | 1 | null | 2021-07-28T14:23:08 | 2021-07-28T14:23:07 | null | UTF-8 | R | false | false | 1,827 | r | Drainage_Soil.R | ## Calculation of Drainage from the Soil ##
# Equation (as lower boundary condition of finite difference approximation)
# drain.t = -(k / dz )*(psi - psi.n1) - k
# k: hydraulic conductivity of soil at time t
# dz: soil depth
# psi: matric potential at time t
# psi.n1: matric ... |
5941f7af55437f94a784b0c5da79835adfa511ae | 0f505ae41f3a94183a5f395741cd607929ab0ccd | /inst/shiny-examples/shinyProliferation/server.R | 16959f8c5c80591b2c65b5a5693a94d5a667832a | [] | no_license | aejensen/ProlifAnalysis | 5dda7750fc64a50e7afde7ca00f22e5819a05916 | 2c965beb8165a6e3187422596d0c57e9c534ead4 | refs/heads/master | 2020-03-18T16:23:03.249779 | 2018-06-02T16:50:36 | 2018-06-02T16:50:36 | 134,962,641 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,760 | r | server.R | shinyAppServer <- function(input, output, session){
#d <- read.csv("180524 stat.txt", sep="\t", dec=",", skip=7)
filedata <- reactive({
infile <- input$file
if (is.null(infile)) {
return(NULL)
}
d <- read.csv(infile$datapath, sep="\t", dec=",", skip=7) ###here is some fileformat configuration... |
ea311e2f42ac4f70faa60e9d314972daca70fdcd | cf3d35a51ca24a2434826c81730c18904ceab1db | /train_test_50_times.R | 93720bf9b4cdd063140b3505b2470e5cba9e3f35 | [] | no_license | Hardervidertsie/DILI_screen_paper | 2953c4715da122810a31d167dd9c2c7b0d1bcec2 | a09aa51ace36ec4284d5b96c0181e2f3722d9a10 | refs/heads/master | 2021-03-27T08:27:04.852256 | 2017-06-19T14:38:54 | 2017-06-19T14:38:54 | 74,959,948 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,312 | r | train_test_50_times.R | # testing consistency
output.confus = alist()
output_testComps = alist()
output_feats = alist()
output_tune = alist()
output_test = alist()
output_predict = alist()
for( j in 1:200){
caseInd <- createDataPartition(all.treatsnoDMSO_dili$class,p=0.8,list=FALSE)
trainData_long<- as.data.frame(ML_data_final_data_l... |
407caf99f81ff6a1ff37993f9d62f1d1816c27f1 | 54f96e0e609e9aa36ab085622c519fa8d353ab9f | /_analysis/bluff-lake-model/_r/8-analysis-hour-edt-all-elevations-NOdrawdown.R | db0d6479f3c004bbf2744db1409e5e4f23c4b4f3 | [] | no_license | mcolvin/Bluff-Lake-Project | 479258613a47e11a0ecd6c9780c22bdd3bb08352 | 8a005f1dd1d6e1cc12ba06b0dd6a57e5ed01ae7e | refs/heads/master | 2022-10-16T05:48:46.843723 | 2021-11-10T20:53:41 | 2021-11-10T20:53:41 | 151,443,525 | 0 | 0 | null | 2022-10-06T03:22:42 | 2018-10-03T16:22:28 | HTML | UTF-8 | R | false | false | 17,848 | r | 8-analysis-hour-edt-all-elevations-NOdrawdown.R | source("_r/1-global.R")
source("_r/2-functions.R")
source("_r/3-load-and-clean.R")
source("_r/CLEAN-Objective metrics_new.R")
a=1.408
b=0.302
#----------------------------------------------------------------------
#
# NOXUBEE RIVER DISCHARGE DATA: HOURLY
#
#-----------------------------------------------------------... |
c6d86390dc1feaf35ce4ad51e5152189b12cef97 | 72f3fa9a49488dfd9a5c0dd6db792582e3a0f862 | /man/drmutWaterfall.Rd | 3b79129c8cfadfbe86dfcbd347cab6ffecde8461 | [] | no_license | yumengw/utilR | 8df9e3c7b48813ef3e7e81d52807ffd63e9c7b50 | 463a6f0651fb3f13302d411ac761235fafd017b2 | refs/heads/master | 2021-09-01T21:32:42.819743 | 2017-12-28T18:45:34 | 2017-12-28T18:45:34 | 115,483,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 419 | rd | drmutWaterfall.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dr.mutWaterfall.R
\name{drmutWaterfall}
\alias{drmutWaterfall}
\title{mutWaterfall function}
\usage{
drmutWaterfall(mafile, job_dir, format = "json")
}
\arguments{
\item{mafile, }{maf file name}
}
\value{
results
}
\description{
mutWaterfall ... |
dad6bee7e1f8ce1438fc5b5ab03771891f117aa1 | cf5daf723e5e5daae992acf6a55a6e3fe82c19bc | /setup/mcSetup/copyGadgetModel.R | 9cb7151566989dc1604bb5125404c230d0b72640 | [] | no_license | inspktrgadget/gadgetTest | 8b260f55fc1701dbe52c7d2b151ab175e37766e5 | c120c45d6c3676edc634d9e209b65b2ce4f8b70f | refs/heads/master | 2021-09-19T11:51:16.572983 | 2018-07-27T19:54:17 | 2018-07-27T19:54:17 | 116,150,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 177 | r | copyGadgetModel.R | # script to copy model from initMod over to new model
# copy files over
copy_from_dir(initmod_dir, gd, recursive = TRUE)
unlink(paste(gd, "WGTS", sep = "/"), recursive = TRUE)
|
a2061b97bf3df26382be3089af76d48685e9263d | 360b88fd10e8b92d4fc058c4c68a70e8edc06ca2 | /R/star.R | f9173cf5db361787b74e79d7418e8ad591a201ab | [
"MIT"
] | permissive | pkgspell/gistr | 9afa1dbb0f896d88a6581bbbf8c268f30806e168 | 5f14ded84d69762c010ebe2420eaeed29b24437b | refs/heads/master | 2020-05-22T18:30:02.919074 | 2017-03-11T16:48:53 | 2017-03-11T16:48:53 | 84,714,215 | 0 | 0 | null | 2017-03-12T09:25:57 | 2017-03-12T09:25:57 | null | UTF-8 | R | false | false | 1,498 | r | star.R | #' Star a gist
#'
#' @export
#' @param gist A gist object or something that can be coerced to a gist object.
#' @template all
#' @return A message, and a gist object, the same one input to the function.
#' @examples \dontrun{
#' id <- '7ddb9810fc99c84c65ec'
#' gist(id) %>% star()
#' gist(id) %>% star_check()
#' gist(id... |
62316f66af0c2f858a9dc023e6242ad0b249f46c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mazeinda/examples/test_associations.Rd.R | 3f0866e5db3e7252ca1e35438e20cd804a69f686 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 525 | r | test_associations.Rd.R | library(mazeinda)
### Name: test_associations
### Title: test_associations
### Aliases: test_associations
### ** Examples
v1=c(0,0,10,0,0,12,2,1,0,0,0,0,0,1)
v2=c(0,1,1,0,0,0,1,1,64,3,4,2,32,0)
test_associations(v1,v2)
m1=matrix(c(0,0,10,0,0,12,2,1,0,0,0,0,0,1,1,64,3,4,2,32,0,0,43,54,3,0,0,3,20,1),6)
test_associati... |
fa8ebc3660bb0821dfa32fea0a42ea76937f82af | 2cdc493dfd603c85b5836714be598eabf228bcca | /Sensor_Workflows/mergingGPSdata.R | 8671e4acd8cef6aefa1f6ce964f58a89cd3160af | [] | no_license | Kriddie/Ecuador | 988df69016c80ebfb960d74bbf6b6169e92ba996 | f7e0920c04c22b499cfa500555769b225f524a6c | refs/heads/master | 2020-07-03T19:18:24.338415 | 2019-08-06T14:12:12 | 2019-08-06T14:12:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,311 | r | mergingGPSdata.R | #install.packages("tmaptools")
#install.packages("here")
library(tmaptools)
library(ggplot2)
library(here)
library(dplyr)
#Howdy parnters. Let's use this space to put some GPs points together and make them look #coolll
#First I need to make a new column in all of the files that have the proper attritbution
#let's ... |
28e17ef7338ea5ab8c8fb5370a0730c7744cbbcd | 9969b02c26fa5388ac971b8212c761c6abf98efb | /man/backEnhFit.Rd | 2ec27df4de624760636c03732b5532dc9a145c64 | [] | no_license | tmcd82070/CAMP_RST | 0cccd7d20c8c72d45fca31833c78cd2829afc169 | eca3e894c19936edb26575aca125e795ab21d99f | refs/heads/master | 2022-05-10T13:33:20.464702 | 2022-04-05T21:05:35 | 2022-04-05T21:05:35 | 10,950,738 | 0 | 0 | null | 2017-05-19T20:42:56 | 2013-06-25T21:24:52 | R | UTF-8 | R | false | true | 5,023 | rd | backEnhFit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/backEnhFit.r
\name{backEnhFit}
\alias{backEnhFit}
\title{backEnhFit}
\usage{
backEnhFit(
tmp.df,
df,
initialVars,
possibleVars,
m.i,
eff.ind.inside,
max.df.spline,
eff.inside.dates,
trap,
model.info,
fits,
plot.file,
... |
912c688e1e1549dce7696567f989ac47a62bd41a | 44cbfd997078881f1e4b6adb5076f26bb84ec56f | /in-situ_comparison/compare_function.r | cceec759145499edb5b85df828e00404493da2ba | [] | no_license | Spamiad/HYDRAS | 6a85ce9fc3f2b861b229ba6a2e8ac208621594a0 | f475628bebea66139b238459998d5a1755f79c6e | refs/heads/master | 2020-04-16T06:13:32.343689 | 2015-09-19T12:49:38 | 2015-09-19T12:49:38 | 30,418,642 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,192 | r | compare_function.r |
# read clm netcdf output streams
read_clm = function(ncdf_dir) {
files = list.files(ncdf_dir,"t2.clm2.h1.*", full.names = TRUE)
r = stack(files)
}
read_clmpix = function(r,latlon) {
result = extract(r, latlon)
result = result[1,]
from = as.Date("2000-01-01")
to = as.Date("2007-04-23... |
282d85bf34c6516538d2cb6b28a36226532202ac | 5ae342134b85d1b7a0059ce8695a6836d17f5a12 | /deconv_5cell/causal_5cell_step1.R | 0731aa50cfe7f9cd118aeb9c8d85d1eda9f1480b | [] | no_license | wenrurumon/non_negative_attribution_model | 15d5e5b6b54b64cce0942e58c73fc653a37dd607 | 37780b43187697d0ec2f572796c8b91ebcef77f2 | refs/heads/master | 2020-06-17T14:10:17.332642 | 2019-10-28T10:10:35 | 2019-10-28T10:10:35 | 74,996,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,324 | r | causal_5cell_step1.R | ##############################
# Data Processing
##############################
rm(list=ls())
args <- as.numeric(commandArgs(trailingOnly=TRUE))
if(length(args)==0){args <- 1}
library(assist)
library(dHSIC)
library(fANCOVA)
library(psych)
library(bnlearn)
library(infotheo)
library(descr)
load("gene39761.rda")
rownam... |
caf479c91c8f020cc6b64a121f57d72f04ef109f | 0fd0fb1ada1b966357fe55bfab6540fc7358b62a | /R/is_even.R | 6b416621fe89a366270411db5ca5fda6424c8de6 | [
"MIT"
] | permissive | nelsonroque/ruf | f1f8598964ade0085ad9ecc77b92b99a4c544a4a | dbf86c97ce5ad03e417cd379c47a410c4dbd0566 | refs/heads/master | 2021-06-26T18:31:48.057608 | 2021-02-28T14:04:12 | 2021-02-28T14:04:12 | 206,207,103 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 150 | r | is_even.R | #' ruf
#' @name is_even
#' @param x class:numeric
#' @import tidyverse
#' @examples
#' is_even(x)
#' @export
is_even <- function(x) {
x %% 2 == 0
} |
47da6f1b8b361af6ae384d7b64ee40996a2a4ebf | dda4da8dd129c29db39e3524a131a0c09ba5d030 | /man/calc_pvals.Rd | 1b2ceef00789ea066d2eaab4a8fdc0d43723ff13 | [] | no_license | Euphrasiologist/VCVglmm | 86c7c6bb5f3528724ab8d7bdd0c60b2a1c0d0a66 | 799eb4cb8759d40c9603a86eb73a96aee835b4e6 | refs/heads/master | 2020-06-09T20:19:54.656186 | 2020-06-03T13:33:18 | 2020-06-03T13:33:18 | 193,499,740 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,277 | rd | calc_pvals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calc_pvals.R
\name{calc_pvals}
\alias{calc_pvals}
\title{Calculating p-values for the lme4 Gaussian mixed model.}
\usage{
calc_pvals(lmermod)
}
\arguments{
\item{lmermod}{model of class lmerMod}
}
\description{
P-values are not reported for t... |
b8f40d609ba05b651a39cbda3f734b1f1bc32a8f | 959d194222c345f792db3ab838ce65dd2ba2c6af | /man/regressIntensity.Rd | 35871ea1de47f3cd87a2d336a63aa13dba6a0bf1 | [] | no_license | crukci-bioinformatics/qPLEXanalyzer | c5dc6275ad6bd8ce3fbb7ec94d343be633073a3c | 9780505602b31e30ee4c3c5972fecf4a35058415 | refs/heads/master | 2023-04-29T23:57:22.170033 | 2023-04-17T10:59:32 | 2023-04-17T10:59:32 | 130,681,325 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,041 | rd | regressIntensity.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/regressIntensity.R
\name{regressIntensity}
\alias{regressIntensity}
\title{Regression based analysis}
\usage{
regressIntensity(MSnSetObj, ProteinId, controlInd = NULL, plot = TRUE)
}
\arguments{
\item{MSnSetObj}{MSnSet; an object of class MSn... |
d8a47ad8552cd95855348c108f94e6fcd981fa2b | 98ec6fa1d6dae1d0ea05a3df13050154b12b327a | /src/flow-edges/gephi/data/rank/rank.r | 53ab41f90b67a8ece316f309039fd5617b769270 | [] | no_license | flyeven/lattesGephi | 3472c93c56da58e26a1540b889d5a8a92980d182 | 010919e39ca49504af16b1d19789765e6d049cf4 | refs/heads/master | 2021-01-22T10:25:26.571588 | 2015-07-11T00:22:50 | 2015-07-11T00:22:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 554 | r | rank.r | rank <- read.csv("~/Documents/code/github/lucachaves/lattesGephi/src/flow-edges/gephi/data/rank/rank.csv")
# http://flowingdata.com/2010/02/11/an-easy-way-to-make-a-treemap/
# library(portfolio)
# map.market(id=rank$id,area=rank$grau,group=rank$group,color=rank$colour)
# https://github.com/mtennekes/treemap
# http://... |
96dea306b575b015db0ec66fa560a770628355fa | 170caf49bc5cc99db5db9833fac8db34deb5631a | /funnelPlot.R | 0fd99559762f2b024357143738a5d4655f56bd80 | [] | no_license | SeunTo/aos | 51970b713a6e3dc58356b974f6fe0fa3a05c71ce | 87860320eea5eba546346b54e07547b2310c8772 | refs/heads/master | 2020-12-20T20:44:01.308975 | 2020-06-03T11:00:35 | 2020-06-03T11:00:35 | 236,205,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,070 | r | funnelPlot.R | #A
library(readxl)
library(dplyr)
library(forcats)
setwd("C:/Users/u1552345/Dropbox/Ecology Analysis/Ecology_Analysis")
PWB <- read_excel("popWB.xlsx")
F4Funnel <- Grp %>%
left_join(PWB, by = "Countries")
FinalFinal <- F4Funnel %>%
left_join(Cat25, by = "Countries")
FinalFinal$Catastrophic10 <- as.... |
e394e9db49b8a6b36f92fd4730c18afe4934d0b7 | f3a5b85ba4e40e271904ea05b033f4731b3f0c0b | /Model/Others/CV/cv_xgboost_03.R | e68b822d5c7b3c1559028e4322fd15ec48b31dbc | [] | no_license | vikasnitk85/RossmannStoreSales | d8dfebe449465470caa1299e0562ad3e22989b85 | a6fa5b4d40877cbb10d850f4fd13bcacb02791a0 | refs/heads/master | 2021-04-12T08:09:27.886348 | 2017-06-16T07:07:05 | 2017-06-16T07:07:05 | 94,515,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,284 | r | cv_xgboost_03.R | #----------------------------------------------------------------
# Environment Set-up
#----------------------------------------------------------------
rm(list=ls(all=TRUE))
gc()
options(scipen=999)
# Link DropBox
# library(RStudioAMI)
# linkDropbox()
# install.packages(c("xgboost", "forecast", "doSNOW"))
# library(... |
5d0d3eb4e1ef429e6f650746cb4594603f4d86f3 | b643e2a6c4eb2cfc314ba48629fe4b0f9917b338 | /cachematrix.R | 573d14ffddefbef265251c75e07cf795f917714c | [] | no_license | jabled/ProgrammingAssignment2 | 29825337c441e8dbd17002c59aed062b7fcfbe55 | a48bdbc2f2a1d337561fcdefa2d073dfc970084f | refs/heads/master | 2020-12-28T00:02:10.346214 | 2015-04-26T23:26:08 | 2015-04-26T23:26:08 | 34,629,293 | 0 | 0 | null | 2015-04-26T20:11:58 | 2015-04-26T20:11:57 | null | UTF-8 | R | false | false | 1,547 | r | cachematrix.R |
## Create the makeCacheMatrix matrix function, which creates a set
## of stepped functions for the cacheSolve function to use
## functions create matrix, get matrix value, invert and store value,
## then get inverted value from cache and return value to working environment
# create the cache matrix function
makeCache... |
62edebb6b00527521f8560a69a14d88b2d66608b | c61b367db07762465c749e85ed0c933a0d2e9f5d | /Code/plot_brain_samples_staining_res.R | 000bd92068696ad1a78a6ffb7461c647f7e56480 | [] | no_license | lizhu06/TILsComparison_PBTvsMET | 08880f46b9d1a42e3f9b8e841a0edc35fd00386e | 5adec0fc526a3025ccbcd99ea34d40b3c56055ba | refs/heads/master | 2020-06-02T05:54:49.924270 | 2019-06-09T22:45:08 | 2019-06-09T22:45:08 | 191,060,883 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,242 | r | plot_brain_samples_staining_res.R | rm(list=ls())
options(stringsAsFactors = FALSE)
setwd("/net/wong05/home/liz86/Steffi/primary_vs_mets/")
library(ggplot2)
library(reshape2)
res <- read.csv("Results_v2/RawData_BrainMets_8.13.18.csv")
res <- res[1:51,1:11]
pri_id <- c("BP52", "BP72", "BP71")
mets_id <- c("BM52", "BM72", "BM71")
pair_id <- c("BP/BM52", ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.