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
7f9fa2417d52c6bfc7bad8f2b20fd2d097f1a5c3
bebf7cfba981ca362a4ca728c380d7aeb0cb8b89
/r/PCA.r
69720adaeee057c8bd4cc58f3b9cdcc5291a13ef
[]
no_license
flying-bear/modeling_schizo
d5bb75ef64c10c0792f6e04b87f960685772e2cf
4dc2dd7b73c40a810f53aa8c2a1df9762dc28f66
refs/heads/master
2021-06-20T06:07:34.468091
2021-01-10T16:20:31
2021-01-10T16:20:31
158,845,232
0
1
null
null
null
null
UTF-8
R
false
false
4,604
r
PCA.r
library(tidyverse) library(factoextra) library(FactoMineR) library(languageR) library(ggfortify) library(plyr) to_analyze <- read_csv('metrics_child.csv') meta <- read_csv('All_psych.csv') to_analyze <- left_join(meta, to_analyze) to_analyze <- column_to_rownames(to_analyze, var = "ID") to_analyze$diagnosis = revalue(a...
c6b9107b5544fc426f6ff3e2177a176c2187d360
f39590573307a87a2092282a686fccae9dd15b06
/Data_mining/BUS_decoders/BUS_decoders/Code/Bus A seperation.R
655026b8e4ae3ea46424df7bce782e64bdf60eaf
[]
no_license
dwipam/code
dec1e8df712af029da370ad231382bbf50140318
0426e9bf4be48b6ff78dcc17f42f452f40a4e812
refs/heads/master
2021-01-18T02:23:38.642813
2020-03-29T07:26:13
2020-03-29T07:26:13
45,200,803
7
8
null
2020-03-29T07:26:14
2015-10-29T17:50:53
HTML
UTF-8
R
false
false
77
r
Bus A seperation.R
A_bus <- subset(clean_data, route_id=="A") A_bus$ID1 <- NULL A_bus$id <- NULL
66854d3e58851e8fa3852e4e0ce05105372b4e5e
f4e01ceee3421c07036a1779d7e078a4548cbc90
/ui.R
76d4b35f6304321f4d70e7868fd01b78a59b8c00
[]
no_license
lstaugler/ShinyApp
10fa035f011ff90df017336e53222f49e6688321
2108fc0db9336b8703f16a6d4a6bd1c9eb9c36f3
refs/heads/main
2023-06-13T02:58:10.070791
2021-07-05T15:09:13
2021-07-05T15:09:13
382,706,595
0
0
null
null
null
null
UTF-8
R
false
false
7,069
r
ui.R
library(shinydashboard) library(xlsx) library(DT) df <- read.xlsx("student-mat.xlsx", 1) dashboardPage(skin="purple", dashboardHeader(title = "Student Success in Math Class", titleWidth=350), dashboardSidebar(sidebarMenu( menuItem("Dashboard", tabName = "d...
64570877fcb97f79c2660944a6358dc6d93eb661
0c6d2f47a296217105f38ae32ad5cf8e5deef1e2
/man/printMEC.Rd
c815b7f9dfa0b8c8de32167a2d512b946232cf08
[]
no_license
cran/RFOC
338616505b90e1f3c9511ae9b55a1d17f73d1bd6
b2c97a028b6cf9802439a74d5a6140a3ce9d07e4
refs/heads/master
2021-06-01T20:24:37.900822
2018-01-18T10:13:23
2018-01-18T10:13:23
17,713,811
0
0
null
null
null
null
UTF-8
R
false
false
454
rd
printMEC.Rd
\name{printMEC} \alias{printMEC} \title{Print focal mechanism} \description{Print focal mechanism } \usage{printMEC(x, digits = max(3, getOption("digits") - 3), ...) } \arguments{ \item{x}{Mechanism list} \item{digits}{digits for numeric information} \item{\dots}{standard printing parameters} } \value{ Side Eff...
4e3f314037cadb8210a01a2cfe40adfccd5394de
99ffac052ed1a630a9572b166d0b1f8f1f27fa63
/simOcc/pkgBuild/dependencies.R
6e6d7d66fd9d871152065a743db7d20f3c405fcd
[]
no_license
rBatt/trawl
a253ed1cf4912c2dbf6c7599292283610f4b28a6
0d11503d900ddc5bf6777fbebcf01f585d6d264f
refs/heads/master
2021-06-04T03:50:35.595206
2016-07-13T02:29:42
2016-07-13T02:29:42
25,880,485
0
0
null
null
null
null
UTF-8
R
false
false
389
r
dependencies.R
update_dependencies <- function(){ devtools::use_package("raster", type="Depends") # Basis for handling all data sets devtools::use_package("trawlData", type="Suggests") # Meets basic requirements for data content and format devtools::use_package("rbLib", type="Suggests") devtools::use_package("trawlDiversity", ty...
dd3f72e28f601af594bb51068301befb03185ddb
5b6d5398e2739f1eac348c0d8b5fdcd104788ca7
/plot3.R
b60abfc8a4b48d5d468c700b56d3377d9002ccf0
[]
no_license
mariasu11/ExData_Plotting2
4df91c5cb7cdff86f0048cc26988dcf8f575b40c
167f52d2e32f04411ed5cca0b82d849d58b95cc4
refs/heads/master
2016-09-06T14:18:49.296968
2014-12-20T20:54:07
2014-12-20T20:54:07
null
0
0
null
null
null
null
UTF-8
R
false
false
822
r
plot3.R
##Read data in R NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") ##Subset for Baltimore City, fips==24510 baltimore <- NEI[NEI$fips== "24510", ] ## Calculate total emissions in Baltimore city by year and type balemissions <- aggregate(baltimore$Emissions, list(baltimore$year,...
8729e7c8eb96e70d9e2d4d0a607310682e6b8bb1
8e219366398ff627114e7486e548801a3dfd73c3
/R/perm_dist.R
96f552852c3686325c363d0237802fbc1708bc9f
[ "MIT" ]
permissive
vroni-g/change_point_detection
1730190075c0292da3c81ee49839c6142b1b0c45
7465dc6fdaaa1c811aed901105ba046d9d986900
refs/heads/main
2023-04-12T06:08:37.934998
2021-08-23T14:05:18
2021-08-23T14:05:18
394,594,258
0
0
null
null
null
null
UTF-8
R
false
false
4,495
r
perm_dist.R
#' Permutation distribution #' #' Obtains the permutation distribution of the maximum statistic and the STCS, #' named maxT and stcs, respectively. Returns a list containing maxT and stcs: #' each a vector of length nperm where each entry is the maximum of the nth #' permutation. Together form the permutation distribut...
9cb8731e05c43bb05093871aae759c0566b78bad
a8d4b6aaecd5dd77e48c96d90c37ae17cf15a30c
/man/fm.Mobius.Rd
e618e998c882f9692bb16e267a8f8f7edcf7f9cc
[]
no_license
cran/Rfmtool
2c3d74fa00707d9c61e186897a04e6ce5aa49729
02ec854ac714c4def265b2c290bdd1843a047c94
refs/heads/master
2023-02-08T12:10:31.096293
2023-02-04T08:32:30
2023-02-04T08:32:30
54,157,875
0
0
null
null
null
null
UTF-8
R
false
false
1,157
rd
fm.Mobius.Rd
\name{fm.Mobius} \alias{fm.Mobius} %- Also NEED an '\alias' for EACH other topic documented here. \title{Mobius transform function } \description{Calculates Mobius representation of general fuzzy measure, the input and output is an array of size 2^n=m in binary ordering. %% ~~ A concise (1-5 lines) descriptio...
40a1962dac109aea8a07bf9546d8ad34c96bb7f5
34ff9f015f50f206d2c9a565286fe7e95696b77b
/Debutant/d.R
c24eeff8c3d3ee58b47f798b41659da182afeca8
[]
no_license
bthieurmel/lesson
b6da235a720b4f2fab887b998ec1ee68cc088d47
aa345d0cae259bd654bce5a8c66bbbe9b3e00e48
refs/heads/master
2023-07-07T02:05:06.008079
2023-06-21T14:59:56
2023-06-21T14:59:56
80,403,481
2
3
null
null
null
null
UTF-8
R
false
false
56
r
d.R
f <- function(){ a <- 1 b <- 2 d <- a +b d } f()
5737a1e6b40e778c7bfb21675b76354da2af39dd
15c7d2e44f6e0073cc8f822870697a8c392d9377
/Identify.R
5604beebee7588e71f33beb2b6b072086cf8adf5
[]
no_license
lapinskm/pageIdentification
c7ef8cf350cbd39beeef5ee186778a2aa83c82da
09f135b9c27815951b17f7aa701a75b20af292ac
refs/heads/master
2021-04-30T18:08:14.423727
2017-01-29T02:52:00
2017-01-29T02:52:00
80,325,744
0
1
null
null
null
null
UTF-8
R
false
false
6,851
r
Identify.R
library(stringi) library(base) library(plyr) library(htmltidy) library(xml2) library(compiler) library(randomForest) library(e1071) library(class) readCategory<-function(filename) { con <- file(filename, "r") descrLines <- readLines(con,n=2) close(con) category <- strsplit(descrLines[1]," ")[[1]][1] #u...
8b7981e310c1ca714625e57eda6a3690d98492d7
c02d409a3740360ded99c47e888358923fbf41c1
/create_pred_data.R
a412f6453888ef8f5ffc9900c64dbd40f60e2ae2
[]
no_license
PeerChristensen/explain_h2o
d3eb95524ad3a17231658d727d6be4de856716ff
d1548b7ef4a5996899a8944b766d27678bd40e4c
refs/heads/master
2023-03-29T00:30:12.425952
2021-04-09T09:55:31
2021-04-09T09:55:31
254,924,575
0
1
null
null
null
null
UTF-8
R
false
false
1,420
r
create_pred_data.R
# create data for prediction table library(tidyverse) df <- read_csv("test.csv") %>% select(income,eqpdays,totmrc_Mean,rev_Mean) %>% mutate(CustomerID = row_number()) %>% select(CustomerID,everything()) %>% mutate(ChurnProbability = round(preds$p1,2), ChurnPrediction = if_else(preds$predict == 1,"Ye...
b14cb3b70081554edabaf08db1ac3cd714a55d23
6e5cd7df066b99b49f9390048af923b1fdeb8548
/canbank_portfolio_compare.r
11144caea7725f3c90ba051f4a4001835033b062
[]
no_license
clueso/RScripts
9c8d185c2721449f7fc0b94a3478a24cf540c3c0
2127f2725c5ff8ae4a21f678cd0e047adee807bc
refs/heads/master
2020-12-24T05:54:28.730434
2017-01-31T06:05:54
2017-01-31T06:05:54
33,393,337
0
0
null
null
null
null
UTF-8
R
false
false
1,495
r
canbank_portfolio_compare.r
source("etfs/etf_portfolio_functions.r"); canbank = c("RY.TO", "TD.TO", "BMO.TO", "CM.TO"); sp = c("SPY"); colours = c("red", "blue", "green", "black", "darkmagenta"); line_width = c(2,2,2,2,2); fractions = c(0.25, 0.25, 0.25, 0.25); full_canbank_data = download_clip_data(canbank); full_sp_data = download_clip_data...
c615696d9bb40b85a4315a40448b9f2c911421bf
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/nbc4va/examples/summary.nbc.Rd.R
fb82bc2ac4da7c04ec8cbb7bb8f1402a4ff3d250
[]
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
506
r
summary.nbc.Rd.R
library(nbc4va) ### Name: summary.nbc ### Title: Summarize a NBC model with metrics ### Aliases: summary.nbc ### ** Examples library(nbc4va) data(nbc4vaData) # Run naive bayes classifier on random train and test data train <- nbc4vaData[1:50, ] test <- nbc4vaData[51:100, ] results <- nbc(train, test) # Obtain a s...
02e6b97289008fd93f853aa0fb9617e045555017
fee8acace1633a97fc40a5c85d4228de5ec4a1f4
/createOutput.R
02e7b6d831ea20cdf26d070c407f3eaa5a0a12f5
[]
no_license
coforfe/Oscars
dd764131c7468da02384d8bc12e542817eb1eee5
4cab692aebf0c9242c50a5483579d447c70a3231
refs/heads/master
2021-01-09T06:34:16.249937
2017-02-05T18:26:34
2017-02-05T18:26:34
81,011,716
0
1
null
null
null
null
UTF-8
R
false
false
786
r
createOutput.R
library(stringr) datIn <- readLines("Oscars_All_.txt") anio <- 0 j <- 0 os_end <- data.frame( year = 0, categ = 0, year = 0) for( i in 1:length(datIn)) { # for( i in 1:10) { print(i) if( str_detect(datIn[i], "\\(*st\\)|\\(*nd\\)|\\(*rd\\)|\\(*th\\)" ) == TRUE & word(datIn[i], 1) != "SCIENTIFIC" ) { anio <- an...
b8b789af06ec630a7d35a77df2478499aea30b39
583629c9d566252fee16e7f0aa56881231eb61fe
/cycle_2/p3/hist.R
6ee3f5c91e921e42a4952aa9c42ebf911917b996
[]
no_license
sashuu69/cet-mca-s1-r_lab
e01f91e35910dbfa9594744cca1e3972bd036217
cc948fd3d27218fbf03921686234406611ac1533
refs/heads/master
2023-06-14T08:02:50.610743
2018-12-19T18:34:29
2018-12-19T18:34:29
null
0
0
null
null
null
null
UTF-8
R
false
false
238
r
hist.R
data=runif(1000,min = 0,max = 1) n=c(20,10,50,2) myfunction=function(n) { mydata=sample(data,n,F) m<<-mean(mydata) } par(mfrow=c(2,2)) for(i in n){ y=NULL for(j in 1:1000) { myfunction(i) y=c(y,m) } hist(y) }
d4f3cc6a48fe87b59c34e541595a9cc36b39a022
9e6c6d3ea78d408a6746fcdeca6ff0d3a8a3308c
/R/mycolorbar.R
150ff61396423170051f692f58933f350984f890
[]
no_license
stineb/rbeni
36f28d38f58301d2af24255e9d63fe5ac6809ebe
2f9d26d0a286c550cb90ee9d30a1f2b6c3b112f6
refs/heads/master
2023-02-18T22:18:52.856980
2023-02-16T17:29:09
2023-02-16T17:29:09
167,402,490
3
6
null
2020-09-25T09:35:32
2019-01-24T16:49:15
R
UTF-8
R
false
false
5,977
r
mycolorbar.R
mycolorbar <- function( col, # a vector of colors from which to interpolate lev, # levels of colorbar either in the form of c(min,max, N levels) or by a vector of length > 3 containing margins of levels plot=TRUE, # if false, then no colorbar is pl...
f949d40f2806c268c617482daec40f2bdc463b60
72d9009d19e92b721d5cc0e8f8045e1145921130
/HRM/man/dot-E4.Rd
cb3e62add382bb76aef158fb63bca9f8ff233295
[]
no_license
akhikolla/TestedPackages-NoIssues
be46c49c0836b3f0cf60e247087089868adf7a62
eb8d498cc132def615c090941bc172e17fdce267
refs/heads/master
2023-03-01T09:10:17.227119
2021-01-25T19:44:44
2021-01-25T19:44:44
332,027,727
1
0
null
null
null
null
UTF-8
R
false
true
273
rd
dot-E4.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utility.R \name{.E4} \alias{.E4} \title{Unbiased estimator} \usage{ .E4(M_i, M_j) } \arguments{ \item{i}{group index} \item{M}{a matrix} } \description{ Unbiased estimator } \keyword{internal}
1874243f753a52957a854c712cc65b10057666d4
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/phytools/examples/countSimmap.Rd.R
3f3687a020506086c8cd39c6ae9228037a161713
[]
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
394
r
countSimmap.Rd.R
library(phytools) ### Name: countSimmap ### Title: Counts the number of character changes on a SIMMAP style tree or ### set of trees ### Aliases: countSimmap ### Keywords: phylogenetics utilities ### ** Examples tree<-pbtree(n=100,scale=1) Q<-matrix(c(-2,1,1,1,-2,1,1,1,-2),3,3) colnames(Q)<-rownames(Q)<-c("A","B"...
e6d5d8dc00075a1abb2606a7e55a74d55a946ac2
33fa49cc77538be7cfccaca011df5f9952d489df
/Rcode/UR Pipeline/stratified_BB8.R
23270b7c1174614d64f527a4b2aa6c1b516b931f
[]
no_license
HoujieWang/SUMMER-DHS
b47ac75d1a5d8616b1809f7e0dd174cdf4e514c9
e9c16d122a0f85c0e7102ea5ad47ac69f9e05b41
refs/heads/main
2023-08-15T19:52:54.526515
2021-10-12T15:56:05
2021-10-12T15:56:05
null
0
0
null
null
null
null
UTF-8
R
false
false
8,816
r
stratified_BB8.R
################################################################ ######### load libraries ################################################################ rm(list = ls()) #### Libraries #### library(SUMMER) library(classInt) library(RColorBrewer) library(dplyr) library(tidyr) library(rgdal) library(scales) library(I...
37f2fce2d4c95b5201d4fa41fb13a09af2795656
da4ca72079bfd05af352713cf67f04d61b2bb4b2
/man/gskat_seq_cont.Rd
2aac7b9b8dc026165164d744d912aa28e59d07e9
[]
no_license
xfwang/gskat
6ffe60a7c48a0e38b001d8d2a632c1f234b54426
eee1f7806d71990669f2f218a2b52e89669a705b
refs/heads/master
2021-01-11T07:26:54.426256
2016-08-26T01:01:22
2016-08-26T01:01:22
14,637,867
2
1
null
null
null
null
UTF-8
R
false
false
1,592
rd
gskat_seq_cont.Rd
\name{gskat_seq_cont} \alias{gskat_seq_cont} \title{ Perform GEE_KM Score Test with sequencing data for continuous traits } \description{ This function performs family based marker set based association (score test) based on the GEE_KM. } \usage{ gskat_seq_cont(y,XC,Z,ID,impute.method="fixed",SNP.weights=NULL, w_a=1,...
6d36f648a3893aa031f90e425c4001fa9f4f35d5
3bb59aeead30b4084bc7ecdff47d2b922f9fdd83
/inst/doc/exclusionflowcharts.R
bb10aba5c6e12b1ff7bceef2eca5d775fac3478b
[]
no_license
cran/PRISMAstatement
1bff459791a895277d88aa08e47e5f7b1824097b
4191ad275dd6c9515f2300f7e7b2356f5dc8ad7f
refs/heads/master
2021-01-10T23:08:13.433660
2019-05-08T21:50:13
2019-05-08T21:50:13
70,641,515
1
0
null
null
null
null
UTF-8
R
false
false
1,276
r
exclusionflowcharts.R
## ----setup, include = FALSE---------------------------------------------- library(PRISMAstatement) suppressPackageStartupMessages(library(DiagrammeR)) knitr::opts_chunk$set( collapse = TRUE, fig.width = 3 ) ## ----genericflowexamples, fig.cap = "Fictitious study data, presenting just counts"---- flow_exclusion...
f9b1b3ea6b46890390833f2af1f86c765c2f4454
3cd621de223b237c7a7ce3556d139def186db049
/Rplay.R
ea6fb2db6b3412a97fa3a02c5643e58adfc47553
[]
no_license
enilmik/gitplay
9026e168c5cf5f8085ca82c30ebe9f2031aa92b8
01f4621de0d12e599fab0a0f185fb308495730e0
refs/heads/master
2021-01-10T12:37:36.461697
2015-06-06T05:19:35
2015-06-06T05:19:35
36,587,047
0
0
null
null
null
null
UTF-8
R
false
false
1,414
r
Rplay.R
#IMPORTANT NOTE #If you downloaded and installed R in a location other than the United States, you might encounter some formating issues later in this class due to language differences. To fix this, you will need to type in your R console: Sys.setlocale("LC_ALL", "C") #This will only change the locale for your curren...
12bf04818f96963e15164bb4626b7b355f55520c
ab2c51d4ad6b8a7f86d89fff3bcc0ec54ec850c7
/Shiny_Proj1.R
43c9409b5bc8bdc3cc0b57e7706982dead836018
[]
no_license
stephensh24/Visualization_Shiny_proj
368b0674e46126be5dafaf4b41f99af36d916571
657a82209217bd5ded83138f0536bfeabe31bc1c
refs/heads/master
2021-06-18T23:27:20.612077
2021-01-08T22:23:04
2021-01-08T22:23:04
131,326,949
0
0
null
null
null
null
UTF-8
R
false
false
10,243
r
Shiny_Proj1.R
tanz = read.csv("Pipe_ind.csv") Pipe_labels = read.csv("Pipe_labels.csv") tanz = inner_join(tanz,Pipe_labels, by = "id") #setwd("C:/Users/Stephen/Desktop/git_proj/shiny_proj") head(tanz) library(dplyr) library(ggplot2) library(plotly) #Data Clean #----------------------------------------------------------------------...
06984b3320637f6ec65fa9e5f140986c450fbbc0
907e3add04e83b6b7fb22dca1c167cad8242de73
/man/make_filename.Rd
3eccf31b98cb7fa0b48c22721f88404ea38e8349
[]
no_license
afortuny/fars
2fdde85bbd77a558a786fa99d84ba909d563a182
39e5f11fcced213ad258d53a959b531987f54773
refs/heads/master
2021-04-30T11:35:55.035675
2018-02-16T16:26:42
2018-02-16T16:26:42
121,257,691
0
0
null
null
null
null
UTF-8
R
false
true
627
rd
make_filename.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars.R \name{make_filename} \alias{make_filename} \title{make_filename make_filename create the filename based on the year from which we want to extract the information} \usage{ make_filename(year) } \arguments{ \item{year}{An integer that in...
b6de59532447e1cc5274dfcabb9bf9442377f700
64fabdfd8e2670eb57e3cdf162f94d71b58fe6b4
/R/genes2hugo.R
560ed81731486b24f93f996d48396d257a1ab7f5
[]
no_license
d3b-center/celllines-profiling-analysis
564db86b6fb6c5bc8258fdf84bf12a1ea47963a1
66396cc64c094d08903ef8666353e85aad7eebd1
refs/heads/master
2021-06-23T15:32:27.993408
2021-04-07T23:07:29
2021-04-07T23:07:29
212,658,648
3
0
null
null
null
null
UTF-8
R
false
false
679
r
genes2hugo.R
# Maps ENSEMBL IDs to HUGO # Use srcType = "ensembl_gene_id" for Ensembl IDs # Use srcType = "entrezgene" for Entrez IDs genes2hugo <- function( v, srcType = "ensembl_gene_id" ) { ## Retrieve the EMSEMBL -> HUGO mapping ensembl <- biomaRt::useMart( "ENSEMBL_MART_ENSEMBL", host="www.ensembl.org", dataset="hsapiens_g...
e5db49af28057458a8ca4415d21581fcac276584
8d0b7388b86293205382e29c9a202bd40e93824b
/tests/testthat.R
9d3eb879081e8ed703d00c4b500b598895b32060
[]
no_license
benjcunningham/govtrackr
bd7bd903f6df4cac69e7ae41d255b38362cd707f
b0bb8db58d03e6e87bc6f60b06d303e54cacaa8a
refs/heads/master
2016-08-11T21:45:58.701119
2016-01-27T04:02:06
2016-01-27T04:02:06
50,258,465
2
0
null
null
null
null
UTF-8
R
false
false
62
r
testthat.R
library(testthat) library(govtrackr) test_check("govtrackr")
164853877d06758fcd8da0fc94b8344b69f88f17
5e613fdaaf680b7220a9331133d79a7dcbca8acd
/R/deps/taxize-master/man/getcommentdetailfromtsn.Rd
f1d60f4f32ad77843123b3d7cf523e523c6188be
[ "MIT" ]
permissive
hmarx/Alpine-Sky-Islands
df0fd965ca4e1d4e3071aa9362ee615a5510175d
72ab7d914fea6c76c9ae105e042e11088a9be87f
refs/heads/master
2021-05-01T02:44:59.818086
2017-08-08T15:02:45
2017-08-08T15:02:45
39,544,747
0
0
null
null
null
null
UTF-8
R
false
false
550
rd
getcommentdetailfromtsn.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/itis.R \name{getcommentdetailfromtsn} \alias{getcommentdetailfromtsn} \title{Get comment detail from TSN} \usage{ getcommentdetailfromtsn(tsn, ...) } \arguments{ \item{tsn}{TSN for a taxonomic group (numeric)} \item{...}{optional add...
66738f2e1836055bad1217f91983e9445f546f75
c427a5b3c9c434de9765e9cf4c287a711f744d53
/man/get_core_option_list_elements.Rd
40eb94703e96016219266c9b5e7bdf1ac9a1ac39
[]
no_license
bdevoe/iformr
69ac4b6b1e762d4a855b8cd81bf338c33618da36
fe6cbc4b1334edff5acf84785fc75308f9a8f405
refs/heads/master
2021-06-06T01:31:21.954796
2019-06-05T18:50:38
2019-06-05T18:50:38
140,438,573
0
0
null
2018-08-17T19:36:21
2018-07-10T13:45:16
R
UTF-8
R
false
true
1,512
rd
get_core_option_list_elements.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/option_lists.R \name{get_core_option_list_elements} \alias{get_core_option_list_elements} \title{Get core elements in an option list} \usage{ get_core_option_list_elements(server_name, profile_id, optionlist_id, limit = 1000, offset = 0, ac...
ef680bf0b1aa7fa8bd9a39e3195ed8d2b8aae252
6312f33861a761734b53eb140c73e5b31b3bbbf1
/oneRep/oneRep-GLMFPCA.R
0385ba2306e414052fd1d7e7852ae10fd3239b71
[]
no_license
yehanxuan/MultitaskSpline
dd45623cbd79ff7a43610f3823c4fe2c4b8396cd
e0417504aa72e63ca554abd116498ffae48619b7
refs/heads/main
2023-08-08T09:53:34.164574
2021-09-09T02:58:31
2021-09-09T02:58:31
394,359,903
0
0
null
null
null
null
UTF-8
R
false
false
360
r
oneRep-GLMFPCA.R
## Generate Mixed data nu = 1.5 if (DataType == "GLMexact"){ simuData = GenMulti_Mixed(Mont, simu_n, M, sigma_e, nu, TypeVec) } else if (DataType == "GLMHybrid"){ simuData = GenMulti_Mixed_Hybrid(Mont, simu_n, M, sigma_e, nu, TypeVec) } grid = seq(1/Mont, 1, 1/Mont) Ymat = simuData$Y Xmat = simuData$X CovMat =...
270cb4d783205cc84e97ca90d451c7c68f9955d6
57bcba211c26f1837a2216dd3be7e3dbf3d8217e
/R/rcopula.R
48bfb0f56f0f9721441278be0d3b20f4982edf1c
[]
no_license
gsoutinho/survCopula
434383f4f27476961f6d8dcdec045dd8cf909ecd
b2f64b84370db702dbdc9c3ae122d13b42b9283e
refs/heads/master
2021-08-22T01:56:54.609031
2020-08-31T10:38:15
2020-08-31T10:38:15
218,321,926
1
0
null
null
null
null
UTF-8
R
false
false
2,685
r
rcopula.R
#' Random Number Generation for Copula Functions. #' @description Random Number Generation for Bivariate Copula Functions. Returns a number of pairs of random values #' from a bivariate copula with marginal distributions X and Y. #' @param typeCopula Type of copula. Possible options are \code{"clayton"}, \code{"fr...
774bdb281fcf580cf66fb61814cdcea98150ca47
62e1665efcbd67bc0de0d9be749d5d2b222c80ce
/man/sinpoint.Rd
df0ad774a1119f8f2c54a1447f53f48ce4ee0a12
[]
no_license
sewouter/StratigrapheR
25e669143eeb73051e79e0b4cb490e6060ed0d4b
2d19b6cc5dbbb4bade454ad83b61842d2f8871e1
refs/heads/main
2021-09-28T00:26:51.110494
2021-09-24T12:23:45
2021-09-24T12:23:45
341,558,856
3
0
null
null
null
null
UTF-8
R
false
true
1,300
rd
sinpoint.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sinpoint.R \name{sinpoint} \alias{sinpoint} \title{Gives a table of equally sampled points following a sinusoidal function} \usage{ sinpoint(x, y, delta, x0 = 0, pos = 1, phase = 1.5, nwave = 1, nint = 50) } \arguments{ \item{x}{the x value o...
375e56edb1a3583c6becd4b8e1021722e9588732
6172d8feb1bf4e1b7112023eec206b89095b7c2b
/plot2.R
5c82974195b8cded93d0f2a121cc2b0fbfd4fa33
[]
no_license
LifeWareGit/ExData_Plotting1
285cd80159d2a6cb0ca8173d937fa8e4f6eed5da
367a3d60d7eadafc7bf0ccfc5531dc9a06e3be9c
refs/heads/master
2021-01-18T22:39:19.546234
2016-01-09T03:30:34
2016-01-09T03:30:34
49,216,739
0
0
null
2016-01-07T16:39:26
2016-01-07T16:39:26
null
UTF-8
R
false
false
879
r
plot2.R
# Check for required packages and install if necessary curPackages <- installed.packages()[,1] reqPackages <- c("data.table","dplyr","lubridate","sqldf") for (pkg in reqPackages){ if (!is.element(pkg,curPackages)) install.packages(pkg) } # Load the required packages if necessary library(data.table) libr...
8bd0d1573bd1dfb7ef012e1dc90624ebd0cedccd
458162de244feea036cdda22d2415085ad303e1c
/ui.R
159cdfbf716abeb275b256a14875c3f24f7d954c
[]
no_license
map0logo/devdataprod-011
f9d0eede5d566bba1175614cacdd08a5fce9dc1e
21af1626484dd78e4ee5c9ee8277c11b4ed8dcef
refs/heads/master
2020-06-04T11:00:59.331385
2015-02-23T03:49:46
2015-02-23T03:49:46
31,187,404
0
0
null
null
null
null
UTF-8
R
false
false
1,273
r
ui.R
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) load("./data.Rdata") shinyUI(fluidPage( # Application title titlePanel("Índice Nacional de Precios al Consumidor"), # Sidebar...
f7679c5b5f25b27ef8d1ba7a7cc79331f878d337
05f59cd61540ce4c9961d91377cff9008b78c009
/R/rank_integer_index.R
81437b2f73241043d55a6f2e512abb2ceafda998
[ "MIT" ]
permissive
rzgross/uRbanmatching
e3abddab1946e2f84c32378820585b96abe4840d
356b3d1ac10d72e3c5a20de08903f137c2c22965
refs/heads/master
2023-04-12T21:20:24.938362
2021-05-09T19:04:41
2021-05-09T19:04:41
355,984,522
0
0
null
null
null
null
UTF-8
R
false
false
1,013
r
rank_integer_index.R
#' rank_integer_index #' #' Converts \code{rank_cols} in all allowed forms to an integer index. Takes in ranked cols, either given by integer, logical, or named index. Converts to integer index. #' #' @param rank_cols Integer/number, or logical, or names within \code{colnames(x_mat)} #' @param x_mat the x matrix of int...
54ee5ec9870efa85f71fb7d8ae760f2c63d64205
457db4c1e02e976477d9177801c8589835e302f4
/test.R
87776f725ef6301746de6c8090970e65ccbd8d54
[]
no_license
asousos/test
f3c48b1741ca1e0630490d03f53004b04ac303c9
1ae2f3ac9481fdd76f8610bfc8987443f1d43895
refs/heads/master
2021-05-10T10:16:09.575979
2018-01-21T22:49:52
2018-01-21T22:49:52
118,377,651
0
0
null
null
null
null
UTF-8
R
false
false
88
r
test.R
# This is a script # to test rstudio and git integration # This is a third comment line
0d468f3ea84ca6149c3917c3717d22c775d7087e
3629a3a9c89f2bb28aa9fb39657e3f855862fcf2
/man/pkg_check.Rd
365b7a7040eae6d6bb3a171d1f3cf3a677636741
[]
no_license
AkselA/R-projector
48c47655edb656508a9faebe7f51b4e2d2035937
8ae70dfe3d3e91aff4061a5b83e2abf84976afcb
refs/heads/master
2021-03-19T03:48:52.619153
2020-06-06T18:22:40
2020-06-06T18:22:40
247,130,462
0
0
null
null
null
null
UTF-8
R
false
true
1,072
rd
pkg_check.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pkg_xyz.R \name{pkg_check} \alias{pkg_check} \title{Package check} \usage{ pkg_check(projname = ".", bopt = c("--no-manual"), copt = c("--no-manual", "--timings"), ropt = c("--vanilla"), rm.src = TRUE) } \arguments{ \item{projname}{path t...
defa3ffacaf830166e7f3b8315cdfe9c82c58c2f
5ea3d789fae96cd90e06334ee3e5e9bfa7f89227
/global.R
513167d255229931b089160757d34ca1af838e4f
[]
no_license
Blackbawks/WSTC6_Scheduler
85fe891598af7862bdb2d0602967b1d02e0c6bc2
72fd45a80a8c6b1fc7892e4291317c8dd3aa69d9
refs/heads/master
2022-12-20T12:41:25.111062
2020-09-04T13:36:00
2020-09-04T13:36:00
263,449,167
0
0
null
null
null
null
UTF-8
R
false
false
47
r
global.R
testfunction <- function(x){ return("this") }
63c4f738748f4b94738e433d275954a03e4193aa
ee0689132c92cf0ea3e82c65b20f85a2d6127bb8
/32-basicGraphs/12b-graphs2.R
073c1b6d52945e12da158ca936fdec6799b53093
[]
no_license
DUanalytics/rAnalytics
f98d34d324e1611c8c0924fbd499a5fdac0e0911
07242250a702631c0d6a31d3ad8568daf9256099
refs/heads/master
2023-08-08T14:48:13.210501
2023-07-30T12:27:26
2023-07-30T12:27:26
201,704,509
203
29
null
null
null
null
UTF-8
R
false
false
743
r
12b-graphs2.R
women plot(women) plot(x=women$weight, y=women$height, pch=15, xlab='Weight', ylab='Height', col='red', cex=2, type='b') title(main='Main Title', sub='Sub Title') boxplot(women$height) abline(h=c(58, 62,65,68,72)) ?boxplot summary(women) quantile(women$height) hist(women$height, breaks=10) x = rnorm(100,50,100) h...
44197644ef774227d4bb0500656193306225b72a
33e47772221e64495af2f76fbe946106cd9dd5b5
/doc/paper/figure2/enrichment_plots.R
705fc2b962f2e5ac4804965b74fc3ed1acb68bfa
[]
no_license
mikelaff/mirna-eqtl-manuscript
8ddaed87bd3eee1923afa6f5ef0ebd80de7c205c
a87deb4dc063e03e5371ff7c4d19db782e295e12
refs/heads/main
2023-08-31T20:01:11.324071
2023-08-24T23:44:31
2023-08-24T23:44:31
590,512,745
0
1
null
null
null
null
UTF-8
R
false
false
4,884
r
enrichment_plots.R
library(here) library(dplyr) library(readr) library(magrittr) library(ggplot2) #library(DESeq2) #library(RColorBrewer) #library(qqman) library(mikelaffr) # FIGURE ############################################################################################################### # figure 2B: miRNA-eQTL enrichment in chrom...
79410e75ac03e2e3f10aa81e99569d00699d8ce7
74453745dd2a15c8e310e8f4446ccada9702435e
/tests/testthat/test-install.R
ef5ff37ba69c5e52d17e7eba8d496ea6595114b1
[ "MIT" ]
permissive
rstudio/renv
ffba012525e8b1e42094899c3df9952b54ecb945
8c10553e700cad703ddf4dd086104f9d80178f3a
refs/heads/main
2023-08-29T08:45:28.288471
2023-08-28T22:01:19
2023-08-28T22:01:19
159,560,389
958
169
MIT
2023-09-14T00:55:28
2018-11-28T20:25:39
R
UTF-8
R
false
false
16,005
r
test-install.R
# TODO: This test assumes 'pak' integration is disabled? test_that("install works when DESCRIPTION contains no dependencies", { renv_tests_scope() desc <- c("Type: Package", "Package: test", "Version: 1.0") writeLines(desc, con = "DESCRIPTION") expect_length(install(), 0L) }) test_that("requested version in D...
72d989fc7b7f22f301cd0d31cdba615a9fbd09c3
891b26bc2b3dfaeaf58d3980c7c99fa48d4d74e8
/code/plot4.R
adfef0ccbb17796767083a3e86a49c29360fd774
[]
no_license
asuresh4/Power-Consumption-Analysis
a3000789183a668bf88521029bd4c0e2d72a49b1
259cccf1ec74398f5ee0f1666fc8d08f6ef2d182
refs/heads/master
2021-01-17T05:55:08.605607
2016-07-04T03:00:34
2016-07-04T03:00:34
null
0
0
null
null
null
null
UTF-8
R
false
false
2,552
r
plot4.R
## Download file download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", mode = "wb", destfile = "./data/Course4/ExData_Plotting1/household_power_consumption.zip") ## Unzip downloaded file unzip("./data/Course4/ExData_Plotting1/household_power_co...
fc979266a76b0abae3899b2e68ae5ace212e5195
4bb50955e639c6fa4c516e81d46f13b4f2b7f6e4
/docs/plot_results.R
03f914bce6c3207d94d7fff953d0959b8300e74a
[]
no_license
danielhstahl/credit_faas_demo
984bfa481ed1d246e3e27b76d2ed185da790318d
7508859cb99984605b58df039583a717597d94cb
refs/heads/master
2023-01-15T14:04:02.654172
2020-11-27T13:07:48
2020-11-27T13:07:48
147,034,307
0
0
null
null
null
null
UTF-8
R
false
false
568
r
plot_results.R
#to run, use setwd([this directory]) require(jsonlite) res_full=fromJSON('./loan_density_full.json') res_aggr=fromJSON('./loan_density_aggr.json') get_max_vectors=function(vec1, vec2){ mx_vec1=max(vec1) mx_vec2=max(vec2) max(mx_vec1, mx_vec2) } #to save as jpg jpeg('density_compare.jpg') plot(res_full$x, res_ful...
046661a6755e35f4d12bf71703893bdc79836c87
fb9cf1a37ac3847b136e152269b477f83f4bf723
/R/hqa.r
7d60881264e04f48ff24d4143cbc1c36965e4769
[]
no_license
cran/qha
58bc0f91ff55cf8e1281c16ab7c7b3694c5acb9d
3e7b893dbf412f0411afde9c5158ea566c80a4a2
refs/heads/master
2020-12-22T17:35:12.268824
2016-09-10T01:29:30
2016-09-10T01:29:30
236,876,607
0
0
null
null
null
null
UTF-8
R
false
false
6,475
r
hqa.r
########################################################################################################## ## Funcion de enlace: Combinaci?n del AAC y el AFM ## ## ##...
c3c72a366e6a78e1571e05ebc43a4ceca7f97dfa
b952752e8dee1e3ae599fdb4b940c78d561afb49
/man/zqtl-ld-svd.Rd
8b9985a636ca226afe1fa039a04a6b064bb59c67
[]
no_license
rintukutum/zqtl
d802762c84ee09dd14010d0400a4e3d0093bf8a3
6b7310023320bbe88ee36ea169daeef33525e1eb
refs/heads/master
2021-08-16T22:07:28.490036
2017-11-20T11:20:17
2017-11-20T11:20:17
111,323,826
0
0
null
2017-11-19T19:08:02
2017-11-19T19:08:02
null
UTF-8
R
false
false
502
rd
zqtl-ld-svd.Rd
\name{SVD of LD matrix} \alias{take.ld.svd} \title{Calculate covariance matrix and perform SVD} \description{ Decompose X/sqrt(n) = U D V' so that LD = V D^2 V' for subsequent analysis. } \usage{ take.ld.pairs(X, options=list()) } \arguments{ \item{X}{n x p matrix} \item{options=list(eigen.tol = 1e-8)}{numerica...
8d9610f3ba0bb001f909310447b897c5511ecfea
29585dff702209dd446c0ab52ceea046c58e384e
/ggtern/R/plot-construction.R
1f249da0b42994ad31d801f1fe2a7e03588f0fdb
[]
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
527
r
plot-construction.R
#' Plot Construction #' #' \code{"+.gg"} is a local copy of the ggplot2 add function, no change other than exporting from the ggtern namespace #' @param e1 first object #' @param e2 second object #' @rdname plotconstruction #' @export "+.gg" <- function(e1, e2){ # Get the name of what was passed in as e2, and pass...
dfc58dd6121aab9346d76a68d68a83e1e8bbbe1b
7e6464d860d03df8262ba7093735a1a1e2a96c71
/transcripts.R
e9192080dae697c8c76fd7c87ee7edadf471d1f7
[]
no_license
transcripts-rproject/transcripts_rproject
45d51a65de0afef320b9f54a6298829bf0d919d8
58e7c46c50c5576b43eb8907b217ff90a36d5808
refs/heads/master
2022-04-23T01:04:52.387750
2020-04-17T23:21:16
2020-04-17T23:21:16
254,750,177
1
0
null
null
null
null
UTF-8
R
false
false
237
r
transcripts.R
library(tidyverse) library(dplyr) getwd() setwd("../transcripts_rproject") getwd() transcripts17<-read_csv("UCLA_CS_CLASS_OF_2017_NO NAMES_NO IDs.csv") view(transcripts17) transcripts17<-transcripts17 %>% select(5:12) #we did it! yay!
25979058d5be10fc4bb57aa466c984e7e0049cee
50a4e150c9d5e44475df2afe24072097f5e16c6b
/another simulation approach.R
66f4165f6dd3f0649f7a3b323d9c55f24bb771bf
[]
no_license
eamonn2014/PARTIAL-LIKELIHOOD-METHOD
a2f8f2e08da8f9e3569cd976078f3ac4115e5294
ad7f35da84421c38c3dce5a56f3212d8f2d0a627
refs/heads/master
2023-04-17T07:48:33.987805
2021-04-12T10:54:10
2021-04-12T10:54:10
316,730,058
0
0
null
null
null
null
UTF-8
R
false
false
2,731
r
another simulation approach.R
# Survival3Notes in survival simulation paper folder on one drive slide 20 library(survival) lambda1=0.058 lambda2=0.116 n=80 timeev1=rexp(n,lambda1) timeev2=rexp(n,lambda2) timeev=c(timeev1,timeev2) timecensor=runif((2*n),1,10) time=apply(cbind(timeev,timecensor),1,min) stat=(time==timeev)+0 x=c(rep(0,n),rep(1,n)) fi...
b2f19eb9902647edcddd198e339945d824567ead
fe8bc17d3ade21dab0745ce88f85371b7e075531
/2.R
6683d08a85df993b47b4f3c4d26afa60420fad69
[]
no_license
reptyrax/R
6ec42c208689781297ca0b1e9057ef68f4775b1d
1cb2a49119aaee4921c92f4b876c2fd0e6a6e679
refs/heads/main
2023-01-07T11:55:15.095196
2020-11-12T08:03:04
2020-11-12T08:03:04
null
0
0
null
null
null
null
UTF-8
R
false
false
1,081
r
2.R
#1 regions <- c("Московская область", "Тульская область") years <- c(2015, 2016) months <- c("январь", "февраль", "март", "апрель", "май", "июнь", "июль", "август", "сентябрь", "октябрь", "ноябрь", "декабрь") comb.num. <- length(regions)*length(years)*length(months) # 2*2*12=48 region <- rep(regions, comb.num./length(r...
f5b0ad45a66e200fc9e4b5eb7d0afc5975e05e4a
bdac8e85849ee8fae35f2a49e0a25f467bfbf000
/R/canvas.R
dd7092ed447cffaf0839825ff4bdc52be16a8ba9
[]
no_license
dshea89/uba
04483c6430988d2099db32a0170703330b15e88c
4fde73b307d28c187f20a48e69e2f8ba97d0a8ac
refs/heads/master
2021-08-30T18:28:18.485705
2017-12-19T01:04:57
2017-12-19T01:04:57
114,703,119
0
0
null
2017-12-19T01:00:45
2017-12-19T01:00:45
null
UTF-8
R
false
false
2,435
r
canvas.R
## ====================================================================== ## All the canvas setting for plots ## ## ====================================================================== canvas.setup <- function(n, col = T, pch = c(21:25,4:6,8:7), colored = T, ...) { if(col) cols <- canvas.cols(n, color...
6a2e6a4e8923b6bab3d1960b579cb4210889eb75
edd4f57fd1bc652a9fba6d62e22e7cc6be46ed19
/code/functions/dataGen.R
8c125604a6720e9c6053b85252a21671e69d41a7
[]
no_license
EdoardoCostantini/latentMAR
2031dae042f3caf423982b65ac3ce6e621fa9860
91e778620a32c67a53f49039c9b12c836a5fa257
refs/heads/master
2023-07-13T05:22:15.124900
2021-08-25T07:46:42
2021-08-25T07:46:42
390,039,896
0
0
null
2021-08-25T07:44:20
2021-07-27T15:45:54
R
UTF-8
R
false
false
2,219
r
dataGen.R
# Project: latentMAR # Objective: function to generate data according to a CFA model # Author: Edoardo Costantini # Created: 2021-07-27 # Modified: 2021-07-27 dataGen <- function(parms, cond){ # Example Input ----------------------------------------------------------- # cond <- conds[2, ] # Latent Var...
6199158ec902193765e0257f809620d131b1e453
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed_and_cleaned/10139_0/rinput.R
b1b6eac7f1ff4580f0cf2c58913a7648379e643b
[]
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("10139_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="10139_0_unrooted.txt")
22f8de8b2cf462af50de855cb44b8040ead1d686
6814891e77ca4c264b3e6dfdedb0b623ce1461b1
/R/greedy.R
6ab79fcd8180a270f6a6d1d91595820ad52452e9
[]
no_license
kshirley/summarytrees
b276ea49d5a785e2311b69e2c6c8c6cb1a2035aa
3bb1f6c65da6c7c8783c03225d4977d48a7f58b0
refs/heads/master
2020-05-17T07:58:40.698466
2016-01-13T03:33:52
2016-01-13T03:33:52
30,562,705
38
9
null
null
null
null
UTF-8
R
false
false
8,904
r
greedy.R
#' Compute summary trees using greedy algorithm #' #' Compute a series of summary trees for a given #' input tree using a greedy algorithm. This algorithm returns summary #' trees whose entropies are typically within 5\% of the maximum #' possible entropy (based on a series of experiments described by #' the paper cite...
05de0db6fef5fda38bbc42a1992f514b78e664c9
e9424b5876e734e6b0b8e50e3e3cf05a869446a2
/RRegrs/R/RRegrs_Functions.R
058290250187e6f075af286c2d3ba787c29db111
[ "BSD-2-Clause" ]
permissive
enanomapper/RRegrs
a200ef8981230b696bdecf9e4cc00d4024eb65fd
e5194f812e949be7694023ede0e62e27264a13b1
refs/heads/master
2021-01-15T16:57:13.454179
2018-04-23T09:51:46
2018-04-23T09:51:46
23,657,385
21
15
null
2015-07-24T07:56:42
2014-09-04T10:02:04
R
UTF-8
R
false
false
196,536
r
RRegrs_Functions.R
# ====================================================================== # RRegrs - R Regressions # ====================================================================== # Get the best regression models for one dataset using R caret methods # eNanoMapper.net # ----------------------------------------------------------...
c5e1e973e6c37dc21b7d0deb4bbb56d00cdab6a5
6c4614d5dbeab14096cacd28bbd6b45233beb251
/man/crrstep.Rd
970c465035a7a890c95df134278f0333c2875f43
[]
no_license
cran/crrstep
5991d63547bdc74d1c89c2a8c3fec8fb31051729
b2cd71cb883fd9fe3c4cb4212531f286e846e428
refs/heads/master
2023-08-31T07:29:54.906821
2023-08-22T21:40:10
2023-08-22T22:30:22
17,695,307
1
1
null
null
null
null
UTF-8
R
false
false
3,584
rd
crrstep.Rd
\name{crrstep} \alias{crrstep} \title{Stepwise regression for competing risks regression} \description{ Performs forward and backward stepwise regression for the Fine & Gray regression model in competing risks. Procedure uses AIC, BIC and BICcr as selection criteria. BICcr has a penalty of k = log(n*), where n* is ...
c2949dbf0f4a96aab76fa3ec59464571c914d0b7
cb010e06c0809347d2d0a46caaef7eae185bd1d1
/xmsPANDA_v1.1.4_test/R/workflow1/graphical_options_wf1.R
1190b6d04126408eb54ccc7a8688485609c1aac1
[]
no_license
chunyuma/xmsPANDA_shinyapp
c9259f3a2253b6a2a217aedb514df4e3f8ba8331
cc0e02e7262592fdd84505baab3243f10cd64515
refs/heads/master
2022-10-25T01:10:39.164309
2020-06-18T19:58:27
2020-06-18T19:58:27
273,328,403
0
0
null
null
null
null
UTF-8
R
false
false
2,805
r
graphical_options_wf1.R
library(shiny) graphical_options_wf1<-fluidRow( tags$div( id="maindiv", column(width=12, column(width=6,selectInput(width="350px","heatmap_color_scheme_wf1","Heatmap color palettes/scheme:",c("redblue","yellowblue","redyellowgreen","yellowwhiteblue","redwhiteblue","topo","heat"))), colu...
bf7efbfdc04ccc2b778f40c888bf4af803ac58c3
f6035f5d08ea7bda4bd31c909cde4a79070c4752
/man/tree.surrogate.Rd
32807d793ae2f9ecb7b2dd93dd4e3087686b72d3
[ "MIT" ]
permissive
spark-lin/iml
5394d54b1e7219d0c0c802fa7acd53126ba304bf
1b845671011e92915da4245c6d754985c6f3caa8
refs/heads/master
2021-04-28T01:08:22.308473
2018-02-17T13:14:39
2018-02-17T13:14:39
null
0
0
null
null
null
null
UTF-8
R
false
true
3,668
rd
tree.surrogate.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tree-surrogate.r \name{tree.surrogate} \alias{tree.surrogate} \title{Decision tree surrogate model} \usage{ tree.surrogate(object, X, sample.size = 100, class = NULL, maxdepth = 2, tree.args = NULL, ...) } \arguments{ \item{object}{The mach...
83d09f998d88e3a6f443a55e29d57a9a2f1ab1f7
09e5b42813d3c184aab2b461c75faee5fbfb2c7b
/PublicFunctions/Function02_DESeq2_PreProcessing.R
2365826716fc4cc3ef4618a47a4b1d5d296cac44
[ "MIT" ]
permissive
wong-ziyi/Code4RNA-seq
f0df587840d4d82a20da527b51369a4975fcaccb
61b001e0fccb370bfbc7e8a8f1472c377823bb6a
refs/heads/master
2021-06-20T13:04:25.999024
2021-06-14T07:47:50
2021-06-14T07:47:50
215,089,793
0
1
null
null
null
null
UTF-8
R
false
false
5,478
r
Function02_DESeq2_PreProcessing.R
P2_DESeq2_PreProcessing<-function(){ if(!file.exists("00.Resource//Annotation.Rdata")){ stop("no such file: Annotation.Rdata") } if(!file.exists("00.Results//Parameters.Rdata")){ stop("no such file: Parameters.Rdata") } if(!file.exists("00.Results//SalmonRawData.Rdata")){ stop("no such fil...
a31be4c653d6881733aa4bf196cb3e1d8689e8bb
888bc7297bce0524768099a664dbb8cdb9ce6795
/inst/extdata/downloader.R
6cee9e2bead2e12bef6fa0c9d52a6abad2a3591e
[ "MIT" ]
permissive
chinhungtseng/wtotariffcrawler
b9da6814b5c1f47ff9ed5d5d7b5d06bb41935b86
db8f4f8a85c897ea4fd69e94f12b7a5eb398ebd3
refs/heads/master
2020-12-08T14:28:51.613865
2020-01-14T02:50:01
2020-01-14T02:50:01
233,005,191
0
0
NOASSERTION
2020-01-13T05:16:56
2020-01-10T08:49:54
R
UTF-8
R
false
false
187
r
downloader.R
countries <- country_pool() for (i in seq_len(nrow(countries))) { import <- countries$import[i] export <- countries$export[i] tariff_downloader(import, export) Sys.sleep(3600) }
1639e00cba1cb7c37249ed7fcf54974e76602ea6
b64230574442e2118c0bd4277d26e99b6394707b
/man/ars.Rd
4f57efd9dbd65200f6b5d4976734f2ecb806c43e
[]
no_license
jonathanchen888/ars
58a373732b0af48e00a6934eef39baefb1426f70
65ca8a3d95c483719dedfec9b8be4506d05afe5b
refs/heads/master
2020-04-10T07:57:48.054754
2018-12-11T18:37:41
2018-12-11T18:37:41
160,893,841
0
0
null
null
null
null
UTF-8
R
false
false
1,779
rd
ars.Rd
\name{Implementing an Adaptive-Rejection Sampler} \alias{Documentation} %- Also NEED an '\alias' for EACH other topic documented here. \title{Implementing an Adaptive-Rejection Sampler %% Implementing an Adaptive-Rejection Sampler } \description{Adaptive-Rejection Sampler %% Implementing the Adaptive-Rejection Sample...
12e14a0396cc52fda0c4d463a64ee0ffee0ee9ce
fa9161a9e8da6fbca1bfc55ed5a72e4e849513cc
/man/avg_pay_plt.Rd
a70a0454cdb7f47f8c3c633929a5f4a748cf95f5
[]
no_license
AlChow514/lab2_ippspkg
d299e6c5a847edbe87185d81a96fefa85bf0c1ce
8674b3af81a618b92d044253f0dff9ebf0fde8bf
refs/heads/main
2023-01-18T17:49:56.285026
2020-11-02T01:20:59
2020-11-02T01:20:59
309,219,203
0
0
null
null
null
null
UTF-8
R
false
true
501
rd
avg_pay_plt.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/avg_pay_plot.R \name{avg_pay_plt} \alias{avg_pay_plt} \title{Box plot of Average Medicare Payment vs DRUG code} \usage{ avg_pay_plt(xcode) } \arguments{ \item{xcode}{input a 3 digit drug code} } \value{ a box plot of Average Medicare Payment ...
ea485f4e31dbecaf3b2a13c56efd367532d451c3
c656fcc9590e2b118311a7ab9e45eec5d66b1c69
/man/Tb_grasshopper.Rd
ea5c174fa8e196c851f485210e2ccfa1e3271dc9
[ "MIT" ]
permissive
Brybrio/TrenchR
db2186eb6f43bb1602ac749fa800799d20bedbe3
aeadf1c96daee10964b35eca073d3906323fcac4
refs/heads/master
2021-08-20T06:34:01.171420
2018-10-25T05:34:36
2018-10-25T05:34:36
144,772,995
0
0
null
2018-08-14T21:17:25
2018-08-14T21:17:25
null
UTF-8
R
false
true
1,925
rd
Tb_grasshopper.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/biophysmodel_Grasshopper.R \name{Tb_grasshopper} \alias{Tb_grasshopper} \title{Predicts body temperatures (operative environmental temperature) of a grasshopper in degrees C.} \usage{ Tb_grasshopper(Ta, Tg, u, rad, kt, psi, L, Acondfact = 0.2...
3351bbabda02be47be25f712f890de018381e35d
f0e5fa531bb22aebf6fc733e6acf41b855072901
/Plot 2.R
18ef89792ba7dd4c2a17de23816a26a10bc06f71
[]
no_license
Rookie323/Course4Week1Project
2a356813188f70fe8ec0c40bb6de619379085725
f83233bbf43f82c6365e69cc0c9624e35003ef95
refs/heads/master
2022-09-07T02:33:55.727114
2020-05-31T03:40:11
2020-05-31T03:40:11
268,203,302
0
0
null
null
null
null
UTF-8
R
false
false
723
r
Plot 2.R
library(lubridate) dat <- read.table("household_power_consumption.txt", sep = ";", header=T) head(dat) str(dat) dat$Date2 <- as.Date(dat$Date, format="%d/%m/%Y") head(dat$Date2) head(dat$Date) dat2<- dat[dat$Date2 >= as.POSIXct("2007-02-01") & dat$Date2 <= as.POSIXct("2007-02-02"),] dat2$Global_ac...
4807b77e176a9be99eac86c08fa6be40c6bcc8be
3c452b0b285add7e8d2bc6627258cd410ecb53fa
/R/RcppExports.R
7cfe8856a40777bc0d2533cf42340bbf34c46e5b
[ "MIT" ]
permissive
Non-Contradiction/JuliaCall
295ff96fb5e6f1dbf9e79ad10871572a7ff8e1d1
c05473bea78a0197c639f7e82ab1c6f2e943e1cc
refs/heads/master
2023-07-22T02:56:15.201964
2023-07-13T16:17:34
2023-07-13T16:17:34
99,278,989
267
40
NOASSERTION
2023-06-14T18:43:16
2017-08-03T22:08:52
R
UTF-8
R
false
false
660
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 juliacall_initialize <- function(libpath, julia_bindir, image_path) { .Call('_JuliaCall_juliacall_initialize', PACKAGE = 'JuliaCall', libpath, julia_bindir, image_path) } juliacall_cmd <- ...
5c161ed8e8005f01fa7cbfe3ff73790201b85c2f
8d32ef9051f1aa3a593c1ab9ca70012195571dee
/data-raw/raw_data.R
21a31de7a0c4550bc14b2b32bcc3f40b81eff9a1
[]
no_license
ibn-salem/genepair
42108b6fd5f08da5f05f4d117956d7d57472a1b6
74dd693b3139c46d987470f550669d21b4cc7241
refs/heads/master
2021-01-11T16:12:13.410209
2017-08-06T19:01:44
2017-08-06T19:01:44
80,034,684
2
1
null
2017-08-06T19:01:45
2017-01-25T16:49:07
R
UTF-8
R
false
false
443
r
raw_data.R
# #' #'Load data from loop_predicton v08 project #' load("data-raw/loopPred.v08.ancGR.Rdata") load("data-raw/loopPred.v08.loopDF.tmp.Rdata") load("data-raw/loopPred.v08.Rad21.w1001.b10.datamat.Rdata") # remove duplicates loopDF <- loopDF[!duplicated(loopDF[,1:2]),] # sort rows according to first two columns loopDF <...
579fad7d4d87198f04d9c679208c35b8e9bc2f31
db184b5e5e81c46490f7e7d15ceb9033fdb59f17
/man/npv.Rd
1dbe5c55ccde078201f746113c1dbeb8e0be09d8
[]
no_license
cran/cban
05da62dea1e79ba209effde8f751bbd9614a3e89
86fa13404e13b14d2b9a3928163441a010f98ec1
refs/heads/master
2023-01-29T01:59:36.836223
2020-12-07T09:20:05
2020-12-07T09:20:05
321,291,863
0
1
null
null
null
null
UTF-8
R
false
false
827
rd
npv.Rd
\name{npv} \alias{npv} \title{ Net Present Value } \description{ It calculates the net present value of a project in financial terms. } \usage{ npv(x) } \arguments{ \item{x}{ a data frame or list containing of variables: discounted cost and discounted benefit in that order. } } \details{ ...
8d1f5ed328ababfbf783092377fea69a6f813fa6
1fba1b4a40c79bf3c62f39434a3f6453977245aa
/week35_lemurs/w35_lemurs.R
dc114df74de56655ef73aa85e064bd4550adeed7
[]
no_license
kkulbir/tidytuesday
718b978364961d451c3470f3e06259a2e66ccadc
0410d955858b1a787c53b5ebfe1d58ba879fc727
refs/heads/main
2023-07-27T18:29:03.128279
2021-09-19T08:49:20
2021-09-19T08:49:20
null
0
0
null
null
null
null
UTF-8
R
false
false
3,637
r
w35_lemurs.R
library(tidyverse) library(extrafont) library(networkD3) library(htmlwidgets) lemurs <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-08-24/lemur_data.csv') #Keep only unique dlc_id, dam_taxon and sire_taxon lemur_clean <- lemurs %>% distinct(dlc_id, .keep_all = ...
6ac1347d3e41f2f92e10c8b7782978a35b832b2b
0f9fa909a1a2175302f2c8eb405482791145ee74
/tests/testthat/test-summary.R
e6b64d50bcc24eefd14790b423f4387133d452aa
[]
no_license
jasenfinch/metaboMisc
21942aac4a41043b35bfe36cb26f6d79031fc9a6
36d6630c151e29fadb687a77f5b946c80293029c
refs/heads/master
2023-08-08T13:19:36.745124
2023-07-21T16:49:37
2023-07-21T16:49:37
144,775,967
0
0
null
2023-07-21T16:49:38
2018-08-14T21:56:31
R
UTF-8
R
false
false
126
r
test-summary.R
test_that("featureSummary works", { feature_summary <- featureSummary(bd) expect_s3_class(feature_summary,'tbl_df') })
bd25a105a453cda4a271d5c8f234fe6ed87c9d21
67588b620e82f3baa1eadb83ce33a0aa73fa1809
/man/getBuiltinTime.GString.Rd
167af64d30829aee4f0b86c92d9b9e530f410964
[]
no_license
HenrikBengtsson/R.utils
88254b239c2b3df8cbb92f5c066fcde4c7e2378e
483d663494b1531e048b53f64652b574f4523d5e
refs/heads/develop
2023-04-07T10:40:23.836673
2023-03-18T04:27:44
2023-03-18T04:27:44
19,393,805
62
20
null
2021-09-24T17:44:50
2014-05-03T02:32:57
R
UTF-8
R
false
false
1,003
rd
getBuiltinTime.GString.Rd
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % GString-class.R % % by the Rdoc compiler part of the R.oo package. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{GString$getBuiltinTi...
a6a5dd1b4cd03e1ce0df47ccca2a9dcb5fa00fce
7193be8e52b2095d8b6472f3ef2104843dca339e
/Project1-ExploreVis/DinaMirijanian/codes/diabetes1.R
1fa2096deda7de2960f8fc9df500a223aaf50bc5
[]
no_license
vuchau/bootcamp007_project
4b0f37f49a1163ea6d8ee4143a5dcfdef0d352dd
ffbd0f961b18510fc72fd49770187ec1b4b013ae
refs/heads/master
2020-03-20T13:19:58.812791
2017-06-08T05:13:24
2017-06-08T05:13:24
null
0
0
null
null
null
null
UTF-8
R
false
false
3,234
r
diabetes1.R
library(dplyr) library(ggplot2) setwd("/Users/dmirij/Desktop/VIS_PROJECT") mydata = read.csv(file = "U.S._Chronic_Disease_Indicators__CDI_.csv") ###diabetes diagnosis in adults - line plot ############# dset1 = mydata[mydata$LocationDesc == "United States", ] dset2 = dset1[dset1$Topic=="Diabetes", ] dset3 = dset2[dset2...
269ec78b4d095fc33f8ca748a171e4854f525758
30172bc6b24a66712562adc4b19f93569842b75c
/cachematrix.R
47ce0659677e0d9f055f1bfbe01dd2b22009d402
[]
no_license
kepler123/ProgrammingAssignment2
7151507d4ddfe03288905ac591dcb3c6fdc9ea58
600d81a712bfa469cec0ecd1e43ad8e41099f766
refs/heads/master
2020-04-06T03:44:11.026106
2014-06-21T12:35:37
2014-06-21T12:35:37
null
0
0
null
null
null
null
UTF-8
R
false
false
4,196
r
cachematrix.R
## ## The makeCacheMatrix and cacheSolve functions in this R script ## together provide a way for creating a matrix, lazily computing ## its inverse, and caching the inverse on the matrix so it's not ## recomputed after the first time it is computed. In other words, ## the inverse is cached in order to avoid a po...
34e365f027c9f24ddce99bdb2a4cacd741199795
092cb24bea69ae3bb285b4aabdca65ac86726a2c
/plot3.R
590ad0136828f764a24396ad0111310c78a3c357
[]
no_license
lars-von-buchholtz/ExData_Plotting1
1cd2b3a31d83a9f507ea935cb0efe5b3cda38489
cc490828d9cddd45fc7bdaa53cbe8f338d1e9d24
refs/heads/master
2021-01-22T04:49:09.466325
2017-02-11T21:05:37
2017-02-11T21:05:37
81,586,403
0
0
null
2017-02-10T16:56:20
2017-02-10T16:56:20
null
UTF-8
R
false
false
1,390
r
plot3.R
# download zip file with raw data from url specified in README file and unzip it dataUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" zipfilename <- "hpc.zip" datafilename <- "household_power_consumption.txt" download.file(dataUrl,zipfilename) unzip(zipfilename) #read i...
b2bc64fa4773cca3069a34c7e272889d37e686dd
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/treeman/examples/getNdsKids.Rd.R
96c000e73e8d52290371b8deb3a293a76f15e57b
[]
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
203
r
getNdsKids.Rd.R
library(treeman) ### Name: getNdsKids ### Title: Get children IDs for multiple nodes ### Aliases: getNdsKids ### ** Examples library(treeman) tree <- randTree(10) getNdsKids(tree, id=tree['nds'])
3aeeb878630f20baa5cbafa5571e1dc79a3aeeb7
4dcb808a0b3ef5656fa2dcdf3e931f90befe19ec
/HouseholdSourcedata.R
3cb50c9368368f5656f8245da70aeabf0d62c9c3
[]
no_license
TejovardhanM/ExData_Plotting1
7116fb06827d9c4e4f2bc866aa9280c0dfd2180c
03affcd9b24a0dee6be2763b3e77dab8176eb791
refs/heads/master
2022-06-06T05:51:14.106056
2022-05-13T18:40:20
2022-05-13T18:40:20
62,902,675
0
0
null
2016-07-08T16:33:36
2016-07-08T16:33:36
null
UTF-8
R
false
false
887
r
HouseholdSourcedata.R
setwd("C:\\Tejo\\Datascience\\ExploratoryDataAnalysis\\ExData_Plotting1\\") housepowerconsumption<-read.table("C:\\Tejo\\Datascience\\ExploratoryDataAnalysis\\exdata_data_household_power_consumption\\household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?") ###head(housepowerconsumption) ###str(ho...
38713dd9657e2de12762127bc4be7ede01f197d1
3c37e20c65d3918fede609648fccc7e997527c47
/man/crc.Rd
fa37a3f824cb187296ad660de531f97ef844103c
[]
no_license
cran/Rwave
67cb1e7b8e234c1f49b1ac4cbadef024a04afc21
72a5fc18fdb0c4ae4cf6aa9985617268585ffae5
refs/heads/master
2022-11-04T20:48:09.750339
2022-10-21T22:17:49
2022-10-21T22:17:49
17,713,902
2
0
null
null
null
null
UTF-8
R
false
false
1,672
rd
crc.Rd
\name{crc} \alias{crc} \title{ Ridge Extraction by Crazy Climbers } \description{ Uses the "crazy climber algorithm" to detect ridges in the modulus of a continuous wavelet or a Gabor transform. } \usage{ crc(tfrep, tfspec=numeric(dim(tfrep)[2]), bstep=3, iteration=10000, rate=0.001, seed=-7, nbclimb=10, flag.int=TRUE,...
5251079291aff8192ff04963282df5929060c70c
35e451f2286f9afe4fa15f630dc20818b567328a
/ProgAssignment1_2.R
1949556259a2f59c2faec3b1af8f2450b8dc0ea7
[]
no_license
ruiduque/datasciencecoursera
79fca3e7c58b1163e5ee1dc17ba2d204ff5c067a
5975f05031809c5ca222d41f2eeb25a5704dac8b
refs/heads/master
2021-03-12T20:38:36.699909
2018-12-11T14:57:28
2018-12-11T14:57:28
157,734,757
0
0
null
null
null
null
UTF-8
R
false
false
721
r
ProgAssignment1_2.R
complete <- function(directory, id = 1:32) { filelist <- list.files(directory, full.names = TRUE) # Init list my_output <- data.frame() for (i in seq_along(id)) { my_output <- rbind(my_output, c(id[i], sum(complete.cases(read.csv(file = filelist[id[i]]))))) } colnames(my_output...
16a4042ffbfc1a0b5ec0855b5c7dc2bb46578865
29585dff702209dd446c0ab52ceea046c58e384e
/survJamda/R/det.set.ind.R
c3b4ceba6af9a47fa09f5a4bcd61f0954cb49a59
[]
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
474
r
det.set.ind.R
det.set.ind <- function(geno.files,train,i) { curr.ind = 0 ind = NULL for (m in i){ if(train) cat (geno.files[m], " ") if (m == 1) ind = c(ind,1:nrow(get(geno.files[1]))) else{ curr.ind = 0 curr.ind = curr.ind+nrow(...
34243dd7f66119c6c5ef215de00f20897144c222
b59cc783d2da2f32737432c1b13cf72c5802f067
/tests/testthat.R
38b2c039f32fe1068c40d53a3c306028897c1586
[]
no_license
jdsimkin04/shinyinla
9a16007b375975a3f96b6ca29a1284aa6cafb180
e58da27a2a090557058b2a5ee63717b116216bf7
refs/heads/master
2023-06-05T08:34:34.423593
2021-06-24T00:27:04
2021-06-24T00:27:04
330,322,338
0
1
null
null
null
null
UTF-8
R
false
false
222
r
testthat.R
# For development, run with devtools::test() from the rinla/ directory # Requires the binaries to be locally available via the relevant # rinla/inst/bin/... directory library(testthat) library(INLA) test_check("INLA")
83ec69c43b6b083c14e685bff6c46928503382c2
61076ee22971ff0979c282ee7f6760e43a19634f
/Machine Learning Algorithms/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/Data_Preprocesing.R
0a86783a9a8fbb0e7bfcd487b91af5757a7677de
[]
no_license
vaishnavinalawade/Data-Science-Python-Projects
419618da83fba74b9bd7065b6318a59eb18f49fd
3f1ae8e3e85e869dde0f168f5928ded8d52b96a5
refs/heads/master
2022-11-28T01:41:48.796116
2020-08-10T06:12:32
2020-08-10T06:12:32
166,856,648
0
0
null
null
null
null
UTF-8
R
false
false
751
r
Data_Preprocesing.R
dataset = read.csv('Data.csv') dataset$Age = ifelse(is.na(dataset$Age), ave(dataset$Age, FUN = function(x) mean(x,na.rm = TRUE)),dataset$Age) dataset$Salary = ifelse(is.na(dataset$Salary), ave(dataset$Salary, FUN = function(x) mean(x,na.rm = TRUE)), dataset$Salary) dataset$Country = factor(dataset$Country, levels = ...
c0e23e9031b56384c171ff1ebc9e6b997d6bf50e
7f72ac13d08fa64bfd8ac00f44784fef6060fec3
/RGtk2/man/custom-tree-models.Rd
cbe28e00ed848a262f30eb12bcd31e3dc4c39f3f
[]
no_license
lawremi/RGtk2
d2412ccedf2d2bc12888618b42486f7e9cceee43
eb315232f75c3bed73bae9584510018293ba6b83
refs/heads/master
2023-03-05T01:13:14.484107
2023-02-25T15:19:06
2023-02-25T15:20:41
2,554,865
14
9
null
2023-02-06T21:28:56
2011-10-11T11:50:22
R
UTF-8
R
false
false
1,890
rd
custom-tree-models.Rd
\alias{gtkTreeIterGetId} \alias{gtkTreeIterSetId} \alias{gtkTreeIterGetStamp} \alias{gtkTreeIterSetStamp} \alias{gtkTreeIter} \name{custom-tree-models} \title{Custom GtkTreeModel implementations} \description{Functions that allow one to implement a custom \code{\link{GtkTreeModel}}} \usage{ gtkTreeIter(id, stamp) g...
3c5b0babdc9076d4d36c22a8eebc3a0f9b1d74b3
075de50cf5166329502555fa39d863f2619cf27b
/app.R
f47cf824d9f307bdc1475bdc0baa6a2dc7a2f94d
[]
no_license
ardata-fr/municipales-paris
75841f7d68803d2e8db686b95b37209d7098f6e5
851b1c595924b293b680f6c5453fecd9e92a4f8e
refs/heads/master
2023-04-20T15:30:43.996497
2021-05-06T15:13:34
2021-05-06T15:13:34
278,660,914
7
1
null
null
null
null
UTF-8
R
false
false
4,889
r
app.R
library(shiny) library(shinyWidgets) library(ggplot2) library(ggiraph) library(flextable) source("Rscripts/flextable_tooltip.R") source("Rscripts/summary_data.R") # get data ---- paris_arr <- readRDS(file = "data/paris_arr.RDS") nuances_col <- readRDS(file = "data/nuances_col.RDS") scores <- readRDS(file = "data/sco...
33b8e6cb599e9df13dad566db0e268ed692b4b9f
0e10a3642916ab4bbe1d0162e7774d83bfb9fa74
/R/ClusterVariablePractice.R
ff345e4e8cbe384d1e9869fd0925ebc01938ebba
[]
no_license
ryamada22/atom
5f82300643351ba41f6f818205bc1d75cbb11f8f
45f0ceda958d89982e487965ae6e4788bb2c1801
refs/heads/master
2022-06-10T10:23:01.922811
2022-03-20T23:53:20
2022-03-20T23:53:20
163,775,778
0
2
null
null
null
null
UTF-8
R
false
false
2,822
r
ClusterVariablePractice.R
library(rgl) # 正四面体の4頂点座標を計算する関数 CategoryVector<-function (d = 3){ df <- d - 1 diagval <- 1:d diagval <- sqrt((d)/df) * sqrt((d - diagval)/(d - diagval + 1)) others <- -diagval/(d - (1:d)) m <- matrix(rep(others, d), nrow = d, byrow = TRUE) diag(m) <- diagval m[upper.tri(m)] <- 0 as.matrix(m[, 1:df])...
e96867067b64209eb0ce9b5408ac95fe3d4b9719
79b935ef556d5b9748b69690275d929503a90cf6
/man/Triplets.Rd
e292e275ebcc678aa04559a6c2de80768ad500a1
[]
no_license
spatstat/spatstat.core
d0b94ed4f86a10fb0c9893b2d6d497183ece5708
6c80ceb9572d03f9046bc95c02d0ad53b6ff7f70
refs/heads/master
2022-06-26T21:58:46.194519
2022-05-24T05:37:16
2022-05-24T05:37:16
77,811,657
6
10
null
2022-03-09T02:53:21
2017-01-02T04:54:22
R
UTF-8
R
false
false
3,266
rd
Triplets.Rd
\name{Triplets} \alias{Triplets} \title{The Triplet Point Process Model} \description{ Creates an instance of Geyer's triplet interaction point process model which can then be fitted to point pattern data. } \usage{ Triplets(r) } \arguments{ \item{r}{The interaction radius of the Triplets process} } \value{ An ob...
6fea1b963c79f56a70d3cab0d84f1ac0a1d69589
9085705aae9740c3a27ff08900d8e98d2cf8f277
/MFFP_PEN_analysis.R
81fb29e0ce86c5981d9960f01cf392d0db3b2e7f
[]
no_license
VFugere/FisHab
ce3bda8a0de0fd3ca263d07a12575a940db91b05
e65484d0f1a17673ada08c892d6899e395c67130
refs/heads/master
2022-03-10T12:25:13.478930
2022-02-17T22:35:28
2022-02-17T22:35:28
226,241,957
0
0
null
null
null
null
UTF-8
R
false
false
20,510
r
MFFP_PEN_analysis.R
# analyse de données PEN du MFFP # Vincent Fugère 2021+ #cleanup rm(list=ls()) #libs library(readxl) library(itsadug) library(scales) library(sp) library(raster) library(rworldmap) library(RColorBrewer) library(devtools) library(party) library(skimr) library(tidyverse) library(mgcv) #functions make.italic <- functio...
00246d2273397bf8fb1b89488cfd08a8a755f11b
e04b360ce5307d44c775cde976a39ce71e93e89f
/man/pad_ws.Rd
caf92b0658c3dc5e5672dd15a4ae1e8a958d832e
[]
no_license
haukelicht/AnnotationModelsR
efe73983e0f0171c7cf75aa1688f1994aa6626fd
b507e0d5f581adcaea93fc214cbb05cd665afa21
refs/heads/master
2020-09-14T11:32:10.682643
2020-07-07T07:57:47
2020-07-07T07:57:47
223,117,022
1
0
null
null
null
null
UTF-8
R
false
true
400
rd
pad_ws.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summary.R \name{pad_ws} \alias{pad_ws} \title{Pad white space} \usage{ pad_ws(x, n, left = TRUE) } \arguments{ \item{x}{character vector} \item{n}{total No. characters} \item{left}{padding to the left (default: \code{TRUE}). otherwise paddi...
ebffb7f1103659dc89edf5e1f900db2dc6194679
9389d9795b92792d565dc8417b212485710725e7
/conc.fun.R
42339a7ab5f6ea848a38bf3bdf645a1a4164bb03
[]
no_license
SoilWaterLab/Septic-GHGs
3b445154331cf60941aaf063ce264856fb76ddf8
89842ecb2e7f6954416b7b4891b6962fc8ad0842
refs/heads/master
2021-01-10T22:06:28.538616
2015-10-01T21:09:08
2015-10-01T21:09:08
42,467,472
0
0
null
null
null
null
UTF-8
R
false
false
755
r
conc.fun.R
conc.fun <-function(sample_data, standard_coeffs, chamber_volumes, directory, gas, print=FALSE){ #Note: edited on 8/28/15 to include a fixed standard coefficient slope and intercept collar_surface_area <- 0.064 #meters std_curve_nums <- unique(standard_coeffs$Std_Curve_Num) for(j in 1:nrow(sample_data)) { sam...
e0f2d249ac3cafce8fe18d9ec43941c635286215
1042861ed128d3208977181b5838955a86406b43
/.init.R
c54804aea3256572300029e1dd12c1e9605a2c55
[]
no_license
pseabour/https-github.com-hyginn-R-Intro
fd12c0d87d15adf1fc8303efcd84185178cccde8
33585b1f9a3300126f011a87beec599b131a8046
refs/heads/master
2020-03-30T05:12:26.757151
2018-05-15T19:19:41
2018-05-15T19:19:41
150,786,721
1
0
null
null
null
null
UTF-8
R
false
false
1,972
r
.init.R
# .init.R # Functions to initialize this session # Boris Steipe # ============================================================================== cat("Initializing ...\n") # Source local functions cat(" sourcing local functions from \"./R\" directory ...\n") for (script in list.files(path = "./R", ...
4ba126a8aef17d21d9f074a56005f855a1056f3b
5f712d7949490943b913c1558a940187ab883015
/R/Proba_pH.R
62e83848f66c01fdfe1fb707405637b6ddbee60c
[]
no_license
Subhasishbasak/predictive-microbiology
fdfa9e752f7ceb5447bea2e58ec992fdd9eb6bd1
a8af1d12f7685703f4343cd4f3cc0610401e8295
refs/heads/master
2022-04-20T00:07:25.311176
2020-04-16T16:07:27
2020-04-16T16:07:27
null
0
0
null
null
null
null
UTF-8
R
false
false
1,026
r
Proba_pH.R
#' This function describes the evolution of the single-cell growth probability with pH. For this, we used the model proposed by Jean Christophe Augustin and Aurelia Czarnecka-Kwasiborski in 2012, to describe the increase of the probability from 0 to 1 with increasing values of pH. #' #' @param pH pH value # a number #'...
e726b2c1b8092b58a966c5c9eabcea2f73ea5183
e0ef9d469d33b1d04a10e7fd44e3a491767cc439
/MovieLens.R
c1000fc4c07ea42b0e8cc194fdf8b365dcd5b28e
[]
no_license
klim-hb/capstone
95b9713e7618215a5e9a60c425be71f8ba1b487f
8fdbed849cb9ce0a09a1306847dc1da030574080
refs/heads/master
2022-07-07T06:19:43.002643
2020-05-16T07:35:40
2020-05-16T07:35:40
264,367,851
0
0
null
null
null
null
UTF-8
R
false
false
27,869
r
MovieLens.R
# It is easier to follow the flow in the RMD script. # Loading libraries library(dplyr) #data wrangling library(tidyverse) library(kableExtra) #very useful package to change the style of output tables library(knitr) library(tidyr) library(stringr) library(ggplot2) library(recosystem) #package for recommendation syste...
6c701c3f6344a4007c77fd71c1c8a641e3b027db
ca9321fa12c8baaaf1fcf357c510cd2cac052f50
/lab_r/rml02_knn.R
550596cf6c43e6ea80346862ae477f2f585a12ef
[]
no_license
serener91/ITW
e5fb7a7fbaf9142c6f14afcda2b04fb75ff3513e
1eac674657d38158d720cb1bfd7a289a4dce64ef
refs/heads/main
2023-08-07T21:21:55.589767
2021-09-17T05:22:21
2021-09-17T05:22:21
null
0
0
null
null
null
null
UTF-8
R
false
false
4,490
r
rml02_knn.R
# wisc_bc_data.csv: 위스콘신 대학 유방암 데이터 프레임 # kNN 알고리즘을 사용해서 암 유무를 예측 # 필요한 패키지 로드 library(tidyverse) # 데이터 전처리, 가공, 시각화, ... library(class) # classification: knn() 함수 library(gmodels) # CrossTable() 함수 - 오차(혼동) 행렬 search() # 데이터 준비 file_path <- 'https://github.com/JakeOh/202105_itw_bd26/raw/main/datasets/...
359ccd125b72af93ee6696889e9078755c2dc1bb
92df0c74fa341c50753c95a593d297e30f87bc94
/man/soft_full.Rd
ec9f346a766f4271448095667eb651964bf29c8b
[]
no_license
cran/LinearDetect
24ed8e86d17eddef3a2fa0d147b997d999de216e
f108bc9158618d94f387db56319a8430532a6456
refs/heads/master
2023-03-24T07:19:37.677204
2021-03-21T23:20:02
2021-03-21T23:20:02
349,128,088
1
0
null
null
null
null
UTF-8
R
false
true
334
rd
soft_full.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{soft_full} \alias{soft_full} \title{soft threshold function} \usage{ soft_full(L, lambda) } \arguments{ \item{L}{input matrix} \item{lambda}{threshold parameter} } \value{ thresholded matrix L } \description{ soft thresho...
f07452ae936417d3018d10146920f5fe4e9d3e6c
1822ffd8e109a953dccecade22c8c7878249fafb
/src/03_variables/varibale_naming.R
8dc23e7904a1d10f9c1708725b6f806dc3e58f58
[ "MIT" ]
permissive
hygull/rscript
d8e70d52fcbfe091be12484aa7850ad6e656f79b
1cac28b845ee31fde6a62ee96f4ce94312eb1680
refs/heads/master
2021-01-20T08:29:56.300907
2017-05-12T06:16:53
2017-05-12T06:16:53
90,153,158
0
0
null
null
null
null
UTF-8
R
false
false
479
r
varibale_naming.R
# { # 'created_on' : '5 May 2017', # 'aim_of_rscript' : 'Using proper and variable names in R', # 'coded_by' : 'Rishikesh Agrawani', # } arr = c(12, 45, 67) my_fav_fruits3 = c("Apple", "Pine apple", "Grape") .fruits = array( c("Apple", "Grape", "Orange") ) integers.vector = c(1, 5, 7, 9) print(arr) print(my_f...
6d78a74eef3a68bf2d268228995b19fb15fdd42f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/steemr/examples/phour.Rd.R
d03e0933e60bbe0b9392eea275765bcde77c77a2
[]
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
394
r
phour.Rd.R
library(steemr) ### Name: phour ### Title: Hour rose plot. Copied and modified from the openair package. ### 'phour()' plotted a 24-hour clock, indicating the active hours on the ### basis of a time column in a data frame. It is highly cumstomized on ### the basis of the 'openair::windrose()' function'. ### Ali...
e37076c5cf30ee0b3e01da4a4fced8c1975bdd08
34af8beb0b82a115ba359f41f2a38e1c7c357b0c
/R Scripts/cvcharts.R
313da657fb245cb47aba282d5787e8b4d62496b3
[]
no_license
srikantv03/Coronavirus-WebScrapers-and-Data-Vis
5e1ce2a76c37e1abe9a40bb7ed2bbdb5d27f0363
1a8d3bf68f04b68b116647487abfa1422cf0e263
refs/heads/master
2022-07-29T02:18:43.399713
2020-04-21T10:32:04
2020-04-21T10:32:04
null
0
0
null
null
null
null
UTF-8
R
false
false
2,050
r
cvcharts.R
setwd("C:/Users/Srikant/Desktop/Coronavirus Data Stuff") data <- read.csv(url("https://covidtracking.com/api/states/daily.csv")) library(tidyverse) library(gridExtra) library(maps) library(socviz) library(tibble) source("./myfunctionsaug.R") source("./theme_map.R") head(data) names(data) data <- data[c(1:4, 7, 8, 11:...
bd2b6b47d570dafd707584e58266127c111d11d1
b75a06043870136a4ecb4fa4be57c080855771ea
/demo/fitmodel3.r
78b8c38e09fce1a18fe4263bc36492761c1adf0f
[]
no_license
cran/mme
7415a547a67109bf1ce6deb959f376a94c773462
3acfdec03fccdace46d3a0c68abe1e89569b6b5d
refs/heads/master
2021-06-01T22:07:25.024544
2019-01-27T14:40:13
2019-01-27T14:40:13
17,697,603
1
1
null
null
null
null
UTF-8
R
false
false
5,526
r
fitmodel3.r
# THIS IS A COMPLETE EXAMPLE WITH MODEL 3 # USE SIMULATED DATA FOR 50 AREAS AND 6 PERIODS OF TIME ###################### # Model 3 # Model with two independent random effects in each category of the response variable: # one domain random effect and another correlated time and domain random effect ################...
ee0c9532078a3ac43c0d15a8f556a9a749d70b37
fc88a834f1914bc26bf9bff03209f5ae4ee47105
/man/example.Rd
46298098bc190c4bbd6834e9c424d4c1ed98f576
[]
no_license
SoniaTC/NOISeq
c2181897f2492cc5f05e5f59fd2b1761ef3a53ca
84b8811a7e9095f361290d9388f64f601c87b93f
refs/heads/master
2022-11-19T03:31:25.432278
2020-07-20T09:58:33
2020-07-20T09:58:33
274,364,908
0
0
null
null
null
null
UTF-8
R
false
false
1,007
rd
example.Rd
\name{example} \docType{data} \alias{mydata} \alias{mynoiseq} \title{Example of objects used and created by the NOISeq package} \description{ This is a quick view of the objects generated by the package. To take a look, see the usage information. These objects have been created from Marioni's reduce dataset (o...
65ccf1b76c757d31e1d731b2460f43136e78c947
f65fb425744cb0e367438b2e69019b6645048cdb
/R/deleteOne.R
01daf14f9f396efed970fe548865b3c26db4fe70
[]
no_license
cran/smacof
2dc3946ee615eef6846212c3e0fbb6bbd3d94e9a
c89277ac6d174f1c8d191994fc2fe0ee849f6a25
refs/heads/master
2022-05-27T05:52:02.937125
2022-05-06T06:04:47
2022-05-06T06:04:47
17,699,709
6
0
null
null
null
null
UTF-8
R
false
false
303
r
deleteOne.R
smacofDeleteOne <- function (delta, ndim, type) { n <- nrow (delta) x <- array (0, c (n, ndim, n)) for (i in 1:n) { xi <- smacofSym(delta[-i, -i], ndim = ndim, type = type)$conf x[((1 : n)[-i]), (1 : ndim), i] <- xi x[i, (1 : ndim), i] <- 0 } return (x) }
a53545bcb26698194e8d6aef94ad8905ee6fd1e2
276eac36e10f083d9f7d62a6b0d5989a3ccec106
/scripts/figure_generation/make_figure4.R
12498f0401e6f4700f790f240c18e751d71ca8de
[ "BSD-3-Clause" ]
permissive
greenelab/deconvolution_pilot
5caec028804243ba0ae3a4568310cbe9eed20ec6
b62d8e77c0f128480af27f9ab61b6ab45305ab0f
refs/heads/main
2023-07-27T22:58:53.136158
2023-07-27T22:58:47
2023-07-27T22:58:47
492,989,959
1
1
BSD-3-Clause
2023-07-27T22:58:48
2022-05-16T20:28:46
R
UTF-8
R
false
false
4,913
r
make_figure4.R
suppressPackageStartupMessages({ library(DropletUtils) library(data.table) library(scater) library(miQC) library(ggplot2) library(dplyr) library(pheatmap) library(RColorBrewer) library(patchwork) library(ggpubr) library(yaml) library(DESeq2) library(rtracklayer) }) params <- read_yaml("../../...
9aa165cfeab44e52aee1652d3d8287288dd75a3b
462ef36e8d5c00293bb93899bde36e7a61597047
/man/biscuiteerDataListDates.Rd
c4b058672a5113a610d5e108b5435b9d7d1a4746
[]
no_license
trichelab/biscuiteerData
9bdfde69e0f079cbd70623ef366595e416764c78
f5366976a4422f4cc549e8913a2cc33922008e09
refs/heads/master
2023-08-03T11:04:26.493002
2023-07-05T14:40:08
2023-07-05T14:40:08
210,435,170
0
1
null
2019-10-17T14:32:02
2019-09-23T19:25:39
R
UTF-8
R
false
true
375
rd
biscuiteerDataListDates.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{biscuiteerDataListDates} \alias{biscuiteerDataListDates} \title{List all versions of biscuiteer data} \usage{ biscuiteerDataListDates() } \value{ Sorted unique dates in biscuiteer data } \description{ List all versions of biscui...
55912663d1e34d8a996dda5ee0e29c6ec671d3ca
4f46f3b0377a558f488bd2c035b2f5f09cce1e31
/ui-vegindex-selection-plots.R
3a0349087d088fa8767a16c8e9f743c0ee47bd8b
[ "MIT" ]
permissive
alkc/specalyzer
d34ee95fc37188a0caeafc865d504adf239248bb
2b7278d8020f2c4193ff9ce2f5ded66e7857f5be
refs/heads/master
2021-07-09T21:27:37.300561
2021-04-15T21:07:44
2021-04-15T21:07:44
123,193,976
3
3
null
null
null
null
UTF-8
R
false
false
694
r
ui-vegindex-selection-plots.R
get_vegindex_selection_plot_ui <- function() { fluidPage( titlePanel("Selection of vegetation indices"), sidebarLayout( sidebarPanel( selectInput( "viselection_attr_select", label = "Select attribute of interest:", choices = "", multiple = FALSE, ...
99e29d4db647d5e2da513e282b8d97e57c38b9d2
61d2414c11b7ea89f5485ea0b4a63e2983d954b1
/plot1.R
e2cb08fcd4ecf8fc6ff6193de5cea1030c2bec65
[]
no_license
briankw1108/Ex_Data_Analysis_Plotting1
ab56e6f139e64ac523bd6fe880353da5764f990f
155ddb5d6c89714bdbc7b17b59c4998ef4016ecc
refs/heads/master
2016-08-11T19:42:02.700173
2015-10-11T18:22:56
2015-10-11T18:22:56
44,056,324
0
0
null
null
null
null
UTF-8
R
false
false
1,567
r
plot1.R
#Load libraries library(lubridate); library(dplyr) #Set up correct working directory setwd("C://Users/u213493/Desktop/Data Science/Exploratory Data Analysis") #unzip the file #unzip("exdata_data_household_power_consumption.zip") #Load the file data = read.table("household_power_consumption.txt", header = T, sep = ";...