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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f72982c7600c2575ff701726b0318a85f4e912a0 | 1f27ad535035612c2731e95cbca8e86b43e043c1 | /R/inla.climate.mu.R | 62a0d0f39f95d29aba8e32bed3804d6b83c82f4f | [] | no_license | eirikmn/INLA.climate | 8417e699d97b24b4d408174c03b8a6896e30d9ee | c467e6e2f9fd2e4341cbc1bf15b9629b82eb7089 | refs/heads/master | 2023-02-08T15:06:14.385088 | 2023-01-27T09:52:09 | 2023-01-27T09:52:09 | 168,170,133 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,780 | r | inla.climate.mu.R | inla.climate.mu = function(result,forcing,quick=FALSE,T0.corr=NULL,nsamples=100000,seed=1234,
print.progress=FALSE,model="fgn"){
catch = tryCatch(attachNamespace("INLA"),error=function(x){})
if(length(find.package("INLA",quiet=TRUE))==0){
stop("This function requires INLA. Please ins... |
29fdf7e79eaf0a213695cda48b17c7f8889fd820 | dc681828c7f3845280e7585574ed376d56b77138 | /CAVIAR/ecaviar_eqtl.R | 868a4217ce826ff8ae3867464eb7a32ca28187bc | [] | no_license | egeoffroy/Advanced_BIOI_Final | 111d2f1185c7a22deced76322beb06aa3d675993 | a0c57391744b1e442a77bbd9c8714c49261f104c | refs/heads/master | 2021-04-11T17:31:50.819852 | 2020-04-07T15:51:40 | 2020-04-07T15:51:40 | 249,040,864 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | ecaviar_eqtl.R | library(dplyr)
library(data.table)
eqtl <- fread('coloc/Sig_Height_eQTL_YRI_Height.txt.gz', header = T, stringsAsFactors=F)
eqtl <- unique(eqtl)
for(i in c(1:22)){
snps_1 <- fread(paste('snps_', i, '.txt', sep = ''), header = F, stringsAsFactors=F)
eqtl1 <- eqtl %>% filter(eqtl$variant_id %in% snps_1$V1)
eqtl1$Z... |
664b83c9e5f1fc72348f09305748796f68dbf7bd | e45c6f36a065b6a44e873a773428105de4d3758e | /r-package/R/metadata.R | 59eebcd5b5f53aaf5f0e076c857b529d9e04c267 | [
"MIT"
] | permissive | basedosdados/mais | 080cef1de14376699ef65ba71297e40784410f12 | 2836c8cfad11c27191f7a8aca5ca26b94808c1da | refs/heads/master | 2023-09-05T20:55:27.351309 | 2023-09-02T03:21:02 | 2023-09-02T03:21:02 | 294,702,369 | 376 | 98 | MIT | 2023-08-30T21:17:28 | 2020-09-11T13:26:45 | SQL | UTF-8 | R | false | false | 4,508 | r | metadata.R | #' Search for a dataset by keyword
#' @param search_term keyword for search
#'
#' @return A tibble with search results
#'
#' @importFrom purrr map_chr pluck
#' @importFrom stringr str_replace_all
#' @importFrom rlang .data
#'
#' @export
#' @examples
#'
#' \dontrun{
#'
#' dataset_search("agua")
#' dataset_search("educaç... |
e61ba698430e0ccb002ad62814b43e20db085d74 | 9a9bdabe6174b493c712e3a9d3a9a00b3ec1027e | /man/make_dada2_fasta_name.Rd | b391ba1ca0ff4a637fd129a6597a889acfc9d278 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | griffinp/metabarcodedb | 51383f41880280b060affde8b9203bdc6fe82bd3 | a42f16b59d7575051a2a7d060428e41b008cde6f | refs/heads/master | 2021-01-01T15:37:09.011794 | 2017-07-21T02:44:06 | 2017-07-21T02:44:06 | 97,654,579 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 732 | rd | make_dada2_fasta_name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/file_naming_functions.R
\name{make_dada2_fasta_name}
\alias{make_dada2_fasta_name}
\title{make_dada2_fasta_name}
\usage{
make_dada2_fasta_name(taxon, directory, suffix = "_dada2.fasta")
}
\arguments{
\item{taxon}{taxon name (character string)... |
6211daaaeb6b8bcc51272211c8b5dbc20b6ed60d | c2a3647efa1093e8a8d72b8ec65f2ead24060336 | /R/TargetExperimentList-initialize.R | b201f049c6d7d7cbfd26933a055421e2c8973fcb | [] | no_license | gamerino/TarSeqQC | 2363d1ffe1dadcc6f14e552840f90fd79b4a1a30 | ebdf8ca544f5d5073966cf0a16c912ceeac7202b | refs/heads/master | 2021-07-15T03:28:58.735473 | 2020-01-31T11:24:13 | 2020-01-31T11:24:13 | 101,313,918 | 1 | 0 | null | 2017-08-24T16:06:36 | 2017-08-24T16:06:36 | null | UTF-8 | R | false | false | 5,052 | r | TargetExperimentList-initialize.R | #'TargetExperimentList object constructor.
#'
#'\code{initialize} creates the TargetExperimentList object containing the
#'experiment results of several targeted sequencing experiments carried out
#'using a unique bed file.
#'
#'@param .Object TargetExperimentList class.
#'@param TEList List containing all the TargetE... |
914df6163bf8b22153399f3df8779981089b6d45 | 1313b6a881934a32be3bc23ca950da1571373ebd | /Twiitter Activites - Share Price/TimeSeries Analysis.R | 7382718ed5270a216ae713bef719ee16b5028e28 | [
"MIT"
] | permissive | PKarhade/Projects-ML-DL | 1690d789de061d79cabb62e551b4c997b8554188 | 06c71efcaa570925a4aa8c070a9918a31447f730 | refs/heads/master | 2020-04-22T01:02:11.288272 | 2019-04-22T05:40:07 | 2019-04-22T05:40:07 | 170,001,198 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,452 | r | TimeSeries Analysis.R | library(xts)
library(tseries)
library(TSA)
library(forecast)
data1 <- read.zoo(file="C:\\Users\\Srikanth\\Desktop\\old\\Datamining\\MSFT.csv",header=TRUE,format="%m/%d/%Y",sep=",");
index(data1) = as.yearmon(index(data1))
msft = ts(data1$Close,start=start(data1), end=end(data1),frequency = 12)
time_series = msft
#plot ... |
edfd3ede40496dd2c42efb0a50d24e8ba44067e8 | 4d391985cb3d99eb4e0d88f777bf70c4dd8d1327 | /06_0_Load_or_compute_species_files.r | e19d507ff5aeb079749e4c85553468c6fa81872e | [] | no_license | naiamh/Predictor_decomposition | f03c1f21967b0bc21dd09b03398e6198957f0748 | 5f937cd425caeca073aabc0f5d8b322d418b1e54 | refs/heads/master | 2020-12-24T18:03:50.140827 | 2015-06-12T23:30:18 | 2015-06-12T23:30:18 | 37,349,456 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,952 | r | 06_0_Load_or_compute_species_files.r | # Scripts to load in species specific data for plotting trailing and leading
# edges.
# If files are missing, relevant models and projections are run
# The script requires that directories have been defined already, as well as species name
# Load occurrence data. Create if it doesn't exist.
occurData = paste(sp.data... |
ce3a1fb61bf479964f9a075f82d8e3c78a9127e4 | eab78e955aaee69c14d206c8e5bd76cf246a2372 | /man/render.Rd | 68fef8a199e5ffd1b152863250608f081f917370 | [
"MIT"
] | permissive | rstudio/connectapi | 3ad96af4e7935035658bf09aa8082cae4c68ffb5 | 427ac1fe2eb72d45f6048c376ec94b6c545faf8d | refs/heads/main | 2023-08-08T11:55:20.698746 | 2023-07-10T16:36:27 | 2023-07-10T16:36:27 | 167,249,814 | 34 | 17 | NOASSERTION | 2023-08-03T13:26:37 | 2019-01-23T20:32:57 | R | UTF-8 | R | false | true | 843 | rd | render.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/variant.R
\name{get_variant_renderings}
\alias{get_variant_renderings}
\alias{variant_render}
\title{Render a Variant}
\usage{
get_variant_renderings(variant)
variant_render(variant)
}
\arguments{
\item{variant}{An R6 Variant object. As retu... |
745fa4463aea41e478d50cff6d4d65ffc5dc7f80 | cc0b3690ac5af79694ab2d78f4c6780a745d7919 | /R/arc.write.R | 852a4c61da9aec953c0f49298878380f3b685a6b | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | amitgajurel/ArcGIS_R_Bridge_raster | 06aa337d9de7129d262a7b5ab225886c9e25fee9 | 763e8d66ec94dcf6a5394c5e7da7aa57c66346fe | refs/heads/master | 2020-03-22T08:39:34.883102 | 2018-04-30T15:32:16 | 2018-04-30T15:32:16 | 139,781,749 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 533 | r | arc.write.R | #' @export
arc.write <- function(path, data, ...)
{
if (inherits(path, "arc.container"))
path <- path@path
stopifnot(is.character(path))
if (missing(data))
data<-NULL
args <- list(path=path, data=data, ...)
overwrite <- args$overwrite
if (is.null(overwrite))
args$overwrite <- FALS... |
672106ad4efa4409ddf70129c40d4b958d5f0809 | fb56c48278bb20037275d1c1a53b049d4cdf3ae1 | /April_18.R | 3d517f7c2e657e881b2c2e9140fbe8b52cfcfa51 | [] | no_license | rjcmarkelz/rclub | 301306615ecf3852b2dc0b6430ce1b21f3c07c70 | 1d9da7b9c01fb9751407ff01c071ed813f75883a | refs/heads/master | 2021-01-01T19:10:54.366718 | 2016-01-27T01:04:36 | 2016-01-27T01:04:36 | 9,964,173 | 0 | 1 | null | 2016-01-27T01:04:37 | 2013-05-09T17:12:39 | R | UTF-8 | R | false | false | 551 | r | April_18.R | #2013_04_18
#plyr package--- look at hadley
library(plyr)
setwd("~/Documents/Maloof Lab/R_club/plyr-tutorial/examples")
bnames <- read.csv("bnames.csv", stringsAsFactors = FALSE)
head(bnames)
#Proportion of us children that have a name by in the top 100.
head(bnames, n = 100L)
names(bnames)
ddply(bnames, c("name"), su... |
b0fd6a05feb8b3cbabe13b74d87eb7380d862dbb | 9e4df408b72687493cc23144408868a975971f68 | /SMS_r_prog/function/msy_batch.r | 3343bc16a9e9cf0cfb0ece6cc912605bcfa64c45 | [
"MIT"
] | permissive | ices-eg/wg_WGSAM | 7402ed21ae3e4a5437da2a6edf98125d0d0e47a9 | 54181317b0aa2cae2b4815c6d520ece6b3a9f177 | refs/heads/master | 2023-05-12T01:38:30.580056 | 2023-05-04T15:42:28 | 2023-05-04T15:42:28 | 111,518,540 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,209 | r | msy_batch.r |
######### end user options #########
do.HCR.batch<-function(do.simulation=T,read.condense=T,do.plots=T,read.detailed=T,cutof.year.detailed=2006,NewPlot=T,stochastich=T,YieldPerRecruit=T) {
HCR<-new("FLSMS.predict.control")
HCR@years.wsea[1,1]<-min(refYear)
HCR@years.wsea[2,1]<-max(refYear)
HCR@years.weca<-HCR@years.... |
48d835d5ad4f9f2143c5a7338617c3ba8a2cf1e5 | ea5a4eb6717a31b11b78509a672bd6416f825b24 | /assignments/assignment_1/HW1.R | 00fa0e2b40636cd114f6bdccab944cba37a38c2a | [] | no_license | ChaebinIm/MFE_course_financial_time_series_analysis | 5b4d8b110f4ad58a690bd15834a4099042c08494 | 883d706991e47d7c9a00bf171dc0fd46f41ff92c | refs/heads/main | 2023-06-26T12:27:47.390849 | 2021-07-31T12:43:25 | 2021-07-31T12:43:25 | 391,353,382 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,647 | r | HW1.R | ################# Chapter 2 ###########################
# data import
install.packages('readxl')
install.packages("lmtest")
install.packages('fBasics')
install.packages("car")
library(readxl)
library(lmtest)
library(fBasics)
library(car)
setwd('/Users/imchaebin/Desktop/시계열분석/숙제1/data/') # need to be customized
data ... |
977e772f319f861215e016a6f74dfa67d5be837f | f5081a73a7e2cae81e35f9c09f9a4b63d402520c | /GlobalVariable/Variable.r | 60c020bbac93527de9baf1d422b2063d3e38f887 | [] | no_license | Alex-OuYang/FinanceAnalysis | e5099f8b4b6a99671cd1051ee791f37ac2997f18 | f8761c56c084399f5c9891d475f1cf9ab6fc76ef | refs/heads/master | 2023-07-26T02:03:12.335062 | 2021-09-05T14:06:35 | 2021-09-05T14:06:35 | 393,606,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,125 | r | Variable.r | # 清除所有環境變數
rm(list=ls())
# 初始系統編碼
encodingStr="utf-8"
#Sys.setenv(TZ = "Asia/Taipei")
# 設定初始資料夾位置
projectPathStr="C:/Users/alex1/Desktop/FinanceAnalysis"
setwd(projectPathStr)
# 各檔案列表
# 變數
variablestr=paste0(projectPathStr,"/GlobalVariable/Variable.r")
# Func
funcDBSelectstr=paste0(projectPathStr,"/Function/FuncDBS... |
59041dbf13bf24ac64cf4b8d6569cfe16730ffa3 | faaa6f8046404a7e8f616fd0f127441403792b9c | /Extraccion_datos.R | 32d1e9ef6accfe6bf7b9eef4cc60102fa91d6d37 | [
"MIT"
] | permissive | ArrigoCoen/Mexican_vaccination | 577c2b10cfec842c5dd1d16e545216385293f67e | 15d1bd4b68c1597b433693dbcb4a19bb051e75e3 | refs/heads/main | 2023-06-29T17:47:28.005835 | 2021-07-27T14:57:31 | 2021-07-27T14:57:31 | 389,700,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33,418 | r | Extraccion_datos.R | #-------------------------------------------------------------------------#
# #
# NOMBRE DE ARCHIVO #
# #
#---------------... |
ecbf0c82c1f3ef1e1e9c50536c8a60fd013efae9 | 2ca96e9d3d4d595682a06de876a8af59113779ba | /cachematrix.R | 4f2f41d4e90efc3fbe7cd7aa021061a88336e5fd | [] | no_license | JeffreyGonlin/ProgrammingAssignment2 | b6b466f56cca51b79114bfd5715c629201f55047 | 23fcd47f9c1ced6985dbd2c602b760f8db11976d | refs/heads/master | 2021-01-16T18:13:19.747397 | 2016-02-21T12:04:15 | 2016-02-21T12:04:15 | 51,803,404 | 0 | 0 | null | 2016-02-16T02:57:09 | 2016-02-16T02:57:09 | null | UTF-8 | R | false | false | 4,350 | r | cachematrix.R | ## Assignment2:
## Write the following functions:
## 1. makeCacheMatrix:
## This function creates a special "matrix" object that can cache its inverse.
## 2. cacheSolve:
## This function computes the inverse of the special "matrix" returned by makeCacheMatrix above.
## If the inverse has already been... |
1a53edc7c4470fdedec7ee565ef7cb1c0d6c8d2d | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkCListColumnTitlePassive.Rd | e4de273a0c443419b05d88acb76601ad15863640 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 626 | rd | gtkCListColumnTitlePassive.Rd | \alias{gtkCListColumnTitlePassive}
\name{gtkCListColumnTitlePassive}
\title{gtkCListColumnTitlePassive}
\description{
Causes the specified column title button to become passive, i.e., does
not respond to events, such as the user clicking on it.
\strong{WARNING: \code{gtk_clist_column_title_passive} is deprecated and sh... |
733c1b7ad04ba1f653729ef9afeb2c2b7d00bf61 | db17cf7919d13b04253a44c18129a652034b7148 | /tests/testthat/test-integrate_primitive.R | 06f3c93fdb68968796f9bb6bfa12b3503dc21342 | [
"MIT"
] | permissive | hericks/KDE | 6b286619567ee1bf534c6bb5428dfaddc00330fa | 96fe54291e7a3890c41e00a10b5106813403c7c4 | refs/heads/master | 2022-12-03T10:56:02.986745 | 2020-08-21T22:00:24 | 2020-08-21T22:00:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,685 | r | test-integrate_primitive.R | test_that("integrant should be a function",{
not_fun <- "x"
expect_error(integrate_primitive(not_fun, -1, 1))
a_fun <- function(x) x+1
expect_error(integrate_primitive(a_fun, -1, 1), NA)
})
test_that("support should make sense",{
fun <- rectangular$fun
expect_error(integrate... |
e10c548f3c0f19cb7b7863df8679438a4959434a | e3c46e15b16f7097c1839dcea45c4a7834062cc2 | /SVM traincode.R | ec9716d6d88a7a1bab4fe26ee1e49e171b206be2 | [] | no_license | jaychoi4830/SMRIbasemodels | 3ae17ac190d4c04730d56c29e69566c91e1a663d | 15e4323bfea40fa7c32a1cbce88a874ee3161efb | refs/heads/main | 2023-03-27T20:24:41.405988 | 2021-03-25T20:21:41 | 2021-03-25T20:21:41 | 351,565,090 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,437 | r | SVM traincode.R | require('e1071')
require(caret)
require(kernlab)
library(e1071)
library(caret)
library(kernlab)
library(pROC)
##SVM Linear Kernal tuning:
set.seed(00100)
linear.tune <- tune.svm(Labels~.,
data = traindt1,
kernel = "linear",
cost = c(0... |
6589dee7ad95c0e7e784fdb4ad092c81b25a711a | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /netrankr/inst/testfiles/checkPairs/libFuzzer_checkPairs/checkPairs_valgrind_files/1612798874-test.R | 0c071e9ed6328f7e845d6af29dbffafec5f5e86a | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 897 | r | 1612798874-test.R | testlist <- list(x = c(NaN, 2.12196353786585e-314, Inf, 1.39068914879695e-309, -5.49817854063981e+303, 2.78542174921362e+180, 6.08113124126605e-13, NaN, -5.82900682303162e+303, 3.24244610965235e-05, -1.27733779809297e+294, 1.08435642727488e-311, NaN, NaN, 9.56817916472489e-303, NaN, 2.12196366434665e-314, NaN, NaN,... |
72ad34d0184f48a14555a84223f27d462f526d1e | abc067dec9d3193de799af17da412abc2c4346ed | /plot1.R | a7301e8f55d763b748502d1529e5bfe8773772aa | [] | no_license | hungerpangg/Exploratory_Data_Analysis_Project1 | d555554c2448b41924948f74a0e7388ca82cf798 | adec65930c17796819fb17e6b987cba7a137c4b8 | refs/heads/master | 2022-12-02T15:44:52.171704 | 2020-08-12T16:56:47 | 2020-08-12T16:56:47 | 287,066,972 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 714 | r | plot1.R | hpc <- read.table("household_power_consumption.txt", sep = ";", header = TRUE, na.strings = "?")
#1
#hpc <- hpc[complete.cases(hpc),]
hpc$Date <- as.Date(hpc$Date, format = "%d/%m/%Y")
hpc2 <- subset(hpc, Date == "2007-02-01" | Date == "2007-02-02")
hist(hpc2$Global_active_power, col = "red", main = "Global A... |
320edc6dec7c2f2da9c906211bf70d59d3151374 | fca927c08250034c15f3dd3c55251c9f7d48d00a | /pkg/man/shiny.app.Rd | fc5ff0a0e6e8607615be547253ef083352774e32 | [] | no_license | rn1x0n/SwissMortgage | a773b9216d251d994ce08ba8a66ab5308e698663 | 4042797aa95a843020416bdaa19d6f057dd5654c | refs/heads/master | 2021-01-13T01:57:52.629092 | 2013-06-10T20:37:10 | 2013-06-10T20:37:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 314 | rd | shiny.app.Rd | \name{shiny.app}
\alias{shiny.app}
\title{Run Shiny application}
\usage{
shiny.app()
}
\description{
Runs a Swiss Mortgage Calculator Shiny application. This
function normally does not return; interrupt R to stop
the application (usually by pressing Ctrl+C or Esc).
}
\examples{
\dontrun{
shiny.app()
}
}
|
970dc404183241b97fdf6a192022b72f1fe7ea3c | 2e6d94697d4349c2b9f4569acc70d5379fd980d7 | /d_prepareBase.R | 57461bb77a3e0050fd5b3007efae15dfebc904af | [] | no_license | plusy/TitanicLearningR | d5ea50f34cb190376cf7f5e2f10ff6612fae1fdf | 18480b9ce50307b660e9c5605df79976f13fb9b4 | refs/heads/master | 2022-02-26T05:57:45.266933 | 2019-07-29T04:41:53 | 2019-07-29T04:41:53 | 107,499,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,083 | r | d_prepareBase.R | .VAR_BEFORE <- ls()
# Descritpion from https://github.com/IamGianluca/titanic
# This is an analysis based on the data made available by Kaggle
# (www.kaggle.com) on the Titanic distaster competition. This work aims to
# predict what sorts of people were more likely to survive.
#
# On the folder text you can find the ... |
c627f8034d6d30a396bb9e9d45aef6fecb44d0cc | 92b0b62ce2a42cf733f3c564d2a7306a86662ba7 | /plot2.r | c693d36e13491f66475293da97bf18093e343c6c | [] | no_license | naboldyrev/EDA | 1b2c9d3f4a4485d236f7496c1e53a46560133207 | 9250f4b5378b32c99736161ef0b574993024d7b1 | refs/heads/master | 2021-01-22T08:06:55.770065 | 2016-09-19T09:34:26 | 2016-09-19T09:34:26 | 68,553,982 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,467 | r | plot2.r | #column types
colClss <- c("character", "character", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric")
#reading the data directly from the host, interpreting '?' as Na's
zip_file <- paste0(getwd(), '/household_power_consumption.zip')
download.file("https://d396qusza40orc.cloudfront.... |
e7266be4c8c6d40ae8f33ce20202d90fed888562 | 7ec0c3344e1bffcaa1c7e7380b0618c6995c73ac | /scripts/08_compile-HTML.r | 609d327a0319c6df627234a02ff5aee213917f91 | [] | no_license | jennybc/vanNH | 03afe89da5ff6315727b6cf692076d5ae13b7794 | 52d4c2302fd17cddc944402738ef5d781a1ab204 | refs/heads/master | 2020-06-02T06:25:45.305171 | 2015-06-09T06:34:45 | 2015-06-09T06:34:45 | 18,771,831 | 2 | 1 | null | 2014-04-16T06:30:54 | 2014-04-14T18:36:08 | Python | UTF-8 | R | false | false | 1,976 | r | 08_compile-HTML.r | #!/usr/bin/Rscript
## this script has two purposes
## 1 command line argument processing -- specifically getting the game
## 2 knitting vanNH-nowPlaying.rmd to HTML
## note that purpose #2 can be achieved through a target like this in a Makefile:
# web: vanNH-nowPlaying.rmd
# Rscript -e "library(knitr); knit2h... |
9066a8db9d90ecacb4a04553cc4574a4faaa1e15 | 65553a50702fb30c40ec78f75ec305a8fab298f8 | /R/getNeighborhood.R | 9e588fff07fc150e52948f4fb4f5d42ff86b062d | [] | no_license | lzcyzm/Guitar | e22f1b9a34952b48b219a5bfcb8a91a9d1283408 | cb1e1146c86ce8cf9caff505d1b22dca2bc37a3e | refs/heads/master | 2021-01-10T07:42:46.819016 | 2015-10-22T02:55:25 | 2015-10-22T02:55:25 | 44,791,600 | 1 | 0 | null | 2015-10-23T04:54:56 | 2015-10-23T04:54:56 | null | UTF-8 | R | false | false | 1,536 | r | getNeighborhood.R |
getNeighborhood <- function(comp, side=5, Width=1000) {
# transcript info
tx_name <- names(comp)
granges <- unlist(comp)
tx <- granges[tx_name]
strand <- as.character(as.data.frame(strand(tx))[[1]])
chr <- as.character(as.data.frame(seqnames(tx))[[1]])
if (side == 5) {
checkpoints <- rep(1,length... |
965d40f66cb6bacb0e24e09bac1e62d061321e78 | d165abb74a6c882f89cbacc021ae78da018ea38f | /plot_MAF.R | e09d9c183a14c0815531362167fd8e977e1d8c28 | [] | no_license | bkiranmayee/Scripts | 4fec4f2620b6f86bddb618812e169fa77c9c1c90 | 03c2169956fabc154d9f2d976a76aa5344b56137 | refs/heads/master | 2020-04-25T17:48:21.074457 | 2019-04-17T16:27:22 | 2019-04-17T16:27:22 | 172,961,784 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,029 | r | plot_MAF.R | #!/usr/bin/env Rscript
#Date:June 8 2018
#Author:Kiranmayee Bakshy
# A program to plot densities of MAF/fraction missing per variant of 2 datasets (designed for plink output files like file.frq and file.lmiss)
# The input and output files have to be passed as arguments to this program
# Input = 2 stat files and output... |
f2cfcbe3b71cff17006ec8d6835ab7a8deb873dd | 9dc3d2ba0bc6ee5cea5b9d1ea1d4ca9296acf103 | /pract_5.R | aa7a6a4f2f58dca8ee28fdf62235e7a124977bb3 | [] | no_license | purva-d/SNA | b043e272c7e4c22d92c67ce2c6f35668babc7f7b | f1ec545ce14504139f672ce2acf339ff93c5038c | refs/heads/master | 2022-12-28T02:51:23.765426 | 2020-10-15T17:51:25 | 2020-10-15T17:51:25 | 290,763,545 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 326 | r | pract_5.R | ##A network as a graph
library(igraph)
ng<-graph.formula(Garth-+Angela,Bill-+Elena,
Elena++Frank,Carol-+Andy,Carol-+Elena,Carol++Dan,
Carol++Bill,Dan++Bill,
Elena-+Daphne,Daphne++Garth)
plot(ng)
##A network as a matrix
get.adjacency(ng)
##A network as an edge list
... |
6a16c074e2f3d819993babe89845e117279dfb6b | dc35bc08b2d9eebf783d0a1445d3120b8d83494d | /man/annotate_df.Rd | c4d904d5030afa427f0afd5f29fd2c6dbb7c7d98 | [
"MIT"
] | permissive | hbc/CHBUtils | c83272fd84922fc6fa7e5d34e42b2199552afd5c | a226ceeced2353ee2c7ba2eb22f52bf90c023898 | refs/heads/master | 2021-01-15T15:27:14.308614 | 2017-10-26T18:01:19 | 2017-10-26T18:01:19 | 14,430,820 | 2 | 5 | null | 2017-10-26T18:01:20 | 2013-11-15T17:35:32 | R | UTF-8 | R | false | true | 1,128 | rd | annotate_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/annotate_df.R
\name{annotate_df}
\alias{annotate_df}
\title{Annotate Dataframe containing Ensembl IDs with Gene Symbols and Descriptions}
\usage{
annotate_df(df, df_ensemblid_header, biomart_ensembl_dataset,
biomart_ensemblid_filter, biomar... |
9327d57159b7f33f7336c222e1aaa470ce2d5f2d | 616f19c9ecab3330a70d7378f5f73bbbc84ee071 | /cpp/ctrlbars/ctlbmac.r | e688d65bd72a8c908917deee76f0c2c4966c0797 | [] | no_license | rjking58/development | 07dd809da012f736d82fde79c051cc2df328e6b7 | 9566648c6ecfc8b8cb6d166912dd674346da246b | refs/heads/master | 2021-10-11T12:25:31.025767 | 2021-10-01T16:41:06 | 2021-10-01T16:41:06 | 14,648,819 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,174 | r | ctlbmac.r | #include "mrc\types.r"
#include "mrc\balloons.r"
#include "resource.h"
#include "systypes.r"
/////////////////////////////////////////////////////////////////////////
// WLM resources
#include "ftab.r"
/////////////////////////////////////////////////////////////////////////
// MFC resources
#incl... |
43c95a99331a5fb54d504a2d377c7a26ca78e983 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610125576-test.R | a21db92b3fd58fd2d3dce1d4b80e0b53990f6b67 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | r | 1610125576-test.R | testlist <- list(rates = numeric(0), thresholds = c(4.48309464024909e-120, 4.48309464024909e-120, 4.48309464024909e-120, 1.3906710913539e-309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = 5.0758836746313e-116)
result <- do.call(grattan::IncomeTax,testlist)
str(result) |
826dffb2754a71403f8bdd1b8328e24b2cac2ca2 | bdda050a3713f1ac5b996c2f5c600daecbad920b | /man/convertFlowFrame.Rd | b96b47452f92bdc58690b1a33259fbb983ace2d6 | [
"MIT"
] | permissive | astrolabediagnostics/orloj | dd466acb293447b33426a22766770323b50fee99 | f24b7ef7710e4ba3adaf0d615238bfcd8fe46380 | refs/heads/master | 2021-06-04T16:20:04.772433 | 2021-05-19T14:14:23 | 2021-05-19T14:14:23 | 110,556,030 | 5 | 3 | MIT | 2020-08-09T14:17:33 | 2017-11-13T14:07:22 | R | UTF-8 | R | false | true | 892 | rd | convertFlowFrame.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fcs.R
\name{convertFlowFrame}
\alias{convertFlowFrame}
\title{Convert a FlowCore flow_frame to Astrolabe sample.}
\usage{
convertFlowFrame(experiment, filename, flow_frame)
}
\arguments{
\item{experiment}{An Astrolabe experiment.}
\item{file... |
1252907dc008f1f69d546b324a97245af4263fdf | b28f74d681bb5dfbf34549c82a8c932f77c1b0a8 | /man/aggrNums.Rd | c23fe3d05194b0f0f06d74ee179a2a38072175cd | [
"MIT"
] | permissive | sailfish009/proteoQ | b07e179e9fe27a90fd76cde2ed7caa55e793e9d6 | e6a4fe79a21f9a9106a35d78c2ce42d59e9d82e2 | refs/heads/master | 2022-12-25T20:06:40.340740 | 2020-10-15T20:18:14 | 2020-10-15T20:18:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 477 | rd | aggrNums.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{aggrNums}
\alias{aggrNums}
\title{Summarizes numeric values}
\usage{
aggrNums(f)
}
\arguments{
\item{f}{A function for data summarization.}
}
\description{
\code{aggrNums} summarizes \code{log2FC} and \code{intensity} by the
des... |
ad38a2611a9311087731b87532e364dbe1b1bf8a | 9cf86927ef16f81fb62f9661134a3fc82fe34a00 | /Scripts/Script3.R | e7cccd972e5c19a926555b2876bfd1cc99070dc6 | [] | no_license | esorolla/RepData_PeerAssessment1 | 97e14d70a90b2cc404323967482099b6a491388d | 53436253f7633804ddab5faf88c9f9fea6f9349e | refs/heads/master | 2022-11-24T04:31:21.973535 | 2020-07-15T19:09:09 | 2020-07-15T19:09:09 | 279,573,724 | 0 | 0 | null | 2020-07-14T12:04:08 | 2020-07-14T12:04:08 | null | UTF-8 | R | false | false | 533 | r | Script3.R | ## We aggregate (or group by) the minute intervals of the data set and we
## evaluate the mean value across the days:
timeSeries <- aggregate(data$steps, by=list(interval = data$interval), FUN=mean)
## We plot the requested time series:
plot(timeSeries$interval, timeSeries$x, type = "l", xlab = "interval (minutes)", ... |
28dd600753a2fa036e271b998dae55f8b11c846e | 902037115141ead7b315e7b63e437ec61c01c2c1 | /R/removeRedundancy.R | e1b922594b612c39c210be9e905d21de092ecfcd | [] | no_license | cran/scrime | 4bdc7e989ba9e648d004ca47cd2d10bb5e78a717 | cf0033dbfe2a6fa807593a460ef4bcb0931db96a | refs/heads/master | 2021-06-02T21:50:17.706604 | 2018-12-01T10:00:03 | 2018-12-01T10:00:03 | 17,699,500 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 173 | r | removeRedundancy.R | `removeRedundancy` <-
function(mat,vec.ia,red=0){
mat<-as.data.frame(mat)
for(i in 1:length(vec.ia))
vec.ia[i]<-evalRedundancy(mat,vec.ia[i],red=red)
vec.ia
}
|
df173cc54b9aa3b513727951cf7ac289b14ce2d0 | 073e4e7c9c2f4822e798f4a56e4ff90b11b5a85c | /Code/baseline_binary_comparison.R | 04515bd098f1c40030758334f35dbfd3399a935d | [] | no_license | peteryzheng/RET_ACCESS | 2cff82bd261beff926affd24798ac02ef2b8775a | ac4e3544d85c90ef723aa3dc433d468515020133 | refs/heads/master | 2022-12-13T08:56:32.229201 | 2020-08-06T04:19:45 | 2020-08-06T04:19:45 | 285,464,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,547 | r | baseline_binary_comparison.R | library(data.table)
library(tidyverse)
baseline.sample.pairs = fread('/ifs/work/bergerm1/zhengy1/RET_all/Sample_mapping/baseline_pairs_121519.tsv')
# pull data for both samples
# DMP.maf <- fread('/ifs/work/bergerm1/zhengy1/dmp/mskimpact/data_mutations_extended.txt') %>%
# filter(Mutation_Status == 'SOMATIC' & Tu... |
0a04660177a936a99589afe92c00016638c2ebe9 | 3b24d08de0d126d7906c23d6574607ba0dc8281c | /niko.rd | ea1e6cd4278df39755cbde0eeb5b99fcde159c16 | [] | no_license | htbrdd/rdworks-files | de6602f90dcc1933f13f4fc970d5ad5315146569 | af17e751cf3a31b71de4c748fb1cf9d9032d16ef | refs/heads/master | 2021-03-19T08:29:59.037313 | 2018-01-21T01:06:43 | 2018-01-21T01:06:43 | 82,507,071 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 160,874 | rd | niko.rd | ÒúzÒppwwww¹pOµûÇpÙpYÏåûÇp p
BùÐ9¥ïÐI¯»Ð»¥ïÐËÏ»ÄÄIpÛwwww¹p[OµûÇpiwwww¹pëOµûÇÄ«pÝpÝ p]p] zzz üü ü
£1Iã©üüÏùûÙüüü
wwû1ûÙäpép... |
9d0c085dd06d44ef7956465c854333f503837ccd | 27b4436fdbab36fd3d7963df408a2d259e8fd909 | /R/internal.R | 892096df7a8cbba0843c9637ed6b557043cb5ba6 | [] | no_license | dklinges9/mcera5 | 962833c6b208d892ddb7e1ef1f9e80b9b7fa6140 | a37074a74f78439118f90c2ee76ab5bafaf7f2ed | refs/heads/master | 2023-07-23T11:09:26.529124 | 2023-07-10T23:13:41 | 2023-07-10T23:13:41 | 260,175,954 | 10 | 4 | null | 2023-09-05T13:51:41 | 2020-04-30T10:01:45 | R | UTF-8 | R | false | false | 10,960 | r | internal.R | #' function to calculate humidity from dew point temperature
#' @param tdew dewpoint temperature (°C)
#' @param tc air temperature (°C)
#' @param p pressure (Pa)
#' @return specific humidity (Kg/Kg)
#' @noRd
humfromdew <- function(tdew, tc, p) {
pk <- p/1000
ea <- 0.6108 * exp(17.27 * tdew / (tdew + 237.3))
e0 <-... |
84f913d72932cb7c68f4a52a5f108b378f83311e | 4846b5b3748b6724d7c379dae7572e9fa90a798d | /man/bindingContextDistanceCapR.Rd | 32e76b560b88caa21093e6b8490ca984e8dbb5b3 | [] | no_license | vbusa1/nearBynding | d225bcbdb1541b65c3f01604a1affd8ff51b068a | 9ccf2b0e7fec87c426cf37fe45077d67abef210a | refs/heads/master | 2023-04-07T19:01:47.323219 | 2021-07-30T17:39:58 | 2021-07-30T17:39:58 | 278,680,217 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,491 | rd | bindingContextDistanceCapR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bindingContextDistanceCapR.R
\name{bindingContextDistanceCapR}
\alias{bindingContextDistanceCapR}
\title{bindingContextDistanceCapR}
\usage{
bindingContextDistanceCapR(
dir_stereogene_output = ".",
CapR_prefix = "",
protein_file,
prot... |
3ae1c1d65957cec0ea40ab60337e8d78c379854e | 5f90bac8cc2cf136a3478a2290d9abde7dda745a | /R/normalize.GoldenGate.R | 423ce1d5ae817c4717f6c4d944070d4ce9644460 | [] | no_license | cran/LumiWCluster | 277d23a646575b891d5218a5e69633ff052b50b7 | a1272d73fd1bc89c29da5845d50c7e634b7f4a12 | refs/heads/master | 2020-04-22T03:14:46.756019 | 2010-09-02T00:00:00 | 2010-09-02T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,336 | r | normalize.GoldenGate.R | normalize.GoldenGate <-
function(Probe_ID, beta, det.p.value, design.file, plot.option = FALSE){
if(is.vector(beta) == TRUE) beta <- matrix(beta)
if(is.vector(det.p.value) == TRUE) det.p.value <- matrix(det.p.value)
beta[beta == 0] <- min(beta[ beta > 0],1e-3)/10
beta[beta == 1] <- max(beta[ beta < 1],0.99... |
6e7c1bdba722dd0fdba107c7c52e3f9b9d2f643a | eb46831a43d55a348e29989d827401f2eb49e30a | /liquididtyt.R | 9107a6506d16dfdd5b84a36165aa8a02d04bea65 | [] | no_license | bplloyd/R-risk-mgmt | 32a0315bdd95790acb4c98cc87c52993a1cd8f9a | ad0e0f3596e5588fb4c483486e271fb98ad942cc | refs/heads/master | 2020-12-13T09:19:32.536834 | 2016-08-03T22:08:14 | 2016-08-03T22:08:14 | 49,309,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,386 | r | liquididtyt.R | qry = "WITH
Levels AS
(
select
v.DateReported
, s.Abbreviation 'Name'
, COALESCE(l.Liquidity, 99) 'Level'
, COALESCE(v.MarketValue,0)/a.NetAssets 'Exposure'
from
v_FundSecs_FLASHREPORT AS v
LEFT JOIN v_Assets_UFT AS a ON (v.Fund_UID = a.Fund_UID AND v.DateReported = a.DateReported)
LEFT JOIN HAMF.... |
5418eb7403d03b32b0761206690011f8f14839cb | a70d7e23b94219ac412a38f509e386c0c7a51bfe | /data-raw/app/utils.R | 6b05b24bc580aacf0473f9a4eec6dc6f4f238d61 | [] | no_license | nverno/moosedata | 17a6867b567401972b7e9fb38f06dbca5608a15f | 856482d12b4ac3812454969c28aafe7ae21fe576 | refs/heads/master | 2021-01-10T05:47:56.386212 | 2016-01-31T07:42:18 | 2016-01-31T07:42:18 | 46,290,372 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,053 | r | utils.R | ### utils.R ---
## Filename: utils.R
## Description:
## Author: Noah Peart
## Created: Sat Jan 23 20:37:49 2016 (-0500)
## Last-Updated: Wed Jan 27 23:08:23 2016 (-0500)
## By: Noah Peart
######################################################################
"%||%" <- function(a, b) if (is.null(a)) b else a... |
b675c7e0c35dd6653fa8e0dd11f4ad91c016987e | fe0cd547bd325d0026607421d334b25df2d6b15d | /inst/doc/neasg.R | f15c3da9eeeb6b5a224514e7deb2bc28ccd9c198 | [] | no_license | andrew-loh/neaSG | ee800a4922b4c4c755f62c661f9e560a75ebdaee | 2518b9e21163baef559d45c73cf0ba344bca0ab6 | refs/heads/master | 2020-04-10T01:14:16.113645 | 2018-12-17T00:02:36 | 2018-12-17T00:02:36 | 160,709,884 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,685 | r | neasg.R | ## ----setup, include = FALSE----------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- message=FALSE, warning=FALSE, eval=FALSE---------------------------
# library(devtools)
# install_github("andrew-loh/neaSG", force = TRUE)
## ---- message=FALSE, warning=F... |
12d9d373fd616efe1d442d2a5cda66a26e865eb7 | ee0689132c92cf0ea3e82c65b20f85a2d6127bb8 | /23-functions/47c-apply.R | fb592875fc859fbcc430268254c84ad7f8702158 | [] | no_license | DUanalytics/rAnalytics | f98d34d324e1611c8c0924fbd499a5fdac0e0911 | 07242250a702631c0d6a31d3ad8568daf9256099 | refs/heads/master | 2023-08-08T14:48:13.210501 | 2023-07-30T12:27:26 | 2023-07-30T12:27:26 | 201,704,509 | 203 | 29 | null | null | null | null | UTF-8 | R | false | false | 1,754 | r | 47c-apply.R | # Apply Commands
# apply Functions
# #apply ----
#create matrix####
m1 = matrix(1:10,nrow=5)
m1
# create sample data of Matrix : Use ND data : 3 cols, 30 rows
m2 <- matrix(data=cbind(rnorm(30, 0), rnorm(30, 2), rnorm(30, 5)), nrow=30, ncol=3)
m2
# apply is used for structured data - matrix, dataframe with same numbe... |
1cf7c65b14239d68f7f364c0ae5ec46b6a53be1b | 3d3dca4a42b1777c13108e03ca0e3bfcd9a93205 | /Rfunctions/makeTimeStamp.R | c69635c701fd0057037eac677daef9bf10f14b7a | [] | no_license | BioAimie/AnalyticsWebHub | 90afaaf4abf09ef0799ddaa5bd762233975f2e38 | 4f650049cdbfb2ce41ab072655878a5a7a12d5e7 | refs/heads/master | 2021-03-27T12:31:24.229879 | 2017-07-27T16:50:14 | 2017-07-27T16:50:14 | 74,378,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 467 | r | makeTimeStamp.R | makeTimeStamp <- function(timeStamp = Sys.time(), author=NULL, size = 1, color = 'black')
{
library(grid)
stamp <- ifelse(is.null(author), as.character(timeStamp), paste(timeStamp, paste('Created by', author)))
pushViewport(viewport())
grid.text(label = stamp,
x = unit(1,"npc") - unit(2, "m... |
2cc861d3440267e2c1f46c8d8677e6860fa3bf2b | f36b2ad1dc17ec05278f13c7fa72a1fd8343ee19 | /tests/testthat/test-chk-atomic.R | 45ddbb9d8651545d0f44bc30c4a4adcf6339f69e | [
"MIT"
] | permissive | poissonconsulting/chk | 45f5d81df8a967aad6e148f0bff9a9f5b89a51ac | c2545f04b23e918444d4758e4362d20dfaa8350b | refs/heads/main | 2023-06-14T19:32:17.452025 | 2023-05-27T23:53:25 | 2023-05-27T23:53:25 | 199,894,184 | 43 | 3 | NOASSERTION | 2023-01-05T18:50:23 | 2019-07-31T16:42:59 | R | UTF-8 | R | false | false | 460 | r | test-chk-atomic.R | test_that("vld_atomic", {
expect_true(vld_atomic(1))
expect_true(vld_atomic(matrix(1:3)))
expect_true(vld_atomic(character(0)))
expect_true(vld_atomic(NULL))
expect_false(vld_atomic(list(1)))
})
test_that("chk_atomic", {
expect_identical(chk_atomic(1), 1)
expect_invisible(chk_atomic(1))
expect_chk_erro... |
0812ac11c1576915c4ae79ae5d086ae1d2238cb1 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/AlphaSimR/man/varP.Rd | 89470d2e87c0126dbbe82b5dc190ae6e894eb8a0 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 604 | rd | varP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/popSummary.R
\name{varP}
\alias{varP}
\title{Phenotypic variance}
\usage{
varP(pop)
}
\arguments{
\item{pop}{an object of \code{\link{Pop-class}} or \code{\link{HybridPop-class}}}
}
\description{
Returns phenotypic variance for al... |
d723ee88c075ed21d83f37654885eb727f6f36cf | b47547eae99baa6288cd350d2ef949eaa9faecee | /man/g11_ftest.Rd | 7f489b135b16a5cdf70917e6559d94460edff14a | [] | no_license | gabiitokazu/desperation | a75ed7739b386b02384c1d8f7bc92b6103384f95 | b0957e34661dd476c3702ebf79eac63855196de0 | refs/heads/master | 2023-01-21T08:39:36.094367 | 2020-12-05T05:37:43 | 2020-12-05T05:37:43 | 318,705,585 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,334 | rd | g11_ftest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/g11_ftest.R
\name{g11_ftest}
\alias{g11_ftest}
\title{Linear Model Function for Group11 - AU STAT6210}
\usage{
g11_ftest(response, covariates)
}
\arguments{
\item{response}{A \code{vector} with the values for the dependent variable (also call... |
6e88aaf93c8f8ec2e540e383173ef53e45cc762f | 14f5a7238a5e264a22c59d8864b2084d58b3b29e | /man/columnwise.matrix.norm.Rd | a02d85a3b69d5a7c9630822b24efa2418dd0d4d1 | [] | no_license | dami82/learningMedicine | b3e8dffea4b35e3d94b26e3c8151178c4fb88553 | 25e74bbfd2173da60428ae09ccd9e77b7b4d1553 | refs/heads/master | 2021-01-17T21:01:33.681580 | 2017-11-27T02:32:25 | 2017-11-27T02:32:25 | 84,156,788 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 422 | rd | columnwise.matrix.norm.Rd | \name{columnwise.matrix.norm}
\alias{columnwise.matrix.norm}
\title{Columnwise Matrix Normalization}
\description{Normalize a numeric matrix so that all columns sum up to unity. Requires anumeric matrix as input}
\usage{
columnwise.matrix.norm(mat)
}
\arguments{
\item{mat}{numeric matrix (or numeric data.frame)}
}
\e... |
ad4a172efb65e9c6a927c735c5ab7c61f2f21c56 | df9b866147cb0235af9e5290690fbf15b16d2cfd | /man/getUCSC.Rd | 179d0364b95baea7eb6c354cbb483f2ddb1054f0 | [] | no_license | guldenolgun/NoRCE | d3375f46c5ec3810c9cb3033401472993ec3240b | f1ce050b1771c2eb5f33ddc021cf12bdf509b6f0 | refs/heads/master | 2022-10-28T05:41:19.118562 | 2022-10-20T01:06:28 | 2022-10-20T01:06:28 | 187,480,634 | 1 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,287 | rd | getUCSC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getNearest.R
\name{getUCSC}
\alias{getUCSC}
\title{Get nearest genes for the window of the upstream/downstream region.}
\usage{
getUCSC(
bedfile,
upstream,
downstream,
org_assembly = c("hg19", "hg38", "mm10", "dre10", "rn6", "dm6", "c... |
6f8c27b676cf0e6cdec1a014c41188bf6bbcfe80 | 7b102f9c8f2e3f9240090d1d67af50333a2ba98d | /gbd_2017/nonfatal_code/headache/split/01_childsplit.R | 36e9048182b9756dd68819255416a59699b2b544 | [] | no_license | Nermin-Ghith/ihme-modeling | 9c8ec56b249cb0c417361102724fef1e6e0bcebd | 746ea5fb76a9c049c37a8c15aa089c041a90a6d5 | refs/heads/main | 2023-04-13T00:26:55.363986 | 2020-10-28T19:51:51 | 2020-10-28T19:51:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,184 | r | 01_childsplit.R | ###########################################################
### Author:
### Date: 10/20/17
### Project: Split Migraine into asym/sym
### Purpose: GBD 2017 Nonfatal Estimation
###########################################################
## SET-UP
rm(list=ls())
if (Sys.info()[1] == "Linux"){
j_root <- "/home/j/"
h_... |
ae900237e80ac30fc080bc63c5fd5cedf907893d | 4b5cecbbf56fa2704f2d24c9255adf3dd4df6ff6 | /AppliedDataMining/AppliedDataMining/HW2/2.3/sb41train.R | 934b1aeb29c7e57f86e156edd9ec16cf576ab714 | [] | no_license | keithhickman08/IUH | fa2a8c50eb4ab86f3ea10081a18620e27dc8f021 | 20bc22bdef9523310e1e1b9b6225e6a3eb039d20 | refs/heads/master | 2020-04-02T07:40:22.310044 | 2019-01-04T16:16:45 | 2019-01-04T16:16:45 | 154,208,374 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,528 | r | sb41train.R | #Homework 4
#Problem 4
#Support Vector Machines
??e1071
install.packages("e1071")
library(e1071)
set.seed(1234)
# Creating training and testing data sets: Randomly picking 100 data points from Iris data set
# as training data and the rest of 50 data points will be used as test data.
rndSample <- sample(1:nrow(mydat... |
90601fe939e33a8628f8d1754d8c226914118e84 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /iBATCGH/R/Scenario2.R | f762e6a7bd1e03c7ae818e35921b9df6f39f166f | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,858 | r | Scenario2.R | Scenario2 <-
function(sigmak=0.1){
g=100 #number of gene expression probes
m=1000 # number of CGH probes
s=100 # number of samples
#State specific mean and variance
mu1=-0.65
mu2=0
mu3=0.65
mu4=1.5
mu=c(mu1,mu2,mu3,mu4)
sigma1=0.1
sigma2=0.1
sigma3=0.1
sigma4=0.2
sigma=c(sigma1,sigma2,sigma3,sigma4)
#Gene... |
021b991c29dafc0ba7d9b69d66af463067658f4b | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Letombe/Abduction/aim-50-3_4-yes1-3-90/aim-50-3_4-yes1-3-90.R | 4d5fc2d7dde295bd77f02c07315b1c2b3e197c15 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 628 | r | aim-50-3_4-yes1-3-90.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 696
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 696
c
c Input Parameter (command line, file):
c input filename QBFLIB/Letombe/Abduction/aim-50-3_4-yes1-3-90.qdimacs
c output fi... |
cca35e68bf07c83ddcf6e47e86656e58cb6e502c | 918943c4b8b38bee65be66822ecddb6083220fee | /scripts/geno_annot_to_RDS.R | 71df74219a98a6de0f52869de85f7ec87b40aba9 | [] | no_license | drveera/PredictDBPipeline | ad4c0b8e606069663e7a8c699a6249957eba4c9b | 664c1919e3d865841fa6aaf286bb634a42f4c0d1 | refs/heads/master | 2021-04-12T12:22:56.843820 | 2016-11-08T20:16:50 | 2016-11-08T20:16:50 | 94,552,057 | 1 | 0 | null | 2017-06-16T14:31:25 | 2017-06-16T14:31:25 | null | UTF-8 | R | false | false | 338 | r | geno_annot_to_RDS.R | # Turns the parsed genotype annotation file into an RDS file.
# Run from commandline. First arg is the parsed text file, second is the output file.
argv <- commandArgs(trailingOnly = TRUE)
gene_annot <- read.table(argv[1], stringsAsFactors = FALSE, header = TRUE)
rownames(gene_annot) <- gene_annot$gene_id
saveRDS(gen... |
c3255d748e6b2042d71613d88f00959339a7885c | 420cac816c739b8f6a3581c1628d706f7d398beb | /R/intg1.TMLW.r | 1dab80422aff5f43e6bff536d69a5af294ac94db | [] | no_license | cran/RobustAFT | d80a89efb8ffcc80b604d5959893210aab0ae31b | 357b7400ae0a4d0be157b6a46970eb04d8b9ea51 | refs/heads/master | 2023-08-31T10:42:53.415730 | 2023-08-21T16:40:02 | 2023-08-21T17:30:23 | 17,693,388 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 55 | r | intg1.TMLW.r | intg1.TMLW <-
function(x){ (exp(x)-1)*dlweibul(x)}
|
d30b950d4d81861d7b0f3269e07c32b0f9e3a7c0 | 9bd21f21a7e6150e539072ea8405d3a03b4c54d0 | /R/sappp.R | 73ba8ea871b6a6e934c43920f19f900e7d9e7281 | [] | no_license | lucasnell/sappp | dda9c9d1c21721b872890e6cca6166188eced21b | 10d5df07b38303d6e1839bc035681b61a72a08b5 | refs/heads/master | 2022-03-30T04:22:14.862948 | 2020-01-13T17:41:39 | 2020-01-13T17:41:39 | 100,888,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 252 | r | sappp.R |
#' sappp: Simulating Aphid and Parasitoid Populations... with Predation.
#'
#'
#' @section safepug functions:
#'
#' @importFrom Rcpp evalCpp cpp_object_initializer
#' @useDynLib sappp, .registration = TRUE
#'
#' @docType package
#' @name sappp
NULL
|
7bef2f0d456422234a5caaf54b350dbb9c376ba6 | 4d6eae864f95140e6f605c1886245b2a6e1936f6 | /plot3.R | ab72850ea828456cb858e64180c3faeaa993f2cf | [] | no_license | jarrodshingleton/datasciencecoursera | 24ea504dba86e3d256bafe1785260a5e44b8a448 | dbdbaf0b91f754a9954c306c1fc14c5f0a554c28 | refs/heads/master | 2020-07-11T12:56:47.268226 | 2019-09-16T23:45:57 | 2019-09-16T23:45:57 | 204,545,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,033 | r | plot3.R | library(dplyr)
library(lubridate)
library(tidyr)
par(mfrow=c(1,1))
data1<-read.table('Course4/household_power_consumption.txt', sep=';', header=TRUE)
#2007-02-01 and 2007-02-02
data1$Date<-dmy(data1$Date)
data1<-data1%>%
filter(Date>=as.Date("2007-02-01"))%>%
filter(Date<=as.Date("2007-02-02"))
data1$DateTime<-p... |
7b313fd078eab3632116645e3d88198c6063675c | c6106b0c33904555119fa42477203ad915e5626d | /man/df.Rd | 37048a5ba0d025827e050a0bf7498b97e4414ec9 | [] | no_license | fanymiles/coindesk | ba8d3f0f869319cb8fff28e5d7f09875d437f2bf | 488b9b0cd804368e7e239c89be5b491640e0bad0 | refs/heads/master | 2021-08-30T12:30:30.424211 | 2017-12-18T00:13:56 | 2017-12-18T00:13:56 | 114,314,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 767 | rd | df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{df}
\alias{df}
\title{Bitcoin Price Index presented in CNY from 2017-10-01 to 2017-12-01}
\format{The df data frame contains 62 observations on 1 variable.
\describe{
\item{price}{The Bitcoin Price Index, in CNY}... |
63ac7b982a5787e51135b27f2e7fd87984c99261 | 985217126eedbf793a4a292c488dc6f84096e6ca | /pkg/man/COC.Rd | 7293bb7d598c89ac6d8d76d573251bd5c8f468d8 | [
"MIT"
] | permissive | SNStatComp/GenericValidationRules | fb6bea4c82f604ddd989dc1fe84576fc72377b76 | e80bbf61b067998601c1ed213dde1bc4f5a6b9e1 | refs/heads/master | 2020-06-15T05:47:59.841867 | 2020-06-09T08:19:07 | 2020-06-09T08:19:07 | 195,218,366 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,075 | rd | COC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/COC.R
\name{COC}
\alias{COC}
\title{Code consistency}
\description{
Check that the codes used in fields are consistent with other codes used in
another field of the same record, the same field in different records of the
same file or in diffe... |
e14776f346fbe05c8995a1f408bac1e638300e33 | a1d75e1fb878f2fa43218e78b1361b4f1e125e2d | /House-Price-Prediction-Project.R | 3779db5352373dc672a3a76c2c30d3bc757fb863 | [] | no_license | jesslynne73/Machine-Learning | 4075f5ade1887c12d49936071107d66734309ef6 | ed7a6bd487967c73a653bd2d0cea6fd96725b745 | refs/heads/main | 2023-07-09T02:55:52.610753 | 2021-08-05T21:08:07 | 2021-08-05T21:08:07 | 329,099,558 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,919 | r | House-Price-Prediction-Project.R | # Author: Jess Strait
# Front Matter
rm(list = ls())
library(data.table)
library(Metrics)
# Import and explore data
train <- fread("Stat_380_train.csv")
test <- fread("Stat_380_test.csv")
View(train)
class(train)
# Fill NA values with mean of column
train$LotFrontage <- as.numeric(train$LotFrontage)
... |
94f39d3bb1200f13445ff2e6f01204693b77856a | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.analytics/man/glue_get_workflow.Rd | 2dea060d1ca405f4b79beb671dcf363ab828bce8 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 600 | rd | glue_get_workflow.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/glue_operations.R
\name{glue_get_workflow}
\alias{glue_get_workflow}
\title{Retrieves resource metadata for a workflow}
\usage{
glue_get_workflow(Name, IncludeGraph = NULL)
}
\arguments{
\item{Name}{[required] The name of the workflow to retr... |
e4ca3d197bf01b2164b11cb30349d6f4f662540c | 0363e9059653e5ce2a8fd4dfa1bcfe981072ea82 | /man/rowMads.Rd | d781a696d41242cff34accf43da07e196ba079f6 | [] | no_license | mwrowe/microRutils | 7725bd4d5e2ac60337932f384562ed39abcf86a1 | 654cd867bafe126593089441f63c88906ecf60ed | refs/heads/master | 2021-07-07T19:59:43.732449 | 2021-06-10T16:59:33 | 2021-06-10T16:59:33 | 245,310,935 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 614 | rd | rowMads.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rowZs.R
\name{rowMads}
\alias{rowMads}
\title{rowMads: Fast Calculation of MADs by Row.}
\usage{
rowMads(X, na.rm = T, constant = 1.4826)
}
\arguments{
\item{X}{Numeric matrix, or object that can be coerced to matrix.}
\item{na.rm}{Logical; ... |
363d89367f0850684cc146da8e5b5351b0cee4a1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rAmCharts/examples/AmStockChart.Rd.R | 5331f9733b62e78a05fbd697303276fdaf710bb0 | [] | 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 | 4,310 | r | AmStockChart.Rd.R | library(rAmCharts)
### Name: initialize,AmStockChart-method
### Title: Initializes an AmStockChart
### Aliases: initialize,AmStockChart-method amStockChart
### setBalloon,AmStockChart,AmBalloonOrMissing-method
### setCategoryAxesSettings setCategoryAxesSettings,AmStockChart-method
### setChartCursorSettings set... |
e209a623af5fa157496295021bb9d83352796262 | 528f588e92ec54c34f29bad39e25b833b6b11366 | /plot1.R | 99632e2a9a594d0867bd1ee930d219c9aff42ad4 | [] | no_license | iuribonna/ExData_Plotting1 | c071ec7cd4aa405d06b2aff1248e20fd605bd558 | e7d6438cf9047fc3e90365d64f4090785f09a261 | refs/heads/master | 2022-12-05T11:44:13.970892 | 2020-08-04T21:19:36 | 2020-08-04T21:19:36 | 285,077,076 | 0 | 0 | null | 2020-08-04T19:20:21 | 2020-08-04T19:20:20 | null | UTF-8 | R | false | false | 1,365 | r | plot1.R | ## Plot 1
## Reads the file in a table
power_data <- read.table("household_power_consumption.txt",skip=1,sep=";")
## Renames the columns in a descrpitive way
names(power_data) <- c("Date","Time","Global_active_power","Global_reactive_power"
,"Voltage","Global_intensity","Sub_metering_1","Sub_me... |
921f9d427b2a865cc1e04ac91ee03b1ebe19a501 | 960e994f0ba2f7db9821cbad3490a579aaaba136 | /man/probe_profile.Rd | 4f7da525e5f1693ce27f1c868991f1590e1982c1 | [
"MIT"
] | permissive | ouzlim/vjsim | 1a3aaabf5d93bc1be72c9fe069d80f00eb5d8755 | 456d771193463ef00efb91085ef8782ca57f9f21 | refs/heads/master | 2022-11-26T22:14:19.172622 | 2020-08-03T22:39:53 | 2020-08-03T22:39:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,530 | rd | probe_profile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/probing.R
\name{probe_profile}
\alias{probe_profile}
\title{Probe Profile}
\usage{
probe_profile(
mass = 75,
push_off_distance = 0.4,
max_force = 3000,
max_velocity = 4,
time_to_max_activation = 0.3,
change_ratio = seq(0.9, 1.1, l... |
ac1a47b6e64104ffa85d7b124eaa5f7bbc0342e7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/vegan/examples/anova.cca.Rd.R | e6b58a4f17e6d6e12e954354718b2021b2bb821a | [] | 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 | 542 | r | anova.cca.Rd.R | library(vegan)
### Name: anova.cca
### Title: Permutation Test for Constrained Correspondence Analysis,
### Redundancy Analysis and Constrained Analysis of Principal Coordinates
### Aliases: anova.cca permutest permutest.cca
### Keywords: multivariate htest
### ** Examples
data(varespec, varechem)
mod <- cca(vare... |
d99c0b2bbe2400f922f0023824b1182e68593f65 | 29585dff702209dd446c0ab52ceea046c58e384e | /RHRV/R/BuildTakensVector.R | 02c7bb8a5953b3ce166f1264c013dcaa5c042094 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 602 | r | BuildTakensVector.R | BuildTakensVector <-
function(HRVData, Data, m, tau) {
# -------------------------------------
# Calculates Takens expanded vectors
# -------------------------------------
if (HRVData$Verbose) {
cat("** Creating Takens expanded vectors **\n")
cat(" m: ", m, " Tau: ", tau, "\n", sep="")
}
N = leng... |
6621db2b3e8fbda4783349d44bc37a021866bd30 | 15ce65a306373ce210f8904bb2e3a0697030ffc6 | /man/createAnalysisSettings.Rd | 90a05304607778014273bf9d9920a8f5643bc6c0 | [
"Apache-2.0"
] | permissive | OHDSI/RiskStratifiedEstimation | dd19c1562dcc88078b0b963fe5d49d192deb036e | f4476f8296e5444f35502e5c1e60429a9b0acd19 | refs/heads/main | 2023-07-08T15:41:31.377724 | 2023-03-08T13:19:29 | 2023-03-08T13:19:29 | 136,479,509 | 9 | 5 | Apache-2.0 | 2023-03-14T07:31:53 | 2018-06-07T13:12:58 | R | UTF-8 | R | false | true | 2,784 | rd | createAnalysisSettings.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CreateArgFuns.R
\name{createAnalysisSettings}
\alias{createAnalysisSettings}
\title{Create a parameter defining the performed risk stratified analysis}
\usage{
createAnalysisSettings(
analysisId = NULL,
description = "",
databa... |
d6ba3e12baec294fdb56456236e9ba82111251bf | dcf0a19d6beee75169234d35b563a27ce4fb0542 | /R/allele_methods.R | ae5fcfceb89fc4c3506be1d84dd4936ccd37a9dd | [
"MIT"
] | permissive | andremrsantos/htspop | 01ddda7ca4bc217cdd1c9c575eb75120bb8c1dcb | 48df4f3519da0504693a12e3ed0e23be48e0edb7 | refs/heads/master | 2023-07-22T01:41:22.192915 | 2020-05-11T17:37:01 | 2020-05-11T17:37:01 | 154,565,177 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | allele_methods.R | #' Allele Count Manipulation
#'
#' Functions to explore and manipule the data from allele count matrices.
#'
#' @param ac Allele count matrix to analyze
#'
#' @name allele_methods
#' @aliases NULL
NULL
#> NULL
#' @rdname allele_methods
#' @export
count_allele <- function(ac) {
if (class(ac) != "allele_count")
... |
60dec3f9c692c1df43e9e55098efb832968fef21 | ac755a2e6f8e956b75a658f5682847b48025049c | /R/print.catpredi.survival.R | a419abf6d8067fa60cfcc11e3b63d085b7583d62 | [] | no_license | cran/CatPredi | f6dee6f07df42ce07f6269b759fcc1292059b736 | 99c37302aaec362bb3df7dae0b942aee89876753 | refs/heads/master | 2022-01-14T05:28:04.646840 | 2022-01-10T11:43:01 | 2022-01-10T11:43:01 | 106,293,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,057 | r | print.catpredi.survival.R | print.catpredi.survival <-
function(x, digits = 4, ...) {
cat("\nCall:\n")
print(x$call)
cat("\n\n*************************************************\n")
method <- switch(x$method,
"addfor" = cat("Addfor Search Algorithm"),
"genetic" = cat("Genetic Search Algorithm"))
conc.index <- switch(x$conc.index,... |
961a1a9956b40a38a763917dc31c9397728ca853 | 2f5816f413d45a75914a2a5f4dc5d2b9ac2457da | /Daten/Scleractinia.R | 9ec6429ef74d7a3f7a13f2d28da2ec58377c394a | [] | no_license | FAU-Paleo/Analytical-Palaeobiology | a7d13a18b6ea51e7f3534f776f4ce51a50b38402 | d20639c040203538735b68490f330763cb441470 | refs/heads/master | 2022-11-28T14:40:19.827525 | 2020-08-05T16:54:11 | 2020-08-05T16:54:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,347 | r | Scleractinia.R | # Import einer Datei und Auswertung
remove(list=ls())
# PBDB raw data
myData <- read.table(file="C:/Daten/nceas/PBDB/Scleractinia.csv", header=TRUE, sep=",", as.is=TRUE)
attach(myData)
# Distinct genera in dataset
genus <- occurrences.genus_name
f <- factor(genus)
levels(f)
length(levels(f))
detach... |
1d1945f45834582177fed14d56bfe5d8adbc1151 | 183caf378df099da122f65ea9b75002b1e12b774 | /projFocus/ceRNA/processData/step1-2_expVoomNormed.r | 25912d5f38d161c2dd09bd010843d5b9f3836088 | [] | no_license | cwt1/scripts-1 | f58e476ddb2c83e0480856a95a95a644ad3c001c | 061d6592aa6ab11c93363fcb40305a57db05e3f2 | refs/heads/master | 2021-05-28T01:31:30.896133 | 2014-08-25T19:02:37 | 2014-08-25T19:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,182 | r | step1-2_expVoomNormed.r | #!/usr/bin/Rscript
#Author: Jing He
#Date:24 Oct,2013
#Last Updated:
#COMMENTS: need edgeR installed;
#input: <string:path you wnat your results to be>
# <string:name of your design file(4 cols, tab delimite:example)
# <string:name of count matrix file>
# <string:name of your output files>
#output: <fil... |
32351769250220c5d6b03272933a767b4c9a0c2a | 0365e239275b3e08473bef7ae68cbba75137a92f | /5A_CAR_OLS_data_prep_similarity.R | 37ab3a29447c2149374cb5557af7d20f08d35e1d | [] | no_license | KateMMiller/RegenDebtCode | 4a9aacc95c62a742099965a1a63cec00541f7c59 | 2fa9705bf61c3f913932d0da3a29d3f10a90c7b0 | refs/heads/master | 2021-04-26T23:34:17.736231 | 2018-11-03T15:31:54 | 2018-11-03T15:31:54 | 123,821,663 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 18,611 | r | 5A_CAR_OLS_data_prep_similarity.R | #--------------------------------------------
# Spatial Regression on beta diversity
#--------------------------------------------
setwd('C:/temp/GIS')
library(rgdal)
library(raster)
#library(sp)
#library(maptools)
library(dplyr)
options("scipen"=100, "digits"=4)
rasterOptions(timer=TRUE,progress='text', tmpd... |
b47813daf12b15e147c908cff022694573ee2091 | 1a7f5a2318c3a1e76c2916cb9637509f373dccf0 | /Problem_1.R | c4a5fcdc7ab53809521b45b4eab5d22618734b18 | [] | no_license | feb-uni-sofia/homework-1-r-basics-magivelikova | 539d504c4c2b574d4c6d6415f8c119686c971e1c | e03d3b5a6798068fd1ffc02d268de12e750b02b5 | refs/heads/master | 2021-04-15T18:57:26.111997 | 2018-03-22T18:04:21 | 2018-03-22T18:04:21 | 126,330,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 368 | r | Problem_1.R | #a)
x<-c(4,1,1,4)
#b)
y<-c(1,4)
# c) - since y is shorter than x, the elements of y are repeated until y becomes the same length as x and this can only happen if the longer
# vector's length is a multiple of the shorter vector's legth. We get x(4,1,1,4)-y(1,4,1,4)=z(3,-3,0,0)
z <- x-y
#d)
s<-c(x,y)
#e)
rep(s,10)
#f)
re... |
9d2f9bceff2a20169b14d2b30ab0a748c19da630 | f67ac5fcafe4cb26ebc800e6f839de9df402e4d6 | /gather_data.R | 90b61c7fd2e087aa359be4d743b9cd32300b2e2b | [] | no_license | billzichos/Bag-of-Words-Meets-Bags-of-Popcorn | 58c63f2d457eff20f85a78540219349b69c811e2 | 29ff12b8700b27272fc65c1e315edc9a9a06d9aa | refs/heads/master | 2021-01-21T00:52:49.889803 | 2016-05-21T21:31:21 | 2016-05-21T21:31:21 | 36,864,346 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 402 | r | gather_data.R | wd <- "~/GitHub/Bag-of-Words-Meets-Bags-of-Popcorn"
setwd(wd)
source("~/GitHub/Get-Raw-Data/download.R")
downloadSingleKaggleZip("word2vec-nlp-tutorial","unlabeledTrainData.tsv.zip", "unlabeledTrainData.tsv")
downloadSingleKaggleZip("word2vec-nlp-tutorial","testData.tsv.zip", "testData.tsv")
downloadSingleKag... |
aa17c0c2603b5dd3fc3fe2465521f05362712980 | 86e5242d859ab04bc40e330f075b71c9ef636a91 | /HRAnalytics/hranalytics.r | dd26f47ed143cc732782721cbf3808dbf8412232 | [] | no_license | ujwalk93/Data-Science | 17ba6fb1c1f0d19c96b099eeeb6c2d4383332f70 | 4e84c9f253e5f93f46a1a61d50f62d26f9b634e3 | refs/heads/master | 2020-03-26T10:35:56.134518 | 2019-07-01T12:51:43 | 2019-07-01T12:51:43 | 144,806,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,864 | r | hranalytics.r | setwd("D:\\PG_Diploma\\HR Analytics")
#loading all the required libraries
library(dplyr)
library(tidyr)
library(stringr)
library(ggplot2)
library(reshape2)
library(car)
library(caret)
library(caTools)
library(MASS)
library(lubridate)
library(e1071)
library(cowplot)
#understanding the data based on busin... |
6459a267104c2d1dc3f7b8bc3f07f7a25008e993 | bb34abb58df1d4d9ef8609a050dffad197256bb4 | /R/mboost_diff_Rsq.R | 467fd2794a6271695c69309781e377b5297264f1 | [] | no_license | hanfu-bios/varsel | 6537cdb12a1dc65ac7d20ed73f62021ba4ccc413 | 1890077d8cbe607a1142b1dd83c9aca264a1f05a | refs/heads/master | 2021-09-07T15:32:52.249826 | 2018-02-25T04:18:32 | 2018-02-25T04:18:32 | 103,572,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,233 | r | mboost_diff_Rsq.R |
stat.mboost_diff_Rsq <- function(Xaug, y, max.mstop = 100, bl = c("bbs", "bols", "btree"),
cv.fold = 5, family = Gaussian()){
p = ncol(Xaug) / 2
Xaug = as.data.frame(Xaug)
check.dist <- function(x) grepl(x,family@name)
if (any(unlist(lapply(c("Ada","Binomial","AUC"),check.dist)... |
e89e6a291ded54559e571b81ff6ab4908551ab8d | 7331b465dbed2459478e719a81eac3e15179aa7f | /ejemplo2.R | 40282007047ea736806b023b2c34b65ae8d37f90 | [] | no_license | 920052859/Clases_Progra_R | 572d6b73e0b15e872c75ab97263f11b31acc0e0e | 80dc895cc13a074e9809e14e9d4fa0687490e1fb | refs/heads/master | 2022-10-18T15:19:23.500925 | 2020-06-08T18:36:56 | 2020-06-08T18:36:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 444 | r | ejemplo2.R | getwd()
setwd("C:/Users/DANIPZA/Desktop/pylinR/Rclass")
dir.create("corian")
dir()
help("log")
log(8,base = 2)
vec1 <- 1:5
vec2 <- c(1,4,5,5.7)
vec3 <- c(vec1,vec2)
help("rnorm")
vect4 <- rnorm(5,mean = 5,sd = 2)
vect5 <- sum(vect4)
vect5 <- vect5/5
help("runif")
vec6 <- runif(5,min = 4,max = 7)
help("rchisq")
help("se... |
24fd6551d3824d7bde0928bbe7e220ac6415f208 | 26e61f22191fb048d9e1eb1074afe13e2a3cbf69 | /getData.R | 5adee4ee2ec51d909c264e786667957aea751824 | [] | no_license | waleedayoub/nhl | 14e3edfb223cf16987b6731655ac2c8eb7934740 | 8975b394097cab2ebfb4dd6318b232997aecd3a3 | refs/heads/master | 2020-05-28T04:06:24.969981 | 2015-06-05T12:07:15 | 2015-06-05T12:07:15 | 35,517,938 | 0 | 0 | null | 2015-06-05T13:14:23 | 2015-05-12T23:36:07 | R | UTF-8 | R | false | false | 1,110 | r | getData.R | setwd('./development/R/nhl/')
library(nhlscrapr)
library(dplyr)
all.games <- full.game.database()
table(all.games$season,all.games$session)
distinct(select(all.games,session))
distinct(select(all.games,season))
# select only the playoff games for 2014/2015 season
filter(all.games, session=='Playoffs', season==20142... |
c549b4618a51fef24a513a013bc0432ac9d88a05 | 02b127b8e92f7c2af1917c722045b083142d802e | /helpers.R | 25639c2ed441c925823010463c3e1f5adf97c720 | [] | no_license | beegieb/BF4StatsApp | 769b3a28bcad58dc160210ec56791ad3674b3b63 | eeb53cd01bf526a40e0293bf7b65716ded593dc6 | refs/heads/master | 2021-01-19T06:27:20.213286 | 2014-06-23T05:39:07 | 2014-06-23T05:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,914 | r | helpers.R | library(caret)
library(shiny)
library(rjson)
platforms <- c("PS3", "Xbox 360")
ovoPlatforms <- c("PC", "PS4", "Xbox One", "PS3", "Xbox 360")
mapNames <- read.csv("data/mapNames.csv")$name
platMap <- function(plat){
switch(plat,
"PS3" = "ps3",
"PS4" = "ps4",
"Xbox 360" = "xbox",
... |
3f5249c430684102cc2e6f0aee2a8853cb248dc3 | e01763b11db2185c5c3f233dea1802f8f84c21c5 | /script-prepadonnees.R | 1f47cfca0423bac9aed9e386bc08f7aaae936271 | [] | no_license | rxlacroix/masterthesis | de118ff9bf14113a0dfbd8595591cba57370fe94 | 8c6bd4e322a7bb355060c1b5b06e0dabd2ef35b2 | refs/heads/master | 2021-01-19T17:38:22.327208 | 2017-08-22T15:31:01 | 2017-08-22T15:31:01 | 101,077,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,684 | r | script-prepadonnees.R | setwd("D:/Switchdrive/Mémoire/DATA")
list.files()
library(stringr)
###############################################################################################
###############################################################################################
# 1. Fichier des applicants par vil... |
114308586d067a0f659095577bfd3abeb3527ca2 | 9b0051af4477ce26be267877fbc31f32f01a3a21 | /cachematrix.R | e8ddb45e5ecbe62b03b20679980703248c230695 | [] | no_license | jsl416/ProgrammingAssignment2 | 8c3cdc1a096181a6994481d57d0b30e6e13ee787 | 1835d0b401f6b019fb2d141502102731a38137bb | refs/heads/master | 2021-01-18T09:42:14.956767 | 2014-06-21T19:30:35 | 2014-06-21T19:30:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,167 | r | cachematrix.R | ## ---------------------------------------------------------------------------------------------------------------------
## 2014-06-22 04:27
## Written By: JS Lee
## Purpose of this R code: This R code is to calculate an inverse of a sqaure matrix.
## When the inverse is calculated alreadly, the... |
b91dfc1c8a0029a51e2de9f447323ef8538d9c58 | a893f063e4fb685c6d959882b74f35cfc17686ee | /exercises/models01.R | 2c51eaf3b5a71721884ebccacbb557e9a97580e7 | [] | no_license | jmarshallnz/intro_to_r | e8ebe29fe4df3d32f9848e79eb75ead3a46bce4c | 35065a9255915f5f9eec4248972560fcbe7ff991 | refs/heads/main | 2023-06-16T10:09:57.485226 | 2021-06-21T04:13:12 | 2021-06-27T23:29:42 | 332,910,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 266 | r | models01.R | # Modelling Donkey bodyweights in R
# Load our libraries
library(tidyverse)
# read in the data
donkeys <- read_csv("data/donkeys/donkeys.csv")
# fit a model
model1 <- lm(Bodywt ~ Heartgirth + Umbgirth + Length + Height, data=donkeys)
# assess it
summary(model1)
|
6c6e40e3a9b2109c48e526588e1dddbefd35e381 | e25cd2cce4a5b069406fb87520b7ef9f14a20438 | /phc6711/moves/read.R | e893c060402619baa3dc6994a430f70dac2375da | [] | no_license | joebrew/uf | 415ecd5bb8bad16ba3d93237d7061cbaf6c8dd9c | 7ced5fe71813469c3b2ab4f5ae862664c87e36dd | refs/heads/master | 2016-09-01T23:14:28.734112 | 2015-08-27T14:43:14 | 2015-08-27T14:43:14 | 21,254,912 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,110 | r | read.R | zipfile <- "exportfeb20.zip"
location <- "/home/joebrew/Documents/uf/phc6711/moves"
# SET WD
setwd(location)
# UNZIP MASTER FILE
unzip(zipfile = zipfile)
# UNZIP CSV
unzip(zipfile = 'csv.zip')
# CD INTO THE CSV DAILY FOLDER
setwd('csv/daily')
# READ JUST SUMMARY
setwd('summary')
for (i in dir()){
assign(gsub(".... |
f5f8b8fd799a6790c5b66d1785fc01515e12af54 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /metacoder/inst/testfiles/centroid/AFL_centroid/centroid_valgrind_files/1615765243-test.R | 59e35f965db8b7a98233c186265bfbaa626bb3f1 | [
"MIT"
] | permissive | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 427 | r | 1615765243-test.R | testlist <- list(b = c(1.78388675173214e+127, -40358544454836.7, 5.34324542977894e-305, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... |
e6251ad03873ad53e1b34c00b07985b79abd4d70 | 02b25b1ed401fc57f4945a970d2b57f2622e7bf7 | /dose_response_curve/dose_response_curve.R | 128c0c5e247f9e61d020edc76cc691906fd8c939 | [] | no_license | xuyanli2016spring/R_scripts_islj_project | bb361dc865e63def1061bb5dd3e1d7376b5e592c | 20d9742977e0f5f31ae30af67fba8428f1c93668 | refs/heads/master | 2021-01-18T18:27:58.849883 | 2017-04-04T22:14:23 | 2017-04-04T22:14:23 | 86,855,939 | 0 | 1 | null | 2017-04-04T22:14:24 | 2017-03-31T20:01:57 | R | UTF-8 | R | false | false | 2,472 | r | dose_response_curve.R |
# Name: Yanli Xu
# Date: Apr 4th, 2017
# Note: This script creates a dose response curve of mouse and culture experiments.
# Note: ggplot2 library is needed
culture_doses <- c(0.038, 0.045, 0.050, 0.170, 0.200, 0.220, 0.270, 0.300, 0.340, 0.350, 0.360, 0.370, 0.380, 0.390, 0.400, 0.440, 0.450, 0.460, 0.500, 0.600, 0... |
65b93e133c1879820d0ca1a49e1c60fb4fb890dc | ae29d98e457098c8241dc4ca533911927b3fe47f | /man/zoom.Rd | c29aee730b4ec7ee52139dcadd561958e66f7b38 | [] | no_license | great-northern-diver/loon.ggplot | 1a10c6303f05aca8d9e18431233143a1295f069c | d06a9ad6d53e9a7372745ec4c25ea24e6efc451e | refs/heads/master | 2023-04-14T09:07:03.520916 | 2023-03-15T13:05:44 | 2023-03-15T13:05:44 | 172,743,501 | 23 | 3 | null | 2023-03-15T13:05:46 | 2019-02-26T15:59:58 | R | UTF-8 | R | false | true | 2,518 | rd | zoom.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interactive-ggproto.R
\name{zoom}
\alias{zoom}
\title{Zoom Plot Region}
\usage{
zoom(layerId = NULL, scaleToFun = NULL)
}
\arguments{
\item{layerId}{numerical; which layer to scale the plot by.}
\item{scaleToFun}{scale to function. See detai... |
bf60f90223b21f305759bc9f5adc010c15607d09 | b37f4d89507ad02ec69a38cece7fb83acf851757 | /decisions.R | da712897661744712b81ae54d0ecb14f8f4dacdf | [] | no_license | ginahixx/sd3 | 4d58e8200c40883566abeb4d44a2d9edfbd73507 | a020dd38acb83ecbd221bf369d9a76e1d879e7b3 | refs/heads/master | 2021-01-25T07:54:56.939514 | 2017-06-07T22:30:10 | 2017-06-07T22:30:10 | 93,684,888 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,161 | r | decisions.R | #functions for Design Decisions section
settingstablename <- "DDSettings"
controlTableName <- "DesignDecisions"
versionflag <- "version"
appflag <- "app"
#functions ---------------------------------
GetMeetingIDs <- function() {
# Connect to the database
db <- dbConnect(MySQL(), dbname = databaseName, host = optio... |
d4a0d9a623ea38b588c5b074004d71bd477388bb | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.security.identity/man/wafregional_get_change_token.Rd | 69c31884357cb22187c64c1d938ec4d11ab98254 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 596 | rd | wafregional_get_change_token.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wafregional_operations.R
\name{wafregional_get_change_token}
\alias{wafregional_get_change_token}
\title{This is AWS WAF Classic documentation}
\usage{
wafregional_get_change_token()
}
\description{
This is \strong{AWS WAF Classic} documentat... |
99d22a17a414c3c8c311235d088929ccdbf5ea4d | b8f853e88d5c9f843e3ef0edc940ec1ef206e8ef | /server.R | e2b615f4741ac7904c32af54f01e1da3e2964ae0 | [] | no_license | DBAJAJ89/Text_Analytics | 28af6bbd0717ae9b58c921de2d4081973b70d097 | bebd94013364741e65844bd5253fe43b2c12fab8 | refs/heads/master | 2020-03-16T06:03:10.314544 | 2018-06-02T11:17:27 | 2018-06-02T11:17:27 | 132,546,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,504 | r | server.R | #---------------------------------------------------------------------#
#Title: Text Analytics Assignment 2
#Authors: Deepak Bajaj, Richa Kansal, Soumya Panigrahi
#Shiny App: Server.r code
#---------------------------------------------------------------------#
#Start of server code
shinyServer(function(input,... |
00f3e22c097f8b8fe083f27e94874df5eb71ec3e | ef4b390f70ba2fbdb78c4e68ef7a8dee0eb4c917 | /analysis.R | d69d53fa984c45a8ee01592eeab0eb8c698aaa9b | [] | no_license | sahNarek/CSE_270_FINAL_PROJECT | a4c30fc03e9f0107dd277638afc6e5fca81823de | b650f3a06a7ebfde0d6ae34d7a4236131d0feb2c | refs/heads/master | 2021-07-12T15:28:58.884826 | 2020-11-21T23:58:31 | 2020-11-21T23:58:31 | 220,856,820 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,845 | r | analysis.R | load("data/no_et_games.rda")
load("data/et_agr_94_18.rda")
load("data/legs_info.rda")
load("data/et_minutes.rda")
load("data/po_elos.rda")
packages_list <- c("ggplot2","dplyr", "scales", "DescTools",
"plotly", "stringr", "elo", "caret", "e1071")
install_or_call <- function(list = packages_list){
... |
a6524e79a68e47674e3ac94dcbd353dd84deebb9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/kappalab/examples/card.set.func.gen.Rd.R | 84c6f12a6f4300ad35ac43f0c00124becc2a017d | [] | 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 | 367 | r | card.set.func.gen.Rd.R | library(kappalab)
### Name: card.set.func
### Title: Create objects representing cardinal set functions.
### Aliases: card.set.func card.game card.capacity lower.capacity
### upper.capacity uniform.capacity
### Keywords: math
### ** Examples
card.set.func(4:-2)
card.game(c(0,-2:2))
card.capacity(0:5)
lower.capaci... |
136b6f05607feda62ea02ae6644c2ddea69586ba | f026d81ea0042c1b88f5f58f0ceff979d6020664 | /day6/solution.R | fb926dddea561c7d86fb38aa828bcec74b238f0b | [] | no_license | apostaremczak/advent-of-code-2017 | c4832385f122dabbbfeec11c7a9076d7bd449d81 | 36e0f7cfc3379e86f3b08700e269f83010c8a530 | refs/heads/master | 2021-08-31T20:59:32.578569 | 2017-12-22T18:36:44 | 2017-12-22T18:36:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,173 | r | solution.R | # --- Day 6: Memory Reallocation ---
puzzle_input <- read.csv("input.csv", sep = "\t", header = FALSE)
len <- ncol(puzzle_input)
row_to_string <- function(row) {
return(paste(as.character(row), collapse = ","))
}
next_ind <- function(i) {
if (i + 1 <= len) return(i + 1)
else return(1)
}
redistribute <- ... |
e5648961297634c5108630b4dff934ccd63fdbad | 2192489e86e8993ac9de7f5c32583c2546e31129 | /plot1.R | 0abec5fd9c1a063b9f301fbac837c1e981a5d625 | [] | no_license | KimMonks/ExData_Plotting1 | e2d4063c5b2d2bd1863498d69993f23d216ad223 | dbecd4b04b01ee9cb021f74c1547f0b37204eedb | refs/heads/master | 2021-01-21T16:31:20.245254 | 2015-07-07T15:09:16 | 2015-07-07T15:09:16 | 38,661,173 | 0 | 0 | null | 2015-07-07T03:16:57 | 2015-07-07T03:16:56 | null | UTF-8 | R | false | false | 468 | r | plot1.R | # Load and extract data
path <- "./household_power_consumption.txt"
#data <- read.table(path, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
data <- read.table(path, header=TRUE, sep=";")
data <- subset(data, Date %in% c("1/2/2007","2/2/2007"))
# Trasnform and plot to file
power <- as.numeric(data$Global_active... |
03218a86bda8a7e49a1775936c349c1795247640 | 81e80f2198a64b8ab94ee962489bbc114534ed09 | /plot4.R | c33e80a3630c621ad7974faf9a9731397501b474 | [] | no_license | rajus74/ExData_Plotting1 | c964738a798b794eaced8c246b513b5bc1b8ecae | 163431684d158435f75526efb21c673049bea7fd | refs/heads/master | 2021-01-18T18:57:12.832834 | 2016-02-05T09:55:02 | 2016-02-05T09:55:02 | 51,138,252 | 0 | 0 | null | 2016-02-05T09:44:27 | 2016-02-05T09:44:27 | null | UTF-8 | R | false | false | 793 | r | plot4.R | source("loadSubsetData.R")
png("plot4.png",width = 480,height=480)
par(mfrow=c(2,2))
plot(subsetData$Time, subsetData$Global_active_power, type = "l", xlab = "", ylab = "Global Active Power")
plot(subsetData$Time, subsetData$Voltage, type = "l", xlab = "datetime", ylab = "Voltage")
plot(subsetData$Time, subsetData$Sub... |
3ff7819cd37ea2d272e87e681eebe6386cde554e | 6dcf636b5872580402c291079e8ec1152c5c85d3 | /GeneticsHaplotype/R/simulationModels.R | 20b3e242feb774cf6260b7e86a7be43201c20631 | [] | no_license | sboehringer/GeneticsHaplotype | f9175d66529d0b753dcf7cd3ca9c9dd50f46cabc | ffb217614a70fbb5f46134f5aa71dd1455c9161f | refs/heads/master | 2020-05-16T09:52:50.506237 | 2015-07-31T16:05:28 | 2015-07-31T16:05:28 | 24,718,518 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,427 | r | simulationModels.R | #
# simulationModels.R
#Wed Apr 1 18:16:36 CEST 2015
simulationModelComparisonSingle = function(
# genetic parameters
htfs = rev(vector.std(1:8)), N = 2e2, pedTemplate,
# phenotypes
simulatePhenotypes, useCors = F, usePedIdcs = F,
# models to compare
models, #list(mcmcClass, passPhenotype, coerceFounders)
# ot... |
e36233b486b9a2a8a2ca2edd881c6be279161bdb | d7607d73cd5cc231b44dcb9f6c9c1591b71ed789 | /R/conn.R | c52c3a628394ad3f300a649915ec6e3849ab622d | [] | no_license | cran/msgpack | f595ed6d9ba97c53420462e6d4659367a5d9f59c | 4742bb3a4efdda1b28f432db80c0e0694ee0ac48 | refs/heads/master | 2021-09-07T11:28:41.219445 | 2018-02-22T08:15:35 | 2018-02-22T08:15:35 | 122,456,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,185 | r | conn.R | #' Read and write msgpack formatted messages over R connections.
#'
#' A `msgConnection` object decodes msgpack messages from an
#' underlying R raw connection.
#'
#' @param con A [connection] object open in binary mode.
#' @param max_size The largest partial message to store, in
#' bytes. `NA` means do not enforce a... |
395fa01ccb03b0be67978f4ee0769ad3aa0132ca | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query30_query07_1344n/query30_query07_1344n.R | e55088654c65668efd062c434ef16e1245914e81 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 703 | r | query30_query07_1344n.R | c DCNF-Autarky [version 0.0.1].
c Copyright (c) 2018-2019 Swansea University.
c
c Input Clause Count: 362
c Performing E1-Autarky iteration.
c Remaining clauses count after E-Reduction: 362
c
c Input Parameter (command line, file):
c input filename QBFLIB/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/que... |
a9d62e1275c250b246937c87e1b6497ea183cc85 | 1bff670706a93f577eff6af8ed52dd3275e1534d | /scripts/R/QC/config_db.R | 5100d5a175d62668325c83393ecea4e8ce2b4ca2 | [] | no_license | aodn/aatams | f426d308c553bf5098cbf566f04ba13a9aa3a515 | f21b94497935130f8006e6ef33bce718d197dca0 | refs/heads/master | 2021-05-16T18:24:16.238708 | 2021-05-12T01:18:58 | 2021-05-12T01:18:58 | 10,501,618 | 7 | 3 | null | 2021-04-28T01:22:42 | 2013-06-05T12:04:53 | Groovy | UTF-8 | R | false | false | 234 | r | config_db.R | #file:config_db.R
server_address <- 'server_url'; # e.g. '183.24.245.102'
db_name <- 'db_name'; # e.g. 'aatams'
db_port <- 'db_port'; # e.g. '5432'
db_user <- 'db_username'; # e.g. 'username'
db_password <- 'db_pwd'; # e.g. 'password' |
464437012c3fe3216bc66babc54c20c55231af81 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3.E#124.A#48.c#.w#5.s#53.asp/ctrl.e#1.a#3.E#124.A#48.c#.w#5.s#53.asp.R | c95ddac8d1f5f19eaa1e6d88b9da0d637085e816 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | ctrl.e#1.a#3.E#124.A#48.c#.w#5.s#53.asp.R | 786622ce009c8d70f9104dcd2c86838e ctrl.e#1.a#3.E#124.A#48.c#.w#5.s#53.asp.qdimacs 5131 14878 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.