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
5906e647089301b82df6703a1d268d815124f76b
b2f61fde194bfcb362b2266da124138efd27d867
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query08_query27_1344n/query08_query27_1344n.R
4d099d97b6ce36ae5f61f25d119664cb8235db65
[]
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
73
r
query08_query27_1344n.R
3f03bb120ae7cd22fc779c4d4c25f881 query08_query27_1344n.qdimacs 3609 13554
f28335a23c71f1061830ebd69a5f2f48de1dfd54
48130e58d3dad3e0a9362898f1d3bb21a5f64c64
/R/Search_Anywhere.R
3edae38cfd7be0d7598e3f73d65b759f7f9a5616
[]
no_license
ss-lab-cancerunit/SpiderSeqR
e8f571c5432b1a14372cac4baa5845aad6c0f4b1
a4c00b4aa9b34b00b7761130a887e203c743e2a3
refs/heads/master
2023-01-07T00:27:39.465475
2020-11-01T19:13:26
2020-11-01T19:13:26
232,421,625
6
2
null
null
null
null
UTF-8
R
false
false
39,593
r
Search_Anywhere.R
#' Search Anywhere within SRA and GEO databases #' #' @param query_all Search term for both SRA and GEO (gse and gsm tables) #' #' @param acc_levels Accession levels at which the search is conducted. #' Possible options include run, sample, experiment, study, gsm, gse. #' Defaults to c("run", "experiment",...
3462aa9f81cc985fea0097903dcb6d34b31c90f3
537387f00bca75524b026cf8c55e5ade18b1ed6f
/man/colgrp.Rd
c64c788d97ee12ab6f228f27b7fa9399a6ee9282
[ "MIT" ]
permissive
cran/groupr
3dfb212389213322eabf7a0f5229520da2334bf8
df5392db79144789a613aaf49e95afcaf43fba6a
refs/heads/master
2023-03-30T15:24:33.731772
2023-03-23T02:50:02
2023-03-23T02:50:02
304,045,652
0
0
null
null
null
null
UTF-8
R
false
true
607
rd
colgrp.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/columns.R \name{colgrp} \alias{colgrp} \title{Make a Single Column Grouping} \usage{ colgrp(x, data_name, index_name = "group") } \arguments{ \item{x}{A tibble} \item{data_name}{A string, the name of the new column} \item{index...
45074f650d76b7105026fda023bc6f0a95659bdc
c1b7138a9fd9e415276ef6428e1faab83b45d895
/calculate-error.R
8b43d16e4356af52d2218f4bca323a88b59e57d0
[]
no_license
hmendeslx/cpsc540-project
7e504eea0c24cfa95d47b34226db713f7d98728e
7467372676ff7b17eac5a5cd8f1a8d255ea09858
refs/heads/master
2020-12-25T13:08:08.245515
2013-04-16T23:43:20
2013-04-16T23:43:20
null
0
0
null
null
null
null
UTF-8
R
false
false
686
r
calculate-error.R
#!/usr/local/bin/Rscript # Calculate the mean absolute error of the predictions. train.y <- read.table('data/train-y.tab', header=T) colnames(train.y) <- c('id', 'y') train.yhat <- read.table('data/train-yhat.tab') colnames(train.yhat) <- 'yhat' cross.y <- read.table('data/cross-y.tab', header=T) colnames(cross.y) <- ...
6b33c40aaa451f11a19b6670a90c5c53b2094fdd
e3bc9fddd975ad0c0e885055315e8541e36d1c66
/FireRisk_Dashboard/server.R
8ef6d690e8d2d544440e2c360fb49b888b5be4ee
[ "MIT" ]
permissive
mlane3/fire_risk_analysis
3676b58e5a2618b204ac544a2fe6886fa59fb62e
0318990ca5400deb3fccdb0f40ff263885e281e0
refs/heads/master
2020-07-12T06:11:59.037892
2019-08-27T20:54:30
2019-08-27T20:54:30
204,315,358
0
0
MIT
2019-08-25T15:45:15
2019-08-25T15:45:15
null
UTF-8
R
false
false
4,137
r
server.R
# Data dashboard for Metro21 Fire Risk Analysis Project # Created for: Pittsburgh Bureau of Fire # Authors: Qianyi Hu, Michael Madaio, Geoffrey Arnold # Latest update: February 20, 2018 # The server side of the dashboard source("global.R", local = FALSE) shinyServer(function(input, output, session) { # Bookmark E...
65f86daa07d532f8711392faec2c08515eaa0b3e
c3b7dcd1e0f5603b652204dbdc9403a3bed4634a
/Shiny/4_Shiny_Database_SQLite_Immunogenicity_3Tier/ui.R
ba42a535167fff07a7eec998fa68dfe52e1fe18c
[]
no_license
philbowsher/shiny-rmd-APIs-DBs-pharma-session-2019-11-12
36afb2c2b27e2393f99c63b2b8b74aabe3c07b4f
d3e72c0295c37aee4d9259be257611146e11d16f
refs/heads/master
2023-03-11T17:17:12.921600
2023-02-08T14:30:10
2023-02-08T14:30:10
221,027,744
4
2
null
null
null
null
UTF-8
R
false
false
6,248
r
ui.R
#Required library library(plotly) library(shinydashboard) # Get current table list con <- DBI::dbConnect(RSQLite::SQLite(), "database.sqlite") table_names <- c("{Select Table}", DBI::dbListTables(con)) DBI::dbDisconnect(con) sidebar <- dashboardSidebar( sidebarMenu( selectInput( inputId = "table1...
88f06c2a4aa83eaf2fa3ad7dc2cb0144cc869537
8c56fe0b4119962be654c966be19a444c3300e9d
/man/dataTestExperiment.Rd
8cd1f0d9780a4fca46daf5c97247f78a7a0a296c
[]
no_license
jonathantemplin/EPSY905R
0b7a776f74be21a26f2baff3c543f1e39c3fd826
1d131ea38f87d01a96e78c30527bda1cbf813747
refs/heads/master
2021-09-05T07:09:59.540470
2018-01-24T18:53:45
2018-01-24T18:53:45
115,202,382
0
3
null
2018-01-25T03:27:57
2017-12-23T14:56:32
R
UTF-8
R
false
true
750
rd
dataTestExperiment.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{dataTestExperiment} \alias{dataTestExperiment} \title{Data file for examples used in EPSY 905} \format{A data frame with 100 observations and 5 variables \describe{ \item{PersonID}{Id number} \item{Senior}{Dumm...
9b26a3af80b01cf6f7dfbda652e036c77db4e040
91602005bf63ec56c158e4d72beb254e3481e581
/code/v3_final_figure_pdfs/fig1.R
739864e128b29aabed8f1c67fe55f319d482bcd4
[]
no_license
gregbritten/wham-sim
d706d18f48768ca89c25db6f47a01056599e2747
d2ecaba6ad8f43ef15df3b9570097ecb6e0480d9
refs/heads/master
2023-03-30T14:32:57.267608
2021-04-08T17:42:07
2021-04-08T17:42:07
null
0
0
null
null
null
null
UTF-8
R
false
false
930
r
fig1.R
# Figure 1 # dAIC by process and stock library(wham) library(here) library(tidyverse) df <- readRDS(here("plots","old","bias_correct_oepe","daic.rds")) df$re2 <- factor(df$re, levels=c("NAA","M","sel","Ecov2"), labels=c("NAA","M","Sel","Ecov")) df$Model <- paste0(df$re2,"-",df$m) df$relab <- factor(df$re, levels=c("...
5e26ca7911f67b2cd9cb187c46242a37f557e271
af716fe719978bda13825c90190b5fd40a644edc
/man/predict.plm.Rd
9b07c48c483d2ca5f1aaa8c2fc45ba9d549f8505
[]
no_license
cran/plm
492fed724b1b4e917829990d1295117055fcdb50
b1eb02da282264741609692ac73c61b8722fc7e8
refs/heads/master
2023-04-15T03:38:07.442011
2023-04-09T10:40:02
2023-04-09T10:40:02
17,698,568
19
23
null
null
null
null
UTF-8
R
false
true
4,154
rd
predict.plm.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tool_methods.R \name{predict.plm} \alias{predict.plm} \title{Model Prediction for plm Objects} \usage{ \method{predict}{plm}( object, newdata = NULL, na.fill = !inherits(newdata, "pdata.frame"), ... ) } \arguments{ \item...
c2ba4cf74a19e4eb3af88a5e4d3caac686af6ee1
5127927036020b809569d9b57581518f13e4c548
/Figures/Figure_2/Figure2.R
169bb1a35b1f640cb36cecbdede4e3244bd423ed
[ "MIT" ]
permissive
zamanianlab/Bmsinglecell-ms
f2abacefbe74feb3041df06076b71fc740ea8779
ebcf3846212be1a97583a7777663910033a76484
refs/heads/main
2023-06-30T09:25:14.631569
2023-05-01T23:25:16
2023-05-01T23:25:16
528,939,348
0
0
null
null
null
null
UTF-8
R
false
false
55,603
r
Figure2.R
############ ## FIG 2 B. malayi mf single-cell atlas via 10X Genomics and cluster annotation ############ #data wrangling/analysis library(tidyverse) library(Seurat) library(dplyr) # plotting library(magick) library(pdftools) library(cowplot) library(ggplot2) library(ggdendro) library(pals) library(ggtext) library(Zam...
79fe8c8d9b537e9b4a0686df64c21df5bb901ab9
31a5abb076114964ccefca0242b679dcb3553228
/R/1-discorr.R
d536e4d5844ffb29ea471b39b594d4783c719ebf
[]
no_license
aslez/femaR
6ef5783778b877a55ba7ffbab49c97e19e615060
58e31553f10439611dba40bb03e713ef43a4c28a
refs/heads/master
2021-01-10T13:57:06.864519
2016-03-04T23:30:35
2016-03-04T23:30:35
52,839,917
5
1
null
null
null
null
UTF-8
R
false
false
2,935
r
1-discorr.R
#'Construct Distance and Correlation Matrices #' #'\code{discorr} is used to construct the distance and correlation matrices #'needed to estimate range, organization, and strength. #' #'@param df a fema-class data.frame. #' #'@param longlat logical indicating whether coordinates are projected. Default #'is \code{FALS...
732ad4be63e913e2fdca28ce4ad66db8c2da5901
54d0e0b1cfb9935174e0f9907f176e721d6d3bf3
/16. CH8 - Tree-Based Methods Bagging, Random Forests/Section2BaggingAndRandomForests/ProblemSetRegression.R
993b5b08ef2af2dbedbdbb22579ee3509e396b50
[]
no_license
clairehu9/R_ML_ISLR
29f16ddcb02d654ae272f06510d85243ea30c68e
26bce2a45a1037cfbbc64eef4dca0d93ea56f461
refs/heads/master
2020-09-12T06:11:09.600859
2019-11-18T01:38:55
2019-11-18T01:38:55
222,336,639
1
0
null
null
null
null
UTF-8
R
false
false
4,543
r
ProblemSetRegression.R
rm(list=ls()) installIfAbsentAndLoad <- function(neededVector) { if(length(neededVector) > 0) { for(thispackage in neededVector) { if(! require(thispackage, character.only = T)) { install.packages(thispackage)} ...
720429fd59d1e0898be78134f8b0a29717c15e20
7fe979af0f4987588a5d3aad18f61679b47f3ae0
/R/time_worked.R
7e5cf0c25c7417cc32c67b9c8e5d68854a3ae752
[]
no_license
lwjohnst86/worktime
5226279d93007875c0e149edc11249037ae692df
340e897b33542f48a68a2a02b0fd58d0637de258
refs/heads/master
2022-05-22T06:41:59.686014
2020-04-22T09:20:16
2020-04-22T09:20:16
105,091,102
1
0
null
null
null
null
UTF-8
R
false
false
294
r
time_worked.R
#' Add minutes worked between clocking in and out. #' #' @param .data Clocking data from `.org` file. #' #' @return Add a column of minutes worked. #' @export #' add_minutes_worked <- function(.data) { .data %>% mutate(MinutesWorked = difftime(ClockOut, ClockIn, unit = "mins")) }
5746ceb31e0df811763e9bffd6817a362f55cd6d
15945ee3410e8313406faf7aaa7a01cc02c5d15e
/pull_followers.R
8660097d4dd31d0bc199ca9c793d049c18f3906a
[]
no_license
SiddharthEngineer23/CC_Internship
87cf3685370ddb20297549527021f027ac01ed13
840bae78f4625edc4c45c6a9c8fee531ff559460
refs/heads/main
2023-07-08T03:46:56.185036
2021-08-10T19:30:52
2021-08-10T19:30:52
394,759,423
0
1
null
null
null
null
UTF-8
R
false
false
152
r
pull_followers.R
library(rvest) url = "https://rvest.tidyverse.org/articles/starwars.html" page = read_html(url) sections <- page %>% html_elements("section")
3c71ebf1cac37dbfc6b4dffb2946d22016f44ce9
573932f2fc40e94001a3659043b902db4d70a912
/11-R/tidytuesday-2021/2021-all-plots/combine-plots.R
364d2ea3d10247e5db995fe175625cb38bb60e3a
[]
no_license
BioInformatica-Labs/My-Data-Science-Journey
69f441f88e9e106975ec27de873d82af2dd351c7
92e04aa2e3612a198dc213f2dbd13b5df404bfbe
refs/heads/main
2023-08-28T05:22:56.970894
2021-11-08T20:05:10
2021-11-08T20:05:10
null
0
0
null
null
null
null
UTF-8
R
false
false
16,929
r
combine-plots.R
# Author : Jenn Schilling # Title: Combine #TidyTuesday Plots # Date: Apr 8 2021 #### Libraries #### library(magick) library(here) #### Get Plots for 2021 [Long] #### row_1_21 <- image_append( c(image_border(image_resize(image_read("2021-01-12\\turner_oil_colors_circle.png"), "500x400!"), color = "white", geometr...
9076491dfa436f8c64f17a2af9e8b113a48d7db6
1ac0e1b3d0ec8203f60a5abc1d036a3bb5c113ff
/plot5.r
c48f3050a1fc1507856d3377bf22f35762e14a33
[]
no_license
niambhs/ExData_Plotting2
c615ec794a46eeefd7a512a1c2c76c2944f7c34f
a8bd3947f043f2f48f720d769bd9ddb799a1e145
refs/heads/master
2016-09-16T01:14:09.333392
2015-06-21T08:36:39
2015-06-21T08:36:39
37,209,881
0
0
null
null
null
null
UTF-8
R
false
false
1,247
r
plot5.r
plot5 <- function() { #How have emissions from motor vehicle sources changed from 1999-2008 in Baltimore City? #read each of the two files using the readRDS() function in R. NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") #subset data by vehicle vehicleS...
3359131515842b3ea89f8ef30f5a685eb8e1d0b5
c8e9e754e3a751ea785aaaf6a929d02fa106dbcc
/man/searchrules.Rd
901b97bdb3f33626cea5b6eac9f01f766f5c29cf
[]
no_license
beerda/lfl
3a6849da19165990bcac9c57cf136b62d8ccc951
9b8028447ab53e0f91553cd827f7a15783593c6b
refs/heads/master
2023-02-24T10:09:01.496322
2023-02-15T06:57:08
2023-02-15T06:57:08
99,807,073
5
1
null
2020-02-26T07:49:58
2017-08-09T12:42:17
R
UTF-8
R
false
true
5,596
rd
searchrules.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/searchrules.R \name{searchrules} \alias{searchrules} \title{Searching for fuzzy association rules} \usage{ searchrules( d, lhs = 2:ncol(d), rhs = 1, tnorm = c("goedel", "goguen", "lukasiewicz"), n = 100, best = c("confidence"), ...
40d3b29ee6156d0e4ee864aa7f5561d2a032781e
5643509ed57314f610c16a02e7fc3fce6e8b6267
/Chapter 5/R/soft_prune.R
caf968053a1f7f6050bd9c067d3eb1cccd0be295
[]
no_license
aida-ugent/PhD_Code_Robin_Vandaele
d942ea50defe5417b032dcf7d2f61c9eac19c143
229166059fd8fb366f23162a0b72e7547e80649b
refs/heads/main
2023-02-21T16:26:44.183346
2021-01-27T15:07:35
2021-01-27T15:07:35
318,493,807
1
0
null
null
null
null
UTF-8
R
false
false
1,418
r
soft_prune.R
#' Prune leaves in a graph either a given amount of times or until there are no more than a specified number of leaves #' At each iteration, the leaves representing the fewest amount of nodes are pruned #' Each node is set to represent only itself at the start of the iterations #' When leaves are pruned, they are conse...
f64393cd5bf5b8670185081e4b013d864b82ef9c
024df6efa9b21bfa2dbcdb6b5560f85404097c5c
/Barren Land Analysis.R
99cd9f9f11d9e750448cfe800050814874e85be6
[]
no_license
pedstrom/barren-land-analysis
e9fdac6cc7e6471d02b5b1d825cdaf8072bc826e
75ac69995df27960f8149469c58f63bea2ba0911
refs/heads/master
2021-05-10T13:20:00.922693
2018-01-23T15:16:54
2018-01-23T15:16:54
118,470,635
0
0
null
null
null
null
UTF-8
R
false
false
2,197
r
Barren Land Analysis.R
# Barren Land Analysis R file # # use: Rscript Barren\ Land\ Analysis.R "0 292 399 307" # use: Rscript Barren\ Land\ Analysis.R "48 192 351 207" "48 392 351 407" "120 52 135 547" "260 52 275 547" # # Peter Edstrom # peter@edstrom.net # January 2018 # library(ggplot2) args <- commandArgs(trailingOnly = TRUE) # setup t...
fbfa793aa0c4328516001676961cba95c0725e31
938da43ec87a0cee7ed50b02627775c4a679b234
/Waterloo_For_R/gshell/man/G.asMap.Rd
d1a47035b6dd97e81d56bae066fa9e85b6cfaeee
[]
no_license
irondukepublishing/waterloo
bcce869bf83d8987ceaa7382f0d9f129d14fb3bf
c764b4b13d85af2e58e4e493d867e8a1c861a2e1
refs/heads/master
2021-04-09T10:48:40.135877
2016-12-30T21:55:54
2016-12-30T21:55:54
62,012,985
0
0
null
null
null
null
UTF-8
R
false
false
793
rd
G.asMap.Rd
\name{G.asMap} \alias{G.asMap} %- Also NEED an '\alias' for EACH other topic documented here. \title{ G.asMap } \description{ Returns java.util.LinkedHashMap<String, Object> given an R list. } \usage{ G.asMap(inList) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{inList}{ An R list } } \...
c86dff0e832215585dc3beae31419d49690c2be0
33968755d496757f17da5815c0b0544708174bd4
/tests/testthat/test-strippedConsoleText.R
37d4f2e594754bba48fcb0f8f69d14a1d6639b86
[]
no_license
ljrendell/ccopy
51a6e40e95e4d17528fdeaf13851b45046cbb9d5
d52fc0e8859509fa4303240633f9793cd6a2d57e
refs/heads/master
2021-01-11T19:18:10.981133
2017-04-02T14:09:11
2017-04-02T14:09:11
79,348,324
1
0
null
null
null
null
UTF-8
R
false
false
606
r
test-strippedConsoleText.R
context("strippedConsoleText must delete strings not beginning with the commmand or continuation prompt, and delete these prompts from the remaining strings") test_that("strippedConsoleText works correctly", { testVec <- c("> a", "> b", "> c ", "+ d", "+ +e", "+ f> ", ...
493eedf20285095ccc7c36b3c7d3e2151cc206d0
17e75933bd6fc146e60eddd4abcdda275ddb1128
/R/ds06_freshman_15.R
1876e59ccede3e638b092cb631254c9672ea2351
[]
no_license
ngay/kustats
ca6d65094c4147d2aede6211c323c5703933e6e3
7e699753597d0cde0e2eab7a209cd032d40bb2de
refs/heads/master
2021-01-09T20:08:21.539585
2018-04-10T01:53:45
2018-04-10T01:53:45
63,873,690
0
0
null
null
null
null
UTF-8
R
false
false
820
r
ds06_freshman_15.R
#' Data Set 6: Freshman 15 Data #' #' Measurements were made in September of freshman year and then #' later in April of freshman year. Results are published in "Changes #' in Body Weight and Fat Mass of Men and Women in the First Year #' of College: A Study of the 'Freshman 15' " by Hoffman, Policastro, #' Quick, and...
b46236b683bbf4d79a395465af31eda3c9483d7d
9cb9dfcc049c125c278c5402ecdfce2336f5c07a
/multiStockassessment/man/corplot.msam.Rd
9a6873d68ef5aeee1564018b77cf022b45265612
[]
no_license
fishfollower/multi_SAM
4c521214b5733f07a4a516c909be411e7337c23d
dd449d0340dfbadb006ddebfef2384bd4ff337d9
refs/heads/master
2020-04-01T14:21:18.078337
2018-10-26T08:26:29
2018-10-26T08:26:29
153,290,836
1
0
null
2018-10-16T13:32:27
2018-10-16T13:32:27
null
UTF-8
R
false
true
566
rd
corplot.msam.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/corplot.R \name{corplot.msam} \alias{corplot.msam} \title{Correlation and partial correlation plot between survival processes} \usage{ \method{corplot}{msam}(object, ...) } \arguments{ \item{object}{msam object} \item{...}{Other parameters n...
da31fb251907e1e188b60ec6aed9a5e5c5777e9a
63efc0126780ff341fa76728b856da42d52565ab
/functions.R
7b07a49165e118998b929e11519f318c623412cd
[]
no_license
Jean-Baptiste-Camps/Wauchier_stylo
80a34b6c542f6a2bf06ad22d4e9dd6a1440f63dc
bd3acc3290317df1d623313732181ea9eadacfc0
refs/heads/master
2021-06-25T10:16:23.290600
2021-03-08T09:13:11
2021-03-08T09:13:11
214,435,379
0
1
null
2021-03-08T09:13:12
2019-10-11T12:50:21
HTML
UTF-8
R
false
false
19,875
r
functions.R
# Functions for stylometric analysis ## Distance measures ### Cosine distance cosineDist <- function(x){ as.dist(1 - x%*%t(x)/(sqrt(rowSums(x^2) %*% t(rowSums(x^2))))) } ### MinMax metric MinMax = function(x){ myDist = matrix(nrow = ncol(x),ncol = ncol(x), dimnames = list(colnames(x),colnames(x))) for...
3e18a3803fe52ecd517f5f7a661f97c7734c0703
6d156008f87d86a05396c1b34497105cb399e821
/biok/man/relationships.Rd
2aefe4d6b37cdd6261a55fd1a5e9c0077e3eaacc
[]
no_license
karldes/biok
9b60e1217801a1625d518ec02a48e4300f7c51a4
0ebf176b17c6c59eee52e1d3b9db87bacffd1ecb
refs/heads/master
2020-03-25T00:55:10.491823
2018-08-01T21:56:41
2018-08-01T21:56:41
143,212,272
0
0
null
null
null
null
UTF-8
R
false
true
642
rd
relationships.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/relationships.R \name{relationships} \alias{relationships} \title{relationships Function} \usage{ relationships(type, S, mean = 0, sd = 0.1, C = 0.1, precision = 0.001) } \arguments{ \item{type}{the type of the network} \item{S}{size of the ...
951e17827b80079e295081e1aa96ed20e49dfcdc
bcb329b2dfaa867fbf7a39b7366cfbb80552ad97
/CollectDealerInfor/HondaDealersLinks.R
cfb9ef79ef0a451165cc9ef929338118f43d2fb6
[]
no_license
jpzhangvincent/Dealership-Scraping
3c8ecfa72e7692f0f709afcbac840899781d27e2
13634892a8098cca260ddf1c4017946b76f0deca
refs/heads/master
2021-01-12T14:25:19.400164
2015-10-06T21:55:17
2015-10-06T21:55:17
null
0
0
null
null
null
null
UTF-8
R
false
false
3,917
r
HondaDealersLinks.R
#HONDA DEALER install.packages("XML", repos = "http://cran.cnr.Berkeley.edu/") library(XML) install.packages("RCurl", repos = "http://cran.cnr.Berkeley.edu/") library(RCurl) ####get zipcode that may have honda dealer from dealer rater website url = "http://www.dealerrater.com/directory/Massachusetts/Honda/" doc = html...
9100f75f24f39cbc909b9cb328afac74394554d3
982e0b8514cefd4e0ed8b8084a653c3e6c647ffb
/cachematrix.R
c0350f2fd96a2de3df01260cf09cc5c9b1bce199
[]
no_license
danbennett360/ProgrammingAssignment2
716b14944a74ca9ee91319de9ac13e5658587613
931465a44d4fe10c395ce919d3374c4c394c46aa
refs/heads/master
2021-01-21T02:26:56.605970
2015-06-08T16:11:56
2015-06-08T16:11:56
36,941,244
0
0
null
2015-06-05T15:50:02
2015-06-05T15:50:02
null
UTF-8
R
false
false
1,735
r
cachematrix.R
# Assignment 2 # # Write a function which will cache a matrix and a function that will use # that cached matrix # this is monstly a copy from the assignment page # see https://class.coursera.org/rprog-015/human_grading/view/courses/973496/assessments/3/submissions # this one does the dirty work. # save the matri...
6c71dfae276c2913460450735079e4badc443068
366ec1e0e81f9d8c40e2fde01efa44d640c67daa
/R/globals.R
5ca17cbc8f1678ab217239a2d747f5c86b4921c8
[]
no_license
tjfarrar/skedastic
20194324833b8f2f20e5666b642cff617159588c
050e6a177a28fb0cc2054b506a53b09d6859e3c7
refs/heads/master
2022-11-17T22:41:43.930246
2022-11-06T06:39:13
2022-11-06T06:39:13
219,455,416
6
0
null
null
null
null
UTF-8
R
false
false
146
r
globals.R
utils::globalVariables(c("dpeakdat", "T_alpha", "X", "y", "e", "p", "yhat", "xx", "exact", "deflator", "method", "par"))
093e121a5c7c25abacadac617e6240d3deaf9cf8
367e9a10503601ea19f3471e77a046ac8a848d3a
/DNAaa_list.R
4aa7fdb638267925aca511aa38103e20a332b6b3
[]
no_license
hyhy8181994/R-porject-workflow-package
005534758da7f7bbd018c48acc6ec7fe1d64747a
adac08dd7464d7ddcbd541f8fc002dc650c1499b
refs/heads/master
2020-04-11T19:41:15.854612
2018-12-16T21:51:31
2018-12-16T21:51:31
162,043,655
0
0
null
null
null
null
UTF-8
R
false
false
4,843
r
DNAaa_list.R
#' DNA to amino acid converter #' #' This function allows you to convert DNA sequence of specific gene to amino acid sequence based on standard DNA codon table. The unrecognised DNA codon will be shown as "*" , and also the stop codon will not be shown in the sequence. Note: make sure the input DNA sequence is comple...
e0e63fe688a3cc93c3c56bca1361cbc030a836f1
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/multivator/examples/ipd.Rd.R
28edc23e04381574f1463b2cbdb05de2c609a667
[]
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
199
r
ipd.Rd.R
library(multivator) ### Name: ipd ### Title: Positive definite matrices ### Aliases: ipd ### ** Examples data(mtoys) stopifnot(ipd(crossprod(matrix(rnorm(30),10)))) stopifnot(ipd(M(toy_mhp)))
80b51df9e4034e83f25f6cbeb1181e526d4a3ed3
f6684764416984a795998921bab4277e7b101c42
/vignettes/scripts/summarise_restrictions.R
fd29d948e7071bd182edb0f8e517be44fc276d78
[]
no_license
ITSLeeds/roadworksUK
75a493591395391a2864d8842a1c816ff711bb7d
1dd63bf2e32889398ba7519d35249b9cabe2e2f0
refs/heads/master
2020-03-29T23:04:01.668818
2018-11-01T14:50:46
2018-11-01T14:50:46
150,454,682
1
0
null
null
null
null
UTF-8
R
false
false
3,505
r
summarise_restrictions.R
# Restrictions library(sf) library(dplyr) library(lubridate) restrictions = readRDS("data/restrictions_v3.Rds") bounds = st_read("data/boundaries/ha_mod.gpkg", stringsAsFactors = F) #Fix HA Names restrictions$publisher = gsub(" City Council", "", restrictions$publisher) restrictions$publisher = gsub(" County Council"...
fbf32b9d551d9ae9ab95b24c8d3e8d0449d310eb
7c19b5ee0f99615e8fbf0816b7256919061254a3
/test/identify_cluster.R
cee4e87bccce7f0685fdd8fc60d0e4d35e9a8636
[ "MIT" ]
permissive
chiragjp/voe
c5a2a9b8196e0812aa9bdcda2be0b39404c613b7
4a9d6d304c23727f4a02ebbc0713454320d58e46
refs/heads/master
2021-01-18T21:47:52.290594
2015-02-25T15:35:55
2015-02-25T15:35:55
18,693,480
15
6
null
null
null
null
UTF-8
R
false
false
1,531
r
identify_cluster.R
source('post_process.R') ## load('../vibration_data/all_v4/LBXTR_vibration_gather.Rdata') vibFrame <- init_vibration_frame(vibFrame) vibFrame <- recomputePvalue(vibFrame, 'z', 'pvalue') nFactor <- length(unique(vibFrame$factor_level)) ### ### how to identify clusters? kmeans/hclust/dbscan doesn't work well. library(pl...
1f8b550308a869541aa3c3696fbaaf6ef2b64696
8e0e5f97ee34a7b09038b79e3d8e097b98ce72ae
/forecasting.R
d1934f742a20073d18bb2d9ce7951e36550458ef
[]
no_license
KimMonks/ML_coursera
3ead956e79c9c3492a0d5a1682220a82490e312b
b1f041cfd079b9170130d9926ea9bf0ba6f17cc3
refs/heads/master
2021-01-16T19:57:50.889971
2014-07-26T12:46:44
2014-07-26T12:46:44
null
0
0
null
null
null
null
UTF-8
R
false
false
607
r
forecasting.R
library(quantmod) library(forecast) from.dat <- as.Date("01/01/08",format="%m/%d/%y") to.dat <- as.Date("12/31/13",format="%m/%d/%y") getSymbols("VNM",src="google",from=from.dat,to=to.dat) head(VNM) mVNM <- to.monthly(VNM) vnmOpen <- Op(mVNM) ts1 <- ts(vnmOpen,frequency=12) plot(ts1,xlab="Years+1",ylab="VNM") plot(deco...
fd2bd3b398056f9dc562ca93015f40cc271df26e
c19286206580c4d239c413782091ff07fb8bf5e5
/R/rowCollapse.R
1fe6e6ac7d18f313679c8e382bacf474e5e04e30
[]
no_license
Shians/DelayedMatrixStats
5170a2abd926e645eb87d5248736d80811877e15
fff04672317547695d13a4b06aa70c38d644345c
refs/heads/master
2020-04-17T02:25:53.789802
2018-10-30T15:54:38
2018-10-30T15:54:38
null
0
0
null
null
null
null
UTF-8
R
false
false
3,488
r
rowCollapse.R
### ============================================================================ ### rowCollapse ### ### ---------------------------------------------------------------------------- ### Non-exported methods ### #' @importMethodsFrom DelayedArray t .DelayedMatrix_block_rowCollapse <- function(x, idxs, rows = NULL, ...
5daa9370f2d98d4926d1881c34f850f3ef9d660f
005a08fa343f1c36fc2c44639d35d3fb2502e8d5
/cachematrix.R
97b6a30c2f90cf45e1dc14ec47bbc1cbf2f63a50
[]
no_license
yisongtao/ProgrammingAssignment2
58247e1badbb04c462fd28b8bd5f86fb961fa8e0
d47c3b76b30201afca2400079f13a9b34ba1e123
refs/heads/master
2020-12-28T22:53:07.639358
2015-07-25T06:54:15
2015-07-25T06:54:15
39,547,308
0
0
null
2015-07-23T05:21:23
2015-07-23T05:21:22
null
UTF-8
R
false
false
1,283
r
cachematrix.R
## The following two functions will cache and compute the inverse of a matrix. ## Example: ## > c=rbind(c(1, -1/4), c(-1/4, 1)) ## > invC=cacheSolve(makeCacheMatrix(c)) ## > invC ## [,1] [,2] ## [1,] 1.0666667 0.2666667 ## [2,] 0.2666667 1.0666667 ## This function creates an object that can be used to cac...
740993b7293412d4d43416a6c79c9b859971d9b1
60844443e772f9ec32e5c54c015a351f0ad7b40f
/app-venta-diaria/global.R
af011ad94f26f32b19f8e89202946e2fbb8ddfc3
[]
no_license
danromuald/shiny-apps
e7176bc1eaabb331e1325e2ebde25d42dd4ca656
cd7c339a47924b3ac0d3a7d2c656416f9c8a87b6
refs/heads/master
2021-01-19T21:33:52.256358
2017-04-06T03:29:30
2017-04-06T03:29:30
null
0
0
null
null
null
null
UTF-8
R
false
false
2,764
r
global.R
# rm(list = ls()) library("shiny") library("shinydashboard") library("DT") library("riskr") library("ggplot2") library("scales") library("lubridate") library("ggthemes") library("dplyr") library("riskr") library("lubridate") library("tidyr") library("plotly") library("RODBC") options(stringsAsFactors =...
2940d22c2171ac90e4d2ed082083ee7af62a1631
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/13783_0/rinput.R
b5e22265168c7719b6b13f23cc3eb7298bb9746b
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
137
r
rinput.R
library(ape) testtree <- read.tree("13783_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="13783_0_unrooted.txt")
f7b894eddfc5008154ee2bf534e2efceb8ad3ab0
798fbef5e4e621078d01b7eb3e75f5b3f0901cc8
/logic-operators.R
c17a91549d6a466f57be86730d9c9cb13174ac21
[ "MIT" ]
permissive
alikahwaji/project-R
dcc891c0d43f414c0393d84d67dad6df283173ab
94f7ca3b25d91e1f650f23ba7e51f51877aea398
refs/heads/master
2021-06-22T19:29:06.019214
2017-08-16T17:16:00
2017-08-16T17:16:00
91,201,732
0
0
null
null
null
null
UTF-8
R
false
false
255
r
logic-operators.R
#logical: #TRUE #FALSE 4 < 5 10 > 100 4 == 5 4 == 4 # == #!= # > #>= #< #<= #! #| #& #isTRUE(x) result <- 4 < 5 typeof(result) result2 <- !TRUE result3 <- !(5>1) result | result2 result2 | result3 result & result2 isTRUE(result) isTRUE(result2)
bddf0e60a03ab8476c13aefad9a36f049c8dee19
1fd34acc44f63e5110b5d4058fcc99ce4e6a83c4
/man/set_me_up.Rd
d58fbaedf5c9a6d2bb008f5d19ba59dc12f4d9d7
[ "MIT" ]
permissive
Mert-Cihangiroglu/DS-Project-Template
5cae627296f51b98b8b3edb83a1944fde7998fff
8013d3980036722f739bf67e4cc9a47a0a53e14b
refs/heads/main
2023-07-12T22:43:16.302763
2021-08-12T23:16:21
2021-08-12T23:16:21
null
0
0
null
null
null
null
UTF-8
R
false
true
482
rd
set_me_up.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/set_me_up.R \name{set_me_up} \alias{set_me_up} \title{Create folder structure} \usage{ set_me_up(projectname = "Template Project") } \arguments{ \item{projectname}{A character string of the project title} } \value{ A set of folders created in...
886b08620f85294307d051808867153bc5432380
665f3842c37fc5730c9cefee95ff480cabf0ae36
/man/determineIDs.Rd
a208c72cfdcacc40977d1b8cb6c10513d3f60865
[]
no_license
BarkleyBG/multilevelMatching
c0bc128c81d1513c52dda7eafa3b6bc7b6ee1aa6
58e7a0b2a612671d4d0214f0d545ca90bd599d70
refs/heads/develop
2021-01-23T04:13:49.838974
2018-03-03T16:54:11
2018-03-03T16:54:11
86,175,312
0
0
null
2018-01-26T17:04:46
2017-03-25T17:25:14
R
UTF-8
R
false
true
921
rd
determineIDs.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/prepareData.R \name{determineIDs} \alias{determineIDs} \title{Determines Unique Unit Identifiers} \usage{ determineIDs(Y, W, X) } \arguments{ \item{Y}{a continuous response vector (1 x n)} \item{W}{a treatment vector (1 x n) with numerical v...
5ce65a51f11ea1fe65601c1fcd22afb8bec3d0e0
c651c828ed7d003fdda81ed64c41b72e3af4be1b
/tests/testthat.R
e8f70ecf6fd4e9babdfc0a0776965152cf82d54b
[]
no_license
saurfang/graphcoloring
820d3ac3210396e2f6356b354b3e7eea9d057505
65a98f6953ada8e2fdc1b202569c0cf50f37ede6
refs/heads/master
2020-03-29T05:15:06.838679
2020-01-18T20:05:54
2020-01-18T20:05:54
149,574,814
16
1
null
null
null
null
UTF-8
R
false
false
70
r
testthat.R
library(testthat) library(graphcoloring) test_check("graphcoloring")
f8068f66918af29a7751a60fe8d4b549dc2fc6c3
c55d7812cfc02b401397f3ef4acbb4269ef18284
/10x-pilot_region-specific_sACC_step04_comparison-publishedData_MNTAug2020.R
ced1ed518bb97a5751e5921cf335f39a1fd2602f
[]
no_license
BertoLabMUSC/10xPilot_snRNAseq-human
af8836a0d1019260c691dafef692a24885c7f93b
4da6e15b7d9a4507c0997e375d6984bbaecb8995
refs/heads/master
2022-12-28T03:19:08.700352
2020-10-08T22:38:26
2020-10-08T22:38:26
null
0
0
null
null
null
null
UTF-8
R
false
false
6,583
r
10x-pilot_region-specific_sACC_step04_comparison-publishedData_MNTAug2020.R
### MNT 10x snRNA-seq workflow: step 04 ### **Region-specific analyses** ### - (2x) sACC samples from: Br5161 & Br5212 ### - Comparison to Velmeshev, et al (Science 2019) ##################################################################### library(SingleCellExperiment) library(EnsDb.Hsapiens.v86) library(sc...
c17fdd8c56ac2882155546364613f8e07b595ee5
5caafae5175714d59b34af7978c51b5b49cb6a52
/man/default.chunkFormatter.Rd
a320e6154edf3e722b8d3b0eb71886c693933bc6
[]
no_license
linearregression/ioregression
bd6a7ff4fa87d08317f665dd5de5e4249f2ca89a
003cadaccb446863d1e1d52b02d5b79a8da078a1
refs/heads/master
2020-12-27T12:08:40.807345
2015-05-26T21:12:00
2015-05-26T21:12:00
null
0
0
null
null
null
null
UTF-8
R
false
false
559
rd
default.chunkFormatter.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/adf.r \name{default.chunkFormatter} \alias{default.chunkFormatter} \title{Construct a default chunkFormatter} \usage{ default.chunkFormatter(sep = sep, nsep = nsep, strict = strict) } \arguments{ \item{sep}{character seperating the da...
a59e475498a43a867d5208c4bcdf79ec5a172034
fc2823709633c23bee9014ac442e0e7d00e1e618
/server.R
5df043c80aff944e628b10037c0009d4e60fa99c
[]
no_license
NarayananAmudha/Predict_Word_NLP
601546dfb18c2fed325e3c8d6752e325e8162917
25a1a164a9cd786fc2dd273a1c2c3e6c3a7bdfd9
refs/heads/master
2022-11-12T20:51:52.349735
2020-07-11T12:48:21
2020-07-11T12:48:21
278,852,798
1
0
null
null
null
null
UTF-8
R
false
false
6,408
r
server.R
library(shiny) source("word_prediction.R") ### Function `predict_w4(input_text, ngram4.dt)` ### predicts the next word from a trigram input. ### arguments: 1) input_text, char; ### 2) ngram4.dt,, data.table of 4grams and their frequencies. ### 1) processes the input text, ### 2) makes a data.table from th...
fa5e8ceabe15c91b5d15e500b59e14e3bad91538
ab4e5c960c48a751d066adfad93d6bfda23271b8
/code/analysis/old_api/markov/markov_final.R
5212a18c508d514046b708a245e782f045ede17f
[]
no_license
iburunat/doc_suomi
23cef5f4ed5000e362e0d66904b6aef9b1aea541
e9debe662df7e6be591a29943e11ba83db248c01
refs/heads/main
2023-04-17T21:22:12.268736
2021-05-13T22:45:25
2021-05-13T22:45:25
null
0
0
null
null
null
null
UTF-8
R
false
false
4,712
r
markov_final.R
setwd("/home/pa/Documents/github/doc_suomi/code") source("utils.R") source("data_cook.R") cat(howto_data) # final = c() # for(run in 1:100){ # #Base conversion dt = base() %>% group_by(album_id) %>% mutate(valence = greater(valence), energy = greater(energy), ...
d2293571c9bb1babdb08b86fc2f880847b4bff5b
eb74dde34a3b6b9f337e33a033ca27a119034245
/R/Survival.R
9b0543d34819b0b46549e8d98b7d8b55104aef8a
[]
no_license
cran/DetLifeInsurance
3c9a1632fb0ddd78ae9c7dcc4a633ef429e281d8
d0b5d3a696c5bc72ce0692d6cf7d4e9921336cfc
refs/heads/master
2022-12-17T07:44:43.324629
2020-09-12T08:20:07
2020-09-12T08:20:07
278,226,350
0
1
null
null
null
null
UTF-8
R
false
false
1,208
r
Survival.R
#' @title Survival Probability #' @description Calculates the probability of survival given a mortality table for an individual or a group. #' @param x An integer or a vector including only integers representing the age of each individual. #' @param n An integer. The term. #' @param data A data.frame of the mort...
6ad0b1245c9d443683e4a1b54e84867d3a07ed7b
376b1c2913cd60ba9c2dbf7e8c87ac24a398aedf
/Documents/data/plot4.R
9fc6446e2f63657dd41381d5955c0156b586d918
[]
no_license
mohitsh/Exploratory-Data-Analysis_Course-Project-1
14d89427a50ba3a4d81cdb9d1ab750bfa0958475
202fcda1c1fe48b6cb3a556e5e57a613d9487430
refs/heads/master
2021-01-23T03:42:33.335446
2015-08-15T08:18:15
2015-08-15T08:18:15
35,385,090
0
0
null
null
null
null
UTF-8
R
false
false
1,604
r
plot4.R
#reading .txt file where header is TRUE to take care of the first row which conatins the row names data <- read.table("household_power_consumption.txt", sep=";", header=TRUE) #merging the date and time columns of the given data and converted it to date format data$Timestamp <- strptime(paste(data$Date,data$Time), for...
918bc67f6b3011c97cf1286f337295db58c14fb3
a7bc39f0ce5053cfde1616acd7b1ef27a87ca67a
/scripts/motivation.R
43efcb4d24df7bd7a152841c7d401fa039dbefea
[ "MIT" ]
permissive
BillHuang01/CoMinED
cdd7ee778da21c9f9d09db94c7fafa2273ffabef
bc4ca183e9bf01a9928fa645b9e03df4d90cae97
refs/heads/main
2023-04-01T23:53:46.230843
2021-04-02T00:47:16
2021-04-02T00:47:16
352,440,023
3
1
null
null
null
null
UTF-8
R
false
false
6,812
r
motivation.R
############################################################################# # motivation rm(list = ls()) constraint <- function(x){ c1 <- (x[1] - sqrt(50 * (x[2] - 0.52)^2 + 2) + 1) c2 <- (sqrt(120 * (x[2] - 0.48)^2 + 1) - 0.75 - x[1]) c3 <- (0.65^2 - x[1]^2 - x[2]^2) return (c(c1,c2,c3)) } # constraint cont...
48fbe55e47d57df55b82c27b54b0989132467d3d
f1721111e077d9e5d14b4fe8f40f6baa33308fcb
/tests/testthat/test_waterfallplot.R
bc63d20b38b3c5f3f34b4c7f43eb7e870e00594c
[]
no_license
LabNeuroCogDevel/LNCDR
6d71d98c36a42ebef3479b9acc183680d0d0bb8d
f9944ce2ca03c38476975b59b0edb458d65ee227
refs/heads/master
2023-04-27T05:01:26.259112
2023-04-18T19:12:33
2023-04-18T19:12:33
41,372,116
3
1
null
null
null
null
UTF-8
R
false
false
464
r
test_waterfallplot.R
context("waterfall_plot") test_that("group data", { d <- data.frame(age=c(10, 20, 25, 13, 14, 10), id=c(100, 100, 100, 200, 200, 300)) dg <- waterfall_group(d) expect_equal(dg$age_id, c(1, 1, 1, 3, 3, 2)) expect_equal(dg$minage, c(10, 10, 10, 13, 13, 10)) }) test_that("plot", { d <- data.fr...
d77b0f1e8f5f0e526defa9f276cc64c4c167eb2c
793a67eabb0af53f20a88e6dfc24227ba65673f8
/townMapGenerator.R
c727bbaf93e076bee8164669583fd4505fcc422a
[]
no_license
kikichang/TWmap
2478a4af15e35248b7c2b83907de39b4793ed21a
9d5c420ffa282a0c9b15c890cc34536236c86215
refs/heads/master
2020-07-22T07:24:16.002853
2016-11-15T16:23:06
2016-11-15T16:23:06
null
0
0
null
null
null
null
UTF-8
R
false
false
2,750
r
townMapGenerator.R
#townMapGenerator.R #160830 #Kiki Chang(ychang64@jhu.edu) #This program generates a chorepleth map of the selected city/county #using functions & vars from map.R and townMapVars.RData. # #Note: town_test.xlsx are provided as sample files for creating township map. #The map is provided by Ministry of Transportation (src...
7981a1aa586b432cda3cd2f4f8080b5f8fc93641
09703e02e04104a1b4e5940dfc6bacea6102bbad
/R/cachem.R
740ddd33cae170844e9fe75dac0f082abca72efa
[ "MIT" ]
permissive
isabella232/cachem
52bd23ccc6165c865b433c4f8d876d17b2adf1d8
cfb26725bcd997864f8cdb091e6c273fe7f5a44b
refs/heads/master
2023-07-09T06:03:10.673449
2021-07-06T16:04:04
2021-07-06T16:04:30
null
0
0
null
null
null
null
UTF-8
R
false
false
808
r
cachem.R
#' @export format.cachem <- function(x, ...) { paste0( paste0("<", class(x), ">", collapse= " "), "\n", " Methods:\n", paste0( " ", format_methods(x), collapse ="\n" ) ) } format_methods <- function(x) { vapply(seq_along(x), function(i) { name <- names(x)[i] f <- x...
50b189deac061511e9af50ea5ca31bd5ca170af1
54589dbe24c676c9bb573a0486fb2fdded99c77b
/3-real-data-cleaning.R
dcbc9e26b53ef42c4e6c7e3037a3fd6f28933984
[]
no_license
yliu433/r-spsp
15769bb6caff7c644eeb922b5bc1c49880fa16f3
763d0b61bfb658808d9962ca08c63ba8c0123922
refs/heads/master
2021-01-12T00:13:47.265870
2017-07-07T00:29:49
2017-07-07T00:29:49
78,691,139
0
0
null
null
null
null
UTF-8
R
false
false
1,850
r
3-real-data-cleaning.R
# load GBM gene expression data ——— ge2 <- read.table("https://tcga.xenahubs.net/download/TCGA.GBM.sampleMap/AgilentG4502A_07_1", header = T,sep="\t",fill = T,quote = "",stringsAsFactors = F) # 17814 by 103 ge3 <- read.table("https://tcga.xenahubs.net/download/TCGA.GBM.sampleMap/AgilentG4502A_07_2"...
78484fa466bdc53a1be48e8704be837071945652
e0a398f6441a1102c16551473eec367d7c2ff960
/man/global.impact.Rd
68c2644b7565cb04d3a48afac5599d8f0689426d
[]
no_license
ciaranodriscoll/networktools
254b8bc6c06878bcb48828305b715ab25ec1c030
74555e904a0e35d87f6dcd69ea544ec3a83f8ea1
refs/heads/master
2020-03-27T05:03:21.010259
2018-06-06T19:53:32
2018-06-06T19:53:32
null
0
0
null
null
null
null
UTF-8
R
false
true
2,704
rd
global.impact.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/global_impact.R \name{global.impact} \alias{global.impact} \title{Global Strength Impact} \usage{ global.impact(input, gamma, nodes = c("all"), binary.data = FALSE, weighted = TRUE, split = c("median", "mean", "forceEqual", "cutEqual", "q...
c3613c8ad2162cec43c999030e1de0a2af2e2b24
579745aedfcaf14cef6f612dc508f90c9c54ef66
/SVM.R
8ee81e69628cd96893b0b497c49a2dffc60d6b3b
[]
no_license
sahilbhange/Machine-Learning-Assignments-1
ede694fd0a91f84ff45ef23eb590a1d5a96f1e9f
aeee3542f3a9824e5f2f210e033f758302e33e57
refs/heads/master
2021-04-15T03:46:37.434189
2018-03-26T19:10:51
2018-03-26T19:10:51
126,873,819
1
1
null
null
null
null
UTF-8
R
false
false
2,493
r
SVM.R
pollution_dt <- read.csv(file.choose(), header = TRUE, sep = ",",fileEncoding="UTF-8-BOM") View(pollution_dt) #Running the linear regression to get the model model1 = lm(y~x1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12+x13++x14+x15, data=pollution_dt) #plot only Y values from the pollution dataset plot(pollu...
0214351d2821d6277e64d7deb6264cff968d6545
aa5711d5be4e3dde1740aab48aee48a108adb5bc
/DataProducts/server.R
4adf9402f56ecb086d7285dfdacc7a5516e03bbe
[]
no_license
jplooster/datasciencecoursera
b4cebecca2bab8f397ed72cc6ecfe8a2f5d37f48
522ecb5c17872f9edea15b405410ca8ab3696038
refs/heads/master
2021-01-23T13:29:50.086119
2014-08-19T07:08:48
2014-08-19T07:08:48
null
0
0
null
null
null
null
UTF-8
R
false
false
1,885
r
server.R
library(shiny) blackscholes <- function(S, X, rf, T, sigma) { values <- NULL d1 <- (log(S/X)+(rf+sigma^2/2)*T)/(sigma*sqrt(T)) d2 <- d1 - sigma * sqrt(T) values[1] <- S*pnorm(d1) - X*exp(-rf*T)*pnorm(d2) values[2] <- X*exp(-rf*T) * pnorm(-d2) - S*pnorm(-d1) ...
e116dd8fa30030aaec5db38590ebe56494a41f72
70b5810e0a9e8193baf3dc83f183c07cdc67cd5f
/Mineria_datos_clasificacion_no_supervisada/trabajo_asociativas/Script1.R
dd15492d23343e772e66525d356e2ea4ccd0c34c
[]
no_license
Nico-Cubero/master-datcom-2019-2020
11924c895ff52f91cbdb254d932ee6cecc20800d
e956799382b147aff385d62749bf915116893449
refs/heads/main
2023-06-08T09:17:40.930193
2021-06-13T11:54:11
2021-06-13T11:54:11
376,529,939
1
0
null
null
null
null
UTF-8
R
false
false
5,076
r
Script1.R
# Librerías importados library('arules') library('ggplot2') # Función para lectura del dataset read.statlog.heart.dataset <- function(filename) { dat <- read.csv(filename, sep=' ') colnames(dat) <- c('age', 'sex', 'chest pain type', 'resting blood pressure', 'serum cholestoral', ...
418e595db41d4fc283c78ab05b7bdc07cebf75af
f1606c44f5d1cdb4bdb26dcfb8fd4619cd49764c
/plot2.R
719e20642bd05fbe08775caaea9ed67b1736f3e0
[]
no_license
flanclan4860/ExData_Plotting1
641c288f928080926aba880156958114fadda5f6
f18cc7e1f1fff3d708f5d208c1fc59aed9523287
refs/heads/master
2021-01-22T17:17:48.423895
2015-01-09T23:46:07
2015-01-09T23:46:07
28,944,523
0
0
null
null
null
null
UTF-8
R
false
false
1,010
r
plot2.R
# Exploratory Data Analysis Plot Assignment 1 # PLOT NUMBER 2 # Open the file png(filename = "plot2.png", width=480, height=480) # Read first 5 rows of file to get colClasses first5rows <- read.table("household_power_consumption.txt", header = TRUE, sep=";", nrows = 5) classes <- sapply(firs...
890856ccd52703a80130690ad6238c26d106d459
af06be512fbe0f94cbc89749d6c1da27e10724b9
/source/00_load-raw-data-and-clean.R
11105f00dae301e93ab6ba7e200e601eb8ff5632
[]
no_license
keanarichards/stats-masters
f0fd80e2f7eec2fa57722c68aa0972de83360a7c
ffd79a42baff8ca46b40dd445a4a05bb2233fb39
refs/heads/master
2022-12-31T14:46:45.556745
2020-10-13T12:36:35
2020-10-13T12:36:35
262,153,887
0
0
null
null
null
null
UTF-8
R
false
false
9,154
r
00_load-raw-data-and-clean.R
# load packages ----------------------------------------------------------- ## Package names packages <- c("tidyverse", "reshape", "hablar", "here", "snakecase", "data.table", "conflicted") ## Install packages not yet installed installed_packages <- packages %in% rownames(installed.packages()) if (any(installed_packa...
e09b0d24de233db4f95d38105b7b75242f7535cf
9c68af77a33dbbb2dace315bc0617d0ede1eaefe
/R/convert_pinyin.R
2166124ec784826750838af30a4d2048d1142691
[]
no_license
qu-cheng/ChinSimi
fd59e62aae9324c7a683af824c1ec15b85a0569d
5bdcbe74d1480253774975a22491f9b4329ca6b5
refs/heads/master
2021-09-23T19:45:16.646394
2018-09-26T22:00:26
2018-09-26T22:00:26
null
0
0
null
null
null
null
UTF-8
R
false
false
1,929
r
convert_pinyin.R
#' Convert Chinese strings to pinyin. #' #' @param Chin.str The string need to be converted #' @param method Whether the output should be toned or toneless. #' @param multi Whether the output should contain more than one pinyin #' @param sep Character used to seperate different characters #' @param parallel Whether or ...
b8787ccf6315a0dc1d9f20ffaa27c28f029d9815
3c45d4244992bf0f8df12d35c1eb305208e1097a
/main.R
18ccc6186f8eefbe6b849e71fc0217e636b0db4b
[]
no_license
TristanMngr/mood_tweets
0e5ff45fe31b877b051c881df6033055f2475840
e28b8587f4c6f0c0d8b6d444012fc1df4713073e
refs/heads/master
2020-03-30T02:04:38.302726
2018-12-28T16:25:39
2018-12-28T16:25:39
150,611,745
0
0
null
null
null
null
UTF-8
R
false
false
3,162
r
main.R
install.packages("twitteR") install.packages("tidyverse") install.packages("reshape") graph package install.packages("ggplot2") # stringr and dplyr library(reshape) library(dplyr) library(stringr) library(twitteR) library(lubridate) library(ggplot2) GROUP_DAYS_TWEETS = 10 BAD_WORDS = c("bad", "attack", "terrorist"...
73c3239585b462a69b9020f3c10d5d42a6689da5
509cd023e3ec861db9e7f031e4fea77e58b148e0
/man/extract_moves.Rd
7512210b08c240976bdcb2ea6569cec57cfc5d43
[]
no_license
JaseZiv/chessR
02f22289daae8037bd1b25676fc88a9eccea4493
7d6633c06d2f37f8a6875445f534c162b10d3d81
refs/heads/master
2023-08-16T21:25:32.385108
2022-12-14T10:15:23
2022-12-14T10:15:23
208,428,241
32
7
null
2023-08-20T23:01:51
2019-09-14T11:05:36
R
UTF-8
R
false
true
463
rd
extract_moves.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/moves.R \name{extract_moves} \alias{extract_moves} \title{Extract moves from a game as a data.frame} \usage{ extract_moves(moves_string) } \arguments{ \item{moves_string}{string containing moves built by `chessR` (e.g. from \url{https://www.c...
20fdd633b0c0133c7370b8b1878046f1979be9b9
0d3eaa66183310fad4dafa4611d4ab25162f46ab
/day2/test.R
1adc763d7c2035193588e1f46c08d3d8174d1409
[]
no_license
Paul9615/linkplus_textmining
a7618edf740d972805499c7090777b7f391b00af
2a1f710362aee383beab4618209d7ead89cd14da
refs/heads/master
2022-07-17T18:32:56.590766
2020-02-15T14:22:47
2020-02-15T14:22:47
null
0
0
null
null
null
null
UTF-8
R
false
false
677
r
test.R
library(dplyr) library(tidyverse) library(ggplot2) # 문제 mpg <- as.data.frame(ggplot2::mpg) str(mpg) mpg_4 <- mpg mpg_4 %>% select(model, displ) %>% group_by(model) %>% filter(displ<=4) %>% summarise(m_dipl=mean(displ)) mpg_5 <- mpg mpg_5 %>% select(model, displ) %>% group_by(model) %>% filter(di...
d2c189aad413f13cf3769935aa5264b35ef60a48
2728ef3e951c20fe5f21f3ef3041f36d9b5a2281
/Dropbox/rexamples/complete.R
20a42fc138b04d1a1045e47bdf054827fb8c691e
[]
no_license
hypatiad/datasciencecoursera
784d0e3a510402684015ce448a40d1bdc6fb8680
74235e0d454535c1c101b4fd750c47b1bdd3813a
refs/heads/master
2021-01-01T18:37:30.698172
2014-09-11T17:58:02
2014-09-11T17:58:02
null
0
0
null
null
null
null
UTF-8
R
false
false
913
r
complete.R
complete <- function(directory, id = 1:332) { ## 'directory' is a character vector of length 1 indicating ## the location of the CSV files ## 'id' is an integer vector indicating the monitor ID numbers ## to be used ## Return a data frame of the form: ## id nobs ## 1 117 ## 2 ...
9aa1122be9def07f8d01a799510453a0935c3c31
d2061a237532f631fde4eb2651093bed8593c403
/man/Impeach.Rd
955d886bae94dddd48b9374ba2d3f8abe74601f3
[]
no_license
cran/sur
23fb12f03ea816e80e0b2fd0a1491f2ca81218dd
612cc5e2391a019ed157f90958d31f40e9466560
refs/heads/master
2020-12-22T19:13:21.454433
2020-08-25T21:30:02
2020-08-25T21:30:02
236,903,605
0
0
null
null
null
null
UTF-8
R
false
true
1,591
rd
Impeach.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-Impeach.R \docType{data} \name{Impeach} \alias{Impeach} \title{Clinton Impeachment Votes} \format{A data frame with 100 rows and 11 variables: \describe{ \item{name}{senator’s name} \item{state}{state the senator represents} \item{...
af35110e8a0898daebc4f71fb4eadf45de792b39
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/BayesMallows/examples/generate_transitive_closure.Rd.R
0d14ed24233b293bf70ab5b14027c644ed9c9170
[]
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,878
r
generate_transitive_closure.Rd.R
library(BayesMallows) ### Name: generate_transitive_closure ### Title: Generate Transitive Closure ### Aliases: generate_transitive_closure ### ** Examples # Let us first consider a simple case with two assessors, where assessor 1 # prefers item 1 to item 2, and item 1 to item 5, while assessor 2 prefers # item 3 t...
1bd742736eb96a23d445d875a496f65c781aa517
82814f3de96f63ad0f94aa64b2123a4be13d918e
/man/fit.icc.regression.model.Rd
3b4616f0f6b31a75e5c107c116a1789a66a057f1
[]
no_license
mattmoo/SteppedWedgeAnalysis
07bbee9c9d3d5affdeebce468a5269ead3f3230c
731812f367af8469766d022da58ecffcf3640d80
refs/heads/master
2020-12-05T04:04:51.041312
2020-01-13T18:52:43
2020-01-13T18:52:43
232,005,077
0
0
null
null
null
null
UTF-8
R
false
true
786
rd
fit.icc.regression.model.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulate.helpers.R \name{fit.icc.regression.model} \alias{fit.icc.regression.model} \title{Fits a regression model predicting ICC from provided variables.} \usage{ fit.icc.regression.model( icc.dt, predictor.vars = NULL, include.interac...
ecf9c0c2c8300c38e6083f07fcd8e57611fefe5b
7d02198a16df914713b8e883562a2e4b419f1bcb
/hw08_script.R
e5326607216620f75b750521798cb895ac71494e
[]
no_license
panders225/Categorical-Data-Analysis
0f7d308ace6158f6a2eaa81c22554434f355f1d6
776c499953626465dda920b686f047fb7a56cd0d
refs/heads/master
2021-01-24T07:12:37.295113
2017-07-22T12:31:33
2017-07-22T12:31:33
93,336,313
1
0
null
null
null
null
UTF-8
R
false
false
6,839
r
hw08_script.R
library("tidyverse") # 8.2 (1 - pnorm(10.91))*2 (1 - pnorm(10.91)) sqrt( ((132+107) - (132-107)**2)/1144) sqrt((132+107) - ((132-107)**2)/1144)/1144 sqrt((125+2) - ((125-2)**2)/1120)/1120 qnorm(p = 0.95) # 8.6 help("mcnemar.test") mcnemar.test(matrix(c(114, 181, 11, 48), nrow=2, byrow=T)) help("mcnemar.test") # ...
c3f31761b8a7026a3f6ad71b5ab7f0776d5d4768
1f24d9b3358198d779a689dc19a960debd20ebb2
/R/packages.R
31eb7ce3b68276b5fe6d35f7adf9e62da5b294ba
[]
no_license
ChanceNoff/Continuous-character-models
a5385786f317db08639bc88f2cd67d7ddc5c4e79
797820df77765f3b584950d3dbd85e9028b975f5
refs/heads/main
2023-04-15T12:01:09.106310
2021-05-07T03:16:10
2021-05-07T03:16:10
344,346,493
0
0
null
null
null
null
UTF-8
R
false
false
194
r
packages.R
library(drake) library(ape) #utility fns library(geiger) #utilty fns library(OUwie) library(devtools) #devtools::install_github('FranzKrah/rMyCoPortal') library('rMyCoPortal') library(tidyverse)
5d9dcbcd594170937ff47ae198741a1d3744afaf
d42bef58873857d5766955bb8af2dfec6d02d177
/practice_1_markdown.R
6d814f42bf98c0f23004aaf5e41bd391aaf7b8b5
[]
no_license
veesta/practice_1
3fd483104e299704adfaddab281e12efa833a619
c0baec7c532a33d5e83a67ff91e282f29ef51664
refs/heads/master
2021-01-12T13:23:23.083285
2016-09-23T01:23:04
2016-09-23T01:23:04
68,973,554
0
0
null
null
null
null
UTF-8
R
false
false
2,173
r
practice_1_markdown.R
"1_raw_to_analytic_data_practice_one_script.R" library(tidyverse) #load raw data raw_data <- read_csv(file="practice1_analytic_data.csv") #View (raw_data) #remove missing data raw_data <- read_csv(file="practice1_analytic_data.csv", na=c("","NA","-999")) #View (raw_data) #tell R about categorical variables sex an...
41fbf41897f9ccb65399fe8310c748e71a82841b
d58b6bcfc847a1f8fafa5de52f308d6546a422ac
/2018_HAWA/1-1_Data_Management.R
0543779a9198b92242c6374409b7cc660d37209d
[ "MIT" ]
permissive
baruuum/Replication_Code
814d25f873c6198971afcff62b6734d3847f38f6
23e4ec0e6df4cf3666784a0d18447452e3e79f97
refs/heads/master
2022-03-01T19:42:13.790846
2022-02-15T07:32:47
2022-02-15T07:32:47
138,830,546
9
10
null
null
null
null
UTF-8
R
false
false
13,064
r
1-1_Data_Management.R
################################################ ################################################ #### HOW ARE WE APART #### #### #### #### DATA MANAGEMENT 1 #### #### Preparing Data for DIF Model #### #### ...
f7e7739ef395cce06e0f79c8478192998be8e927
b68440d87536643ff275a852dbaa641f41c791f3
/R/iscam_binom.R
10b99a05dd212b4ac0264cbb84284dcd51dcc23f
[]
no_license
apjacobson/iscam
3f07a077ff32409802676d41a2785f4e4bfa8bd5
148c30cadadf1b65705b0934f6fe3fa584f07ca2
refs/heads/master
2020-04-22T07:06:58.178789
2019-03-01T18:28:11
2019-03-01T18:28:11
170,210,748
0
0
null
null
null
null
UTF-8
R
false
false
1,102
r
iscam_binom.R
#' iscam_binom Function #' #' This function calculates either a tail probability or the inverse cumulative #' probability depending on whether k or prob is passed a question mark. #' @param k number of successes #' @param prob probability of interest #' @param n number of trials (zero or more) #' @param pi probability ...
1be7ae4bce303d6d6fd2dc4bb43efb23ae9500e4
443a9486aefd820615f8f964620c60e5dbdc53c6
/302-Main-Paper-Figure-3-a-b-c.R
7d9308ea73490f874add7356d4397c0dc1410ff7
[]
no_license
eriqande/Pearse_etal_NEE_NMFS_Data_Analysis
7ce19f76b09a1dfb252e0c1d7b8cba690fbb8bde
a84ccbf7fd4ea74f32d871aaa9aad840412960fa
refs/heads/master
2020-07-25T00:26:20.481162
2019-09-13T22:42:08
2019-09-13T22:42:08
208,098,192
0
0
null
2019-09-13T14:03:46
2019-09-12T16:41:51
R
UTF-8
R
false
false
5,393
r
302-Main-Paper-Figure-3-a-b-c.R
library(tidyverse) library(gridExtra) library(cowplot) Geno_long <- readRDS("data/Geno_long.rds") # now, we compute the proportion of each genotype in each interval, grouped by sex # and we compute the SE around that estimate. geno_summary <- Geno_long %>% filter(!is.na(LENGTH), !is.na(geno), !is.na(GenSex)) %>% ...
cd38e940c6a01f2f9693fc71cac04b4a958e5b6e
f2ca5431d921b1189a6ebaacd88aef3a9a1a1820
/R/LearnerClustAgnes.R
4d5f6a67be2256f6daaede71c1f9d5b47b50d0c1
[]
no_license
mlr-org/mlr3cluster
44747d2b4fae9170b5ea20704cccfdad777f198f
161aee5e75aa299bea29617020339768a8d9a75c
refs/heads/main
2023-06-22T09:58:51.455583
2023-06-15T22:32:15
2023-06-15T22:32:15
157,852,274
15
7
null
2023-03-10T01:08:56
2018-11-16T10:32:38
R
UTF-8
R
false
false
2,769
r
LearnerClustAgnes.R
#' @title Agglomerative Hierarchical Clustering Learner #' #' @name mlr_learners_clust.agnes #' @include LearnerClust.R #' @include aaa.R #' #' @description #' A [LearnerClust] for agglomerative hierarchical clustering implemented in [cluster::agnes()]. #' The predict method uses [stats::cutree()] which cuts the tree r...
a0a12cf6617c29c7de002aef2287dd2e8288835b
f635bcd87e9c9e663e0daf59685daf72d2c7fc74
/cachematrix.R
be0ae0e28737ba84d925cfd828bdd93a1148b85c
[]
no_license
RichCoursera/ProgrammingAssignment2
af66315c8d45ec1f9687f7673ef23520a1ee14d7
3702f5f6d1607c1fe44060562835b0aab1342a94
refs/heads/master
2020-04-08T04:41:51.511398
2015-02-18T05:35:50
2015-02-18T05:35:50
30,890,365
0
0
null
2015-02-16T21:55:56
2015-02-16T21:55:53
R
UTF-8
R
false
false
1,485
r
cachematrix.R
## The two functions below will take a matrix and return ## the inverse of that matix. ##There is also a function for an error message for invalid data. ## This function creates a special "matrix" object ## that caches its inverse. makeCacheMatrix <- function(x = matrix() ) { m <- NULL set <- function(y) { x ...
fa1d1525bb2b71319b3839919a8621a17dc28ca6
27d25a6d65a1106c399f55e3222d7ecaa2187f2c
/R/basic/04_basicStochasticModels.R
12e10701fe288989210b3501d5f3441297bd928b
[]
no_license
damiansp/TS
d57925a7093a250a968a8517feaba5849282118e
668e86f3073721784e4bb992edb30de6fc1a04f6
refs/heads/master
2022-08-09T00:22:19.634731
2022-07-27T01:57:47
2022-07-27T01:57:47
150,122,489
0
0
null
null
null
null
UTF-8
R
false
false
6,593
r
04_basicStochasticModels.R
#=========#=========#=========#=========#=========#=========#=========#========= rm(list=ls()) lapply(paste('package:', names(sessionInfo()$otherPkgs), sep=''), detach, character.only=T, unload=T) setwd('~/Learning/TS/R/basic') options(digits=5) library(MASS) DATA <- paste0("https://raw.githubuser...
f48b73c5070ab0329f1bdf4a3345565b03772169
41d619d06279d576cc6cca9f21cacff69f934917
/Exploratory-Data-Analysis/plot1.R
a94abb87dd3eb2abefa176d03753d82d3701e9f4
[]
no_license
phashemi/ExData_Plotting1
10f863c790aa6c2af1595ea0e9a002b9845d7e86
342b7d1c8cded27f1aa805623ab064ccd6c7a4af
refs/heads/master
2021-01-18T05:53:00.268954
2015-08-08T13:05:32
2015-08-08T13:05:32
40,359,099
0
0
null
2015-08-07T12:21:00
2015-08-07T12:21:00
null
UTF-8
R
false
false
646
r
plot1.R
## Read the full dataset data <- read.csv("C:/Users/PAYMON/data/exdata-data-household_power_consumption/household_power_consumption.txt", header=T, sep=';', na.strings="?", nrows=2075259, stringsAsFactors=F, quote="") ## Subset the data to February 1-2, 2007 data <- subset(data, (data$Date == "1/2/2007" | data$Date== ...
c3bccc30a258ce1f8500d8ee93ea23a2b6d1062f
6d33a4b4474bf05ec47a94cf03911cf00f493c17
/Classification/Code/R/runScripts/6cancer_RBM_Script.R
0e632c8ddee8b69925db4c2a362e1a37568155c9
[]
no_license
Genuity-Science/unconventionalML
a6d394e1f88b0a9174fb593ba9a4ddec96159e2f
7e9d1eb5c13524b66da787fc88f2938831d7308a
refs/heads/master
2023-08-05T22:02:55.025946
2021-09-22T16:28:07
2021-09-22T16:28:07
310,676,584
1
1
null
2020-11-06T20:19:57
2020-11-06T18:31:50
R
UTF-8
R
false
false
4,373
r
6cancer_RBM_Script.R
library(deepnet) library(feather) library(HandTill2001) library(caret) sig <- function(x) {1/(1+exp(-x))} softmax <- function(x) { x2 = x - max(x) y = exp(x2)/sum(exp(x2)) } predict_rbm <- function(r1,test_data,classes) { energy_mat = matrix(nrow=nrow(test_data),ncol=length(classes)) for (m in 1 : le...
4e150dacbb0326be8d5db8630255817961096df9
29585dff702209dd446c0ab52ceea046c58e384e
/frbs/R/frbs-package.R
cdea3628478d3bcbe342483fbfaee671b8573a00
[]
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
21,173
r
frbs-package.R
############################################################################# # # This file is a part of the R package "frbs". # # Author: Lala Septem Riza # Co-author: Christoph Bergmeir # Supervisors: Francisco Herrera Triguero and Jose Manuel Benitez # Copyright (c) DiCITS Lab, Sci2s group, DECSAI, University o...
8a9fbfe02c9f6c624e70c82e2f4f3bcda805d991
9f8e0df3419d674cc62a1177e5c5b9fc8685d282
/WM2018/R/play_game.R
3aea48231434cd3891fffc0896063ee82c895d53
[ "MIT" ]
permissive
STATWORX/blog
89c8b7fbe1f9cd212a9982d13041252ea967fbd4
a7fcc793ce9ed7f78edf9d6e86066889236ad9a5
refs/heads/master
2022-11-28T12:29:15.667372
2022-11-16T10:41:33
2022-11-16T10:41:33
122,983,287
119
601
MIT
2022-06-21T21:40:04
2018-02-26T14:44:03
R
UTF-8
R
false
false
3,038
r
play_game.R
# Input: First three arguments are fixed. Default values are given # Returns: a matrix with length(team1) rows # and 2 columns with goals play_game <- function(team_data, team1, team2, musthavewinner = FALSE, play_fun = "simplest",...
1c9b82a79e26fe1f7a6537e85e2b244b529b1c6d
fd0622e97276bba2c04d3c2fcba902cdfb65e214
/packages/nimble/R/cppDefs_RCfunction.R
b43f0f77877034cc2d9f39979dbcf94739e81604
[ "BSD-3-Clause", "CC-BY-4.0", "GPL-2.0-only", "GPL-1.0-or-later", "MPL-2.0", "GPL-2.0-or-later" ]
permissive
nimble-dev/nimble
7942cccd73815611e348d4c674a73b2bc113967d
29f46eb3e7c7091f49b104277502d5c40ce98bf1
refs/heads/devel
2023-09-01T06:54:39.252714
2023-08-21T00:51:40
2023-08-21T00:51:40
20,771,527
147
31
BSD-3-Clause
2023-08-12T13:04:54
2014-06-12T14:58:42
C++
UTF-8
R
false
false
29,974
r
cppDefs_RCfunction.R
RCfunctionDef <- setRefClass('RCfunctionDef', contains = 'cppFunctionDef', fields = list( SEXPinterfaceFun = 'ANY', SEXPinterfaceCname = 'ANY', ## character ADtemp...
14e08923d8855d79e7dbec616e24cbd1e8025848
eb8cd6719d2f9e4855f05e39e10d23b26bfa2d7c
/R/SRM_PRINT_SUMMARY_LAYOUT2.R
cd431dada506c4ea03b138d4bb02e26a73283585
[]
no_license
alexanderrobitzsch/srm
060bb5ed866d2dd8ee5a2cbd587be2336d8952bd
5e403a8e8ebd8387203a104930eaaec56bf3e188
refs/heads/master
2022-11-04T00:32:02.408800
2022-11-03T10:14:46
2022-11-03T10:14:46
163,948,083
6
1
null
null
null
null
UTF-8
R
false
false
2,228
r
SRM_PRINT_SUMMARY_LAYOUT2.R
## File Name: SRM_PRINT_SUMMARY_LAYOUT2.R ## File Version: 0.09 SRM_PRINT_SUMMARY_LAYOUT2 <- function(object, digits) { #- print call SRM_SUMMARY_PRINT_CALL(object=object) #* R session info SRM_SUMMARY_PACKAGE_VERSIONS(object=object) #* print informations about computation time parm.table <- ...
7a5d1dc6e32e23275a5df78f96948757b24c1d44
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/fs/examples/file_info.Rd.R
c0c535988d2c2cfe94b954b9a748a60ddbe37640
[]
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
488
r
file_info.Rd.R
library(fs) ### Name: file_info ### Title: Query file metadata ### Aliases: file_info ### ** Examples ## Don't show: .old_wd <- setwd(tempdir()) ## End(Don't show) write.csv(mtcars, "mtcars.csv") file_info("mtcars.csv") # Files in the working directory modified more than 20 days ago files <- file_info(dir_ls()) f...
33fb3943ccdca3eeb6997e740d2dc28860c073f5
b00e1393dea3bab1fd54772445600641b5364b5d
/graphicsforstatistics_2e_figures_scripts_r/Chapter 2/fig02x002.R
29a6c6eafa6f5b377738c5cb92df4e4286901651
[]
no_license
saqibarfeen/coding_time
549afc9e46d85e62de5d722aec0d6d1101fde428
a963cb993d03b368c6e91d5b360624530fa7d7e9
refs/heads/master
2020-07-06T19:18:44.859104
2019-09-11T03:42:02
2019-09-11T03:42:02
203,114,689
0
0
null
null
null
null
UTF-8
R
false
false
1,197
r
fig02x002.R
fig02x002<-function(){ item<-c("Overall coordination", "Political affairs", "International law", "International cooperation", "Regional cooperation", "Human rights", "Public information", "Management", "Internal oversight", "Administrative", "Capital", "Safety & security", "Development", "Staff assessment...
4464345ece7100f065955435acb0ee0fc0c2b32a
3a3f54faa30b28fdd03a1407a0d06357a83d9404
/Classes/Generics.R
146f38b3c43968b45dc9b5666f85ece976efc038
[]
no_license
marc-fred/SpatialCoalescent
865c7d55fb75a87e48acc0eb8709fd0b208ddbb8
a8e032c234cf0c044fd17cdcf4ed6b8d355cc005
refs/heads/master
2021-01-18T20:22:51.821149
2015-06-24T17:47:08
2015-06-24T17:47:08
39,379,883
0
0
null
2015-07-20T11:23:54
2015-07-20T11:23:54
null
UTF-8
R
false
false
886
r
Generics.R
setGeneric( name = "ToStream", def = function(object, con, description) { return(standardGeneric("ToStream"))}) setGeneric( name = "myWrite", def = function(object, file) { return(standardGeneric("myWrite"))}) setGeneric( name = "getValues", def = function(object) { return(standardGeneric("getValues"))})...
07ff68acd1ecbbc8824744751ff9da01ead2ff47
c78f4092081a7e68b62073d46f385e25255f566b
/R/forecast_loops.R
95fc1cf53f2f590c792df69d267728ece6b3136b
[]
no_license
DrRoad/shiny.forecast
37d7ecb763754bd7a12f97c4a57b7623f66df5e4
8337e9f49562ec23a77fd1163b8ce7e8b4733957
refs/heads/master
2020-04-26T21:09:13.508135
2016-03-14T19:01:43
2016-03-14T19:01:43
null
0
0
null
null
null
null
UTF-8
R
false
false
7,115
r
forecast_loops.R
#require(data.table) #source('forecast_functions.R') append.dt <- function(BI=NULL) { files <- list.files(path="output/",pattern="fc*") x <- NULL for(i in 1:length(files)){ x <- rbind(x,fread(paste0("output/",files[i]),colClasses = c('Date','integer','character','character','character'))) ...
4c874b8dca43180c6228d3545fcbef7db92db333
250e2044d4e81fedacd7e8f6edabb4162fc05566
/misc/set_up_database.R
23d79c3f07b3ea22b27c6ff715566cb2c461cdc0
[]
no_license
joebrew/brewpalau
b601a6e88086756bbe4603ca29e41f81795617e4
2565916a701bbab206c9027a4cf7f6f49d3c5827
refs/heads/master
2020-05-03T13:00:00.909348
2019-04-15T04:33:07
2019-04-15T04:33:07
178,641,769
1
1
null
null
null
null
UTF-8
R
false
false
1,259
r
set_up_database.R
library(dplyr) library(readr) library(RPostgreSQL) # # From within psql # CREATE DATABASE twitter; # # Now from command line: # psql twitter set_up_database <- function(files){ # Files should be a vector of paths for the .csv files # For example: # files = c('~/Desktop/file1.csv', '~/Desktop/file2.csv') # L...
764c07e36f6466b21a8e2e5b8404c7a89eb859d0
5874ae0a22213c3a692763f285a64433bd512f94
/R/IMM_forecast_v1.R
c2f8288106bfc73f9c1fe864eea73c85380a0467
[]
no_license
d8aninja/code
8356486291a2db9f419549edaa525d9bbe39abfc
80a836db49a31ecd6d0e62aaf8b6e4417c49df68
refs/heads/master
2021-09-06T11:35:13.956195
2018-02-06T04:11:33
2018-02-06T04:11:33
80,898,202
0
0
null
null
null
null
UTF-8
R
false
false
2,568
r
IMM_forecast_v1.R
# ///////////////////////////////////// # //// /// # //// FORECASTING AREA /// # //// PLOT SPARINGLY /// # //// (USE GFX!) /// # //// /// # //// KEEP IT CLEAN! /// # //// -mgmt ...
2ae5867342fb77004a8a6efa20700b3d1a917734
bbb10152f02ca9c7b841f89c1e10df0c1f47746c
/plot2.R
ed0066941b3ecec73a882ed0d0a46d97ff1f6a88
[]
no_license
jakobdor/ExData_Plotting1
53d91228352df63588fc475cdae6c9df31f0568c
0b1bf0f61eba7745c680fdec093ace1932a8874a
refs/heads/master
2021-05-08T09:55:38.822990
2018-02-08T15:38:47
2018-02-08T15:38:47
119,814,274
0
0
null
2018-02-01T09:34:50
2018-02-01T09:34:50
null
UTF-8
R
false
false
387
r
plot2.R
data <- read.table("household_power_consumption.txt", header=TRUE, sep=";", na.strings = "?") data2 <- data[data$Date %in% c("1/2/2007","2/2/2007") ,] date_time <- strptime(paste(data2$Date, data2$Time, sep=" "), "%d/%m/%Y %H:%M:%S") png("plot2.png", width=480, height=480) plot(date_time, data2$Global_active_power, t...
92763c36c4c8592d4983d90a8fb7571fcd9fd967
72f2cc395c440b81cbaed3fd7a49dd2da25854e1
/BR US DS Model mghosh/2.Code/BR US Scoring with GBM.R
c89e5b1afde0e043e027b6525b8f17406f20bedf
[]
no_license
ghoshmithun/ImpProjectDoc
496f3b0ea4713908c6f3a0f2a5dfdba1d8daa54e
c66eb2f03e65c8f44e847fcd453c5eeb6e376e93
refs/heads/master
2021-05-16T00:42:34.793458
2017-12-11T11:01:12
2017-12-11T11:01:12
106,398,843
0
0
null
null
null
null
UTF-8
R
false
false
4,910
r
BR US Scoring with GBM.R
library(readr) header <- cbind("Customer_key","Response","MeanScore","MedianScore") write.table(x = header,file="//10.8.8.51/lv0/Move to Box/Mithun/projects/9.BR_US_DS_Project/1.data/BR_US_Train_Data_Score.txt",sep=",",col.names=F,row.names=F,append=F) # No need for in time validation BR_data_min_max_value <- read.t...
ac490a2a86e219282cebd3c073dc3756938f82af
5e748c6e82b6e5a99c2b02e2493ca2d782b952be
/R/scrape_sofifa.R
89014a6728c1606472c21c110220742313d9e7da
[]
no_license
NlIceD/PlusMinusData
c94e01bd0d12a21488d78e00e5ff48c92d29eb18
8388bbc11fe5853cf6d7a0e59b94c4510b5dde29
refs/heads/master
2020-06-19T17:39:26.358685
2018-10-19T13:39:13
2018-10-19T13:39:13
null
0
0
null
null
null
null
UTF-8
R
false
false
2,095
r
scrape_sofifa.R
#' Scrape sofifa tables #' #' @param url url for the sofifa table #' scrape_sofifa_table <- function(url) { xml_url <- xml2::read_html(url) tables <- rvest::html_nodes(xml_url, "table") sofifa_table <- rvest::html_table( tables[1][[1]] ) links <- rvest::html_nodes(x = tables, css = "td") %>% rvest::html_nodes(...
d3bb857a9ed0854b1398faebf4748e4b489ef214
68e1ac98bf1c17a77f1074bf190e1acb763df791
/R/plotCamera.R
ea5e7ec9dbb91bf397986f2eb5e34e635431dd8e
[ "MIT" ]
permissive
mukundvarma/pledger
db4656ce07140354f2bc65c65e04962fe57f3013
c41a865a541dc5038d0ebe7b7f2766abf4ad1b7b
refs/heads/master
2021-05-15T22:28:26.458772
2017-10-12T21:31:14
2017-10-12T21:31:14
106,713,748
0
0
null
null
null
null
UTF-8
R
false
false
2,001
r
plotCamera.R
#' Bubble plot to display results of CAMERA test #' #' plotGeneBarPlot takes as input a counts matrix (or dataframe), a metadata dataframe #' and the names of two metadata variables to plot a barplot with error bars of expression #' values grouped along the x axis and with different fill colors to show #' summarized ex...
472cc494d226ea8b1ad313e49db53d5b7e2f625f
cf606e7a3f06c0666e0ca38e32247fef9f090778
/test/integration/example-models/Bayesian_Cognitive_Modeling/ParameterEstimation/LatentMixtures/Exams_1_Stan.R
99bacb8d219cd0a38d4ee238afcc59ae8024c575
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
nhuurre/stanc3
32599a71d5f82c759fd6768b8b699fb5f2b2d072
5612b357c1cd5a08cf2a57db97ce0e789bb87018
refs/heads/master
2023-07-05T02:27:08.083259
2020-11-12T15:37:42
2020-11-12T15:37:42
222,684,189
0
0
BSD-3-Clause
2019-11-19T11:50:39
2019-11-19T11:50:38
null
UTF-8
R
false
false
1,750
r
Exams_1_Stan.R
# clears workspace: rm(list=ls()) library(rstan) model <- " // Exam Scores data { int<lower=1> p; int<lower=0> k[p]; int<lower=1> n; } transformed data { real psi; // First Group Guesses psi <- .5; } parameters { // Second Group Has Some Unknown Greater Rate Of Success real<lower=.5,upper=1> phi; ...
4064d49ec98a3d4d953fb4f39e3ce24e42549147
94eac0978570c5c33e8bbc1f588b81fae98bcca7
/.Rprofile
bcf0d3a17436e89e54b2b1141c75a904cd547fc2
[ "MIT" ]
permissive
fdrennan/initr
ca8c4ba7ecdfdcd831e3528d47ca1a80758a1f78
1d4b73076e33ff2edf5096d5ecd21f596adbd28f
refs/heads/master
2022-12-22T10:08:24.990650
2020-09-28T16:25:43
2020-09-28T16:25:43
298,953,900
0
0
null
null
null
null
UTF-8
R
false
false
166
rprofile
.Rprofile
source("renv/activate.R") IN_RENV_LOCK = TRUE; paste("IN_RENV_LOCK", IN_RENV_LOCK); message('beep boop .init initialized - You can delete this message in .Rprofile')
40422e3e05841230a6c4ca1b7efe9611157a844c
a48e198d0def40f8a70fbba29fa88eadde4e2735
/R_script/P02_reviews.R
7a5d7759f822fbb1e0e07eabf85ee95d4e2d46ba
[ "Apache-2.0" ]
permissive
intensive-carlito/project-ds
d17da1d28bdcb041f6bd121acbf7b27200fd607d
625b0970734730b6529d22c0a5818507d1ae5fb6
refs/heads/master
2020-04-11T11:43:27.269433
2019-03-24T22:05:32
2019-03-24T22:05:32
161,757,252
0
0
null
null
null
null
UTF-8
R
false
false
123
r
P02_reviews.R
reviews=fread("C:/temp/projet/reviews.csv",stringsAsFactors=FALSE, encoding = 'UTF-8') reviews2=reviews[listing_id==36490]
15acacd1fa5534aeea6b1daa2299d9a7e2a9ed99
0d74c6026340636cb7a73da2b53fe9a80cd4d5a5
/simsem/R/analyze.R
10bc293114d8b23b29db4232d00a52b198fbf139
[]
no_license
simsem/simsem
941875bec2bbb898f7e90914dc04b3da146954b9
f2038cca482158ec854a248fa2c54043b1320dc7
refs/heads/master
2023-05-27T07:13:55.754257
2023-05-12T11:56:45
2023-05-12T11:56:45
4,298,998
42
23
null
2015-06-02T03:50:52
2012-05-11T16:11:35
R
UTF-8
R
false
false
5,136
r
analyze.R
### Sunthud Pornprasertmanit & Terrence D. Jorgensen (anyone else?) ### Last updated: 3 June 2018 ### functions to fit a model (lavaan, OpenMx, SimSem, or custom function) to data analyze <- function(model, data, package = "lavaan", miss = NULL, aux = NULL, group = NULL, mxMixture = FALSE, ...) { ...
1f9615692ec4eb93ddb446eac83c68f8b518932a
f0e4d7881d5c9006aaa1f04df5180e79b4b09583
/scripts/02_betategarch_estimation.R
41d1ea59097c9418e2a880d678fe410c601573c1
[]
no_license
daianemarcolino/gascoreinflation
744ab8c847289322239c40511975984a0bf537d2
4f04f3b232eec0ea38faf7b1a8faac6aa7490bf7
refs/heads/master
2021-01-19T17:34:04.700943
2018-03-09T11:58:56
2018-03-09T11:58:56
101,070,075
0
0
null
null
null
null
UTF-8
R
false
false
2,633
r
02_betategarch_estimation.R
library(betategarch) library(dygraphs) source("functions/betategarch_estimation.R") # exemplo NASDAQ --------------------------------- data(nasdaq) y <- ts(nasdaq[,2]) # usando o pacote betategarch - modelo y[t] = exp(f2[t])*epsilon[t], epsilon[t] ~ t(v) m <- tegarch(y, skew = F, asym = F) summary(m) yhat1 <- ts(as.v...
cd46b6076b8329f5ed80f7263767d4abc047ea18
1b658e814505a97dedabd6be1611e17220e7ef28
/plot2.R
61652c621364646aefaccedb89dd592c12940f6b
[]
no_license
pan0va/ExData_Plotting1
7fc6c7e1681d9688ad659ccaaedf067561bcc4e6
5c4a4ba119e1ef3e82f183ea79ffb3deee1708ba
refs/heads/master
2020-12-24T16:42:04.133108
2015-02-08T23:23:47
2015-02-08T23:23:47
30,505,260
0
0
null
2015-02-08T20:49:18
2015-02-08T20:49:18
null
UTF-8
R
false
false
529
r
plot2.R
data<- read.table ("household_power_consumption.txt", header = TRUE, nrows=2075260, sep = ";", na.strings = "?") data<- subset(data, data$Date %in% c("1/2/2007","2/2/2007")) data$DateTime<- strptime(paste(data$Date,data$Time), format = "%d/%m/%Y %H:%M:%S" ) data<- na.omit(data) Sys.setlocale("LC_TIME", "English") data$...
b161152494929652a9015f391513944d44d82029
904961d334ac204bc3bdb60eadb6e6a185b8790b
/R/it_IT.R
5a66747a6df816a1a4ea4ece015ab76781b73acd
[]
no_license
LuYang19/faker
38de6b5a81e64e9afe1771565aa246646a37233b
c52c94971790c337813af32c01ede4ee1d46c088
refs/heads/master
2020-12-03T16:20:59.262361
2020-01-02T13:34:59
2020-01-02T13:34:59
231,081,511
0
0
null
null
null
null
UTF-8
R
false
false
27,922
r
it_IT.R
# bank -------------------------------------- bank_it_IT = R6Class( "bank_it_IT", inherit = bank_init, cloneable = FALSE, private = list( bban_format = '?######################', country_code = 'IT' ) ) # person --------------------------------------- person_it_IT = R6Class( "person_it_IT", inheri...
65908bdfdccbb708c78f2c7f9fd983efd998331c
8b0dee9d51374e8bced0f0fd8efa8b6f0c14c9d7
/R/rkay.R
03513bf8bdcf98f95a69664abd3094740609e6c9
[]
no_license
rwoldford/qqtest
4b9c595ea4c8f7e9ee6f1947e5f94e20c72be0a0
f3737db73bfd00e36067d394d749a7232c3f3bb9
refs/heads/master
2021-02-11T16:26:56.146877
2020-03-16T15:49:28
2020-03-16T15:49:28
244,509,892
1
0
null
null
null
null
UTF-8
R
false
false
1,990
r
rkay.R
#' @title \code{rkay} The K distribution - generating pseudo-random values #' #' @description Random generation for the K distribution on \code{df} degrees of freedom having non-centrality parameter \code{ncp}. #' #' A K distribution is the square root of a chi-square divided by its degrees of freedom. That is, if ...
1eb459e9d78bfb79ba4382082d39a78da8ab8070
76abe33b0dac505b1f7d771c799e18b57a8f4417
/shiny/View real-time data.R
01efe1bed0f26faf8e7e60f047b42ec349979d45
[]
no_license
jyeazell/DataCamp_practice
4ddaf889b07a2ef3fcd0965bee7d71372e3eb2f3
de4443e01d5414913aa555a5771d5eadc9f83700
refs/heads/master
2022-12-19T23:27:19.410533
2020-10-09T20:31:07
2020-10-09T20:31:07
183,300,581
0
0
null
null
null
null
UTF-8
R
false
false
1,172
r
View real-time data.R
# View real-time data # Now that you've read in the real-time data as reactive_starwars_data(), you # can examine it as it updates using renderTable(). If you save this reactive # table, you can then render it using the tableOutput() function. For example, # if we had a reactive data frame called my_reactive_data()...