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
6cffa1b59ec6ca5791b8981e30f25ed1ac9ddebc
a13cb3956b57ab3a4dfadcb0e5b79478318b2715
/scripts/compute_size.R
91a9421e55d32a6c48dae77ce6bafe1cf47698a2
[]
no_license
lecrabe/emd_rdc
c1feae88a03febd3fe8a4e732fd50bcbc42752ee
4898750dbb21011934d8ec37f19009d50d33fbd0
refs/heads/master
2023-01-02T07:07:22.166213
2020-10-30T13:09:52
2020-10-30T13:09:52
290,019,564
0
0
null
null
null
null
UTF-8
R
false
false
1,377
r
compute_size.R
if(!file.exists(date_stt_file)){ ############################################################# #################### CLUMP ############################################################# system(sprintf("oft-clump %s %s ", glad_msk_file, glad_clump_tmp )) ################################...
92606515cc4cc1d8fdd183cf081c3a9def5f9c4d
3b936bab003c7d8ed6c29ab1959f2ca7f592e364
/itemset.coxpath.R
389e8e2ff6d702d1acd41ba71a859b8b43aef837
[]
no_license
david-duverle/regularisation-path-following
4da6181f5d8acf63b0e357c45dbd961cd1c6429f
d47e568724b5fda938c0a3fc2519947c858d5e56
refs/heads/master
2021-01-01T17:43:30.558309
2013-10-18T01:08:54
2013-10-18T01:08:54
10,049,135
2
0
null
null
null
null
UTF-8
R
false
false
49,320
r
itemset.coxpath.R
step.length.cox <- function(corrector, depth, lambda2, exprs.all, d, rslist, wlist, min.lambda, max.arclength, frac.arclength, add.newvars, backshoot, approx.Gram, h0 = NULL, eps = .Machine$double.eps) { active <- corrector$active ...
1870369f2a0e5e40f54cd559d65a7a390530cc44
5705a0566bdafcfd915c3d456ad684e21a7f2a44
/scripts/chart_2.R
3ad96414d714143a32d5b2e9b4dd5b6401e6417d
[]
no_license
mltong/a7cool_beanz
86270dd16868527089f2da1ca84d8fe3ba5f4bcb
ccf950b4894d91d79caa7992a3da2f4db445e83c
refs/heads/master
2021-01-20T01:34:47.426566
2016-02-24T20:25:27
2016-02-24T20:25:27
52,050,551
0
0
null
2016-02-24T20:25:27
2016-02-19T00:53:05
HTML
UTF-8
R
false
false
985
r
chart_2.R
library(plotly) library(dplyr) # Chart Two # The total amount of students who identified their programming level experience in INFO498f chart_2 <- function(data) { # Read in data data <- read.csv("https://raw.githubusercontent.com/INFO-498F/a7-survey-data/master/intro_survey_data.csv") # Group the students ...
e11eba96c9a68f752cce238ad68b79305d5376d3
c2e8293b965bf3c844991066b0ffef22b68aedf8
/project/src/plot1.R
a48a2e46068c778cfb83dc81f0850d37a142ad55
[]
no_license
pascal-p/PA01_EDA_Plotting
9b145713c66eb08bdde7ea7aee077fcdb394afa5
6097ce763b5c95eba5cee234ae2d6408b8dcdd1d
refs/heads/master
2020-03-21T23:45:50.827921
2018-07-01T11:17:55
2018-07-01T11:19:02
null
0
0
null
null
null
null
UTF-8
R
false
false
517
r
plot1.R
olist <- ls() mod <- source("shared.R")$value # global env, closure myPlotFun <- function(df) { hist(df$Global_Active_Power, col="red", main="Global Active Power", xlab = "Global Active Power (kilowatts)") } main <- function() { # call - just 1 field required df <- mod$readFile(colN =c("NULL", "NULL", "Global_A...
fca844497b36ec2c646adf16031950a38fbb5709
3413a4251da58e64b85b6f07055c7ee250fa853d
/MATCH/EMA/backend/match_ema_accelerometer.R
ad0b6bd5b5517e3022faca0cd0e22637a6473249
[]
no_license
wangjingke/reach
48dd0da6901f8393f22c4db02fce7d5fc10f214c
1320fd5e9f76533ffe0e3d1e124ce8ed10673aa1
refs/heads/master
2020-05-21T14:59:02.926515
2018-04-23T03:43:29
2018-04-23T03:43:29
63,976,443
0
0
null
null
null
null
UTF-8
R
false
false
6,537
r
match_ema_accelerometer.R
ema.ACC = function(ema, missing_output, accDir, accList) { # generating emaAccMatch for pairing EMA and acc ema.emaAccMatch = function(ema, accList) { validIndiv=unique(ema[, c("subjectID", "date", "dayInStudy")]) # compliance should be 1, otherwise there is no start time for the prompt validInd...
ed944d72a2839ac616db8774e1800794bb509c72
184180d341d2928ab7c5a626d94f2a9863726c65
/issuestests/RJafroc/man/datasetBinned123.Rd
6e75ce9f934d28486aea3f6d769cf8a9440b61a1
[]
no_license
akhikolla/RcppDeepStateTest
f102ddf03a22b0fc05e02239d53405c8977cbc2b
97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5
refs/heads/master
2023-03-03T12:19:31.725234
2021-02-12T21:50:12
2021-02-12T21:50:12
254,214,504
2
1
null
null
null
null
UTF-8
R
false
true
1,932
rd
datasetBinned123.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datasets.R \docType{data} \name{datasetBinned123} \alias{datasetBinned123} \title{Binned dataset suitable for checking \code{\link{FitCorCbmRoc}}; seed = 123} \format{A list with 8 elements: \itemize{ \item{\code{NL}}{ Ratings array [1, 1:2, ...
4225100b45e5609abb5f1b09d271c2451c0f4cce
aa710f59f213bdcb4426b40b1b3b3b38dc113958
/desserts-match-gl.R
7fd42f73a7b0a7f1b3b10710137dc0f9571f4836
[]
no_license
marierivers/favorite-dessert
4671fdb2dc3f0cc40816308dd045c22c72eeb279
dd1d331bea730d14d47edb353e803d470d5666a9
refs/heads/main
2023-07-17T11:30:34.305118
2021-08-25T22:14:14
2021-08-25T22:14:14
399,258,051
0
0
null
2021-08-24T16:30:23
2021-08-23T21:56:42
null
UTF-8
R
false
false
1,188
r
desserts-match-gl.R
library(tidyverse) library(rvest) # read the webpage code webpage <- read_html("https://www.eatthis.com/iconic-desserts-united-states/") # Extract the desserts listing dessert_elements<- html_elements(webpage, "h2") dessert_listing <- dessert_elements %>% html_text2() %>% # extracting the text associated with this...
ba17efb6ebca1c57f837d7bc55604f5ae9d968d7
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/easyPubMed/examples/batch_pubmed_download.Rd.R
ca80ade45c49aece0b8ddc83ccb5352a2eb96d5f
[]
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
679
r
batch_pubmed_download.Rd.R
library(easyPubMed) ### Name: batch_pubmed_download ### Title: Download PubMed Records in XML or TXT Format ### Aliases: batch_pubmed_download ### ** Examples ## Not run: ##D # Example 01: retrieve data from PubMed and save as XML file ##D ml_query <- "Machine Learning[TI] AND 2016[PD]" ##D out1 <- batch_pubmed_do...
d372f8780fd4b95095e06d5ecd90fbb9e759ae3e
a693da8676743148657e3ddb7dbfdc47c50d53a1
/R/init.R
5de43d29838b982e3ac11fd40bc7d0eb96033cc7
[]
no_license
Hafro/geo
4de0f08370973b75d8d46003fb8e9a9d536beaff
6deda168a3c3b2b5ed1237c9d3b2f8b79a3e4059
refs/heads/master
2022-11-23T15:06:47.987614
2022-11-16T22:26:55
2022-11-16T22:26:55
38,042,352
3
6
null
2022-11-16T22:26:56
2015-06-25T10:09:50
R
UTF-8
R
false
false
8,544
r
init.R
#' Initiate a geoplot (??) #' #' Initiate a geoplot (??). #' #' #' @param lat,lon Latitude and longitude #' @param type Plot method #' @param pch Plot character #' @param xlim,ylim Plot limits #' @param b0 Base latitude #' @param r Plot ratio, multiplier on \code{diff(x_or_ylim)} #' @param xlab,ylab Labels for x- an...
d54dbfd0fa4b8a8b382b6727f88263d176fca681
e987fd9dedb377ca83937324530e3903a60fb160
/audio_gps_processing/extract_synchs.R
f3e5b195f02a07f7dbba6bed3974b2802f362c60
[]
no_license
arianasp/move_comm_analysis
fd3d209406555a0f66469d8ffd84ac6f4773e8e0
6d2f420be2b2f9c4fc92913e91f2605aeade1cd5
refs/heads/master
2023-06-12T14:55:14.751202
2023-06-05T11:47:33
2023-06-05T11:47:33
249,375,474
0
0
null
null
null
null
UTF-8
R
false
false
4,326
r
extract_synchs.R
#extract synch calls and where they line up with seconds within a file #output a data frame of this information for all files within a specific directory (indir) #save it to an output directory #LIBRARIES library(stringr) library(lubridate) source('~/Dropbox/meerkats/code/general/meerkat_functions.R') #DIRECTORIES in...
9183f0e9065bf2891807172fca3a25398e88d152
38b161f15f0d6ca60e386ffbb1e37f91806d944a
/R/insert_pandoc_columns.R
b0109359ccda1e1640e952a536059da5f16f9dd9
[ "MIT" ]
permissive
MusculusMus/pptxtemplates
51c871077023ec5afaa77481e4ba8496502b933c
fab50ccdc9ec1caa5494dd307e5781397b057b4e
refs/heads/master
2023-07-02T18:54:10.146636
2021-08-07T22:40:12
2021-08-07T22:40:12
null
0
0
null
null
null
null
UTF-8
R
false
false
697
r
insert_pandoc_columns.R
cols <- ":::::: {.columns}\n::: {.column}\n\n:::\n::: {.column}\n\n:::\n::::::\n" insert_pandoc_columns <- function() { # Gets The active Documeent ctx <- rstudioapi::getActiveDocumentContext() # Checks that a document is active if (!is.null(ctx)) { # Extracts selection as a string selected_text <- ...
7f9dc982133d5b3bec184ca9b30ba6c05309bdc6
f7ccb98205f25ac5d3b3e460173b404f7ae4de39
/R/module_201_3_ans_ex_2.R
a7ab1771f14be5c20d89f4a842b16f6bc1ef84c2
[]
no_license
erin-r-butterfield/R4Biochemists201
543f18ca112979dcf4783f49d56b17a2e10e39e6
dc791862e71b664a33693c12c02794ac3658d9d1
refs/heads/master
2023-08-26T18:26:29.486831
2021-11-05T21:36:49
2021-11-05T21:36:49
null
0
0
null
null
null
null
UTF-8
R
false
false
1,381
r
module_201_3_ans_ex_2.R
## ---- exercise_2----------------------------------------------------------------------------------- data_2 <- read_excel("file.xlsx", sheet_names[8], skip = 1) colnames(data_2) <- c("thick", "express") # you can plot it in ggplot but you will need to calculate the stats # and add them manually ggplot(data_2, aes(th...
e1d26e6bd718a682109ea41274b914cbadf83cbe
ec842c4e81dcb1ecece2d95a7b5a0ed63ffd95c7
/Codes/JSEM_codes/code_jsem.R
82b8ad1efc87e88e4093af72efe7f3ec326129d7
[]
no_license
shubhobm/Stratified-mult-GGM
c3fbabe3f37fdaa3b05b468dd097e4b26d8ff337
931dffe72e418d8d105eba37e4205721d9afdd8c
refs/heads/master
2021-08-22T10:43:14.753864
2021-06-16T23:00:09
2021-06-16T23:00:09
99,459,082
0
0
null
null
null
null
UTF-8
R
false
false
11,684
r
code_jsem.R
########################################################## # function: JSEM ## Purpose: to use joint group lasso to estimate multiple graphical models, ## given the known grouping structure. Thresholding corrects the group ## misspecification # trainX, # a data matrix sorted by group label,...
1ae289329bb7c132a2f1019a84d01d62c5647e7b
7529e25aa98bc5ea03ec5427516799285b8c646a
/man/reduce_dim.Rd
16c3e22e44706b4da48ed28d3d07681a37161ace
[]
no_license
froh/plyr
62e35204f4031ff5389eba7739774e851786bef3
a6ad59c728305b623cd2ca52c2222e4baa2d7ef9
refs/heads/master
2021-01-24T00:09:23.835411
2011-03-04T09:41:12
2011-03-04T09:41:12
1,167,963
2
0
null
null
null
null
UTF-8
R
false
false
204
rd
reduce_dim.Rd
\name{reduce_dim} \alias{reduce_dim} \title{Reduce dimensions.} \usage{reduce_dim(x)} \description{ Reduce dimensions. Remove extraneous dimensions } \keyword{internal} \arguments{ \item{x}{array} }
6c8ae1e7b8f87f3966e79fd6780605b4c99e602b
5efec7ecbe1240bc4bcab23a7a6b696350348082
/man/rapid_latlon.Rd
2f5a9315587589af5c799501522d1ecb0a66d471
[ "MIT" ]
permissive
italocegatta/rapidr
43beba88a5f4e94db9752d1f364bdce7befeeea1
874cb57e6659aef365be33bc6b7adb9f25836764
refs/heads/master
2020-12-05T13:01:07.753979
2017-03-17T14:39:02
2017-03-17T14:39:02
66,865,009
0
2
null
null
null
null
UTF-8
R
false
true
574
rd
rapid_latlon.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_info.R \name{rapid_latlon} \alias{rapid_latlon} \title{Get the central latitude and longitude of the tile} \usage{ rapid_latlon(xml) } \arguments{ \item{xml}{An XML document} } \value{ A SpatialPoints of central coordinates from Rapideye ...
e62116ca6dadebeefc2bd5c21b80650b427746b2
036983f65dc517593f84d44cb14a712ea0687225
/homeworks/homework_10/kacper_grzymkowski/ui.R
046e2bf36cc2d8200e08579f405b387cb16a140a
[]
no_license
iketutg/2021Z-DataVisualizationTechniques
027c0228ed95e37ddd73500909117449f6b87e25
125077c8b02426b779e351324c3c6d4e96ad64c1
refs/heads/master
2023-03-19T08:59:42.177496
2021-02-23T20:08:31
2021-02-23T20:08:31
null
0
0
null
null
null
null
UTF-8
R
false
false
1,918
r
ui.R
library(shiny) shinyUI(fluidPage( titlePanel("TIMSS data"), sidebarLayout( sidebarPanel( conditionalPanel( condition = "input.grade == 4", sliderInput("top4", "Show how many:", min = 1, ...
2991b74d5f94f450747c462aac4cae88fc90bcf7
a7a822605874425d0e8fc30d10982a3a9e1a3d8e
/man/chemr.Rd
6e3e956bf687b20b840cb55582d27d2d24542bb1
[]
no_license
paleolimbot/chemr
c0afb2057a7331ecc5177936ff267fbbeba44acd
8283dc34168b5c0fcdefd77987eb1ebde43d0673
refs/heads/master
2021-09-08T16:40:49.712881
2021-09-03T16:26:58
2021-09-03T16:26:58
100,809,854
16
0
null
null
null
null
UTF-8
R
false
true
211
rd
chemr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chemr-package.R \docType{package} \name{chemr} \alias{chemr} \alias{chemr-package} \title{chemr.} \description{ Chem handling in R }
095dc81cb7421da6df95ba16b90db4f2c090718e
132c59dbaf3c26fdf505da2dfef8f95cb0be061a
/cachematrix.R
6ebae743142026731c6d09555c6593db3c4d7349
[]
no_license
DivyaAggarwal10/ProgrammingAssignment2
c693f9b9284ea15075ad7c1685fc14573f968d6e
985cf17032bd867ceb93886e1139d2c6f889fba0
refs/heads/master
2020-04-10T17:33:08.424798
2018-03-07T19:52:48
2018-03-07T19:52:48
124,282,982
0
0
null
2018-03-07T19:18:38
2018-03-07T19:18:37
null
UTF-8
R
false
false
1,236
r
cachematrix.R
## makeCacheMatrix: This function creates a special "matrix" object that ## can cache its inverse. ## makeCacheMatrix will accept matrix as an input makeCacheMatrix<- function(x){ inverse <- NULL set <- function(y) { x <<- y inverse <<- NULL } ...
84a06bd3b7b8822a625144457e69769657cdc688
0d0ab985be679678a2ab3ac90c6532645c982af3
/R/addMetaData.R
2019bd1dd2cb7adf60401e84a4468ff3da76f7c5
[]
no_license
thl-mjv/euromomo
38292686c19f08756a14c062feb6eea6d4a9b2e4
bbd46d4c13c843fda817bbf6c6eb7167f012fd28
refs/heads/master
2021-01-19T08:16:21.464050
2015-03-02T08:44:38
2015-03-02T08:44:38
24,886,718
1
4
null
null
null
null
UTF-8
R
false
false
1,197
r
addMetaData.R
#' Function to add meta data. #' #' @param df A \code{data.frame} containing the model output. #' @param groupName A string containing the name of the group. #' @param groupOptions A vector of strings containing the group specific options. #' @note There is a lot of redudant data here! #' @export addMetaData <- functio...
178a6986d2188ba3241be685371948db81af98e5
ec213b23bf4dcba4243ef834235f2b8352c3f500
/man/discover_meiotic_recombination.Rd
d9d292f346ff4665501d1f5898960b62bcc074ca
[]
no_license
mccoy-lab/rhapsodi
941eaa317f7c5e83a0c15bfbf03c729a389459d6
8a5d712b1eb500594ac75428aa8dd94494bf81f3
refs/heads/master
2023-04-12T15:18:32.125743
2022-07-25T21:30:28
2022-07-25T21:30:28
328,792,330
4
0
null
null
null
null
UTF-8
R
false
true
2,372
rd
discover_meiotic_recombination.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/discover_meiotic_recombination.R \name{discover_meiotic_recombination} \alias{discover_meiotic_recombination} \title{A function to drive and report meiotic recombination breakpoint finding} \usage{ discover_meiotic_recombination( original_g...
b01c8d2211c48d91b61cdeb0e9c98022d8edb76e
a34c74086329dfd2aa7f8ad588e07f5bc7c05870
/scripts/wtc_metdata.R
ce1329bac141c2a8a34aa0eee8aa9b618cb4ac2d
[]
no_license
CourtneyCampany/WTC3_tree
cbc1a0813edf337eba367d428974588f85bc440a
500c06a5c134fb6b419901b8708b26f22232c733
refs/heads/master
2020-04-09T18:37:49.332701
2018-09-12T14:49:24
2018-09-12T14:49:24
30,519,484
0
0
null
null
null
null
UTF-8
R
false
false
3,712
r
wtc_metdata.R
library(plyr) library(devtools) library(HIEv) library(doBy) setToken("u2xEk2wTte3AsdBxGTr5") #Search HIEv for the ROS weather station data during the pot experiment wtc_search <- searchHIEv(filename="wTCMET") wtc_search2 <- searchHIEv(filename="OUTMET") met_names <- ###download both sets met files (PPFD oustide c...
8f557a6b9b94dede9a8db47013f78290ddfa27b1
0e4887e4c79f3d959ddac08a365c7a31310c2ab1
/ch09/ch09_script.R
b1cb820b89c11b23c99c99e3467e35aa663d11e5
[]
no_license
tpdhfl/Statistical_Analysis_R
8aa3de8f75f8f96ab91b220e5400f1192d8b8b6c
c22ee692a229b2006dde18aae90ed00d35ff21b0
refs/heads/master
2022-01-15T04:22:54.432688
2019-07-12T06:42:08
2019-07-12T06:42:08
null
0
0
null
null
null
null
UTF-8
R
false
false
4,110
r
ch09_script.R
setwd("D:/Workplace/Statistical_Analysis_R/ch09") hf <- read.table("http://www.randomservices.org/random/data/Galton.txt", header=T,stringsAsFactors=F) str(hf) hf$Gender <- factor(hf$Gender,levels=c("M","F")) str(hf$Gender) hf.son <- subset(hf,Gender=="M") hf.son <- hf.son[c("Father","Height")] str(hf...
b997aebab76b2e10c441bace445e7d2a2ad77ed4
8a6264c16e1944bb6f254072d50eb925e64bf52e
/goseq_combined_gallus.R
a4155219ffb0f021d8538ed246e133910d73636a
[]
no_license
likit/RNASeq-methods-comparison
52fcc2ccfff3bf94d3c24b57baad0bc5569f59fe
26b8e67182ee7d2132fd790aa75ec9d49f02ac8e
refs/heads/master
2020-03-28T18:36:26.998307
2014-07-30T05:28:18
2014-07-30T05:28:18
null
0
0
null
null
null
null
UTF-8
R
false
false
1,573
r
goseq_combined_gallus.R
library(goseq) library(org.Gg.eg.db) library(KEGG.db) library(biomaRt) degenes.table<-read.table('line7u_vs_i.gimme.degenes.fdr.05.tophits.gga', stringsAsFactors=F, sep="\t", header=T) colnames(degenes.table)<-c("SeqId", "geneID") annots<-select(org.Gg.eg.db, keys=degenes.table$geneID, ...
22868c98d5c80aa85ef136a5383a5d964677c240
cd8389e43d345e4daee9bea5a0d0282e6684944a
/02R_Programming/week3/rankall.R
c50e0466751d222527642fc4215ef2d35c3b8776
[]
no_license
gooneraki/DataScienceSpecialization
49a4b89451ef70d681bbd0d21fb91e72aecde6cb
2e0d34b1329b3dcc17522aa80ee5a47cf405a98c
refs/heads/master
2021-01-10T10:54:05.418801
2015-11-24T17:48:32
2015-11-24T17:48:32
46,735,657
0
0
null
null
null
null
UTF-8
R
false
false
1,619
r
rankall.R
rankall <- function(outcome, num = "best") { ## Read outcome data data <- read.csv("outcome-of-care-measures.csv", colClasses = "character") ## Check that state and outcome are valid if (outcome != "heart attack" && outcome != "heart failure" && outcome != "pneumonia" ) { stop("invalid outc...
7b7df17bf6a47c08bebdd3415060dbc07051cfb7
7df519d91bf590fb7cfc928fb9ced401453749f5
/plot1.R
156ecf6f84fb6f76bb301e4040afc0da164a8aaf
[]
no_license
jonesdd/ExData_Plotting1
41675bbb8863dd6abc33f5630b74e51d0df3a1c2
64c152808f4d56533da05b04838522016f85e326
refs/heads/master
2021-01-17T17:44:34.763072
2015-05-07T23:34:06
2015-05-07T23:34:06
35,168,061
0
0
null
2015-05-06T15:47:30
2015-05-06T15:47:29
null
UTF-8
R
false
false
1,147
r
plot1.R
# plot1.R # This file contains the R code to produce plot 1. #first I download the file to the curent working directory and save it as temp.zip. download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",destfile = "temp.zip", method = "curl") #with the file saved i sue unz t...
89b21542ba8cecd99c9f8f84a0e4aad825170d7c
837a3177789464eabb12b7abfb12e8621feb71fb
/(01)Setting_up/postBurnin_B0.R
92302be576647d46e4e6cfeec304f5721752b3a0
[]
no_license
mcgregorv/AtlantisRscripts
21140225d43ba583a1bebc70557c8cb5f61b9b5c
1009f0d1961fc95bc4a98d25eea7dc1d7cccee77
refs/heads/master
2020-07-11T14:20:34.142538
2019-08-26T22:22:13
2019-08-26T22:22:13
204,566,512
0
0
null
null
null
null
UTF-8
R
false
false
2,039
r
postBurnin_B0.R
#read in nc file, and grab the biomass' for all groups after burnin #for those groups that have B0 estimated prior to model run (with some confidence) read these in and compare #plot all tracers for a given box and layer this_run<-"base" this_out<-"BASEH3" ## all boxes nboxes<-30 boxIndex<-seq(1,nboxes) ...
64cdb65ce4601c63c3e8233bb04ef16c2a02df80
fd153dd910f3a9ad29fbaf128b05d675a8270ca8
/page_rank.R
14540749140e3759b3c2cae22f29aa52f4fb3e6b
[]
no_license
zheng-han-kao/R-Programming-practice
a9df9b16062c3b5af9858ad022d15bddf98e289c
72b579710e5f27441fb8c0c26c601437dd207da4
refs/heads/master
2021-04-30T08:25:34.965104
2018-02-13T14:23:33
2018-02-13T14:23:33
121,375,046
0
0
null
null
null
null
UTF-8
R
false
false
992
r
page_rank.R
data <- read.csv(file = "Pagerank_0525.CSV", header = TRUE) N <- nrow(data) #有幾個元素 pr <- c(0) d <- 0.15 #原始分數 for(i in 1:N){ pr[i] <- 1/N pr[i] <- round(pr[i], digits = 7) } #機率矩陣 for(i in 1:ncol(data)){ data[,i] <- data[,i]/sum(data[,i]) } pagerank <- function(N1, data1, pr1, iter){ p...
1e3ea5558cd18e72f7181b965d9dce6b5445ec19
b9ac629b6268d231afb5cc006f973fbe2b9fdd38
/Experiment1_Walking/AdditionalAnalysis/GenderEffects/GetGenderInfo.R
42c66e7d1f3c0fd012e1389687f9d9cfd3cb5eb4
[]
no_license
dlcen/OpticFlowWalkingHeadingJudgements
e7bf67a97d9c5e30975173e1197957da799c9d3a
b215f3ae01ccb4c181074e7a02fb5c77ba00e452
refs/heads/master
2020-06-04T23:40:33.381921
2020-02-23T20:15:22
2020-02-23T20:15:22
192,236,318
0
0
null
null
null
null
UTF-8
R
false
false
694
r
GetGenderInfo.R
library(data.table); library(plyr) info.file <- "Data/SbjInfo.csv" sbj.info <- read.csv(info.file) sbj.info <- data.table(sbj.info) sbj.nos <- as.character(unique(sbj.info$Subject.No)) load("Data/meanErr.RData") load("Data/segData.RData") trial.meanErr.4m <- data.table(trial.meanErr.4m) segData_aligned <- data.ta...
0caa37334908c6776ba8f20293030a07a9a8d274
20b579e6d28d3d9a7d21fbbba2d04d6eaa8b53fb
/R/GenerateData.R
2871265b4faa41d0335577c231a7c9e0ae34ac71
[]
no_license
fake1884/moRtRe
24608504705120e18851ffcdcd940e01b2648748
858db79be7b18ab6195e7bfe933b285b2dd7217c
refs/heads/master
2020-05-17T13:17:34.721406
2020-01-20T09:12:04
2020-01-20T09:12:04
183,732,081
0
0
null
null
null
null
UTF-8
R
false
false
5,651
r
GenerateData.R
# This file contains a function to generate test-data ########################################################################################### # simple model first MakeData = function(){ # set parameters # mu = 77.51859; sigma = 12.36892; estimates from data mu_data = 77 sigma_data = 12 sigma_eps = 0.002...
8f893ca264d667f5ecece7de6b00afafc832a4ce
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed_and_cleaned/12222_0/rinput.R
7a15567c79e746ab6869fe2f261e9765b060d551
[]
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("12222_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="12222_0_unrooted.txt")
2af67d31df3173b025ce3b81fbd8e9d0d29b4bea
385c15d333d564afcfa207baf88a4e8f51d402be
/man/select_target_closing_cricket.Rd
6d3a7e56b8b81fcb87d59275e232e989f51f35ee
[]
no_license
chringer-git/cricketmodel
86d57ff7911e092ffad8cbc01fc5a8765e845728
daff6c731fa329e766d1b1ff07d98abc6f836c5c
refs/heads/master
2020-04-15T23:13:53.437528
2019-09-08T17:33:52
2019-09-08T17:33:52
165,098,714
1
0
null
null
null
null
UTF-8
R
false
true
1,042
rd
select_target_closing_cricket.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/select_target_closing_cricket.R \name{select_target_closing_cricket} \alias{select_target_closing_cricket} \title{Reasons which shot to select given a closing strategy.} \usage{ select_target_closing_cricket(gm, shooter_player_id, opponent_pl...
63a40f93469a7d4a2ad9864ce3fc22bd9cc03c01
80badebbbe4bd0398cd19b7c36492f5ab0e5facf
/man/polygons-methods.Rd
7a94017b1a754b7b2ed6d44bb4e7f5dcd6852c59
[]
no_license
edzer/sp
12012caba5cc6cf5778dfabfc846f7bf85311f05
0e8312edc0a2164380592c61577fe6bc825d9cd9
refs/heads/main
2023-06-21T09:36:24.101762
2023-06-20T19:27:01
2023-06-20T19:27:01
48,277,606
139
44
null
2023-08-19T09:19:39
2015-12-19T10:23:36
R
UTF-8
R
false
false
796
rd
polygons-methods.Rd
\name{polygons-methods} \docType{methods} \alias{polygons-methods} \alias{polygons,Spatial-method} \alias{polygons,SpatialPolygons-method} \alias{polygons<-,data.frame,SpatialPolygons-method} \title{ Retrieve polygons from SpatialPolygonsDataFrame object } \description{ Retrieve polygons from SpatialPolygonsDataFrame o...
df38204b221b207b9afc09a2175b2a2ca389bcb6
8f09774b992fd23052201130a1ce4db3f3e27a53
/tests/testthat/test_print.R
d353636cb001bbf1f4f9057323cd45cbeec20fa5
[ "MIT" ]
permissive
tkonopka/umap
77f3ff453181cdbe0844df1b4f9e499f23559121
96f077865243434ec94ad1581c7003a5f38545c7
refs/heads/master
2023-02-09T22:47:49.312192
2023-02-01T19:07:40
2023-02-01T19:07:40
129,778,978
133
21
NOASSERTION
2018-11-08T19:03:34
2018-04-16T17:12:03
R
UTF-8
R
false
false
1,488
r
test_print.R
## tests for output of print functions ## ############################################################################ ## Tests for printing config objects test_that("print complains on non-classed input", { expect_error(print.umap.config(1:4)) }) test_that("print of config produces output", { conf <- umap.defau...
afb7cdfbd53bb7ca65fe90971936d25bde2497be
8e52cfdf2db46054104efc466320b4ad0217ea7f
/man/transform_claims_and_demographics_and_pharma.Rd
1f159076643f1ba981c924fb5d8712fbe6c342b3
[]
no_license
jfontestad/hospital-readmission
82469e9e60203e11e7fe8d40452a3087ec4adad6
67f50933b54cfa22a69e1b2cb7a5a00168f2625e
refs/heads/master
2023-03-17T00:33:29.619647
2019-08-30T03:17:49
2019-08-30T03:17:49
null
0
0
null
null
null
null
UTF-8
R
false
true
1,645
rd
transform_claims_and_demographics_and_pharma.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/transform_data.R \name{transform_claims_and_demographics_and_pharma} \alias{transform_claims_and_demographics_and_pharma} \title{Transform claims and demographics and pharma data} \usage{ transform_claims_and_demographics_and_pharma(data_dir,...
465b25135252265b9f62cea97711a5298973d581
3aaf257b3eb138c404f74ba06a2a9861a198f419
/man/youden_index.Rd
ca390c0a1ca17c522fe3e5edd587dac5c0022ef7
[]
no_license
cran/ClinSigMeasures
f86d53d1fc6b69588f9454967ce682a753fe3f7b
99da607cbf920c25671a57fe2b9ef88d16ea9b35
refs/heads/master
2023-03-10T20:27:13.800615
2021-02-25T08:10:05
2021-02-25T08:10:05
342,293,709
0
0
null
null
null
null
UTF-8
R
false
false
971
rd
youden_index.Rd
\name{youden_index} \alias{youden_index} \title{Youden Index Calculation From a 2x2 Table} \description{Calculates the Youden Index for data from a 2x2 table} \usage{youden_index(Cell1, Cell2, Cell3, Cell4)} \arguments{ \item{Cell1}{Value for cases with a positive test} \item{Cell2}{Value for c...
cb49443bdea6d4c574d171cf7a15795aa3950b90
fb322a643c6d8fbd1599887bdcf55d15a170ac92
/man/list_sim_data.Rd
8baa99f108b55cf1a5421b12d57b1301ef2a343f
[]
no_license
mdlincoln/forestry
460a333c9e36b6888c017ef400cad4a53771caee
e224d55f6ef7fac89103e48a1d6df7b3aff4c89f
refs/heads/master
2021-09-03T02:09:54.270841
2018-01-04T19:54:42
2018-01-04T19:54:42
70,771,231
0
0
null
null
null
null
UTF-8
R
false
true
784
rd
list_sim_data.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chart_forest.R \name{list_sim_data} \alias{list_sim_data} \title{Simulate data from a list of random forests} \usage{ list_sim_data(rf, class, var1, breaks1 = 50, var2 = NULL, var3 = NULL, n_cores = parallel::detectCores(), progress = inter...
8ffad147489da8acee18c3ec704222722f1cbbde
6cb726808934d2695c74cdb7f924a79d8f8b54b7
/data/data-raw/clean_data.R
43ca806ca1513f5e022703bf839c99bedd190cce
[]
no_license
waterdatacollaborative/Get-the-Lead-Out
3b55a63383e9bd080b58fec72da9d64c94ce96be
9d95968cce892581a6fda1f3f9187bb8847859d3
refs/heads/master
2020-04-05T09:24:53.018404
2018-10-01T21:45:24
2018-10-01T21:45:24
156,754,988
1
0
null
null
null
null
UTF-8
R
false
false
1,088
r
clean_data.R
library(readxl) library(tidyverse) library(stringr) library(lubridate) # downloaded school locations from: # https://data.sfgov.org/Economy-and-Community/Map-of-Schools/qb37-w9se/data geo_sfusd <- read_csv('data-raw/Map_of_Schools.csv') # munged by hand sfusd <- read_csv('data-raw/sfusd_lead.csv') sfusd_names_to_g...
fc121c6f9cfa46682fd0e5df47503b145a8b1907
8036066874c5ff987566482971c36ad4e3f41551
/fmri/fsl_pipeline/functions/fsl_sceptic_model.R
3d96b01eb08fac88f3a0c39cf26faf3935afdf09
[]
no_license
UNCDEPENdLab/clock_analysis
171ec5903fc00e8b0f6037f1b0a76b3f77558975
5aeb278aaf8278cebefa3f4b11360a9b3d5c364f
refs/heads/master
2023-06-22T07:18:03.542805
2023-06-19T18:31:40
2023-06-19T18:31:40
22,355,039
1
2
null
2021-04-20T20:07:08
2014-07-28T19:29:11
HTML
UTF-8
R
false
false
12,851
r
fsl_sceptic_model.R
#note: this is a small adapation from the original fslSCEPTICModel to avoid use of the clockfit objects and to move to the #simpler build_design_matrix approach and the use of the trial_statistics csv files from vba_fmri fsl_sceptic_model <- function(subj_data, sceptic_signals, l1_contrasts=NULL, mrfiles, runlengths, m...
a81fba405386cd17784377d50cb8eea2014f574b
39d0c55687addd02ed07ba67796eb67c16dd8023
/man/dz2011.Rd
218d0e92d1a16f7bf17e7ca030b48ceee074df48
[]
no_license
wfmackey/absmapsdata
02df7ebe8a2385bd5642285ebff42fdd4b7433b8
513415b949408d8696d74af3673df3367f290d5a
refs/heads/master
2023-08-03T08:06:45.431100
2023-07-27T13:47:17
2023-07-27T13:47:17
172,700,063
55
17
null
2023-07-27T08:19:49
2019-02-26T11:38:26
R
UTF-8
R
false
true
856
rd
dz2011.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geog_dat.R \docType{data} \name{dz2011} \alias{dz2011} \title{Destination Zones, 2011} \format{ An \code{sf} object with nine variables: \describe{ \item{\code{dz_code_2011}}{The destination zone code as a character string.} \item{\code{sa2_c...
9ae31f1d441c7b8349544486f58fbda0aa6fec2e
35de0ba0d306a2813e6e0b49870d467a93094a9a
/2species_driver/explo/2competitors_and_climate.R
ff50c803eaaadb5b2f6dcdb94e930e215bb0a408
[]
no_license
ha0ye/GCausality
cab83d2368a2896a8783fc43cd95b639e2e47f79
28b11c312c116a84bbf223fce445ac7db69e6d53
refs/heads/master
2020-09-04T16:35:59.576101
2019-09-04T06:58:16
2019-09-04T06:58:16
219,804,346
1
1
null
2019-11-05T17:41:54
2019-11-05T17:32:09
null
UTF-8
R
false
false
10,874
r
2competitors_and_climate.R
### FB 08/10/2017 -- adapted from Nantes et Irstea presentations though ### Uses a strongly seasonal driver. A logical case for conditional GC. library(vars) library(rEDM) ### First case with interactions set.seed(42) tmax=300 Y=matrix(1,nrow=tmax,ncol=2) Y[1,1]=abs(rnorm(1,1,1)) Y[1,2]=abs(rnorm(1,1,1)) seasonality...
57252f3d888eee5f24332b6a58937c8ef499dd4d
f176f883f8e6c4ff2a9e823768243777c1c0e269
/R/RcppExports.R
4c0e7a0f8db930610b7131e34fa321669a28f52d
[]
no_license
rbagd/fastLink
b1032b45c9a52cd78705081e4034e6e3d579c1d4
4dd09a7c054dc0741d8d0d836548970c76933c99
refs/heads/master
2021-07-09T16:39:59.215249
2017-10-09T21:25:36
2017-10-09T21:25:36
null
0
0
null
null
null
null
UTF-8
R
false
false
395
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 m_func_par <- function(temp, ptemp, natemp, limit1, limit2, nlim1, nlim2, ind, listid, matchesLink = FALSE, threads = 1L) { .Call('fastLink_m_func_par', PACKAGE = 'fastLink', temp, ptemp, n...
20016c14e2bb7ea000734f01689d46fdc2ce7cd0
6a1b47add0547f66b79528c6db4ff121d3fb9515
/mergeAndAnnotateClusters.py
c26c87dface3bca1f18b8f31a0bd974887070eb6
[]
no_license
dpryan79/RNAcentralTools
749d5e4828fbb1d1e3a79d7b0968306e57093fd1
17903d47955c13ea19969fe6c1b68f3c0f7d3a7f
refs/heads/master
2021-01-22T11:38:21.146465
2014-12-09T21:59:54
2014-12-09T21:59:54
27,717,715
2
1
null
null
null
null
UTF-8
R
false
false
7,050
py
mergeAndAnnotateClusters.py
#!/usr/bin/env Rscript d <- read.delim("cluster_to_id.txt", header=F) colnames(d) <- c("ID", "Cluster", "Description", "L") d$Description <- as.character(d$Description) mergeCluster <- function(df, nme) { IDX <- grep(nme, df$Description) cur_clusters <- unique(df$Cluster[IDX]) df$Cluster[df$Cluster %in% cu...
7fea5dbb762fd54ab61289fcf3b2b51c942ecac1
9e2296070f5ac43c6030de7b6cf45a29a7086bd1
/plot1.R
3a4392845591776b84399c0a3d6046bbb33b1391
[]
no_license
kovumadh3/ExData_Plotting1
16a8f64b2c0af2effc1f5ca4a33ad01dc4c420f7
3beb6b2b525d721dbfaec0817b2e84463a872b2c
refs/heads/master
2020-12-26T14:14:12.572623
2014-09-04T05:44:33
2014-09-04T05:44:33
null
0
0
null
null
null
null
UTF-8
R
false
false
595
r
plot1.R
#We would be using sqldf package for this program. If package is not installed, # install it through install.packages("sqldf") library(sqldf) data <- read.csv.sql( file='household_power_consumption.txt', sep=";",sql="select * from file where Date = '1/2/2007' or Date = '2/2/2007'",...
f6d698c8f0968271605561ff63f012fa5bdce6f5
d6003b28f81c59cc8731583fb930bb82f4365eac
/R/util.plot.R
a837b796ba622f3aa71fff868400ec3587950f67
[]
no_license
cran/CHNOSZ
79616d683d9af7e16674cf08c7912c5f438c45d9
6c61dcecdbce300a990341f5370552b63ec42647
refs/heads/master
2023-03-24T08:33:38.797654
2023-03-13T16:10:32
2023-03-13T16:10:32
17,678,274
4
0
null
null
null
null
UTF-8
R
false
false
13,870
r
util.plot.R
# CHNOSZ/util.plot.R # Functions to create and modify plots thermo.plot.new <- function(xlim,ylim,xlab,ylab,cex=par('cex'),mar=NULL,lwd=par('lwd'),side=c(1,2,3,4), mgp=c(1.7,0.3,0),cex.axis=par('cex'),col=par('col'),yline=NULL,axs='i',plot.box=TRUE, las=1,xline=NULL, grid = "", col.grid = "gray", ...) { # Start ...
5af2bf373ad603bdd603848d7e589b68d9d54749
b7e40784cbdfb4592c5d027341c444552267218f
/tests/testthat/test_fitness.R
50b840706fded5e15947f755731da53d4a5f2639
[]
no_license
Shixindatiancai/GA
8ec5a710dbb14bd74be3198d467bd63217727ec6
0c7ad7c4ab76965722d6e92b1a7b6e7fb5f3c775
refs/heads/master
2021-08-30T12:50:21.203488
2017-12-18T02:08:04
2017-12-18T02:08:04
114,583,705
0
0
null
null
null
null
UTF-8
R
false
false
788
r
test_fitness.R
context("calculation_fitness tests") dict.fitness <<- new.env() test_that("Input is sanitized", { expect_error(calculate_fitness("a", "y")) }) dict.fitness <<- new.env() test_that("Normal input", { expect_that(calculate_fitness(1:3, data.frame(replicate(10,sample(0:1,1000,rep=TRUE))), 1:1000, fit_func=AIC), is_a("...
a4d0e26ad3157f0ad4421929238b556a7e2a8255
822afc07c6897d71c8e60924d8e691dee4df6876
/Plot3.R
0912fdb5065033389138a91d10b3fedfa54ffc01
[]
no_license
HenrryNadal/ExData_Plotting1
da8982ab18357f241065a653b6390378e574a61c
dccf43bb590cb5c9d486a80b36592452017379b7
refs/heads/master
2021-01-18T20:57:13.187712
2016-02-14T19:15:53
2016-02-14T19:15:53
51,679,411
0
0
null
2016-02-14T04:21:51
2016-02-14T04:21:50
null
UTF-8
R
false
false
997
r
Plot3.R
library(lubridate) temp <- tempfile() download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", temp, method="curl") contain<-unz(temp, "household_power_consumption.txt") Data<-read.table(contain, sep=";", header = T, stringsAsFactors = FALSE, na.strings = "?") Data$Dat...
2c5f2c952427c3848243634efbb78f914899e6b0
75a99fd02c5b224ea4676847415f0b8ca541e784
/Code/hesselinke_topic_modeling_untagged.R
ac748b5ebb646cf77cb84fabc37111b7f914fa2c
[]
no_license
livieee/textanalysis
6684e516b71212ad9a1f521e7cd41a4a3409e3d8
ac9503dbdbe2b40022b090da7a87fb1883ede6c7
refs/heads/master
2020-04-18T01:03:35.453956
2019-01-23T02:57:36
2019-01-23T02:57:36
167,103,798
0
0
null
null
null
null
UTF-8
R
false
false
7,465
r
hesselinke_topic_modeling_untagged.R
#This file is to generating untagged wordclouds for Hesslink_data #Only the words version (do not include digits) #It was using the tm_stopwords #1, 15, 30 Topics hesselink_data <- readRDS("~/Documents/Hesselink copy2/R object for Hesselink Dataset/hesselink_data.rds") user.comment.v <- as.character(hesselink_data$Use...
fcbde7182882852008dc69e35359ae505ddac948
e6462914de5de27eb35b7aa2b526e85e4ea7ee42
/R/auth.R
980bbe6a2538ed40ad006b68554c665c959e4e8e
[]
no_license
ekmixon/rtweet
0a540d7eb8fa7256ffbcdb84ae0ec2cf74dad55a
ea1a9e136867a3607a6ca8b50091dce7dfd27ebc
refs/heads/master
2023-08-11T02:20:33.870520
2021-09-28T09:41:11
2021-09-28T09:41:11
null
0
0
null
null
null
null
UTF-8
R
false
false
9,912
r
auth.R
#' Set up default authentication #' #' You'll need to run this function once per computer so that rtweet can use #' your personal twitter account. See [rtweet_app()]/[rtweet_bot] and #' [auth_save()] for other authentication options. #' #' @export #' @family authentication auth_setup_default <- function() { auth_...
aef92506de186b6f842a6dd472fd71048037d2a5
9c1f77cd384c5cced1363df5139f1449f04b12b3
/man/stress.Rd
d2cbfc35660e1f501819c40d1ce0154c2c54c4d5
[]
no_license
StaThin/ggm
1d693e9bac56d4e3bc907e13693413caf19b2711
b8033f742e215ce1cd5929b199f47003ff9cb673
refs/heads/main
2023-08-25T21:15:37.962146
2023-08-25T14:32:11
2023-08-25T14:32:11
178,892,273
0
0
null
null
null
null
UTF-8
R
false
false
714
rd
stress.Rd
\name{stress} \alias{stress} \docType{data} \title{ Stress } \description{ Stress data } \usage{data(stress)} \format{ A \eqn{4 \times 4} covariance matrix for the following variables. \describe{ \item{Y}{} \item{V}{} \item{X}{} \item{U}{} } } \details{ See Cox and Wermuth (1996). } \references{ Cox, D. R. & Wermuth,...
7a6effcb15cb17071bc5f189409bb87c5df88bd7
3e94d680c7c63ad8e8813abeb1f26bffa5ddcac2
/penguins.R
af19e89d85932468e1778284f5453c214670d951
[]
no_license
RavindraRashmiDasappa/Penguins-Data-Time-Series-Analysis-in-R
568271e8fdb70b7c92ba41c8d34eaa90e3bb52d0
93a32c741960ad4be45634ce04574bcb40cf22fe
refs/heads/master
2021-01-24T04:08:06.455913
2018-02-26T06:09:59
2018-02-26T06:09:59
122,921,886
0
0
null
null
null
null
UTF-8
R
false
false
2,612
r
penguins.R
#Reading Data data <- read.csv(file="/Users/rahmi/Desktop/Penguins/_penguin.csv", stringsAsFactors = FALSE) #Viewing the data #View(data) #checking the type of data class(data) #Converting dataframe into time series data library(tidyr) data %>% separate(Month, c("Year", "Month"), "M") data <- subset(data, select = -...
ff463da80e184bb0d53020945825d82a7bad1706
7db9b9b9ddb24ada82149f961bdf53dc6c2dc2eb
/Source/load_data.R
9623f1549b27c56205a9cb6d8cb44c39b5965750
[]
no_license
RicFraga/Recreate-Graphs
4695ba41c27edf363f248792c252c6728ee05ede
f11a767ce233c0db98f77b23a380b56d3cfa3dad
refs/heads/master
2022-11-18T14:27:32.771409
2020-07-17T18:13:28
2020-07-17T18:13:28
280,322,620
1
0
null
null
null
null
UTF-8
R
false
false
653
r
load_data.R
# This file has the purpose of reading the data from the Data folder and # pre process it to be in good shape to work with it in the other R files read_data <- function(path_to_data) { # We'll only be using data from 2007-02-01 and 2007-02-02 data <- read.csv(path_to_data, sep = ';', stringsAsFactors =...
608d766765b4adaba26c064b33444bb23a8a5aca
0c9fbe0ffcc21ae5e12582ab75541c777a5017ac
/R/chordgen.R
af3ac237cf208d49a9a73c439c890a652d5525f7
[]
no_license
meumesmo/chordgen
a8cf5e282fc1c4c97df77dbd6e7d25eaf570d2d7
63fba426c4ac40657d2a002ac668573163366f4b
refs/heads/master
2020-04-18T16:40:39.785927
2018-10-06T20:26:45
2018-10-06T20:26:45
null
0
0
null
null
null
null
UTF-8
R
false
false
2,284
r
chordgen.R
#' Generate random chords #' #' Generate random chords using many options #' #' @param n number of chords #' @param n_notes number of notes used for each chord. Between 3 and 7. #' @param invert make inversions flag #' @param triad_types 1:major, 2:minor, 3:augmented, 4:diminished, #' 5:sus4, 6:m3d5 #' @param octave ...
c12a342a5fbc4cf2c2f8a8b2e368afc2d581d72e
843689a35f0e800373ce9fae0f3c6344c363d662
/data-raw/create_kelley_markers.R
cf7732ecc74b590506095d80ab6b88cb3ff3bdd3
[]
no_license
andymckenzie/BRETIGEA
cd9449b54ec2d21bc853a759e0d243ed12caf50e
d96ef000aae730441841873878815a374d2d6dc5
refs/heads/master
2021-06-04T09:09:12.379076
2021-05-04T23:07:17
2021-05-04T23:07:17
148,084,036
11
1
null
null
null
null
UTF-8
R
false
false
3,180
r
create_kelley_markers.R
library(devtools) library(HGNChelper) #Downloaded from http://oldhamlab.ctec.ucsf.edu/ on 11/2/2018 marker_data = read.csv("data-raw/ALL_Fidelity.csv") switch_to_HGCN_where_possible <- function(gene_list){ gene_listHGNC = suppressWarnings(checkGeneSymbols(gene_list)) to_change = which((gene_listHGNC$Approved == FAL...
43e25dc903a896d09952e0442b2dcfe48a1a8e92
01a48c8566d2598cc75fc0532f8baef596e142e0
/LinearLogisticProbablity.R
fb98c4e07ff6490013081919ea76a8b1e12e86e7
[]
no_license
urotolo/R-Data-Analysis
9313beea88af7f32f621cbcf0f430b9702f3e56b
f53606c90e964e589bbdf11281797b6768609505
refs/heads/master
2020-04-29T07:58:49.328702
2019-03-16T16:42:19
2019-03-16T16:42:19
175,900,764
0
0
null
null
null
null
UTF-8
R
false
false
5,854
r
LinearLogisticProbablity.R
library(ggplot2) library(caret) library(deSolve) library(lattice) # Ulisse Rotolo trainingData <- read.table("/root/Desktop/DataAnalysisTest/training_data.txt", header=TRUE) # Read in data for Part 1 testData.txt <- read.table("/root/Desktop/DataAnalysisTest/test_data.txt") # Read in data for Part 1 testData.txt # P...
7360f26b84670c0de16c543c5e84e9511e1c7d4c
fd754fd3d3b1a4653456e77295a2aa6079224674
/man/StartupMessage.Rd
364f1f36a673bfa8c410f65afffd77feece1560b
[]
no_license
cran/nptest
aeaf83979c692038aff68f6da5e350c4330167fb
f471e4e4ac5a5789bc610da5d3e15ff32342964c
refs/heads/master
2023-04-28T05:14:58.839986
2023-04-14T18:50:02
2023-04-14T18:50:02
182,997,519
0
1
null
null
null
null
UTF-8
R
false
false
352
rd
StartupMessage.Rd
\name{StartupMessage} \alias{StartupMessage} \alias{nptestStartupMessage} \title{Startup Message for nptest} \description{ Prints the startup message when nptest is loaded. Not intended to be called by the user. } \details{ The `nptest' ascii start-up message was created using the taag software. } \references{ http...
1159afa9d815f0b47f195eb32e55b9c37be00a40
c1015f8592171ed58bac4ae441a4df59089f5774
/man/add_simplyaxis_ts.Rd
394119f1793faebc3d8a2534cd76c12f50e05667
[]
no_license
kotalikg/simplystats
4e2ea9f36ad2e98b93e4ad84c7e06266219f1f9c
b20d04ad2a4383cfccff0371f59973cb1ff5f61e
refs/heads/master
2021-01-14T10:36:59.071049
2015-01-16T04:43:01
2015-01-16T04:43:01
null
0
0
null
null
null
null
UTF-8
R
false
false
234
rd
add_simplyaxis_ts.Rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{add_simplyaxis_ts} \alias{add_simplyaxis_ts} \title{A function for adding simplystats themed axes} \usage{ add_simplyaxis_ts() } \description{ Add axis to time series plot }
3299851af82c19311642a433eec831518590a03d
f9b31c3ffc52f4b6280171cb62fac72c6f708b8f
/man/imageHTS.Rd
0b9a2d4737de95c996506eed27e36b93ac1b479e
[]
no_license
josephbarry/imageHTS
2b98a566629e05c595bf650fb279bc529f722d5a
600c6437fbdbf3a291e428e7b83f0c97bbd7caae
refs/heads/master
2021-05-10T19:53:20.961761
2018-01-23T15:11:10
2018-01-23T15:11:10
118,170,626
0
0
null
null
null
null
UTF-8
R
false
false
2,813
rd
imageHTS.Rd
\name{imageHTS} \alias{imageHTS} \alias{imageHTS-class} \docType{package} \title{Package overview} \description{ imageHTS is an R package dedicated to the analysis of high-throughput microscopy-based screens. The package provides a modular and extensible framework to segment cells, extract quantitative cell fe...
d9e5689095fb5871dbe8e3fdd42b06a1eb4be443
c436672902d550b7166fc512e0b628d0d0d53055
/run/copy_reports.R
d0836b5709c387a65822abb6da8bc16b5f8647bf
[]
no_license
restartus/global-lmic-reports-orderly
ad4e7c667b4f90b13a6c88c98555188a65471d23
9d954619a0e2442e21e6e0e3a6554cb2bd4bff88
refs/heads/master
2022-11-10T15:45:41.490968
2020-06-20T16:09:04
2020-06-20T16:09:04
null
0
0
null
null
null
null
UTF-8
R
false
false
4,412
r
copy_reports.R
#!/usr/bin/env Rscript file_copy <- function(from, to) { ok <- file.copy(from, to, overwrite = TRUE, recursive = TRUE) if (any(!ok)) { stop("There was an error copying files") } } ## Possibly useful: ## dir("gh-pages", pattern = "index\\.html$", recursive = TRUE) copy_outputs <- function(date = NULL, is_lat...
83eeb11c79d573df4615ed3cf6cb2ec02bc0d1a4
cb1edbd312fe5583702e8567e1aa6e32e103d300
/R/sim.history.R
4ecbe7a137e62d9f82a1063f94829abe595a71d5
[]
no_license
cran/phytools
e8cb2ddac5592a9c27a0036df4599649a393717a
910fa95b3f5f1619c85ac420bd07286a3fe8cfcf
refs/heads/master
2023-07-22T15:18:46.363446
2023-07-14T20:00:02
2023-07-14T21:30:43
17,698,535
2
2
null
null
null
null
UTF-8
R
false
false
5,229
r
sim.history.R
## function simulates stochastic character history under some model ## written by Liam J. Revell 2011, 2013, 2014, 2016, 2020 sim.history<-function(tree,Q,anc=NULL,nsim=1,direction=c("column_to_row","row_to_column"), ...){ if(!inherits(tree,"phylo")) stop("tree should be an object of class \"phylo\".") if...
7abc08f09615320ffe17a763970b5d626535e052
cd93b111a05518883959aaec399b1a4933afc1f4
/public/project/explorergee/man/get_terrain.Rd
03d951a6c6a94a5a8659e20211c132c4ca7b2263
[]
no_license
joshualerickson/hydroblog
fc9d5dd1bd21fb7ef90dd961b59082aa2cea9fbb
65c3d21cb725a0e126c3c459c42e656cf4579d02
refs/heads/master
2023-03-06T20:50:27.443995
2023-02-26T16:44:06
2023-02-26T16:44:06
253,122,579
1
0
null
2021-08-17T01:23:05
2020-04-05T00:04:22
HTML
UTF-8
R
false
true
1,478
rd
get_terrain.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get.R \name{get_terrain} \alias{get_terrain} \title{Get Terrain Products} \usage{ get_terrain( aoi, method = "NED", param = "slope", mask = FALSE, m.low = NULL, m.high = NULL, az = 270, el = 45 ) } \arguments{ \item{aoi}{A sf ...
b4040827d42925c9afcaae01735922385ccfcc25
8af2d532c8ea764a73d77628bd8ad2129e21fd8f
/analysis_code/Party_vote_by_electorate.R
0647f204b47a5d7e0fee644d65444e7754982f61
[]
no_license
ellisp/election2011
c3ab5b25568abdf07365bf07dada639a99f96e37
42b2c9cee7b884d4fde318c570f28ef54a6bd351
refs/heads/master
2020-09-22T13:43:48.121716
2014-03-23T05:53:06
2014-03-23T05:53:06
null
0
0
null
null
null
null
UTF-8
R
false
false
3,324
r
Party_vote_by_electorate.R
library(election2011) library(plyr) library(directlabels) #--------------party by electorate-------------------- party <- ddply(party_results_polling_place, .(Party, Electorate), summarise, Votes = sum(Votes)) party_cand <- ddply(candidate_results_polling_place, .(Party, Electorate), summarise, ...
df8af2664bbe7ba27196b8277e84e582e8df861c
ccb8ff0945f271b61f0b4b011ec6e29248fa32d0
/countInvariantsByGroup.R
4527027214e4e5d85b2329e415d817add2ea115a
[]
no_license
dschluter/RScripts
068dc80fa1ff548cbe43bf661eb296c9501561dc
f2fe176468b82b1313bfb0749ea09f5dcd304aa4
refs/heads/master
2023-08-11T15:08:34.881383
2023-07-30T17:09:22
2023-07-30T17:09:22
37,339,907
0
0
null
null
null
null
UTF-8
R
false
false
10,632
r
countInvariantsByGroup.R
#!/usr/bin/Rscript # Run in Unix as " Rscript countGoodInvariantsByGroup.R ... " # One strategy is to use a very low threshold when deciding whether to drop a base, # eg keep any base that has at least one genotype in at least 2 of the groups # qsub -I -l walltime=03:00:00 -l mem=2gb # work interactively; use "exit"...
e059952f9b360250186bb586d3b9f4658e075111
55abc2669cb686c448ace0636f534426a344dd78
/Code/Dev_Code/Monitoring Data Summary.R
0a6a97b3c5fcd717237133983a2a206018a2a594
[]
no_license
smartenies/ALA_HIA
aaa0e87bcd41b0074663b1fad19cb7812ffc0e89
65ed55eb5fc0cb12204e2d6ad6f8c5d7b9087ee4
refs/heads/master
2021-03-24T13:09:13.986091
2019-07-11T22:32:28
2019-07-11T22:32:28
103,997,716
3
0
null
null
null
null
UTF-8
R
false
false
7,043
r
Monitoring Data Summary.R
#' ============================================================================= #' Project: American Lung Association HIA #' Date created: February 22, 2018 #' Author: Sheena Martenies #' Contact: Sheena.Martenies@colostate.edu #' #' Description: #' #' This project estimates the health impacts attributable to two co...
b477789fa11d74d597d32f6a9cf65f8f996541cd
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/stcov/examples/haff_cov.Rd.R
62171aca58a0252b9b53009a239a5c1aa21d823a
[]
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
188
r
haff_cov.Rd.R
library(stcov) ### Name: haff_cov ### Title: Stein/Haff's covariance estimator ### Aliases: haff_cov ### ** Examples p <- 5 n <- 10 S <- rWishart(1, n, diag(p))[,,1] haff_cov(S, n)
db366c2222c1cd5f75cffede9f557e59fba66dd2
8f789aa5b5e5c0054f8d501dbb00f22a70c7a22a
/man/getAnnotations.Rd
e2cb96c141edc9d12787ad476c96ad66062a2212
[]
no_license
ddiez/rTRM
3458ea89798a374736f19df59e8be64ddc480e9b
8603c339ee67a94958d2be6f8cd8b7c6bb55f7f2
refs/heads/master
2021-01-10T20:30:21.929922
2015-10-09T03:14:59
2015-10-09T03:14:59
37,570,884
2
2
null
null
null
null
UTF-8
R
false
false
576
rd
getAnnotations.Rd
\name{getAnnotations} \alias{getAnnotations} %%- Also NEED an '\alias' for EACH other topic documented here. \title{ Obtain the 'pwm' table fromt the database, containing PWM's annotations. } \description{ Obtain the 'pwm' table fromt the database, containing PWM's annotations. } \usage{ getAnnotations(filter, dbname ...
1af66eb2ef60b2e7fed0b9ab24e4ea3f448c3631
05ebfa1015404f62337e452210f4c949f30beb58
/plot2.R
28b453461741626716063b1d0f1d67db22fddb82
[]
no_license
SaschaC/ExData_Plotting1
cf3defc135616a5c2810b362e19da8abda5577a9
adaf26ad98dddce37142faa93d3d859a2d9cf26c
refs/heads/master
2021-01-21T03:51:09.226851
2015-05-09T20:20:58
2015-05-09T20:20:58
35,307,674
0
0
null
2015-05-09T00:03:19
2015-05-09T00:03:18
null
UTF-8
R
false
false
758
r
plot2.R
par(mfrow = c(1,1)) #see which line correspond to the wanted dates indices <- grep(c("^(1/2/2007|2/2/2007)"), readLines("household_power_consumption.txt")) # read in only the data from the interesting dates d <- read.table("household_power_consumption.txt", skip= indices[1]-1,nrows =length(indices),sep =";") #create...
2fc97504f4fc6708fbbf6d3b4925ba17d9f81f9b
02a557ed0914471fa4013a49df2b0ec75338992d
/Clustering/Users/ClusteringBy4H.R
f8c3aa41466123c3eea440977096bca8d364bcde
[]
no_license
Flibidi42/Pe---Big-Data
43dc39376c7ca420fc28da62f1c425a91286109d
246222fe574ddb75cc090beb4d5776045b83a563
refs/heads/master
2021-01-17T14:33:14.852034
2017-03-24T09:36:23
2017-03-24T09:36:23
84,090,963
0
0
null
null
null
null
UTF-8
R
false
false
561
r
ClusteringBy4H.R
Table_clust_user_4h <- Table_clust_user_date #On regroupe les horaires Table_clust_user_4h[, seq(2, 13, by = 2)] = Table_clust_user_date[, seq(2, 13, by = 2)] + Table_clust_user_date[, seq(2, 13, by = 2) + 1] Table_clust_user_4h = Table_c...
f265d76ced7f2c0b0cf496d72180f259a5b74021
24de4c676a5313bde21d8636456f955218a63499
/Statistic/Non_parametric/Friedman_v1.R
62e0a9103ed161013f2b4823ed110c7c378fa094
[]
no_license
isacmendes/Gerador_R
c1d90d97076de3b3219147b7f391f7fd4e2191c2
c8fda09678e9a0ec4ef61b688bb776b7bea29a48
refs/heads/master
2023-03-26T21:33:22.864353
2021-03-28T03:50:12
2021-03-28T03:50:12
327,659,760
0
0
null
null
null
null
ISO-8859-1
R
false
false
3,758
r
Friedman_v1.R
# Title : TODO # Objective : Compares pairs samples (batchs xx) # Created by: Isac # Created on: 19/01/2021 #1) Library and data source options(scipen=999) # if (!require(dplyr)) install.packages("dplyr") library(dplyr) if (!require(rstatix)) install.packages("rstatix") library(rstatix) if (!require(stats)) instal...
09fa03379bbb61b0020f23ed745410faf2a1ceb4
443b37ea9377bfd267f68c20123893a85db17852
/tests/testthat.R
edb9011cc70a4cefbf956570193bdb03091e633b
[]
no_license
CharlesJB/rnaseq
7cda74303ebceaf9f8561ce5f331c35f034793d6
77352def1a5a2b0e0b7e6400ad13bd7385de0181
refs/heads/master
2023-04-02T13:03:09.120128
2023-03-15T20:12:24
2023-03-15T20:12:24
125,427,062
1
1
null
null
null
null
UTF-8
R
false
false
56
r
testthat.R
library(testthat) library(rnaseq) test_check("rnaseq")
ec419ed37f059c9e77363312e7423e282fc4aafc
81a62ed4c5689f9cda1dbf51ff2e5812506e8058
/1.propensity_score_analysis/05-1_ui_ranking.R
3be150dfab73f447b745365cd7e1f8d0577ff065
[ "MIT" ]
permissive
taiyoutsuhara/portfolio-r
7a138c60e60fa71e3e98bd26d3c70872f21401bd
49c1f74e4a5322ab1ef41ea35a3cba20e5e33208
refs/heads/master
2020-12-01T11:07:09.409804
2020-02-02T10:31:30
2020-02-02T10:31:30
230,613,432
0
0
null
null
null
null
UTF-8
R
false
false
974
r
05-1_ui_ranking.R
## 推定結果の可視化 ## # 可視化用データの用意 # dataframe_for_ggplot2_at_1st_Comparison = dataframe_for_ggplot2_at_2nd_Comparison = dataframe_for_ggplot2_at_3rd_Comparison = list() ranking_of_ipwe_including_all_zero = modifyList(list(rep(0, length_of_ServiceType - 1)), ranking_of_ipwe) dataframe_for_ggplot2_at_1st_Comparison = lapply(r...
1340f8e7d70156a93e8e70767053febc0798a8ba
436570c53fbf34dd2ac73282b4b3cf558c214d3e
/graphs/axestitlemtext.R
df4a81fc2ff3e99b8207aaaf8b49849b736aa246
[]
no_license
dupadhyaya/dspgmsc2017
4ce6debe7f87a4ac20da98cb3cf049c6c60335c5
e6062aa49fd0e10466830c6c03511823aa42e5ca
refs/heads/master
2021-01-22T16:53:35.407476
2018-05-23T04:09:50
2018-05-23T04:09:50
100,725,221
9
1
null
null
null
null
UTF-8
R
false
false
3,105
r
axestitlemtext.R
# Axes Mtext Text #Text can be added to graphs using the text( ) and mtext( ) functions. #text( ) places text within the graph while #mtext( ) places text in one of the four margins. #location location can be an x,y coordinate. #Alternatively, the text can be placed interactively via mouse by specifying location as ...
14c81dd13c841b040ecfceeac60646c9e8280efa
3025bff143cf6f0977bfcf5fc51f65ccbe14a98b
/man/MSALinearity-class.Rd
d56f0248d07e553174e1c7642d43951a9a35b92e
[]
no_license
acabaya/qualityTools
b17169b73dd92e86380e759dd228c1d79ecc3203
e7eeac7cc7e95272b828f96db66f0a339ef6c957
refs/heads/master
2021-05-31T05:43:02.741691
2016-02-24T17:40:35
2016-02-24T17:40:35
null
0
0
null
null
null
null
UTF-8
R
false
false
1,742
rd
MSALinearity-class.Rd
\name{MSALinearity-class} \keyword{Measurement Systems Analysis} \Rdversion{1.1} \docType{class} \alias{MSALinearity-class} \title{Class \code{"MSALinearity"}} \description{MSALinearity Class } \section{Objects from the Class}{ Objects can be created by calls of the form \code{new("MSALinearity", ...)}. } ...
0e19b1027fdff104a401ff433b216ab13aa0e5bd
7f141116154eed50968bddd35c9a47b7194e9b88
/tests/testthat/test-simulate.R
8c50422f380048eb1fa85a44d1b35c9e073896db
[]
no_license
adw96/breakaway
36a9d2416db21172f7623c1810d2c6c7271785ed
d81b1799f9b224113a58026199a849c2ec147524
refs/heads/main
2022-12-22T06:20:56.466849
2022-11-22T22:35:57
2022-11-22T22:35:57
62,469,870
65
22
null
2022-11-22T22:35:58
2016-07-02T21:10:56
R
UTF-8
R
false
false
253
r
test-simulate.R
context("simulate") library(breakaway) data("apples") test_that("simulation code works", { expect_is(rnbinomtable(C = 100, size = 20, probability = .1), "data.frame") expect_is(rztnbinomtable(C = 100, size = 20, probability = .1), "data.frame") })
1affb7c297d2244bf49458a5375a803d533db476
d81623f397b960279be3666db4060a67815b22da
/Kaggle/scripts_for_github/kNN_test.R
7cac015a7a7cf6c83b006f0ff008ca520a7de593
[]
no_license
elcovi/NYCDSA07_Projects
b1d41c4de6ba0acf3bfb55f0f3b7ffb3d65c573e
176c617c4dd30839de1d048d196290fd7732d70c
refs/heads/master
2020-03-06T19:02:54.565868
2017-06-29T17:30:43
2017-06-29T17:30:43
null
0
0
null
null
null
null
UTF-8
R
false
false
1,851
r
kNN_test.R
start_time <- Sys.time() library(data.table) setwd("~/Desktop/Project4") dt_train <- as.data.frame(fread("train.csv", stringsAsFactors = T)) dt_test <- as.data.frame(fread("test.csv", stringsAsFactors = T)) test_id <- dt_test[[1]] temp <- dt_test[,-1] temp$loss <- NA test_num <- nrow(temp) train_num <- nrow(dt_train) k...
7a1d0daf4f2c55bd0520fc8bcfd2040e51c998c2
1d38e74b55dee8655f5f67bfda31220dda4affa7
/R/simulation.R
d25f936b01bcf9dbb9fb5c6e9c8b7c6a26d63b46
[ "MIT" ]
permissive
ZhuolinSong/Length-penalty-for-principal-curve
b421529b5befb6bae592f7870764b57c27724ac6
29426aeaf378ae930441bb2f36fb77068ebd8418
refs/heads/main
2023-08-25T02:18:43.095136
2021-10-14T06:02:42
2021-10-14T06:02:42
394,865,033
0
0
null
null
null
null
UTF-8
R
false
false
8,390
r
simulation.R
#' Grid Cross Validation simulation #' #' parallel simulation #' #' @param ncores number of cores used in simulation #' @param s_n number of observations #' @param s_k number of knots #' @param s_q dimension #' @param ... other args for cv_grid #' (maxit, thresh, l_range, s_range, folds, lambda_l) #' @impo...
f8b2ea65a0decf98a71cc53d1c0470331cb3b828
8de30e7b191229668555fe93d3a1488fee518ec0
/Plot2.R
48c2c5be86bcbc3a77903daed56af69e3a11e6c1
[]
no_license
Epawlakos/ExData_Plotting1
920f39159a3513ae7170934eb0b60fb3466db666
79ea4864773afc655994a363540633e7a0aa196b
refs/heads/master
2021-01-16T22:24:31.452268
2016-06-16T02:09:09
2016-06-16T02:09:09
61,254,526
0
0
null
2016-06-16T02:05:59
2016-06-16T02:05:58
null
UTF-8
R
false
false
202
r
Plot2.R
###### Plot 2 ###### plot2 <- function(){ plot(df$timestamp,df$Global_active_power, type="l", xlab="", ylab="Global Active Power (kilowatts)") } png(file = "plot2.png") plot2() dev.off()
5fc185cfd4acfc132d0acade2d7896943889a9ef
15761261732e0dbca6f5e29d439c25a014656771
/unit_test/shniy_unit_test2.r
41ccd9535a237d5d308de57d94a9b3ea02bcccf8
[]
no_license
linuxcarey/stock_analysis_checklist
927e053261e0e5c8a35fcc17e7a6b476bdf05c0c
1c58da15724570d5a8617171a69513575db92c1b
refs/heads/master
2020-08-13T01:17:35.247879
2020-01-02T14:31:06
2020-01-02T14:31:06
null
0
0
null
null
null
null
UTF-8
R
false
false
1,003
r
shniy_unit_test2.r
setwd("~/R/stockVis") # Load packages ---- library(shiny) library(tidyverse) library(quantmod) library(xml2) library(rvest) library(tibble) library(DT) # Source helpers ---- # source("helpers.R") #source("Stock_Analysis_Checklist_shiny.R", local = TRUE) # User interface ---- ui <- fluidPage( titlePanel("stockVis"), ...
e706a04cbd5659867a2ee0f1fbefa78c98b7d80b
db7a2379f4371d3f628a91b768322044b55ee464
/man/rmg_consecutive_four_identical.Rd
1031d37a7c458958290aaa6836d528b5f084d796
[ "MIT" ]
permissive
psungho/rmgarbage
a51978c5b3278413c18f684ba2e5715d3ec6aa57
168c80fd0bb0e40dd6133f240f3bf69120cd6f16
refs/heads/master
2022-04-21T13:39:24.098837
2020-04-18T20:30:40
2020-04-18T20:30:40
null
0
0
null
null
null
null
UTF-8
R
false
true
729
rd
rmg_consecutive_four_identical.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rmgarbage.R \name{rmg_consecutive_four_identical} \alias{rmg_consecutive_four_identical} \title{Rule R: four identical characters} \usage{ rmg_consecutive_four_identical(x, n = 4L) } \arguments{ \item{x}{a character vector} \item{n}{integer,...
927548374d2c605dc6944192e343ed3274b63a0f
9782b6c469f3b0b26d971093edb5c5dce8583b8a
/Decision Tree/Classification problem statement.R
a58cc3d6b7be2c7656716e4b08af3364ca7e3b82
[]
no_license
bhavukbhardwaj/Decision-Tree
0511e52d2ef11de13a05dc768038352f618cbb0e
051e6596b3cfada494c7082d392e1843dfac48c7
refs/heads/master
2020-03-24T00:11:25.985725
2018-07-26T05:08:41
2018-07-26T05:08:41
142,278,092
0
0
null
null
null
null
UTF-8
R
false
false
1,890
r
Classification problem statement.R
#load the data into R diabet<-read.csv("Diabetes.csv") View(diabet) #divide the data into Training and Testing datasets #instead of using library caTools and splitting the data, we can split data by set.seed(3) id<-sample(2,nrow(diabet),prob = c(0.7,0.3),replace = TRUE) diabet_train<-diabet[id==1,] diabet_t...
0a63697f3176ebfa417c96106175eb26eafe9a4e
dd0a313992eb1ed00b3d4ec292cfabf88e65ca02
/Summer Project -Quantitative Tightening/Shadow Rate/WX Shadow Rate replication.R
f4661fde6190631053d0f6731f242f7b3a0343c5
[]
no_license
nikhilg12/nikhil
f7e9bfe436aba24f47108f4be48e93c9e9ce7e20
1f3de16c06ff1ac7a5884cdfdcb7b27eabf92c8f
refs/heads/master
2021-01-18T20:05:47.723310
2018-08-23T18:46:25
2018-08-23T18:46:25
86,937,015
0
0
null
null
null
null
UTF-8
R
false
false
12,895
r
WX Shadow Rate replication.R
#DoubleLine ForwardRate library(readxl) library(data.table) library(lubridate) library(zoo) library(readr) library(R.matlab) library(matlib) library(MASS) library(optimx) library(matrixcalc) #Take Maturity & Fed as inputs. Maturity<-c(3,6,12,24,60,84,120) Fed <-fread("feds200628.xls.csv",skip=9) #Com...
67fb061159f72cb3c550959d7691ebe6ce824863
2224d28c707fe7f0df84f02fcf0f486e909f150e
/MultipleRegression.R
989ebffbd0382dccef5f75d3691bc451d49da43e
[ "MIT" ]
permissive
ak202/CHAAHK-thesis-analysis
932669abd116378390461a490ba10e4a4f3e996c
96f9c4143e41346ba4db23db7adfaa9c0ab5b519
refs/heads/master
2020-08-01T10:54:42.018001
2019-09-26T22:46:01
2019-09-26T22:46:01
210,974,753
0
0
null
null
null
null
UTF-8
R
false
false
4,416
r
MultipleRegression.R
setwd("/home/akara/workspace/R/CHAAHK/") argss = commandArgs(trailingOnly = TRUE) data <- read.csv(paste("output/", argss, ".csv", sep="")) fit.MaxPop <- lm(MaxPop ~ disturbanceRemovalChance + fecundityPromotiveIncRate + fecundityPromotiveRes + ...
082fada92bd96e6ec8d1787002cd2cd1398aeed5
1e92e8308d62de17938b5b784ae14368b0e888d7
/R/utils_posterior.R
c12c6264290b18da987310bfb6d25c631e3b02e4
[]
no_license
cran/bayestestR
fa6e437695dc4d5657937bedfea594891c6ceda7
053d5208164a7eccb0edff2752c83e3a99c8f69d
refs/heads/master
2023-04-15T11:20:25.132889
2023-04-07T14:20:02
2023-04-07T14:20:02
200,848,742
0
0
null
null
null
null
UTF-8
R
false
false
900
r
utils_posterior.R
# helper ------------------------------ .posterior_draws_to_df <- function(x) { UseMethod(".posterior_draws_to_df") } .posterior_draws_to_df.default <- function(x) { insight::format_error(paste0("Objects of class `%s` are not yet supported.", class(x)[1])) } .posterior_draws_to_df.data.frame <- funct...
7c02896c850d1ab4770b3ca43d5a774a929c62be
8c3cf30becb570aaab6d2c7b0273d02d0e2737a6
/R/projection.mat.R
f7dd95db2a533b840f8c68e34b712972189d30e6
[]
no_license
yfyang86/paftoga
357d124b6e09e9ecd3e1a01c4bebfc3646194091
20470687b4f36065975dfc61381f15b18d9b7103
refs/heads/master
2021-06-22T23:49:19.852806
2016-11-27T16:07:51
2016-11-27T16:07:51
19,086,047
0
0
null
null
null
null
UTF-8
R
false
false
297
r
projection.mat.R
projection.mat <- function(X,LinearSys,mod=1){ Y=as.matrix(LinearSys) YY=matrix(0,nrow=nrow(Y),ncol=ncol(Y)) if (mod==1) {Y.qr=qr(Y);Y=qr.R(Y.qr)[,1:(Y.qr$rank)];} YY[1:(Y.qr$rank),1:(Y.qr$rank)]=Y tmp=YY%*%solve(t(YY)%*%YY)%*%t(YY)%*%X list(projection=tmp,orth=X-tmp)#lm(X~Y)$residual... }
2ad15f9546166d79a4891f5a0def5ea002de25b1
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/osmdata/examples/osm_lines.Rd.R
cdfe6048adcea2b41039e3240f67d82b8006dba5
[]
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
755
r
osm_lines.Rd.R
library(osmdata) ### Name: osm_lines ### Title: Extract all 'osm_lines' from an osmdata object ### Aliases: osm_lines ### ** Examples ## Not run: ##D dat <- opq ("hengelo nl") %>% add_osm_feature (key="highway") %>% ##D osmdata_sf () ##D bus <- dat$osm_points [which (dat$osm_points$highway == 'bus_stop'),] %>...
d9c4d6c117720b29d28e05502f7d2097def050cb
bd0ff0492d12431e88ae8b1d4a471c15ab26e76b
/R/conditionalprob.JGR.R
85b5c4a9abea5c4d87fe648e01d55c09e2c90675
[]
no_license
cran/CADStat
b01fe3c32c4e7ab24a592c744e259e6ed67aa6d4
2c8110fb89a8b7c9706359c00d12ccae399f276f
refs/heads/master
2021-01-18T14:20:35.989297
2017-05-10T01:09:22
2017-05-10T01:09:22
17,717,270
0
0
null
null
null
null
UTF-8
R
false
false
8,150
r
conditionalprob.JGR.R
#' @export conditionalprob.JGR = function(my.data, x, y, weights=NULL, cond.val,cond.val.direction,prob.direction, alpha=0.05,R=100, subset1.name=NULL,subset1.val=NULL, subset2.name=NULL...
a10c9a97e5fd12a8b66fdbe2017bb6da4b6f2fc6
ea18769d30047829fa313ab88c345c379718122e
/omlTuneBenchRLocal/R/get_available_tasks.R
f6a71a7b62fa6582f981fff775a29fcd06203070
[ "MIT", "BSD-3-Clause" ]
permissive
jakob-r/lookup-server
95e894661f61a28b2cc36e94bc716c5581b0aac6
72464e0f14296cdf17328d1eb6ff4b4db90cc470
refs/heads/master
2021-10-24T09:37:23.535650
2019-03-04T10:12:26
2019-03-04T10:12:26
null
0
0
null
null
null
null
UTF-8
R
false
false
581
r
get_available_tasks.R
#' Returns the task_ids, which are saved in the database and can be queried. #' #' @return A vector of task_ids. #' @param restrict [logical] #' Restrict the tasks to those that appear in the following paper: #' Automatic Exploration of Machine Learning Experiments on OpenML #' Daniel K¨uhn, Philipp Probst, Janek...
f58bde9e36d03f36564c07b6d4ba9e873f591e07
32a987f755b13c118a42c64f032135f240bacc06
/R/annotation.summary.R
393f8c8880627972040ae1eccb645215c25d5719
[]
no_license
sneumann/RAMClustR
b1183f2faec40b3fa9466bbb74f89724bbad0cc3
40fc289ecf0f7a1fb9700fdb9a5df948888c8c53
refs/heads/master
2021-01-15T16:56:41.528502
2018-06-22T13:00:12
2018-06-22T13:00:12
13,795,865
1
1
null
null
null
null
UTF-8
R
false
false
2,620
r
annotation.summary.R
#' annotation.summary() #' #' Write a .csv file containing a summary of the annotations in the ramclustR object. #' @param ramclustObj R object - the ramclustR object which was used to write the .mat or .msp files #' @param outfile file path/name of output csv summary file. if NULL (default) will be exported to spect...
813da72bdda15d48f665b147a1618adfc10c59f6
ee6c0637beb2ea64c1a9c2968068270a415fd08d
/tests_private/adp_rdi_01.R
e3498ea60af8eca278b4ecd4899530375fd8e66a
[]
no_license
pablovaldes/oce
b4dca22f110ebbdabd1ddf8cf388cdc356d169c2
a93f72ed925a2fe00e4e5651c0fa0c4da70d147c
refs/heads/develop
2020-07-27T03:47:48.025749
2018-01-18T22:06:30
2018-01-18T22:06:30
73,704,563
0
0
null
2018-01-19T11:25:29
2016-11-14T12:55:59
R
UTF-8
R
false
false
500
r
adp_rdi_01.R
library(oce) path <- "~/Dropbox/oce-working-notes/tests/adp-rdi" files <- list.files(path, "*", recursive=TRUE, full.names=TRUE) n <- 0 for (file in files) { try({ cat("\nfile '", file, "' ", sep="") if ("adp/rdi" == oceMagic(file)) { cat("is adp/rdi\n") d <- read.oce(file)...
3ac01c0f24fddddbd5cdfe99372311d39cfa3e40
28a069ebaae78533c6de3ce38ae16b0665e4bec5
/src/scripts/segment.R
8f382b890df9b9a1e1439af9ec73995c21a3b0d9
[]
no_license
baliga-lab/gaggle-genomebrowser
6bd102ea2c3ebe0897dc9ab94e6f24889a67eebf
bda2de1fa7374e7ab329355dfd5e67ba1a91f97f
refs/heads/master
2016-09-09T20:49:16.918358
2013-11-06T18:48:05
2013-11-06T18:48:05
6,000,905
0
1
null
null
null
null
UTF-8
R
false
false
2,611
r
segment.R
# Compute segment tracks from expression data. # Finds the average value over probes whose (central) position is within the segment boundaries. Returns # a data frame with columns (sequence, strand, start, end, value) # # To be used with the data file: tilingArraySeg_mm_export.RData # Not complete for general use....
9d7bd3008c23a8f5f1252ab18cb1bf38e9e0f83b
ee0689132c92cf0ea3e82c65b20f85a2d6127bb8
/52-CART/c-dt-rpart-sales1.R
74239082524dba512c6b22b2e5656ba6cb7db942
[]
no_license
DUanalytics/rAnalytics
f98d34d324e1611c8c0924fbd499a5fdac0e0911
07242250a702631c0d6a31d3ad8568daf9256099
refs/heads/master
2023-08-08T14:48:13.210501
2023-07-30T12:27:26
2023-07-30T12:27:26
201,704,509
203
29
null
null
null
null
UTF-8
R
false
false
2,228
r
c-dt-rpart-sales1.R
# CART Models - Regression Trees - Merchent Sales #Predict the mean sales from the data; create decision tree library(rpart) # CART algo library(rpart.plot)# visualising decision tree library(forecast)# calculating accuracy msales = read.csv(file = "./data/msales.csv", skip=1, header = T) dim(msales) # Summarize the ...
4673ec695f160900fcc1a826ea74ede45c8cea6f
74df9ce87872f43ff6836563cd8019eb9b95f5b0
/3_predictions/src/nc_utils.R
d273549e8869b4bd4215eb711a507986ca0b8dc5
[]
no_license
USGS-R/delaware-model-prep
017f0d9f727d5d5b4449cd69758c4b32f12860ed
45e1ffeee7d6ea4a95e374e16cbc1196bf703f41
refs/heads/main
2023-06-08T19:38:46.764070
2023-06-01T23:56:42
2023-06-01T23:56:42
202,405,091
2
14
null
2023-04-07T23:28:32
2019-08-14T18:31:12
R
UTF-8
R
false
false
32,875
r
nc_utils.R
#' Wrapper function that creates nc file, gathers PRMS-SNTemp output, and stores output in nc file #' #' @param nc_name_out name of the netcdf file to be created and store PRMS-SNTemp output #' @param model_run_loc location of the PRMS-SNTemp model run #' @param model_output_file file path to the PRMS-SNTemp variable ...
647a59c15ec58de319e7c0537632c1b7bc196529
6c10fa091932a4c73422b3573ab04aed11df392e
/man/plot.graph.Rd
c6b55975bcc0d0835400b16783384b526c97759b
[]
no_license
cran/GGMnonreg
fd2c5b18a196b4b32244a209a5688ebf651911c4
1b7b02bdcc0d5e14daed2f8d99b2e597986cb0fc
refs/heads/master
2023-04-01T07:10:52.959431
2021-04-08T10:30:06
2021-04-08T10:30:06
355,965,335
0
0
null
null
null
null
UTF-8
R
false
true
1,776
rd
plot.graph.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_graph.R \name{plot.graph} \alias{plot.graph} \title{Network Plot for \code{graph} Objects} \usage{ \method{plot}{graph}( x, layout = "circle", neg_col = "#D55E00", pos_col = "#009E73", edge_magnify = 1, node_size = 10, pale...
e76db0525ebf75b29467cdf7417058dbb3181eb4
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/surveysd/tests/test_generateHHID.R
cc0199ffcbe709f697ac7ce49bb5fad683cbb724
[]
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,992
r
test_generateHHID.R
################################# # test generate.HHID() # context("generate.HHID()") library(surveysd) library(laeken) library(data.table) eusilc <- surveysd:::demo.eusilc() eusilc[,rb030split:=rb030] # create spit households eusilc[,rb030split:=rb030] year <- eusilc[,unique(year)] year <- year[-1] leaf_out <- c() f...
d41ceb647f8351a3a85894890568c2823fdc9c49
75a981dbcb03a471ed72df9eee09604d84a3956a
/R/pshiftpois.R
5f4e77722d100574a3509cf36756150323dbd281
[]
no_license
benaug/move.HMM
7c1e897aa33a2aaa0564844d9e8ee20fbcf0d96a
1095eedcc3c47976ea0d966131e5e1855eaaa9ef
refs/heads/master
2022-02-11T01:31:16.309023
2022-01-22T19:41:44
2022-01-22T19:41:44
13,788,227
3
2
null
2014-10-01T17:46:47
2013-10-22T22:58:15
R
UTF-8
R
false
false
447
r
pshiftpois.R
#'Shifted Poisson cdf #' #'This function evaluates the shifted Poisson cdf. The shift is fixed to 1. #'@param x a vector of values where the cdf is to be evaluated #'@param lambda vector of positive means (of an ordinary Poisson distribution) #'@return A vector of shifted negative binomial cdf values #'@export pshiftp...
8096b92613eb48c261d3d359712a641ffd806ee8
85df540e33b8aa3809b8f783b5eb51b1a407dc8e
/cheb/cheb.R
48c5023c17db1f89e5851032ab6085dc5227e888
[]
no_license
ricky1223321/mathematical
c65caaff514aadd7cef2a25ed474f721bba60a44
2d2cc457d7c1230498f6ed7eccd74fb772f57ac4
refs/heads/master
2023-06-25T02:28:42.658872
2021-07-30T10:31:52
2021-07-30T10:31:52
382,778,559
0
0
null
null
null
null
UTF-8
R
false
false
1,250
r
cheb.R
chebyshev = function(xs,k){ library(ggplot2) library(magrittr) library(cowplot) set.seed(123) #xs <- c(rnorm(2000)) #xs <- c(runif(2000,0,1)) #k=1.2 #xs = c(rexp(2000,rate=0.5)) #xs = c(rbinom(2000,10,0.5)) lower.bound = mean(xs) - k*sd(xs) upper.bound = mean(xs) + k*sd(xs) num.in.bounds = lengt...
2c63c1822f1796e9588a684d42d449fcd5bac3d2
16ad11958d4dccadb41fabc37006daa64cb1a69c
/02_check_tables_in_database.R
4f73e5dbd5b59bb28b12203073437e0a10d3f2a4
[]
no_license
kguidonimartins/create_database_from_csv
3975ee8a2f256ff58a79eac01db2e6b19c427ddb
1662f4427a432bc6bdadc0f404d05876b2240f48
refs/heads/master
2022-09-18T15:17:24.471753
2021-04-20T21:50:24
2021-04-20T21:50:24
223,270,518
1
0
null
2022-08-23T17:57:16
2019-11-21T21:40:57
Python
UTF-8
R
false
false
612
r
02_check_tables_in_database.R
if (!require("tidyverse")) install.packages("tidyverse") if (!require("DBI")) install.packages("DBI") if (!require("RSQLite")) install.packages("RSQLite") if (!require("dbplyr")) install.packages("dbplyr") database <- DBI::dbConnect(RSQLite::SQLite(), "test_small_db.db") src_dbi(database) table_list <- dbListTables(...
9f5aa9aad1b1cb445a5f3a88a3b8db9446731670
da35cc8651015a9f106bd21692102ec52db33c01
/R/create_statement_local_pkgs.R
1ca35682499b43b178065c7f872fdfcb238a27d5
[ "MIT" ]
permissive
gwd666/dockr
3b291a44babc6f1301beff006506660670eb98f0
c6b762dbd71608b556fde94038cc35bf244e5dd9
refs/heads/master
2022-03-27T04:37:57.249913
2019-12-15T17:00:55
2019-12-15T17:00:55
null
0
0
null
null
null
null
UTF-8
R
false
false
1,849
r
create_statement_local_pkgs.R
#' Create Install Statements for Local Source Packages #' #' @param pkgs_df \code{data.frame} with names and version numbers of desired #' packages. #' @param pkgs_deps \code{character} package dependencies ordered recursively. #' @inheritParams prepare_docker_image #' @inheritParams match_pkg_local #' #' @return \code...
6a1aed72dcede6e10ff0093e24822754128cdc83
29585dff702209dd446c0ab52ceea046c58e384e
/selfingTree/R/extractProbs.R
f841df64b7a1a37a9670f9ab218595f8c0d37ade
[]
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
1,852
r
extractProbs.R
## Copyright (c) 2014, Pioneer Hi-Bred International, Inc. ## Redistribution and use in source and binary forms, with or without ## modification, are permitted provided that the following conditions are ## met: ## Redistributions of source code must retain the above copyright ## notice, this list of conditions and the...
9e3bedf11d9f57095d8d8209a55d50593c7b60cd
b0ea087649d39514c3683264a66bb392a5e52cba
/poppr.R
2b20e723f84bf72eed669f478df6a4c91789c2e8
[]
no_license
evhersh/GBS_results
e449411e8795e9e82748c6a947a1339c1a139241
fdb3bdf81db57cd20fd94f5016cce6dada60baa9
refs/heads/master
2022-12-08T19:12:43.891642
2020-09-05T07:41:08
2020-09-05T07:41:08
193,580,779
0
0
null
null
null
null
UTF-8
R
false
false
28,246
r
poppr.R
############ # Packages ############ library("vcfR") library("poppr") library("ape") library("RColorBrewer") library(gdsfmt) library(SNPRelate) library("ggplot2") library(reshape2) library(plotly) library(adegenet) library(knitr) library(ggpubr) library(hierfstat) library(ggtree) ############### # Data import # ######...
b7c4ee55a35ea80f9545d88386fe895db6809692
b80bd80ccb982b69d7c910901e5d1a5cb1d5ea07
/server.R
84232d1e3a2a605791a9a723d025d3eea1da7c52
[]
no_license
fazepher/AED-datos-franceses
3fc7b9b09ff2c6d528a6fffe6ba22ee701dc02f7
5820bbf8d53e04fb3a762ccf908ffe01343b913c
refs/heads/master
2020-05-22T10:28:55.553630
2019-05-24T01:51:51
2019-05-24T01:51:51
186,310,717
0
0
null
null
null
null
UTF-8
R
false
false
13,406
r
server.R
############################################################################################################ ################################################# TESIS FN ################################################# ##################################### FERNANDO ANTONIO ZEPEDA HERRERA ################################...