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
8180c0ea19d8e74071493b4281f6a0c001548bff
fbcd5cbbce3fa87402db91e51f11cb5be91c7616
/R/alph.R
9caf952fb5d8102265a33e092300258185df9299
[]
no_license
bridgetmcgowan/SImulation_HW5
8b34cca6c2c2b5e5b96cba7da80f8414b489aac8
5a552310664bdef6a49eb53a85ddd66f9b31c824
refs/heads/master
2020-09-12T03:07:19.616198
2019-11-19T20:45:59
2019-11-19T20:45:59
222,281,996
0
0
null
null
null
null
UTF-8
R
false
false
43
r
alph.R
alph <- function(x){ sample(letters,1) }
b94ee7e874d165060688ee6e0172dc4a74ce4694
68ab7ff66e331acb0a0721a37c0fa9da5b9b1e57
/inst/Snow_detection_TS_PAR.R
1b369f459cad7c3086f25b2bacd1d181f2684334
[]
no_license
EURAC-Ecohydro/SnowSeasonAnalysis
240bbd9c3616d4e959b51d88c5672c6ebc4717cd
2a08475c2d79c183bcf76a13531dcd14ce2c4152
refs/heads/master
2021-01-02T08:16:28.539577
2020-11-30T22:39:07
2020-11-30T22:39:07
98,980,841
1
3
null
null
null
null
ISO-8859-10
R
false
false
8,089
r
Snow_detection_TS_PAR.R
#------------------------------------------------------------------------------------------------------------------------------------------------------- # File Title: Snow_detection_TS_PAR.R # TITLE: Detect snow presence combining Soil Temperature and PAR sensors # Autor: Christian Brida # ...
97dbc01ff90e3abc2a657f7aac5655ba5bf6eb8c
35010b367173c596c680dba115c7700da4f7e252
/plots.R
640dce6fd7a0964e3b20c2198452c67cc6aa481c
[ "MIT" ]
permissive
stephan-t/product-categorization
e451ba6f32dc28612a139562c2b3c069cce69d79
5cd813d5d150f3f681ec938e83a49bf1e5a5e1bc
refs/heads/master
2020-03-22T16:48:29.112606
2019-11-19T18:53:36
2019-11-19T18:53:36
140,352,740
0
0
null
null
null
null
UTF-8
R
false
false
600
r
plots.R
#### Plots #### # install.packages("ggplot2") library(ggplot2) # Plot confusion matrix plot.cm <- function(cm, title = NULL){ p <- ggplot(data = as.data.frame(cm), aes(x = Predicted, y = Actual)) + geom_tile(aes(fill = log(Freq)), colour = "white") + scale_fill_gradient(low = "white", high = "steelblue"...
4d7b88e9a05e8c4cca4577fa96cd5d4d5dc6ddcc
ef1d6fa0df37fa552c4c4625e6e9cb974e8482f0
/R/rescale.R
0f8d0e815ac38f7b2cbd1baadd12180fdfb9c673
[]
no_license
bhklab/genefu
301dd37ef91867de8a759982eb9046d3057723af
08aec9994d5ccb46383bedff0cbfde04267d9c9a
refs/heads/master
2022-11-28T09:22:02.713737
2022-05-30T15:35:53
2022-05-30T15:35:53
1,321,876
17
15
null
2022-11-07T11:52:05
2011-02-02T21:06:25
R
UTF-8
R
false
false
2,133
r
rescale.R
#' @title Function to rescale values based on quantiles #' #' @description #' This function rescales values x based on quantiles specified by the user #' such that x' = (x - q1) / (q2 - q1) where q is the specified quantile, #' q1 = q / 2, q2 = 1 - q/2) and x' are the new rescaled values. #' #' @usage #' rescale(x,...
ab6a51f41b45847bc03d9738debc7466c13ab5fc
fac145210987fe3d25dad06aebd19a33d86b9af7
/run_analysis.R
ffcb350d6f7251850800b144b69dc8a728c956b2
[]
no_license
JoshReedSchramm/cleaning_data_assignment_1
fb39b866c1c81499466f9f9142d442bce11248d2
43f485022c4bcac4312aa45595f983d8c64b61a4
refs/heads/master
2021-01-10T00:53:09.031152
2014-04-27T03:48:38
2014-04-27T03:48:38
null
0
0
null
null
null
null
UTF-8
R
false
false
3,082
r
run_analysis.R
getTidyXNames <- function() { # the features file contains the filenames for the X file x_names = read.table("./data/UCI HAR Dataset/features.txt") x_names_list <- x_names$V2 # Clean up some of the strange formatting in that features file x_names_list <- sub("\\()", "", x_names_list) x_names_list <- sub(...
ee0fc6a528c12dcb04a2fb93b9ae8202cf1b4e35
f2a4630b8fce228b534c6d240bfbd85ae65c5d3b
/Practice/oprational.R
fb9f0f07916f3a779ac6142400f22ae205780d01
[]
no_license
Imagic33/Stats-Prog1-Markov-Text-Model
d54b0c386764a2402cca81e0fcf0ceccf94f38cf
59be52fc5a23dbd1c0dcd2d36f0e98dee62e6741
refs/heads/main
2023-08-07T01:10:55.489268
2021-10-08T14:19:24
2021-10-08T14:19:24
409,910,905
1
0
null
null
null
null
ISO-8859-7
R
false
false
2,067
r
oprational.R
## Group ## ## name: ## ## Id: setwd("C:/Users/ΙςΆχΑΩ/Stats-Prog1-Markov-Text-Model/Work") a <- scan("1581-0.txt", what="character", skip=156, encoding = "UTF-8") n <- length(a) a <- a[-((n-2909):n)] ## strip license # a is the bible words split_punct <- function(words){ pri_punct_pos <- grep("[[:punct:]]", ...
7b60037ef5d7ffb5370dfafdb4a9db83d8755f8c
c4e2f1eaf9ae10bb5e8998c7d731606a45624e8c
/SCENIC_analyses/SCENIC_HCA_Blineage_analysis_visualization.R
479bf209515f3ccee19d2cf55fffbc8de4037e8a
[]
no_license
systemsgenomics/ETV6-RUNX1_scRNAseq_Manuscript_2020_Analysis
c0e7483950990b9c5bf16f7f28f4b9c6acbfb31b
eb08df603f52779ffc781e71461c9175f83f8f24
refs/heads/master
2021-05-26T02:49:44.847600
2020-11-24T20:52:20
2020-11-24T20:52:20
254,022,211
0
2
null
null
null
null
UTF-8
R
false
false
8,916
r
SCENIC_HCA_Blineage_analysis_visualization.R
# Filtering and visualization of SCENIC HCA B lineage + ALL result options(stringsAsFactors = F) library(ComplexHeatmap) library(dplyr) library(ggplot2) setwd("/research/groups/allseq/data/scRNAseq/results/juha_wrk/SCENIC/SCENIC_analysis/FINAL/HCA_only_FINAL/") # Helper functions ## Mean across variables based...
76abff2c6b323153a935f8d4c0e1d95760a46ea1
9b5eaa1d3af143db4f2459c9dd9f8a5fc5c2044d
/R/utils/ue02plots.R
8a0c639b6cf15aadfdf041199191ae8a043f9b89
[]
no_license
p-gw/stan-workshop-2017
e93ff932b3e8798256831b7aa9a821c9d26c711b
78a40a6aeab133bf29e220fd386351ea9d9b46c5
refs/heads/master
2021-08-17T06:23:38.148396
2017-11-20T21:06:20
2017-11-20T21:06:20
110,131,283
0
0
null
null
null
null
UTF-8
R
false
false
268
r
ue02plots.R
source("examples/02_linreg.R") png("../Präsentation/images/0204_samp.png", width = 4, height = 4, units = "in", res = 200) print(p_sim) dev.off() png("../Präsentation/images/0204_quant.png", width = 4, height = 4, units = "in", res = 200) print(p_quant) dev.off()
1487680cc78327488619393354a2fca615840613
33a8f03c6db78807bcbb9536c2d19abaebcb36c0
/lesson2/Lesson 2.1/016523-Hohbein.R
e1514877cc0069fb59ac708c21c914c1d02bd7e0
[]
no_license
jamesonth/data_analysis_R
049ddbee0fa9c989b1239c4b07a5faba9e228aa9
f36b046d754c53b9f5f031b82e41c0e628320980
refs/heads/master
2022-11-17T05:53:41.604299
2020-07-17T10:53:27
2020-07-17T10:53:27
262,266,476
0
0
null
null
null
null
UTF-8
R
false
false
1,753
r
016523-Hohbein.R
### Exercise 2.1 # Each problem is worth 1 point. No partial credit, answers # must be complete and entirely correct. Write your solution # below each problem. We only need your R code, not your # results! # Run the following lines to create vectors coins and tbbt: coins <- c(20, 5, 50, 2, 2, 10, 10, 5, 1, 1, 5) tb...
7e5982f62ef9f3d687458b5767f83cb66b0ad24b
599c2cf0ad1b158138c78b5c6c4c2804bbeb45d0
/man/roundtohalf.Rd
c97a829703dfcf1c1718e657bceac700efdca60f
[]
no_license
tlarzg/rtemis
b12efae30483c52440cc2402383e58b66fdd9229
ffd00189f6b703fe8ebbd161db209d8b0f9f6ab4
refs/heads/master
2023-07-07T20:53:43.066319
2021-08-27T03:42:19
2021-08-27T03:42:19
400,347,657
0
0
null
null
null
null
UTF-8
R
false
true
277
rd
roundtohalf.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rtfn.R \name{roundtohalf} \alias{roundtohalf} \title{Round to nearest .5} \usage{ roundtohalf(x) } \arguments{ \item{x}{numeric vector} } \description{ Round to nearest .5 } \author{ E.D. Gennatas }
beedf856b17357f734d0c7772d52237f97ca8167
e20dae6615dd906842fb6a7eeee3e41cb625cc51
/R/display_profile.R
dad20c7aa1011dc8279cadb2316a5ab7902ea748
[]
no_license
LenaCarel/nmfem
1ba1f330569ced860425a149de5423ae14dee26a
58b1b232277d597f0c24bfc415114a2aa30cf3f2
refs/heads/master
2020-05-02T22:08:32.791009
2019-12-01T21:39:48
2019-12-01T21:39:48
178,243,096
1
2
null
2019-04-01T14:02:31
2019-03-28T16:32:37
R
UTF-8
R
false
false
2,697
r
display_profile.R
#' Display 3D profiles #' #' This function display profiles of 3 dimensions (day, hour, number of observations). It has been created to display #' profiles from the \code{nmfem} package data. #' #' @param profile a vector or a matrix row containing the profile to display. The day/hour data are contained in the column n...
3ef9af6bf7ff56bb50631595f08ec4bc579a8be6
29585dff702209dd446c0ab52ceea046c58e384e
/shopifyr/R/private.R
4b3944b969dcdd3a373c6e50b1d4ce1964957840
[]
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
8,869
r
private.R
# # shopifyr: An R Interface to the Shopify API # # Copyright (C) 2014 Charlie Friedemann cfriedem @ gmail.com # Shopify API (c) 2006-2014 Shopify Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # th...
30f4819b278ef35e7814422c3e63b4a3ad8c6b6a
8646bc1e79acfcd681cae81c66330830d6baa49e
/man/ms_2D_average_sh.Rd
df05ab53bae3daa26ed5ddd003c7f46544c2f51c
[]
no_license
Atvar2/mineCETSAapp
2a46af5b1392dc861c1c53469dee29245bf66426
7f30019d46437bbb370c9172b0a0c061be719afc
refs/heads/main
2023-06-12T20:01:25.580701
2021-07-07T12:01:29
2021-07-07T12:01:29
null
0
0
null
null
null
null
UTF-8
R
false
true
620
rd
ms_2D_average_sh.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ms_2D_average_sh.R \name{ms_2D_average_sh} \alias{ms_2D_average_sh} \title{ms_2D_average_sh} \usage{ ms_2D_average_sh(data, savefile = TRUE) } \arguments{ \item{data}{dataset after calculating the relative protein abundance differences} \ite...
65b90be4d2e4ec6038391a6d0767addd48436070
e54da3c941297f45e1a467c9b30947c949bb35d2
/Scripts/Fit_Model.R
bcb6e4899d9c66f89e80fab1d209d317be875004
[]
no_license
jinhangjiang/BSAN480-FinalProject
4f2388579547f34585a554f16d56e2bc9f432c48
d25fc7b946ebdb7acaf887a68406b656341f3681
refs/heads/master
2022-07-12T09:56:04.415794
2020-05-14T00:11:51
2020-05-14T00:11:51
261,912,811
0
0
null
null
null
null
UTF-8
R
false
false
8,757
r
Fit_Model.R
movie<-read.csv("cleandata.csv") a<-movie a[,c("TITLE","RELEASE_DATE_TXT","PRODUCTION_COMPANIES", "DIRECTOR_NAME","DIRECTOR_GENDER","ACTOR1_NAME", "ACTOR1_GENDER","ACTOR2_NAME","ACTOR2_GENDER" )]<-list(NULL) write.csv(a, file = "modeldata.csv") ### average rating prediction a1<-a a1[,c("BUDGET","R...
13e2fe66460d76c7298d08f1797724bf5bcf1a98
834ad515de5f16fdf0759a4d4aab2d8a96b2fc2c
/run_analysis.R
856dad647d11db33f83dd906a0976d9e2b4de984
[]
no_license
adempewolff/GettingData-CourseProject
087635f76b1df2b19d5bc4ecc589f089148c6dec
0924a658e3340c57f2cacac8da3661aef1e32a12
refs/heads/master
2016-08-12T07:58:23.290296
2016-04-16T09:41:23
2016-04-16T09:41:23
55,300,314
0
0
null
null
null
null
UTF-8
R
false
false
4,549
r
run_analysis.R
## Script to download, import and tidy the "Human Activity Recognition using ## Smartphones" dataset. Creates a table which contains the averages for a ## number of variables by activity and subject. Please see the readme file ## and codebook for more information. ## ## Data Source: ## Davide Anguita, Alessandro Ghio,...
5e580916916c97a3dd62f90e4a2e487b7ce20e98
5d5cfc024e6e4ba5cfe5ee840f4c529f41f6f73f
/man/autism.Rd
8b8c497f836db80a50c4ca38faf1601edd29930d
[]
no_license
cran/WWGbook
debe9b238ad5705c7f173dc13096c8a4892c4fdc
10804f79a0a1f4d442595272fd707e073428a964
refs/heads/master
2022-03-04T21:39:10.847128
2022-03-01T23:10:29
2022-03-01T23:10:29
17,694,099
1
0
null
null
null
null
UTF-8
R
false
false
1,409
rd
autism.Rd
\name{autism} \alias{autism} \docType{data} \title{autism data in Chapter 6} \description{ The data comes from researchers at the University of Michigan as part of a prospective longitudinal study of 214 children. } \usage{data(autism)} \format{ A data frame with 612 observations on the following 4 variab...
7c4404c9e82d92b652623075afbda95301d8ad5e
999b24cc5fa218e80af339f4952e6a62d561f781
/Roulette and CLT.R
f7d61f595b411456e473cb43850857a3d8f347bf
[]
no_license
ShivKumar95/Learning-R
81d0fef098a724ef9be6c2ba0d75aa1cd02f3841
ea36c1d9453e3a645470eaf50c794f042963e085
refs/heads/master
2022-07-17T02:18:59.493185
2020-05-21T06:00:23
2020-05-21T06:00:23
261,987,271
0
0
null
null
null
null
UTF-8
R
false
false
2,706
r
Roulette and CLT.R
# sample modeling casio roulette table reds and blacks # # monte carlo # sample model 1: defines a lot and then sample library(dplyr) library(tidyverse) color <- rep(c("Black","Red","Green"),c(18,18,2)) n <- 1000 # no. of reps X <- sample(ifelse(color == "Red", -1,1),n, replace = TRUE) # if the sample dr...
5b7f23e27388a4fdc3c8224dc34bac8e8f642792
db8d5421d2f4bdde84eff4f816a27d931dd27b1a
/dREG/man/genomic_data_model.Rd
656777a24dd584ee02a62ca37f6c75997383c029
[]
no_license
omsai/dREG
2c6ac5552e99751634884ea86aa8a736c26b5de0
ab6dc2f383772deb67f0c445c80e650cc054e762
refs/heads/master
2023-08-16T04:24:40.797588
2021-10-11T10:36:45
2021-10-11T10:36:45
null
0
0
null
null
null
null
UTF-8
R
false
false
938
rd
genomic_data_model.Rd
\name{genomic_data_model} \alias{genomic_data_model} \title{ Builds a multiscale window object for feature extracting. } \description{ } \usage{ genomic_data_model(window_sizes, half_nWindows) } \arguments{ \item{window_sizes}{vector of integer, indicating the genomic size (bp) for each window.} \item{half_nWindows...
360258c946becabd35efa01119878d4ddf170bda
e85c4f93c01f1c3a58469e73022a64fc6f053126
/man/createPs.Rd
3e642bcaa16c22be419a27530edea739b342806a
[ "Apache-2.0" ]
permissive
zuoyizhang/CohortMethod
9a65958e7a252cfb3eaddad359964996c228281a
1617ea573d3eb7482b47beac0ad701f222ca0c6d
refs/heads/master
2020-12-03T09:17:46.295284
2015-03-27T04:53:12
2015-03-27T04:53:12
null
0
0
null
null
null
null
UTF-8
R
false
false
1,603
rd
createPs.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/PsFunctions.R \name{createPs} \alias{createPs} \title{Create propensity scores} \usage{ createPs(cohortData, checkSorting = TRUE, outcomeConceptId = NULL, excludeCovariateIds = NULL, prior = createPrior("laplace", exclude = c(0), ...
679a08976055c70f77fc7a096582bda7d555c367
f32dbf645fa99d7348210951818da2275f9c3602
/R/getjul.R
2638287f6a378da83c7b29dec95f74189bedf33c
[]
no_license
cran/RSEIS
68f9b760cde47cb5dc40f52c71f302cf43c56286
877a512c8d450ab381de51bbb405da4507e19227
refs/heads/master
2023-08-25T02:13:28.165769
2023-08-19T12:32:32
2023-08-19T14:30:39
17,713,884
2
4
null
null
null
null
UTF-8
R
false
false
142
r
getjul.R
`getjul` <- function(year, month, day) { jstart = tojul(year, 1, 1); jul = tojul(year, month, day)-jstart+1; return(jul) }
0518f09d57f16f01e237a522db09273aa0b413a2
7b74f00cd80694634e6925067aaeb6572b09aef8
/2020/Assignment-2020/Individual/FE8828-Xiang ZiShun/Assignment 4/week-4-infection.R
85fe8cc7d7e10b29f75aa00e1aee7d3bde5f6964
[]
no_license
leafyoung/fe8828
64c3c52f1587a8e55ef404e8cedacbb28dd10f3f
ccd569c1caed8baae8680731d4ff89699405b0f9
refs/heads/master
2023-01-13T00:08:13.213027
2020-11-08T14:08:10
2020-11-08T14:08:10
107,782,106
1
0
null
null
null
null
UTF-8
R
false
false
2,150
r
week-4-infection.R
library(shiny) library(dplyr) library(ggplot2) ui <- fluidPage( titlePanel("Infection Test Simulation"), hr(), sidebarLayout( sidebarPanel( sliderInput("infectionRate", "Infection Rate (%):", min = 0, ...
d94837d9482aae4402e4242838ee0dc7a993ffb6
045291797b6127d2dabb0030915cf756bd3018e0
/man/goalbar.Rd
2f68c69b6471a6db7669e1102b8511329e2cf830
[]
no_license
Deerluluolivia/mapvizieR
e15b626931109847b38a76cbc41c6d7b01f52c6a
b71e1302d88cfec1d719b8ef3fef3233a009ac9d
refs/heads/master
2020-03-22T05:51:51.504251
2018-05-10T18:13:02
2018-05-10T18:13:02
null
0
0
null
null
null
null
UTF-8
R
false
true
2,069
rd
goalbar.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/goalbar.R \name{goalbar} \alias{goalbar} \title{goal_bar} \usage{ goalbar(mapvizieR_obj, studentids, measurementscale, start_fws, start_academic_year, end_fws, end_academic_year, goal_labels = c(accel_growth = "Made Accel Growth", typ_gro...
01dc166e642d2e64f2f8ba3ffbf5ed12cf43013c
dfe75cad25358f75eac7d04f43362d7efe10334c
/man/gamma_t.Rd
ea6a64157353dfc255fe2c34f3f334de7fc1824d
[]
no_license
edinburgh-seismicity-hub/ETAS.inlabru
bba8dc65a6ad62245e8c767fdb2cb2884ffad68b
9aed08199ad64dd1f53a13e07efc2490cb12866d
refs/heads/main
2023-08-09T19:00:23.791431
2023-07-24T16:01:19
2023-07-24T16:01:27
564,802,885
0
2
null
null
null
null
UTF-8
R
false
true
951
rd
gamma_t.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CopulaTransformations.R \name{gamma_t} \alias{gamma_t} \title{Copula transformation from a standard Normal distribution to a Gamma distribution} \usage{ gamma_t(x, a, b) } \arguments{ \item{x}{values from a standard Normal distribution, \code...
3d7d4f88045f41653addd7d334d568e2d499a84c
7217693dc00b148a48c6503f6fe4ec1d478f52e8
/meta_flipfix/meta_imp_flip_check.R
4ed290c3a769887e00c569b1d97a3446c52a5461
[]
no_license
Eugene77777777/biomarkers
8ac6250e1726c9233b43b393f42076b573a2e854
9e8dc2876f8e6785b509e0fce30f6e215421f45b
refs/heads/master
2023-07-25T10:52:30.343209
2021-09-08T18:12:45
2021-09-08T18:12:45
null
0
0
null
null
null
null
UTF-8
R
false
false
3,682
r
meta_imp_flip_check.R
fullargs <- commandArgs(trailingOnly=FALSE) args <- commandArgs(trailingOnly=TRUE) script.name <- normalizePath(sub("--file=", "", fullargs[grep("--file=", fullargs)])) suppressPackageStartupMessages(require(tidyverse)) suppressPackageStartupMessages(require(data.table)) ############## meta_sumstats_f <- args[1] gwa...
3867c774aa3dd8a4bd5eb2aadf0b07e8fd2d5101
43a533fff871b1b8efe95397150cc31282f4c03e
/R/PlotInteractingZscore.R
c6c6470a664bb869e1c981967fa76706b8d4b8b3
[]
no_license
polyak-lab/matchedDCISIDC
9982c65b4355b399552930d834eab3b13d171a8a
8ca3695420cd56ec703c3163905802f136dc867f
refs/heads/master
2023-06-03T00:18:39.865124
2021-06-19T07:06:11
2021-06-19T07:06:11
254,945,118
1
0
null
null
null
null
UTF-8
R
false
false
785
r
PlotInteractingZscore.R
PlotInteractingZscore=function(Fracfound, DistMat, title="test", cols=palcols){ Rx1=rbind(DistMat, Fracfound) Rx2=scale(Rx1) ## calculate a p value: pvals=2*pnorm(-abs(Rx2[1001, ])) px1=melt(Rx2[-1001, ]) px2=melt(Rx2[1001,]) px2$Var2=rownames(px2) g1=ggplot(px1, aes(x=Var2, y=value, fill=Var2, co...
becb95d82ca372841dcef8b40b4ffcd0baf507e4
553992ae66d19695a240b2c8df4357b09f99bb69
/SAMR2014/PCA/3_GoingFurther_Discriminant.R
f4e8a107948b07683104da6c75da932b0fc50fb1
[]
no_license
Alfiew/Workshops
839ec14d5c4b95cd39474044e9bdb2946d2dece9
4ac40823e13ed285bcabc44eb4449d4d1be4cd05
refs/heads/master
2023-04-19T05:48:15.096172
2021-04-27T01:12:07
2021-04-27T01:12:07
null
0
0
null
null
null
null
UTF-8
R
false
false
2,702
r
3_GoingFurther_Discriminant.R
### This file will be updated periodically between now (whenever you are seeing this) ### and April 2nd (the day before the workshop!) ##### ### If you download this file now, please be sure to check back for updates ### as the conference approaches. ### TO NOTE: Anything preceded by at # is a 'comment' # that mean...
305dc2672fcc046eafb17ac7b5bcf7b82f32a0c7
cd891e1b17592fb1a61083fea71eab07be384e7c
/man/pobierz_zrownywanie.Rd
5c16cb0cdf6c53c95c0a9e0b594491bedb4a17fa
[ "MIT" ]
permissive
zozlak/PWEdane
06de162ab2a6aed828f09058a6fb1b0f3d2c4374
8d8ded8c5f670965654e6bc5d3d1355122218627
refs/heads/master
2021-01-19T07:47:08.276634
2015-04-29T08:38:12
2015-04-29T08:38:12
32,443,387
0
0
null
null
null
null
UTF-8
R
false
false
953
rd
pobierz_zrownywanie.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/pobierz_zrownywanie.R \name{pobierz_zrownywanie} \alias{pobierz_zrownywanie} \title{Pobiera wyniki testów zrównujących ze wskazanego roku wraz z danymi kontekstowymi} \usage{ pobierz_zrownywanie(rodzajEgzaminu, rok, punktuj = TRUE, ...
7fb8376eeebccbe5d7f3db2d88bbcc2be9370ddf
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/12063_0/rinput.R
82a4bf627362a452eaaf73cdd1d8c8291c9fe632
[]
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("12063_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="12063_0_unrooted.txt")
01b2b0cea4654993d6d5410c487741d89af1dcf3
13d6506e07f15a4ce179d40b24b96d152fdc2414
/Code/boston.R
08068743823097e48944218665043202ef4b1673
[]
no_license
adb8165/stat139_final_project
adeb2dbb4a9636f64351af75cce11cefda3d689e
2dbccaab4282b14adbf650ff459d70005c033731
refs/heads/master
2021-05-31T09:28:15.695898
2016-05-04T20:39:54
2016-05-04T20:39:54
null
0
0
null
null
null
null
UTF-8
R
false
false
4,646
r
boston.R
bostondata = read.csv("/Users/nick/Desktop/boston/Property_Assessment_2014.csv",header = T) library(ggplot2) library(nortest) library(car) library(boot) library(rpart) library(rpart.plot) library(e1071) library(parallel) library(randomForest) library(neuralnet) ############## cleanse data ############################...
22658fc945a2f94b6d51e1fcc13118a44276b9fe
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/stats19/examples/police_boundaries.Rd.R
577553d84ec6eb9d2e799bf9f8bfec5b6601df70
[]
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
298
r
police_boundaries.Rd.R
library(stats19) ### Name: police_boundaries ### Title: Police force boundaries in England (2016) ### Aliases: police_boundaries ### Keywords: datasets ### ** Examples nrow(police_boundaries) police_boundaries[police_boundaries$pfa16nm == "West Yorkshire", ] sf:::plot.sf(police_boundaries)
3811bd54b771bc34167a6977416357b803441a9a
4e1e7ec51f5501e301e8e5f0300ef0608545cfe1
/man/clip_path.Rd
9d39daf908295664dfa60dec0ce31b52920ff78e
[ "MIT" ]
permissive
jorritvm/jrutils
8f3d4f97e6e536d51ce9fca171004cd36a9c3c02
ac56a5dedca6de96ace2a15b16e0e7e7339cc14d
refs/heads/master
2023-02-23T15:46:43.963572
2023-02-06T15:36:54
2023-02-06T15:36:54
245,815,281
3
0
MIT
2022-08-12T09:12:04
2020-03-08T13:02:11
R
UTF-8
R
false
true
306
rd
clip_path.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lib_io.R \name{clip_path} \alias{clip_path} \title{replaces backslashes with forward slashes in a path on the clipboard} \usage{ clip_path() } \description{ replaces backslashes with forward slashes in a path on the clipboard }
a3e1b66ded2d91b5cc6ca06ce82f114d456115d8
e102753a5ab7eedd58d04c26254a8e29859f9e98
/scRNA-seq Result Reproduction/RunCDC.R
77fc9c9c66a746506181f20a645b3fbaf338bf4d
[ "Apache-2.0" ]
permissive
ZPGuiGroupWhu/ClusteringDirectionCentrality
ec166456938602921574ad24d7445804c2226961
084a18fc40cc19dee2aa91c757009d4abb2e86f9
refs/heads/master
2023-04-13T00:07:42.437629
2023-03-11T11:48:27
2023-03-11T11:48:27
467,575,519
72
7
null
2022-10-26T12:10:05
2022-03-08T15:46:14
MATLAB
UTF-8
R
false
false
5,486
r
RunCDC.R
library(ggplot2) library(gridExtra) RunCDC <- function(dataname,mode){ if (mode=="All"){ if (dataname=="pbmc3k"){ CDC_k = seq(30,50,10) CDC_ratio = seq(0.55, 0.65, 0.01) } else if(dataname=="SCINA"){ CDC_k = seq(30,50,10) CDC_ratio = seq(0.70, 0.80, 0.01) } else...
6ccd167ca47a3adcc52202685eec20ddea4b57a3
94717c01dba16dc0ecaa685545f7799ec93750ba
/man/column_expander.Rd
c0e71dd903da0937099a81d47d8a50aaf292de3a
[]
no_license
jkapila/MiscR
026326defd60c29067b0ab7f35652ebaff320e59
54021cc0893c7187d3a7e6ed440c601d1d7fa794
refs/heads/master
2021-01-18T18:33:22.435525
2016-05-29T06:49:57
2016-05-29T06:49:57
59,930,425
0
0
null
null
null
null
UTF-8
R
false
true
668
rd
column_expander.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ColumnExpander.r \name{column_expander} \alias{column_expander} \title{Column Expander} \usage{ column_expander(data, name) } \arguments{ \item{data}{Any Data Set} \item{name}{Name of the Column Variable whose value needs to be expanded} } \...
263d028843b3ed3e02aa6c2b526f40a3ea6f3588
903191c7cc98fdc553595f86259554c1c39b88a9
/man/plot_genre.Rd
41c2b5bc567fb9b05776244a313818628a2569a5
[]
no_license
gmlang/imdb
5f81f6ed2c6aa00828f9d3379861df26801a666a
dc5f69d736682cd8feead228c001d4189c25b638
refs/heads/master
2021-01-10T10:47:40.505890
2018-10-09T06:27:44
2018-10-09T06:27:44
36,202,144
1
0
null
null
null
null
UTF-8
R
false
true
278
rd
plot_genre.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/05-genres.R \name{plot_genre} \alias{plot_genre} \title{Generate descriptive plots for genres} \usage{ plot_genre() } \value{ 3 ggplot2 objects } \description{ Generate descriptive plots for genres }
377369beb3e8b9e41ef67f375033c0463fe1c6cd
bec519fa30cdd53fa986da8c2d00a2852a8bbda4
/tests/strcmp.R
55543dd7e43b672f1d71f878147bd25e9ce0bd6d
[]
no_license
cran/matlab
d39e7908a27ddd9b9e154de2f6932d98f56f8f11
cf54fd06412a5ab3f928ee29e3b90d5050665933
refs/heads/master
2022-06-03T07:29:14.339119
2022-06-01T09:40:02
2022-06-01T09:40:02
17,697,307
0
3
null
2022-05-12T21:15:22
2014-03-13T05:16:27
R
UTF-8
R
false
false
799
r
strcmp.R
### ### $Id: strcmp.R 22 2022-05-30 18:03:47Z proebuck $ ### ##----------------------------------------------------------------------------- test.strcmp <- function(input, expected) { output <- do.call(getFromNamespace("strcmp", "matlab"), input) identical(output, expected) } test.strcmp(list(S = "foo", T = ...
9ac789aae959f6425554b6ee6d46398b32fb694c
c20376898f39199f8022fe8dc589d0610b949386
/02_tidyTables.R
868a8de843e795f4b10acd2c6280aa3a9156be5f
[]
no_license
kika1002/RCP
72b76eb026a3042464a101f703838e92df57b039
8777779d4b6effdd5010e1af93157fb7a6fd3d69
refs/heads/master
2020-06-10T23:47:54.387462
2019-07-15T00:01:16
2019-07-15T00:01:16
193,794,422
3
0
null
null
null
null
UTF-8
R
false
false
2,417
r
02_tidyTables.R
# Load libraries ---------------------------------------------------------- require(pacman) pacman::p_load(raster, rgdal, rgeos, stringr, velox, sf, tidyverse) # Initial setup ----------------------------------------------------------- g <- gc(reset = TRUE) rm(list = ls()) options(scipen = 999) # Functions to use --...
5d713aa0d8cfcb4e262c0c81561fcd8a76fdfefb
4d63d3da98c0a7aeaf837e093b287f7ee23c86ba
/R/all_generic.R
a5622587a6588c490fd7084500ea9c5462918f44
[ "MIT" ]
permissive
bbuchsbaum/colorplane
69f5155d879964944206fbc95ccf65321df28292
1b7a26fec61bc5c985aa9ed0438303566a8085ee
refs/heads/master
2023-03-06T19:06:41.284373
2023-03-03T12:35:16
2023-03-03T12:35:16
147,871,527
0
0
null
null
null
null
UTF-8
R
false
false
2,752
r
all_generic.R
#' blend two color planes #' #' given two color planes, generate a new color plane by blending the colors using the supplied alpha multiplier. #' #' @param bottom the bottom color plane #' @param top the top color plane #' @param alpha the alpha overlay value. #' #' #' @export #' @rdname blend_colors-methods #' #' @...
69a86b8c7dbc76b2099c275387225794f7a5f052
4476526ab2485378636b8c774bbc68ac9b3654fa
/Exercises2/saratoga_lm.R
b4c2b4ef72f7f989f104fe3e116c5cb41149cec3
[]
no_license
rykoh/SDS323
426c2ffce0c5ecc1b9783de15c582b5ffb28e209
27915e753c2f661c5f088385a96928001265847d
refs/heads/master
2022-07-04T05:33:57.606182
2020-05-11T14:59:50
2020-05-11T14:59:50
247,365,673
0
1
null
null
null
null
UTF-8
R
false
false
5,401
r
saratoga_lm.R
library(tidyverse) library(mosaic) data(SaratogaHouses) summary(SaratogaHouses) rmse = function(y, yhat) { sqrt( mean( (y - yhat)^2 ) ) } lm_small = lm(price ~ bedrooms + bathrooms + lotSize, data=SaratogaHouses) lm_medium = lm(price ~ lotSize + age + livingArea + pctCollege + bedrooms + firepla...
5f389b2707736417e6f579d56b35295bf3e74cd3
ab7d15d06ed92cd51cc383dc9e98ae2a8fa41eaa
/tests/testthat/test-get_select_last_nodes_edges_created.R
6dca71302be4fd3a10f44e1686c0bce45ac56fe2
[ "MIT" ]
permissive
rich-iannone/DiagrammeR
14c46eb994eb8de90c50166a5d2d7e0668d3f7c5
218705d52d445c5d158a04abf8107b425ea40ce1
refs/heads/main
2023-08-18T10:32:30.784039
2023-05-19T16:33:47
2023-05-19T16:33:47
28,556,914
1,750
293
NOASSERTION
2023-07-10T20:46:28
2014-12-28T08:01:15
R
UTF-8
R
false
false
3,621
r
test-get_select_last_nodes_edges_created.R
context("Getting or selection of last-created nodes or edges in a graph") test_that("getting or selecting the last edges created is possible", { # Create a graph, add a cycle, and then # add a tree graph <- create_graph() %>% add_cycle( n = 3, type = "cycle", rel = "a") %>% add_bal...
1820212c0eced321be48e5b1db06e65f309d4eae
ce68a85c4a6c5d474a6a574c612df3a8eb6685f7
/src/book/R with application to financial quantitive analysis/CH-06/CH-06-02-02.R
18cbdadbe157e3e1d647efe3bc584ddc07bae937
[]
no_license
xenron/sandbox-da-r
c325b63114a1bf17d8849f076bfba22b6bdb34a3
c217fdddc26ed523b3860e2000afc699afac55a2
refs/heads/master
2020-04-06T06:58:17.049181
2016-08-24T06:16:32
2016-08-24T06:16:32
60,466,314
1
1
null
null
null
null
UTF-8
R
false
false
1,482
r
CH-06-02-02.R
######################################################## # Description: # 1.for Book 'R with applications to financial quantitive analysis' # 2.Chapter: CH-06-02-02 # 3.Section: 6.2 # 4.Purpose: SV modeling through stochvol package # 5.Author: Qifa Xu # 6.Founded: Dec 09, 2013. # 7.Revised: Aug 06, 2014. ##############...
3389e5b52576ff490c944d0d841841f9ffed46ca
b044aed183ac468a69f8a0a6e9c456380b7b0e47
/archive/influential2.R
13229916cc4b482de415e5f97428a25104f0565d
[]
no_license
peiyaow/alpha
5f0db3509e1fe935bd5aa1a09c01a764a96ebf5d
7c1cbd360b24bc81fbae4926fcb83a06afe46c70
refs/heads/master
2021-06-24T10:44:55.173732
2020-11-09T00:55:02
2020-11-09T00:55:02
165,456,731
0
0
null
null
null
null
UTF-8
R
false
false
1,145
r
influential2.R
setwd("~/Documents/GitHub/alpha/") source('functions.R') load("data/ADNI2.RData") X.mean = apply(X, 2, mean) X.sd = apply(X, 2, sd) X = sweep(sweep(X, 2, X.mean), 2, X.sd, "/") plotPC = function(X1){ X1.mean = apply(X1, 2, mean) X1 = sweep(X1, 2, X1.mean) return(X2U(X1, plot = T)) } n = length(Y) ix = 1:n ix1...
6398905903f53e536c439a0b9c947e9700e5cbf5
445b8e2a2cedcdf2b6da180e6f26fbe7db7038ad
/Voetbal.R
947f4a013aa8fe277dba430db903199610b353a9
[]
no_license
ManOnWire/Voetbal
f389869e6eb566f70f2b91298716b228e3afd7e3
8f36fba0872a060ffc9fca5ce6c51c856c67ec1f
refs/heads/master
2020-03-22T21:34:29.819551
2017-10-29T14:04:55
2017-10-29T14:04:55
null
0
0
null
null
null
null
UTF-8
R
false
false
6,896
r
Voetbal.R
# Import data about Eredivisie Seizoen 2014/2015. Source: http://www.football-data.co.uk # First I downloaded the Excel-file manually, but it would be better to work with code inside # a script. Of course, it would also be nice to add a date for the download. # Add a download date... download_date <- date() # Set wor...
818996dbbc77188e15a7b87ff50380d89a7d503f
3bef70f4b3d6283f2b2bfb44ccdfbf9b28c6429d
/R/prepare_well_data.R
d23d1abb5b4652a87d3a7effe1c518e50f8daf9d
[ "MIT" ]
permissive
KWB-R/dwc.wells
4c1594ea66b1792c6c955b98418982edf80675c1
45e8670647c4771fe70d59db0f7cfd1e80242361
refs/heads/main
2023-04-10T01:24:40.973815
2022-07-12T13:42:20
2022-07-12T13:42:20
351,021,733
0
0
MIT
2022-10-16T09:17:19
2021-03-24T09:35:15
R
UTF-8
R
false
false
3,382
r
prepare_well_data.R
# prepare well data ------------------------------------------------------------ prepare_well_data <- function(path, renamings) { # read data from csv and filter Vertikalfilterbrunnen df_wells <- readr::read_csv(path, skip = 9) %>% select_rename_cols(renamings$main, "old_name", "new_name_en") %>% dplyr::...
c9ba33326c2fe17be3cbe0d15724d5629ab719f6
0cc3ac7cd489525298cd1e84cd4901e1605c9696
/R/otpr_get_isochrone.R
b5b4df36f1e7aae41ec8179418a2c54685b36913
[]
no_license
mikem77/otpr
59f15577f45351739eb345b9bb8358cb6495ef66
cf57a625e4e2fe8cdff7cb9559b716a7201d22a1
refs/heads/master
2020-06-22T15:51:31.136949
2019-04-24T18:41:51
2019-04-24T18:41:51
null
0
0
null
null
null
null
UTF-8
R
false
false
7,499
r
otpr_get_isochrone.R
#' Returns one or more travel time isochrones #' #' Returns one or more travel time isochrone in either GeoJSON format or as an #' \strong{sf} object. Only works correctly for walk and/or transit modes - a limitation #' of OTP. Isochrones can be generated either \emph{from} a location or \emph{to} #' a location. #' @pa...
bc0b0226da284e6a1ac89b445b63b4a17a392dd0
100b985e02823843e9999570ced26e13640ceb5f
/man/resume_navbar.Rd
0e081ce50495decd8dcf5e179ba276f574d5277b
[ "MIT" ]
permissive
ColinFay/resume
0b8030ebb2c5deea309e981b39bf444a4c79ad8b
d9ec83d4df4440f24fa35d100d7b4e02e54c4b29
refs/heads/master
2020-06-03T22:18:25.990745
2019-07-03T09:40:59
2019-07-03T09:40:59
191,754,203
36
2
null
null
null
null
UTF-8
R
false
true
479
rd
resume_navbar.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nav.R \name{resume_navbar} \alias{resume_navbar} \title{A Resume Navbar} \usage{ resume_navbar(refs = c(a = "A"), image = "img/profile.jpg", color = "#bd5d38") } \arguments{ \item{refs}{a named list with names being the ID and Elements bein...
778864cf9423371587eac074e71ff908e40ae536
5e6636f824327482c44c0f175387c39801fd1e02
/Week 3/Yelp analysis.r
aa0fc79cea16eaf7094e9e9080cf48ec0cecde86
[]
no_license
funshoelias/social_media_data_analytics
05f2ca0b27fa93a896544e8b62e2651d6b2ee37f
972a6f65aa85e49ad3f1f80a1ee44eca28d3e9ec
refs/heads/master
2021-02-16T18:09:53.229809
2018-08-10T20:19:32
2018-08-10T20:19:32
null
0
0
null
null
null
null
UTF-8
R
false
false
1,547
r
Yelp analysis.r
#Library import for visualizations library(ggplot2) #Reads the file with the data business_data = read.csv(file.choose()) #Plots a bar chart with state frecuency ggplot(bussiness_data) + geom_bar(aes(x=state), fill='gray') #Plots a bar chart with stars given frecuency ggplot(bussiness_data) + geom_bar(aes(...
905fbb4194e22f6322dea8d6cc5663074b5a0fbf
958dbd91e440179034554cdd57f7a7b0cb58dc23
/R/create_tidytuesday_dictionary.R
eeed207ab65a4bc117a508b0b8546c3348b1e281
[ "MIT" ]
permissive
jthomasmock/tidytuesdaymeta
4cc39ab7d75288bb0191bfe767be53a40f64ce07
fd0e3434065e12764ba8c8c9837a053a5a16589a
refs/heads/master
2022-12-11T05:49:08.949944
2022-12-06T00:59:57
2022-12-06T00:59:57
228,060,431
2
3
null
2020-02-01T17:32:59
2019-12-14T17:20:05
R
UTF-8
R
false
false
402
r
create_tidytuesday_dictionary.R
#' Create the TidyTuesday data dictionary #' @param x an in memory data.frame or tibble. #' @importFrom dplyr mutate #' @importFrom tibble tibble #' @importFrom knitr kable #' @export create_tt_dict <- function(x) { tibble::tibble(variable = names(x)) %>% dplyr::mutate( class = purrr::map(x, ty...
2b746ae5b8eb25ea051a40caafa4da1089fb40d1
44a71491f4ebc032aaabf236f9740d149c84cafd
/Chapter_3/Chp_3_Example_12.R
7837653b482b7353d22b213c0c897941349350ae
[]
no_license
artofstat/RCode
82ae8f7b3319888d3a5774fe2bcafbae3ed17419
8e8d55d1ac4bc111e5d14798f59033d755959ae5
refs/heads/main
2023-03-22T03:17:45.284671
2022-08-15T18:09:08
2022-08-15T18:09:08
503,484,584
1
0
null
null
null
null
UTF-8
R
false
false
2,037
r
Chp_3_Example_12.R
############################################################# ## R code to reproduce statistical analysis in the textbook: ## Agresti, Franklin, Klingenberg ## Statistics: The Art & Science of Learning from Data ## 5th Edition, Pearson 2021 ## Web: ArtofStat.com ## Copyright: Bernhard Klingenberg ######################...
465478f03423df13effe099eee7c34f09a1f88b6
2de7dd08c59fbef410beb8a04363da73653800ac
/results/3_speaker_prosody_neutral_question/rscripts/analysis.R
89c5eea1d64d4e28a2bba7d6754e343d9e110055
[]
no_license
thegricean/speaker_prosody
ae7d0c3bc845486ef0adecd875e5d7309b29dacc
f60e843ce8c0713b29c20ebc2bed8aedfc5813d9
refs/heads/master
2021-09-24T03:07:44.457920
2018-10-02T09:15:51
2018-10-02T09:15:51
110,048,033
0
1
null
2018-01-29T02:57:41
2017-11-09T00:49:38
JavaScript
UTF-8
R
false
false
5,648
r
analysis.R
# load helper functions source('helpers.R') # load required packages library(tidyverse) library(forcats) theme_set(theme_bw()) # load raw data d = read.csv("../data/speaker_prosody.csv") d$trial = d$slide_number_in_experiment - 2 nrow(d) length(unique(d$workerid)) # check standard things: # experiment completion ti...
e8e8383f8837844980a6d060c043c04575ca7dc9
708858a0fb308cccd01caeeb8072be5da96f651a
/preprocessing.R
c7fdf746fab89c1b98ecb03356e119a2230ecc9b
[]
no_license
ja-thomas/Consulting
fbc85cd3459fe74b611188f3752f563ad33287b0
18f61c3bfc65087c653faa9c0b89a2302321f64d
refs/heads/master
2021-01-18T15:23:11.127232
2015-08-21T11:39:51
2015-08-21T11:39:51
32,466,487
0
0
null
null
null
null
UTF-8
R
false
false
1,732
r
preprocessing.R
options(scipen = 999) library(MoCap) library(data.table) library(plyr) setwd("~/Uni/Consulting/Code/") load("../Data/data_processed.RData") #remove casts with negative z-Values data <- data[!(person=="Proband 3" & course_Id %in% c("Vor zurueck","Laufen (2)","Drehen gegen UZS"))] data[, timestamp:=as.character(ti...
1f466d93dafef4f5804f05e12ed229235b973809
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/caffsim/examples/caffPkparam.Rd.R
558f4be60881a6fb1abbc7fcc66ffccd9e37e7bd
[]
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
222
r
caffPkparam.Rd.R
library(caffsim) ### Name: caffPkparam ### Title: Create a dataset for simulation of single dose of caffeine ### Aliases: caffPkparam ### ** Examples caffPkparam(Weight = 20, Dose = 200, N = 20) caffPkparam(20,500)
b10570bf2676e65cdce7295669125420e1a71cbc
24b869a14a81cc34735ae3e03c9dfc7e78df5749
/convert_bear_snp_data_to_vcf.R
ee7a69e5fb4a198c5a63a0bd34cc3df010a65b1c
[ "MIT" ]
permissive
griffinp/polarbear
bcf1db914f26057520ddd6b556f78faec13fd4c5
35d51a852a0a2b415a5e1e614b9690bc532ab053
refs/heads/master
2020-09-21T20:35:28.037305
2016-08-25T01:45:23
2016-08-25T01:45:23
66,513,404
0
0
null
null
null
null
UTF-8
R
false
false
5,637
r
convert_bear_snp_data_to_vcf.R
# This is a script to convert the custom SNP genotype format for the # files from Liu et al. (2014) 'Population genomics reveal # recent speciation and rapid evolutionary adaptation in # polar bears" doi:10.1016/j.cell.2014.03.054 # to VCF format. # The files were downloaded from http://gigadb.org/dataset/view/id/1000...
7becfcdacd66c456f642bedee0cb6d88ec14cb02
ddc2b096e681398f576a95e40c7fd366b65f50a2
/SDPSimulations/SurveySummaries.R
3a0f7d0536e219659f2141de21268b57dbc2e565
[]
no_license
sbellan61/SDPSimulations
f334d96743c90d657045a673fbff309106e45fce
cfc80b116beafabe3e3aed99429fb03d58dc85db
refs/heads/master
2021-03-27T20:48:25.857117
2017-09-19T20:13:37
2017-09-19T20:13:37
21,144,447
1
0
null
null
null
null
UTF-8
R
false
false
22,566
r
SurveySummaries.R
###################################################################### # Create a data frame with one row per country (dframe) or per ## survey (dframe.s) with accompanying summary characteristics. ###################################################################### rm(list=ls()) # clear w...
cbfd994937d8b501e09ced43b80885cfc539f1a8
cf90e90591d94cb82e07ba983fe5792d82aa344b
/CLibraryMrEEngine/SanovTheoremMrE.R
714d9542a69ed1ee71f6818257b4b52cb450925d
[]
no_license
ProvenSecureSolutionsLLC/CFT2-MrE
959a2627e4aa46ed9a5797536d3bb0bfa2a45cc5
552ac25a43f78dd992cae944d965aa825f7d3203
refs/heads/master
2021-05-29T14:14:41.080368
2013-11-15T14:05:02
2013-11-15T14:05:02
12,085,574
0
0
null
null
null
null
UTF-8
R
false
false
1,767
r
SanovTheoremMrE.R
SanovTheoremDistribution <- function(x) { var1 = as.double(x[1]) var2 = as.double(x[2]) return( (var1 ^ as.integer(11)) * (var2 ^ as.integer(2)) * ((as.double(1) - var1 - var2) ^ as.integer(7)) ) } SanovTheoremSamplingConstraint <- function(x) { # Definition of this constraint is: # if it i...
2056ea29c8fee9dbd0da27bd5d29645519c8da08
52338354bc84c147cde8caf40aa71f1f77462973
/man/export_table.Rd
2ffe4e2683bf5f30ed5059a705a7ebeeacf1d92b
[]
no_license
intiluna/flyio
b420d43724ca5a18011f0f2b1de49c75caf904d6
a226fedcdb59818b50445383ffc15378d9cb6205
refs/heads/master
2023-05-25T00:46:06.349036
2020-02-11T10:55:21
2020-02-11T10:55:21
null
0
0
null
null
null
null
UTF-8
R
false
true
1,276
rd
export_table.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/export_table.R \name{export_table} \alias{export_table} \title{Write csv, Excel files, txt} \usage{ export_table(x, file, FUN = data.table::fwrite, data_source = flyio_get_datasource(), bucket = flyio_get_bucket(data_source), dir = flyio_...
4d549c99795d97e6849c2bc699d397d2256ada9d
623862ef7ffa7051fea79bf81ce820f1c4b7dea0
/plot4.R
bbd63fe3153b978913b731f47f1c283cceecee5d
[]
no_license
ilakya-selvarajan/ExData_Plotting1
aad39d43f1b8652a891878fca63a44fab6a812e4
5323a92e62e9b881aeb319492750c6b381793e53
refs/heads/master
2021-01-18T05:36:10.605715
2015-01-11T17:01:24
2015-01-11T17:01:24
28,930,677
0
0
null
2015-01-07T19:42:13
2015-01-07T19:42:13
null
UTF-8
R
false
false
1,034
r
plot4.R
png('plot4.png') #To save plot1 in PNG format par(mfrow = c(2,2)) #To produce the plots in 2 rows and 2 columns #To convert the Date and Time variables to Date/Time classes my.data$day <- strptime(paste(my.data$Date, my.data$Time), "%d/%m/%Y %H:%M:%S") #used multiple base plots with(my.data, { plot(day,Global_active_...
deff2083e19d95c67f1d2e827dcd8f6c91ec47f9
8f0c3b7855f87d048a22f78c46699b1e09c7b6dd
/Onestep normal Return_Final.R
3d07f5afd1b48426024f7d3c8d8f0fb726b0487c
[]
no_license
yangh9596/Momentum
f57127472bcd03936cacc9eb70b130cdbfa93d64
d2796e3f9ac63cf12336155cdd40009b079c82f8
refs/heads/master
2021-01-01T04:29:42.787963
2018-07-15T18:45:08
2018-07-15T18:45:08
57,429,491
0
0
null
null
null
null
UTF-8
R
false
false
4,198
r
Onestep normal Return_Final.R
# ======== Part 0 Markdowns ============ setwd("/Users/yangh/Desktop/HKUST/FINA4414/Project") # please set working directory by yourself # PACKAGES NEEDED library("zoo") library("backtest") # ======== Part 1 INPUT DATA ============ dat <- read.csv("prices.csv", sep = ",", header = TRUE,...
73fff95e292e0a22c1b061bec53ee46f3ce2a18b
804019e5175b5637b7cd16cd8ff5914671a8fe4e
/may20_scenario4.R
15d6ee3d031cec06ef4f22e5e2b6b179740fe55f
[]
no_license
jejoenje/gmse_vary
dde8573adeff9d9c6736a7a834a0a8942c5fcc5d
057a36896b3b77a0a3e56d1436abe7a45e38cc2d
refs/heads/master
2022-11-28T11:31:54.294640
2020-08-03T10:12:42
2020-08-03T10:12:42
197,375,284
0
0
null
2019-12-10T21:08:45
2019-07-17T11:21:27
HTML
UTF-8
R
false
false
3,429
r
may20_scenario4.R
rm(list=ls()) library(GMSE) source("helpers.R") source("gmse_vary_helpers.R") source("parasMay2020.R") ### Setup output folder: # Output scenario name: scenario_name = "may20_scenario4" ### Scenario-specific parameters ov = 0.5 # Setup/check output folder: out_folder = paste0("sims/",scenario_name,"/") if(!dir.exis...
a618bd88fa9ae89dba7aa0be158ac518251cd2fe
ea8b2c95027f7ffb809c517fd2fc7206fd978ddb
/Postwork_1/Postwork_01.R
f37c1f1e42bf680006906c096f5aecab9ddb061f
[]
no_license
MontseMoreno/BEDU-7_R
5628aff327188530c0134fef1f1661271d83414b
e99387b52b208fb5a48b70adb6b4adf5d1aa8723
refs/heads/main
2023-05-30T16:17:12.530486
2021-06-25T01:23:29
2021-06-25T01:23:29
380,118,936
0
0
null
2021-06-25T04:00:31
2021-06-25T04:00:30
null
UTF-8
R
false
false
1,131
r
Postwork_01.R
# 1.1 Importa los datos de soccer de la temporada 2019/2020 de la primera división de la liga española df.liga <- read.csv("./data/SP1.csv") # 1.2. Extrae las columnas que contienen los números de goles anotados por los equipos que jugaron en casa (FTHG) # y los goles anotados por los equipos que jugaron como visi...
984abd053b549e0bd7bb49eb3b7326b358853783
0ea5ca6a823bc4f1da0732659309ffddf21bec4e
/man/preparePsPlot.Rd
2de304d69d6a92ab8166013e7b86de8922882ef0
[ "Apache-2.0" ]
permissive
louisahsmith/EvidenceSynthesis
04b74449820c924fae46ac91298b0950fdeb5c5d
aee99c04c8d6869fb0bf4d46a3662ea94a768b8a
refs/heads/master
2023-06-23T00:28:39.821302
2021-02-10T14:34:50
2021-02-10T14:34:50
null
0
0
null
null
null
null
UTF-8
R
false
true
1,950
rd
preparePsPlot.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CohortMethod.R \name{preparePsPlot} \alias{preparePsPlot} \title{Prepare to plot the propensity score distribution} \usage{ preparePsPlot(data, unfilteredData = NULL, scale = "preference") } \arguments{ \item{data}{A data frame with at least ...
a6cf2135c3c2842cde65f15df2699e1dea15812e
495b69d415c88dd851fad7f169301070b4fadd38
/SensusR/RProject/man/plot.RunningAppsDatum.Rd
08de621488880acb350b588c29e66e6524bfbe6b
[ "Apache-2.0" ]
permissive
fandw06/sensus
f63321210bf7948d7c6eddb01ddebd1a5bce9a6a
51f9588221d71a32bdab933a84fac487ba616809
refs/heads/master
2021-01-15T17:56:23.079171
2016-06-21T11:46:58
2016-06-21T11:46:58
null
0
0
null
null
null
null
UTF-8
R
false
true
473
rd
plot.RunningAppsDatum.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/SensusR.R \name{plot.RunningAppsDatum} \alias{plot.RunningAppsDatum} \title{Plot running apps data.} \usage{ \method{plot}{RunningAppsDatum}(x, ...) } \arguments{ \item{x}{Apps data.} \item{...}{Other plotting parameters.} } \description{ Pl...
379d8acb320bc0a74ff6dc4b2ddbe135f82a3a30
7218dd41cbe126a617485cd463f9d6a93dfc1eb9
/man/ordinal_me.Rd
0d0d72b72391806d21c273ffd5fe00a49729425a
[]
no_license
almartin82/MAP-visuals
0c171b37978cefed94d46336457e0ef8a672c669
28102126dc4b40c6566a6f20248d4f871613253a
refs/heads/master
2021-01-10T19:22:04.324129
2015-06-11T18:38:42
2015-06-11T18:38:42
10,979,358
1
1
null
2015-02-05T19:41:56
2013-06-26T21:16:19
R
UTF-8
R
false
false
368
rd
ordinal_me.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/ordinal_me.R \name{ordinal_me} \alias{ordinal_me} \title{Ordinal me} \usage{ ordinal_me(number) } \arguments{ \item{number}{a number} } \value{ returns a string } \description{ \code{ordinal_me} appends the appropriate ending ('st', '...
25b0d0e61e5790976fac6ce4b56d292ddcfd1c13
2a17c73ec61ca0c808f70f41e2e23bb4da53483d
/Plot2.R
03842b6017faa9e4a541dce83a2b43f243448425
[]
no_license
dberma15/ExData_Plotting1
633b39d3995be874e219eef439727b292ed6759e
d0add817416a8108ab0c7b8a01dcd91de787990d
refs/heads/master
2020-12-25T04:36:43.634068
2015-02-08T16:11:28
2015-02-08T16:11:28
30,482,421
0
0
null
2015-02-08T05:52:23
2015-02-08T05:52:23
null
UTF-8
R
false
false
860
r
Plot2.R
setwd("C:\\Users\\daniel\\Documents\\R") householdPowerConsumption <- read.table("household_power_consumption.txt", sep=";") isFirst<-householdPowerConsumption[,1]=="1/2/2007" isSecond<-householdPowerConsumption[,1]=="2/2/2007" isFirstOrSecond<-isFirst|isSecond householdPowerConsumptionSubset<-householdPowerConsumption...
8f21516e50766352c919730f3e85a588db6d9681
b7c5386994fe7139f04fa1b94fba85d827a1a22e
/scripts/covars/10_countries.R
8249d419d5f5d7430c943be31beaed66bda92afa
[]
no_license
jejakobsen/msc
f8dcbb20105344f300adbceb8614f8fadc6e8407
24cb60603f0510d061eb67b1191b96a7a53187ea
refs/heads/main
2023-05-05T08:25:08.315474
2021-05-28T21:09:22
2021-05-28T21:09:22
371,814,617
1
0
null
null
null
null
UTF-8
R
false
false
9,910
r
10_countries.R
setwd(dirname(rstudioapi::getSourceEditorContext()$path)) ### Define transformation function for parameters ### ### and negative log-likelihood function ### transform.est.params <- function(N.countries, p){ param_matrix <- matrix(NA, nrow=11, ncol=N.countries) for (i in 1:N.countries){ param_matrix[1...
1a61c30f36e61a182d1614adaf8a5fbbbbeb6dbf
79062e15adcb70300c0c857798956ba83093e839
/man/simulateFactorModelNullsFromSingularValuesAndLoadings.Rd
2da712f42fc5f782ce39cef30464c1da11e30e53
[]
no_license
angeella/sanssouci
0fa2b9d59e22d50fdc00fff844b17568becb4d36
9455dd754e21046f6424b2daac4fa9d9c07c4c20
refs/heads/master
2020-06-24T00:51:59.064339
2019-01-18T16:10:53
2019-01-18T16:10:53
198,800,090
0
0
null
2019-07-25T09:25:37
2019-07-25T09:25:36
null
UTF-8
R
false
true
1,771
rd
simulateFactorModelNullsFromSingularValuesAndLoadings.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulateFactorModelNullsFromSingularValuesAndLoadings.R \name{simulateFactorModelNullsFromSingularValuesAndLoadings} \alias{simulateFactorModelNullsFromSingularValuesAndLoadings} \title{simulateFactorModelNullsFromSingularValuesAndLoadings} \...
522ecb19dc93148719bcd943c1b889abf44f9c10
0833bdcee54f0a83b086bcd3b15069966601d967
/R/geom_half_violin.R
7349d21ad0caa74142796395db91ca02cb60a36a
[]
no_license
oracle5th/gghalves
f83cacb4522817859f62dcc814bc58c40d693fed
2e6e92c1371957948abbed63d642fc39b8ffab47
refs/heads/master
2023-09-05T18:34:24.729530
2021-03-06T12:13:58
2021-03-06T12:13:58
null
0
0
null
null
null
null
UTF-8
R
false
false
3,855
r
geom_half_violin.R
#' Half Violin plot #' #' A violin plot is a compact display of a continuous distribution. It is a #' blend of [geom_boxplot()] and [geom_density()]: a #' violin plot is a mirrored density plot displayed in the same way as a #' boxplot. #' #' @inheritParams ggplot2::geom_violin #' @param side The side on which ...
d886a1b4df9b3c6b246485344dace2e5f0b69e38
04f2d3b686574c02e73ad7e1113afa0c30ae69e2
/6 - Create Combined Grid Sightings.R
59c3a1ec6b62bf07aedb22448f6902428b514dc5
[]
no_license
granterogers/DMAD_Encounter_Rate
b18f25ce2a351ffca7ed8ad90a36f672d3ef2020
0aedf547aa22881b482033d0d962d95bf09065fa
refs/heads/main
2023-03-16T11:30:24.634521
2021-03-03T11:46:00
2021-03-03T11:46:00
344,105,997
0
0
null
null
null
null
UTF-8
R
false
false
3,846
r
6 - Create Combined Grid Sightings.R
## R Script to Create Combined Land & Boat Survey Sightings Grid ## Broken into 4 Stages ## ## 1) Import Empty Hexagonal Grid ## 2) Import Boat Sightings ## 3) Count points in polygon to get Boat Sightings in Each Grid Cell ## 4) Import Land Sightings ## 5) Count points in polygon to get Land Sightings in Eac...
5b06d34724a3f5a72fab212b0d1c69a38b1a58f1
76371ca11e03f754f0613c953a539612c56aabcb
/model/LightGBM_01_BaseLine/LightGBM_01_BaseLine.R
acc36b7dabbc8aba35ff3276feeda81d320f25fa
[]
no_license
you1025/probspace_salary
cc26b152d152b098cd764f7cdbf5c8e4eb83b824
e78b62397cce1585d81bcb039a9237145a1f94dd
refs/heads/master
2022-04-01T00:44:33.099781
2019-12-20T04:15:58
2019-12-20T04:15:58
null
0
0
null
null
null
null
UTF-8
R
false
false
6,660
r
LightGBM_01_BaseLine.R
# TODO # - 適当なパラメータ探し(OK) # - 対数変換(OK) # - 特徴量の追加 # train_mae: xxxxxxxx, test_mae: xxxxxxxx - xxx # train_mae: 1188.048, test_mae: 1177.353 - 初期値 # train_mae: 60.50451, test_mae: 60.79072 - min_data = 2500 お試し # train_mae: 226.4191, test_mae: 226.4209 - ベースラインとかいいうのに合わせた orz # R と python で初期値が異なるのかな??? # train_mae: 1...
08f0ee1d6c033aef22e3698b78bb8a4d3e9406f7
faa22e1df31862fbef2031c56505f2075714be3c
/R/solveneardot.R
c56f1bb70c60790b1f5b630cc53dae033461ccb5
[]
no_license
psolymos/ResourceSelection
f10a67f07c82f91664f77faefd6e015f47829934
cd971b69a9e55e31f7d6401b85fecf22d52e0765
refs/heads/master
2023-07-10T10:18:00.535286
2023-06-27T20:44:17
2023-06-27T20:44:17
25,499,267
7
6
null
2016-11-04T16:56:01
2014-10-21T03:07:55
R
UTF-8
R
false
false
200
r
solveneardot.R
## robust matrix inversion .solvenear <- function(x) { xinv <- try(solve(x), silent = TRUE) if (inherits(xinv, "try-error")) xinv <- as.matrix(solve(Matrix::nearPD(x)$mat)) xinv }
f559a54523ed1fc5e233fdfaa7a77c43bce2fae0
ef2182021ae6275ae0cd8107e3d3513d0ae987da
/R/fct_plot_data.R
94e88b3279e09bd241e3158e63f8de09d43f16d3
[]
no_license
markclements/schedule
258b74aa994b0a9e4921203a69051df4b11787df
4a4d0e90e45719ff0f57a5b8c2ec3d0203c79381
refs/heads/master
2022-08-21T22:01:57.814091
2022-07-29T16:37:08
2022-07-29T16:37:08
197,422,061
0
0
null
null
null
null
UTF-8
R
false
false
1,816
r
fct_plot_data.R
#' plot_data #' #' @description A fct function #' #' @return The return value, if any, from executing the function. #' #' @noRd plot_schedule <- function(df, fill) { times <- c(stringr::str_c(1:11, " AM"), "12 PM", stringr::str_c(1:11, " PM")) days <- c("Mon", "Tue", "Wed", "Thur", "Fri", "Sat") ggplot2::...
04d7414c3d771f839f0ebc248a830fa660ebfcbe
7cec7d1d0ab0c0ab189919ba41f6a311cf5387fc
/scripts/hulpfuncties_20220201.R
c1000d7c87d0b631b60a7f870272125d47414add
[]
no_license
gerardhros/WaternetAnalyse
d2c0cfea95124aa41dbbf5da8414850d6eb1bc2a
e2706db83347ebe1d24135644b7985b65f1f91fc
refs/heads/master
2022-06-05T10:17:48.660377
2022-05-16T10:29:13
2022-05-16T10:29:13
221,250,355
1
2
null
2020-06-04T08:09:41
2019-11-12T15:29:21
HTML
UTF-8
R
false
false
51,991
r
hulpfuncties_20220201.R
#packages require(dplyr);require(tidyverse); require(ggplot2);require(gtools);require(RColorBrewer) require(devtools) require(gvlma) require(htmlwidgets) require(mapview) require(sf);require(rgdal) require(raster) require(data.table) require(RColorBrewer) require(leaflet) require(rgeos) require(maptools) #...
2edb61462fe98f511f45b00362587e65365ccba9
f1d6cbb0d0e0518494be620235385d4840ee248a
/PhysicalRecognition.R
4ab46c524b390ab262b35625830fc5181f63fd2f
[]
no_license
renefreichel/personality_prediction
82c09d2593dacc4d09d1041730a1a2555f6964b5
d9db65337bbe389a81bb93b831da316e5475801e
refs/heads/master
2023-01-04T17:32:24.593287
2020-10-27T08:09:18
2020-10-27T08:09:18
null
0
0
null
null
null
null
UTF-8
R
false
false
27,199
r
PhysicalRecognition.R
# %% [markdown] # # Team Skip, Cathelijne & René # %% [markdown] # In this notebook we will implement various methods to find a good model. It's important to point out that during the first round submission we only included the code of the final model and not all the different things that we tried out. Eventually we e...
c3b6b84ca76aae4bed10c80ea1ae5f193fe8ec30
b68ea561a0d58bdcb56edb14eb09b7caa62a807d
/run_analysis.R
e12556572c80fa4db06e0de733b475dcb35bc131
[]
no_license
vigmanu06/Getting-and-Cleaning-Data-Course-Project---Feb-2016
16f7aac6618f318ce0f3e23a12f5611a7b8de4ae
30d8d02435fb79ea4d636f74c8a5a591f927de15
refs/heads/master
2021-01-10T02:00:26.959026
2016-02-09T17:37:15
2016-02-09T17:37:15
51,384,965
0
0
null
null
null
null
UTF-8
R
false
false
2,460
r
run_analysis.R
# 1) Merges the training and the test sets to create one data set. subject_test <- read.table('D:/370140/R Programming/Workspace 1_3rd July 2014/getdata-projectfiles-UCI HAR Dataset/UCI HAR Dataset/test/subject_test.txt') subject_train <- read.table('D:/370140/R Programming/Workspace 1_3rd July 2014/getdata-projectfi...
fce55ba5eb284d3c0d0fab2364fa4a236495b29f
1872d7bda348a3e3efd64bd83be76205c6eb242f
/R/email_validate.R
e703568b8c5a674641452a88a663ac0a917fe46b
[]
no_license
azradey/email-validation
850f2ee05bbdc80b11e04f04aaaf65b479f536ac
6f4d74221dfecbf23ea97e74de1d7412a6edc07d
refs/heads/master
2020-03-19T06:18:36.256295
2018-06-04T10:31:02
2018-06-04T10:31:02
136,009,213
0
0
null
null
null
null
UTF-8
R
false
false
272
r
email_validate.R
#' Validate email address #' #' #' Calculate the length of the perimeter of an ellipse. #' #' @param e email. #' @return if valid email #' @export email_validate <- function(e) { grepl("\\<[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\>", as.character(e), ignore.case=TRUE) }
6302d8198dbf86dec6f64b8cc3a85a82161e3a48
f71db8d5c0f397bce11675a90e506f42d6d73c35
/Data Manipulations.R
a9585e30f128199d830802c3af41f29fd5d8a25d
[]
no_license
DenzMaou/Data-manipulation
c028e316c550114741d9c25eb1c03fca37062e75
a54a16dbd576f9ee55e388aa33a157d4c372253e
refs/heads/master
2022-10-09T22:01:38.764262
2020-06-12T07:31:35
2020-06-12T07:31:35
271,736,658
0
0
null
null
null
null
UTF-8
R
false
false
2,165
r
Data Manipulations.R
getwd() setwd("C:/Users/USER/Desktop") loadedNamespaces() update.packages() Fish_survey<- read.csv ("Fish_survey.csv", header = TRUE) str(Fish_survey) head(Fish_survey) install.packages("tibble") library(tibble) install.packages("tidyr") library(tidyr) install.packages("Rcpp") library(Rcpp) ins...
efcfa2b0bf7161b15260ef08ca08b7a6158b9b51
af142fbc7a5c36557015e59f32c6fc1369e85b1d
/R/truncgridr.R
eed0978c9fe349974d194437163acdab6e65e18a
[]
no_license
TheoMichelot/localGibbs
fdbd5dbab06c98aa02b2979d4a06ee8fc6db8359
e1dd16b41e2e6c03ac7a1aedc92cba47b923d2a0
refs/heads/master
2022-05-08T05:10:22.329007
2022-03-09T15:41:47
2022-03-09T15:41:47
135,612,759
0
0
null
null
null
null
UTF-8
R
false
false
1,335
r
truncgridr.R
#' Truncate the sample of avilability radii #' #' @param rdist Distribution of availability radius r. Can be #' "exp", "gamma", or "weibull". #' @param shape Shape parameter of r distribution (NA if r~exp) #' @param rate Rate parameter of r distribution #' @param ID Vector of track IDs #' @param xy Matrix of observed ...
f09fc4869d03be9e9f5e16ab5a9793bc0b7a1181
6873c70aba0cfe0b297481a8f0e604ba4fc38eec
/man/betaResults.Rd
a98b94d0def5473f61d7bc8a1d060680f37da5f4
[]
no_license
KatjaHebestreit/BiSeq
71c23711395b4c688a1375df4370a68f4306da66
f33f5f1c17882d645a73cb9e087a6fb1556107be
refs/heads/master
2021-04-18T15:40:02.218531
2020-03-28T00:27:12
2020-03-28T00:27:12
249,558,625
0
0
null
null
null
null
UTF-8
R
false
false
846
rd
betaResults.Rd
\name{betaResults} \alias{betaResults} \docType{data} \title{ The output of \code{betaRegression} } \description{ Please see the package vignette for description. } \usage{data(betaResults)} \format{ A data frame with 4276 observations on the following 10 variables: \describe{ \item{\code{chr}}{a factor...
c683a0a8dd9f7d48cf517f159d82477a21377eb7
a10b69e74bf440015bcc90d6b9fb62dbbdd819d3
/cachematrix.R
a29366befa511682823915370188e368808a5af3
[]
no_license
vrann/ProgrammingAssignment2
0c8b714cae7a9e48944bb9b83d0fc8c66b0ac22d
1997fb5be2bdfcd6089095148337518fe130e3d2
refs/heads/master
2021-01-17T12:42:04.082300
2014-04-26T22:34:53
2014-04-26T22:34:53
null
0
0
null
null
null
null
UTF-8
R
false
false
1,442
r
cachematrix.R
## Set of Functions which allows to calculate inverse of the matrix. ## In order to optimize performance, matrix is cached once it's inverted, subsequent calls will return the cached copy ## makeCacheMatrix creates a list of functions to store original matrix and its inverse ## cacheSolve calculates inverse based on th...
1fe7ac135120eca15caabf2bd72e073087c90afd
6904f37c4bd3fc269a9f27d80474df5eef2ab1fd
/R/mCSEATest.R
ece4a8d49f4e11f017cd680f4a7a7b21e00d1a35
[]
no_license
jordimartorell/mCSEA
cd8300650d1e96249440d8f924f727420cca67f4
dd10e9abcdff124706e3cf4c0c234026a58eb04b
refs/heads/master
2022-04-04T13:43:49.958826
2020-02-20T08:15:06
2020-02-20T08:15:06
110,973,043
1
1
null
null
null
null
UTF-8
R
false
false
8,297
r
mCSEATest.R
#' mCSEA core analysis #' #' Perform a methylated CpG sites enrichment analysis in predefined genomic #' regions #' #' @param rank A named numeric vector with the ranking statistic of each CpG #' site #' @param methData A data frame or a matrix containing Illumina's CpG probes in #' rows and samples in columns. A Summa...
deab61cdbb46ba563e553469a180b3ac501f5fb3
0124b6a02692905922a3a8992cb123bb8e039e6b
/evaluateTimings_safetosource.R
912790c70b8a654b96ed89100226e355dc1888f9
[ "MIT" ]
permissive
pedlefsen/hiv-founder-id
ebcadf9563549fb9932237e148a0c93609d856f3
50ba8d2757cb3be15357b4bdeaea3fe0d2680eea
refs/heads/master
2020-12-24T05:58:03.939103
2019-07-07T21:36:09
2019-07-07T21:36:09
42,635,031
3
3
MIT
2019-02-08T12:36:25
2015-09-17T04:32:20
R
UTF-8
R
false
false
146,473
r
evaluateTimings_safetosource.R
## First do all the stuff in README.postprocessing.txt. library( "parallel" ); # for mclapply library( "glmnet" ); # for cv.glmnet library( "glmnetUtils" ); # for formula interface (cv.glmnet.formula): see https://github.com/Hong-Revo/glmnetUtils source( "readIdentifyFounders_safetosource.R" ); source( "getDaysSinceI...
a2dd0971e741af0be92ff644fc6ba424bea4b1a3
905274a91e57dcff9484aee8abaabfd3f7df4eb3
/R/bashDirections.R
0b6483b5d9358012af94447b007978ccaaf41afa
[ "MIT" ]
permissive
girouxem/Colletotrichum
10e97f786c3863653ee5c1e776d645a26b60f358
ad99bc2ba6d64e7daf91453222b28234c82fa17a
refs/heads/master
2023-03-09T06:59:14.528989
2023-02-22T22:20:29
2023-02-22T22:20:29
191,385,440
0
0
null
null
null
null
UTF-8
R
false
false
372
r
bashDirections.R
bashDirections <- paste(" '############################################################################### ##### ***** SUBMIT BASH FILE FROM HEAD NODE, AND WAIT FOR COMPLETION ****###### ##### watch output from this command in the console ###### ##################################################...
77c62ae6ab99440d62329424fcf23cfd880316f1
8b4f8770b2d7cf171d0d5ebc371aa18a4e18663c
/R/surrogate_nn.R
c6a9cb425deead8912c60b4310562e35616f4785
[]
no_license
LinSelina/rlR
048e5f329f41079d460aae4a54611bc84ac3f3f2
e0571de32e3a69aafa85c19515899c201656dcb4
refs/heads/master
2020-03-20T05:09:50.305044
2018-06-06T19:21:50
2018-06-06T19:21:50
null
0
0
null
null
null
null
UTF-8
R
false
false
3,217
r
surrogate_nn.R
SurroNN = R6::R6Class("SurroNN", inherit = Surrogate, public = list( lr = NULL, arch.list = NULL, initialize = function(actCnt, stateDim, arch.list) { self$actCnt = actCnt self$stateDim = stateDim self$lr = arch.list$lr self$arch.list = arch.list self$model = self$makeModel...
bc794d59e7af155674d6a0a47c542f944a87b0f7
3c8b8c66dbf43af57cf3cfe660072a95f0f422d6
/man/process_MCMC_sample.Rd
95134e9cb7afafbc41c3141fe067091171d1d93e
[]
no_license
rudeboybert/SpatialEpi
08802d87299ce3e8a1accc73f80d7da2aca7354c
08e5da8bc822ec620ed3aae56a5ac08650595695
refs/heads/master
2023-03-09T16:47:42.636282
2023-02-22T21:35:23
2023-02-22T21:35:23
20,269,160
22
8
null
2021-07-27T12:05:38
2014-05-28T19:10:05
R
UTF-8
R
false
true
1,205
rd
process_MCMC_sample.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/process_MCMC_sample.R \name{process_MCMC_sample} \alias{process_MCMC_sample} \title{Process MCMC Sample} \usage{ process_MCMC_sample(sample, param, RR.area, cluster.list, cutoffs) } \arguments{ \item{sample}{list objects of sampled configurat...
112c015c0554a37abece672d38a855d49f9063dd
12265f972c749881abbfecfd7d318a466ab387af
/man/get_cooper.Rd
896d7a91067a34957d2305012f1af5178457a964
[]
no_license
cran/HadamardR
ab10185cfc1d91a5a98ec5c3bf5289e009564ec5
0c455660b1f2d8fb0ebc2ae6e62180c4454b3932
refs/heads/master
2021-05-26T03:17:35.294417
2020-04-07T14:10:06
2020-04-07T14:10:06
254,030,652
0
0
null
null
null
null
UTF-8
R
false
true
923
rd
get_cooper.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_cooper.R \name{get_cooper} \alias{get_cooper} \title{get_cooper} \usage{ get_cooper(x) } \arguments{ \item{x}{integer Hadamard Matrix Order to Check} } \value{ m Tsequence order n Williamson order } \description{ This ...
68f9be325fbc6cc321d600a564ed97e7f16c68c7
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/pid/examples/manfacture.Rd.R
0c01d17e89e1358ce47e7efd009a4679527d11c0
[]
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
622
r
manfacture.Rd.R
library(pid) ### Name: manufacture ### Title: Simulation of a manufacturing facility's profit when varying two ### factors ### Aliases: manufacture ### ** Examples # Producing at the default settings of price ($0.75) # and throughput of 325 parts per hour: manufacture() # Let's try selling for a higher price, $1...
a5a3ddffd084a8f4bb4d44f5ecea71ab9a4b08dc
d86a1bb7037e535619e0b7d71284798f4c97b607
/Logistic Regression/Logistic Regression Phase 1/Phase1.R
833f50c735fed08511ae107ab5e706a07a1f989c
[]
no_license
mkshephe/Fall_1_Team_Work
cd0792a109f7c74d744f42f7814eba534df27588
6fc494aa61e72a1d73b103b1047bfd9d0e8f47e9
refs/heads/master
2020-07-14T04:55:18.704886
2019-08-29T20:21:08
2019-08-29T20:21:08
205,243,543
0
0
null
2019-08-29T20:16:22
2019-08-29T20:16:21
null
UTF-8
R
false
false
1,491
r
Phase1.R
############################################################################### # Phase 1 for Logistic Regression Homework # # Due September 6 # # Team Blue 5 # ...
2a294a54495eac2140b3353df624341b71f9c76e
ea524efd69aaa01a698112d4eb3ee4bf0db35988
/tests/testthat/test-snapshot-cleanup.R
51180c368c1030d556bb33d8e24e2c38dd995f5b
[ "MIT" ]
permissive
r-lib/testthat
92f317432e9e8097a5e5c21455f67563c923765f
29018e067f87b07805e55178f387d2a04ff8311f
refs/heads/main
2023-08-31T02:50:55.045661
2023-08-08T12:17:23
2023-08-08T12:17:23
295,311
452
217
NOASSERTION
2023-08-29T10:51:30
2009-09-02T12:51:44
R
UTF-8
R
false
false
1,948
r
test-snapshot-cleanup.R
test_that("snapshot cleanup makes nice message if needed", { dir <- local_snap_dir(c("a.md", "b.md")) expect_snapshot({ snapshot_cleanup(dir) snapshot_cleanup(dir, c("a", "b")) }) }) test_that("deletes empty dirs", { dir <- local_snap_dir(character()) dir.create(file.path(dir, "a", "b", "c"), recursi...
880495de44af11c6a2f93a04ff47f92e17d8bded
70f3e3227a7e60e92367d30b6dc2272648b77c04
/Chapters/mesh/r/latency-free.r
738df8f7cd6f24d600f606fdd70fd1f33af7b14f
[]
no_license
tenchd/thesis2
2f5cc1d8b8440629b5722ffc6b24d5ca444d5778
ac9b74745cc53b0949e953a2ac4c8fafb20e4ba2
refs/heads/master
2020-12-03T22:02:14.375329
2020-07-18T17:01:59
2020-07-18T17:01:59
231,499,618
0
0
null
null
null
null
UTF-8
R
false
false
3,690
r
latency-free.r
library(ggplot2) library(grid) library(scales) dat_mesh0n <- read.delim('../data/redis-latency/mesh0n.free.csv', header = TRUE, sep = ',') dat_mesh0n$alloc <- 'Mesh 0n' dat_mesh1n <- read.delim('../data/redis-latency/mesh1n.free.csv', header = TRUE, sep = ',') dat_mesh1n$alloc <- 'Mesh 1n' dat_mesh2n <- read.delim('...
f4e8dbc827043ad45d298941582afe795c6174fc
32694467865205579b98f15bf738d88c19fb954d
/tests/testthat/test_submission_validation_entity_inputs.R
0db2149783b8b4ae7f3c08754c78fee22011319a
[]
no_license
vjcitn/terraClientR
ee0dc11c00b8d707d023d93776637b5622c189b6
85ab30d88da3b4c3da9e36a9b2f9dbc7ab5f237a
refs/heads/main
2023-06-05T04:42:36.218619
2021-06-29T15:43:36
2021-06-29T15:43:36
381,414,881
0
0
null
null
null
null
UTF-8
R
false
false
687
r
test_submission_validation_entity_inputs.R
# Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate context("Test SubmissionValidationEntityInputs") model.instance <- SubmissionValidationEntityInputs$new() test_that("entityName", { # tests for the property `entityName` (character) # name of en...
0c54982642f54b42768cfdfad4db669dd0576975
c3e25193aa5734c9abb676e95b14bd0ede10e007
/plot1.R
e5419bce5fef7235cede15eb8a06ee924ed1b918
[]
no_license
mteremko84/EXPLORATORY-DATA-ANALYSIS-Assignment-
1f7b74e4e1f4a6a5ad9b3583984cf46817bdcd16
54c124aa366ed8c1250ea7fcfebff850ae0577ee
refs/heads/master
2021-01-10T06:49:36.819766
2016-02-28T07:40:20
2016-02-28T07:40:20
52,709,873
0
0
null
null
null
null
UTF-8
R
false
false
451
r
plot1.R
#Plot1.R code for assignment 2 setwd("C:/Users/JOHN/Desktop/PROJECT 2 exploratory data science") NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") aggregatedTotalYearly <- aggregate(Emissions ~ year, NEI, sum) png('plot1.png') barplot(aggregatedTotalYearly$Emissions, xlab="y...
a630887a2edd3aa7e101d93bfeedb3599777ee3d
3686818552f53deb37c782880b6604848da89a4c
/R-Tidyverse/R-tidyverse/codes/cleaning_data.R
73039f3dd5dca86052add5cb4bab4e67bf6880ab
[]
no_license
mariaulf4h/learn-R
f73425689217f40c95899447de6fb2f4afb8626c
bb2250f67f89eee3fcbd0690241dc545533a91ce
refs/heads/master
2021-06-16T17:39:06.959321
2021-01-26T23:57:34
2021-01-26T23:57:34
137,305,964
0
0
null
null
null
null
UTF-8
R
false
false
655
r
cleaning_data.R
library(readr) library(tidyverse) library(dplyr) library(haven) #import data bike <- readRDS("data/input/r_cleaning/bike_share_rides_ch1_1.rds") #cek data type glimpse(bike) # is.numeric(variable_name) -- return "TRUE/FALSE" # class() --- return "information type of data" # <dbl> == numeric # <chr> == ...
96a32d4a53e22e9004e7d52ad19e19c9931741ea
d6683c4b7c090c60886c1cbe134810f53015bd79
/analysis_script_github.R
06bbdc87292221cf30aad27f43f5bd146511f25d
[]
no_license
iamnielsjanssen/ArticulatoryDurations
dbbd49904167667f8f18f5dea592359f0feea5ce
35a136cdc6dbb3b6b63fed03867c0a530f938a52
refs/heads/master
2021-01-01T04:08:49.700900
2018-01-08T10:05:54
2018-01-08T10:05:54
97,130,428
0
0
null
null
null
null
UTF-8
R
false
false
8,283
r
analysis_script_github.R
# Data analysis of Articulation Data # # Niels Janssen and Anna Siyanova-Chanturia 2017 # # If you use this code for analysis that is published in an indexed journal or repository, please cite the following article: # Siyanova-Chanturia & Janssen "Production of familiar phrases: Frequency effects in native speakers a...
4f7fc49fb82cfd973ecc154ade352072cbcf26a8
5e93884d2d5ef99f50c88fe7ef3750f2bea5795f
/frame.R
4fbc7fa80f2723e10f32b9d4a9e19f1553c58692
[]
no_license
fall2018-wallace/hw7_maps_manan
d10ada8dad5ebcb41af3a822b7235c03377b7322
149b85f1a911ae5c15343e99793ce03cb4d8f647
refs/heads/master
2020-04-01T19:08:44.294050
2018-10-18T14:07:29
2018-10-18T14:07:29
153,537,651
0
0
null
null
null
null
UTF-8
R
false
false
87
r
frame.R
census_arrests1 <- data.frame(census_arrests,state.area,state.center) census_arrests1
3f848a5a520ca04c73298c18d3eda5d83e5e1302
0d7fd4f46398fa46f79963383758f26d057280ad
/plot4.R
7da95723ef92842d2b6c8c22c26d21f4597b762a
[]
no_license
andreagolfari/ExData_Plotting1
2d08d71158fc407888ba6a56f8401c07a7f4b6be
0b7284cb1501db91d00dfa19236a122b19ffeaf3
refs/heads/master
2020-06-08T17:39:34.208826
2019-06-23T16:49:36
2019-06-23T16:49:36
193,274,753
0
0
null
2019-06-22T20:03:00
2019-06-22T20:02:59
null
UTF-8
R
false
false
1,591
r
plot4.R
# P L O T 4 # Reading data from a Data folder within the directory rawdata <- read.csv("Data/household_power_consumption.txt", header = TRUE, sep=";", na.strings = "?", stringsAsFactors=FALSE) # Subsetting on the required dates data <- subset(rawdata, Date %in% c("1/2/2007", "2/2/2007")) data$Dat...
e37d4c5bc91369882931b7ec4f8b9a9bc12027f8
f36e545b20969996931a7c07c0a9e9d1e09dd72b
/man/makeSVD.Rd
3307414f51b385b8bceedec90724995501689430
[]
no_license
hcorrada/BatchQC
a98f5b15892b0793f240b7f28d3e62b95fc273d4
462e891ff433f2b154f37d06374af3ddd46f192b
refs/heads/master
2021-01-18T07:06:09.365539
2015-05-19T14:13:11
2015-05-19T14:13:11
34,738,129
1
0
null
2015-04-28T15:14:37
2015-04-28T15:14:37
null
UTF-8
R
false
false
372
rd
makeSVD.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/pca.R \name{makeSVD} \alias{makeSVD} \title{Compute singular value decomposition} \usage{ makeSVD(x) } \arguments{ \item{x}{matrix of genes by sample (ie. the usual data matrix)} } \value{ returns a list of svd components v and d } \d...
79908320009945a9ed826ebf498058644dcfd8ec
63dab8a00017248bc923e1321df33ab641cdba33
/ui.R
1a8653aa1878ad5cb1083b6c73007d6d8507034e
[]
no_license
LSB1990/Rshinyproject
86ddd2b7a2264e8c3a86a7d40073e8aa0e5f9ec2
3b43932e6680114b5ad60e021f6278245ddc4dc7
refs/heads/master
2020-07-03T03:41:25.626119
2019-08-11T14:10:27
2019-08-11T14:10:27
201,772,598
0
0
null
null
null
null
UTF-8
R
false
false
287
r
ui.R
library(shiny) shinyUI(fluidPage( titlePanel("Coursera: Developping Data Product Project"), sidebarLayout( sidebarPanel( numericInput("expinput", "experiment nr:", 1, min = 1, max = 5) ), mainPanel( plotOutput("distPlot") ) ) ) )
eeb190888d890cb58834b6e05589e83ccbe1d7fb
4976dace5f4a657fab1a7ab844dfeee196efd603
/R/stmv_predict_globalmodel.R
76493f014a2c665ec62e85a2df1b68139db30d72
[ "MIT" ]
permissive
jae0/stmv
f47118126975c0855c3be9d3e9afae05c7496f39
f0ec282030c924837317c08ff597141d011f4157
refs/heads/master
2023-08-07T18:43:38.607704
2023-08-01T13:13:16
2023-08-01T13:13:16
110,134,052
0
0
null
null
null
null
UTF-8
R
false
false
6,548
r
stmv_predict_globalmodel.R
stmv_predict_globalmodel = function( ip=NULL, p, Yq_link=NULL, global_model=NULL ) { if (0) { # for debugging runs .. p = parallel_run( p=p, runindex=list( pnt = 1:p$nt ) ) ip = 1:p$nruns # == 1:p$nt } if (exists( "libs", p)) suppressMessages( RLibrary( p$libs ) ) ooo = NULL if (is.null(ip))...
3d16c104e9ce4907a7e84e97c171a575025c3e93
3da183743d2023c3b4ce8478f2bbdc1999fdcccb
/R/collapse.singles.R
a680f9852fe419fada7cdfe0b213e8d586f1b7b8
[]
no_license
tanja819/TreeSim
d0ca6ffc5b84bc278b6aa7d627c0e4bb41e46506
7138f7b466a75d8fbff96e884a07b43e87826056
refs/heads/master
2021-01-19T06:43:45.401354
2018-10-25T06:21:57
2018-10-25T06:21:57
63,273,940
1
1
null
null
null
null
UTF-8
R
false
false
959
r
collapse.singles.R
collapse.singles <- function(tree) { elen <- tree$edge.length xmat <- tree$edge node.lab <- tree$node.label nnode <- tree$Nnode ntip <- length(tree$tip.label) singles <- NA while (length(singles) > 0) { tx <- tabulate(xmat[, 1]) singles <- which(tx == 1) if (length(si...
c4773e9dfbadecdb229bc5fa9f75dc9d783f72c1
bd81690d3b2f634b367ddf467d808ced5918d5af
/man/is_inst.Rd
5c73d86e1d580694c0a258cb5f9aa3d297c18bf7
[]
no_license
dataeducation/stackoverflow
24c3c3b67b41d4597ae6c64661b41a7f523a45b5
4598e85891171884c8757576658bf24b45d46e37
refs/heads/master
2022-11-27T23:21:37.119236
2020-08-01T15:23:12
2020-08-01T15:23:12
null
0
0
null
null
null
null
UTF-8
R
false
true
725
rd
is_inst.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/is_inst.R \name{is_inst} \alias{is_inst} \title{Check if package is available} \usage{ is_inst(pkg) } \arguments{ \item{pkg}{a character string with the name of a single package. An error occurs if more than one package name is given.} } \val...
2dddbaaeff5771648763adb512f0bd9f3a1c8876
36274ff152ee9dc37a25392acb9750c0ee356994
/man/is_data.frame.Rd
83c8c71f9f21175cafdc5c266f22d64d35f3ed1a
[]
no_license
cran/assertive.types
205021d83c306ce0e79c9355a95e41f715cffd3d
0b4f51f93659a34799357899f9c2ede9dcebd27e
refs/heads/master
2021-05-04T11:23:00.883941
2016-12-30T18:35:46
2016-12-30T18:35:46
48,076,813
0
0
null
null
null
null
UTF-8
R
false
true
1,001
rd
is_data.frame.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/assert-is-type-base.R, R/is-type-base.R \name{assert_is_data.frame} \alias{assert_is_data.frame} \alias{is_data.frame} \title{Is the input is a data.frame?} \usage{ assert_is_data.frame(x, severity = getOption("assertive.severity", "stop")) ...