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
ad89025b136ec07671962711144ad497a678f44f
bcedcc38635d223401b16aac4cd095f4d38fd25f
/simulation.R
d07a50a1442fdeab02bc0cf68447cd25d7aeff6a
[]
no_license
paulfournel/smurfs
aecb8ddbfed10b8c59895a3af256f869813c0b44
32505791ac291f4d6871cf08bfe5c25df2125607
refs/heads/master
2021-01-10T05:27:10.625532
2017-08-06T05:57:19
2017-08-06T05:57:19
46,412,191
0
0
null
null
null
null
UTF-8
R
false
false
1,125
r
simulation.R
require(schoolmath) require(pracma) number_of_smurfs = 3 has_solution = function(mat){ return(any(rowSums(mat)==dim(mat)[1])) } infos = function(day, smurfs){ prime_decomposition = as.integer(factorize(day)) if(any(prime_decomposition<=max(smurfs))){ return(unique(prime_decomposition[prime_decomposition<=ma...
e6f469f5b46599237d4536aa2751be422c786486
e31448ca0dbf0230b47d6b24a0d7fc66811ff406
/tests/testthat/fakepackages/allexportedchecked/R/pending.R
5b26d281929d507fc197baeb2f270443f2a9ea6c
[ "MIT" ]
permissive
rmsharp/checkr
abecee52da5c99772acdb46b33b4911db01c896d
9e796514c77b030d0a41e1e25352a892e981eaf1
refs/heads/master
2021-07-12T02:07:48.486434
2017-10-10T15:39:15
2017-10-10T15:39:15
106,333,359
0
1
null
2017-10-09T20:44:03
2017-10-09T20:44:02
null
UTF-8
R
false
false
324
r
pending.R
#' Pending! #' #' This function has no formals, so it won't be counted against checkr! #' @export pending <- function() { "Pending!" } #' Pending identity. #' #' This function needs to be checked or else the test will fail. #' @import checkr #' @export pending_identity <- checkr::ensure(pre = list(x %is% any), identi...
99a4e3f39019535e748e1d352114d6aa89a7ec3d
badf5f99111607d30a41956bc92aaff4f2b3493a
/man/best_clust_toy_obj.Rd
dcb02184ce344dcdacd397ec894290ed8a3407ba
[]
no_license
cbg-ethz/TMixClust
4d5755e40bc5cc36f13e6ca52c0e7a10b731ab7c
1c641e560ef82e699990501187c2f659712836c6
refs/heads/master
2021-07-07T07:47:59.028119
2018-02-01T18:42:11
2018-02-01T18:42:11
96,901,003
1
0
null
null
null
null
UTF-8
R
false
true
1,110
rd
best_clust_toy_obj.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_TMixClust.R \docType{data} \name{best_clust_toy_obj} \alias{best_clust_toy_obj} \title{TMixClust object containing the optimal clustering solution for the toy data with 3 clusters.} \format{A \code{TMixClust} object.} \usage{ best_clust...
aa96bc22bfb4700febffee8f29fb0336d77c426d
4bd57b8501d4326ecc06c1d1ea499935e1668d95
/MASH-dev/DanielCitron/Haiti_Geography/haiti_geography.R
4a9b44fd7bef4d1a03309d0ed3b36eee40dde911
[]
no_license
aucarter/MASH-Main
0a97eac24df1f7e6c4e01ceb4778088b2f00c194
d4ea6e89a9f00aa6327bed4762cba66298bb6027
refs/heads/master
2020-12-07T09:05:52.814249
2019-12-12T19:53:24
2019-12-12T19:53:24
null
0
0
null
null
null
null
UTF-8
R
false
false
3,335
r
haiti_geography.R
library(sp) # necessary for rgdal library(rgdal) library(raster) library(rgeos) library(maptools) GBD <- readShapePoly("/Volumes/snfs/DATA/SHAPE_FILES/GBD_geographies/master/GBD_2016/master/shapefiles/GBD2016_analysis_final.shp") # Load in A2 data global <- readShapePoly("/Volumes/snfs/WORK/11_geospatial/06_original ...
457ce77f27ff721997f3f8197a1270b76566e266
934b47d53e0ef1cdd1f1512d12b81a6bba16b970
/debugging.R
b951930c3927fa890ae9078924d8066657f21730
[]
no_license
jessicawalsh1/consOpt
b8ace200518c3f8b1dc6bf654fbe292ca42b18a0
1cdd2c94a269fe8e09e1d285470e9c6b8fb26e59
refs/heads/master
2020-03-29T00:31:18.291533
2018-09-17T09:08:08
2018-09-17T09:08:08
null
0
0
null
null
null
null
UTF-8
R
false
false
20,302
r
debugging.R
library(ompr) library(ompr.roi) library(ROI.plugin.lpsolve) library(magrittr) library(R6) source("plotutil.R") # ------------------------------ # Container object # ------------------------------ optStruct <- R6Class("optStruct", public = list( B = NULL, cost.vector = NULL, all.index = NULL, t = NUL...
efd980485753c5292ddc49df56bff39d4844b7dc
67d069e4d9d9b852e11cdc333bb0ff0ed5e6a477
/man/predict.EMglmnet.Rd
69580d29493073992b2867c3fa4dd1467b844233
[]
no_license
schiffner/EMnet
3bf8aba9b0a9c318b8dbb7f7638f6c28be5aefd2
ce34e19a36637e3eb0cebe2162417e4c67904ac7
refs/heads/master
2020-12-25T14:14:02.980829
2016-12-08T11:06:43
2016-12-08T11:06:43
64,326,192
0
0
null
null
null
null
UTF-8
R
false
true
898
rd
predict.EMglmnet.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/EMglmnet.R \name{predict.EMglmnet} \alias{predict.EMglmnet} \title{Predict New Observations by a Trained Logistic Mixture of Experts Model} \usage{ \method{predict}{EMglmnet}(object, newdata, ...) } \arguments{ \item{object}{An object of clas...
16ecf94d5b9fa3b2ff5c810fcf3d08aeb0a27f00
904fcdd647828aabb08dc7e563dfce0f985947e5
/handling-data-and-time-in-r/solutions/module-2.R
b747188abe8b34b885fa78445efc28ceadd1566b
[]
no_license
stghn/Free-Online-R-Courses
915d554cdb787ceaeb150ffb27a66f5bb52eb339
e604b7319881f13b85f137579b8f6754fcb338ab
refs/heads/master
2023-07-06T11:59:02.450121
2021-08-05T10:19:06
2021-08-05T10:19:06
null
0
0
null
null
null
null
UTF-8
R
false
false
482
r
module-2.R
# using character as.Date('2000-02-29') # using origin and number as.Date(11016, origin = '1970-01-01') # POSIXct as.POSIXct('2000-02-29 08:55:23', tz = 'UTC') # POSIXlt release_v1 <- as.POSIXlt('2000-02-29 08:55:23', tz = "UTC") release_v1$mday # month day release_v1$yday # day of year release_v1$mon # mo...
7961c0ce7183bbc34850c31f8693975cf6c9f360
0a825ed49ce75054592522ddebf9daba82425667
/WisconsinLotter-modelling.R
0e95cc79d9c1b4117dcbea516cbed9eb14ab4806
[]
no_license
savla/ML
7014db5c500b30fe6d852ab23a5b11d5920bda6b
687409effa40d0c02b00394ec29e81f41df1c81f
refs/heads/master
2021-08-30T00:42:15.316629
2017-12-15T12:01:24
2017-12-15T12:01:24
114,365,882
0
0
null
null
null
null
UTF-8
R
false
false
5,541
r
WisconsinLotter-modelling.R
library(corpcor) library(car) library(perturb) library(MASS) library(dummies) setwd("C://Users//Savla-Home//Documents//Manu//PGDDS//Stats//fwdcsvfilesfortommorrow") ## Read the dataset & summarize Data<-read.csv("WiscLottery.csv", header = TRUE) str(Data) attach(Data) summary(Data) ## Step 1: Univariat...
c1904241652adfbab15b3f866a4a3200bdd1748c
ee73739bd3314929cd44aa98b6b364f23e72691f
/man/KendallTau.Rd
d189088deeaca567dda08250b9a374712f7c8d33
[]
no_license
irinagain/mixedCCA
8ee85144bcf7bff615990f244506c37770147d37
4c2b63f754582e57654893e50484c42a0f32cdb4
refs/heads/master
2022-09-23T22:50:00.459426
2022-09-09T21:19:33
2022-09-09T21:19:33
140,593,736
20
9
null
2022-09-09T21:15:52
2018-07-11T15:19:15
R
UTF-8
R
false
true
1,630
rd
KendallTau.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/KendallTau.R \name{KendallTau} \alias{KendallTau} \alias{Kendall_matrix} \title{Kendall's tau correlation} \usage{ KendallTau(x, y) Kendall_matrix(X, Y = NULL) } \arguments{ \item{x}{A numeric vector.} \item{y}{A numeric vector.} \item{X}{...
068b5f97f0558e02bf30ca110c68c96e6b3049e5
16dc4177a9da65fc04a80a34407923b5cc1b382b
/syncTraktLetterboxd.R
9533ca9a7ff77f28d397e4be9a7a229098a06fab
[]
no_license
tomcopple/trakt
db272d444d33206ec0e80cc63e9ee3a112dc700d
225fb26fb746bba8727124c5dab26dd5a21d7adc
refs/heads/master
2023-08-29T21:54:15.584352
2023-08-22T13:34:50
2023-08-22T13:34:50
74,285,803
0
0
null
2017-02-01T18:25:43
2016-11-20T16:03:09
R
UTF-8
R
false
false
2,891
r
syncTraktLetterboxd.R
## Sync trakt and letterboxd? library(tidyverse);library(httr);library(jsonlite);library(lubridate);library(xml2) source('traktShiny/setTrakt.R') # 1. Get Trakt Movie History ---------------------------------------------- traktRawHis <- httr::GET(url = 'https://api.trakt.tv/users/tomcopple/watched/movies', ...
6cfabdda4fa0f088a5bfe96ac7fe3ef746dea726
858280a49963a19e62f75f1f1b705f8234bcdadb
/R/server_using_hdf.R
9a8dd50a08ae59ea143c209f98faf6614e5aa69d
[ "MIT" ]
permissive
gusef/IrisViewer
476f5624645c1b59559d191ec946fbac1c6f16d3
a1df4b8f01184313e512600ffbb440c328f56959
refs/heads/master
2021-09-24T16:19:13.510645
2018-10-11T18:50:23
2018-10-11T18:50:23
105,020,749
0
0
null
null
null
null
UTF-8
R
false
false
12,080
r
server_using_hdf.R
#' Shiny server #' #' Run the Shiny App IrisViewer #' @export server_using_hdf <- function(input, output, session) { options(shiny.maxRequestSize=1000*1024^2) #reactive values values <- reactiveValues(verbose = NULL, current_sample = NULL, from_cell...
2330e8d1e4e01f6eaafc518d5b5ddedfcb3559ed
a5bbcb2b8c60e803c0bc6c5f3b6acd6f76f608cd
/man/bsButtons.Rd
31c85a3bf52fcbbcaaaa1df06fe9a89ae5c559fc
[]
no_license
DataXujing/shinyBS
fdfaf0784b40c3693e43ade945bec22efa411bd1
6bfa2a44b6d05cebd251d7470b039878510fce3d
refs/heads/master
2021-07-05T21:12:42.048441
2015-01-23T15:12:03
2015-01-23T15:12:03
null
0
0
null
null
null
null
UTF-8
R
false
false
5,006
rd
bsButtons.Rd
\name{Button Customizations} \alias{bsButtonGroup} \alias{bsActionButton} \alias{bsButton} \alias{bsButtonGroup} \alias{bsToggleButton} \alias{updateButton} \alias{updateButtonGroup} \title{ Shiny Button Customizations } \description{ Functions for setting and changing the style, size, and state of various butt...
48c06e262b630ddf832042be6a716a30de4e4c6b
d93c4ca934a81dd95d20bbc9b4a6a9dd395369ff
/cachematrix.R
3d7eaea3c3362ac8a9402f0b9546c8d8d808dc0c
[]
no_license
sederry/ProgrammingAssignment2
31f9bec6772a722f7cee1d0405fb4698f5a1aa1a
e9b96ab87e73602635ff7c17ff8cf7d702c45230
refs/heads/master
2021-01-17T14:16:53.507079
2014-07-27T21:17:52
2014-07-27T21:17:52
null
0
0
null
null
null
null
UTF-8
R
false
false
2,322
r
cachematrix.R
##This task is divided by 2 parts. First one (MakeCacheMatrix) is writing the inverse to cache memory and second ##(cachesolve) is looking for it and if it is found it is pulling answer from cache memory. Else it is computed ##and stored in memory makeCacheMatrix <- function(x = matrix()){ # defin...
8ccd7138c24cbaffbe8af4523b32f3ff8f549d53
eb581ac9926e8a7278e693bd3fdf5ba0c1838337
/InClass/InClass_S3.R
812d973adb0a4cbc44ccbc13690ad83cb4cc04ed
[]
no_license
Squirlz/IntroR
a319a961e0a3e0889fb090c3095fe4878ad6035f
32645066c4d1fa97f11bf7bd2865ac49164b808e
refs/heads/master
2021-01-16T20:40:04.096192
2016-06-09T21:51:06
2016-06-09T21:51:06
null
0
0
null
null
null
null
UTF-8
R
false
false
2,152
r
InClass_S3.R
## NOTES ## Setting the levels of a factor ranks <- c("low", "medium", "high") sampleRanks <- sample(ranks, size = 20, replace = TRUE) factor(sampleRanks, levels = c("low", "medium", "high")) sampRank <- factor(sampleRanks, levels = c("high", "medium", "low")) ## converting numeric factors to JUST numeric (tricky) ...
061a4f9a6a063f949e1585550ba096e4bdbd4f51
a7d4e58193c5896f397efb2fdd8c707908e99348
/R/vector_to_number.R
b0c0d476a12de9ebdd70d65f576038ea26574d74
[]
no_license
erwinrmendez/EulerFunctions
165c71d968386b3e5c6bf8da7eafa992670b1fbc
a60c377b45f8c2541adc8e29578409279bb4c1d4
refs/heads/master
2023-07-22T14:15:09.214385
2021-09-02T00:42:08
2021-09-02T00:42:08
196,075,905
0
0
null
null
null
null
UTF-8
R
false
false
413
r
vector_to_number.R
#' Vector to Number #' #' Converts numerical vector to a number, concatenating the numbers in given vector as consecutive digits of the number. #' @param numeric_vector Numerical vector to parse into number. #' @return Number #' @export #' @examples #' vector_to_number(c(1,2,3)) vector_to_number <- function(numeric_ve...
2368c14bde27ce506feecea2001d3faea9a64b30
d03924f56c9f09371d9e381421a2c3ce002eb92c
/man/r-methods.Rd
22f6cb3e0c92f8d5106755a5db99be3d64df6bc6
[]
no_license
cran/distr
0b0396bbd5661eb117ca54026afc801afaf25251
c6565f7fef060f0e7e7a46320a8fef415d35910f
refs/heads/master
2023-05-25T00:55:19.097550
2023-05-08T07:10:06
2023-05-08T07:10:06
17,695,561
0
1
null
null
null
null
UTF-8
R
false
false
555
rd
r-methods.Rd
\name{r-methods} \docType{methods} \alias{r-methods} \alias{r} \alias{r,Distribution-method} \title{ Methods for Function r in Package `distr' } \description{r-methods} \section{Methods}{\describe{ \item{r}{\code{signature(object = "Distribution")}: generates random deviates according to the distributi...
700248a5a6765c4c40cab9ff14c21963db6e4cc2
e56247c094ad626694e2d187930f774362616d2d
/R/common.R
503e40caea6bd5d4d5be978786dfa4636fe05ca1
[]
no_license
pmur002/rdataviewer
2996fc981e84d77f4f205e2a0162bdd25675317a
31459cf81ae9b28a86f9d18e3c0f09b26d46f011
refs/heads/master
2021-01-02T09:15:27.076865
2011-11-29T22:34:55
2011-11-29T22:34:55
32,362,192
1
0
null
null
null
null
UTF-8
R
false
false
438
r
common.R
# Pad the column names with spaces. That way, whenever we # print the data frame, the columns stay the same width. padColNames <- function(names, widths) { unlist(mapply(function(name, width) { nc <- nchar(name) if (nc + 1 < width) { name <- paste(paste(rep(" ", width - nc - 1), collap...
541eb207254e662c324e4f38c7212a49ef38c76d
2195aa79fbd3cf2f048ad5a9ee3a1ef948ff6601
/docs/CreateAccountDialog.rd
6f7b49d8f2ef3edde463dc56da3f1812a3c3c74d
[ "MIT" ]
permissive
snakamura/q3
d3601503df4ebb08f051332a9669cd71dc5256b2
6ab405b61deec8bb3fc0f35057dd880efd96b87f
refs/heads/master
2016-09-02T00:33:43.224628
2014-07-22T23:38:22
2014-07-22T23:38:22
null
0
0
null
null
null
null
UTF-8
R
false
false
3,398
rd
CreateAccountDialog.rd
=begin =[アカウントの作成]ダイアログ ((<アカウントの作成|"IMG:images/CreateAccountDialog.png">)) [OK]を押すと作成したアカウントのプロパティを指定するダイアログが開きます。 +[名前] アカウント名を指定します。 ファイル名として使えない文字は使えません。 +[クラス] アカウントクラスを指定します。選択できるのは、「mail」「news」「rss」のいずれかです。メールアカウントを作成するには「mail」を、ニュースアカウント作成するには「news」を、RSSアカウントを作成するには「rss」を選択します。 +[受信プロ...
38ebac7e46f1efbdd968e0afb9dc90c283f82212
03ba353aaf188e0b34f98de82e8ecb481682f63e
/man/readRice2018.Rd
a5d9d04c2cba93288e03a5c98415ea45f9f3bc50
[ "MIT" ]
permissive
ktoddbrown/RIDS
ef8b5c0bc0d791e54102896a32991fe6d8649e0b
32a2e38c50b1b740a5b6035f7bd36cf36b460c88
refs/heads/master
2022-04-22T19:12:08.703955
2020-04-24T15:31:40
2020-04-24T15:31:40
256,232,822
1
0
null
null
null
null
UTF-8
R
false
true
941
rd
readRice2018.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/readRice2018.R \name{readRice2018} \alias{readRice2018} \title{Read in Rice 2018} \usage{ readRice2018(dataDir = "data/Rice2018") } \arguments{ \item{dataDir}{string that specifies the data directory} } \value{ a list that contains the tabula...
d241d8dd6883433db84e9fde8920a7c2fb0aeba4
375233ef3269f616b1c61af73e951ba1628c624f
/app.R
3594c423dc58473c4888cfa205f7c17bff2d8f49
[]
no_license
ttan27/baseball
2c02eb2164e4451b4c7dfaa8c00c679ba8721e6a
33b7d8da3596f8b3662aa12f8f878a89efd7fd42
refs/heads/master
2020-03-26T04:57:12.467594
2018-08-19T22:47:44
2018-08-19T22:47:44
144,530,490
0
0
null
null
null
null
UTF-8
R
false
false
7,933
r
app.R
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # library(shiny) library(tidyverse) library(shinydashboard) library(rvest) library(DT) source('functions.R') #Defining UI ui <- dashboardPage( dashboardHeader(title = "MLB Dashboard"), dashboardSidebar( ...
fc5bcaaceb158bca44d6082e48080fad1fa40e19
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/GAD/examples/snk.test.Rd.R
46fc338f142753da076fd769667cec69668df109
[]
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
949
r
snk.test.Rd.R
library(GAD) ### Name: snk.test ### Title: Student-Newman-Keuls (SNK) procedure ### Aliases: snk.test ### Keywords: htest ### ** Examples library(GAD) data(rohlf95) CG <- as.fixed(rohlf95$cages) MQ <- as.random(rohlf95$mosquito) model <- lm(wing ~ CG + CG%in%MQ, data = rohlf95) gad(model) ##Check estimates to see ...
36c697d50f9013ce8224576785ddc2254cfb21f0
731140756e9b8dd64767cec86612713d93248824
/MTTTA14/Week5/T7.R
3fc60af85fefb5ceab90fe497a6af22e489ea07f
[]
no_license
TP1997/Some-R-exercises
b1669b93fe7f3d3ac39992d329bb89606bf57ba3
2d2716e32ce6779692f8515e85a751d4e7ce34a7
refs/heads/master
2020-09-30T23:56:00.866562
2020-01-07T19:27:38
2020-01-07T19:27:38
227,403,668
0
0
null
null
null
null
UTF-8
R
false
false
290
r
T7.R
#Tehtävä 7 set.seed(123) gen1=function(n, pis, us, sss){ u=t(pis) %*% us ss=t(pis) %*% sss return(rnorm(n, u, sqrt(ss))) } #Anna tunnusluvut: pis=matrix(c(0.28,0.18,0.54), nrow = 3) us=matrix(c(110,187,229), nrow = 3) sss=matrix(c(354,320,845), nrow = 3) gen1(10, pis, us, sss)
e7e556f8f0126075ffa2532cda316213a49496b6
e565d9aa96dc33f1be329a493f23137bf6ff2d87
/man/add.price.Rd
e06be2843be432660b652c8ef3e68b66c888c4c1
[]
no_license
jdanielnd/tsgen
02803fdb178e851974807fce9a4794fcdc5b10c0
008e34559f1bf124c67aced9becb42ac8b78afee
refs/heads/master
2016-08-05T14:06:06.391571
2012-05-07T01:05:01
2012-05-07T01:05:01
null
0
0
null
null
null
null
UTF-8
R
false
false
1,143
rd
add.price.Rd
\name{add.price} \alias{add.price} \title{ Add price response } \description{ Add price response to the series regarding the parameters } \usage{ add.price(tser, elast, random.price=FALSE, inf.limit=NULL, sup.limit=NULL, p.vec=NULL) } \arguments{ \item{tser}{ time series which price response will be added } \item...
b450e9e82faa059ac6e38a5ec506d2ef34bd1111
0d819c261034e6e5077cfdf861e2ceca8b28292c
/rume_setup.R
b57165714b43b7bd88cd5dfc4ce33ba9ec56326f
[]
no_license
gbizel/debt
8e59b0e99f7babe5c2691e08984ab078f434a744
1bbd67cc1e4e9bdf5247b40dfe73534a8a304184
refs/heads/master
2020-06-23T17:20:21.846613
2016-09-21T09:44:56
2016-09-21T09:44:56
65,899,330
0
0
null
null
null
null
UTF-8
R
false
false
11,069
r
rume_setup.R
# install.packages("sqldf") # install.packages("RODBC") # install.packages("ggplot2") # install.packages("dplyr") install.packages("plyr") # install.packages("data.table") require("data.table") library("Hmisc") # library("RODBC") # library("sqldf") # ? library("dplyr") library("ggplot2") list.files("/Users/gaston...
91e976650a80aab596c933635058be088a9e9a10
6ea8bfe20af75824e219d9520e7fbf8a5b2c4c98
/man/estimate10.Rd
4dad9e0d517fde297548de6e942c1f2907b86702
[]
no_license
mgomez-olmedo/acdr
35f03888e5a14b932b3483255586f712c57a26cd
71b0b4407e36e139776c3dd9010c7b98c7e816d6
refs/heads/master
2020-06-14T00:45:05.420849
2019-07-10T07:41:30
2019-07-10T07:41:30
194,839,717
2
0
null
null
null
null
UTF-8
R
false
true
863
rd
estimate10.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/estimate10.R \name{estimate10} \alias{estimate10} \title{Function that estimates probabilities from a string x It returns a list with the estimations, the sample sizes, and the forgotten samples forg is a vector of rhos. It considers all the ...
4015993252d95920400e4d7524762c8c43c6f565
66f8711bc942a1bc635a6deea253e9a49c718094
/man/docSetComplete.Rd
6b98163b2a3b0e7af5adc0213a43b5f43d0a11d7
[ "MIT" ]
permissive
seanrsilver/novnet
bd179476c48a8dd809757c60488dde7193a4145b
85107cfbbabc68c603134db5b5fc8bbf9219624b
refs/heads/master
2020-06-05T18:20:58.057024
2019-06-18T14:29:45
2019-06-18T14:29:45
192,495,039
0
0
null
null
null
null
UTF-8
R
false
true
561
rd
docSetComplete.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/docSetComplete.R \name{docSetComplete} \alias{docSetComplete} \title{docSetComplete() pulls all files with .txt and Char.csv runs docSetCheck() for all files writes docSetCheck.csv} \usage{ docSetComplete(local = TRUE) } \arguments{ \item{loc...
81a35c0e9ad5cddb59b6a1badb7917297a061fcf
2ead52057ac3a4daf8a583196cab31ea92df5a53
/ch18.R
4aae5d480d4f6ff74e0fa763c4c8ecb0c5cc7b23
[]
no_license
noeldjohnson/r4ds_ch18
e3fbd2cbbaea7880c4b3821570c46425e7b9ba76
3bfdea60174a25a2eedbdcd2fa8ed4465e1a151b
refs/heads/master
2020-06-03T14:30:59.656309
2019-06-13T19:35:59
2019-06-13T19:36:29
191,605,859
0
0
null
null
null
null
UTF-8
R
false
false
6,374
r
ch18.R
# Chapter 18: Model Basics with modelr setwd("/Users/noeljohnson/Dropbox/R Course/Learn_Git/R4ds_ch18") library(tidyverse) library(modelr) library(skimr) library(stargazer) library(jtools) library(viridis) options(na.action = na.warn) head(sim1) skim(sim1) cor(sim1) ggplot(sim1, aes(x, y)) + geom_point() models ...
78a6b7ff0ff3b05c0f2635b236c74dbae0cdda55
5a08e607367a964680b4740a6f64587eb7c7020a
/util/readPathwayFile.R
cd3f01a67613bb50b6b08e983b5508f2ed4e6423
[]
no_license
qiongmeng-m/EpiPsychosis_IGF2
1b409ca334de0bab68f3f7b6822d289a1c647744
82fc709aa8e9406ae138aafe2fb13f79c658d54a
refs/heads/master
2021-10-18T22:00:57.756578
2019-02-14T16:58:56
2019-02-14T16:58:56
null
0
0
null
null
null
null
UTF-8
R
false
false
4,151
r
readPathwayFile.R
#' Parse GMT file and return pathways as list #' #' @details The GMT file format currently supported should match the ones #' found at http://downloads.baderlab.org. The original GMT file format is: #' <set name><set description><member 1><member 2>...<member N>, #' one row per set, with values tab-delimited. #' The ...
15389a3da47fd7f63149d4bdbb1d60614d90bc24
da766092589958390e0bf188c2f37552bfc3e704
/src/plot2.R
9aa59b8d5c6409d059ff863bea5836fff658af6d
[]
no_license
dar7yl/ExploratoryDataAnalysis
0eb69dd30af0329df2acb6fa0927addaf266d5ab
0cf07fe87b8204db037ff81c21a16403a501e29a
refs/heads/master
2020-04-05T23:32:11.497791
2015-02-09T03:53:39
2015-02-09T03:53:39
30,272,504
0
0
null
null
null
null
UTF-8
R
false
false
375
r
plot2.R
png(filename = file.path("figure", "plot2.png"), width = 480, height = 480, units = "px", pointsize = 12, bg = "white", res = NA, family = "", restoreConsole = TRUE, type = c("windows", "cairo", "cairo-png"), antialias="none") with (hpc, plot(DateTime, Global_active_power, type="l", xlab="Date", ylab="Global A...
89b64da19fa71934367bc643b4dd6d4018c5ac94
45a1a5743b7bf53ed0ed68368fbf5650a74a8a9e
/RProblemSet2Solutions.R
1faf2ca52ec651f4c383de150f387c8da901b66f
[]
no_license
matthewyaspan/matttest1
85511b0881ae947d5d474b9a36ff4e9970a9de71
b3e6468c8692b2503ef639775359b4fffb9c3172
refs/heads/master
2020-04-29T00:52:15.450350
2019-03-14T22:52:18
2019-03-14T22:52:18
175,699,988
0
0
null
null
null
null
UTF-8
R
false
false
4,182
r
RProblemSet2Solutions.R
setwd("Downloads/") ## SET THIS TO YOUR WORKING DIRECTORY. THAT DIRECTORY OUGHT TO HAVE `all2001.csv` IN IT!!! library(tidyverse) all.2001 <- read_csv(file.choose()) ### Find descriptions of the fields of events files here: https://www.retrosheet.org/datause.txt all.2001 %>% head() all.2001 %>% View() #############...
6f3bd31978b2dd41c59fa3acefd81b62ad484b4b
b059a52cd2c7573ccd216b23a77b2acb49ee267c
/quaterly_reviews/FY20Q4_USAID_CURR_Trend.R
04e6be641c8de8d6245226a4ec4702e16516674f
[]
no_license
gsarfaty/SA-Scripts
f6b977282b709065ac9ec4f9492e4c9555d42eed
022505bbcd2f3ce41325ea4fb1b2c06285accbcb
refs/heads/main
2023-03-06T23:21:00.973088
2021-02-21T16:20:24
2021-02-21T16:20:24
323,477,541
0
0
null
null
null
null
UTF-8
R
false
false
1,361
r
FY20Q4_USAID_CURR_Trend.R
library(extrafont) library(tidyverse) library(ICPIutilities) library(here) library(glitr) library(scales) library(patchwork) library(formattable) library(gt) # MER df<-read_msd(here("Processed_Files/MSD_genie", "msd_fy17to20_2020-11-17_attributes.txt")) # Data - proxy linkage by metro -----------------------------...
b82130be275b8134c8c0d4d9ef347ecec3f6bb73
9fd54ea5eedf5ac7cae614e579026a4ecde1eaff
/R/cofactor.pca.cor.R
44916d04bad472cbdc491651efb278f4ee170a82
[]
no_license
rachael-kane/GLM2020
04399c88a32ffef947ca35e5ed3b5304e2e212c1
ebb39d2a6a10508206edd8716d673fee664613f1
refs/heads/master
2021-04-07T03:01:16.196184
2020-03-30T20:15:25
2020-03-30T20:15:25
248,638,794
0
0
null
2020-03-20T02:18:36
2020-03-20T01:09:57
R
UTF-8
R
false
false
5,325
r
cofactor.pca.cor.R
#' Correlation between cofactors and principal components. #' #' @description Test for correlations between user-specified cofactors and principal components calculated from genotype data. Automatically remove principal components linearly dependent (correlated) with user-specified cofactors. #' #' @param U A numeric m...
016e235c3692ab48a9d7bb06bfd752dc657e6786
472309e5a7db0def9f4bfba6b45972c3c1c58909
/HW1/BayesLogit/BLR_real_data_fit.R
33cf2e11e427fd4d7fec5705f96278c06f973f07
[ "MIT" ]
permissive
topherconley/Stuff
346a0ef269c525276d97109994ea428514c7c1b4
7340606dbd4175749695739fb9a24cc92b96adbe
refs/heads/master
2021-01-21T05:55:02.943654
2013-12-09T09:22:21
2013-12-09T09:22:21
null
0
0
null
null
null
null
UTF-8
R
false
false
3,998
r
BLR_real_data_fit.R
######################## #working directory & start clean rm(list = ls()) setwd("~/myrepos//sta250/Stuff/HW1/BayesLogit/") ######################## ##################################### #read in #cancer data set #parse it to meaningful #objects in terms of {m, y, X} data <- read.table("breast_cancer.txt", header = T...
084cdf0b7fe67a8b725f56388844fb78b6e18921
a1a8a8ec12e9de8cf2af8a0dbfc6cc849667ebc3
/Lego_Program/test_anime.R
dda398db7d14fad7d3ccc6beda85d0e8577ff5ae
[]
no_license
MathiasPires/Lego
09a673134a17b5fcc7d0c4cb3e8efd2659355d3a
c3780f6c1a99ce303b2d04576303b860de96d232
refs/heads/master
2021-01-25T05:22:13.371971
2015-09-24T19:26:59
2015-09-24T19:26:59
37,341,175
0
0
null
null
null
null
UTF-8
R
false
false
2,261
r
test_anime.R
rm(list=c(ls())) #setwd("/Users/piresmm/git/Lego/Lego_Program/") library(igraph) library(plotrix) library(RColorBrewer) source("R/build_template.R") source("R/test_compatability.R") #sequence <- seq(10,2000,100) #prop_active <- numeric(length(sequence)) sequence <- seq(10,200,10) num_e <- numeric(length(sequence)) av...
0895166939999f930f559bf6d24f7823f57e061b
8866f2576324045f7f57bf02b87433bd3ed34145
/man/generic_recoding.Rd
49fbde995c9b1528c00d56afc46c134b836dc943
[]
no_license
cran/rock
31ba91c6be5bff97c1659b3a8c3e5fbe6644f285
61999cb18c02680719a96b8ec3d0f33010849270
refs/heads/master
2022-12-26T21:02:05.960658
2022-12-13T11:30:02
2022-12-13T11:30:02
236,884,462
0
0
null
null
null
null
UTF-8
R
false
true
2,537
rd
generic_recoding.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generic_recoding.R \name{generic_recoding} \alias{generic_recoding} \title{Generic underlying recoding function} \usage{ generic_recoding( input, codes, func, filenameRegex = ".*", filter = TRUE, output = NULL, outp...
c7e9e367674715166107ac6759cf6cd043a9cb1f
2ec82dd20d0b86e9b37158579ea71495d1e9fb63
/R/adjacencyMatFromDF.R
38ed7f7a6137e89510deb1ec33a3df3f5a792902
[ "MIT" ]
permissive
sverchkov/CommunityInference
92619dfd036c20ec3e9e2d4ce998299fc4212f70
1382351bde3597b01516dfde2cabc1323b75f4e9
refs/heads/master
2020-03-25T16:19:14.212537
2018-08-13T14:40:53
2018-08-13T14:40:53
143,925,184
0
0
MIT
2018-08-07T20:53:43
2018-08-07T20:46:14
null
UTF-8
R
false
false
1,675
r
adjacencyMatFromDF.R
#' Get an adjacency matrix from an edge data frame #' #' Get an adjacency matrix from an edge data frame. #' If no weights are provided all weights are set to 1 #' #' @param edges a data frame with columns a, b, and (optionally) weight #' @param nodes an array of the unique node IDs used in a, b (inferred if not provid...
db96e2133302130d98cd8f8c94731a42a59de2b8
d9588b116a3111fff9a5ba545b51d5307bed2776
/Putting_pebbles.R
f93203da230ab7328fda24f87d38bcec9dec331a
[]
no_license
Loulou-lepou/Beginning_R_programming
c4683a0289e6e08148ce48adfa6d94f1dc099a64
f0fb796263376cb4e6c1e646e1d42be7dcbc1b8e
refs/heads/main
2023-08-29T12:15:04.243050
2023-08-25T05:21:05
2023-08-25T05:21:05
396,885,155
0
0
null
null
null
null
UTF-8
R
false
false
1,140
r
Putting_pebbles.R
# Putting pebbles # E4 : Đặt sỏi, Tin học trẻ quốc gia 2021, vòng sơ loại - Bảng A # https://ucode.vn/contests/tin-hoc-tre-quoc-gia-2021-so-khao-bang-a-replay-16562?u=10682&l=16562 # Initially [Round 0], one puts 2 pebbles at a certain distance d > 0 on a straight line. # Then, [Round 1] one puts another pebble at the ...
ee9c48cc65e64bdc7aca20f17f9673ee436c7303
72e2e29041acafe5ced8f29e72b877cae13ceebd
/R/main.R
48eb94714d5ebdc6436de95335f581f5de8c953e
[ "MIT" ]
permissive
markbaas/sparklyr.aqi
c9e09dd6300575adb52365154450f37d5a155cb1
e8230bb99a5cc6c824b88f554f0c84f83cdf43c6
refs/heads/master
2023-02-19T01:39:58.767822
2021-01-13T19:31:30
2021-01-13T19:31:30
329,406,488
0
0
null
null
null
null
UTF-8
R
false
false
165
r
main.R
#' @import sparklyr #' @export sparklyr_register_aqi <- function(sc) { sparklyr::invoke_static( sc, "sparklyr.aqi.Main", "register", spark_session(sc)) }
a9cf4fe16aa1a76a5f488049c43fee9bde9a8da8
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.machine.learning/man/panorama_describe_device_job.Rd
2bc9566535982e97c65d4990d7c6feb20defed44
[ "Apache-2.0" ]
permissive
paws-r/paws
196d42a2b9aca0e551a51ea5e6f34daca739591b
a689da2aee079391e100060524f6b973130f4e40
refs/heads/main
2023-08-18T00:33:48.538539
2023-08-09T09:31:24
2023-08-09T09:31:24
154,419,943
293
45
NOASSERTION
2023-09-14T15:31:32
2018-10-24T01:28:47
R
UTF-8
R
false
true
491
rd
panorama_describe_device_job.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/panorama_operations.R \name{panorama_describe_device_job} \alias{panorama_describe_device_job} \title{Returns information about a device job} \usage{ panorama_describe_device_job(JobId) } \arguments{ \item{JobId}{[required] The job's ID.} } \...
15a57f860128adced00f410238cbda0c9c73e54a
0c15d0d2204175993afb6489a07322f35bb29efa
/plot2.R
10a476bed5c0b4cb5db65244f59bf3517fa4fdae
[]
no_license
morphocia/ExData_Plotting1
56d629c5b8e1e7cf84e7a34e0d0585d3474bef13
f453a682a06b8d15a560aa34a4bcce55bb477b43
refs/heads/master
2021-01-17T22:22:53.147564
2014-11-08T06:02:31
2014-11-08T06:02:31
null
0
0
null
null
null
null
UTF-8
R
false
false
657
r
plot2.R
data <- read.table("household_power_consumption.txt", sep=";", stringsAsFactors = FALSE, na.strings = "?", comment.char="", header = TRUE, nrows = 69516) data <- subset(data, data$Date == "1/2/2007" | da...
93efefb1e179fd4dbc411ba6b3e2d5173715a59d
e315f9a5a47e987beef4c65a409cc740c1e93afc
/R/daylcalc.R
59e9222d34d1470881dbb6328caf5670195cd8ca
[]
no_license
paleolimbot/EMPOWER
c7585c896f281cd9c50e186bf2e4530db791bb43
f277840e0e70900f615e2c706b42ff2fe6afacd6
refs/heads/master
2021-08-23T14:24:52.090078
2017-12-05T07:09:28
2017-12-05T07:09:28
113,146,310
0
0
null
null
null
null
UTF-8
R
false
false
653
r
daylcalc.R
# ----------------------------------------------------------------------- # # Calculation of day length as function of day of year and latitude # # ----------------------------------------------------------------------- # #' Calculation of day length as function of day of year and latitude #' #' @param jday The...
cc286d9cd5e5d96c4c38e3c241fc0a536dda2490
48e27c4972218672b0590c0d19a53a11c345d073
/gatherCalls.R
5dac00a28a9477bdeaf9507c839a0274eb80d2c0
[]
no_license
drramki-chop/ExomeDepthSGE
f868c819b51008d541c2a1d1d12ba59dd3749770
9201696f33003f11d387aa5d1939ea4813175c0e
refs/heads/master
2020-06-02T17:06:50.872549
2019-06-10T20:35:49
2019-06-10T20:35:49
191,241,371
0
0
null
null
null
null
UTF-8
R
false
false
344
r
gatherCalls.R
library(purrr) library(readr) input <- yaml::read_yaml("input.yaml") cnvFiles <- list.files("./results/",pattern = "*.exomeDepthCalls.txt") calls <- cnvFiles %>% map(~ read_table(file.path("./results/", .))) %>% reduce(rbind) write.table(calls,paste0(as.character(input$cohort.name),".exomeDepthCalls.txt"),row.nam...
e2849bcc36bc23d571218f10644aff28de23965e
82d7ca1ad43104782dcb863530ab409546c54349
/Demand/demand1.R
a0b1643d0217c5ffe92e7f5e1309f26718e32276
[]
no_license
eruscus/freeoj_git
ef291f4695b10ba5b29e076a16269b0db351e4a2
75c20fa5d07077dd3a364f022b116e371a08a053
refs/heads/master
2020-06-15T07:11:05.043629
2016-12-13T03:29:17
2016-12-13T03:29:17
75,315,154
0
0
null
null
null
null
UTF-8
R
false
false
3,043
r
demand1.R
load('ORA.RData') load('POJ.RData') load('FCOJ.RData') load('ROJ.RData') split.region <- function(NAME) { RE = (ORA$Region == NAME) #NEED TO REPLACE ORA BY APPROPRIATE PRODUCT HERE AND ON LINE 5 Per.region = cbind(ORA$Time[RE], ORA$Month[RE], ORA$Week[RE], ORA$Price[RE], ORA$Sales[RE], ORA$Capacity[RE], ORA$Indi...
bf8d8cd0bba7c7222aac7edc75f83d6110f952d1
baf387b232d4e1a2645ef430ae129957efa9e544
/Data Operations in R.R
49c70a141fd04bc4badf82b9afec2a4b3f142fa0
[]
no_license
DiannitaOlipmimi/Skill_Academy
2b207f0aa993868d8d3579c557d8732b55e95fc6
a4d00bba3dcd10d34514c477f237a8dcb56676bf
refs/heads/main
2023-05-28T12:00:53.252374
2021-06-07T02:57:40
2021-06-07T02:57:40
374,363,541
0
0
null
null
null
null
UTF-8
R
false
false
2,189
r
Data Operations in R.R
#membuat data set users=data.frame( names=c("Adi","Budi","Cindi","Dedi"), gender=c("male","male","female","male"), age=c(10,20,30,40) ) #memasukan dataset dataset <- read_csv("Skill Academy/Programming Foundation for DS/Intorduction to R language/dataset_superstore_simple.csv") View(dataset) #operasi tdhp datas...
570cba6a6db503d79fa7e89a42378f19fb224088
925888968dc02f56a97ce3ce2c05e591e7b60828
/reading_material/HW1/hw01_q4_full_solution (1).R
c2a204c8d2261219ea17423eaf74b6605e133b7c
[]
no_license
Rui425/Yale_Faces
5217331f05d944dcb9b01b4b6c237af378a968a4
cdf83bc273847981e6981eb0e9c2c2f0d851fb07
refs/heads/master
2021-01-01T19:00:58.708732
2015-07-15T02:32:52
2015-07-15T02:32:52
38,589,794
0
1
null
null
null
null
UTF-8
R
false
false
3,818
r
hw01_q4_full_solution (1).R
############################# # < Your Name Here > # STAT W4240 # Homework <HW Number> , Problem <Problem Number> # < Homework Due Date > # # The following code loads the eigenfaces data and # performs a set of simple loading and plotting functions ############################# ################# # Setup #############...
b7715fde7ed7eea1af607cebf9a34d236cf64655
59d0ef049e63b38cb5a8b84cad8cd45fcaad8974
/man/proxGrad.Rd
bb19429622666f6babb74a13550c0826b0e3d7b1
[]
no_license
guhjy/lavaPenalty
e6a9452992c34c555e7de8957b34e79b7338fc7f
9bbaaa25517c12b81ad282b0b05b3029f4a8e6f5
refs/heads/master
2020-04-08T14:24:05.235200
2018-02-26T09:43:01
2018-02-26T09:43:01
null
0
0
null
null
null
null
UTF-8
R
false
true
1,100
rd
proxGrad.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Penalty_ISTA.R \name{proxGrad} \alias{proxGrad} \title{Proximal gradient algorithm} \usage{ proxGrad(start, proxOperator, hessian, gradient, objective, control = lava.options()$proxGrad) } \arguments{ \item{start}{initial values for the par...
240c4eec52713d1e6e81824f9e10751e86c2fdd2
36cf5ac1e49e87481abf2cf33af8b7dbec496a0c
/Analise_de_Regressao_Linear_Exercicios_Praticos_2.R
8ab16de0cc7f6f7836171d7dcc9b0e9df6fbc40f
[]
no_license
diego-s-fernandes/materia_mestrado
65d1996ecd8c117b46d8b73b2d43277543fd1dd9
cec33a64564717f058abbde134e93c9fe8de0ec1
refs/heads/master
2020-08-09T22:56:10.072438
2019-10-25T14:26:37
2019-10-25T14:26:37
214,195,112
0
0
null
null
null
null
ISO-8859-1
R
false
false
18,101
r
Analise_de_Regressao_Linear_Exercicios_Praticos_2.R
rm(list=ls()); #---- limpa todo o ambiente de variáveis para a execução do R #install.packages("plyr") #install.packages("caret") #install.packages("leaps") #install.packages("ggplot2") library(plyr); library(caret) library(leaps) library(car); #---- indique aqui o diretorio de trabalho setwd("C:\\Users\\Alexandr...
9dca3bb2def3f47478f371251358d91e2eed36da
b7c9b940bf964a1699517bd939dcd2603f9fbaae
/plot2.R
6943c8c360379b50144369a8004e4dcab1e1832e
[]
no_license
manuagrawal/ExData_Plotting1
98230d4bd10fdf36da65ae6560f26ed3f3190413
6a0c1b024f8018ab2598e542e80814d533a09d89
refs/heads/master
2020-12-07T03:50:32.628440
2015-06-07T01:36:53
2015-06-07T01:36:53
36,996,352
0
0
null
2015-06-06T21:54:21
2015-06-06T21:54:21
null
UTF-8
R
false
false
538
r
plot2.R
library(sqldf) fileName <- "household_power_consumption.txt" rawData<-read.csv.sql(fileName, sep=";", sql="select * from file where Date in ('1/2/2007','2/2/2007')") rawData$Date <-as.Date(rawData$Date,format="%d/%m/%Y") rawData$Time <-strptime(paste(rawData$Date,rawData$Time,sep=" "), format="%Y...
824b8c9ef9a1f0cea86845350ea4c6c692096283
1da626ffc276dddffd4484b800d4fb44eb103c20
/R/colormapMiss.R
c800ac75fa3baf1918bbec96c1859c5d06f09085
[]
no_license
statistikat/VIM
e6d6bb91ddbb6bf02ac3786532e22b5982f04e9e
497b373b2be3522b1143c3ec335c0910fc521dd5
refs/heads/master
2023-07-10T02:22:32.723575
2023-06-21T13:36:33
2023-06-21T13:36:33
12,780,450
62
10
null
2023-08-23T10:59:17
2013-09-12T09:59:16
R
UTF-8
R
false
false
14,564
r
colormapMiss.R
# --------------------------------------- # Author: Andreas Alfons, Bernd Prantner # and Daniel Schopfhauser # Vienna University of Technology # --------------------------------------- #' Colored map with information about missing/imputed values #' #' Colored map in which the proportion or amount of m...
d8d99ac05a50bbca1bbce2ed22e5828ad18b42ff
10c97b033b7d93d500a4dd563234eef128dc43ab
/tests/testthat/www.fleaflicker.com/api/FetchLeagueTransactions-cade24.R
533dc1b11ecaa76dad259edfc54c5589dc890e2f
[ "MIT" ]
permissive
tonyelhabr/ffscrapr
f38e7c87bb65ddbf6e1c9736c16e56944760af46
4e0944da56d8890c441c4abe9c25bc2477a1e388
refs/heads/main
2023-03-10T08:48:01.840281
2020-12-16T06:19:07
2020-12-16T06:19:07
328,791,006
0
0
NOASSERTION
2021-01-11T23:59:24
2021-01-11T21:03:44
null
UTF-8
R
false
false
136,652
r
FetchLeagueTransactions-cade24.R
structure(list( url = "https://www.fleaflicker.com/api/FetchLeagueTransactions?sport=NFL&league_id=206154&team_id=1373475&result_offset=210", status_code = 200L, headers = structure(list( date = "Tue, 24 Nov 2020 01:19:57 GMT", `content-type` = "application/json;charset=utf-8", vary = "accept-encoding", ...
6e36c32624e0cee9d5e4d575796c789e216f0152
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/rucrdtw/examples/ucrdtw_fv.Rd.R
54242e8bca18a82a68c947053d8f910acb4fff74
[]
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
368
r
ucrdtw_fv.Rd.R
library(rucrdtw) ### Name: ucrdtw_fv ### Title: UCR DTW Algorithm file-vector method ### Aliases: ucrdtw_fv ### ** Examples #locate example data file dataf <- system.file("extdata/col_sc.txt", package="rucrdtw") #load example data set data("synthetic_control") #extract first row as query query <- synthetic_control[...
c9379a95db5f8f1bc9880186443aaefbf7cd3037
d1cc80f311dd27b990e81b9cd9503f381b2cc2f7
/R/sp500.R
f4b8c3611b10bb9fbe41c311a11cb6be6116cab6
[]
no_license
yangkedc1984/FinEx
568cf74cb32db9aa693bbdcfdf1c5f12a36736d4
e6e85b6c6a0bc0f505401901bf21e9969ef8b9b3
refs/heads/master
2023-04-19T14:51:21.434676
2021-04-06T17:00:45
2021-04-06T17:00:45
null
0
0
null
null
null
null
UTF-8
R
false
false
684
r
sp500.R
#' Daily returns and 5-minute realized variance for the SP500. #' #' Daily observations from 2000 to 2014 from the Oxford-Man Realized library (Heber et al., 2009). These time series were used in the #' empirical analysis by Bee and Trapin (2018). #' #' @docType data #' #' @usage data(sp500) #' #' @references #' Heber,...
21584c94295f1a59607b70c532816c8dddd09ec0
8154338803dd323819c3956410d8a58fd86314d0
/Scripts/best.R
a9efbfbf0215ea280d929dc2777420271c7d7482
[]
no_license
Ghost-8D/RStudio_repo
4d8289482afa3d8a2bbd3ec149a2635e9177d0ce
5d0a26147803896921db76ce8f041b299d010e41
refs/heads/master
2022-12-05T07:31:30.833346
2020-08-17T12:40:12
2020-08-17T12:40:12
284,327,657
0
0
null
null
null
null
UTF-8
R
false
false
2,718
r
best.R
## The function reads the outcome-of-care-measures.csv file and returns a character ## vector with the name of the hospital that has the best (i.e. lowest) 30-day ## mortality for the specified outcome in that state. ## ## The function takes two arguments: ## - state : the 2-character abbreviated name of a state ##...
d71235ad2104939d9e188d761320d4dfd7e2aabe
c0340c511cff5b40b4681c4d3238d807624c0323
/results/plane/recordBaselinePositions.R
9ce10d6fe25d99f272b6b22d66e35d2f56e3a3cd
[]
no_license
m-hahn/grammar-optim
5fa7ade47d2ad91f517c887ee2c65af24059069d
07a1a80692a504bcafc8120a21c4dc9066b495ee
refs/heads/master
2022-08-30T06:54:42.749264
2022-08-05T12:09:28
2022-08-05T12:09:28
156,456,167
13
2
null
null
null
null
UTF-8
R
false
false
2,865
r
recordBaselinePositions.R
library(lme4) library(tidyr) library(dplyr) library(ggplot2) dataS = read.csv("../../grammars/plane/plane-fixed.tsv", sep="\t") %>% mutate(Model = as.character(Model)) dataS2 = read.csv("../../grammars/plane/plane-fixed-best.tsv", sep="\t") %>% mutate(Model = as.character(Model)) dataS3 = read.csv("../../grammars/plane...
d2a5b0451cf70b50e2375942bca541299146d7d3
240ddc7e67e3a631538813b759a2d1cb5d8cc3d7
/plot4.R
161a6f793a23cff04839ec230aa557c3aa85cc79
[]
no_license
tldc01/ExData_Plotting1
8ebbb462c8a89e20d6b82652f70fe4eb81ec5194
f1f7dc995882fc273e61d6bfbd85ddf5cd1defb0
refs/heads/master
2021-01-12T13:13:47.565620
2016-10-28T17:13:59
2016-10-28T17:13:59
72,157,310
0
0
null
2016-10-27T23:45:24
2016-10-27T23:45:24
null
UTF-8
R
false
false
2,057
r
plot4.R
elecdata<-read.table("household_power_consumption.txt", header = TRUE,colClasses=c(rep("character")), sep = ";" ) #read in the data dim(elecdata) #confirm it's all there! febdata<-elecdata[elecdata$Date=="1/2/2007"|elecdata$Date=="2/2/2007",] #filter just Feb 1 and 2 in 2007 good<-subset(febdata,febdata[,1]!="?" ...
10a40dc70d1d1d509d29995669b7aac4e3b4b5c0
65c734e82dd10541e8d18f8db6cea7f75df540b5
/tests/testthat/test_compose.R
1ffbcc6a662fbcf2b46ea6f4402e65cae76ecdd4
[ "MIT" ]
permissive
Ilia-Kosenkov/primitiveR
d974051be941c516df5aa62dc6ffcb49787df1fb
d61a626a836f9cfc518675f92c360fa6ee3950c0
refs/heads/master
2021-07-20T06:08:53.486692
2021-01-20T03:44:49
2021-01-20T03:44:49
236,519,157
0
0
MIT
2021-01-20T03:44:50
2020-01-27T15:12:55
R
UTF-8
R
false
false
814
r
test_compose.R
context("Composition tests") test_that("%>>% behaves correctly", { (~.x + 1) %>>% (~.x + 2) %>>% identity %>>% (function(x) x + 3) -> f set.seed(1) rnorm(1000, 1, 20) -> x expect_true((x + 6) %===% f(x)) }) test_that("%<<% behaves correctly", { (~.x + 1) %<<% (~...
af2f06df5287f5be26bc3059308d3364de14fd12
b26b28874f761ea2b085db8d60c994af57d99cd5
/man/IsoPlot.Rd
c9de03ec0178c4b47486aee40d7b629b16f53d4a
[]
no_license
mjnueda/maSigPro
de1f90885fafc23b38585bb75aec40aeee9ed89f
000885f3103c02880fb9bd1e69f0c679e08ae580
refs/heads/master
2021-01-22T12:37:54.848463
2020-12-08T17:53:08
2020-12-08T17:53:08
102,353,792
3
0
null
null
null
null
UTF-8
R
false
false
2,195
rd
IsoPlot.Rd
\name{IsoPlot} \alias{IsoPlot} \title{Plotting the isoform profiles of a specific gene by groups} \description{ This function makes a plot with the isoforms of a specific gene splitting the different experimental groups. } \usage{ IsoPlot(get, name, only.sig.iso=FALSE, ylim=NULL, xlab = "Time", ylab = "Expres...
08c7b4cd149cb1f68e4fff82e1ce404603911839
0457cde508c1d7411af4b0f3ad143f2932f6b48a
/man/vt_pal.Rd
884e2dfbcc5edb23df827e31f8677bb74a4f48b2
[]
no_license
bboti86/vtcolors
56978e6341395cf07c7e928d7af4ba992c1e2672
2e6564dd53ec0906c7a12071583bc368016b05bd
refs/heads/main
2023-05-08T10:30:05.068443
2021-05-31T23:36:22
2021-05-31T23:36:22
372,546,878
0
0
null
null
null
null
UTF-8
R
false
true
520
rd
vt_pal.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/VT_Color_Palette.R \name{vt_pal} \alias{vt_pal} \title{Return function to interpolate a VT color palette} \usage{ vt_pal(palette = "primary", reverse = FALSE, ...) } \arguments{ \item{palette}{Character name of palette in vt_palettes} \item{...
a466af08a1549f1fa5c472df1a4fdf57d3be0a89
fcf46fdb7479a9f3df87446a720ca301a72888d5
/slurm_cluster_code/power_simu_general_ttest_12.R
aba11788b93efa2a96c1dd373f4a6195b8be83b3
[]
no_license
devcao/LOCOpath_repo
b080ac685f04f0f22f88c5667293e2e73a797045
2c6b0b5553e9298e6c30cf3bfe25348e31625088
refs/heads/master
2022-12-28T19:35:24.549883
2020-10-19T02:53:55
2020-10-19T02:53:55
null
0
0
null
null
null
null
UTF-8
R
false
false
2,998
r
power_simu_general_ttest_12.R
.libPaths(new="~/R") rm(list=ls()) setwd("~/hdi_simu") require(multcomp) source("~/hdi_simu/compare_power.R") ####################################################################################################################################### # Set simulation parameters (to be done with command-line arguments) ...
db3383eb56468676ce98de7d227e48fe453dc09b
335079b2323f11a029f189ce2e5f672ec014925d
/man/search_design.Rd
19f1a4c394dedbd968620ed370276bfd47a414d8
[ "MIT" ]
permissive
JedStephens/ExpertChoice
930aa5d9763a1300d7ecc6cafc15774677968ede
dda9602c4ce5321f04c1ef05cbebed4ab1b2059b
refs/heads/master
2020-05-20T21:51:44.290974
2020-04-07T17:18:11
2020-04-07T17:18:11
185,771,415
14
2
null
null
null
null
UTF-8
R
false
true
1,732
rd
search_design.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/search_design.R \name{search_design} \alias{search_design} \title{Search Full Factorial for Fractional Factorial Design} \usage{ search_design(full_factorial, fractional_factorial_design) } \arguments{ \item{full_factorial}{a `data.table` gen...
097440856094068913b38fad2086a90c6d3573a7
6e4c33dd536eff09c15eb88b8b6e85e2f9df373f
/LY354740_Rat/LY354740_Stats/scripts/figures/Fig2.R
a7af2f8289979d3586fd838acabd43ea530e7738
[]
no_license
MariosPanayi/Marios-temp
e9a4cf6d2764d9ea815a6ca173ef154b86b3fd45
4dc67ef4fdfa7d08f298e3582bf6ee21c365ecc4
refs/heads/master
2023-03-09T12:27:07.457077
2023-02-24T22:24:19
2023-02-24T22:24:19
109,297,687
0
0
null
null
null
null
UTF-8
R
false
false
17,601
r
Fig2.R
## Packages for data organisation and plotting library(tidyverse) # Package for relative file paths library(here) # library(ggpubr) library(cowplot) library(ggsignif) library(patchwork) library(RColorBrewer) ################################################################################ ## Packages for Data analysis l...
9ec38cf7e26a30de2d80770dac1931219957a597
43dbb0b85d72c75f262a87ef80865a16f54e75d8
/graficas.R
f49c5da0b70e759432adc909f367921ea9a02e40
[]
no_license
alfcar9/proy_SOA
0880033ff137986f05c285730f451e257020c2c6
3146fa06b4dff0c3e098be254ccf2ddf6eb87319
refs/heads/master
2021-07-19T20:53:46.888396
2017-10-28T02:02:19
2017-10-28T02:02:19
107,810,114
0
0
null
null
null
null
UTF-8
R
false
false
3,920
r
graficas.R
setwd("~/Desktop/1er_Semestre/Sistemas Opera/Proy_SOA") library(tidyverse) datos <- read_csv("~/Desktop/1er_Semestre/Sistemas Opera/Proy_SOA/datos2.csv") #datos <- read_delim("~/Desktop/1er_Semestre/Sistemas Opera/Proy_SOA/datos.csv", "\t", escape_double = FALSE, trim_ws = TRUE) #datos <- read_delim("~/Desktop/1er_Se...
a0186397c35a850020acb2711af0bc46274428e4
ab48b43cac52dcc402d41e2bccabb8b343ddc7de
/bin/runVision
32bf35bb914ade7d1704fd865f0a51d961630a97
[]
no_license
deto/dotfiles
06acbf6d92821102424bb2fd834fc64a4b757dac
43d0a0c57890ccda0673bdf7a9d117a033a00a71
refs/heads/master
2023-08-04T13:47:18.590876
2020-03-07T01:30:29
2020-03-07T01:30:29
41,401,958
0
1
null
null
null
null
UTF-8
R
false
false
331
runVision
#!/usr/bin/env Rscript Sys.setenv(DISPLAY="") library(VISION) args <- commandArgs(TRUE) filename <- args[1] port <- strtoi(args[2]) if (length(args) > 2){ name <- args[3] } else { name <- NULL } vis <- readRDS(filename) options(mc.cores=10) viewResults(vis, host = "0.0.0.0", port = port, browser = FALSE, ...
9fd42ace596853aaf588283b14dae002bdc09edd
124ce63e1fbb922ed991c792a7eabee4fa4276cb
/Importação de dados.md
81e94b84a949223c8eefbe53c0276f091130c107
[]
no_license
analise-viz-dados-1sem-2020/hw99-analise-viz-dados-grupo02
38d1902fb893b70700ab02038b97d603f77aab93
c3a3123bc0c68800f7a55b13a9c4935bafae6f3c
refs/heads/master
2022-12-04T11:31:04.192033
2020-08-06T23:04:21
2020-08-06T23:04:21
277,394,971
0
0
null
null
null
null
UTF-8
R
false
false
113
md
Importação de dados.md
library(readr) TarifaMediaFornecimento <- read_csv("TarifaMediaFornecimento.csv") View(TarifaMediaFornecimento)
3d4ce9c3841778fecf075d162ab45bb55d1df24b
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/Ryacas0/man/getSyms.Rd
1edec0d43ece67999b58b7d7dabd6ce13a94f417
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
true
489
rd
getSyms.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Sym2.R \name{getSyms} \alias{getSyms} \title{List \code{Sym()} objects} \usage{ getSyms(all.names = FALSE) } \arguments{ \item{all.names}{a logical value. If \code{TRUE}, all object names are returned. If \code{FALSE}, names which begin with ...
50c543d8b33588e7ff0f466d2568f7fef5cc0d28
f020db9cb67886a11c1b8721b04af1ba22136ed5
/tests/testthat/test-repos.R
fab2775b7cd9bbde1f1db233312aea3abdb59230
[]
no_license
slopp/renv
2b5ac42ae89682f6cdb022221b53530679484982
fd88fbe2d95a0f417a7fae4f188acdeb99691798
refs/heads/master
2020-04-20T22:14:33.890121
2019-07-04T06:53:31
2019-07-04T06:53:31
169,133,285
2
1
null
null
null
null
UTF-8
R
false
false
243
r
test-repos.R
context("Repositories") test_that("we can query our local repository during tests", { expected <- list.files("packages") renv_tests_scope() ap <- renv_available_packages(type = "source")[[1]] expect_setequal(ap$Package, expected) })
284a1111f3a1a33ec954cac52372d2c34487e673
f54619014ace99deda9818b0fca9e72ce5a807e8
/cachematrix.R
311b0eeef2b9372039a08cbece294bf83561ae38
[]
no_license
mathurabhay/ProgrammingAssignment2
8940da1673142504cbe539623249fdf2bfaec22d
09914493969061fc099b30ee1f2221c472c2bdb9
refs/heads/master
2020-12-24T13:27:55.601715
2014-08-24T07:59:15
2014-08-24T07:59:15
null
0
0
null
null
null
null
UTF-8
R
false
false
1,448
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## This function will creates an R-Object having four functions; ## 1.set vector ## 2.get vector ## 3.set mean ## 4.get mean ## Purpose of having this fucntion is to store the vector and...
5cbae83e7077a10c474bc42247ff10708414db14
09c8652e27a002177042556c2be2b24654d949b0
/exp. 4 4 cause (3 ratings)/exp_3_four_cause.R
015144de906289b127e8f19589879b2c834fe2f7
[]
no_license
dtbenton/backwards_block_submission
c2347e0364447d203080db2766f321a118f0c6cd
786c9c0bd8ede7d4b0c7ed26600addc8e2582abe
refs/heads/master
2022-02-17T11:00:30.636309
2019-09-11T21:01:54
2019-09-11T21:01:54
146,052,115
0
0
null
null
null
null
UTF-8
R
false
false
28,492
r
exp_3_four_cause.R
######################################################## ######################################################## ######################################################## ############# ############# ############# EXPERIMENT 4 SCRIPT ############# ############# ...
da4c9463aff382c2ea310c205b0769b34c2cdc48
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/clusterGeneration/examples/simClustDesign.Rd.R
40e677f56bfc522a34700ee91676b66448e6ef8f
[]
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
496
r
simClustDesign.Rd.R
library(clusterGeneration) ### Name: simClustDesign ### Title: DESIGN FOR RANDOM CLUSTER GENERATION WITH SPECIFIED DEGREE OF ### SEPARATION ### Aliases: simClustDesign ### Keywords: cluster ### ** Examples ## Not run: ##D tmp<-simClustDesign(numClust=3, ##D sepVal=c(0.01,0.21), ##D ...
17905f69197d7c10694630dcaecb3bbcb5906099
10ce9ea816c88d34c0e66b955d5f039fc6617ed9
/run_analysis.R
dae20b75729395e7dc04eb990ec7117d60fff100
[]
no_license
rabeekraja/ProgrammingAssignment4
4a7c05beb110e33b3453d0be43015b2a07fd5f9e
06b75866851ec02047790ce549d11b933f5fa7a8
refs/heads/master
2020-09-07T11:26:31.856985
2019-11-11T14:54:38
2019-11-11T14:54:38
220,764,533
0
0
null
null
null
null
UTF-8
R
false
false
4,874
r
run_analysis.R
#This R script does following steps #Step #1:Merges the training and the test sets to create one data set. #Step #2:Extracts only the measurements on the mean and standard deviation for each measurement. # Step #3:Appropriately labels the data set with descriptive variable names. #Step #4 :Uses descriptive activity ...
a2342193ac985e1e285af17cef66265a73727dd8
ae64c28434067ca6fc976998b1e995546810a7d8
/microbenchmarks/att/determinant.R
5a37be73654c949b18260daee9f846a061670d6b
[]
no_license
bedatadriven/renjin-benchmarks
285b54e4a292a902b2277e39ad4d69c3db9dff1c
d3a3ebddb0e375eaf7fa3960eae6b1efd39bf1da
refs/heads/master
2021-04-12T04:24:36.559310
2018-08-23T14:12:03
2018-08-23T14:12:03
31,985,741
2
0
null
null
null
null
UTF-8
R
false
false
89
r
determinant.R
a <- rnorm(2500*2500) dim(a) <- c(2500, 2500) run <- function() { b <- det(a) b }
7142faafd4228ed7e335e8edf456a89a9b4f5686
43a688d2c8f4fa45ac8569f48e94cc1213ddebe5
/R/CheckRho.R
7f0be9dde3be68eeaae6816b51f6763619dd85e3
[]
no_license
cran/MaskJointDensity
a0c5316667697e7f5b79b9a6820c160f5f202db0
929b9710f19e2552d6a7e629a27cf3b85e5bffa2
refs/heads/master
2020-03-18T06:41:41.441830
2018-05-22T11:13:25
2018-05-22T11:13:25
134,410,302
0
0
null
null
null
null
UTF-8
R
false
false
662
r
CheckRho.R
CheckRho <- function(x1,x2, mu1,mu2,s1,s2, Srho12, G_Point7,GH_Quadrature ){#x1 is a sample from population1 # and x2 is a sample from population2. They are used to # create kernel density functions. fhat1<-ks::kde(x=x1,binned=TRUE) fhat2<-ks::kde(x=x2, binned=TRUE) #Uphi_1<-pnorm(G_point7) ...
11bc28de18d768bbb2a430d98dfebc59f08c483f
69fd7ecf68a14529ad4f282cbafaf6a53564f3a3
/ErdemSert.R
21e8a2a72a21d33fe4455982824602985b8c5e7b
[]
no_license
erdemsert/Applied-Data-Analysis-Lab-Project
e380a5ce41e393a0b673025098ecb24163c1b883
f147136720b9ce373e6f67aeb5a8ed7063a654a2
refs/heads/main
2023-02-03T13:52:27.132488
2020-12-14T08:51:45
2020-12-14T08:51:45
321,287,241
0
0
null
null
null
null
UTF-8
R
false
false
3,563
r
ErdemSert.R
dataset <- read.csv("Life_expectancy_dataset.csv") head(dataset) sum(is.na(dataset)) library(ggplot2) library(dplyr) #First Graph #This graph shows the Overall Life Expectancy by looking at each continent and using mutate function to find the result SortedWithContinent <- dataset %>% group_by(Continent)%>% ...
263eb406f10251dc91f64202a0066c279b7b26cb
0a9c82670288e18cf0ddf47a70eb84650dccc7d7
/Elongation_Rate_Shiny.R
2040d2a1c3e32fbd188a757c2f8ba824b30ffc3f
[]
no_license
sheridar/Elongation_Rate_Shiny
a5e3c361ef962a5b359d2c3cca835c0014ea17c5
5aafedc0b1c75baf94cae07a260119342cd3bf0f
refs/heads/master
2020-03-17T02:01:20.706666
2019-02-11T23:47:15
2019-02-11T23:47:15
133,175,240
0
0
null
null
null
null
UTF-8
R
false
false
33,939
r
Elongation_Rate_Shiny.R
# Install required packages ---- req_packages <- c( "depmixS4", "DT", "shiny", "tidyverse", "magrittr", "rlang" ) avail_packages <- installed.packages()[, "Package"] missing_packages <- req_packages[ !(req_packages %in% avail_packages) ] if (length(missing_packages)) { install.packages(missing_packages) } ...
cfb1164183ea41a37e29cb240c9b2e48895a18cb
a2539afceaadf3ef919d22f05381254c9ea3ce20
/man/genus.Rd
5723f7f416785241336607cf203a81d181a798c9
[]
no_license
cstubben/genomes
a9e3e47907738e973c132c47e830cfed571202d6
d0bf9f999931aa17926d90bdee569746f17160e8
refs/heads/master
2021-01-22T02:42:56.916047
2018-09-18T21:10:32
2018-09-18T21:10:32
9,374,826
1
0
null
null
null
null
UTF-8
R
false
false
467
rd
genus.Rd
\name{genus} \alias{genus} \title{ Extract the genus name } \description{ Extracts the genus name from a scientific name } \usage{ genus(x) } \arguments{ \item{x}{ A vector of scientific names } } \details{ Removes single quotes, brackets and candidate qualifiers. } \value{ A vector of genus names } %\references...
22831b1479e781948d24ee4fa25f8420ca492a55
516b6af59e9445054ce5d25ad9f9e50401f34330
/plot2.R
df2c55a52ef8512dedb4d92201bead7085ad916c
[]
no_license
BuffaloFan32/ExData_Plotting1
cf45fdea853650ba77e172fdb9890c933e93c52a
248b74577e9dbe1a4f1cfd55e4b60c7db2b36134
refs/heads/master
2020-12-03T09:46:50.945570
2020-01-01T23:06:48
2020-01-01T23:06:48
231,271,800
0
0
null
2020-01-01T22:42:23
2020-01-01T22:42:23
null
UTF-8
R
false
false
1,195
r
plot2.R
library(lubridate) #Clear variables rm(list = ls()) #Download and unzip files urll<-"https://archive.ics.uci.edu/ml/machine-learning-databases/00235/household_power_consumption.zip" destfile<-paste0(getwd(),"/","exploratoryweek1.zip") download.file(urll,destfile) unzip("exploratoryweek1.zip",exdir = getwd(), list = F...
4b9a9470367595050e6d59f55974f105dbfd7a1a
a5d1975f45ed63de4f6ed733823d1b13fbc6755e
/Rpackage/test/groupTest.R
a052ec66e53c52180eb1ccdaa47a33411955eeaf
[ "MIT" ]
permissive
xieguigang/visualbasic.R
ce865f314cfca04e556cfc48fa0b50a2ec2c126a
d91613a72f722616ec342873b8acfb2d6fd2b7f2
refs/heads/master
2022-02-27T17:08:53.160878
2022-02-07T05:30:30
2022-02-07T05:30:30
81,850,763
0
0
null
2018-06-26T02:34:49
2017-02-13T17:17:08
R
UTF-8
R
false
false
1,194
r
groupTest.R
#Region "Microsoft.ROpen::5ca1a99c8058f7104427612ea8aad09d, test\groupTest.R" # Summaries: # mz.grouping <- function(mz, assert) {... #End Region seq <- runif(100000, min=0, max=100); assert <- function(x , y) abs(x - y) <= 0.3; print( system.time({ print( numeric.group(seq, assert)[[1]]); })); #' @p...
fd730c09655ba6b7c35b64992344d79131ca1169
2e627e0abf7f01c48fddc9f7aaf46183574541df
/PBStools/man/dtget.Rd
4b73c5bb57414911bc358ed44b54a1eadc506760
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
pbs-software/pbs-tools
30b245fd4d3fb20d67ba243bc6614dc38bc03af7
2110992d3b760a2995aa7ce0c36fcf938a3d2f4e
refs/heads/master
2023-07-20T04:24:53.315152
2023-07-06T17:33:01
2023-07-06T17:33:01
37,491,664
0
1
null
null
null
null
UTF-8
R
false
false
2,160
rd
dtget.Rd
\name{dtget} \alias{dtget} \alias{dtcall} \alias{dtprint} \alias{dtput} \alias{dlisp} \title{ Get/Print Objects From or Put Objects Into Temporary Work Environment for PBSdata } \description{ These functions are wrappers to the PBSmodelling accessor functions that get/print objects from or put objects ...
9c72e07fabd84a6b4292cbbccfe525ec25931ec0
2099a2b0f63f250e09f7cd7350ca45d212e2d364
/DUC-Dataset/Summary_m200_R/D117.M.200.html.R
e7be6af994b94753fb41bcf92e4581cc2ed9fd2b
[]
no_license
Angela7126/SLNSumEval
3548301645264f9656b67dc807aec93b636778ef
b9e7157a735555861d2baf6c182e807e732a9dd6
refs/heads/master
2023-04-20T06:41:01.728968
2021-05-12T03:40:11
2021-05-12T03:40:11
366,429,744
3
0
null
null
null
null
UTF-8
R
false
false
1,578
r
D117.M.200.html.R
<html> <head> <meta name="TextLength" content="SENT_NUM:12, WORD_NUM:187"> </head> <body bgcolor="white"> <a href="#0" id="0">'Moon Tiger': A Dark Horse Takes the Booker.</a> <a href="#1" id="1">They were chosen from a list of 113 books published in the United Kingdom in 1989.</a> <a href="#2" id="2">_ ``Restoration,''...
d513907cc6dcf16b29150a523bd59d6afbffabfb
fed4409da9801ce1ca986b1814631acb6c8c8aed
/splitdoor/man/breakup_est_by_treatment_group.Rd
ad87b22c0eaf7396a989f5a2d3af521b7f6ab8f9
[ "MIT" ]
permissive
amit-sharma/splitdoor-causal-criterion
6b7684b9f752b77aaa3844311d336603249d4421
28e22817023e51b4c91205ef4519b4cbd62bf9b6
refs/heads/master
2021-01-12T05:02:54.684611
2019-12-16T01:08:31
2019-12-16T01:08:31
77,838,086
15
5
MIT
2019-12-16T01:08:32
2017-01-02T14:12:40
R
UTF-8
R
false
true
712
rd
breakup_est_by_treatment_group.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aggregate_causal_estimates.R \name{breakup_est_by_treatment_group} \alias{breakup_est_by_treatment_group} \title{Aggregates estimates for (time-period, treatment) pairs over treatment groups. Useful when treatments can be classified in a ...
58147dbaae29177b1e0267307738908b8b270c55
06236b8badc177928591179402d03b2e754c9239
/R Stuff/BasicOperationsOfADataFrame.R
d566cb3fbb67f67274b60728465d6b6941bf8b04
[]
no_license
brett-davi5/R-Studio-and-GGPlotMap
0662ff1ae9de7b20c1cf97ca4f1bc7dd91cf5b57
5669795e27c6a86eac6b7fd1f642f144aeffc081
refs/heads/master
2021-01-22T22:28:08.616091
2017-05-29T21:13:49
2017-05-29T21:13:49
92,775,776
0
0
null
null
null
null
UTF-8
R
false
false
595
r
BasicOperationsOfADataFrame.R
#Basic Operations of a Data Frame stats[1:10,] #look at the data of the first 10 rows #this is subsetting stats[3:9,] stats[c(4, 100),] #Remember how the square brackets work stats[1,] #return first row is.data.frame(stats[1,]) #no need for drop=F stats[,1] #not a data frame is.data.frame(stats[,1]) sta...
1427b2f7b09564381e99d51623c290a21f9bdb91
42deb94948bd04300274d517aa8e3033c8dd3df2
/R/plotMS.R
e384442779022d74d12a3817673a49f3781b78cf
[]
no_license
cran/pedometrics
fe0940a0af6ceb02f9910d955ce6af72da94a5dc
7329722f174c88e86620b21a81c1affc0e42b93f
refs/heads/master
2022-07-03T13:49:28.737562
2022-06-19T05:10:02
2022-06-19T05:10:02
22,748,555
1
0
null
null
null
null
UTF-8
R
false
false
16,049
r
plotMS.R
#' Model series plot #' #' @description #' Produce a graphical output to examine the effect of using different model specifications (design) #' on the predictive performance of these models (a model series). Devised to access the results of #' [pedometrics::buildModelSeries()] and [pedometrics::statsMS()], but can be...
e206610f6916ea470c6afdb351756f9ebb2ce388
89b074cdd8067f899a2a1179d487aeb52468e964
/man/hiervis.Rd
a3f6203f1a0e9b25702d20bbc4343c49324bcd56
[]
no_license
willCode2Surf/hiervis
417beea08bf0d1a38d125539f0a5ea33378f0bc7
12fda7dc13df83c7d0dc708e8752e5423bdf015b
refs/heads/master
2020-05-21T01:58:58.187010
2019-01-17T05:20:46
2019-01-17T05:20:46
null
0
0
null
null
null
null
UTF-8
R
false
true
2,262
rd
hiervis.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hiervis.R \name{hiervis} \alias{hiervis} \title{Create a hierarchical visualization from tabular data and data.frames} \usage{ hiervis(data, vis = NULL, width = NULL, height = NULL, elementId = NULL, nameField = "name", valueField = "value"...
94f65a5741d71b76faae66954367099db82746e3
4d190962d6358fa2980fb7cfc32b9d488b1371d5
/T-test and corresponding p-value - Complete dataset.R
909a8f9919bd8818a31bda7f0701424a09c81e8c
[]
no_license
bcsdevries/Research-Major-Osteoporotic-Fracture-Risk-calculator
97726a72b7c410b3ec5327fa9c419360390a9a90
2d187d2ca8a1b30d60d701bdcd24f9946e1430b8
refs/heads/master
2022-04-14T20:32:22.785733
2020-04-15T09:43:46
2020-04-15T09:43:46
255,870,758
2
0
null
null
null
null
UTF-8
R
false
false
1,338
r
T-test and corresponding p-value - Complete dataset.R
# T-test and corresponding p-values for ANOVA plot t.test2 <- function(m1,m2,s1,s2,n1,n2,m0=0,equal.variance=FALSE) { if( equal.variance==FALSE ) { se <- sqrt( (s1^2/n1) + (s2^2/n2) ) # welch-satterthwaite df df <- ( (s1^2/n1 + s2^2/n2)^2 )/( (s1^2/n1)^2/(n1-1) + (s2^2/n2)^2/(n2-1) ) } else ...
89ba611214649ba9f7a159f3164254ef7bcfc8bd
b0401403a3259ce2bf43a0d17fdbbf91b9a48c0a
/R/plot_scale.R
bec7d3e15df24b3dd2cc9ea069a1fc9586376daa
[]
no_license
cran/terra
e619f8d942189daef2f8436d14bdcbe6c89a6d79
e3ea767455d46d961fc82c8fcb3aef424c9ecad7
refs/heads/master
2023-06-23T13:05:17.593647
2023-06-23T10:20:02
2023-06-23T11:21:46
248,760,535
0
0
null
null
null
null
UTF-8
R
false
false
9,033
r
plot_scale.R
..assume_lonlat <- function(pr) { (pr$usr[1] > -300) && (pr$usr[2] < 300) && (pr$yaxp[1] > -200) && (pr$yaxp[2] < 200) } .get_dd <- function(pr, lonlat, d=NULL) { if (lonlat) { lat <- mean(pr$usr[3:4]) if (is.null(d)) { dx <- (pr$usr[2] - pr$usr[1]) / 6 d <- as.vector(distance(cbind(0, lat), cbi...
6171e6ff55ebec54c401049513af8330eea74f47
160d17e91f168f19d41fdbda99e58ed42467e2f5
/Package/R/sfc.getIndex.R
7946d1fb79f114fb224f84b7d83c4b5149484d78
[ "MIT" ]
permissive
andersonjames492/PKSFC
fa981c0d4bd3d4ef4d96b4297b8fe9f31f956532
c32ef687dddd1f3b4c8d9d2f66bd00ca1aa95395
refs/heads/master
2023-03-20T18:45:34.882228
2020-03-15T14:37:10
2020-03-15T14:37:10
null
0
0
null
null
null
null
UTF-8
R
false
false
918
r
sfc.getIndex.R
#' Find index. #' #' Find the indexs for sfc object inputs. #' #' @param model an sfc object. #' @param var the variable that you want the index for, if applicable. #' @param eq the equation that you want the index for, if applicable. #' @param end the endogenous variable that you want the index for, if applicable. #...
62917a40e67ea37dc18081aaa3bf886ffad34b6a
4f3e2e15b00b160f9290300e3a03b17d5fc436ef
/man/plot.PriorGen.Rd
65999686c2188d93f34fc1056903f29b6f233884
[]
no_license
cran/PriorGen
e5f6b11677647ce4d805359ac2b944fd3f3500fd
8dd3418fdd7f7b134bdef02a650825b7bda6e571
refs/heads/master
2023-04-16T10:42:57.628562
2023-04-03T09:50:11
2023-04-03T09:50:11
135,155,295
0
1
null
null
null
null
UTF-8
R
false
true
1,130
rd
plot.PriorGen.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/findbeta_plot.R \name{plot.PriorGen} \alias{plot.PriorGen} \title{The findbeta plot function} \usage{ \method{plot}{PriorGen}(x, ...) } \arguments{ \item{x}{An object of type findbeta produces of one of the other PriorGen functions.} \item{....
367e4818bc37e71b54617b9d2fbc39b2b3acc491
e08c4bfb8fbae97a7dc1f278ebc0db5ee3fcb5a1
/man/NeoRun_data.Rd
49b69bf2625a183286d8c282cb69fae6f79861d2
[]
no_license
419kfj/EpsonView
2dea2540dfc60b6f22160b6079cbd687f436ebd7
5769bf2e2b609e195923ee2a91e94c6844f9baf0
refs/heads/master
2023-07-18T07:54:55.810541
2021-09-06T04:56:42
2021-09-06T04:56:42
278,850,960
0
0
null
null
null
null
UTF-8
R
false
true
354
rd
NeoRun_data.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NeoRun.R \name{NeoRun_data} \alias{NeoRun_data} \title{Convert backup data to dataframe list.} \usage{ NeoRun_data(fname, runmemo = NULL) } \arguments{ \item{fname}{CSV file name} \item{runmemo}{memo to add dataframe} } \description{ Convert...
2f31f3128977f2cc90ae46df2f6ad33d8fa30ddf
27764bf8769ba3d9fe3d0da4af3f5c3215bfe2d5
/server.R
6cc6f29c0c52a7b49aaeee3374dab6f062529146
[]
no_license
patterd2/shiny-server
5ebecb3951ac4fae30663052ce8e151e24ad897b
50e7646f1037b6a70c6ccdf2b61d0abc9c5d4c4a
refs/heads/master
2021-01-10T05:26:59.815070
2020-03-20T15:22:10
2020-03-20T15:22:10
43,453,401
0
0
null
2020-03-20T15:22:11
2015-09-30T19:12:55
null
UTF-8
R
false
false
18,710
r
server.R
library(shiny) library(wordcloud) library(stringr) library(knitr) library(selectr) library(data.table) library(RCurl) library(RJSONIO) library(plyr) require(ggplot2) library(sp) library(tm) library(quanteda) library(NLP) library(devtools) dev_mode(on=TRUE) library(gender) library(jsonlite) library(scales) #############...
ec5a98a27cf7db7e03e987a761a2bda339ce3633
67e5a48ce8f6641d2d76c850b946035a5ab6c86a
/tests/testthat/test-NAs.R
4ae7d37f2d9b803789a4acded92b7dc354d8db94
[]
no_license
cran/scModels
71aa7a1048a256887a7ca6e4730d9177c0e591ed
ba14d424c697de7a21f22f10407afbab9c5aaf7d
refs/heads/master
2023-01-28T18:45:54.758065
2023-01-24T07:20:02
2023-01-24T07:20:02
205,960,963
1
0
null
null
null
null
UTF-8
R
false
false
926
r
test-NAs.R
test_that("NA parameters in density function", { expect_true(is.na(dpb(NA, 5, 3, 20))) expect_true(is.na(dpb(1, NA, 3, 20))) expect_true(is.na(dpb(1, 5, NA, 20))) expect_true(is.na(dpb(1, 5, 3, NA))) }) test_that("NA parameters in distribution function", { expect_true(is.na(ppb(NA, 5, 3, 20))) e...
7ba4cc8fa0b4bf2e0c5fbb16b5b49e58b1204a8b
490a085d04a2174222c54a3b4664fccb23dc4a3d
/R/functions.R
b8f1cc9f1bd39bf1af8d30bc1b48947a7a33306b
[]
no_license
sdechaumet/ramopls
648cefd02f4bd8303e0198110e628edfbb633a90
9bcaf7d7a79ca8ffd083e8f59f7bba39a3f8c4ba
refs/heads/master
2023-07-09T16:54:12.587969
2021-01-23T13:59:40
2021-01-23T13:59:40
332,223,156
3
1
null
null
null
null
UTF-8
R
false
false
82,312
r
functions.R
utils::globalVariables(c(".")) .onAttach <- function(libname, pkgname) { packageStartupMessage( paste0( "To use this package, kopls functionalities must be installed.\n", "Please install `kopls` by one of the following method:\n", " - Use the internal function: `rAMOPLS::install_kop...
ad2c91d09f02e279c0675ad1e51df4cf9a888f5b
27138259677acb2efd76acb001d69abdc1437f6d
/exdata/ExData_Plotting2/project2.R
4b71e34a8b52f873ba53db82620fe0fb220fd6ca
[]
no_license
wangwf/datasciencecoursera
84c79110fae7b66ab9c95d0194b3691f093a3729
9e45325718b4ef4a20de73b3f141137025842122
refs/heads/master
2016-09-05T08:49:32.978612
2015-02-28T00:55:17
2015-02-28T00:55:17
18,976,279
0
0
null
null
null
null
UTF-8
R
false
false
4,780
r
project2.R
downloadFiles<-function( dataURL="https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" ){ if(!file.exists("./data/Source_Classification_Code.rds")){ dir.create("./data") temp <-tempfile() download.file(dataURL, temp, method="curl") unzip(temp,exdir="./data/") ...
c65327e08e09617b0f7e454dbb7eef6b3aeb3803
43b23a49d0cd9b9f2badaeea1680dd3d704ab9b8
/Model_Output_Analyses/EcologicalIntegrity/ScholarlyStudies_2019/birds/bird_exploration_glms.R
74785fc98a1dcfdec30f4537d7c2d5da662f97b7
[]
no_license
LacherIara/git_CLI_LULC_11-16-17
f796e86d4e7c0eb469f1b69254c71167db4843b5
fda70aa45afb45c96a86bcf32d572e9e5bebf3b6
refs/heads/master
2022-05-14T06:19:02.439035
2022-05-04T17:14:34
2022-05-04T17:14:34
111,033,766
1
0
null
null
null
null
UTF-8
R
false
false
24,050
r
bird_exploration_glms.R
setwd("I:/EI_data/plots2016/7-26-19") bird.data <- read.csv("U:/CLI/Field Surveys/Birds/CLI_Birds_Environmental_6-17-19.csv") library(ggplot2) library(MuMIn) hist(bird.data$Abundance) hist(bird.data$SpRichness) data.dredge.cro <- bird.data[,c(103,105,106,107,108)] cro.models <- glm(Abundance ~ ., data=data.dredge...
8aa22228af5722aebde3d56633240105d65bb803
a85e87c6a413530b71d7d72e3c75886b24c82590
/Segregate_images.r
9e0faf375bef4b4116d8211d48d3f51ab2ce2781
[]
no_license
jananiigiridhar/Yelp-Image-Classification
200ea08a5351805fbf9343eb97f10e484d4e9f98
ca1c1b470a93aff3669346a8f310a7750c668352
refs/heads/master
2021-06-29T17:27:43.259555
2017-09-04T04:02:43
2017-09-04T04:02:43
null
0
0
null
null
null
null
UTF-8
R
false
false
1,771
r
Segregate_images.r
# install.packages("stringr") # install.packages("tools") # library(stringr) library(tools) # Place the pictures and the files contaiting the folder - file mapping in the same directory as below source_path = "C:/Users/vineeth raghav/Downloads/Uconn/R Proj/train_photos/train_photos" target_path = "C:/User...
aa2896cf7aabece52ef9a63240c1cfc78608a7d5
5e28bdc8e8aa84d5a919a92be655cfb381e179f0
/man/yadirGetSiteLinks.Rd
d778c1c007b7f6df847beb06afe01c645be45d29
[]
no_license
grkhr/ryandexdirect
bde9248bca476ab852dfc39dbbf2cb2c84883f75
1d7adf3ad657ac16aa83f4d1520ffcd816d2cd2f
refs/heads/master
2020-09-22T11:46:38.738297
2019-12-10T12:10:23
2019-12-10T12:10:23
160,968,163
0
0
null
null
null
null
UTF-8
R
false
false
1,050
rd
yadirGetSiteLinks.Rd
\name{yadirGetSiteLinks} \alias{yadirGetSiteLinks} \title{Get fast links from yandex direct} \description{yadirGetSiteLinks returns sets of quick links that meet the specified criteria..} \usage{ yadirGetBalance(Login = NULL, Token = NULL) } \arguments{ \item{Login}{character, your logins at Yandex Direct, ...
a23c506eb8002fda264c107f2a5f4d0ed9b2bc94
1ae11a3faf6e06edd46b6cbb00924f18dd77a09e
/R/ghTreeGusfield.R
145fa7d9a49bc6007a2842079420e4f39bcb3694
[]
no_license
cran/optrees
d443b36e21d21f9ec1538a5e451cce721ceda1ae
98121be6a97b7fd3ed856587da78795fc0ce70b3
refs/heads/master
2016-09-05T09:01:25.249779
2014-09-01T00:00:00
2014-09-01T00:00:00
23,565,281
1
0
null
null
null
null
UTF-8
R
false
false
4,924
r
ghTreeGusfield.R
#-----------------------------------------------------------------------------# # optrees Package # # Minimum Cut Tree Problems # #----------------------------------------------------------------------------...
51f3eeecc54618f9ef36f969b8913a1a4f89b74f
fac25dea844ebcd772e68175d62c6be4282cf42f
/R/ilc-summary.r
3bcc10753b7a872f3137727be96221c99db70f6b
[]
no_license
andybega/jpr-forecasting-lessons
60c086699e5bb7245802c075effbadfc73c5d4de
9e77db54f9afa92871798bc7289a8d7d7efd7c44
refs/heads/master
2021-01-11T17:27:28.188829
2017-01-27T13:06:18
2017-01-27T13:06:18
62,795,120
3
0
null
null
null
null
UTF-8
R
false
false
1,933
r
ilc-summary.r
# # Figures 1 (a) and (b): summaries of past ILCs # figure1a <- function() { # # Map of ILCs # library("cshapes") library("dplyr") library("RColorBrewer") library("lubridate") source("R/utilities/prettyc.r") load("data/ilc-data-2015-08.rda") # Aggregate by country ilc_by_country <- ...
d3ea323b4a883794427a09ec7338e03a78ff2a84
998fb13dfe557146f9d6702a8d5697e1cdfafeac
/Plot4.R
7e029320598cb2ae3d6eb060fed4b3f23e6fa7fd
[]
no_license
mattmogit/ExData_Plotting1
1576d8508e66de6009d96a6df7f5d4afae752044
8960aac5d12f05ba1e4095ae90dd13269cee37dc
refs/heads/master
2020-12-03T10:30:30.881349
2015-01-11T20:21:34
2015-01-11T20:21:34
29,101,382
0
0
null
2015-01-11T18:31:27
2015-01-11T18:31:25
null
UTF-8
R
false
false
1,088
r
Plot4.R
#-----------------------------p4 data <- read.csv("E:/Downloads/household_power_consumption.txt", header=T, sep=';', na.strings="?", stringsAsFactors=F, comment.char="", quote='\"') data$Date <- as.Date(data$Date, format="%d/%m/%Y") sub <- subset(data, subset=(Date >= "2007-02-01" & Date <= "2007-02-02")) rm(data) dat...
38cb07b954c4d8ff1ebf613b35914fabef1744b3
f567f750c98b0b1a0e9b2f3077975029d36bf5be
/S_select-plot.R
b20996b3a0b11da30da362f5dc787800d432de04
[]
no_license
xansantos/selR-select
cf63768f680369948bf0f0a80a9fb42aa35b56db
4596414cb97fb51b983a2e9726ee8cc30db8fc14
refs/heads/master
2020-06-07T05:49:53.969979
2019-06-20T15:30:15
2019-06-20T15:30:15
192,941,064
0
0
null
null
null
null
UTF-8
R
false
false
2,329
r
S_select-plot.R
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ### ### F_select-plot: Visualization of the average curve ### predicted by paired-gear selective models class SELECT ### Main function (V3) ### Juan Santos - 10.20...
df09675afd1ef326b612eb4ce17547c6203c1f68
de1db178b5315998fcd0e7a24d0788c1a1f5af9b
/Model/TrailingStopV3.R
1805fad38c23f27285b44ce4647ece5a89ecb8ec
[]
no_license
fapri/main-model
fbe86eaeaa466d313566602906219240df6fb255
98d846130bd868db1fcbd6e8687a36ce70647bfb
refs/heads/master
2021-06-25T00:55:23.801801
2020-10-06T20:22:02
2020-10-06T20:22:02
170,916,184
1
0
null
2020-09-30T15:17:33
2019-02-15T19:18:15
R
UTF-8
R
false
false
10,916
r
TrailingStopV3.R
# Corn and Soybean # Trailing Stop # threeDayTrigger = function(currentDayPercentile, p1, p2, p3){ # # Case 1 # if(currentDayPercentile < p1){ # return(TRUE) # } # # Case 2 # else if(currentDayPercentile == p1 && p1 < p2 && p2 == p3){ # return(TRUE) # } # # Case 3 # else if(current...