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
2f8e5b0376818334111db9cddb804a6e4c7c86b9
0b1a24cee99eb7746d63ea900f7cb7956c370c1c
/R/rotate_to_coordaxes.R
52c5683bcfd96275f3d1da16109f788f34bf2eda
[]
no_license
cran/SyScSelection
d3692ecb4ca10c740196556e2fb27e991e033d8b
b1b7e61004dd3832caf9380c177b2c2aba24234d
refs/heads/master
2023-01-04T01:43:50.391849
2020-10-26T13:10:02
2020-10-26T13:10:02
276,711,469
0
0
null
null
null
null
UTF-8
R
false
false
781
r
rotate_to_coordaxes.R
#' Rotates the ellipsoid (hellip) so its principal axes align with the coordinate axes. Both ellipsoids are centered at the origin. Note that there are (2^d)*d! valid ways to rotate the ellipsoid to the axes. This algorithm does not prescribe which solution will be provided. #' @param hellip The shape to be rotated, ...
f9b18bcb7632518be4e9c8ba16575b1effec7436
d0f5623feadaad07540301d0fe2c64440ec02e39
/R/export_for_python.R
c0b5d1ed33329137a9828519b4466eb9b57ead8e
[ "MIT" ]
permissive
sansomlab/tenx
81d386f4f593af88565cb7103c4f9c8af57b074a
1bfd53aaa3b86df1e35912e1a4749dcb76c4912d
refs/heads/master
2023-07-25T22:31:32.999625
2023-07-12T11:11:17
2023-07-12T11:11:17
136,856,953
54
18
MIT
2022-03-13T15:05:54
2018-06-11T00:53:52
R
UTF-8
R
false
false
3,302
r
export_for_python.R
## Export data to be used as input for analysis with python ## packages such as scanpy # Libraries ---- stopifnot( require(optparse), require(Seurat), require(tenxutils) ) # Options ---- option_list <- list( make_option(c("--seuratobject"), default="begin.Robj", help="A seurat object after...
d354e123cb6361eaf323e29668eb4b68e0852303
6812fef9dc352d2aef5c57c6f930e0004bf314a5
/man/EWOC2-internal.Rd
3a4e93c6b90a9646ba9eeba2975abb2a3379fe8f
[]
no_license
cran/EWOC2
b468a36e3ffd637bfb4b57464470044eea1fe092
a548c03ea2b1126dec6190bc0ffc6d88d57f7717
refs/heads/master
2020-12-21T23:09:44.399994
2019-03-29T14:20:03
2019-03-29T14:20:03
236,594,581
0
0
null
null
null
null
UTF-8
R
false
false
478
rd
EWOC2-internal.Rd
\name{EWOC2-internal} \alias{Function.decimalplaces} \alias{Function.fdist} \alias{Function.generate.bugs.file} \alias{Function.Mi.Dose.Increment_simu} \alias{Function.mtd_logistic} \alias{Function.MTDdoses} \alias{Function.nextdose.2d} \alias{Function.parameter} \alias{Function.postdlt} \alias{Function.simu....
41c5cd25261a6e4b3ea418812d3eb121fe8b62b1
bd522db24d4a8cc5136d9f2253a595737abbad10
/man/sampleNum.Rd
759619e91673d3d228c503771fca06fca43f436a
[ "Artistic-2.0" ]
permissive
hshdndx/new-to-CNV
8a288427a5f627693a8b4e9856cf6b1617733cfb
6dd83a15fc0e27e998462c8ed68b81e85725c1be
refs/heads/master
2021-01-11T12:00:42.206325
2016-12-16T07:07:34
2016-12-16T07:07:34
76,614,237
0
0
null
null
null
null
UTF-8
R
false
false
1,388
rd
sampleNum.Rd
\name{sampleNum} \alias{sampleNum} %- Also NEED an '\alias' for EACH other topic documented here. \title{ %% ~~function to do ... ~~ Number of samples } \description{ This function gets number of samples from an object of \code{\link{PatCNVSession-class}} or \code{\link{PatCNVData-class}} %% ~~ A concise (1-5 lines) ...
a0a3827013ad0b100424ff4b7ac5efe06ebec5e9
09aec0d4fd39e5e6e1ca9a37318a386252d3e6e4
/dataprep.R
9de719f7976e11937cfd46578977010208fd7144
[]
no_license
fsmontenegro/ddp
fc77a2312141fb076add0489ad1162ddd872f5cd
1ac07b351bae647781fd0da855a55962633786eb
refs/heads/master
2021-01-10T11:07:33.213840
2015-12-24T21:25:02
2015-12-24T21:25:02
48,556,376
0
0
null
null
null
null
UTF-8
R
false
false
3,239
r
dataprep.R
# # Markham Life Fix # # Libraries and cleanup # rm(list=ls()) library(stringr) library(dplyr) library(tidyr) # load csv with NAs - CSV generated on Tabula ps<-read.csv("preschool.csv",stringsAsFactors = FALSE,na.strings = "") colnames(ps) <- c("Program.Name","Age","Location","Day","Time","Start.Date","Classes","Cours...
bf105be8eae46626cd549ce955a45f82cc883b12
6bc36e666b971851a643a4ee70962032f96fa6eb
/Lineadeproduccion/ui.R
4d5ab6c677eb708e6ab618ed3167df649d659950
[]
no_license
espinosabouvy/familiasdeproductos
f6bfc75ee550899d21ecdbbfeaf20c9fdd98196d
fda8fba69303e7231324906740076233be77fbdb
refs/heads/master
2020-06-22T15:30:44.632378
2017-01-12T03:34:14
2017-01-12T03:34:14
74,587,944
0
0
null
null
null
null
UTF-8
R
false
false
2,941
r
ui.R
library(shiny) shinyUI(fluidPage( titlePanel("Crear lineas de produccion y asignar modelos"), sidebarLayout( sidebarPanel( h4("Te invitamos a que definas tus lineas de produccion utilizando los datos de tu empresa."), h5("El archivo debe tener un formato de colu...
558f5d238e8a7a9e8c7555faa271fae4605045d6
68d81fc3bd291379d987b85aa7e8f1f872f72d7d
/app.R
2f5498c602e445031bcfb8f8027ad2de90b04220
[]
no_license
Bailey-B/participatingjournalsapp
52d20e7ddeb93f43673758487764b600ac8ef84e
7466736ab3bc5e6d52fe6affc6b627bf126f77be
refs/heads/master
2020-07-05T10:02:34.652027
2019-08-16T00:01:22
2019-08-16T00:01:22
202,616,887
0
1
null
null
null
null
UTF-8
R
false
false
1,373
r
app.R
# SAGE Path Participating Journals library(shiny) library(shinythemes) library(tidyverse) library(DT) ui <- fluidPage( titlePanel("SAGE Path Participating Journals"), mainPanel( fluidRow(img(src = "logo.png", align = "left", width = "250")), fluidRow(p("example text"), column(1)), fluidRow...
87c7f84ba9df5388904b8106b01a2aae55d775b6
7811ab5322831bbfda18f2e287781c22b9f9c7ae
/Plantgrowth.R
8bc75656a2038e9e307e60d43c7210f4cf25b1cb
[]
no_license
Anupwilson/datascienceR_code
740f308e921d9ed85fdc59eccf26cdcbe9681853
0b700583016d5bb5de856ea64e6c202778dd50b5
refs/heads/main
2023-04-17T03:23:56.115341
2021-05-05T10:57:08
2021-05-05T10:57:08
309,035,862
0
0
null
null
null
null
UTF-8
R
false
false
896
r
Plantgrowth.R
harshi<- datasets::PlantGrowth # to find first 10 rows of plantgrowth head(PlantGrowth,10) # to find last 10 rows of plantGrowth tail(PlantGrowth,10) # to find summary of the plantGrowth summary(PlantGrowth) PlantGrowth[,c(1,2)] df<-PlantGrowth[,-6] # summary of plantgrowth summary(PlantGrowth[,1]) #summary ...
f7762fa215c874685539e23142a0a31d0ba2f374
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/10341_2/rinput.R
748bdd18a849279a057801d8d74d6d9e79ce4a0b
[]
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("10341_2.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="10341_2_unrooted.txt")
5f37244b04e6fe8ab2e503ffde2bd15c7ab37386
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/KoNLP/examples/get_dictionary.Rd.R
1fa6f6f5f98a0dc914c7a626dc4b8be01b7c4ec1
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
188
r
get_dictionary.Rd.R
library(KoNLP) ### Name: get_dictionary ### Title: Get Dictionary ### Aliases: get_dictionary ### ** Examples ## Not run: ##D dic_df <- get_dictionary('sejong') ## End(Not run)
688cea34b43d368264601cde688fac7352b5864b
e9f65ddf2b049eea7e60d6dba14a531a0ea429bf
/fridge.R
96c389b86d4a434c25594d98d92686692a23f2e2
[]
no_license
andrejondracka/IoT-analytics---electricity-consumption
2ccdc531d2573552ea01a2345683d7c4f7e23909
341e008cd7b9fd043380e7312befa47f6875962b
refs/heads/master
2020-09-07T23:57:56.868197
2019-11-11T10:24:44
2019-11-11T10:24:44
220,950,352
0
0
null
null
null
null
UTF-8
R
false
false
1,649
r
fridge.R
###fridge consumption meter_data_laundry2 <- meter_data[,c('DateTime', 'Laundry Room')] plot(meter_data_laundry2$DateTime[1380:2820], meter_data_laundry2$`Laundry Room`[1380:2820], type = 'l', xlab = 'hour', ylab = 'energy consumption (Wh)') meter_data_laundry <- meter_data[,c('Date', 'Laundry Room')] me...
f289a11f35dd261bdf3d78b7184522fbb8631767
89613fd7a4b0dc6758c06166738fe6b34226f4c3
/calcIPPGenCapShare.R
d5998ffe15cf124b8ae8325bac77d92b44969d38
[ "MIT" ]
permissive
nsbowden/eiaGenerationCapacity
711da9ec170e8cdb4ee19b85348ee289b32008c3
0d633a3fa6676f0f72f4a9aa1f9da94e94a69e12
refs/heads/master
2020-04-18T05:20:10.432116
2019-01-24T01:27:11
2019-01-24T01:27:11
167,275,292
0
0
null
null
null
null
UTF-8
R
false
false
1,312
r
calcIPPGenCapShare.R
### Function to calculate two different measure of IPP ownership share of generation capacity calcIPPShare = function(df) { a = aggregate(df$nameplate, by = list(df$year, df$state, df$producer, df$fuel), FUN=sum) names(a) = c('year', 'state', 'producer', 'fuel', 'capacity') allfuel = a[a$fuel == "All Sources",...
f3d2b2a721b5febed0889ffce37b8c4cbf49ef79
b1ea46089447e54565d29a3c6b0dcb0b166de32d
/5번.R
58761a9cb2d6bd72a2148984e6cd09cb664f1c39
[]
no_license
soyeon710/R-STUDY
8d3d364dc2ff7ed8a1a1ea843f196e27b179543c
64cf49b59c88d05f1038ccc18e33d8c7edf3246e
refs/heads/master
2021-08-30T12:33:02.372686
2017-12-18T00:37:20
2017-12-18T00:37:20
110,492,191
0
0
null
null
null
null
UHC
R
false
false
13,995
r
5번.R
# 데이터 분석 프로젝트 - 9장 패키지 준비하기 install.packages("foreign") # foreign 패키지 설치 library(foreign) # SPSS 파일 로드 library(dplyr) # 전처리 library(ggplot2) # 시각화 library(readxl) # 엑셀 파일 불러오기 데이터 준비하기 # 데이터 불러오기 raw_welfare <- read.spss(file = "Koweps_hpc10_2015_beta1.sa...
e0c27a0ec3b649331943b5d4e77ec8b70ffb55ef
b2f61fde194bfcb362b2266da124138efd27d867
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Amendola-Ricca-Truszczynski/selection-hard/ctrl.e#1.a#3.E#132.A#48.c#.w#7.s#45.asp/ctrl.e#1.a#3.E#132.A#48.c#.w#7.s#45.asp.R
7ab51c8991a9600f040312542e2dc7567d4985c8
[]
no_license
arey0pushpa/dcnf-autarky
e95fddba85c035e8b229f5fe9ac540b692a4d5c0
a6c9a52236af11d7f7e165a4b25b32c538da1c98
refs/heads/master
2021-06-09T00:56:32.937250
2021-02-19T15:15:23
2021-02-19T15:15:23
136,440,042
0
0
null
null
null
null
UTF-8
R
false
false
91
r
ctrl.e#1.a#3.E#132.A#48.c#.w#7.s#45.asp.R
ef6542f7eb35cdfb804e23c2053dc325 ctrl.e#1.a#3.E#132.A#48.c#.w#7.s#45.asp.qdimacs 7571 22174
5165c947059d29db480b2541136cdb8b16232bfa
5919e8802f3518f8d485564a153fb120de6444b7
/R/app.R
13a16e9927927d6d3d53b9b9f7b364758030d302
[]
no_license
tonyhammond/testR
735d224fd0d2b976a586149d1f67701fb9d4bf6b
e6440814d0044927d09f11f9989041da441d796a
refs/heads/master
2020-04-16T03:55:48.730036
2019-01-25T13:35:26
2019-01-25T13:35:26
165,250,024
0
0
null
null
null
null
UTF-8
R
false
false
417
r
app.R
library(shiny) ui <- fluidPage( sliderInput(inputId="pop", "City Population", value=100000, min=5000, max=1000000), plotOutput(outputId="plot") ) server <- function(input, output) { cities <- read.csv("/Users/tony/cities.csv") output$plot <- renderPlot({ centres <- cities[cities$pop >= input$pop,]; plot(cent...
ba67a19b7b6134907a6bc1d88b600c455edde3f4
c8137545f7d54e7f6b3a0b540be0a849f5237694
/R/corporal_filter.R
d5ce1fc7dbed36afda3d5ecbf02b94aeb1c9fec6
[]
no_license
ml271/MyUtilities
0f39a67cf72cfd4731e0616b6acdd7d4c87920c9
36ef3a92a2a74d868dd553872901fc3306a9dd5a
refs/heads/main
2023-06-03T01:16:10.145747
2021-06-17T15:21:57
2021-06-17T15:21:57
null
0
0
null
null
null
null
UTF-8
R
false
false
425
r
corporal_filter.R
######################################################################################################################## #' Wrapper for dplyr filter which can pass NULL values through #' #' @seealso \link{dplyr::filter} #' @export #' corporal_filter <- function(.data, ..., .preserve = FALSE) { if (!is.null(.data...
ea4edd9afd550333ae33de18737857fa2af9410d
2fb65d442efadbc3a1db41fcf25fed8958c4e04f
/man/read.fs.mgh.Rd
a30a4104075410e250d572093d022f4dd027cff8
[ "MIT" ]
permissive
dfsp-spirit/freesurferformats
8f507d8b82aff7c34b12e9182893007064e373b9
6cf9572f46608b7bb53887edd10dfed10e16e13d
refs/heads/master
2023-07-25T00:28:09.021237
2023-07-19T07:29:07
2023-07-19T07:29:07
203,574,524
22
3
NOASSERTION
2023-07-19T07:29:09
2019-08-21T11:57:16
R
UTF-8
R
false
true
3,999
rd
read.fs.mgh.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_fs_mgh.R \name{read.fs.mgh} \alias{read.fs.mgh} \title{Read file in FreeSurfer MGH or MGZ format} \usage{ read.fs.mgh( filepath, is_gzipped = "AUTO", flatten = FALSE, with_header = FALSE, drop_empty_dims = FALSE ) } \arguments{...
88f21eedeed56158b85c3939d6f445f5f8b7a698
c88a5cdf24325b9fff04127422ebe7e9e3672fda
/compile_package.R
1f23578067e250c70da608050867898761d93a09
[]
no_license
ndiquattro/quatts
838b88889b42db1ab0b1d34079851ab166f706b8
1b508a6c6bcb018c84120ed4f572c32c3ffeaf32
refs/heads/master
2016-09-08T00:33:45.065197
2015-11-20T01:27:03
2015-11-20T01:27:03
24,732,948
0
1
null
null
null
null
UTF-8
R
false
false
260
r
compile_package.R
# Load Libraries library(devtools) library(roxygen2) # Set working directory setwd("C://Code") # Create folder create("quatt1") # Edit description file for contact info # Process documentation setwd("/Users/nickdiquattro/Documents/Code/quatts") document()
4227d50c63961d6a2d893bb7a6df0bcee60eb335
39d0a947a50081a352b600a54cf52555bcff79d0
/time to reproduction after war.R
9beccd28b76fa749204e5d339ef122ffbdc1e91a
[]
no_license
robertlynch66/Lotta-LRS
498d6ab06248322983421305f197b3a7934b6f93
d72b5aad362317d661a3aebd27bff05026f9a5f4
refs/heads/master
2021-06-19T21:06:24.602263
2019-04-20T04:12:01
2019-04-20T04:12:01
135,286,500
0
0
null
null
null
null
UTF-8
R
false
false
6,311
r
time to reproduction after war.R
path <- "C:/Users/rofrly/Dropbox/Github/data files/" #path <- "C:/Users/robert/Dropbox/Github/data files/" file2<- "person_data.rds" p <- readRDS(paste0(path, file2)) # load children data file3 <- "children.rds" children <- readRDS("C:/Users/rofrly/Dropbox/Github/Lottas_2/children.rds") #children <- readRDS("/ho...
fb2a6015465d0693a131791fa32b078d8a7cf4dd
a4f76c4089643bfd773c64b82c7929ef16d1c85d
/functions.R
699db648ac4c212dbb9768613a7e2288ce2340d2
[ "MIT" ]
permissive
duncanmorgan/EoE_SciImmunol
53ba1e31f88b7d9e7857a294db9598aacdf3fec2
b44eefe22cea9a86c84069953408197475209570
refs/heads/main
2023-06-07T08:16:53.835511
2021-06-30T18:23:07
2021-06-30T18:23:07
380,842,897
0
0
null
null
null
null
UTF-8
R
false
false
3,153
r
functions.R
# these are general purpose functions. source this script at the beginning of every session setwd("L:/Duncan/eoepaper_final") reticulate::use_python('C:/Users/dmorgan/AppData/Local/Continuum/anaconda3/python.exe', required = TRUE) library(Seurat) library(RColorBrewer) library(ggplot2) library(feather) library(dplyr) ...
f6e5a8208205989ca9ddb0041c02e09377e56f28
e8403a0661de44e34375375bbb2ada6409c1a036
/man/get_song_media.Rd
2f29aa22071b5e1200e632b6f576d0502c198244
[]
no_license
cran/rgenius
d01df4b661c5de486f28fd85f61ab989ec1c8bf3
e670fa1724ccb3dcce25fc89eb29cc4f780d9162
refs/heads/master
2022-06-21T17:39:08.753648
2020-05-11T14:10:02
2020-05-11T14:10:02
263,169,521
0
0
null
null
null
null
UTF-8
R
false
true
810
rd
get_song_media.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_song_media.R \name{get_song_media} \alias{get_song_media} \title{Get Song Media} \usage{ get_song_media(song_id, access_token = Sys.getenv("GENIUS_API_TOKEN")) } \arguments{ \item{song_id}{Genius Song ID} \item{access_token}{G...
cdd5645891b388ebaf316c77440bbba82f7acb07
1ced37e5243dfc53d7e3631408d0f55b9b109b11
/plot1.R
c29af447dd3569149506bc305859664d209ac72a
[]
no_license
sjkim76/ExData_Plotting1
b15652427703424b8439f3d7baeba53b8a3a897c
77f79c67acbfffce9f05346aa5db97b57c8aaf9d
refs/heads/master
2022-09-11T11:20:19.483799
2020-05-28T09:43:10
2020-05-28T09:43:10
267,216,449
0
0
null
2020-05-27T04:01:00
2020-05-27T04:00:59
null
UTF-8
R
false
false
547
r
plot1.R
#read raw data rawdata<-read.table("household_power_consumption.txt",header=TRUE,sep=";",na.strings = "?") #subsetting data between 2007-02-01 and 2007-02-02 housedata<-rawdata[which(rawdata$Date %in% c("1/2/2007","2/2/2007")),] #type conversion housedata$Global_active_power<-as.numeric(housedata$Global_active_powe...
79e39f1f925071e5f13ca023ad0dfe024a3af632
2548f404612eae89a0b16fbfa2ae163fef6cfba6
/man/data_sim_rec.Rd
db2372df250856385f2670555a5fbb67d7c0a09b
[]
no_license
cran/CopulaCenR
67d0d170eb1e90d159780474d7244c5072453817
51a24f45b85af68884996fa2ce7b58edb5ff8f06
refs/heads/master
2022-12-20T18:33:28.414306
2022-12-16T23:40:02
2022-12-16T23:40:02
173,922,078
0
0
null
null
null
null
UTF-8
R
false
false
727
rd
data_sim_rec.Rd
\name{data_sim_rec} \alias{data_sim_rec} \docType{data} \title{ data_sim_rec } \description{ A simulated real dataset of bivariate recurrent events data with 500 subjects and 6 columns. } \usage{data("data_sim_rec")} \format{ A data frame with 500 subjects on the following 6 variables. \describe{ \item{\cod...
45163f05806a317ed9ac6b2d3e9a2b715415982c
0fee2b16a6182b4d7be11b07f310705f17a11dd7
/plot1.R
cff71a347e837a917f049b360a7da6e7afddb769
[]
no_license
mosalov/ExData_Plotting1
8cdf6924ae617986053e0aef961d9c3a3add2e7b
23c78f8a11a461911dd9d22f0db7ee27d8ba89c6
refs/heads/master
2021-01-23T17:09:15.632805
2014-10-10T19:08:02
2014-10-10T19:08:02
null
0
0
null
null
null
null
UTF-8
R
false
false
590
r
plot1.R
#Downloading a file if there is none urlname <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" filename <- "data.zip" datafilename <- "household_power_consumption.txt" if(!file.exists(filename)) { download.file(url = urlname, destfile = filename) } #Unzipping the file unzip(...
1e623f30492e15bc184143095fd57a1bff5eea2f
4eb1cc06d9847e34916d04fa2c7fcfcc079e931e
/RSession_Hosmer_Linear_Final.R
94c4470538c37a5dbeba573d34318f5285e20a7f
[]
no_license
Tchouanga12/linear_regression_r2
4b2fcb719573c802ae0f1bf20074125d5421a447
b7ba7999840728584f8b22b86e9fcad14238ff60
refs/heads/main
2023-07-03T22:01:18.658969
2021-08-10T16:56:12
2021-08-10T16:56:12
394,716,769
0
0
null
null
null
null
UTF-8
R
false
false
4,608
r
RSession_Hosmer_Linear_Final.R
#Importation des donnees TableHosmer<-read.table('C:/Users/LUCION/Documents/Nguefack_Lectures/ISJ/MyData/DataHosmer.txt', header = TRUE) attach(TableHosmer) head(TableHosmer) #ID AGE LWT RACE SMOKE PTL HT UI FVT BWT BWTLow FVT1 PTL1 LWTkg hist(TableHosmer$BWT,proba=TRUE,xlab="Poids de naissance (BWT)", y...
1906209d80826f43ce89b4a1a1afd25f67953e27
44b136efca3a53ebb400f36adb4e999a1e6d33f3
/man/migrateConceptSynonym.Rd
e393544b9f1553226e245f88a67f5768e4949d92
[]
no_license
meerapatelmd/HemOncExt
8a947f9ec144f01255a3fc1b6c1aed380ead1bc9
226a3a0f0ee4d19d3d0bb07b04a69e2c118f58c3
refs/heads/master
2023-01-21T14:08:27.570211
2020-11-29T21:42:02
2020-11-29T21:42:02
281,737,104
0
0
null
null
null
null
UTF-8
R
false
true
505
rd
migrateConceptSynonym.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/migrateConceptSynonym.R \name{migrateConceptSynonym} \alias{migrateConceptSynonym} \title{Migrate HemOnc and RxNorm Vocabularies Synonyms} \usage{ migrateConceptSynonym(conn, source_schema) } \arguments{ \item{source_schema}{The schema where ...
0661bbb75931d4bc495b62adf5e562c58a0df7de
aef88baf27939e10ed27c7ee422631273d7d63c0
/R/Math.R
38657576da4bccfb034e3dd2038af736616205a8
[]
no_license
Antoniahg/relectro
c7579f5a12d20013d4afc746844725df9d3fcd2e
2d8027c28fcd5ce85ac7796d7329f1546227b324
refs/heads/master
2020-04-15T11:33:29.665312
2018-05-25T15:48:11
2018-05-25T15:48:11
164,635,947
1
0
null
2019-01-08T11:38:33
2019-01-08T11:38:33
null
UTF-8
R
false
false
7,942
r
Math.R
#' Get the standard error of the mean #' #' The standard deviation divided by the square root of n #' #' @param x Numeric vector #' @return Numeric, standard error of the mean sem<-function(x){sd(x,na.rm=T)/sqrt(length(x))} #' Get the mode of a distribution #' #' This get you the value with the highest frequency i...
bd0adc03bd91095fac79ed32eb1e0e171f2dd28e
f464a388b87c7c9d0af4e25d693c7fb9879ebd29
/PH125.1-RBasics/1.2-Vectors_Sorting/Vectors.R
60ff4ecdbd4db69db582947f542270d3e5c96980
[]
no_license
alvarobarbera/HarvardX-PH125-DataScience
5e57e8d5d36bc57992fbf9a6477a51465ef5fc02
1a152f47b20131d71bc61ac94282867843f5a3ae
refs/heads/master
2022-07-12T09:21:19.496692
2020-05-15T08:37:51
2020-05-15T08:37:51
260,189,883
0
0
null
null
null
null
UTF-8
R
false
false
586
r
Vectors.R
# We can create vectors using the function c, which stands for concatenate. # We use c to concatenate entries in the following way: codes <- c(380, 124, 818) codes countries <- c("USA","Canada","Mexico") countries # naming vectors country_codes <- c(USA=43, Canada=4, Mexico=33) country_codes class(country_codes) n...
c06255d791af2ef51fdcd3db462ef555c2474444
75f69ae4eb0fc37bc2fde2d606a1cee493867b2d
/man/vignette_results_display.Rd
e7757e94520f56ea40c33e54b1f19cd537c59381
[]
no_license
cran/docreview
8b025ce045ce58900949cb99c0b6e67cde5dbf00
e8f986d62977c86cde0136b3f07b4f2ff3a244fb
refs/heads/master
2023-07-08T16:50:53.256805
2021-08-17T06:20:11
2021-08-17T06:20:11
397,309,259
1
0
null
null
null
null
UTF-8
R
false
true
464
rd
vignette_results_display.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cli.R \name{vignette_results_display} \alias{vignette_results_display} \title{Parse Vignette Results} \usage{ vignette_results_display(results, config = get_config()$vignettes) } \arguments{ \item{vignette_results}{Output of calling vignette ...
a7c3fde0732a498a7fce6be5ebb6c70a2124acbb
f9bf6790ebc018bcdcb2a006a108838afb72bf77
/R/testes/hexagons_teste.R
7eacca4efe93dea31ac0b15301d1bab551694aa8
[]
no_license
danpanetta/acesso_oport
41cf77d06388cb6e8e51587ef84fc3d21556fb94
4b9dcaa2261a986e8e619d3f34abbfed54cfff5f
refs/heads/master
2022-11-18T04:11:35.596398
2020-07-13T14:39:03
2020-07-13T14:39:03
null
0
0
null
null
null
null
UTF-8
R
false
false
2,361
r
hexagons_teste.R
# info on Uber's H3 hexagonal gird: https://github.com/obrl-soil/h3jsr/blob/master/vignettes/intro-to-h3jsr.Rmd # https://github.com/uber/h3/issues/87 # devtools::install_github("obrl-soil/h3jsr") library(h3jsr) library(sf) library(ggplot2) library(tidyverse) # read shape # muni <- st_read(dsn = './Shapes_IBGE', ...
c6b3b218c2800540ecc19d9e55e566e51150b412
022345c75f68dd4dd0bb202c28290e09784312d6
/ClusteringImageObjects.R
574f5ab534c4dd541e5b34090873ed09ba418082
[]
no_license
gauravsgr/RandomFunProjects
1a8b24314f4dd40819f0cdbef1ff144aa9255bb1
b239fdf0c57f9688d9023824d4651dc0c4962b94
refs/heads/master
2021-07-10T12:01:28.680538
2021-04-11T03:14:18
2021-04-11T03:14:18
65,774,204
0
0
null
null
null
null
UTF-8
R
false
false
2,389
r
ClusteringImageObjects.R
#--------------------------------------------------------------------------# # Doing the Kmeans on JPEG images # #--------------------------------------------------------------------------# # Load the package install.packages('jpeg') library(jpeg) url <- "http://www.wall...
57cba7122a3107a98159e31b90871c42f729c03a
e8e82f15e40ff16eaee9c434ed63fe19bc0b3610
/man/rc_expression.Rd
b5cb2f683498ceefd76cdf958c0d6d7f14c447ce
[]
no_license
jackowacko/migraR
de0bda10d36e5356867a2150257009d10e42deb0
b4f2a6177935990ca1eebf2a411d5b5bf052f813
refs/heads/master
2021-04-29T23:55:20.352850
2018-05-10T15:47:42
2018-05-10T15:47:42
121,565,920
0
0
null
2018-05-09T16:12:51
2018-02-14T21:56:47
R
UTF-8
R
false
true
476
rd
rc_expression.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rc_expression.R \name{rc_expression} \alias{rc_expression} \title{Rogers and Castro expressions} \usage{ rc_expression(profile = "eleven") } \arguments{ \item{profile}{a integer with the number of parameter for the model} \item{model.name}{c...
02681b3a51e006130afa0e69ce1925b6985cde30
e849a778ae0b39c98374f694124534d7bd80aa8d
/R/minCell.R
7ecb4c6bdd34c9fba116fa173ac71acde30bbe4d
[]
no_license
ABS-dev/DiagTestKit
5472b88ba23a96f8195cc0d3269b40fefcbecc64
fe29db9b8804db5308676959f765b1c7610c46c5
refs/heads/master
2023-01-12T06:48:01.212622
2019-08-05T23:15:35
2019-08-05T23:15:35
114,177,632
0
0
null
2019-08-05T22:29:42
2017-12-13T23:00:13
R
UTF-8
R
false
false
2,940
r
minCell.R
#' @title minimize cell #' @description A function used for optimizing the values of sensitivity and specificity (and \eqn{\delta} and \eqn{\gamma} for a 3-state kit). #' The objective function minimizes the sum of the squared deviations (expected - observed cell counts). #' @param parm \code{vector} A vector of star...
da1605cacfe4a3ef344eaacb666dddbc4b956d3c
396df2552224ffcb0294fe6e297b231aa2e59e68
/_working/0137-dice-games.R
6b55353876cd8137880a299cb435b4cab60bb968
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
ellisp/blog-source
d072bed980a5074d6c7fac03be3635f70ab5f098
1227f83df23af06da5280214ac7f2e0182be5707
refs/heads/master
2023-09-05T07:04:53.114901
2023-08-27T21:27:55
2023-08-27T21:27:55
122,695,494
17
8
null
2023-08-27T21:15:33
2018-02-24T02:36:45
HTML
UTF-8
R
false
false
2,639
r
0137-dice-games.R
library(tidyverse) library(scales) n <- 1000000 dice <- sample(1:6, n, replace = TRUE) wins <- which(dice == 6) results <- data.frame(game_length = diff(c(0, wins))) %>% mutate(who_won = ifelse(game_length %% 2 == 1, "Player A", "Player B")) rs <- results %>% group_by(who_won) %>% summarise(freq = n()) %>% u...
6507da8abb6760ef714c0a85c23e0dcb1a6aaf82
94908a285737843999c5acaaad60199538a5c8d6
/R/plotting.devices.R
0a62f18fce4ab5fed700c46e0190042a72aeb8de
[]
no_license
drmjc/mjcgraphics
800716e07757066d992a6eb1ea0470012cb8f698
cd9e30472fea14591bc342b24cc8330307fb9b4c
refs/heads/master
2021-01-19T01:47:00.882419
2016-06-07T06:10:21
2016-06-07T06:10:21
12,447,176
1
1
null
null
null
null
UTF-8
R
false
false
13,574
r
plotting.devices.R
#' Customized plotting devices #' #' The \code{jpeg}, \code{png} or \code{pdf} functions are redefined versions #' of the standard ones implemented in grDevices: #' - changes the default size rotates the axis labels (las=1)\cr #' - pushes the label out an extra line\cr #' - saves the filename to an environment variabl...
1a371bd779c95359b388245471047aa660f5831f
e15f86312db3109bbda053063557693518af4ead
/new_caojd/get_cao_pi_q.R
73d7ace0560d27ff0371f59a80ae32399ec072fa
[]
no_license
heichiyidui/dev
3aecf0f92e4af4184b4eae2b1935f281b7746c86
73c20c19928eb94d9aec10f0d307604b147b8088
refs/heads/master
2020-12-29T01:54:24.236229
2016-07-01T14:51:01
2016-07-01T14:51:01
35,271,765
1
0
null
null
null
null
UTF-8
R
false
false
1,955
r
get_cao_pi_q.R
################################################################################ # read matrices dis = as.matrix(read.table('cao_sum.dis',header=FALSE)) n_mats = array(scan('cao_aln.in',what = double(0))) n_mat = array(n_mats, dim = c(400,400,100) ) # normalize the P(t) matrices p_mat = array(dim=c(400,400,100)) for...
724d2478100cf4434ed46df227b2651df580cc0e
35de14603463a45028bd2aca76fa336c41186577
/man/IMPACT.snp_group_boxplot.Rd
8db1b3fbbeed38fc701c1cea3483851ffab45c3c
[ "MIT" ]
permissive
UKDRI/echolocatoR
e3cf1d65cc7113d02b2403960d6793b9249892de
0ccf40d2f126f755074e731f82386e4e01d6f6bb
refs/heads/master
2023-07-14T21:55:27.825635
2021-08-28T17:02:33
2021-08-28T17:02:33
416,442,683
0
1
null
null
null
null
UTF-8
R
false
true
1,462
rd
IMPACT.snp_group_boxplot.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/IMPACT.R \name{IMPACT.snp_group_boxplot} \alias{IMPACT.snp_group_boxplot} \title{\emph{IMPACT} box plot with \pkg{ggpubr}} \source{ \href{https://www.r-bloggers.com/add-p-values-and-significance-levels-to-ggplots/}{ggpubr example} } \usage{ I...
b92d56a9f506368b66fb14cffe8bc0ca0f3ddbde
a0830531052bd2330932c3a2c9750326cf8304fc
/vmstools/man/vmsGridCreate.Rd
70ec708e64dcfda9bc564746bbdfa13c9aacb6bf
[]
no_license
mcruf/vmstools
17d9c8f0c875c2a107cfd21ada94977d532c882d
093bf8666cdab26d74da229f1412e93716173970
refs/heads/master
2021-05-29T20:57:18.053843
2015-06-11T09:49:20
2015-06-11T09:49:20
139,850,057
2
0
null
null
null
null
UTF-8
R
false
false
4,094
rd
vmsGridCreate.Rd
\name{vmsGridCreate} \alias{vmsGridCreate} \title{function to create grids from point data by counting points in cells or summing an attribute} \description{ Accepts an input of points data in a data frame with named columns for X and Y. Creates a grid of defined cell size in X and Y directions (cells can be unequ...
51b69ebd9b486c31757d80d025313297b6f0e2d2
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/funtimes/examples/DR.Rd.R
57e428b09e4a826fcfae9571a79117fc514f3871
[]
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
3,564
r
DR.Rd.R
library(funtimes) ### Name: DR ### Title: Downhill Riding (DR) Procedure ### Aliases: DR ### Keywords: trend ts ### ** Examples ## Not run: ##D ## example 1 ##D ## use iris data to test DR procedure ##D ##D data(iris) ##D require(clue) # calculate NMI to compare the clustering result with the ground truth ##D ...
0cf203d7f644be969bca2c6ad39a373734dbcdf5
79352071fc1b85bd06824aa6ea9503add90a4a65
/AIC/rectangleFixations/48.R
6fa4ebe1707b501db2bbe52ea1082fdf39381ff7
[]
no_license
seminariosuacj/EyeTracking
add9f3e38f0e2e19996897d403a925b885112c18
d2d2583ac7eeb8791e746a5744159912129b127e
refs/heads/main
2023-04-26T17:48:30.433834
2021-05-06T02:58:24
2021-05-06T02:58:24
343,905,521
0
0
null
null
null
null
UTF-8
R
false
false
1,006
r
48.R
library(stats) library(readr) library(dplyr) library(ggplot2) library(saccades) setwd("D:/Mario/Escritorio/dataset/emip_dataset/rawdata") rawdata_48 <- read_tsv("48_rawdata.tsv", comment = "#") rawdata_48 <- rename(rawdata_48, trial = Trial) rawdata_48 <- rename(rawdata_48, x = 'L POR X [px]') rawdata_48 <- rename...
0b3d81b38ab0ccce7ce5d4e1f413aab0c24541f3
a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3
/B_analysts_sources_github/road2stat/MEF/get-apro-sim.R
97e9a03beef6046cd532753826fa77fee7162421
[]
no_license
Irbis3/crantasticScrapper
6b6d7596344115343cfd934d3902b85fbfdd7295
7ec91721565ae7c9e2d0e098598ed86e29375567
refs/heads/master
2020-03-09T04:03:51.955742
2018-04-16T09:41:39
2018-04-16T09:41:39
128,578,890
5
0
null
null
null
null
UTF-8
R
false
false
2,163
r
get-apro-sim.R
# Multiple Evidence Fusion # # Compute APro-based ADR-ADR Similarity # # Author: Nan Xiao <me@nanx.me> # # Date: Oct 1, 2013 adr = read.csv('ADR.txt', header = FALSE, stringsAsFactors = FALSE) # ADR UMLS code -- protein ID data that has been curated by removing # status == 'wrong', 'false positive' and 'opposite phen...
ca1f138957d9761d67a54fb44c76240be5535b77
78347da8ea6ae7e1adb8537dbfae2d165ee78405
/R/is_pairwise_aln_tool.R
ba6cb761fca394c39b6dc6b05b2b14c388c2dbfc
[]
no_license
drostlab/homologr
3a737ddff2df51b39919afbaecfc5f0ab79081dc
e3e72fafa182824fcab2483e9b65fb24db393f88
refs/heads/master
2022-12-19T13:30:14.904573
2020-09-27T20:23:57
2020-09-27T20:23:57
39,505,809
1
0
null
null
null
null
UTF-8
R
false
false
240
r
is_pairwise_aln_tool.R
is_pairwise_aln_tool <- function(tool = NULL){ provided <- c("NW") if(is.null(tool)){ message("The followig methods are provided: ", paste0(provided, collapse = ", ")) return(FALSE) } return(is.element(tool, provided)) }
efdd5238b5d7e0b20704d2a305140ca3fd19c795
533902488dd5266c0b406005c9275048d60153ba
/Code/ExpressionProcessing/averageExpressionDirect.R
d0b673d23e4df17fc84c864ec372b5db7e2d0198
[]
no_license
dlampart/csrproject
f5d3e5125ff4a5f1957bbc8a9d3b4daf70e7e625
92e5e558ad6d77986c02b3910e87490416c355c4
refs/heads/master
2021-01-13T00:16:29.844940
2016-10-17T01:09:31
2016-10-17T01:09:31
53,728,048
6
1
null
null
null
null
UTF-8
R
false
false
702
r
averageExpressionDirect.R
library(data.table) load("interimData/expressionUnaveragedDirect.RDat") load("interimData/fileNameTables.RDat") fileIds=colnames(expressionUnaveraged) geneNames=rownames(expressionUnaveraged) relCel=celNames[hasDHS==T,] cellIds=relCel[,unique(cellId)] av=matrix(0,ncol=length(cellIds),nrow=length(geneNames)) rownames(...
0b609840f517329a3105a1974ead6c02f55ec7f3
5204b23cf0f44e9f3164462c47693a61dd3cf7a5
/shinyPlots/avg_spd_time/ui.R
cb18a4e8c2928cd38ac795a3819edc1042b4abba
[]
no_license
salsbury/strava_eda
9714f376620f45a630b693a213dd656b92fcc075
2e8262826a02e0339811cddf04fac1b9ff1839fd
refs/heads/master
2021-01-10T03:58:53.511516
2015-05-22T20:05:47
2015-05-22T20:05:47
36,092,776
0
0
null
null
null
null
UTF-8
R
false
false
390
r
ui.R
shinyUI(fluidPage( titlePanel("Time Series of Avg_Speed Run"), sidebarLayout( sidebarPanel( selectInput("num", "Select ID of Racer", choices = unique(runs_racer$id), selected = 1), dateRangeInput("dates", "Choose the range of dates.", start = "2006-01-01"), submitButton("Submit"), dataTa...
9ba19ba21b450dbceefe5942cef4d568e013daaa
db6e1efe62ca5ed1c9f529d3300a75577157321d
/lipidome/筛选样本.R
5d3750f5104594e2a32dbdb16074fa74375aa99b
[]
no_license
pomnoob/lipidG
2590562bfab9fcd197a69dd96e39203e8ebaf109
8fae606103efd0b8755b86e02cfe9bc32c639c9a
refs/heads/master
2023-02-19T04:10:07.763133
2021-01-21T13:10:26
2021-01-21T13:10:26
320,478,341
1
0
null
null
null
null
UTF-8
R
false
false
4,194
r
筛选样本.R
library(tidyverse) library(zscorer) # 导入之前整理好的脂质组学数据 # 仍然没有哈尔滨和郑州的数据 # 因为这两个城市的样本id与检测数据没法一一对应 ldomic_all <- read.csv("data/ldomic_all.csv",stringsAsFactors = F) ldomic_all <- ldomic_all %>% rename(id=sample) # 导入问卷数据 ques <- read.csv(file = "data/Metadata of breastmilk questionnaire.csv",stringsAsFactors = F) #...
79ff82b6c02a498dd83e7ac8ebcd6c14d1f3d661
c7ead64743d99c9ad769919e2bcfa743a16c8386
/tools/air_pollution/pollutantmean.R
445ad6f0856217a47b6852b903ebbbd02329de81
[ "MIT" ]
permissive
eniltonangelim/data-science
24d862864cc619d37bfd42671360b88accc115d1
c39d4f9ac21e2eb0ffdefd7349af08216b7a020c
refs/heads/master
2021-12-20T19:58:20.529894
2021-11-30T22:52:55
2021-11-30T22:52:55
97,025,361
0
0
null
null
null
null
UTF-8
R
false
false
651
r
pollutantmean.R
DATA_SETS_REPOSITORY <- '../datasets/air_pollution/specdata/' pollutantmean <- function(directory, pollutant, id = 1:332) { airp_data <- data.frame() for ( i in id ) { file_data <- paste(directory, sprintf("%03d", i), '.csv', sep = '') airp_data <- rbind(airp_data, read_csv(file_data, ...
fb11d55ca6a60c675e0306f8be72035aae517236
794863d2e9e26424a04079a91c3a23063bdb4f8e
/man/dy2009.Rd
d6d070b940af0d99530d8f3343580b63af89d3c3
[]
no_license
GabauerDavid/ConnectednessApproach
ef768e64e0bc458ad180bac6b667b3fe5662f01d
0ca4799a2f5aa68fdd2c4a3e8a2e0e687d0a9b17
refs/heads/main
2023-08-09T07:23:45.002713
2023-07-27T22:57:04
2023-07-27T22:57:04
474,462,772
47
20
null
2023-03-12T04:22:26
2022-03-26T20:47:15
R
UTF-8
R
false
false
438
rd
dy2009.Rd
\name{dy2009} \docType{data} \alias{dy2009} \title{Dataset of Diebold and Yilmaz (2009)} \description{ For detailed information see: Diebold, F. X., & Yilmaz, K. (2009). Measuring financial asset return and volatility spillovers, with application to global equity markets. The Economic Journal, 119(534), 158-171. } \usa...
478abde394e6866f0e7238e1b2bfcb285b627b8c
1522b308afd42bc80bf4b5192c2d1670f8579c26
/man/best.layout.Rd
9b7cbff16fdfa00c1e7708ee2dc9d7724a1fa247
[]
no_license
covaruber/Fragman
2c1830036ccd968c1d4df82983c0cb74d7c84651
55fd3627d9f6699ad97f1643883ce93387b382c3
refs/heads/master
2020-04-11T21:44:30.948814
2018-12-17T10:45:13
2018-12-17T10:45:13
162,114,727
0
0
null
null
null
null
UTF-8
R
false
false
777
rd
best.layout.Rd
\name{best.layout} \alias{best.layout} \title{complementary tools for layout} \description{ This function just find the best layout fit for a number of plots desired. } \usage{ best.layout(x) } \arguments{ \item{x}{A scalar value indicating the number of plots desired} } \details{ No major details } \value{ Returns the...
642f55325fd49f8a003f31a90efb393f503057c1
e56262bee9693f61021fea5fc000ebcf46ac34bb
/R/Partitions.R
82b3a9476313095305d8ac648a850b362f69e59d
[]
no_license
nanoquanta/TreeTools
d1ed57deb83122366b422117642eb986df1457bf
a858cf1c96de19b786b8243ef3d4ddfd6d0d8dd1
refs/heads/master
2020-08-26T09:35:04.083356
2019-10-19T10:59:15
2019-10-19T10:59:15
216,997,642
0
1
null
2019-10-23T07:41:41
2019-10-23T07:41:40
null
UTF-8
R
false
false
3,492
r
Partitions.R
#' Tree2Splits #' #' Converts a phylogenetic tree to an array of bipartition splits. #' #' @param tr A tree of class \code{\link[ape:read.tree]{phylo}}, with tips #' bearing integer labels (i.e. `tr$tip.label == 1:N`). #' @return Returns a two-dimensional array. Columns correspond to unique #' bipartitions, named ...
c1c88b9d416f2c80ed77ba81b9ce0874776a4cf8
dc25ff163ba1e37f2565078167fce6dac270ca7e
/bestoption.R
90a25d81bb0d8a15e85c01dfbd53711b2ebcbe00
[]
no_license
ziulcarvalho1/Fastfood-
42770af2fa1009e83aa5c060e805b09ef95026b2
b94657c4cd47305c35b8db21a775e46ecf6ebacd
refs/heads/main
2023-03-23T22:32:11.534012
2021-03-08T11:47:03
2021-03-08T11:47:03
345,625,913
0
0
null
null
null
null
UTF-8
R
false
false
8,518
r
bestoption.R
##This program indicates which weather parameter works better as a predictor for demand for each type of product ##We identify that for each one of the 9 combinations of day of week and month of the year ############################################################################################################ ## Load...
e753f9efa1ffb887ff16cdeb74b17a78d0a5f59b
27f6aecff55a96ebd8b8e3204d6ed529d5e7d3e0
/plot3.R
4321d82790c7a230fe0b9dfdfb33108f8a72de5b
[]
no_license
hamode23/ExData_Plotting1
346600e294b425a5691430db95194d48cfee98a3
ab1d244dc87245fa47b9bea5d57e71ae1def8fd2
refs/heads/master
2021-01-17T22:16:02.085746
2015-08-08T07:48:19
2015-08-08T07:48:19
40,367,281
0
0
null
2015-08-07T15:28:11
2015-08-07T15:28:11
null
UTF-8
R
false
false
879
r
plot3.R
## Getting full dataset fdata <- read.csv("household_power_consumption.txt", header = T, sep = ';', na.strings = "?") fdata$Date <- as.Date(fdata$Date, format = "%d/%m/%Y") ## Subsetting the data dat3 <- subset(fdata, subset = (Date >= "2007-02-01" & Date <= "2007-02-02")) rm(fdata) ## Converet Dates dateTimeTmp <- ...
ad7f49036f00214d08c91ad37bdee7e36f635b88
cdf3d4455bfbba06427a143e052d73e4f38ec57c
/danielLib/R/get_groups_cor_tbl.R
c9d12c8177c5eabda8d126cdaac349db8c12cca4
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
danlooo/DAnIEL
c194d695bb74577934fc68e1fa56da22c8470bf8
198fcd82546d3020af67020e5c021b1633718ba4
refs/heads/main
2023-09-06T08:39:28.620621
2021-11-11T15:49:59
2021-11-11T15:49:59
null
0
0
null
null
null
null
UTF-8
R
false
false
3,425
r
get_groups_cor_tbl.R
# Copyright by Daniel Loos # # Research Group Systems Biology and Bioinformatics - Head: Assoc. Prof. Dr. Gianni Panagiotou # https://www.leibniz-hki.de/en/systembiologie-und-bioinformatik.html # Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI) # Adolf-Reichwein-Straße 2...
f215b69264166173a71ad3efb46318b9da20701f
d2e4e8b0fde53e8e331e275f8a8777650381d5fd
/plot4.R
27b93decbb568adb0287e54342f8559c7bfd4bc9
[]
no_license
Shivam-1117/EDA-Course-Project-2
3fcd82ca4f6ccf1176cc7113903e3b8cce117550
328acaf7262f14b19d2f3d4eeb4f843dacc6e7a1
refs/heads/master
2022-11-23T19:33:07.705513
2020-07-26T14:41:44
2020-07-26T14:41:44
282,592,435
0
0
null
null
null
null
UTF-8
R
false
false
745
r
plot4.R
scc <-readRDS("Source_Classification_Code.rds") nei <-readRDS("summarySCC_PM25.rds") s <- intersect(grep("COAL|coal|Coal", scc$Short.Name, value = TRUE), grep("COMB|comb|Comb", scc$Short.Name, value = TRUE)) id <- scc[scc$Short.Name %in% s, c(1, 3)] nei <- nei[nei$SCC %in% id$SCC, c("fips", "SCC", "Emissions", "year")]...
eb7d5d55f280d27e8147b0ecfbb8d263dffdeb3e
d961e5b4cd130939ed954839d6a6499d7933e57e
/man/summarySEwithin.Rd
633b392b2c41bedc36c27971244a163aaca90743
[ "MIT" ]
permissive
thomas-hinterecker/Ragbu
6c6b013b2b9e306d14ddb7562043aea4839d1cf6
df53682065e5e011a332655ed7457aa7b6c31560
refs/heads/master
2021-01-01T16:55:03.594389
2018-05-07T08:42:43
2018-05-07T08:42:43
97,953,461
0
0
null
null
null
null
UTF-8
R
false
true
1,096
rd
summarySEwithin.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/statistics.R \name{summarySEwithin} \alias{summarySEwithin} \title{Summarize within-subjects data} \usage{ summarySEwithin(data = NULL, measurevar, betweenvars = NULL, withinvars = NULL, idvar = NULL, na.rm = TRUE, conf.interval = 0.95) } \...
8c2c7472eedea292161b33087081e483a49043da
3a6b6c9f9c96f40af333797da28251a4445097a3
/codigos/o3/o3_jags.r
44bc3fc64df77150f47040e65ac04d44f3e0bc13
[]
no_license
andrequeiroz/mestrado
be9d0c8cdd24a7eab38f1221af94c62c67f76b6a
05e649053154a639e646cfb083f720f536bc85fa
refs/heads/master
2021-09-03T15:13:29.683459
2018-01-10T02:26:08
2018-01-10T02:26:08
111,966,533
0
0
null
null
null
null
UTF-8
R
false
false
1,629
r
o3_jags.r
library(R2jags) library(DBI) link <- dbConnect(RSQLite::SQLite(), "../../dados/o3.db") dados <- dbGetQuery(link, "SELECT * FROM achcar2011") y <- t(dados) K <- ncol(dados) N <- nrow(dados) dbDisconnect(link) ## jags ## 8 chains result <- jags.parallel(data = list("y", "K", "N"), inits = NULL, ...
c93d008e9e0a0d70e6095c595df7a00c24b34e60
366ec1e0e81f9d8c40e2fde01efa44d640c67daa
/tests/testthat/test-horn.R
c85e09f405ea571af2209360d8a0138bdc39de23
[]
no_license
tjfarrar/skedastic
20194324833b8f2f20e5666b642cff617159588c
050e6a177a28fb0cc2054b506a53b09d6859e3c7
refs/heads/master
2022-11-17T22:41:43.930246
2022-11-06T06:39:13
2022-11-06T06:39:13
219,455,416
6
0
null
null
null
null
UTF-8
R
false
false
1,310
r
test-horn.R
context("horn works for two lm examples across all argument permutations") # theargs <- formals(horn) test_that("linear regression works with all combinations of formals", { skip_on_cran() carslm <- lm(dist ~ speed, data = cars) bostonlm <- lm(medv ~ crim + zn + indus + chas + nox + rm + age...
673e39a3313c90d8d67a8e79b5654c661ee52e1d
238d68e7f927d37a1bb985c1fbd89198325a8ab3
/man/osc.Rd
088f928094212f73c6d7bb0f97ec2071c207695b
[]
no_license
RajeshKN02/mktgConjoint
f8b00e7db34dbc862466d67c05e7bc33155d63e9
6ae64547ab1505664ed193fcf548ed6a070cde98
refs/heads/master
2021-03-23T06:01:21.285553
2016-08-09T17:36:54
2016-08-09T17:36:54
null
0
0
null
null
null
null
UTF-8
R
false
true
1,357
rd
osc.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{osc} \alias{osc} \title{Office System Conjoint data set. It is a list with all data sets needed to test the package} \format{list} \source{ \url{http://www.decisionpro.biz/} } \usage{ osc } \description{ Data a con...
7b5af8fb090df7b1270c18c0fa7b0619fa707756
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/NISTunits/examples/NISTmeterTOmile.Rd.R
fb971d25a4c070ff46c68272e543a67d13a45875
[]
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
176
r
NISTmeterTOmile.Rd.R
library(NISTunits) ### Name: NISTmeterTOmile ### Title: Convert meter to mile ### Aliases: NISTmeterTOmile ### Keywords: programming ### ** Examples NISTmeterTOmile(10)
93d20006771bde898b38d66c2efbef23f62cf769
a0c17b0b2ab5425156170f04ceb5686c24ab05ba
/manuscript_synthesis/src/process_data_rtm_chla_wt.R
f9550d34fcfe4c8250edefc0cd9f33862df05b31
[]
no_license
InteragencyEcologicalProgram/ND-FASTR
fc23c815b866eaa2c56aec33965f00759e1804f4
d8f7ab0c824d7bb05b59b5da5406048ce70c3da7
refs/heads/master
2023-09-04T09:40:41.789719
2023-09-01T17:35:41
2023-09-01T17:35:41
232,142,766
10
1
null
2021-07-26T21:20:22
2020-01-06T16:41:03
HTML
UTF-8
R
false
false
2,564
r
process_data_rtm_chla_wt.R
# NDFS Synthesis Manuscript # Purpose: Process the 15-minute continuous chlorophyll and water temperature # data collected from the Yolo Bypass and downstream at three representative # stations (RD22, STTD, LIB) during years 2013-2019. Calculate daily averages # which are used in figures and analysis for the NDFS...
6fe746b85fa6f1b1bb0ae694db654fa44220b112
9b691ceaaf1022528218f72f73094f1dc542c909
/Structural Feature Selection from Event Logs/testing.r
3102e2a4c3bb77b7931ddd2bfc9d105e025b6fd0
[]
no_license
mhinkka/articles
dddcda36124b96a6fc5529acb593a32cfcd62f94
cccf2e4a26d3babe95e86094e24737f9657cc5e5
refs/heads/master
2020-06-08T17:23:34.561603
2019-06-23T14:17:02
2019-06-23T14:17:02
30,371,933
6
2
null
null
null
null
UTF-8
R
false
false
58,368
r
testing.r
######################################################################################## # R test framework sources used to perform the tests required by paper: "Structural Feature Selection for Event Logs" # by Markku Hinkka, Teemu Lehto, Keijo Heljanko and Alexander Jung # 2.7.2017 #################################...
b956a12730ffb0001e3a74bbbac69ed308f50e23
c7c5813adee3d966baced00501b4f7d15ecc3e4c
/man/plot.slm.Rd
b4fd5285c2178e709e64948583216922829f0071
[]
no_license
E-Caron/slm
8f181ce1a03526843f1b4ea1b647186b67145edc
a80d9765fda9e29fa3af78c990fea3931199d0f2
refs/heads/master
2020-06-06T09:43:52.667197
2020-01-08T19:08:17
2020-01-08T19:08:17
192,704,653
2
0
null
null
null
null
UTF-8
R
false
true
568
rd
plot.slm.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/slm-method.R \name{plot.slm} \alias{plot.slm} \title{Plot.slm} \usage{ \method{plot}{slm}(x, ...) } \arguments{ \item{x}{\code{slm} object.} \item{...}{other parameters to be passed through to plotting functions.} } \value{ This function ret...
16a2931fffc592f7c7a7b75f0b68c533010874a8
556fbe5b5bfec4a57f03d70656132ad36e4703b7
/raw_scripts/relatedness-vec-to-mat.R
59b77e2d8010b5c30b3b0d2e493ad802fe2a2d4b
[]
no_license
mastoffel/scent
1cf03da1b41f4a161421d5e98a884877da2ee667
cbc1beca6a455f3f2d23ba7c51dbe9e4aa706e61
refs/heads/master
2021-01-20T05:33:37.163758
2015-05-18T16:21:25
2015-05-18T16:21:25
24,264,638
0
0
null
null
null
null
UTF-8
R
false
false
1,017
r
relatedness-vec-to-mat.R
# load new relatedness values in strange vector form from athinas program relatedness.raw <- read.csv(".\\csv_files\\relatedness_raw.csv") # "copy" (old) relatedness matrix relate_new <- relatedness relate_new[, ] <- NA # loop through matrix and fill non-NA values with new ones for (i in row.names(relatedness)) { ...
d1005b11f7f10cbc8499e53a1fd99cc40c032800
178c78e68d91522d4d869bbc765f5fa3bfc97283
/11_paris_reu_script.R
abefcd87d6bd3ddeef1ea1ba33d09b12ecbafd45
[]
no_license
FoRTExperiment/FoRTE-canopy
c9284cfbe4461e4ae032cf91a774fb557c095369
a8790b62db2a1194c76b17581001ade5cc859e11
refs/heads/master
2020-03-19T01:57:43.223085
2020-03-02T15:28:17
2020-03-02T15:28:17
135,586,490
3
2
null
null
null
null
UTF-8
R
false
false
2,380
r
11_paris_reu_script.R
# ##### pulling the data # # these are require packages to install/load require(tidyverse) require(ggplot2) require(stringr) # lets import the data df <- read.csv("./data/ndvi/ndvi_reu_forte_set.csv") # let's make summary stats df %>% select(SubplotID, treatment, severity, date, lai, ndvi, gf) %>% group_by(Subp...
dba41807414b929058237402423a84ec26729689
0fd6ff59ea66c900a3fc25c9b7de478670570782
/Statistical Inference and Modeling for High-Throughput Experiments.R
57b7b30bf61d93899fb4632c51e4ed4104252091
[]
no_license
Staguado/Data-Analysis-in-the-Health-Sciences
b61ee23570829f20fe1ff2a23b87c5d9d142f180
176a8637875e4969e08aa00511f34b8036e1db98
refs/heads/main
2023-07-18T01:15:03.823893
2021-08-26T11:13:25
2021-08-26T11:13:25
392,615,835
0
0
null
null
null
null
UTF-8
R
false
false
62,711
r
Statistical Inference and Modeling for High-Throughput Experiments.R
#----------------------------------------------------------------------------------------------- # By Santiago Taguado Menza # Statistical Inference & Modeling for High-throughput Experiments # Harvard Course #----------------------------------------------------------------------------------------------- # Testing P...
81fdc49ce8903e5bd2a8af5fc411bef117617ea9
fef6ba95f4a6a98e26f7f9f81bc457c562e62364
/R/thumb.service.R
ca8eec357f642246b26be8411ed644370d5b2ad1
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
USGS-R/hazardItems
48b6701b082cde4a51edd417a86aa963ed2f9383
dcf69e2df7d4b0db5054c8193bcc4aca4d41e859
refs/heads/main
2023-04-13T20:30:37.493049
2020-08-13T20:42:26
2020-08-13T20:42:26
10,981,467
5
10
NOASSERTION
2023-04-07T23:06:59
2013-06-26T22:59:23
R
UTF-8
R
false
false
3,444
r
thumb.service.R
#'@title create thumbnail for an item #'@description takes json url and creates summary image for item #'@param json.url a valid JSON url #'@return A strong location for the created png image #'@importFrom jsonlite fromJSON #'@import maps mapdata scales png #'@importFrom httr GET write_disk #'@examples #'serviceEndpoin...
fa2f8fba4c78f374afc2f31342aabbb0a204108f
ff634f26f8661a7fd640b0a9aa2cabbea477f805
/man/ltrim.Rd
7ec37cc948c7cdd0167e5da6926eb6c354f54d5c
[]
no_license
cmhh/geoserveR
0fcc0457153a81ba7358d7f4c4df31914c325d51
6b4a13a8c5cd6595f58f3d4f62d7aad0390d8406
refs/heads/master
2020-07-18T18:57:02.612669
2019-09-17T08:22:12
2019-09-17T08:22:12
206,296,139
1
0
null
null
null
null
UTF-8
R
false
true
195
rd
ltrim.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sld.R \name{ltrim} \alias{ltrim} \title{left trim} \usage{ ltrim(str) } \description{ left trim } \keyword{internal}
f0320a95d6a58962092b45455864a5f1a1f14c6a
ec6d7621a54cb3ef71a8f4851f800dc574768617
/p4/Ejercicio2.R
9ce65400879f9b2333a7419500dea093f8f790ed
[]
no_license
carmencitaMartinez/FundamentosCienciaDeDatos
1ca92d7828857692aa5c0171ec57b473f24f6c8d
d496ff494f7ae4d968eed3e857b0e1388f6a99bf
refs/heads/master
2023-02-04T19:00:17.355160
2020-12-28T10:10:02
2020-12-28T10:10:02
324,972,597
0
0
null
null
null
null
UTF-8
R
false
false
2,692
r
Ejercicio2.R
install.packages("LearnClust") install.packages("factoextra") install.packages("xlsx") install.packages("magick") library(magick) library(LearnClust) library(tidyverse) library(cluster) library(factoextra) library(xlsx) library(gridExtra) #Hemos profundizado en la representacion de los datos de dos maneras. Para ello h...
1b8a617ed1d20ef310b7a46d1d79d1eadee07be3
a1241d111c801c927dc800722e82efd2329c1474
/man/gemini.Rd
b7d771f19150ba90544875167ab8e2910ecd0f23
[]
no_license
zkzofn/GEMINI
819203296a8e6181aac2e8dfae868ee7a3e6c69b
90cea036dc9fe851032c53dd3e85fb922aac7f6f
refs/heads/master
2020-05-16T15:58:49.945475
2019-03-28T01:54:38
2019-03-28T01:54:38
null
0
0
null
null
null
null
UTF-8
R
false
true
196
rd
gemini.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gemini.R \name{gemini} \alias{gemini} \title{Get data} \usage{ gemini() } \description{ Run GEMINI } \keyword{gemini}
7170fae1ee0e9f33789590442a2656475fd0dc83
c78d381271668ae9fcb74afd00ece39348e349b1
/per-poll-simulations/0037-colmar-brunton/config.R
9214a3d76183b14434d0be1d83691a3d3dc22476
[]
no_license
nzherald/nz-election-prediction
b1c1464e2ee0f3cb8bfd109b4ff9f244937f2424
5bbafe06a4a1cea09782c4f57210e84a5600b7df
refs/heads/master
2021-01-01T04:58:12.745919
2017-09-21T10:48:16
2017-09-21T10:48:16
97,279,096
0
0
null
2017-09-16T15:02:30
2017-07-14T23:13:56
R
UTF-8
R
false
false
28
r
config.R
MaxSims = 5000 DaysTo = 37
4b6145910b48841f7ed70c72d912413aaa7dcd7b
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/micropan/examples/binomixEstimate.Rd.R
4ab930b06567b99b48677ab9bf0bfb117f8f5b76
[]
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
739
r
binomixEstimate.Rd.R
library(micropan) ### Name: binomixEstimate ### Title: Binomial mixture model estimates ### Aliases: binomixEstimate ### ** Examples # Loading a Panmat object in the micropan package data(list="Mpneumoniae.blast.panmat",package="micropan") # Estimating binomial mixture models bino <- binomixEstimate(Mpneumoniae.bl...
90bec15aedfb7090d3327353ec7db41d14dae70a
5ba437404dc01c953830ab17d304e462ece6b5e1
/main.R
712a9f6b18c88420efabb5bc7c18537ca5538af1
[]
no_license
SonjaiAlena/Proekt
a585e16f933b40ade2198c5cec7aa671c1303a94
2e2fa34bb2219a52e343e3f6e610d1f8ebdf03a9
refs/heads/master
2020-11-23T22:22:18.171103
2019-12-13T13:25:12
2019-12-13T13:25:12
227,845,218
1
0
null
null
null
null
UTF-8
R
false
false
4,703
r
main.R
#### Libraries #### library(rvest) library(xml2) library(tidyverse) library(zoo) #### 1. Download data from CBR.RU #### cbr_currencies_download <- function(date_from = "10.12.2019", date_to = "10.12.2019") { url <- "https://www.cbr.ru/currency_base/daily/?date_req=" # c...
293ea65b3a7a317de0a8992818f469f4b0907edf
98dd503577be436fe8892501a137561c5afc18d6
/mapping1.R
1c6bcdbe67c17e6d41adf6c1db85f8d7b07756e2
[]
no_license
xinqiaoz/MA-615-Mapping
a4e8dc3456fd82e0bcdcbfa54f5aa3e045e8f79a
9d57e07bf5bc252024ffdb3e8932b4f6ec55304c
refs/heads/master
2020-08-27T00:27:45.963603
2019-10-24T04:34:20
2019-10-24T04:34:20
217,194,243
0
0
null
null
null
null
UTF-8
R
false
false
738
r
mapping1.R
library(shiny) library(ggmap) library(maptools) library(maps) mapWorld <- map_data("world") mp1 <- ggplot(mapWorld, aes(x=long, y=lat, group=group))+ geom_polygon(fill="white", color="black") projections<- c("cylindrical", "mercator", "sinusoidal", "gnomonic") ui<- fluidPage( titlePanel("World map in diffe...
b975a84179a1236b2b0b8cf983f801c674d0ada5
eff5c5420e047f576766f26d2fb15b0fcd7deb96
/tad_boundary/merge_tads_across_stages.r
66269ed6d3f28b6e8fa940db59082c652ef9524a
[]
no_license
liuzhe93/MERVL_mESC
3323ee742087f54b91161b6778960546482992cf
cd0c1b5431e48d3197f416769f8516175350c4b3
refs/heads/main
2023-05-07T07:53:44.088191
2021-05-24T12:50:16
2021-05-24T12:50:16
370,325,481
0
0
null
null
null
null
UTF-8
R
false
false
1,124
r
merge_tads_across_stages.r
a= data.frame(fread("combined_tads.raw.sorted.txt")) colnames(a) = c("chr1","x1","x2","sample") # a = a[order(-a$score),] combined = list() while ( nrow(a)>0){ tad = a[1,] #x1 = ifelse(a$x1 idx = which( a$chr1 == tad$chr1 & abs(a$x1-tad$x1)<=50000 & abs(a$x2-tad$x2)<=50000 ) tad$samples = paste(sort(sub("(.{8}).TAD....
604976e5ed97251cf2d72f16cc46684f731964c2
f422b206a514668a4cfe31533fdf411a33de088d
/paper/little_helpers.r
78b14005dd92668598f581349e5ab59d1f439394
[]
no_license
a-fent/microsim-ipf
599ce154c350f18fdc6fa497156661c1cc5a5502
d70b37d925f32eb33b79e9d540c391a58f7158ec
refs/heads/master
2021-01-17T07:41:22.824130
2016-07-18T10:07:17
2016-07-18T10:07:17
41,634,124
0
0
null
null
null
null
UTF-8
R
false
false
699
r
little_helpers.r
# Definitions for boroughs borough.defs <- read_csv("data/inner_outer_london.csv") clean.la.colnames <- function(df) { stripped.names <- gsub("\\.", " ", colnames(df)) } shorten.la.names <- function(la.names) { short <- borough.defs[match(la.names, borough.defs$LA.NAME), "LA.SHORTNAME"] short[is.na(short)] <-...
840c48846aeb08853e39b691ec402100973ac737
249f5d382170830dd953323c5cc7c7dc539dd06d
/ROC and AUC.R
0ae578e136830170106bd5705caee6f10d758ac8
[]
no_license
emuvan/dataset
5bbbcc09b7eed69a6650bceec9d7b9c19bbaebda
bbd4a6235c287697ccaf1e2ed35be31710b88b8e
refs/heads/master
2022-04-18T21:40:22.586715
2020-04-17T22:55:59
2020-04-17T22:55:59
256,626,401
0
0
null
null
null
null
UTF-8
R
false
false
1,305
r
ROC and AUC.R
library(ggplot2) library(magrittr) library(ROCR) library(ISLR) library(caret) data1 <- transfusion str(data1) #logistic regression Model show the values library(nnet) mymodel <- multinom(output~., data = transfusion) #miss classification and the confusionmatrix p <- predict(mymodel,transfusion) tab <- table(p, trans...
5c05d92a81e571a19555222f43201fe35b2834a9
175c00f92df7d5829d3fd09157df3db979f47701
/RVisualization/R实战-可视化.R
bf568ebd70354bec6220ad0fc9c3a0bdcef50442
[]
no_license
lealb/r-project
25958f63bab82da0475efdc6196a18bf6418622c
c2e919a2198c4b5edc04c1db9271cec607a5b67a
refs/heads/master
2022-06-23T12:04:31.290286
2017-06-18T15:56:55
2017-06-18T15:56:55
null
0
0
null
null
null
null
UTF-8
R
false
false
2,962
r
R实战-可视化.R
#input from key mydata <- data.frame(a=numeric(),b=character()); ##1 mydata <- edit(mydata) ##2 mydata <- fix(mydata) #grathic pdf("result.pdf")# save as pdf attach(mtcars) head(mtcars) plot(wt,mpg) abline(lm(mpg~wt)) title("Regression 0f MPG ON Weight") detach(mtcars) dev.off() par(no.readonly = T)#生成一个可以修改的当前图形参数列...
7072d63f1e0bc81342fa551240ba5e882dcf66c4
2d6418dc719114e785f716b08478089503bc0ab2
/r/library/table/return.r
6f339ebe394f55b2bc4922fa901a95c6c1d8269e
[]
no_license
jk983294/math
9a9343bde5804c8655a897a20ded3e67f528b225
f883e281961cd4cf16851de15e64746f59b966c7
refs/heads/master
2023-09-04T13:04:17.944946
2023-09-04T09:25:07
2023-09-04T09:25:07
139,425,932
0
0
null
null
null
null
UTF-8
R
false
false
2,285
r
return.r
library(data.table) # 1天10个bar, 两个ii index <- 1:10 ticks <- 929000 + (1000 * index) ticks <- rep(ticks, 4) cp <- c(1.01^(1:10), (1.01^10) * (1.02^(1:10)), 1.02^(1:20)) pre_cp <- c(rep(1, 10), rep(1.01^10, 10), rep(1, 10), rep(1.02^10, 10)) ii <- c(rep(1, 20), rep(2, 20)) capt <- c(rep(0.5, 20), rep(2, 20)) beta <- c(r...
baa41a1fae5b2461ecfc17f9b1c78ee94afa7cdd
a5d1975f45ed63de4f6ed733823d1b13fbc6755e
/dataUtils/R/uniqueNames.R
46a8c17ec299293701acd15a2b6414c4d274c823
[ "MIT" ]
permissive
xieguigang/visualbasic.R
ce865f314cfca04e556cfc48fa0b50a2ec2c126a
d91613a72f722616ec342873b8acfb2d6fd2b7f2
refs/heads/master
2022-02-27T17:08:53.160878
2022-02-07T05:30:30
2022-02-07T05:30:30
81,850,763
0
0
null
2018-06-26T02:34:49
2017-02-13T17:17:08
R
UTF-8
R
false
false
569
r
uniqueNames.R
#Region "Microsoft.ROpen::1dd9bd372509b65b661f52e0264aabe7, uniqueNames.R" # Summaries: # uniqueNames = function(names) {... #End Region uniqueNames = function(names) { nhits = list(); uniques = c(); for(name in names) { if (is.null(nhits[[name]])) { nhits[[name]] = 1; uniques = app...
3ded5bafc68d74ea8614d7c2e93761611bf5e6ca
4dd03c6cae89837a1c8c86925b8f40fff0df053c
/PUT FILES IN HERE/SPADE.R
2d4733906ac0236245d632995bc4beb7b57da023
[]
no_license
NortonS1/KempkirmanRwork
3a945f2e839339a5ff74719dc6a86e57148f58e2
14c18c39617e7491c3c58303e278f83054e14266
refs/heads/master
2020-07-26T00:11:15.706622
2017-02-28T20:45:56
2017-02-28T20:45:56
73,643,969
0
0
null
null
null
null
UTF-8
R
false
false
2,856
r
SPADE.R
#SPADE!!! read.csv("Sample 1-Sam.csv") -> x apply(x,2,mean) -> xm apply(x,2,sd) -> xs scale(x,xm,xs) -> xscaled as.data.frame(xscaled) -> x My_Palette <- colorRampPalette(c("navy","aliceblue","bisque","chocolate1","firebrick"))(256) library(igraph) library(circlize) library(ComplexHeatmap) library(dendextend) SPADE <...
617df4ce82c9893e3365e41f362d388ec5bc58c8
0bdea795ba4eacc6703abdb937312189abab426d
/man/ttpower.Rd
3d65c17fb5e2a7c5dec4704b29f8c2785de6950d
[]
no_license
cran/TrendInTrend
8bcc66ae3690672ad6b4f478d37b6fa4353b4455
4f060f9b8c31a4df6eaabd915df04bb46024c6eb
refs/heads/master
2021-01-20T19:21:33.170856
2020-03-05T16:30:02
2020-03-05T16:30:02
60,498,774
1
1
null
null
null
null
UTF-8
R
false
true
1,009
rd
ttpower.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TrendInTrend.R \name{ttpower} \alias{ttpower} \title{Power calculation in trend-in-trend design} \usage{ ttpower(N, time, G, cstat, alpha_t, beta_0, h1.OR, nrep) } \arguments{ \item{N}{Sample Size.} \item{time}{Number of time points.} \item...
152d6fcf86219f4e6abb4c670da4526f03b0b38b
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/RQEntangle/vignettes/CoupledTwoLevelSystems.R
80cedaaa921c540bbba3afa107ed3a0bef84e57a
[]
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
658
r
CoupledTwoLevelSystems.R
## ----setup, include=FALSE------------------------------------------------ knitr::opts_chunk$set(echo = TRUE) ## ----loading library, include=FALSE-------------------------------------- library(RQEntangle) ## ----singlet------------------------------------------------------------- singlet<- matrix(c(0, sqrt(0.7), sq...
9c0f010da56a0ef03d5c4dc2b594522fcb2f152a
f042fbdf31a2106bfbe298b32dc0aa551bd3ae84
/man/spatial_fit_control.Rd
fd616f5ab8746244507efca9db14fda27eaded41
[]
no_license
danielbonhaure/weather-generator
c76969967c3a60500a6d90d5931a88fb44570eba
6a207415fb53cca531b4c6be691ff2d7d221167d
refs/heads/gamwgen
2023-01-21T17:38:46.102213
2020-12-04T21:59:05
2020-12-04T21:59:05
286,565,700
0
0
null
2020-12-01T13:19:05
2020-08-10T19:50:16
R
UTF-8
R
false
true
415
rd
spatial_fit_control.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fit_spatial.R \name{spatial_fit_control} \alias{spatial_fit_control} \title{Weather model fit configuration} \usage{ spatial_fit_control( prcp_occurrence_threshold = 0.1, avbl_cores = 2, planar_crs_in_metric_coords = 22185 ) } \descript...
fc0b9bb4d9762f562f3b132675e3fc71dca40270
b283a855db471c6cf2b6f3395a38a27e45c19da6
/ProviderProfiling1/Functions/Functions - Simulation/fun_LRana_raw.R
9dce4db770f88a05dd60ca7322c2749a214f3e6c
[]
no_license
timobrakenhoff/ProviderProfiling1
28431d4456038dad7582fc2e346495e079166e63
d21038543dfdf0282ff8a565736fa601d79bd593
refs/heads/master
2021-08-19T19:48:01.392787
2017-11-27T08:54:37
2017-11-27T08:54:37
112,163,264
0
0
null
null
null
null
UTF-8
R
false
false
1,480
r
fun_LRana_raw.R
################################################### # Logistic regression Function with fixed effects # ################################################### ##INPUT: #dat frame with last col = outcome, first col = indicator, All predictors (centered) #REMOVE Variable #s that need to be removed before analysi...
0a84560d5d1b9d13f2a0eb91293df9cd74ef041a
8059c9c4ba6d57e651b6c65fa22506fc2de735c2
/10_04/deploy-many-apps.R
0742f8e28f0d0a91b97307509d425ca3873deb18
[]
no_license
dmancilla85/r-shiny-essential-training
da4367552d6d23ee2db62a6d18f7076f200195bc
d41c3e824fda94ee13ffdd5dbe4462bae76b477a
refs/heads/master
2022-12-22T22:55:07.369389
2020-09-27T20:55:51
2020-09-27T20:55:51
299,117,595
0
0
null
null
null
null
UTF-8
R
false
false
569
r
deploy-many-apps.R
library("tidyverse") library("rsconnect") "the_shiny_app/" apps_tib <- tribble( ~appDir, ~appName, "the_shiny_app", "foobar-app", "the_shiny_app", "fubar-app" ) deploy_app <- function(name_of_app, directory_of_app){ tryCatch( deployApp( account = "visibledata", appDi...
ed70b54a059331f32d0f7e8b39b02d300676632b
029f297321558c468dc7618756ec72597e2a1876
/BlackFriday.R
ff5393ef6b72a4d888aeed636f3864df52f5a58d
[]
no_license
RakeshKumarA/Project-1
2db4270cd95c01b62b182e0e4634eb2f9db293b2
73921b246e4c48d633d68afd41c34477a19e2e6b
refs/heads/master
2020-12-25T14:24:03.760539
2016-09-11T12:51:15
2016-09-11T12:51:15
67,844,393
0
0
null
null
null
null
UTF-8
R
false
false
6,573
r
BlackFriday.R
##Black Friday Problem using H20 ##Setting Environment for H20 require(data.table) ##Read Testing and Training data train <- fread("train.csv",stringsAsFactors = T) test <- fread("test-comb.csv",stringsAsFactors = T) ##Dimensions of train and test data dim(train) dim(test) str(train) ##With just mean of the entire ...
07c98d21e22e9c22ac29ffaab8710133866511c3
767beb025b7bb92ad0fba01fb66f470d3a48b5c6
/R/print.GEPhenotype.R
fd080eda31d027d656bb7773cd026e96c28ed535
[]
no_license
ramcqueary/gramEvol3
cf46ba9b88d751899b630c37ca5676e6e4a21327
1704cd06723402e38911f37d490da790b48b420a
refs/heads/master
2021-09-23T18:58:03.400514
2021-09-12T03:09:15
2021-09-12T03:09:15
249,277,554
0
0
null
null
null
null
UTF-8
R
false
false
218
r
print.GEPhenotype.R
function (x, ..., simplify = TRUE) { if (x$type == "NT") { cat("Non-Terminal Sequence:\n", x$expr, "\n", ...) } else { cat(as.character(x, simplify = simplify), "\n", ...) } }
3d508c8dc2f156efeebbe3cad1e485d01878904b
a87d2e0c6a27f28ac8d239b6285df3b0d01cad17
/r animate.R
3e24100fe347ed75043cf073db207256b77d846f
[]
no_license
kavyakk42/Covid-19-Insights
a33002da84f0fe579c3f6f2253314ace1d592bfe
63a03ab333940924a3e319604caa1260b49dcb41
refs/heads/master
2022-11-06T10:38:06.555907
2020-06-20T13:55:13
2020-06-20T13:55:13
265,772,816
0
0
null
null
null
null
UTF-8
R
false
false
3,225
r
r animate.R
#ANIMATED TIME SERIES PLOT library(ggplot2) #for bar and line graphs library(dplyr) library(tidyr) library(lubridate) # for date time and month library(gganimate) # for animation library(gifski) library(av) library(gapminder) #for bubble plot data= read.csv(('latestdata.csv'),header = T) # Handling dates datanew <-...
f6af45c856d7801229c3c7627ec61d08efdbc006
e9f14b14f1ce16f78adf86e7fda095c57662d27d
/R/splitmix.R
9917c60e6f46daf70e0d0122988111c1433c4c5e
[]
no_license
chavent/PCAmixdata
9c224aab5618ed440749b0bac1ac2b7b937d6e6e
428226c55bbdf81b3a0a9bb16607727ced179d9b
refs/heads/master
2023-05-10T19:38:37.558635
2022-12-05T16:07:57
2022-12-05T16:07:57
36,010,690
8
5
null
null
null
null
UTF-8
R
false
false
746
r
splitmix.R
#' @export splitmix<-function(data){ data<-data.frame(data,check.names=T) data_desc <- sapply(data,class) X.quanti <- X.quali <- NULL col.quant <- c() col.qual <- c() for(i in 1:length(data_desc)){ xdf <- as.data.frame(data_desc[i]) if(xdf[1,1] == "factor" | xdf[1,1] == "character" | xdf[1,1] == ...
997a6cf0e165d87a41cbdeccb2426307ca372846
953de0b74445c535e97c5c834ab2a5cca37143eb
/R/mixVectors.R
d8d3105311b3f66067f16e5577ed85ccf8224464
[]
no_license
fischuu/Luke
725af9739c1207bc6f425d8bfabacdf63bc3d36b
8485e1eabe73df5cf66100d121851a39641ddb36
refs/heads/master
2022-09-06T06:20:32.057076
2022-08-29T04:12:26
2022-08-29T04:12:26
55,674,693
0
0
null
null
null
null
UTF-8
R
false
false
102
r
mixVectors.R
# This function mixes two vectors alternating mixVectors <- function(x,y){ unlist(c(rbind(x, y)) ) }
f1bb3989756ce483bb6f196a8fb8f93338c58b6f
4440906c05aab8b4fb8906d2dd2658cc5d00009e
/R/conf_bands.R
02a2fcc05cf30417d342ca47339d1667b16adb4c
[]
no_license
djluckett/svmroc
e5508c04a721804e0026cf6b31d0d16d18a5d717
457d095ec6c2e59af36eda34cc8022181d7762b3
refs/heads/master
2020-03-28T04:35:18.089423
2019-10-04T21:28:28
2019-10-04T21:28:28
147,724,427
0
0
null
null
null
null
UTF-8
R
false
false
8,631
r
conf_bands.R
# conf_bands.R #' SVM ROC confidence bands #' #' \code{conf_band} constructs bootstrap confidence bands for the SVM ROC curve from #' an object of class \code{svmroc}. #' #' @param object An object of class \code{svmroc}. #' @param num_boot Number of bootstrap replications. Defaults to 1000. #' @param gamma Compleme...
6252dc995fa1ca1a93db0d8089a5f22974c53164
3812d02a0b7a2b17ffae371fc2d41076fe2ad868
/R/coef.PSM.R
3f217e39f13fecd9b98690b407daae4188d9861c
[]
no_license
reealpeppe/PSM
eef24128396d06bfa1ff1203bc35b6ba99b17463
027a8440461c5d3e698ab42620599fdbb2c96d5c
refs/heads/main
2023-07-24T05:44:06.384114
2021-09-06T20:36:13
2021-09-06T20:36:13
401,394,193
0
0
null
null
null
null
UTF-8
R
false
false
521
r
coef.PSM.R
#' Extract Model Coefficients #' @description Extracts model coefficients beta and delta #' @param object an object of class 'PSM' returned by PartialSplines function #' #' @return a list containing the coefficients #' @export #' #' @examples #' #' x <- data.frame(x = rnorm(100)) #' tx <- rnorm(100) #' eps <...
f9ac9b8e0fe4bfb51aafbeacbe6d1171feb84f47
30712e0ebb841fb214a73024acdc1ba8b571c82a
/gissr/gissr_part2/man/sp_projection.Rd
ba6f88187c56a70b50710fd4f655c70dc2e5017c
[]
no_license
karaframe/R_useful_packages
93bc9fe28f9411d2986c09a4529c92bf5d195583
b132d94eb7f54129253fc51ce1e7a01b4ee0692e
refs/heads/master
2021-01-11T06:31:41.654758
2016-09-26T08:12:45
2016-09-26T08:12:45
69,226,910
0
0
null
null
null
null
UTF-8
R
false
true
372
rd
sp_projection.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sp_projection.R \name{sp_projection} \alias{sp_projection} \title{Function to return a spatial object's projection system.} \usage{ sp_projection(sp) } \arguments{ \item{sp}{Spatial object} } \description{ Function to return a spatial object'...
92b86890512c7deb7a8f2ce7a2789d5a4a46fabf
d70039cf9ccbc466a04c9b8cfbfad1c57a35b2bb
/man/retrieve_meetings.Rd
f9bd4facf8703f1ad366d626de31cd42dd5649a5
[]
no_license
jkadcav/meeting
a211e3d52ddd63b773d5a3397b4060841671b1c8
0048324148a973089fb6548d66ffc800da28bd08
refs/heads/master
2021-01-13T10:47:03.130629
2016-11-01T06:53:24
2016-11-01T06:53:24
72,383,819
0
0
null
null
null
null
UTF-8
R
false
true
367
rd
retrieve_meetings.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/meeting.R \name{retrieve_meetings} \alias{retrieve_meetings} \title{Retrieve meeting events} \usage{ retrieve_meetings(date, animal) } \arguments{ \item{meetingId}{meeting ID to use for retrival} } \description{ Retrieve meeting events } \exa...
6d2d32c3f6247e1001ff7d6460f8cb1c37833ced
cef9e0516578ddc6fc2f1184b8f4850408887c0d
/R/lazyFactorCoding.R
01bbc562041dac9184cbef43d139f1565d2df724
[]
no_license
tagteam/Publish
62cad3b48930743d19b5246ce2f8aeb7343ebe98
b027ce49f882ee051118247997f0a931cedcd46e
refs/heads/master
2023-01-28T04:10:25.237750
2023-01-17T14:21:03
2023-01-17T14:21:03
32,985,684
17
4
null
null
null
null
UTF-8
R
false
false
1,897
r
lazyFactorCoding.R
##' This function eases the process of generating factor variables ##' with relevant labels. All variables in a data.frame with less than ##' a user set number of levels result in a line which suggests levels and ##' labels. The result can then be modified for use. ##' ##' The code needs to be copy-and-pasted from the ...
421488e9cbf71c1b750986be73964b8fdb830362
15c8bab24090d3d3f9324ad3aa718b0f8957a8b0
/week_05/day_3/download_app/app.R
2b8f1c99ed17dac83a974c24e1943f6704420513
[]
no_license
paddyhudson/codeclan_homework_PaddyHudson
1caf14758c60a6df15b7c5c10a92ea586cde73fc
09997e0d068a17a6eb50c00f9121fa023114b52e
refs/heads/main
2023-08-20T11:56:50.493952
2021-10-07T08:48:25
2021-10-07T08:48:25
387,508,789
0
0
null
null
null
null
UTF-8
R
false
false
3,602
r
app.R
library(shiny) library(CodeClanData) library(tidyverse) library(shinythemes) library(rmarkdown) ui <- fluidPage( theme = shinytheme("superhero"), titlePanel("Five Country Medal Comparison"), tabsetPanel( tabPanel("Plot", plotOutput("plot"), fluidRow( ...
f8722904334f7c578828c3d184c465419f9502a8
e06965698053952f7f97c60349a590e42d08b633
/inst/test_files/test_sketch_2.R
41897814ac8960d09dc4cd9b24a26675a319d61c
[ "Apache-2.0" ]
permissive
kcf-jackson/sketch
a9940c89ed8183627914861a11893856b1c47429
b597f01e540f35aab1f5ee2d3744f6f64c70c94d
refs/heads/master
2022-11-01T03:28:32.088340
2022-10-23T14:22:05
2022-10-23T14:22:05
222,058,097
106
5
NOASSERTION
2022-10-23T14:22:07
2019-11-16T06:36:59
HTML
UTF-8
R
false
false
113
r
test_sketch_2.R
fib <- function(n) { if (n < 2) { return(n) } else { return(fib(n-1) + fib(n-2)) } }
67e609490870fe66d024a5537e49e4beda6347cd
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/grpreg/examples/cv-grpreg.Rd.R
d9d5ce18ebc62738850a154a5ee2f842bb8bcc26
[]
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
379
r
cv-grpreg.Rd.R
library(grpreg) ### Name: cv.grpreg ### Title: Cross-validation for grpreg/grpsurv ### Aliases: cv.grpreg cv.grpsurv ### ** Examples data(Birthwt) X <- Birthwt$X y <- Birthwt$bwt group <- Birthwt$group cvfit <- cv.grpreg(X, y, group) plot(cvfit) summary(cvfit) coef(cvfit) ## Beta at minimum CVE cvfit <- cv.grpreg...
31a96695f24bd2b7d25d3d01e867d00e97f13ac0
dd83da7973b6d7bddbc6ed9718b45ee1bf8caebe
/plot1.R
f7fada06bd93b7295a6673d6f8ddbd15b16c1d7f
[]
no_license
bulajic/ExData_Plotting1
5dde805b230f55d6fea0e2fad2460bd4aa1b9cc8
66850836ea940725b1289709288a0cb37426cf51
refs/heads/master
2021-01-17T14:07:01.272224
2015-06-07T14:31:57
2015-06-07T14:31:57
37,019,401
0
0
null
2015-06-07T14:27:08
2015-06-07T14:27:08
null
UTF-8
R
false
false
492
r
plot1.R
# download the data download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", "data.zip") file = unzip("data.zip") # load the data library(sqldf) data = read.csv.sql(file, sql = "select * from file where Date in ('1/2/2007', '2/2/2007')", header = T, sep = ";") # construct...
8b969c06ef176663ffbc2145806c1dd1b6d8027e
b8dbee4b91b48121bff4329ce2f37c89d8836290
/seqUtils/man/exportDataForRasqual.Rd
f6ad210b91b651262a85e5ab1d7a2af77237d836
[ "Apache-2.0" ]
permissive
kauralasoo/macrophage-tuQTLs
18cc359c9052bd0eab45bd27f1c333566fb181d8
3ca0b9159f3e5d7d1e0a07cdeadbeb492e361dcb
refs/heads/master
2021-03-27T19:29:12.456109
2019-02-19T13:05:26
2019-02-19T13:05:26
93,025,290
1
3
null
null
null
null
UTF-8
R
false
true
680
rd
exportDataForRasqual.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qtl_rasqual.R \name{exportDataForRasqual} \alias{exportDataForRasqual} \title{Write multiple files for RASQUAL onto disk.} \usage{ exportDataForRasqual(condition_list, rasqual_input_folder, max_batch_size = 50) } \arguments{ \item{condition...
d9e65c78a9e7032c3085a4a48649498612999132
86a282f2e03d0d8e64127bfe2aa4be6d968d24b4
/man/normpostpred.Rd
00805ade3cf499510e99b9819ed87b30f68ba9c2
[]
no_license
u44027388/LearnBayes
fc57e5689c9619de966f4b9e0210bb3aa078ec8f
f7722076d01768bb845bfe9bed78c365fcf292df
refs/heads/master
2021-09-14T19:23:22.283849
2018-05-17T21:04:10
2018-05-17T21:04:10
null
0
0
null
null
null
null
UTF-8
R
false
false
949
rd
normpostpred.Rd
\name{normpostpred} \alias{normpostpred} \title{Posterior predictive simulation from Bayesian normal sampling model} \description{ Given simulated draws from the posterior from a normal sampling model, outputs simulated draws from the posterior predictive distribution of a statistic of interest. } \usage{ normpostpre...