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
bb81e4f88ade8092b02696f1457f8c9616125dd2
effe7cbf3c35d4f219379adb37d7604fc16426cb
/R/Classifier_funs.R
d32423f9d02535e986e7dc7d66edc24f76ba0c7c
[]
no_license
Soleer/LDAandSVM
8ac5fd2c7606db42f912c765dedeebef86e3f3ce
ba87dfc33b1fddb3d573d4a0a1c71a504c5ecb25
refs/heads/master
2020-07-11T08:45:10.335407
2019-02-22T18:52:06
2019-02-22T18:52:06
204,493,643
0
0
null
null
null
null
UTF-8
R
false
false
15,689
r
Classifier_funs.R
# #helpfunctions # # targets <- function(vector) { # n <- length(vector) # En <- diag(1, n, n) # V <- matrix(vector, # nrow = n, # ncol = n, # byrow = TRUE) # D <- En - V # results <- sapply(1:n, function(i) { # D[i, ] %*% D[i, ] # }) # return(results) # } #...
dece2147afe60a73458321ac720aab5502e79e75
817aef9be7c091e8f4966b72f8359426b425f6ee
/man/cumGainsTable.Rd
085ccfbcaadf6edaad5d35dc6c0943f794793f4c
[]
no_license
cran/CustomerScoringMetrics
07e47dbdeb77b087fb61d1f66cee13ff82de3c2b
09f407d8ba99ad86e146dba7af98d4ad0c2d9189
refs/heads/master
2020-03-08T20:27:40.716795
2018-04-06T09:39:01
2018-04-06T09:39:01
128,382,390
0
0
null
null
null
null
UTF-8
R
false
true
1,319
rd
cumGainsTable.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cumGainsTable.R \name{cumGainsTable} \alias{cumGainsTable} \title{Calculates cumulative gains table} \usage{ cumGainsTable(predTest, depTest, resolution = 1/10) } \arguments{ \item{predTest}{Vector with predictions (real-valued or di...
88d9d68f0fba4204f57cdca90057d1d45b2c1064
48db800bd8e8f0f618574de880b099db16452166
/src/R/descriptive.R
1e1f78410778abf1585702f442e44a659f0b08de
[]
no_license
markbuckley/us-geo-analytics
e845156f73c60106c14a3e05eaa106031bb4a170
995da0a0465ab211a625959ad89cac83378302a7
refs/heads/master
2020-05-18T10:17:37.482845
2014-12-04T04:37:42
2014-12-04T04:37:42
null
0
0
null
null
null
null
UTF-8
R
false
false
1,750
r
descriptive.R
## # Descriptive stats and plots of the data set library(ggplot2) library(plyr) # distribution of accounts per salesperson accountsPerSalesperson <- function(data) { d <- ddply(data[data$covered_by!="Unclear",], c("salesperson_id", "covered_by"), summarise, numAccounts = length(unique(customer_number))) pri...
4277461e9f76239dbb4731ccbc0d61c534f30f61
11dc0bf1c11898f8142a6f89326cf65dbbaecafe
/data/bialystok/BialystokPopulationData.R
eb8c8451f54f8682d427ef04ed6b2b0b9ae047c8
[]
no_license
kontrabanda/mgr-2
4669eeb21a6e3e8365d9a203c275c08daf01bd76
151bbba7005621e4ef1502d105e2c2c8a7b149eb
refs/heads/master
2021-05-05T18:17:24.743810
2018-05-16T19:37:14
2018-05-16T19:37:14
117,591,492
0
0
null
null
null
null
UTF-8
R
false
false
1,661
r
BialystokPopulationData.R
library(lubridate) library(dplyr) source(file="./data/bialystok/BialystokData.R") BialystokPopulationData <- setRefClass( Class="BialystokPopulationData", fields=list(), methods = list( initialize = function() { name <<- "bialystok" allColnames <<- c("lat", "lng", "day", "month", 'population', "c...
fddee30c36e031d298ec0b8d72c2ca794c26a966
a598b42a2800d38d920af9a69232fcb1a39eec7a
/man/db_disconnect.Rd
decbcd7525c2d791c9e937b7cd99619860d52b10
[]
no_license
gschofl/rmisc
b396d65b3f1a54794cd19d3666afcacea84fb840
a49744b49f46d57ea5182407ad6dd2adf21a2d56
refs/heads/master
2021-01-23T22:43:07.674294
2014-06-11T11:53:53
2014-06-11T11:55:29
null
0
0
null
null
null
null
UTF-8
R
false
false
287
rd
db_disconnect.Rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{db_disconnect} \alias{db_disconnect} \title{Disconnect from an SQLite database.} \usage{ db_disconnect(...) } \arguments{ \item{...}{Connection objects.} } \description{ Disconnect from an SQLite database. } \keyword{internal}
0ba544fed3ace9113b43ff3fb3e80fc6c7f29b9c
4b03d6d132ebeb06a8fb3204273235fbc9835c65
/R/Project Tools# trans_lines.R
331bb230d4f1aa6c0456dc7b6cd5b2f5a867c96b
[]
no_license
15652939484/Loafer
1ec5f4936ee2311621217d09a21e0d657be3d21e
744f6aab5b475ed4ae05fcfc747d09c5db2e5e21
refs/heads/master
2022-12-26T23:37:36.165130
2020-10-16T08:49:07
2020-10-16T08:49:07
289,851,889
1
1
null
null
null
null
UTF-8
R
false
false
1,634
r
Project Tools# trans_lines.R
#' @title trans mutiple lines and remove or add sth. #' @description 将多行代码的行首 统一 添加/去除 "#' "前缀## #' 或者将多行代码统一 添加/去除 行末的 “,". 注意, 去除的时候,可以直接替换成空并且换行,也可以直接替换为”:” #' 同时,需要注意,在注释中的内容不需要换行。# #' 在苹果中恐怕无法正常使用。因为苹果系统的剪贴板函数略有不同。 #' @param input_lines input lines. Clipboard containings as default input. ## 输入的变量 #' @param mode a...
a7f74a176daa8b8c5d5ec4e5bff4952fd0b1b368
f18e1210ca120c9116e356a8549e89e04219dc75
/man/getIsotopicColName.Rd
19715a3f4f7add0c76bb3da453c4e21f9c4fbae5
[ "BSD-2-Clause" ]
permissive
EMSL-Computing/ftmsRanalysis
46c73a727d7c5d5a5320bf97a07e9dac72abd281
dd3bc3afbf6d1250d1f86e22b936dcc154f4101d
refs/heads/master
2023-07-21T18:13:26.355313
2023-02-09T17:03:09
2023-02-09T17:03:09
122,233,846
14
10
NOASSERTION
2023-07-11T16:34:15
2018-02-20T17:52:18
R
UTF-8
R
false
true
433
rd
getIsotopicColName.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/colname_methods.R \name{getIsotopicColName} \alias{getIsotopicColName} \title{Get the name of the isotopic column} \usage{ getIsotopicColName(ftmsObj) } \arguments{ \item{ftmsObj}{an object of type ftmsData} } \value{ name of isotopic column ...
2ee5812a3cff6f0dde42faf7242bcdf40a64eb39
159f2f491d35859ad1405282180513bbfc49a6ef
/hydro_modelling/modelling.R
b3a0047bf90168fa15185250cc0a5c14b45986a0
[]
no_license
YANGOnion/Rainfall-runoff-modelling-in-R
7631d4b7671f131f0c82a1083c18492c486e8594
5dcc0286820381b5a0c1c9feb298dae3148de238
refs/heads/master
2020-04-19T04:31:45.494157
2019-11-30T03:33:20
2019-11-30T03:33:20
167,965,055
8
2
null
null
null
null
UTF-8
R
false
false
1,959
r
modelling.R
############################### extracting areal forcing data for the watershed #################### ## to read the watershed polygon library(raster) poly_file='input/wts_polygon/66193.shp' wts_poly=shapefile(poly_file) area(wts_poly)/10^6 plot(wts_poly) ## to extract areal mean values of forcing data wi...
3747dfcc35b9f268c3da8df55b653d30175f5ca3
aa0a5d7a686f35db5679ef7584f25c777a964cdf
/01 Data/treemap.R
13629a0c844283f74e7b9aa6f237cbcb90b2c40e
[]
no_license
kdk745/DV_FinalProject
d391dc2592c46edd587c66884a62b34fe03ac725
c2bb8a0ca35722f1dbb9585d4d7420475b6619af
refs/heads/master
2021-01-10T08:52:35.539385
2015-12-07T19:35:23
2015-12-07T19:35:23
47,467,595
0
0
null
null
null
null
UTF-8
R
false
false
1,991
r
treemap.R
require("portfolio") require("RColorBrewer") require("jsonlite") require("RCurl") require("extrafont") df <- data.frame(fromJSON(getURL(URLencode('skipper.cs.utexas.edu:5001/rest/native/?query="SELECT GBDCHILDCAUSES, YEAR, sum(DEATHS_0_TO_4_YEARS) FROM CHILD_DEATHS GROUP BY GBDCHILDCAUSES, YEAR ORDER BY YEAR;"'),httph...
d4eb7d290ac28f6ae44c68898773bad85ea80ddc
e99b3404c01305e7b2d1926752939855493d8a12
/plot2.R
4773ab7297f06e4967cd22dc15fd221fd3a06cbd
[]
no_license
tja2000/ExData_Plotting1
0d351add68f49453a375205525749c9633a092b7
731e81d5ecc09c8c5217601315170ea7beaa34d5
refs/heads/master
2021-01-12T22:31:03.683217
2015-07-08T08:05:43
2015-07-08T08:05:43
38,739,628
0
0
null
2015-07-08T07:45:24
2015-07-08T07:45:24
null
UTF-8
R
false
false
938
r
plot2.R
############################################################################## # Exploratory Data Analysis - Project: Plot 2 # ############################################################################## library(dplyr) # We assume that the data is in the same directory d <- read.table(...
d392a67de35ee5f10e761258edf399e2e00fa24c
f0ae5afa687f95f4a1659a21df76f465b6399ecc
/HW2/HW2_Answer_Sheet_r08631036.R
c74e2df51ec0c33e575676bd2a1f09a5af0228b9
[]
no_license
JustinBear99/QA
9db1ee9d3e4ed94874985e4a5359423a446f3f7b
7c1064ae994427864253d10389d042bce501c48d
refs/heads/master
2023-07-18T13:43:16.287362
2021-08-27T05:55:53
2021-08-27T05:55:53
null
0
0
null
null
null
null
UTF-8
R
false
false
1,359
r
HW2_Answer_Sheet_r08631036.R
############################################################################### ## HW 2 Answer Sheet ## ## Name :______ NTU ID:________ ## ############################################################################### #######...
27a2c576c2bedacb23e5d50682750ebf44f0e11f
9cfffffa6d5d914ddf3c72317670094754b21912
/lib/ALSwithP3.R
d214d59fe30485fb48b3a310d6cc691479de046c
[]
no_license
TZstatsADS/Spring2020-Project4-group4
8506d037bf789a49d27b5840c157c11468e39f4b
bd563041f6a5d2164ea7e6aecf0daaedc87ca252
refs/heads/master
2022-04-21T02:07:30.848703
2020-04-22T20:46:22
2020-04-22T20:46:22
252,845,468
0
0
null
null
null
null
UTF-8
R
false
false
7,508
r
ALSwithP3.R
# Solve RMSE # RMSE <- function(rating, est_rating){ # sqr_err <- function(obs){ # sqr_error <- (obs[3] - est_rating[as.character(obs[2]), as.character(obs[1])])^2 # return(sqr_error) # } # return(sqrt(mean(apply(rating, 1, sqr_err)))) # } RMSE <- function(rating, est_rating){ ...
f71a02ef1e61c1f113b6b2a6706aab51cf5024cf
5236a8a9c53fb80c783e34996863acd22a321c25
/Scripts/Data_Management/Merge_Raw_Data.R
e41602bd2635578aef413f0e1b8581d3e5c5aa5e
[]
no_license
nnooney/Medical-Mistakes
b3b2d0d32e17718f7235c3a704b4044b51cd5d9a
7eadc093efb0ea353d272bfd553d4217af27ddaf
refs/heads/master
2016-09-05T21:38:14.570863
2014-12-09T02:44:50
2014-12-09T02:44:50
null
0
0
null
null
null
null
UTF-8
R
false
false
2,282
r
Merge_Raw_Data.R
## This file reads in data from 2003-2011, and combines it into a large data set. ## The variables "cat_code","epoa1","epoa2","epoa3","epoa4","epoa_p","grouper","sev_code" are excluded from 2008-2011 ## The variable "msdrg" from 2008-2011 is combined with "drg" from 2003-2007 to create the variable "drg" in the final d...
ac8885583994cd77503fca29f226a23a46296bbd
5cdfe09b136d8c56160b7048733d26d391e770b7
/Scripts/model_exploration/random_forest.R
056425813a47de2bde3b8429e0cedd3534770bfb
[]
no_license
DanielRZapataS/Recommendation_System_Retail_Banking
a7265b731127c60f9233138f492989649f2be3ce
1de13ca704dfa80ba8e4e374ade481d7ba33ecb9
refs/heads/master
2020-11-25T21:28:36.779429
2019-12-18T15:09:49
2019-12-18T15:09:49
228,851,338
0
0
null
null
null
null
UTF-8
R
false
false
3,010
r
random_forest.R
mtry <- seq((ncol(master)-1)/3, ncol(master) * 0.8, 6) %>% round(0) nodesize <- seq(3, 9, 3) mtry <- c(45, 93) nodesize <- 6 #'Train multiple Random Forest models chosen from random forest parameters to #'forecast one step ahead, and return Best Random forest model with the #' lowest recursive forecast error on vali...
897670fbbc124dd0d42185dfefaa5a5cf18f7ecf
f7fb88ca3b6c0b29a3d10ed20df25efa6e4f8602
/man/multipart_upload.Rd
b7b7c02e071f9d680985d3879d4c1e3a0c361f59
[]
no_license
cran/civis
9fdf3e2ff64b72fc5c448d02cd621594d0f603b4
e334467f2e8af73bb76c1e80f60e3f6ba460b509
refs/heads/master
2023-04-07T13:39:21.376985
2023-03-31T07:00:03
2023-03-31T07:00:03
103,786,499
0
0
null
null
null
null
UTF-8
R
false
true
532
rd
multipart_upload.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/io.R \name{multipart_upload} \alias{multipart_upload} \title{Upload to files endpoint in parts.} \usage{ multipart_upload(file, name = "", chunk_size = 32 * 1024, expires_at = NULL) } \arguments{ \item{file}{the file} \item{name}{name of the...
e75a8fe7f7aae49f09db7d41b3e16d385edbea41
b9cba8ae9cd4a6a25c1e4d51157d549228b72a05
/man/DatasetNode.Rd
d4db40e79403610d87dc462391ffd99d9afb84e1
[]
permissive
BigelowLab/thredds
8c379dbe38a7e787d2efcd731ed2c6148c037a6c
6d21f3327ef2ce8d8697741696ff3ef4b4e58377
refs/heads/master
2023-01-13T08:52:19.973214
2023-01-06T15:13:08
2023-01-06T15:13:08
159,708,386
2
1
MIT
2022-02-06T20:12:55
2018-11-29T18:14:29
R
UTF-8
R
false
true
5,129
rd
DatasetNode.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DatasetNode.R \name{DatasetNode} \alias{DatasetNode} \title{A class for a single datatset reference} \description{ A direct Dataset representation that subclasses from ThreddsNode } \note{ For examples see \link{CatalogNode} } \section{Super ...
5005d53851a76de0fb73017c0ef5807b7a3b47bd
f883128e4e174dc7b3aaa86be32a01e26a4a1c34
/Assignment2/plot3.R
665cf6940591c89dc0a2520f68a0548cb45ffc3f
[]
no_license
hannyhus/Course-Project-2
4e848b5537e1d7b45b7de0ed4ca6bbb2dd443c19
421fa2484758fc8126382c152a49ffde14db86f1
refs/heads/master
2021-01-10T11:04:06.133209
2016-01-25T17:03:48
2016-01-25T17:03:48
50,123,924
0
0
null
null
null
null
UTF-8
R
false
false
881
r
plot3.R
# Download file and unzip file project2 <- unzip("exdata-data-NEI_data.zip") NEI <- readRDS("summarySCC_PM25.rds") #Of the four types of sources indicated by the type (point, nonpoint, onroad, nonroad) variable, which of these four sources have seen decreases in emissions from 1999–2008 for Baltimore City? Which have...
2c091d172f18032cf86fb84b28d7983e6b04ab00
67407a5b702bb6fa60c8a6ebb501d0de4c95cead
/R/blueprint.R
78d328e1507041b7e18b5b394a6dcec46a7ce625
[ "MIT" ]
permissive
MyKo101/rando
0f1decd713735b465c674e70f264f78ee3eefe04
0eefa395ef3c6eabfd846c0698253400a612b9a5
refs/heads/master
2023-02-19T01:19:15.697552
2021-01-23T21:06:10
2021-01-23T21:06:10
328,973,763
6
0
null
null
null
null
UTF-8
R
false
false
3,369
r
blueprint.R
#' @name blueprint #' #' @title Blueprint a Dataset #' #' @description #' Allows for the generation of population based on a prescribed set #' of rando functions. #' #' @param ... #' arguments used to generate the blueprint, see Examples. #' #' @return #' A function that will produce a [tibble][tibble::tibble-package],...
6bbf2883b2dab3636147c0e05e500c28392f7225
a158048836d33926ef473b43263e2e7551ba465a
/R Basics 1.R
f8d448f4b5044e79d63e4b7463660bb56ead2373
[]
no_license
jezzaayt/r-basics-tutorials
e723937f847b06544d77674667b23e7b381589de
3b832845fc2d6f891e0ccebbaac6b86f87ed21ed
refs/heads/master
2023-04-13T18:12:49.914374
2021-04-24T19:11:16
2021-04-24T19:11:16
236,339,740
0
0
null
null
null
null
UTF-8
R
false
false
802
r
R Basics 1.R
# R Basics 1 print("Hello World") print(2+2) # R Lists animals <- c("giant panda", "cat", "lion", "dog") animals[1] animals[2] animals[3] animals[4] # NA Operation due to out of bounds of the list animals[5] #Shows the length of the list length(animals) # For Loop for (animal in animals){ print(animal) } p...
09a38b6f791e3b693ad17bf051356e238cf2eef5
a442d44c669e43c6f2ec2e4b532c5b33582563d0
/R/SVM_1224.R
d66d831f9f3800163b339e92ae2b31efc4d78908
[]
no_license
seunghyunshin111/Statistics_study
4f6cefbf1cc6650112a15dfde1cda885283a52fc
d1f5ca257d54fd1b75c800f84282263d6c8e4d97
refs/heads/master
2020-11-24T05:44:08.553319
2020-09-30T04:31:48
2020-09-30T04:31:48
227,990,765
0
0
null
null
null
null
UTF-8
R
false
false
2,177
r
SVM_1224.R
# 실습 # SVM setwd("c:/Rwork/data/실습용데이터모음") set1 <- read.csv("set1.csv", header = T, stringsAsFactors = F) head(set1) plot(set1) #Status가 '1'이면 '중산층', 아니면 '0' library(MASS) # x축 food, Y축 book density <- kde2d(set1$food, set1$book, n = 400) head(density) ?kde2d image(density, xlab = "food", ylab = "book") # 가운데 평균점...
8d6fead6178d045a7879d879eec384edc50fb6e2
6b8c9af8a6242a518ec14230f190cde6cc48e475
/R/bbea.subset.R
9463556aecfd7a96810260b49240bf2cdc2ec9e6
[]
no_license
catherine-hhs/bbeaR
62417d243edeb0c52364ca03878378850356e8b3
8d2627c3163421f6b5956c7c1c1f095922b829ec
refs/heads/master
2023-02-28T11:08:04.091071
2021-01-25T16:40:05
2021-01-25T16:40:05
null
0
0
null
null
null
null
UTF-8
R
false
false
451
r
bbea.subset.R
bbea.subset <- function(bbea.obj, statement) { z<-rownames(bbea.obj$pData)[statement==TRUE] print(paste0(length(z)," Samples meet the statement criteria")) L1<-lapply(bbea.obj[(names(bbea.obj)%in%c("Median","NetMFI","Count"))], function(l){l[,z]}) L2<-lapply(bbea.obj[(names(bbea.obj)%in%c("pData"))], function(l...
418102f74cce0c4eca5dd42fa2320ed8848c1e6e
29f3181d6eb312973657cfad9b2f77d5614b8f3f
/CannabisZoning/App.r
35e56a3cf811974dcae0769c3be89c167a5c8fcc
[ "MIT" ]
permissive
codeforanchorage/shiny-server
3793e4fc632cd10cf5400eeeceb7458132b25615
5139e294b3864089c2e4a667b40bed66dc17d8c6
refs/heads/master
2016-08-11T16:10:18.328378
2015-10-20T23:12:44
2015-10-20T23:12:44
44,632,987
0
1
null
null
null
null
UTF-8
R
false
false
2,510
r
App.r
##Need to combine Geojson into one file before putting into leaflet library(shinythemes) library(rgeos) library(rgdal) library(leaflet) library(geojsonio) load("map.rda") load("zones.rda") #input <- list(feetbuffer = 500, zones = "B-3") ui <- bootstrapPage(theme = shinytheme("spacelab"), title ...
5e9b7e1031fc961a25d92c4331b262ef380fca67
341bd816596e08cefca0d8de16054057877b024e
/R/sourcing_Data/PhysiData_Clean.R
501597db1f90c27ee13c888abc63c13bf6a93ae3
[]
no_license
sebastiz/PhysiMineR
caf842d85299d7550aea83462fdb8d7857961598
c6b2fb1a46b857a6c9568cb5a002e7a22e7273d4
refs/heads/master
2021-08-01T07:43:55.506905
2021-07-24T14:10:25
2021-07-24T14:10:25
125,661,981
0
0
null
null
null
null
UTF-8
R
false
false
3,580
r
PhysiData_Clean.R
#Data cleaning #Use after PhysiData_Acq AllImpedance<-merge(Impedance2,Imp_Symp,by="Imp_Id", all = TRUE) #Date cleaning #Clean up the HRM swallows: HRMImportSwallows<-HRMImportSwallows[!is.na(HRMImportSwallows$panesophagealpressurizationMapSwallowsNum8),] #Merge the HRM results together (swallows and Main) AllHRM<-...
6a4777d94c74c0bc66361c03dc8f12981116ee4f
02a1e6db6421a3949e0c2e14867cafd90ec28c96
/R/sv_get_inventory_value.R
ecef856ffd440ec529699665fb0808153b52ee12
[]
no_license
anthonypileggi/skuvaultr
ab1780055968173410642a6b18a3e45038dc4ee8
c85c73ea1b7cd54bf8b0c2d197ed432d5b046e0a
refs/heads/master
2022-10-09T15:18:16.353459
2022-09-21T17:33:42
2022-09-21T17:33:42
149,252,034
0
0
null
null
null
null
UTF-8
R
false
false
3,069
r
sv_get_inventory_value.R
#' Get total warehouse inventory value #' @param skus product skus (character/vector) #' @importFrom magrittr "%>%" #' @export sv_get_inventory_value <- function(skus = NULL) { # Compute total inventory value (static, right now) # LOCations to ignore for inventory calcs ignore_locs <- c(skuvaultr::sv_dropship_l...
88e47d398b9fb24f6d79d6a846144387cccb425b
cf847547af9e72b3b21456013eb6e85e6a2830e6
/R/print.lpc.R
526e59f01d2383e490b3b09f6a329bb563ee053a
[]
no_license
cran/LPCM
48798abd534257e2231d8604de0c31d67634a43d
a526c031d6c75c015bad40aa03d6a72069c61acb
refs/heads/master
2023-04-06T18:54:59.876739
2023-01-06T13:50:37
2023-01-06T13:50:37
17,680,250
0
1
null
null
null
null
UTF-8
R
false
false
1,618
r
print.lpc.R
print.lpc <- function(x, digits=max(3,getOption('digits')-3), ...){ sx <- as.character(substitute(x)) if (sum(nchar(sx))>200){ sx<-"name.of.this.object"} cat("\n") cat("Type plot(", sx, ") to see a graphical display of the fitted object. \n\n") cat("Type names(", sx, ") t...
d34b10f1c632a5c58790e7bec87f1e3d856c9c17
acabe90ad16ea6d151e0fb2b69edd07be012007d
/week5/R/Predict_newdata.R
ad50148d0f589ae92baceadbf9c69d1d74200ae9
[]
no_license
Taros007/ubiqum_projects
098e24db610e54bb93f0d363f6d01d9c2feed01e
566500b13e50e4e9fef2230299290fe63d7c1cd5
refs/heads/master
2020-04-28T22:05:51.003768
2019-07-16T08:14:20
2019-07-16T08:14:20
175,605,769
0
0
null
null
null
null
UTF-8
R
false
false
1,567
r
Predict_newdata.R
## Predict new sales volumes - week 5 ## Toine - March 2019 ## Load libraries ================================= library(tidyverse) library(caret) library(e1071) library(magrittr) library(doParallel) library(corrplot) library(cowplot) # Prepare clusters ================================= cl <- makeCluster(3) registerDo...
bf4e2ecf547be9c1a522998a426d213bf311361b
de963a3e0ff79f75ec45fc14638877e1be90b7fc
/processing-and-analysis/command-files/datacleaning.R
0e020873970f3aec645fa0444f5ce563ffbbebf0
[]
no_license
jrlangberkeley/ProjectTIER_R_jrl
1ce1f868bd66d1fde6388fefe172ab9d85e2c88d
4b7da584e0dd09019f42ad7c19ab5ce9ae49542c
refs/heads/master
2021-01-11T00:37:26.143136
2016-10-10T22:39:09
2016-10-10T22:39:09
70,533,120
0
0
null
null
null
null
UTF-8
R
false
false
60
r
datacleaning.R
# datacleaning.R - created by Jackie Lang on 10 October 2016
ea73fc58468954d42435d05907af523d824bcff7
e2f3fee3cb8f1abdee08724f0fe8a89b5756cfbe
/COSTdbe/man/cvTripDCF.rd
e42d66f460072f84936f2312f8dc000ba54f2aad
[]
no_license
BackupTheBerlios/cost-project
1a88c928f4d99db583a95324b31d6a02d9bd20c9
4ab39d16c48f031ca46512545895cb17e5586139
refs/heads/master
2021-01-21T12:39:53.387734
2012-03-26T14:58:36
2012-03-26T14:58:36
40,071,425
0
0
null
null
null
null
UTF-8
R
false
false
1,814
rd
cvTripDCF.rd
\name{cvTripDCF} \alias{cvTripDCF} \alias{cvTripDCF,csDataCons-method} \docType{methods} \title{Method for calculating CVs within trips} \description{This method calculates CVs of numbers-at-length estimates, total number and total weight estimates within each trip for each stratum from a \emph{csDataCons} object. It ...
1114c6055319de7d1c93206158b92b32fb3d5ee6
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.networking/man/apigatewayv2_update_model.Rd
96db40de56b1afc6569b5cfd04f13c528231b353
[ "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
863
rd
apigatewayv2_update_model.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/apigatewayv2_operations.R \name{apigatewayv2_update_model} \alias{apigatewayv2_update_model} \title{Updates a Model} \usage{ apigatewayv2_update_model( ApiId, ContentType = NULL, Description = NULL, ModelId, Name = NULL, Schema = ...
65b03020ae2e2a16e442020481c1dab11ed646a4
9252f704fa87364d875552be3c3ca22f8e965dc2
/pkg/RcmdrPlugin.lfstat/tests/testthat/test-wmo-guidelines.r
2e89c17f646cc030e4f2dfa4124d94d02d0e6590
[]
no_license
mundl/lfstat
6acb92363c286c947df348572244ed9857c5f0dc
bacf1bc3042f00307a5656b7ccad752857f0755b
refs/heads/master
2022-10-05T14:19:13.348312
2022-10-02T18:00:20
2022-10-02T18:00:20
39,436,614
8
4
null
null
null
null
UTF-8
R
false
false
8,573
r
test-wmo-guidelines.r
context("Examples from 'Guidance of WMO Software Tool for Low-flow Analysis") data("ngaruroro") ng_seventies <- subset(ngaruroro, hyear %in% 1970:1979) ng_eighties <- subset(ngaruroro, hyear %in% 1980:1989) ng_nineties <- subset(ngaruroro, hyear %in% 1990:1999) # when unit testing plot functions, we just check for th...
68bf274571c47b4e048e126fac905c09311d1447
63d97198709f3368d1c6d36739442efa699fe61d
/advanced algorithm/round3/k-server-analysis-master/data/tests/case031.rd
1299484827e6b761a67634840c7c4062f4133749
[]
no_license
tawlas/master_2_school_projects
f6138d5ade91e924454b93dd8f4902ca5db6fd3c
03ce4847155432053d7883f3b5c2debe9fbe1f5f
refs/heads/master
2023-04-16T15:25:09.640859
2021-04-21T03:11:04
2021-04-21T03:11:04
360,009,035
0
0
null
null
null
null
UTF-8
R
false
false
5,914
rd
case031.rd
20 1 [11, 2, 18] 4 4 4 10 10 2 [11, 3, 18] 1 2 6 2 12 3 [11, 2, 18] 1 2 8 2 14 4 [11, 3, 18] 1 2 10 2 16 5 [11, 3, 2] 4 1 11 2 18 6 [16, 3, 2] 5 5 16 10 28 7 [17, 3, 2] 1 2 18 2 30 8 [16, 3, 2] 1 2 20 2 32 9 [17, 3, 2] 1 2 22 2 34 10 [16, 3, 2] 1 2 24 2 36 11 [17, 3, 2] 1 2 26 2 38 12 [16, 3, 2] 1 2 28 2 40 13 [17, 3, ...
f66c8df830d2b41424467a722e78929e8495740f
3eba0e3a61d31ea6e2ce3f172f7e62395027f3bb
/Code/2-4 Packages.R
77164da35f900d1be6a78476b97c69bdae7e2a71
[]
no_license
Shubhi21a/R_Basic
36dc6cd59ef3199f5fa89fdcdf421a083fab5ba8
11edb34099ee834d094616e42d14c20a633696e8
refs/heads/master
2021-11-27T02:52:47.360157
2021-08-19T08:08:14
2021-08-19T08:08:14
144,050,798
0
0
null
null
null
null
UTF-8
R
false
false
802
r
2-4 Packages.R
# CRAN: Comprehensive R Archive Network # install.packages("ggplot2") - this is how we install via console - " " required # otherwise, go to packages tab on bottom right quadrant # click install, type name of package # the ones with blue check (in checkbox) are currently activated/in use (sorta) # can check/uncheck a...
25f8d1c753500e31368083da6909d7e6c990c0e4
1cd3ba9cf667a869a4bccbc3f71ede4dc2a38644
/Final Project/code/VaR_1M_sim_func.R
1b9290a30fe44a3087f16cb4282e0bf1d769db94
[]
no_license
Richard19leigh93/Financial-Econometrics
6f8ab966aad8d47ec6e693bb2fffc5479f9936ae
d329940dc70e125f88da7a10fdffd57d075b24ae
refs/heads/master
2020-04-02T11:14:52.447078
2019-02-06T20:51:26
2019-02-06T20:51:26
147,548,816
0
0
null
null
null
null
UTF-8
R
false
false
218
r
VaR_1M_sim_func.R
# VaR for simulations (1 Month from 2018-09-14 to 2018-10-15) VaR_1M_sim_func <- function(x){x %>% xts_tbl() %>% gather(Sim, Return, -date) %>% tbl_xts() %>% VaR(p = 0.95, method = "modified") }
dac7c83182ee2f0852aba2b970160beb9948c6b9
de80ee6aa309cd8d497e29e0f75883c2a388b4b8
/man/update_rating.Rd
7ba606213076ff09cef0776a4aebacbead9b49a1
[ "MIT" ]
permissive
Appsilon/shiny.semantic
38b359d639b8a4aee4fcbd3dab421cf15d33b26d
4b00b7c294012783e8fe80547f9ace9abf1d2214
refs/heads/develop
2023-08-15T05:32:08.153175
2023-05-04T15:58:05
2023-05-04T15:58:05
75,114,262
514
106
NOASSERTION
2023-05-05T11:05:56
2016-11-29T19:24:30
CSS
UTF-8
R
false
true
1,051
rd
update_rating.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rating.R \name{update_rating_input} \alias{update_rating_input} \title{Update rating} \usage{ update_rating_input(session, input_id, label = NULL, value = NULL) } \arguments{ \item{session}{shiny object with session info} \item{input_id}{rat...
4bc627b03639b56cb25a556f26ca9642e766687a
542422ef12c2ebf036f605f4e36faf2839dad33e
/tests/testthat.R
de95aed16f1ae8bb241ef9102952c205261648fe
[]
no_license
mvattulainen/metaheur
95ef144bc4504029e3aec57597a2692dc0f648f9
49aaf74b98136d7b9b0b265b9b9a61807a4b8d31
refs/heads/master
2021-01-19T03:59:30.619802
2016-06-30T04:38:35
2016-06-30T04:38:35
48,600,597
0
0
null
null
null
null
UTF-8
R
false
false
60
r
testthat.R
library(testthat) library(metaheur) test_check("metaheur")
f345a6a02dcdfdc1a70a09551fc7cc824b4a4dff
22e4ae4ce6921d1c765900c6365db9f228c046ce
/man/getlasttrades.Rd
add7df96db96dbf40461ea6038dc2dcb2ba5a273
[]
no_license
jfontestad/rderibit
2ceb6908bab982157650d418c73b0377d482ad60
17e044dcefeb83fc059edd79eb7470cc326b7950
refs/heads/master
2022-01-19T04:36:47.670529
2018-11-30T07:44:59
2018-11-30T07:44:59
null
0
0
null
null
null
null
UTF-8
R
false
true
1,402
rd
getlasttrades.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deribit_api.R \name{getlasttrades} \alias{getlasttrades} \title{Retrieve the latest trades that have occured for a specific instrument.} \usage{ getlasttrades(instrument, count = NULL, startTimestamp = NULL, endTimestamp = NULL, startId = N...
4b4f20d69948e8acbaacbfbbc14bacce7b981b42
f25f0ce112516575e7129ae0d370ce4a3031cdf9
/man/n2.Rd
cc45b2b3a446c047d049b634331f33c8fd59b544
[]
no_license
MatheMax/OptReSample
83fb7dfc57afafbfa3f4d4939caca7d9c35ce87f
8a3856ddb31d01b9f5daae64f58ccd12c3811416
refs/heads/master
2021-08-06T05:24:51.263279
2018-07-18T20:16:54
2018-07-18T20:16:54
130,708,697
2
0
null
null
null
null
UTF-8
R
false
true
776
rd
n2.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/n2.R \name{n2} \alias{n2} \title{Compute n_2 function} \usage{ n2(parameters, z, n1, lambda1, lambda2, cf, ce) } \description{ Computes the optimal n_2-value for a given first stage z_1-value in the Lagrangian framework. } \details...
a31c30e06ebf92a16cbd0518ad996d73ad26cb4b
06598a777d099b1a65873ae4508c7ebcab48a9a8
/RealData/SummarizeResults.R
fa7a91da950f3408b0f346948a5108e6ad154745
[]
no_license
DavidKLim/FSCseqPaper
0668d3e4193d0a3fb91f28d1e5a70154f410f678
85c895bb610ef8e0b912ac627a4ff5b43c4d78a7
refs/heads/master
2021-12-23T10:03:42.549544
2021-11-15T21:03:29
2021-11-15T21:03:29
228,465,751
0
0
null
null
null
null
UTF-8
R
false
false
25,302
r
SummarizeResults.R
# Replicate Tables/Figures pertaining to BRCA_pure and BRCA_full from FSCseq paper setwd("./RealData") tabulateResults = function(dataset=c("BRCA_pure","BRCA_full"),med_filt=500,MAD_filt=50){ library(fpc) res_dir=sprintf("./%s_med%d_MAD%d",dataset,med_filt,MAD_filt) FSC.file_F=sprintf("%s/FSC_covarsF_summary.out...
944ec7e24ce8a84d7a8e11eebb1e60ab32cd9c69
b3f7a879eef559db83eae1647f12efde56d16db0
/inst/script/testCounts.R
e17c5d744ccc66c91014941bc127028867418e9e
[]
no_license
alenzhao/copy-number-analysis
c97ae46b1dda04d1806f136050038c8cf3a54341
865ee38fcd621ef720851f11d30b965d60b8890a
refs/heads/master
2020-12-24T12:33:51.394361
2015-10-16T17:25:09
2015-10-16T17:25:09
null
0
0
null
null
null
null
UTF-8
R
false
false
972
r
testCounts.R
## Our motivation for this gist comes from the fact that we would like ## to check the counts calculated by each of the methods. ## Here we provide a simple unitTest which takes as input a GRanges ## object which contains the reads from the "tumorA.chr4.bam" file. ## we choose 5 regions and get their counts from samt...
b421ada2bbcb4f146bd5e33d128e44dcb665bdb8
9353846d41911d70f722c5688bab6223e94da199
/Adonis_PCA/DNA/DNA_Adonis_Variable_P_Value_Matcher.R
48368c4ca3026af99dbf7f6b86120a607269d00b
[]
no_license
smadapoosi/Lung_Microbiome_Thesis
b5bd0f5fd431035827ed00845e947312d73c56b7
276f4b14e184be195cb6672702b43a4663aed142
refs/heads/master
2020-03-27T22:56:13.013664
2018-12-03T17:59:49
2018-12-03T17:59:49
147,273,812
0
0
null
null
null
null
UTF-8
R
false
false
219
r
DNA_Adonis_Variable_P_Value_Matcher.R
variables <- read.table("~/DNA_Adonis_Variables.txt") pvals <- read.table("~/DNA_Adonis_P_Vals.txt") variable_pval_matrix <- cbind(variables, pvals) write.csv(variable_pval_matrix, file="~/DNA_Adonis_Matched_PVals.csv")
5de6ac20e290d8aab4ca35776b0014d0f6105d33
d474efb74fd5268fd908a2a5394a8ecc97e28f3b
/R/profiles.R
c24e05e94ca91589d0462494f57308f4cb0361dc
[]
no_license
bradleycolquitt/seqAnalysis
e1f2fbefa867ee11a51801aeeaf57ebc357a0057
d2c37fb0609754a0ec4e263dda27681717087523
refs/heads/master
2021-01-01T05:42:03.060788
2017-05-28T02:47:58
2017-05-28T02:47:58
2,284,790
0
2
null
null
null
null
UTF-8
R
false
false
3,827
r
profiles.R
#### # make profile of seq data signal over aligned features # use ".profiles" # tapply based on group #### source("~/src/R/LEA/dipdata.R") source("~/src/R/util.R") #annotations_lib <- list.files("~/lib/annotations_old") annotation_lib <- list.files("~/lib/annoset_export") #ann...
c970725c16b1b7ade3b38da6ddc7a8cf183ec6c8
5742ee9f6d59c1db4059f2fcadf17ff71613e281
/R/rgb.R
15a39acd0b538a7e32e7e73c0cbf9e2361d58106
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
jonclayden/RNifti
1fd116cc808f5ebdbed31c4cb1cebfd97106d68b
73ab7c0c847e5eac54055c9dbee46572c48cc02e
refs/heads/master
2023-05-24T08:31:19.263204
2023-05-17T18:11:02
2023-05-17T18:11:02
65,200,850
45
14
null
2020-09-04T14:13:45
2016-08-08T12:02:07
C
UTF-8
R
false
false
5,297
r
rgb.R
#' RGB arrays #' #' The \code{rgbArray} function constructs an integer array whose values are #' byte-packed representations of 8-bit RGBA colour values. The \code{channels} #' attribute (with value 3 or 4) indicates how many channels are being used. #' The resulting array can be used to construct an RGB(A) NIfTI imag...
53a304244a7248d7aa9cf0421213e9b20cd64b9e
bda5e3cff73cd238eb4ef476e04a6484a0638733
/man/ltsk.Rd
ec0df3c6c1b988689a1cde45453ff238c0ab60c1
[]
no_license
cran/ltsk
4f4468b016fc2195f07c7cab5cea3e1059cf8e95
b295006fa023a0536c5394630d64615043fe2e08
refs/heads/master
2022-11-07T14:54:12.832314
2022-10-10T18:40:02
2022-10-10T18:40:02
17,697,223
2
1
null
null
null
null
UTF-8
R
false
false
4,174
rd
ltsk.Rd
\name{ltsk} \alias{ltsk} \title{ Ordinary Local Time and Space Kriging } \description{ Function implements ordinary time and space kriging for large data sets, with automatic product-sum variogram estimation. } \usage{ ltsk(query, obs, th, xcoord = "x", ycoord = "y", tcoord = "t", zcoord = "z", vth = NULL, vlen = NUL...
6a1cebbe17d554709d4734ccf8f0be690db912c9
838de16554593428fa0d307a5a72dbea3103f850
/tests/testthat/test_parsing.R
a180c84f375192864d00fe5ea5555e2ab06f1a6d
[ "MIT" ]
permissive
Berghopper/GAPGOM
39228f2c68af23811a555730bd202f063a37aadd
cc14c79958c60f86ef00ba812921b8e4c4d56161
refs/heads/master
2021-07-11T20:35:53.671868
2020-07-01T11:58:00
2020-07-01T11:58:00
159,685,342
2
0
null
null
null
null
UTF-8
R
false
false
1,154
r
test_parsing.R
# test functions from parsing files context("parsing functions") test_that("entrez raw (fantom) id to entrez", { expect_equal(.entrezraw_to_entrez("entrezgene:123"), "123") expect_equal(.entrezraw_to_entrez(c("entrezgene:123", "entrezgene:345")), c("123", "345")) }) test_that("GO quantification", { testdf <- d...
e2a0c76e3a6b8af617ee0ab1fd6692565bdb7328
115c4aa1bd1de857dda966c0b5172eaf8b25e563
/run_analysis.R
bf607990c94a2e015dc71c8253e78c8ed8c96aa2
[]
no_license
fourmajor/datacleaningfinalproject
53db88531cdf211910f4ce7df484db0a681f9d7b
c84e4894b097789f856a42d470b4d9d742aa38c3
refs/heads/master
2020-05-29T14:40:50.638855
2016-07-27T17:51:30
2016-07-27T17:51:30
64,329,535
0
0
null
null
null
null
UTF-8
R
false
false
1,587
r
run_analysis.R
library(dplyr) # get the names of the variables and the index for the means # and standard deviations labels <- read.table("features.txt")[,2] labelsstdmeanindex <- grep("mean|std", labels) # read all the training data, keeping only the columns for means # and standard deviations train <- read.table("train/X...
0849512e6389b4dcaa4b73c10fa61818c5166e5c
38e8bcc3853deb265ef4c83358311d6ae70dccad
/560_process-blast_results_deep.R
3a7a941adf15516e0eb7e7ef86bb7e9eaa097809
[]
no_license
macrobiotus/ships_and_bugs
bedb56644a3989a85b053931713c95f5333e91f9
3ec4a17cc6a72e488ec6c650f9cc56cefb350a9f
refs/heads/master
2023-04-08T04:38:54.878450
2023-02-03T09:20:07
2023-02-03T09:20:07
504,256,465
0
0
null
null
null
null
UTF-8
R
false
false
10,097
r
560_process-blast_results_deep.R
# Calculations for Results section Taxonomy plots possibly per route # ===================================================================== # For Blast results of deeply rarfied ssamples in # /Users/paul/Documents/CU_combined/Zenodo/Blast # Part I: Get taxonomy strings for Blast results # ----------------------------...
b8b7883ff44fc0e4c6c84b62cd95b70f7e323c65
df559e3a576376882159ea21addd63db4dff77fb
/Data_Wrangling_Viz/Case_Study_07/Class_Task_13/Task_13.R
f7203f56558fb60c85bb71dc881634379c4afaaa
[]
no_license
McKayMDavis/Portfolio
ac9c8a4c97a8d881d2a09e4a59ff3581c88b881e
ee15ba7b2a8bd7d79bc603d66794477a9e376b9c
refs/heads/master
2021-01-25T12:29:58.079496
2018-03-12T05:22:22
2018-03-12T05:22:22
123,472,129
0
0
null
null
null
null
UTF-8
R
false
false
2,064
r
Task_13.R
library(riem) library(tidyverse) library(lubridate) library(forcats) library(ggthemes) #DO NOT RUN THIS CODE!!! #measures = list() #for (i in seq_along(riem_networks()$code)) { # measures[[i]] <- riem_measures(station = riem_stations(network = riem_networks()$code[i])$id[i], date_start = "2015-06-01", date_end = "201...
108f8020c752c8cbf7a5723f077eedbcd26f5c5d
4d71074b88a3e201757fd313de87a1ac18694d86
/PBS-qwait-dump.R
b55ca4bf3f7051f8d54ed6ec00f04248c1fb256b
[]
no_license
nick-wilson/hpc-usage-statistics
9be117c1cde01d84649451ccbd5d32c00938fc88
060ff176a660afb420ec1b4cc7ead5b44a6099a0
refs/heads/master
2022-10-18T19:08:19.240999
2020-05-14T11:37:57
2020-05-14T11:37:57
158,787,977
1
0
null
null
null
null
UTF-8
R
false
false
561
r
PBS-qwait-dump.R
#!/usr/bin/env Rscript source("config.R") source("PBS-Application-Stats-Common.R") # Load cleaned data load(file=alldata_R) filename<-paste0("depend.",suffix,".csv") depend<-read.csv(file=filename,header=TRUE,col.names=c("Job.ID.NoIndex","Dependency"),colClasses=c("character","logical")) data<-merge(data,depend,all....
fc0109ff05400a1f8cf32d9333b3a2088b1b74ca
131fe3dfba973e0cd9664bfb581b06dbc6d1f300
/man/ksarakil.Rd
4a7ed36797fc0329aed09b1e54fdf1a7f67de399
[ "MIT" ]
permissive
aczepielik/CrossTabCluster
d61592ec6a78584ee087abd86181f0fa0721d056
bdb4719502e09641cb38fb163207cebc44b7733a
refs/heads/master
2022-11-11T00:18:08.822129
2020-06-13T14:02:34
2020-06-13T14:02:34
268,132,246
0
0
NOASSERTION
2020-06-13T13:10:13
2020-05-30T17:54:04
R
UTF-8
R
false
true
333
rd
ksarakil.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datasets.R \docType{data} \name{ksarakil} \alias{ksarakil} \title{Lithic tools from Ksar-Akil excavations} \format{The 10x5 contingency table.} \source{ Alesi } \usage{ ksarakil } \description{ Lithic tools from Ksar-Akil excavations } \keywo...
6e584082a798b1469bbb17d64158b5c5179207f7
0a906cf8b1b7da2aea87de958e3662870df49727
/gjam/inst/testfiles/tnormRcpp/libFuzzer_tnormRcpp/tnormRcpp_valgrind_files/1610047197-test.R
e704f50773376ea19135661837d1e6c3ab12ba45
[]
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
191
r
1610047197-test.R
testlist <- list(hi = 2.56734752865526e-289, lo = 2.56734752865526e-289, mu = 2.56734752865526e-289, sig = 2.56734752865526e-289) result <- do.call(gjam:::tnormRcpp,testlist) str(result)
a614e4e68c905f9560ae131eb6fb80e08a19f299
ece4f2684b23d8058a0bc5aadc9a20e8fff11d36
/Source Files/7_Comparison Operators.R
f2fb097cdd191ad5d07eeac6d6e5326a83ffb77e
[]
no_license
tanussingh/Machine-Learning
0e6b961408beb96caebdd73f32f2bdd410bc2977
36c5e08c3df7cf77ca81443aa20308c4c0072677
refs/heads/master
2020-04-24T05:03:29.453955
2019-10-09T17:14:15
2019-10-09T17:14:15
171,724,183
0
0
null
null
null
null
UTF-8
R
false
false
591
r
7_Comparison Operators.R
# Comparison Operators # In R we can use comparison operators to compare variables # and return logical values. 5 > 6 6 > 5 v1 <- c(1,2,3) v2 <- c(10,20,30) v1 < v2 6 >= 6 6 >= 5 6 >= 7 3 < 2 2 <= 2 # Be very careful with comparison operators and negative numbers! Use spacing to keep things clear. ...
bb050c2b841e5d47891b08799c71b2dc3261c654
f26781b86f2dea0394809d1951bad4550d82ba3c
/script/build_adpx.R
333e1b66cb92d2e680fad60be334a7cbebfdd0e8
[]
no_license
fyang72/handbook
0ac0d616f033747347bce3fe72219223a2553ab8
89abb7b557b83d9b651821780b92410623aaa9a2
refs/heads/master
2022-09-30T10:36:14.303860
2019-12-16T19:32:13
2019-12-16T19:32:13
171,066,670
0
0
null
null
null
null
UTF-8
R
false
false
7,153
r
build_adpx.R
######################################################################## # pkmerge from adsl, adex, adpc, and others ######################################################################## build_adpx <-function(adsl=NULL, adex=NULL, adpc=NULL, other=NULL) { validate(need(adsl, message="no adsl in build_adpx"), ...
dac3a61b1c3333660f5beb7feda6b9a986cfbf0d
cc9bc0cb7986d673ecf31cd98529fd927aac9b71
/man/hexbinpie.Rd
05904052fd0036609aa428754b6f4669ecdb6fc8
[]
no_license
cran/somplot
712f08f9b9e36883b06338aa73f2610117ad2a5c
c84892ebdc715b87b0b18b0a49e3578ba4c637cf
refs/heads/master
2021-01-01T16:35:16.483867
2013-07-21T00:00:00
2013-07-21T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
1,850
rd
hexbinpie.Rd
\name{hexbinpie} \alias{hexbinpie} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Function, used by som.plot to create plots of Kohonen maps } \description{ The function is used by \code{som.plot}. It is not necessary to call \code{hexbinpie} directly. The function draws pie charts in a hexagona...
bffdc8355b8504324a8e9a69f52325810c2cb21d
85ef29e3109ac537b0a61a3363dbfe5a22f8ef55
/code/Basics.r
cdd69967a2664380f9b8cd517b00d58d2c6dc4b9
[]
no_license
Redwa/LiveBeginnerJune18
e2941bd1a615d14ce97194700aa2741e6ace784f
c2debe621a00d68bac78f80a0d81cbae11f8b20d
refs/heads/master
2020-03-23T15:39:55.869897
2018-06-19T16:54:56
2018-06-19T16:54:56
null
0
0
null
null
null
null
UTF-8
R
false
false
72
r
Basics.r
1 - 1 2*4 x <- 2 x x <- 3 x x <- c(1, 2, 3) x x + 2 x x*2 3 -> y y
61a63add4861ca1a6f9ac19c49842b27af0e209b
83ff66e08bde51d1b31b12ee7b5452fb2fed2432
/write-data2.R
b916f13905f561c7b478c0b08deab54ea6b4c06f
[]
no_license
favrin/CUP
1bf23a7b45c04734ec3386434f1968d16a70304c
6a9fb89715d7b8e961c68878f60e2706f0b1e84f
refs/heads/master
2021-01-20T19:59:50.053291
2016-08-24T14:08:04
2016-08-24T14:08:04
61,106,221
0
0
null
null
null
null
UTF-8
R
false
false
1,843
r
write-data2.R
setwd("~/Documents/Dropbox/NEO4J-TEST/CUP-try") library(gdata) library(boot) library(xlsx) #LINES = 629697 LINES = 300 #data1 <- read.delim("author-journal.csv",header=F,stringsAsFactors=F,,sep=",") #data2 <- read.csv("article_date2.csv",header=T,stringsAsFactors=F) data <- read.xlsx("authordata.xlsx",header=T,sheetNam...
c10d75715236c8128f9dcd5bd85946d88bc840c4
e357ee46a147c06a694bcfbb6d9970cc7caefcbb
/cachematrix.R
05d53164e7a4fed7a312570a3e67c93e9f2eb1c2
[]
no_license
StreetsefeR/ProgrammingAssignment2
8b1eaab478d84725aa8b8e8941e2b800c06fab91
a340a21bf04ae63d522c1e4f1e767feca741cf00
refs/heads/master
2021-01-20T21:19:55.140638
2015-02-21T16:45:34
2015-02-21T16:45:34
31,128,670
0
0
null
2015-02-21T14:53:44
2015-02-21T14:53:44
null
UTF-8
R
false
false
1,527
r
cachematrix.R
## functions cache the inverse of a matrix ## limitation: the matrix supplied must be invertible - error handler is not included ## creation of special "matrix" object which is designed to store the matrix and related inversed maxrix makeCacheMatrix<- function(x = matrix()) { s <- NULL # assigning local m standing...
974a246563809c6bf0828f48e0d4cec738b746e3
990522e11be5e495a43b0d118ddf31f873bc393a
/NYTD_YAR_HOMELESSNESS/imputation.r
d36d408625132467b70496ede4518d93c9504d73
[]
no_license
cssat-graveyard/nytd
32327e8d551c1bc3c19b5676d3102573203b873f
4874f8d6e889fe44b70e958d8268bac7db661efa
refs/heads/master
2021-05-29T06:25:28.275078
2015-05-18T21:19:30
2015-05-18T21:19:30
null
0
0
null
null
null
null
UTF-8
R
false
false
13,161
r
imputation.r
a.test <- sqlQuery(con, "SELECT TOP 1000 datayear ,recnumbr ,st ,[latremlos] ,[settinglos] ,[previouslos] ,[lifelos] FROM [public_data].[afcars_foster_care_00_12] WHERE datayear > 2003 ORDER BY datayear") test <- sqlQuery(con, "SELECT TOP 1...
8b3d3d4e1458737b7658405d85454c3b5ffe835a
08ccf80fc2b45e33c22e196f20f952f022a56c3a
/man/filter_by_ss.Rd
c5ba33e993ef3a4322b47e076427194d2cc9bb17
[]
no_license
brodriguez97/spotiverseR
ef76a982f19c0836dfbe26ae86e9b781df1bb03a
8adc3fe0510456a0ea29bae65aa497d7944ffb61
refs/heads/master
2020-04-11T06:16:11.321025
2018-12-13T01:42:23
2018-12-13T01:42:23
null
0
0
null
null
null
null
UTF-8
R
false
true
889
rd
filter_by_ss.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filter_by_ss.R \name{filter_by_ss} \alias{filter_by_ss} \title{Filter Data by a Substring} \usage{ filter_by_ss(data = data, col = playlist_name, substring) } \arguments{ \item{data}{a dataframe of a user's playlists} \item{col}{playlist_nam...
fab18b84db7167705b008d29a2eb8474622a8b82
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/REDCapR/examples/redcap_upload_file_oneshot.Rd.R
0275e079f5ebeadf678100d837628c864711d428
[]
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
1,196
r
redcap_upload_file_oneshot.Rd.R
library(REDCapR) ### Name: redcap_upload_file_oneshot ### Title: Upload a file into to a REDCap project record. ### Aliases: redcap_upload_file_oneshot ### ** Examples ## Not run: ##D #Define some constants ##D uri <- "https://bbmc.ouhsc.edu/redcap/api/" ##D token <- "D70F9ACD1EDD6F151C6EA78683944E98" #F...
8a54c79bb4f8e249b3b41ecae6d09764d2927a5b
dad1e39f9c51f652001706bc3e115244f5000b88
/man/rchild.Rd
a500459a8dcf52241595a8311846ffa583ea914f
[]
no_license
cran/rvHPDT
3a31b892222801aee5ef5a02dd6ec81a9c3ab73e
ba4e6b2ac36f2734fc28d1fb8a10606024a24776
refs/heads/master
2022-06-07T04:31:16.496808
2022-05-12T20:30:02
2022-05-12T20:30:02
17,699,412
0
0
null
null
null
null
UTF-8
R
false
false
195
rd
rchild.Rd
\name{rchild} \alias{rchild} \title{Internal function.} \description{ Generate child's genotype by permuting the transmission and non-transmission status based on parents' genotype. }
dd5efe9a3bac2b8dc1cd44c1eabbe5fba865a0fc
0b23ba8385531b4efba2aa385b6640fb19d01713
/tests/testthat/test-plot_mx_umap.R
5c7ac6962c9aa0f96d351822dc96d4e4b898e0ce
[ "MIT" ]
permissive
ColemanRHarris/mxnorm
1102246d545d4fe6c057adc5e4a576e7312b62b0
ac6cd78772da0624fdc119fcfd764aedad96e559
refs/heads/main
2023-05-11T20:33:10.211335
2023-05-01T16:49:11
2023-05-01T16:49:11
404,084,403
3
3
NOASSERTION
2023-05-01T16:33:34
2021-09-07T18:32:41
R
UTF-8
R
false
false
571
r
test-plot_mx_umap.R
test_that("plotting works", { mx_data = mx_dataset(mxnorm::mx_sample, "slide_id", "image_id", c("marker1_vals","marker2_vals","marker3_vals"), c("metadata1_vals")) mx_data = mx_normalize(mx_data, transform="log10",method="None") ## no umap expect_error(plot_mx_umap(mx_data)) ## not obj...
b6912ec19065257eeefa1458b9fc220aaf46b483
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/logKDE/examples/bw.logCV.Rd.R
30640aa94aa01518589d95968141083a143fa0d5
[]
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
196
r
bw.logCV.Rd.R
library(logKDE) ### Name: bw.logCV ### Title: Optimal CV BW estimation for strictly positive distributions. ### Aliases: bw.logCV ### ** Examples bw.logCV(rchisq(100,10), grid=21, NB=512)
44cda1bf26d3019aa91d7fee51056032588a2d5a
272fca8ac645b89b3796ce90453fee8ad090a491
/script_20220722/MBC_QDM_biasCorrection_20200623.R
cacf6bea30e9e24bbf37a2e520a72bbb7836e4f1
[]
no_license
caubrywake/FuturePeyto
24e7f3b7e216c72e01b6b3489a35af71de184870
6bc6d4262d9415d699c70b8abdfa9b1637d35377
refs/heads/master
2023-04-14T17:21:14.805835
2022-07-23T03:19:21
2022-07-23T03:19:21
259,411,154
0
0
null
null
null
null
UTF-8
R
false
false
12,150
r
MBC_QDM_biasCorrection_20200623.R
## Bias correcting the WRF dataswet # Code from logan # editd July 1- to get a bias corrected obs for the 5 cell covering peyto correpsonding to different elevations setwd("D:/FuturePeyto/WRFdataset") ## Load packages library(CRHMr) #install.packages('MBC') library(MBC) ## Import data: Obs, WRF current and WRF ...
239ae890b9af608d723885929b6df0e288dc2346
63d30cf510e106dc076ecf0f7fb18fad8457964f
/cariceae/R/gbif_functions_JP.r
f800413fa3e6932edfeada9b9c8db4b3198c210d
[]
no_license
andrew-hipp/mor-systematics
09ef8a5a7c0b88572d6b63ba3afdc2c774b5fc3a
c183d76adeb0d861b262c8cb621d46b433894b40
refs/heads/master
2022-12-24T00:06:09.465559
2022-12-16T14:03:45
2022-12-16T14:03:45
33,579,749
1
0
null
null
null
null
UTF-8
R
false
false
19,209
r
gbif_functions_JP.r
###GBIF/NICHE MODELING FUNCTIONS (v1.3 7-5-2013 R code) ### To download gbif data for Cariceae sp, clean up data (remove duplicates, remove less precise georef's to create niche maps of different Taxons ### Marlene Hahn and Andrew Hipp May 2013, as part of Carex project, (based on original R coding by Marcial Escude...
d81d8d15ac69c6c2dafec08aa183f40e23d8f0dd
263ea8a1ba4b5240af63c086ee54b5605b5326a0
/tests/testthat/test-dictionary.R
72cb900277c97a5de8c992ca589287e80365f091
[]
no_license
iMarcello/Kmisc
fa3c733d4b0c7583e15b686af1a639a0cff801bf
0a35b51944528ed4adb24d3c6687c8c7cc9fe549
refs/heads/master
2020-05-26T07:49:16.073307
2018-06-12T17:31:55
2018-06-12T17:31:55
null
0
0
null
null
null
null
UTF-8
R
false
false
642
r
test-dictionary.R
context("dictionary") test_that("dictionary primitives work", { d <- dict() d["a"] <- 1 expect_identical(d[["a"]], 1) expect_identical(d["a"], list(a = 1)) d["b"] <- 2 expect_equal(d[["b"]], 2) expect_equal(length(d), 2) d[["c"]] <- 3 expect_equal(d[["c"]], 3) d[["c"]] <- 4 expect_equal(d[["c"]]...
7e78c1c93e143842699793c418b38fd4ece70726
cf8eea265b5047140ced80096665085ee06e279d
/old/OF_main.R
4bf0aa4c7bd58966abca6eaf5c54e951c25b60b2
[]
no_license
mcauchoix/Rscripts
bada5e167544ad61ee7f1a17e7e6fb1c451ca874
12b87c98d3adb7a3c89a0f79419084b791f021b0
refs/heads/master
2021-05-06T22:11:39.812896
2020-06-19T08:59:46
2020-06-19T08:59:46
112,726,270
0
0
null
null
null
null
UTF-8
R
false
false
3,999
r
OF_main.R
# Analyse OF data # mcauchoixxx@gmail.com, 5/12/17 #-------------------------------------------------------- #to do # remove XXXXXXX and ??????? #-------------------------------------------------------- rm(list = ls()) # function #--------- source('~/Documents/openfeeder/Rscripts/slideFunct.R') #files #--------- out='...
2c0e275a86b0e0ba91f351ec40f64cbee445a845
590c0557362a67bdb240a2da1becb4e8bc74e8d2
/man/update_W_mc_H_depprecated.Rd
ed6ae1c190e72f0207a1a820a2158eee1dc6734c
[]
no_license
zshwuhan/MMLE-GaP
df96058574cbd11c20bb988f4e86d691572f5fdc
b6824b2883b0f60eb8aec0706d27d9dd79439717
refs/heads/master
2021-09-21T23:54:22.841935
2018-09-03T15:04:03
2018-09-03T15:04:03
null
0
0
null
null
null
null
UTF-8
R
false
true
419
rd
update_W_mc_H_depprecated.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/update_w.R \name{update_W_mc_H_depprecated} \alias{update_W_mc_H_depprecated} \title{Maximize w.r.t W using H with multiplicative updates} \usage{ update_W_mc_H_depprecated(W, V, H_samples) } \arguments{ \item{W}{the (whole) current dictionar...
2d2fb147d0527e7d757652dfcd2cf40ed28d3dac
527978cc4bc62a41834103aaf31129bcdb2a26a0
/functions/data/formatBatting.R
a4d42993007424fb0a5f40d627f13eb473be8614
[]
no_license
sportModel/mlb
8386bf7c556a80894d34926de0a7630ce86d1283
138bb3e81c15fe1ef776cf3b3bafc2a01032db3f
refs/heads/master
2021-01-01T20:44:51.816268
2019-10-02T11:03:51
2019-10-02T11:03:51
98,925,203
0
0
null
null
null
null
UTF-8
R
false
false
171
r
formatBatting.R
formatBatting <- function() { val <- NULL for (i in mlb.par@team) { team.batting <- formatTeamBatting(mlb.par@year,i) val <- rbind(val,team.batting) } val }
e8b15ef98a77994e62462e3f54cd35154724bc00
1cb7c773f534d184ac189c6b7afbc7728bd39d91
/man/model.Rd
ed27149617a1db8697eb1a72be89c1f592dcf5ea
[]
no_license
gaborcsardi/finmix
bc743cfa939aae0918d4471cccf2872a98c2e41a
a68ebf10f0348663338731bca1a9ab93598641eb
refs/heads/main
2023-08-28T04:09:45.447626
2021-09-01T07:22:54
2021-09-01T07:22:54
422,958,511
0
0
null
2021-10-30T18:17:37
2021-10-30T18:17:36
null
UTF-8
R
false
false
12,451
rd
model.Rd
\name{model} \docType{class} \alias{class:model} \alias{model} %accessor \alias{getDist, model-method} \alias{setDist<-, model-method} \alias{getR, model-method} \alias{setR<-, model-method} \alias{getWeight, model-method} \alias{setWeight<-, model-method} \alias{getPar, model-method} \alias{setPar<-, model-method} \...
6baf9d8db0e93142950611eee7b6faae3f005eb6
abcce11a739b6f3554cbf1a9d19c8c22aed4fcca
/man/get_perc_risk_index.Rd
0ed9a58b1fff24f4080d6ec5c981f1bd8fdfb64f
[ "Apache-2.0" ]
permissive
cran/caliver
661f6a1fc8b32143c680945f4f26b1a9d0e2f514
ad4aa8197977347f7f67f8a915e50066bd4152ef
refs/heads/master
2023-03-07T15:49:43.881801
2021-02-19T10:00:03
2021-02-19T10:00:03
340,412,789
0
0
null
null
null
null
UTF-8
R
false
true
1,455
rd
get_perc_risk_index.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_perc_risk_index.R \name{get_perc_risk_index} \alias{get_perc_risk_index} \title{get_perc_risk_index} \usage{ get_perc_risk_index(b, poly, perc_val = 75, mod = "gt") } \arguments{ \item{b}{RasterLayer/Brick/Stack containing the historical ...
6fba5a4a2cd0b69f670fd8412b7ebdef83744283
4846b5b3748b6724d7c379dae7572e9fa90a798d
/man/ExtractTranscriptomeSequence.Rd
6d8d71d1c2d02c80ab7e28a7612f593566993321
[]
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
1,940
rd
ExtractTranscriptomeSequence.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ExtractTranscriptomeSequence.R \name{ExtractTranscriptomeSequence} \alias{ExtractTranscriptomeSequence} \title{ExtractTranscriptomeSequence} \usage{ ExtractTranscriptomeSequence( transcript_list, ref_genome, genome_gtf, RNA_fragment =...
b616ff3ed52ecf081e6c2935540a35291af3fa47
29585dff702209dd446c0ab52ceea046c58e384e
/nonlinearTseries/R/corrDim.R
df6de00ac6c9bee6e3557d55f157d9d0fd3c370b
[]
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
20,273
r
corrDim.R
################################################################################ #' Correlation sum, correlation dimension and generalized correlation dimension #' (order q >1). #' @description #' Functions for estimating the correlation sum and the correlation dimension of a dynamical #' system from 1-dimensional...
97d8ed695addec423608e23e7382fdbef699b729
0a230e74f7343a500cf667c725a798d42ec12539
/man/post_html_from_Rmd.Rd
7e723b5fd44b5ee956ee55055f5d9f0d5285cf67
[ "MIT" ]
permissive
kbttik/posteR
2793a0495a226e254a598756e8cc6a4098fdc86b
fedbf6d12ad924be9421a0bc12e010be6065eae0
refs/heads/master
2022-12-11T15:00:10.896933
2020-09-10T08:56:31
2020-09-10T08:56:31
285,782,789
0
0
null
null
null
null
UTF-8
R
false
true
553
rd
post_html_from_Rmd.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/post_html.R \name{post_html_from_Rmd} \alias{post_html_from_Rmd} \title{htmlレポートをPOSTする} \usage{ post_html_from_Rmd(Rmd_file, interactive = NULL) } \arguments{ \item{Rmd_file}{character レポートへのpath} } \value{ \code{post_html_from_Rmd()} return...
ef77337bcc46b39b445bbc278238cdcfafa74df6
11de9e10b0b9fa137bbf8607bfd321e9d5fede6e
/mPowerEI/man/adjustDriftLowess.Rd
a26ae8639fe999cfb86ba4c64538310f58b0e92b
[ "MIT" ]
permissive
MonteShaffer/mPowerEI
dbc906db491716f15295899f7e10efac6601531b
d587c4fda58a377b9bbfb3327411249a11049aa2
refs/heads/master
2021-05-16T08:48:51.456692
2017-10-05T11:03:30
2017-10-05T11:03:30
104,287,224
0
0
null
null
null
null
UTF-8
R
false
true
385
rd
adjustDriftLowess.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/buildFeatures.R \name{adjustDriftLowess} \alias{adjustDriftLowess} \title{Adjust position based on lowess} \usage{ adjustDriftLowess(xt, yi) } \arguments{ \item{xt}{} \item{yi}{} } \value{ updated yi } \description{ Assume walking in straigh...
21b992aa24fd9888c4d8ab31262a4cab051f44d6
b626eca042800ee5572344262a165c1989235f73
/paper/Rcode/19-alt-a-plot.R
71a2efe20ca6335bf80c3f7ed35679b6bfa9b072
[]
no_license
nicoballarini/SubgrPlots
38f04f07478c672cae761b1a9cd1fa5f79062d6e
61229c9f36c9650f71b178b970a80d2a7bf9471d
refs/heads/master
2020-03-13T12:59:46.419273
2020-01-29T02:26:45
2020-01-29T02:26:45
131,130,461
3
0
null
null
null
null
UTF-8
R
false
false
1,121
r
19-alt-a-plot.R
###############################################################################- ## ## This program creates the figures for the manuscript using the ## prca data that is included in this package ## ## ## Instead of using rm(list = ls()), make sure you start with a fresh R ## by restarting R -> Control+Shift+F10 # cat("...
bf3783063028b4ff114f05708f6f06333b90782e
3578d3e6b04ff37d299980d648a64dcf26e95e09
/R/db/MMdb.R
f432b08d564b81faeda3f4d2517f294973186e62
[]
no_license
eduardoscopel/util
ae6342d9c30a7d0cec55b160301ec9e7bb0db26d
f306a2dc4589522d0d5d5b130fdcf21c98cd1db9
refs/heads/master
2021-05-30T00:25:48.120182
2015-12-30T20:26:48
2015-12-30T20:26:48
null
0
0
null
null
null
null
UTF-8
R
false
false
5,217
r
MMdb.R
MMDB.PATH <- "/db/arrays/megamuga/megamuga.db" .types.quotes <- function(col, ...) { col.type <- "int" col.quotes <- "" if (col == "name") { col.type <- "varchar" col.quotes <- "'" } return( list(type = col.type, quotes = col.quotes) ) } .insert.samples <- function(ids, db, temp.table = "_mysamples",...
176e2a44be9524d1c0866755f61ac7f5dfc4e095
2c7f3011575aebd35c4f954c65541b5a7415f5a3
/homework_03.R
c8d757c72c98cf47cc8132a1b8193a544614c283
[]
no_license
jj-personal/get_clean_data
87d9ed13585cbcd09b8323d5d91850c48a83f81d
bfb169b107a47b6076ba1eab48fbc14dc7d9c023
refs/heads/master
2021-01-20T06:12:55.008850
2017-05-08T18:46:49
2017-05-08T18:46:49
89,856,584
0
0
null
null
null
null
UTF-8
R
false
false
2,194
r
homework_03.R
## R code for ## Getting and Cleaning Data ########################################### ## Read and merge x train and test data x.train <- read.table("./UCI HAR Dataset/train/X_train.txt") x.test <- read.table("./UCI HAR Dataset/test/X_test.txt") x.merge <- rbind(x.train, x.test) ## Extract features with "mean" & "st...
354c1901464f99b0d9074ea27b3d1aec384f41c2
da0bde5d3019691bf541eb0bd0df9de69f3f4e93
/r_workshop_codes/slide_67_binomial_distribution.R
427a43ef6615f046ed0213ec2c152b66e13320a3
[]
no_license
rnradon/r_workshop
9de29eca296926a52c285fb3110328ec306da500
c39f3a08345e02c91cd8026810c7ba592aebcd64
refs/heads/master
2021-05-11T19:52:00.856478
2018-01-29T16:07:23
2018-01-29T16:07:23
117,425,358
1
0
null
null
null
null
UTF-8
R
false
false
625
r
slide_67_binomial_distribution.R
#DBINORM() #dbinom(x, size, prob) # Create a sample of 50 numbers which are incremented by 1. x <- seq(0,50,by = 1) # Create the binomial distribution. y <- dbinom(x,50,0.5) # Plot the graph for this sample. plot(x,y) # Save the file. dev.off() #PBINORM() # Probability of getting 26 or less heads from a 51 toss...
3c0129779a94e0508bc88aca161d89d3fbc1a416
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.machine.learning/man/textract_start_document_text_detection.Rd
f37ad5058b5fe4367bb2b53e20b354a7e467fab4
[ "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
2,284
rd
textract_start_document_text_detection.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/textract_operations.R \name{textract_start_document_text_detection} \alias{textract_start_document_text_detection} \title{Starts the asynchronous detection of text in a document} \usage{ textract_start_document_text_detection( DocumentLocat...
21dfec89c5a4c04d10a6572228e77dd3b95f8e05
a3c197315237165f64bcd5beacace973e2cf5ca9
/analysis/study2.R
4fbd6cd64b0d40cfcc84ec4a7ac725daf1fdeb45
[]
no_license
FinkAr/mix_setbased_discrete
056ef74d77d426313356b32f59e4c885da2c9d95
e21797323e78d53800660bd48e6d6f6f7749a474
refs/heads/main
2023-08-17T00:39:46.497675
2021-09-23T21:50:45
2021-09-23T21:50:45
null
0
0
null
null
null
null
UTF-8
R
false
false
2,327
r
study2.R
library(tools) library(progress) library(TestDesign) fp <- "~/Box Sync/Behaviormetrika_Special_Issue/Article_2_PassageCAT/Results" # needs to be replaced with the path of your own simulation results folder # run the simulation first using: simulation/study2.R fs <- list.files(file.path(fp, "Study2")) o <- as.data.fra...
ed545756d5e597a8e8685e4d02b74be7d66f1d1e
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/interep/R/penalty.R
2a297cc8c66a04d526734888688acf57b755008c
[]
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
false
1,958
r
penalty.R
#' This function gives the penalty functions #' @importFrom stats gaussian #' @param x matrix of covariates. #' @param n the sample size. #' @param p the number of predictors. #' @param q the number of environment factors. #' @param beta the coefficient vector. #' @param lam1 the tuning parameter lambda1 for individual...
f7dad67da8dbacd6963d9282b653d3637735c1df
1ac2a49a60a821bd2efa4534b48041b9a279ccbe
/019000591.r
a23732232a4eb0ea35d637384e17737152597355
[]
no_license
erex/MT4113-2016-asmt1-old
301ba43d616d529469cdfee16130234174b99827
42ceed426fb9980b53d01b724e8855df785ebcb4
refs/heads/master
2020-05-23T08:11:20.797156
2016-09-27T09:38:38
2016-09-27T09:38:38
null
0
0
null
null
null
null
UTF-8
R
false
false
12,685
r
019000591.r
# MT4113 - Assignment 1 # Random Number Generation # I confirm that the attached is my own work, except where clearly indicated in the text #-------------------------------------------------------------------------------------------------------------------------------------------------------------------- #----------...
93ba697635f4ed57ac3320a44857b35f535d0511
efc90920e92248b31fee1603f9a038e54efa4e1b
/man/cpbR.Rd
8b7ad6b759b875664ca40a820621205390eedc68
[]
no_license
jtilly/cbpR
122a9f9c343294e368f65852a96e0a6a999df74a
fd881c5e13c2e95d4b84e1d89855bd36deffc21b
refs/heads/master
2021-01-22T10:19:08.049589
2017-01-03T15:02:06
2017-01-03T15:02:06
30,133,513
15
6
null
2017-07-07T21:41:09
2015-02-01T02:13:01
R
UTF-8
R
false
false
2,204
rd
cpbR.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/cpbR.R \docType{package} \name{cpbR} \alias{cpbR} \alias{cpbR-package} \title{Get the firm count data from the County Business Patterns (CBP)} \description{ This is an R Package that downloads and prepares panel data sets from the Cen...
e20b8874b8044766dcb6ef36a4f808b2922f13ef
b7aca1dea3c0bcbc208f8ae20e3e7c283df48b2b
/man/h_test.Rd
53f04a3a328cc45b420b7de7e65cdbc092dd9a12
[ "MIT" ]
permissive
thjsal/Dipol2Red
df983398b69c73f8d0b1d7e408a6ed8e4355fbef
ce5fa892398e781983ebce51b18ddae95ae4c7f2
refs/heads/master
2022-03-28T16:04:54.074569
2020-01-09T12:24:26
2020-01-09T12:24:26
null
0
0
null
null
null
null
UTF-8
R
false
true
509
rd
h_test.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/h_test.R \name{h_test} \alias{h_test} \title{h_test} \usage{ h_test(data, p_x = Px, p_y = Py, sg = SG, cov = Q, n = N) } \arguments{ \item{data}{Two-row input tibble} \item{p_x}{Px polarization column name} \item{p_y}{Py polarization column...
e7341549e30e4ed35109a80c162ecef06c6c564a
f6950a133577ee09ab032a0f17a8ccd2141467a6
/R/testDriveR-package.R
f4e5c0c6bd34ff8cbe21b59043b0cbc1d8a73baf
[]
no_license
cran/testDriveR
2a610463b44e3d578303a6ba40263ad9ec5ec271
1a54e4eda576818500cd98ee0b469199e7d433cf
refs/heads/master
2022-06-16T16:18:40.243419
2022-05-29T04:30:02
2022-05-29T04:30:02
146,950,995
0
1
null
null
null
null
UTF-8
R
false
false
1,391
r
testDriveR-package.R
#' testDriveR: Teaching Data for Statistics and Data Science #' #' @description The goal of \code{testDriveR} is to provide data sets for teaching #' statistics and data science courses. This package includes a sample of #' data from John Edmund Kerrich's famous coinflip experiment. These are data #' that I...
a5eae85da0873d09e6ab9502ea7f9b109057f6c0
0ae69401a429092c5a35afe32878e49791e2d782
/trinker-lexicon-4c5e22b/inst/scraping_scripts/profanity/profanity_alvarez.R
125fc0f646c3e3f280802b1bd2e7ffc19910a84a
[]
no_license
pratyushaj/abusive-language-online
8e9156d6296726f726f51bead5b429af7257176c
4fc4afb1d524c8125e34f12b4abb09f81dacd50d
refs/heads/master
2020-05-09T20:37:29.914920
2019-06-10T19:06:30
2019-06-10T19:06:30
181,413,619
3
0
null
2019-06-05T17:13:22
2019-04-15T04:45:06
Jupyter Notebook
UTF-8
R
false
false
4,586
r
profanity_alvarez.R
pacman::p_load(xml2, rvest, tidyverse) profanity_alvarez <- c("*damn", "*dyke", "*fuck*", "*shit*", "@$$", "ahole", "amcik", "andskota", "anus", "arschloch", "arse*", "ash0le", "ash0les", "asholes", "ass", "Ass Monkey", "Assface", "assh0le", "assh0lez", "asshole", "assholes", "assholz", "assrammer", "asswipe", "ayir",...
eb8be18e0f71819a4128db69c05954b5dfe33b47
da268d2348146517eeeaeeca46c413abdb854aac
/plots.R
888ff423ef7752103c15d78a4e114924fbb610fa
[]
no_license
ss4357/cv
91ac882173d38058dd73514a69f698029361f312
d7348dec25c6450685d034a9d96854056a012757
refs/heads/main
2023-02-25T06:16:21.192693
2021-02-18T09:31:29
2021-02-18T09:31:29
338,507,336
0
0
null
null
null
null
UTF-8
R
false
false
7,148
r
plots.R
library(tidyverse) library(readxl) library(ggfortify) library(ggplot2) library(EnhancedVolcano) project_dir <- dirname(dirname(rstudioapi::getActiveDocumentContext()$path)) #ms2 validations--------------------------------------------------------------------------------- valid_lp <- read_xlsx(paste0(project_d...
df98d322ebe0daa83e64c8fa1904a53ff575c6e2
e286830b40628a7b920c9977f1995a340e48ea46
/man/prepare_categorical_force.Rd
9b95bedfd37de65f3b8a237d9f83f6cb14681ba2
[]
no_license
cran/rsetse
48871acf46ef37e53bf5741dcd73bc467fefe7b3
7e412f53e2e2ca38871ec476424a32aafa0075b7
refs/heads/master
2023-05-25T16:50:57.098677
2021-06-11T09:00:02
2021-06-11T09:00:02
315,994,456
0
0
null
null
null
null
UTF-8
R
false
true
2,406
rd
prepare_categorical_force.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/prepare_categorical_force.R \name{prepare_categorical_force} \alias{prepare_categorical_force} \title{Prepare categorical features for embedding} \usage{ prepare_categorical_force(g, node_names, force_var, sum_to_one = TRUE) } \arguments{ \it...
9adeeb378b67638e8514ca558c08fa79461d7856
5b425ec9d1b4f535330c3c0d39b86273f00e079b
/Data_Preprocessing/R/data_preprocessing.R
4ebcffe8403d68abeb15eb32821ae4a55fd98d9e
[]
no_license
VisualTornado/ML
4807ec680457fbfaf7a0ee9ce7f8527f7efab6c0
b3596bc232f504707a451845a6d888556f30d3f5
refs/heads/master
2021-10-16T10:14:13.061232
2019-02-10T11:30:50
2019-02-10T11:30:50
104,111,691
2
0
null
2017-10-04T18:44:27
2017-09-19T18:21:27
Python
UTF-8
R
false
false
1,867
r
data_preprocessing.R
#!/usr/bin/env Rscript #-----Import the Dataset-----# getwd() # check current working directory dataset <- read.csv('Data.csv') #(dataset) # Taking care of missing values #----Calulate mean of the col seprately and apply a function using this mean including the missing values----# dataset$Age <- ifelse(is.na(data...
953c536852cd40c9ec013ddf41602f27ac704294
2efd08b36b4d7a60f94617dee81668235d589651
/practical_machine_learning/old/regression_analysis.R
233ea6b9ea471a5eef44a7462e17c1d6201881de
[]
no_license
agawronski/datasciencecoursera
cebacf9abf4c73ecb69099f686d449da23de08a3
c151a7dcd2e494ba21b8235b2f5919eb670c614a
refs/heads/master
2021-01-18T16:35:36.933648
2015-08-23T23:23:29
2015-08-23T23:23:29
22,187,047
0
0
null
null
null
null
UTF-8
R
false
false
630
r
regression_analysis.R
library(caret) data(faithful) set.seed(333) inTrain <- createDataPartition(y=faithful$waiting, p=0.5, list=FALSE) trainFaith <- faithful[inTrain,] testFaith <- faithful[-inTrain,] head(trainFaith) plot(trainFaith$eruptions, trainFaith$waiting, pch=19, col="blue", xlab="waiting", ylab="duration") lm1 <- lm(eruptions ~...
af8a5416e089c976500fe3f1c2415d1bde4c5a36
f0e3db3a735307418bb67686e5c29be14e869f04
/man/theme_timeline.Rd
966627a30f14fdb0b17fa31cc41e56a19856f92e
[ "MIT" ]
permissive
sbudiman/MasterRCap
e5b83dfa2ee98f73c9b9a1477119bd6a800447a7
89ee1d6a6253c49568e6e7b635c2e93dd7e53f61
refs/heads/master
2020-03-19T19:53:42.463842
2018-06-25T00:45:33
2018-06-25T00:45:33
136,878,185
0
0
null
null
null
null
UTF-8
R
false
true
947
rd
theme_timeline.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GeomDefn.R \name{theme_timeline} \alias{theme_timeline} \title{Theme for better timeline visualization in ggplot2} \usage{ theme_timeline() } \description{ This theme function provides better rendering for \code{\link{geom_timeline}} } \examp...
6f0634e49f60ec36010c38252972123970d094b9
8f27d89b8662758f6ab67ae82da4e93af40cce11
/R/simplices.r
3fb188b040b26319bbf19e662c0c66e4846ef82a
[]
no_license
corybrunson/sc
4dd49909f7b7b6c6c29d0edd7be81599b2fed60a
c1d3e74d57a5e35e3a29e6801c1c8113292f0447
refs/heads/master
2020-04-23T11:50:53.289563
2019-08-26T19:51:40
2019-08-26T19:51:40
171,149,725
1
0
null
null
null
null
UTF-8
R
false
false
3,367
r
simplices.r
#' @title Vertices and simplices af a simplicial complex object #' #' @description These functions return the vertices and the simplices of an #' object of class 'sc'. #' #' @details #' #' **sc** encodes simplicial complexes as bipartite [igraph::igraph] objects #' prefixed with a new 'sc' class, whose nodes are part...
61675ddc51944e5375a792e0b228ef99fa7e203b
37794cfdab196879e67c3826bae27d44dc86d7f7
/Math/Poly.System.Symmetric.S3.Multiple.R
b3587bf16cdfafdd9d4406b5de818a5432bb0280
[]
no_license
discoleo/R
0bbd53a54af392ef53a6e24af85cec4f21133d17
e9db8008fb66fb4e6e17ff6f301babde0b2fc1ff
refs/heads/master
2023-09-05T00:43:32.381031
2023-08-31T23:03:27
2023-08-31T23:03:27
213,750,865
1
2
null
null
null
null
UTF-8
R
false
false
10,791
r
Poly.System.Symmetric.S3.Multiple.R
######################## ### ### Leonard Mada ### [the one and only] ### ### Polynomial Systems: ### Symmetric S3: ### Multiple/Composite Monoms ### ### draft v.0.1d ### Heterogenous Symmetric ### Polynomial Systems: 3 Variables ### Symmetric with Composite Monoms ### Example: # (x*y)^n + (x*z)^n + ...
e5290fddef17e2774bf577fb30e7e91b80ac190d
e4c1422348ae1cd4aa316aad156fefe59670e776
/pkgs/abrem/man/abrem.conf.Rd
c986b8e85bcac4706e0eb92d8645dfc5ebca7b0b
[]
no_license
thomas4912/pkgs
161170c78068340a82ddde7535293f812cc77a73
8f060661cca439e13b16990bcd2268cc96aac4b3
refs/heads/master
2021-01-22T07:27:29.068120
2017-02-13T12:17:52
2017-02-13T12:17:52
81,818,568
0
0
null
null
null
null
UTF-8
R
false
false
7,131
rd
abrem.conf.Rd
\name{abrem.conf} \alias{abrem.conf} \alias{contours} \alias{MLE contours} \alias{cl} \alias{unrel.n} \alias{conf.what} \alias{method.conf.blives} \alias{conf.blives.sides} \alias{S} \alias{in.legend} \title{Add Confidence to \code{abrem} Objects} \description{ This function adds confidence calculations to var...
4c0b97507d1417e7523c055b32e43a659e03b7a1
2ed8c70117c8b37dd8e0bbb312cb74a85c41d86b
/CovidandMarkets/packages.R
c01f44a2845f7f72888d0bc6aed35be12e3868ff
[]
no_license
mthnguyener/CovidandMarkets
45f0a02281e0e3c34340895dadfa731af2ec5f1a
9b88c9df5cae964776a19827bf0da864b41ebb04
refs/heads/master
2022-12-02T21:37:52.560366
2020-08-04T22:57:03
2020-08-04T22:57:03
278,161,442
1
0
null
null
null
null
UTF-8
R
false
false
868
r
packages.R
library(tidyverse) library(dplyr) library(purrr) library(readr) library(ggplot2) library(leaps) library(lmtest) library(randomForest) library(glmnet) library(MASS) library(car) library(ISLR) library(perturb) library(tree) library(caret) library(stringr) library(lubridate) library(tidytext) library(scales) library(read...
9ab925603fb282e65fc79ce316131d0dfa9d9140
7c2e136a2ce427597843354ef1bab5797f8ebbc2
/GC_utils.R
63fdb9a0cd5e1f5bb4c32999e3ace42bc94bd88f
[]
no_license
shulp2211/InfiniteSites
4d6515562f70b20c474976b4e39a7eee2d171ddb
17514d03786ad3237260b823c31cef37f9493b7a
refs/heads/master
2023-06-24T00:12:20.609385
2021-07-22T09:21:14
2021-07-22T09:21:14
null
0
0
null
null
null
null
UTF-8
R
false
false
11,131
r
GC_utils.R
## wrapper for pbetabinomial ~ binom.test betabinom.test <- function (q, size, prob, rho, alternative = c("two.sided", "less", "greater")) { # DNAME <- deparse(substitute(q)) # qr <- round(q) # if (any(is.na(q) | (q < 0)) || max(abs(q - qr)) > 1e-07) # stop("'q' must be nonnegative and integer") # q <- qr ...
548aca0c5d605c8d99a6704d68d22506623207b6
23bc04388c4773f6b0ba2eca7747db9a8d72f657
/rNPBST/man/wilcoxonRankSum.test.Rd
468e06fc48a1d9544b96ad36c74b0746d24fc4bd
[]
no_license
JacintoCC/TFG
cfe14f140005d9233f67d5aad643ef5d9820163f
994f6db722f1fe0576cdd55a0f44f91b397d868c
refs/heads/master
2020-04-05T23:10:46.983204
2016-10-31T09:34:12
2016-10-31T09:34:12
62,843,829
1
0
null
null
null
null
UTF-8
R
false
true
401
rd
wilcoxonRankSum.test.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NP-LocationTests.R \name{wilcoxonRankSum.test} \alias{wilcoxonRankSum.test} \title{Wilcoxon Rank Sum test for location} \usage{ wilcoxonRankSum.test(matrix) } \arguments{ \item{matrix}{Matrix of data} } \value{ A htest object with pvalues and...
74c2123dd5b176f96d34bda4c136f23e63ac8a30
0f0bc022bcc6dad2b6f9b5085d344695c46bba5c
/R/0311/01.R
33e6d6e3214d9ad9a5a73213a430f91c36a16775
[]
no_license
JiamingPKU/code
07e90927341e1a58bc0bebf06d34b95399df323f
b939e3ab5cfd76f40aa13b6b74e2fd843b711111
refs/heads/master
2022-10-23T11:48:26.423604
2017-06-18T00:29:00
2017-06-18T00:29:00
84,429,774
0
1
null
2022-10-19T00:30:34
2017-03-09T10:33:21
Python
UTF-8
R
false
false
1,537
r
01.R
#### #### version: 2010-12-02 #### Jack Q.Ren #### renqingjie@pku.edu.cn ## pre-work setwd("0310\\") ls() rm(list=ls()) ls() ######Chapter 1: Basic R code ## section 1: introduction x1 <- 1:100 x2 <- x1 * 2 * pi/100 #another vector y1 <- sin(x2) # use function to generate vector plot(x2, y1, type="l") abline(h=...
c97230a279c54cba6c94507342795576c89025d0
c37219af09432a8b8c543aad9aeb56a807f37d01
/man/nopodec_Fhat.Rd
6692a0555445c9a7ee961b1fb6bcd9ddf8f7fc1f
[]
no_license
gibonet/decr
819f76eccd0e06235bd2dd4b0d86f0c52de4ce72
055d1bb9f38b3515b8c729234d1a68b9950f7a99
refs/heads/master
2021-09-28T19:23:22.673366
2021-09-10T20:01:22
2021-09-10T20:01:22
70,839,965
5
1
null
null
null
null
UTF-8
R
false
true
1,948
rd
nopodec_Fhat.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nopodec_Fhat.R \name{nopodec_Fhat} \alias{nopodec_Fhat} \alias{nopodec_Fhat.default} \alias{nopodec_Fhat.reweighted} \title{Empirical cumulative distribution function (ecdf) at value y for the two groups, in and out the common support. In the...
5e322c736a83007281de56b01f4d2230cbfe5a5f
b4fc54d90f295493c02b900cff8c5d24e6cd17a3
/analysis/proactive/02_02_safety_margin_perf.R
de238cf0b215517e11cebbb596db0f99ad5ac001
[ "Apache-2.0" ]
permissive
fabiomorais/ASaaS
0b19ecf15197772e1c9963473a769b74a827d3da
2452adbca559e0d399c82d7183692cf6962cf1ea
refs/heads/master
2021-01-01T04:42:54.088109
2017-07-18T18:30:31
2017-07-18T18:30:31
97,231,915
0
0
null
null
null
null
UTF-8
R
false
false
6,479
r
02_02_safety_margin_perf.R
library(dplyr) library(ggplot2) library(tidyr) library(scales) library(grid) multiplot <- function(..., plotlist=NULL, file, cols=1, layout=NULL) { require(grid) # Make a list from the ... arguments and plotlist plots <- c(list(...), plotlist) numPlots = length(plots) # If la...