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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7bedc4026c1a1dba65f3a4eda095677c54294e2f | e2f83d83780a64591fef34b2b48208166c19e040 | /05.gwas_power_marker_number.R | f2d13bd01fa096090f9e11474c2cb399be8f1223 | [] | no_license | quanrd/tomatoWgsGwasGs | 77ed273edb4840ef81d153c9d880d42bfbb496c3 | e5301f71512eff697085b3b4dc43856a1c9086bb | refs/heads/master | 2020-12-04T09:41:39.535203 | 2019-06-28T08:45:22 | 2019-06-28T08:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,652 | r | 05.gwas_power_marker_number.R | ### number of markers and GWAS power : Figure 3A ###
## libraries ##
library(rrBLUP)
library(pROC)
library(ggplot2)
source("inhouse.functions.R")
## data ##
load("data/geno.train.rda")
load("data/K.train.rda")
genetic.map = read.csv("data/genetic.map.csv")
## execution ##
geno.train = geno.train[geno.train$CHROM != ... |
b42b96d52041b4a624fa9a52559473deb8775629 | a986267478f44c19688c5c8f4fe42c05b65844c1 | /Gradient matching/Results without measurement errors/PDE_GradientMatching_NoMeasurementError.r | a30ffb8d71b230296a72fb8c82abd494725ada4e | [
"CC-BY-4.0"
] | permissive | ycx12341/Data-Code-Figures-RSOS-rev | 66ad1868f4a5947f17ed252940f392c18cc440f8 | 6ecd8ee6c9c67fade3e64043685482a22e9b9e08 | refs/heads/main | 2023-04-13T22:36:01.896703 | 2022-08-09T14:21:45 | 2022-08-09T14:21:45 | 348,829,671 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,445 | r | PDE_GradientMatching_NoMeasurementError.r | ### Gradient matching scheme ########
### Author: Yunchen Xiao & Len Thomas ###########
### Single run on dataset with no measurement error ###
#Environment settings
library(readr)
#Source companion functions
source("PDE_GradientMatching_Functions.r")
### Setup ####
#Define simulation parameters
# Define model pa... |
94c765cd6ab0a52831272d6a3d92a8d7c5608cdb | 557b62106c0c5393ffd3904c47e7c29f38e4e845 | /man/theme_myriad_semi.Rd | eea5432048d1585298117ba0cd9efc4e551b1020 | [] | no_license | kjhealy/myriad | fffe308f3806c9889871fc15a1a14b8c1b9f57bf | 4816b3d8e554bc1a0d10c4b019e3733eec2a13a2 | refs/heads/main | 2023-04-15T09:55:38.618791 | 2023-04-06T16:21:26 | 2023-04-06T16:21:26 | 81,757,191 | 14 | 5 | null | null | null | null | UTF-8 | R | false | true | 738 | rd | theme_myriad_semi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/myriad.r
\name{theme_myriad_semi}
\alias{theme_myriad_semi}
\title{theme_myriad_semi}
\usage{
theme_myriad_semi(
base_size = 12,
base_family = "Myriad Pro SemiCondensed",
title_family = "Myriad Pro SemiCondensed",
base_line_size = bas... |
0a79081cdafe0206968570f1d14adadd60cdf526 | bde168fac75e9c17cd62e05fa8751b71328704f1 | /man/read62_01_run_control_params.Rd | bd35e0ab3114939d38d85d0ff4b0ec44ce504c19 | [
"MIT"
] | permissive | yosukefk/PuffR | bcafed842cbb25d4c890d7cf0706e85b46294f66 | b5d2040eaff1de017152c5e405c2d4f2b17f9251 | refs/heads/master | 2020-07-23T14:34:56.494444 | 2019-09-10T17:22:05 | 2019-09-10T17:22:05 | 207,593,685 | 0 | 0 | MIT | 2019-09-10T15:19:01 | 2019-09-10T15:19:01 | null | UTF-8 | R | false | false | 3,715 | rd | read62_01_run_control_params.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/read62_01_run_control_params.R
\name{read62_01_run_control_params}
\alias{read62_01_run_control_params}
\title{Set the READ62 run control parameters}
\usage{
read62_01_run_control_params(read62_inp = "read62_template.txt",
read_data... |
cc5ab0d4179b1a4bfe32ce0ccc2f69f3b8eddc6c | b826cbebcb87f76ef7fda08b568e7fabd0fa69d6 | /3-getting-cleaning-data/week-2-getting-data.R | a61324a7ebed183d8b4ba3b1291c5a294b96abd4 | [] | no_license | M0eB/data-science-coursera | f7dc7406474cb6ba5346ace51e0b6eb0b6a55e47 | 2a1bdb3cde5ff9e2efb70c012e73ff51952b1563 | refs/heads/master | 2016-09-11T02:56:35.705301 | 2014-09-29T02:51:02 | 2014-09-29T02:51:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,099 | r | week-2-getting-data.R | # =============================================================================
# By : Mohamed T. Ismail
# Course : Getting and Cleaning Data (Johns Hopkins University)
# Provider : Coursera.com
# Description : Week 2 notes and examples (from slides)
# ==================================================... |
2bdc4ff1eb0073dce0e6df620d704e06ce8703f3 | 57fe6ae279eb902aaced664faca979571d8ce059 | /course-3_data-cleaning/week-2/week-2-quiz.R | f6cb8c950743b952e17148ad2f6df8df9c85e719 | [] | no_license | DrShashiPonraja/coursera_data-science_Johns-Hopkins | 82dc6c4da12f06beff2ca9247e8597db264e594b | 933ec5a97ed1c072b30d8a85fd713291cece7e4f | refs/heads/master | 2020-03-20T17:19:32.346040 | 2018-06-17T00:51:27 | 2018-06-17T00:51:27 | 137,556,939 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,862 | r | week-2-quiz.R | ##Register an application with the Github API here https://github.com/settings/applications.
##Access the API to get information on your instructors repositories (hint: this is the url you want "https://api.github.com/users/jtleek/repos").
##Use this data to find the time that the datasharing repo was created. What t... |
3c54a1fcb1b277c4ed530b868e74c2fbbe4439cb | f0bb7b739b8109def549b8acdbcb15cc79cc8d11 | /cont-model-part-II.R | 6ef57da6071725a334d9ee6ae1702f2ea70a6544 | [] | no_license | vikasgupta1812/rsnippets | 2ba764b47334f33487768ca506eca5ab1835c792 | a4572b1ed5289de06c4cc8f7de5736e9e2b85043 | refs/heads/master | 2021-01-21T00:01:28.739303 | 2016-06-08T21:58:06 | 2016-06-08T21:58:06 | 60,504,464 | 0 | 0 | null | 2016-06-06T06:39:16 | 2016-06-06T06:39:14 | null | UTF-8 | R | false | false | 2,096 | r | cont-model-part-II.R | # Description : Cont Model Part II
# Website : http://rsnippets.blogspot.in/2013/10/cont-model-part-ii.html
cont.run <- function(burn.in, reps, n, d, l ,s) {
tr <- rep(0, n)
sig <- rnorm(reps, 0, d)
r <- rep(0, reps)
for (i in 1:reps) {
r[i] <- (sum(sig[i] > tr) - sum(sig[i] < (-tr))) / (l * n)
tr[runi... |
43abf325f2c477ba5f73cb276f114087768b150a | 6951cfcfbcad0034696c6abe9a4ecf51aa0f3a4b | /man/vignette.Rd | c9dcea01ae8570968dc9fc640428866fe4aa5b2a | [] | no_license | renozao/pkgmaker | df3d4acac47ffbd4798e1d97a31e311bf35693c8 | 2934a52d383adba1d1c00553b9319b865f49d15b | refs/heads/master | 2023-05-10T16:40:30.977394 | 2023-05-03T07:02:51 | 2023-05-03T07:17:17 | 12,726,403 | 8 | 3 | null | 2023-02-14T10:26:07 | 2013-09-10T10:07:35 | R | UTF-8 | R | false | true | 4,518 | rd | vignette.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vignette.R
\name{rnw}
\alias{rnw}
\alias{isManualVignette}
\alias{as.rnw}
\alias{rnwCompiler}
\alias{rnwWrapper}
\alias{rnwDriver}
\alias{rnwIncludes}
\alias{rnwChildren}
\alias{vignetteMakefile}
\alias{compactVignettes}
\title{Utilities for ... |
76e14a5dfaf704dd4fa2794fcc5e1ff53d0ac7e4 | 97102dcc2d443aa4aedff36535df5674ebd68788 | /SparqlQueries/getTrustsFromSwirrl.R | 6aaf611e3a3a296606225b3e671cc58c63fde460 | [] | no_license | sinclr4/DataHoles | e20d4ef5ee8294247f27adb0bc24ea67ef4e0ab9 | e1c8a288bdc917fa307c4beed3c0d9ad609baa4d | refs/heads/master | 2020-06-13T13:25:46.916204 | 2017-01-18T20:56:52 | 2017-01-18T20:56:52 | 75,374,337 | 0 | 0 | null | 2016-12-14T18:45:12 | 2016-12-02T08:02:06 | R | UTF-8 | R | false | false | 382 | r | getTrustsFromSwirrl.R | # List of Datasets
list_of_trusts_from_swirrl_for_pdw <- 'PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?refArea ?org_name
WHERE {
?observation <http://purl.org/linked-data/cube#dataSet> <http://nhs.publishmydata.com/data/place-pdw> .
?observation <http://nhs.publishmydata.com/def/dimension/... |
0ce1467a7a18e3d98ee03d0a13a2b0525bd7bf2a | 049b6e37472c3d460bb30911cd7d470d563c612d | /containers/tscan/run.R | 5f7a100185765ea5fbb67d96b802f7432030a094 | [] | no_license | ManuSetty/dynmethods | 9919f4b1dc30c8c75db325b4ddcd4e9ada5e488b | 337d13b7a6f8cac63efdeb0d06d80cd2710d173d | refs/heads/master | 2020-03-21T11:34:35.406210 | 2018-06-24T20:25:50 | 2018-06-24T20:25:50 | 138,512,485 | 1 | 0 | null | 2018-06-24T20:16:12 | 2018-06-24T20:16:11 | null | UTF-8 | R | false | false | 2,595 | r | run.R | library(dynwrap)
library(jsonlite)
library(readr)
library(dplyr)
library(purrr)
library(TSCAN)
library(igraph)
# ____________________________________________________________________________
# Load data ####
data <- read_rds('/input/data.rds')
params <... |
39800170862d93f30db2ffa19d02dd17910281d4 | 9fcb7bf2a0016403dd3de4e6a357774ce617fe06 | /Viz/Tree_Viz.R | 585310a938fce548c6cb52d427e49f3cc1dfbcfa | [] | no_license | jdfreden/Spades | 98c1c1d2b31216cbdef8e320e181805936920061 | 8b924def0fde39fdde23b85b4d4ace7ca0ca20fe | refs/heads/master | 2023-05-10T00:16:56.241052 | 2021-05-26T00:56:56 | 2021-05-26T00:56:56 | 354,326,848 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,526 | r | Tree_Viz.R | # Title : Visualize ICMCTS
# Created by: jdfre
# Created on: 4/14/2021
library(visNetwork)
ROUND_DIGITS = 5
processFile = function(filepath) {
lines = NULL
con = file(filepath, "r")
while ( TRUE ) {
line = readLines(con, n = 1)
if ( length(line) == 0 ) {
break
}
print(line)
lines ... |
5824ae783ee962080fb0ae1aea1e383eae5e4204 | 12ade55af2eb10c335e765fb143e8aa0f8c82832 | /Analysis/step14_Gene_Signature_Study.R | c38f37246e4a27e4565bbc11f1611656984249d0 | [] | no_license | zexian/BBCAR_codes | 7340f6dbe13d9e9539d2308064dd014eb3605dad | e924677613e1441ae55e38bc29bb307e40a4a4ff | refs/heads/master | 2022-04-22T22:53:59.762389 | 2020-04-23T05:03:06 | 2020-04-23T05:03:06 | 167,890,339 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,098 | r | step14_Gene_Signature_Study.R | #source("https://bioconductor.org/biocLite.R")
#biocLite("VariantAnnotation")
#source("https://bioconductor.org/biocLite.R")
#biocLite("SomaticSignatures")
#source("https://bioconductor.org/biocLite.R")
#biocLite("BSgenome.Hsapiens.UCSC.hg38")
#install.packages('ggdendro')
#source("https://bioconductor.org/biocLite.R")... |
774fac1887e105eaa7d88ccbb814ecf807a72b45 | 5c5915807ea728324875a615a1b9c5b919f2962f | /loadlib.R | b69bbcb4a8d555a5137aaafdd8a42be249230ad6 | [] | no_license | demel/AccessMod_shiny | 3d969228ff6ca8a9076a30a75fbf94ed60a87d55 | 70ffe0ba8ea6c558466689fdb419e3061afb971e | refs/heads/master | 2021-01-17T06:44:53.433833 | 2015-11-02T18:27:09 | 2015-11-02T18:27:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,361 | r | loadlib.R | # load all packages at once, at the begining of the server function.
# this is could be an expensive task !
# TODO: load packages inside functions def, and put
library(devtools)
library(R.utils) # used in amReadLogs to read last subset lines
library(devtools)
library(rgrass7) # R interface to GRASS GIS
library(htmlto... |
c77669628f490914ae6ad466a847b09be83e850b | 8cda1e9a8fa1d4e7862883487089e2a82262b074 | /postprocessing_functions.R | 36b30977279fe5d0b994f258566dabb77c28265b | [] | no_license | boukepieter/MCNA_Analysys_Iraq | 0b7cf7e7336ddc4f0b68172afef023b09304abf0 | 2e5083004fe59096dd85c7b5a0568376d77e577f | refs/heads/master | 2020-05-27T14:43:01.708831 | 2020-05-20T07:57:38 | 2020-05-20T07:57:38 | 188,666,116 | 1 | 9 | null | 2019-11-05T08:14:35 | 2019-05-26T09:56:51 | HTML | UTF-8 | R | false | false | 4,335 | r | postprocessing_functions.R | pretty.output <- function(summary, independent.var.value, analysisplan, cluster_lookup_table, lookup_table, severity = FALSE, camp=FALSE) {
subset <- summary[which(summary$independent.var.value == independent.var.value),]
independent.var <- subset$independent.var[1]
if(is.na(independent.var)) {
analplan_subse... |
4d9b125296f63a165b7f0ffa49f365b290730f79 | 6ff24bc1f35410c47d2662d1b8e5a2f34e65b1b7 | /man/search_leakers.Rd | cb6528c051b4413360d3292863dde6bfbe936a51 | [] | no_license | ablanda/Esame | 5d3d7c1408e5ed0e9771ea015855db0788036d8e | b43749d3fc4214e878d93b4e2b7c073c64cb7610 | refs/heads/master | 2020-12-30T11:39:37.681842 | 2018-08-11T12:42:47 | 2018-08-11T12:42:47 | 91,511,654 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 448 | rd | search_leakers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/search_leakers.R
\name{search_leakers}
\alias{search_leakers}
\title{Trovare le variabili leakers}
\usage{
search_leakers(data, soglia = 0.5)
}
\arguments{
\item{data}{data.frame}
}
\value{
una tabella con le variabili che hanno ottenuto r^2 ... |
87eb041e81b55346d242bc13d6314ad7875e21c3 | cf846020dbd10ee4526f713267ad75895c82c0c7 | /results/tunningPso/tunningPso-script.R | 6331c616b26e28061c2cd2da682fa00e788c130e | [
"MIT"
] | permissive | jnthouvenin/Swarm_Robot_Controller | 9a76d26aa58f4b380d7aec8ce68ca004bb9b6123 | 8ef0f187f502a35e5e354f8f5c4837b4911635b0 | refs/heads/main | 2023-08-15T07:33:53.067734 | 2021-09-23T17:27:54 | 2021-09-23T17:27:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,405 | r | tunningPso-script.R |
data.5.0.0 <- read.csv("trace/5-0-100-13-1.dat",header=F)[,1][5:105]
data.5.1.0 <- read.csv("trace/5-1-100-13-1.dat",header=F)[,1][5:105]
data.5.2.0 <- read.csv("trace/5-2-100-13-1.dat",header=F)[,1][5:105]
data.5.0.1 <- read.csv("trace/5-0-100-13-2.dat",header=F)[,1][5:105]
data.5.1.1 <- read.csv("trace/5-1-100-13-2... |
a2fe05dfd007dac2bc54f54d3b473af8a7f4cc26 | 93439fef06f5e9e1344f8ee3d70d7be1b3a9d109 | /Scripts/01-rstudio.R | 8038672d652226aa0e8f80c5b831f1cf6a14aedd | [] | no_license | CapellariGui/MetodosHeuristicos | 79022a08c839d061df967d2163e1c23e12fc0bdc | 361c67304a86e230610a440ac14048ecb546bbe6 | refs/heads/master | 2023-07-07T20:16:37.927937 | 2021-08-28T14:12:19 | 2021-08-28T14:12:19 | 398,545,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 926 | r | 01-rstudio.R | ##Configurando deretorio
getwd()
## Contribuidores
contributors()
print("Bom Sábado")
## Criar um Gráfico
plot(1:25)
## Instalar Pacotes
installed.packages()
install.packages("randomForest")
## Carregando Pacotes
library(randomForest)
## Descarregando pacotes
detach(package:randomForest)
## Ajuda
help("detach")... |
79103b5a8b96efb7778cc57bf4017f0f86b3e3f2 | 589ec53602da3824e55a93b6cffe6d1017172949 | /man/fixUnSampTrueBorder.Rd | e97bf1d3e1f1f9a2281649bdfc558b39e3756403 | [
"MIT"
] | permissive | mcglinnlab/vario | c6a2b35eba1c5610274d0778cc140db3f6d686e2 | d8c9bbd2dff1a52d1448ecb4f45a53ef4422394f | refs/heads/master | 2023-03-05T03:53:23.641515 | 2023-02-21T04:15:36 | 2023-02-21T04:15:36 | 3,104,931 | 1 | 3 | null | 2015-04-04T19:53:11 | 2012-01-04T20:10:21 | R | UTF-8 | R | false | true | 797 | rd | fixUnSampTrueBorder.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vario.R
\name{fixUnSampTrueBorder}
\alias{fixUnSampTrueBorder}
\title{Internal function that maintains the spatial locations of the unsampled
pixels in a random realization of a two dimentioal spatial array. -999 is the
identifier for unsamp... |
f398bf630c08e24318208572405c754a1034d670 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1610030314-test.R | 8597f746fcb8ef5e86b753d60d82260ec444b245 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 383 | r | 1610030314-test.R | testlist <- list(id = integer(0), x = c(NaN, NaN), y = c(-1.46791787790489e+115, NaN, NaN, NaN, 0, 5.41108926696144e-312, -4.28653205370688e+266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))
r... |
b4b7be94c898d6e61824a9ef26d45be117afce96 | 8fb22662702c3e8c2c2ca55bd3ba55a74d1f57ca | /R/dataprep_lookup_in_pandora.R | b1c3fbc265bc4348bdf46a51123b2fd9b93ba7eb | [
"MIT"
] | permissive | sidora-tools/sidora.core | 52b9672fc4e836bcbe3f49929071fc88fb70bd2b | 90267d90185dc7c5dbfc05b9cf3acf022fddca79 | refs/heads/master | 2023-05-12T18:30:17.526725 | 2023-04-26T13:32:43 | 2023-04-26T13:32:43 | 237,629,599 | 2 | 4 | NOASSERTION | 2023-04-26T13:32:44 | 2020-02-01T14:50:49 | R | UTF-8 | R | false | false | 2,630 | r | dataprep_lookup_in_pandora.R | #' namecol_value_from_id
#'
#' Given a sidora column name and a 'Id' integer will get the
#' requested corresponding 'human readable' string version of the Id.
#'
#' For example, given the ID 38 and the information that this ID was found in
#' 'extract.Batch', would result in Ex06_KE_2015-11-19
#'
#' @param sidora_c... |
309b1e2ad00e2f3e4f532fc3bad16fa0ff876f0c | afb28df33aabc4f4cd52df43f7b4e843afeb8bba | /processing/07_classification.R | 09b8808cab2f03d8c8f63fe8f2b336c4b7ae066d | [] | no_license | gstewart12/delmarva-bayes | cd556fe3b4b247c319eee95c7321f1db6023c77e | 939e0f98cdd659ab3e553ef832656f2e38a5a821 | refs/heads/master | 2023-07-19T18:22:26.703232 | 2021-08-31T21:00:31 | 2021-08-31T21:00:31 | 283,798,470 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,458 | r | 07_classification.R |
rm(list = ls())
settings <- list(
name = "Graham Stewart", # user who ran the script
email = "grahamstewart12@gmail.com", # user's email contact
site = "JLR", # three letter site code
date = lubridate::today(), # date script was run
info = devtools::session_info() # R session info: R, OS, packages
)
# Refer... |
302dcd7ff513e5b895ecdde8115364dfee8c9f53 | 1d6f8de845bb216d3f9133dad3b72a245814bf5b | /Outliers/Codice_outliers.R | f8b25a74c5d6d136121de647dfd1567d717fd56e | [] | no_license | IlariaSartori/CST_atlas | e78776e6d996c44390d1df2c57163f6359289e39 | 4711fc45ba3297a8cdf9e5f28538e566c96cce03 | refs/heads/master | 2020-04-07T09:43:51.889220 | 2019-01-15T09:45:12 | 2019-01-15T09:45:12 | 158,263,121 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,486 | r | Codice_outliers.R | source ("../Create_features_dataset/utility_functions.R")
source("helper_outliers.R")
###############################################################################
####### GRAFICI #########################
#########################################################################... |
f958915978a004ffc78a00e6df87320504566b7e | 9a8554d8e55fdae2f30fa9a1a3e57fb1a2530bbf | /Programming_Assignment_#2/cachematrix.R | cc0f642d54ea3266f8bcc77d352fda8c619b32e1 | [] | no_license | maprieto68/DatascienceCoursera | 4d235574beb7ebca31f6fcbe592f71ec66d7d432 | ee75eb8a970184f9a44f420eaa14967943feac47 | refs/heads/master | 2020-03-11T12:07:08.836956 | 2018-05-16T00:57:22 | 2018-05-16T00:57:22 | 129,988,312 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,531 | r | cachematrix.R | ## These functions are aplications of how to save computational power
#in cases where it is required to execute the same process more than once in a loop.
# Both of the functions look to cache the inverse of a matrix and can be introduced
#in any other processes.
## Assignment 1: This function creates a special "mat... |
c4218450d80ec53102bc6b9ba8f00318570ad535 | f10a9f0cb7360aaaedd34a5be84be87464da0f07 | /Mastering Metrics Regression.R | ade4fd9a20a0bb3b4e679c365bb7e7fb9038b199 | [] | no_license | R-Avalos/Mastering-Metrics-Regression | 04c1005f8e17d9ab39dbc4dad94ba205cbdcf86d | 1ab4ff487d9854b43b50d1bbb1e49fefb443a5c0 | refs/heads/master | 2018-01-08T06:05:46.968219 | 2015-10-22T22:44:12 | 2015-10-22T22:44:12 | 44,717,932 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,310 | r | Mastering Metrics Regression.R | ### Mastering Metrics Regression #####
#####################################
## Set Workspace
## Load data ##
Table2.1 <- read.csv(file = "Table 2.1.csv") # load csv
Table2.1$Private <- c(1, 1, 0, 1, 0, 1, 1, 0, 0) #revisit to run apply "if=" function instead of manual entry
Table2.1$A <- c(1, 1, 1, 0, 0, 0, 0, 0, 0... |
65b9391cd1604f7065e626eb08aabe25d97e32e6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BDP2/examples/BDP2.Rd.R | 0774ee71daf28aa31a00972d5567465d36c98782 | [] | 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 | 700 | r | BDP2.Rd.R | library(BDP2)
### Name: BDP2
### Title: Operating characteristics of a single-arm trial with a binary
### endpoint
### Aliases: BDP2
### Keywords: design
### ** Examples
# Operating characteristics with calling for efficacy
BDP2(n=20, interim.at = c(3,9,13,18), ptrue = 0.3,
eff.stop = "call",
pF=0.3,... |
f6f29604d47f589cc0f8ec7e4078a10b0e8db24e | a0ed6ffc3e9d7f1170b4f05935bc94f52cda17b6 | /ODEsAnalysisLib.r | 495e809b103c4dc63622fd94dc2a35e1c2ee125b | [] | no_license | JoseDDesoj/Dynamical-Systems-View-of-Cell-Biology | 608c8d6a1d964ae467f4ef78912c732035e17383 | bdf15e68d9eb96ab5a9f259cfae4378b792fc81b | refs/heads/master | 2020-04-02T04:54:14.556230 | 2019-01-11T14:46:22 | 2019-01-11T14:46:22 | 65,590,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,256 | r | ODEsAnalysisLib.r | ################################################################################################################################
library(deSolve)
library(rootSolve)
################################################################################################################################
tarrows <- function(out,ds... |
6307281e7bd10fdd88ce958f2a195f14a9b8cb75 | 99d526affc0cfe7adc0b71fa4dfe4390d668ad77 | /R/c.R | 3d9efd24100718f661f659c38f94c0807bd2c409 | [
"MIT"
] | permissive | jasongraf1/JGmisc | 8f84a9d2ada15713a6e4c81a2dca18cdbf94c783 | 7474e0e6fdebada8e3a38c094a6d8a7ccddcff97 | refs/heads/master | 2022-03-05T23:22:08.901452 | 2022-03-05T09:27:14 | 2022-03-05T09:27:14 | 89,917,654 | 0 | 4 | null | null | null | null | UTF-8 | R | false | false | 125 | r | c.R | c. <- function(x, center = NULL) {
y <- as.numeric(x)
if(is.null(center)) return (y - mean(y))
else return (y - center)
}
|
9ada694362b14a4c8abd0a17cbd0cbd369a59dde | 95ea145654590380e932d060a534a0d94ebbcbb0 | /R/fmt.R | 6b0ebf225025e8b062012fc60044c44520c382ed | [] | no_license | simonthelwall/diyar | cee56912feac90de468d6cb17f62ef0ecbb6cfff | a7bc9d2b77f1fa1aec0e8a76db5d5daff08bd1ba | refs/heads/master | 2020-06-14T17:09:54.914214 | 2019-07-04T09:46:00 | 2019-07-04T09:46:00 | 195,067,959 | 0 | 0 | null | 2019-07-03T14:14:35 | 2019-07-03T14:14:34 | null | UTF-8 | R | false | false | 206 | r | fmt.R | #' @title fmt - helper function
#'
#' @description
#'
#'
#' @param g Double. Number to format
#'
#' @return
#'
#' @examples
#'
#'
#' library(dplyr)
fmt <- function(g) formatC(g, format="d", big.mark=",")
|
18401433196ac5af9149d1d0cf0e7164e1714948 | aaaa3f3ed09647ba9e0c5b42b76a8111178a1e45 | /Anand_06_02_17/server.R | d07cd51d04da44db5b3e3e1580e4500ad9ac6183 | [] | no_license | mpjimenez/Stat331-Final_Project | ddf6a917fd82b8850861e38d828621beb1a8138f | d90af57c92ce9d1d858efaeafa26c21027271ca7 | refs/heads/master | 2021-01-24T06:47:12.152028 | 2017-06-14T01:52:22 | 2017-06-14T01:52:22 | 93,320,688 | 0 | 2 | null | 2017-06-12T22:03:08 | 2017-06-04T14:57:21 | HTML | UTF-8 | R | false | false | 834 | r | server.R | library(shiny)
library(ggplot2)
library(leaflet)
library(shinydashboard)
#install.packages("readxl")
library(readxl)
function(input, output) {
#data <- read.table('../crime_data/table_1_crime_in_the_united_states_by_volume_and_rate_per_100000_inhabitants_1996-2015.xls')
data <- read_xls('../../Crime/Excel/01_crim... |
efd8c9d5cc27553dbd7b0418f2493ba5c2ccfeed | 2ede3a798b6f535fc131ae294f9fd01a7210f175 | /Day_1.R | c54bdd92e1016b398267e3e7af2346bcb5fa6d80 | [] | no_license | jessecolephillips/BioStats_2021 | e41251ed92ea486ecd03dfab880bdfe03ff2a0a1 | 96a29b58a0ac65d751bfe02983516c936c566ada | refs/heads/master | 2023-04-13T08:42:13.981867 | 2021-04-22T10:59:14 | 2021-04-22T10:59:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,080 | r | Day_1.R | #R BioStats 2021
#Day 1 - Types of Data
#19/04/2021
#Jesse Phillips
library(tidyverse)
library(e1071) #package containing 'kurtosis()'
chicks <- as_tibble(ChickWeight)
#Lets scrutinize the data
head(chicks)
tail(chicks, 2)
colnames(chicks)
summary(chicks)
str(chicks)
class(chicks$weight)
#What is our total sample ... |
9e88038462e5ac5ff3d67925177ea907a628f726 | cf6ac3bcf41832aba2be21c66b0b64bda520a53b | /Zadanie7.R | 6b9428fa774cc5c35f8f6d090f86a14d37e33f37 | [] | no_license | Luibov/MatMod | eac0fc1b4b9c96df796e530a1b86caf86fe46be4 | 9dcbe35d231382ad0999656e1462599b23d62a97 | refs/heads/master | 2021-01-23T06:34:50.141674 | 2017-03-30T18:31:01 | 2017-03-30T18:31:01 | 86,377,171 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 92 | r | Zadanie7.R | ggplot (iris, aes(x= Petal.Length, y= Sepal.Length, col=Species)) + geom_point(alpha = 0.4)
|
eb73d829bc41a61774be6c288c1bf489b8e2e4d9 | 77311e6f219c5c03517aecfd28f1726818d11a16 | /solution.R | 9ee3dddebd6ff71ebf9f879bb798abf7af9681e0 | [] | no_license | anand-anish/Club-Mahindra-DataOlympics | 480f68eaadf974f95b4002360d93301a0f6238ee | e335307c9ef9f1e53fbc0a3fcff579f9aee3787f | refs/heads/master | 2022-01-09T09:52:51.136523 | 2019-05-07T08:25:50 | 2019-05-07T08:25:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,704 | r | solution.R | # Loading the packages
library(Hmisc)
library(dplyr)
library(lubridate)
library(stringr)
library(nlme)
library(randomForest)
library(xgboost)
library(ggplot2)
library(dplyr)
library(caret)
library(moments)
library(glmnet)
library(elasticnet)
library(knitr)
# Import the datasets
train <- read_csv("../i... |
57fa2ea21a7520fc7abb32a2eafb76cf6f36fa45 | 1a9ed5f4ec0fda1436d202bf26b0262dce7d2ada | /man/runEnrichment.Rd | 3f0f546c7dbd11ddcda7da7ec359ae7e7ae80059 | [] | no_license | nstroustrup/HelpingHand | e204ce313ee45e67af79804a1ecd3f49c84795bd | fdb4fb91a6caec14ea3652f62d3b62f57419a69e | refs/heads/master | 2022-12-28T21:33:07.415053 | 2020-10-09T17:25:10 | 2020-10-09T17:25:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,119 | rd | runEnrichment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/enrichmentAnalysis.R
\name{runEnrichment}
\alias{runEnrichment}
\title{Run enrichment analysis of a gene set for C. elegans}
\usage{
runEnrichment(
gene,
universe = NULL,
keytype = "WORMBASE",
pvalueCutoff = 1,
use_internal_data = T... |
3012fa80f96af13796e16e478b746c99281ae709 | d86014d2282f91f6d3e1a15097d8f469b91dd7de | /R/FactorGraph.R | cf31355e0d83548a151fe4c044ffb44799c314f6 | [] | no_license | jmbh/mgm | 2a4094e6a696bd652ab897a467cc3992820ca968 | 95a21052bc84ad4014821309e00f1d609ef5cf77 | refs/heads/master | 2023-02-24T10:10:53.607201 | 2023-02-10T08:19:10 | 2023-02-10T08:19:10 | 41,727,916 | 29 | 10 | null | 2022-08-19T02:31:29 | 2015-09-01T08:56:08 | R | UTF-8 | R | false | false | 5,116 | r | FactorGraph.R | # jonashaslbeck@gmail.com; March 2016
FactorGraph <- function(object,
labels,
PairwiseAsEdge = FALSE,
Nodewise = FALSE,
DoNotPlot = FALSE,
FactorLabels = TRUE,
colors,
... |
b6c50f6d4317ca4106a7a82f64120e3ba330cbb5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DataVisualizations/examples/BoxplotData.Rd.R | af8b02e8667a6d4049ddde807d18d1863d8c97eb | [] | 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 | 231 | r | BoxplotData.Rd.R | library(DataVisualizations)
### Name: BoxplotData
### Title: Boxplots for multiple variables
### Aliases: BoxplotData
### Keywords: plot
### ** Examples
x <- cbind(A = rnorm(200, 1, 3), B = rnorm(100, -2, 5))
BoxplotData(x)
|
3457d1c4e1a7bc606be01feb94e835472a007b97 | ce71a1b5374b417a263004d8618b1e7d534de597 | /PI_CI.R | 5a9a44287d887d70c7c084ed36bea853d3ad9152 | [] | no_license | yuanqingye/Statistics | 689c602345385453a738bc581666e979d0c91707 | a51275311fea1152b0c78350e41506ffb6d4c4e2 | refs/heads/master | 2021-08-08T00:35:07.290450 | 2020-04-01T04:15:37 | 2020-04-01T04:15:37 | 136,457,383 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,148 | r | PI_CI.R | set.seed(123)
hemoglobin<-rnorm(400, mean = 139, sd = 14.75)
df<-data.frame(hemoglobin)
CI<-predict(lm(df$hemoglobin~ 1), interval="confidence")
CI[1,]
PI<-predict(lm(df$hemoglobin~ 1), interval="predict")
PI[1,]
library(ggplot2)
limits_CI <- aes(x=1.3 , ymin=CI[1,2], ymax =CI[1,3])
limits_PI <- aes(x=0.7 , ymin=P... |
50635349a90d340163f55fbbd9eed98aa3b338bb | e53d28d4649334be5ddb8c10a1ed41a7dd6b2a76 | /src/pop_density.R | 1d155a143c005252f5181c7a44b985f5359e04c4 | [] | no_license | hamishgibbs/msoa_case_data | 0c9edf194f2df85c1f39a11ee600b30be42e8b78 | 4d609e5f10d7f955b65bf64cfa92707e432157be | refs/heads/master | 2023-01-31T01:09:33.200699 | 2020-12-16T15:07:19 | 2020-12-16T15:07:19 | 320,336,839 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,271 | r | pop_density.R | # -- Template by bubble with <3. --
# Script to compute population density in MSOAs
# Load libraries
suppressPackageStartupMessages({
require(tidyverse)
})
# Define args interactively or accept commandArgs
if(interactive()){
.args <- c("/Users/hamishgibbs/Documents/Covid-19/msoa_data/data/raw/population/SAPE22D... |
0615725a83080f4e25f3554cae908b8fbf378306 | 4ace9f7146284a7dea3817683849b515c1e5713f | /plot3.R | ddc0788dcd93ca448948ed0d184c3bdda931ffb1 | [] | no_license | Jskywalkergh/ExData_Plotting1 | a893ceee9d6a86027e1d5801a0ed06e1bf2024d9 | dfddfb50af1d6167d4a551690600fd71d966300c | refs/heads/master | 2020-12-11T07:40:39.956689 | 2015-12-13T20:26:00 | 2015-12-13T20:26:00 | 47,934,923 | 0 | 0 | null | 2015-12-13T20:22:50 | 2015-12-13T20:22:49 | null | UTF-8 | R | false | false | 809 | r | plot3.R | #Author: Jian Shi, Univ. of Michigan.
setwd("/Data/Coursera/proj")
df=read.table("household_power_consumption.txt", sep=";",header=TRUE,stringsAsFactors=FALSE)
#Only use the data of this time per the assignment
data <- df[df$Date %in% c("1/2/2007","2/2/2007") ,]
dt <- strptime(paste(data$Date, data$Time, sep=" "), "%d... |
d10a8f7911691b6a03b2f83ffdab1e1e97cbea8d | d243932b54cfc6fb0d8b03c79f7ec09d6ca7dbe0 | /shiny/tests/testthat/test-select_filter.R | 1d49cd134dcebccf285d9b9a4dc88eea013682fd | [] | no_license | alexverse/shiny_vessels | 8e94cea9833fb7108e5f1bcf342e27af366f3588 | e2217d28e4100b6f98d401e090da10f75a8b94d9 | refs/heads/main | 2023-04-23T23:28:12.753449 | 2021-05-10T06:06:16 | 2021-05-10T06:06:16 | 364,634,328 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 463 | r | test-select_filter.R | test_that("check dropdown filters utils", {
#return all if no selected filter
expect_true(all(1:3 %inT% NULL))
expect_true(all(1:3 %inT% ""))
#this are the vectors from selected filters, input reactives are used
args <- list(
vessel_type = c(8, 7),
vessel_name = c(1960, 2006)
)
dat <- dat... |
b9e0ebe096068caa08a7844d86ed42b862ded81e | 7950d582ff90f0b616bc84cf14d3c52cf3132a4c | /Lab and Lecture tasks/Lab 2/Lab 2 assignment.R | ac963c2b5bf405fd705b10751fce1c982f77b566 | [] | no_license | bilalhoda1/Statistics | ae62d765c30174ac8f14a1ee56cd3450899aea10 | 6a98494e497d72b26635895beef80f386ebbfb6a | refs/heads/main | 2023-01-04T18:45:42.798762 | 2020-11-01T19:27:37 | 2020-11-01T19:27:37 | 309,116,380 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,805 | r | Lab 2 assignment.R | #setwd() to set working directory
#setwd("D:/bilal's books 8/Lie Detector/Lab assignments/Lab 2 assignment")
#installed mlbench package using install.packages('mlbench')
#used library command to load the package
library(mlbench)
#used data to load the PimaIndiansDiabetes dataset
data(PimaIndiansDiabetes)
p... |
86278da2c5f5d35e28df017eeada5dffc5354a81 | a040bdcfb00ebedfba5e35a463d16d43c9569387 | /EnglishProficiency/EnglishProficiency.R | e7a37fb494d9769d780ae7e324314dedc54be493 | [] | no_license | mpudil/projects | 6a9ab02668be9ad6f5e0c4e9690026c9e41baa8f | b9795489011068a262e3e24b76fa0cc482eb7210 | refs/heads/master | 2022-07-13T09:45:24.974556 | 2021-01-29T18:52:41 | 2021-01-29T18:52:41 | 158,999,291 | 1 | 1 | null | 2022-06-22T03:06:53 | 2018-11-25T04:58:22 | Jupyter Notebook | UTF-8 | R | false | false | 19,996 | r | EnglishProficiency.R | require(xml2)
library(tidyverse)
library(quanteda)
library(readtext)
library(reshape2)
library(ggplot2)
library(ggpubr)
library(DescTools)
library(magrittr)
library(randomForest)
library(cluster)
library(corpus)
library(ggpubr)
source("C:/Users/Mitchell Pudil/Downloads/G_Test_DescTools.R")
# Let's load o... |
ac110d99e1caefb4031a458e769b1e2b63b11837 | 96dd0f70cfcb97754853ae9279b858133891682c | /man/halflife.Rd | abf4bc114266d06575fd28de29036fd9990bd1e5 | [] | no_license | JClavel/mvMORPH | 27e18d6172eefb28e527fde88671275f80afca07 | e75c68a0fece428e5e98d8f9ae7281569b7159c8 | refs/heads/master | 2023-07-10T21:12:01.839493 | 2023-06-30T14:37:11 | 2023-06-30T14:37:11 | 36,449,296 | 17 | 8 | null | 2022-06-22T14:40:37 | 2015-05-28T15:50:01 | R | UTF-8 | R | false | false | 2,794 | rd | halflife.Rd | \name{halflife}
\alias{halflife}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
The phylogenetic half-life for an Ornstein-Uhlenbeck process
%% ~~function to do ... ~~
}
\description{
This function returns the phylogenetic half-life for an Ornstein-Uhlenbeck process (object of class "ou").
%% ... |
a1c4c9c8111cedad58d61fd09a23bde1512a78ae | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/expoRkit/examples/orani.Rd.R | 4dc0614ff1731c842a9f3f0d29e5203d277dfe44 | [] | 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 | 624 | r | orani.Rd.R | library(expoRkit)
### Name: orani
### Title: Australia Economic Model data, 1968-68.
### Aliases: orani
### Keywords: data datasets
### ** Examples
data(orani) ## Load the data as a 'dgCMatrix' (CCS format)
v <- rep(1, 2529)
### Solving a system of 2529 coupled linear differential equations
system.time(wCCS <- exp... |
f1e42e5383e6e5f2b6ded7402980aba155b5aa86 | 135ac4c834cc1b90c48d623d0255fb9711ce24ae | /app.R | b032f211391818b6c5f9858034b4fc087f6c99ab | [] | no_license | JohnCoene/cran | fc5109ae9af7c77e4345dc76899606fa722ba1af | 65831f2fa76cebe2db495c61d3d5640856ccc7ce | refs/heads/master | 2020-08-28T23:06:49.172086 | 2020-02-04T20:34:56 | 2020-02-04T20:34:56 | 217,847,468 | 3 | 1 | null | 2020-02-04T20:34:57 | 2019-10-27T11:51:13 | R | UTF-8 | R | false | false | 4,107 | r | app.R | library(shiny)
library(waiter)
library(pushbar)
library(grapher)
shiny::addResourcePath("assets", "./assets")
code <- readLines("./script/script.R") %>%
paste0(collapse = "\n")
load("pkgs.RData")
ui <- fluidPage(
title = "CRAN Dependency Network",
tags$head(
tags$link( rel="stylesheet", type="text/css", ... |
893043d6bf579e99f98f6762c66e655524230a8b | 72d03ec10b4955bcc7daac5f820f63f3e5ed7e75 | /input/gcam-data-system/aglu-processing-code/level1/LB152.ag_GTAP_R_C_GLU_irr.R | c72ff17fbca5225cb4c8dbf63002ae40f35d684e | [
"ECL-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bgmishra/gcam-core | 54daddc3d037571bf745c4cf0d54c0d7a77f493f | bbfb78aeb0cde4d75f307fc3967526d70157c2f8 | refs/heads/master | 2022-04-17T11:18:25.911460 | 2020-03-17T18:03:21 | 2020-03-17T18:03:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,096 | r | LB152.ag_GTAP_R_C_GLU_irr.R | # Before we can load headers we need some paths defined. They
# may be provided by a system environment variable or just
# having already been set in the workspace
if( !exists( "AGLUPROC_DIR" ) ){
if( Sys.getenv( "AGLUPROC" ) != "" ){
AGLUPROC_DIR <- Sys.getenv( "AGLUPROC" )
} else {
stop("Coul... |
4ce69baeeebfcc8d3b713fb2466da4b5e06721e8 | ebbe08d58a57ae2e9d308a12df500e1e0ef8d098 | /wgk/age/step6b_compControl.R | dc3c18b8c17bafad85d761864fd0c0822c21ec1e | [] | no_license | Drizzle-Zhang/bioinformatics | a20b8b01e3c6807a9b6b605394b400daf1a848a3 | 9a24fc1107d42ac4e2bc37b1c866324b766c4a86 | refs/heads/master | 2022-02-19T15:57:43.723344 | 2022-02-14T02:32:47 | 2022-02-14T02:32:47 | 171,384,799 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,891 | r | step6b_compControl.R | #########
## Fig2主图: 比较儿童和成年人年龄段(C4/C6 vs C1/C2/C3/C5)
#########
library(tibble)
library(dplyr)
library(Seurat)
library(pheatmap)
library(ggplot2)
library(ggrepel)
#.libPaths(c("/home/yzj/R/x86_64-pc-linux-gnu-library/4.0","/home/zy/tools/R-4.0.0/library"))
########################
#### step2.1 DEG画heatmap,参照卵巢衰老的文章
#... |
249e2219f8bfc09a219e2896df24bcffcbcb6ce1 | d5863e788438a0994e43455a52e9496ba6146a72 | /manipdata.R | fb551f9a4c48c6976d093ba018bab6b05bc67ca0 | [] | no_license | Mouzri/Reproducible_proj | 22c905dae8b78aeeca859e76177451ff49eed783 | 124355596eb3bca2eddee87e0fd19d47a15f4023 | refs/heads/master | 2020-09-21T16:28:44.190540 | 2019-11-29T11:50:21 | 2019-11-29T12:03:41 | 224,848,822 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,592 | r | manipdata.R | #calculating the mean per day
sumperday <- with(raw_data,tapply(steps,date, sum,na.rm=TRUE))
#histogram per day
sumperday <- with(raw_data,tapply(steps,date, sum,na.rm=TRUE))
hist(sumperday, col="gold", main = "sum per day", xlim = c(0,25000))
# calcul of the mean
mean(sumperday)
#calcul of the median
median(sumperday)... |
4f2ec017cf11d48d970d65a9fd53ae7e9a3f0c3e | 8f04d44d2393d300c247eb36ecb1dd6e377badbe | /R/url_non_dominant_arm_data.R | 9f8cf6b505a350a97d68b56407fd84df149a4143 | [] | no_license | wathenmj/marpalSVD | 4234df6ce8d15e68a041f993ff9db5ef5c2213fc | ebd98d011ff0d4d29bfb67a8135f4729e54903c3 | refs/heads/master | 2021-03-22T03:33:40.006560 | 2018-08-06T21:31:28 | 2018-08-06T21:31:28 | 89,888,745 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,080 | r | url_non_dominant_arm_data.R | # url_non_dominant_arm_data
fmsURL<-"http://www.stat-gen.org/book.e1/data/FMS_data.txt"
fms<-read.delim(file=fmsURL, header=TRUE, sep="\t")
attach(fms)
write.table(fms,"fms",
quote = F,
row.names = F,
col.names = T)
# see page 21 of Applied Statistical Genetics with R. Andrea S. Fo... |
534b85b6e278f3a999c2651641abe7be941305bb | 02f053ce70b065724d4a02619fb402adcc0ec997 | /analysis/boot/boot924.R | 3c218c700cfc156bd0ed7181f812be3e17d574c6 | [] | no_license | patperry/interaction-proc | 27950482929240bba55c7d0f2f8c5235d770feea | cf8dfd6b5e1d0684bc1e67e012bf8b8a3e2225a4 | refs/heads/master | 2021-01-01T06:11:47.125853 | 2012-12-04T20:01:42 | 2012-12-04T20:01:42 | 673,564 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,755 | r | boot924.R | seed <- 924
log.wt <- 0.0
penalty <- 2.8115950178536287e-8
intervals.send <- c()
intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400)
dev.null <- 358759.0022669336
df.null <- 35567
dev.resid <- 225630.... |
891d5e620eaeadb35a494e381c6b39e984f1e19f | 75ce364ad9f9946cda3e437ba094103fd6b55f6f | /spammer.R | 6ea926d43f72950ab08dee6caa89c7423a8fbff9 | [] | no_license | LiShengHZ/R-spam | a3cdab41f1069ac2e7813affbe58fd886f6d03ed | c492649afeec618f8b3dee4123ee056201108d5c | refs/heads/master | 2021-01-15T13:33:57.207000 | 2014-05-09T13:20:09 | 2014-05-09T13:20:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,985 | r | spammer.R | library(tm)
library(ggplot2)
# train classifier
spam.path <- "data/spam/"
spam2.path <- "data/spam_2/"
easyham.path <- "data/easy_ham/"
easyham2.path <- "data/easy_ham_2/"
hardham.path <- "data/hard_ham/"
hardham2.path <- "data/hard_ham_2/"
get.msg <- function(path) {
con <- file(path, open="rt", encoding="latin1"... |
0889ad726494d59cf458fb7b98be778a26859b63 | 6bce4504bc7cc7ea5bff83c6c5b60aea8a39187e | /man/freewaySpeedMap.Rd | 4ffc592947a118acf0eac344a494008c3ef12003 | [] | no_license | bpb824/portalr | 38d10bc4424f629338c1fc03e1759bd444e7fd0b | 26d574a1febfb6c472045d9e33095e734fd06c34 | refs/heads/master | 2020-05-30T11:41:37.127217 | 2015-10-07T22:23:34 | 2015-10-07T22:23:34 | 41,750,697 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 978 | rd | freewaySpeedMap.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/plotting.R
\name{freewaySpeedMap}
\alias{freewaySpeedMap}
\title{freewaySpeedMap}
\usage{
freewaySpeedMap(con, corridorID, startDate, endDate, weekdays = TRUE,
outputPng = NULL)
}
\arguments{
\item{con}{database connection PORTAL Po... |
4ea7c6a6f7be2e563acc406a367d2b112bcf563a | 0dd7ba5c65f37a4674f6c5f57620af3cb4a28e81 | /apps/CVShiny/refresh.R | a931fcafc32620aa72cc9c1b2e24a78882c825a5 | [] | no_license | uwban/cvapps | 2a7d86096c579392b47fb2e57270a7bad4fcb17d | efdf0f702c1ee53ccb7db4d4a1a30d13f28cc939 | refs/heads/master | 2020-04-16T16:15:43.372554 | 2018-07-05T19:13:34 | 2018-07-05T19:13:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,809 | r | refresh.R | library(data.table)
library(magrittr)
library(pool)
library(RPostgreSQL)
library (feather)
cvponl_write <- dbPool(drv = RPostgreSQL::PostgreSQL(),
host = "shiny.hc.local",
dbname = "cvponl",
user = "",
password ... |
e2c0df639ccc1b918351b3855b3d6a4e71947455 | 785c23c1f961e40a5c4b5c168ed5b43e02806d0b | /plot1.R | 95cc87ba59713a62b0476f1900c33f5f88e56d02 | [] | no_license | jhuno137/ExData_Plotting1 | 4df0539c29e5071828a20739938322d74a09e26b | 59a6a6e6f1eaf1bf2d5a06c674e8c443637fc83d | refs/heads/master | 2020-12-29T18:48:00.227285 | 2016-05-14T14:35:00 | 2016-05-14T14:35:00 | 58,776,675 | 0 | 0 | null | 2016-05-13T22:41:51 | 2016-05-13T22:41:51 | null | UTF-8 | R | false | false | 1,382 | r | plot1.R | # Author : Antonio Camacho
# Dataset : Electric power consumption
# File : https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip
#
# We will only be using data from the dates 2007-02-01 and 2007-02-02.
# In order to get the line number for the fist row regarding 2007-02-01, the
# follow... |
ba1cc5696d749ba238b5dfa6dc17c140232eaa87 | ef499e12563a76de0046fea7b0160207758d7f32 | /covid_calcs_oct5_week.R | 642b3c7668a32f8aade136b38b59efc944979ed4 | [] | no_license | benwansell/COVID-activity | 8af5adf8d652d4484f36adb3c06968275b97d585 | 4deec13ff142ec724bee00e820f22ca4273525e7 | refs/heads/master | 2023-03-02T07:04:33.958364 | 2021-02-04T20:26:33 | 2021-02-04T20:26:33 | 255,839,707 | 2 | 1 | null | 2020-04-15T15:07:49 | 2020-04-15T07:33:17 | R | UTF-8 | R | false | false | 3,881 | r | covid_calcs_oct5_week.R | # Use Government API to download COVID case data
remotes::install_github("publichealthengland/coronavirus-dashboard-api-R-sdk")
# Use https://coronavirus.data.gov.uk/developers-guide#sdks
library(tidyverse)
library(ukcovid19)
cases_and_deaths = list(
date = "date",
areaName = "areaName",
areaCode = "areaCode"... |
f5fcd5083fdeb39f7d86047b19e94bc939699b11 | 4900d10bb453f88bc963fde53ebac70da9a4ca23 | /dieroller/R/plot-roll.R | 25fbca481fe674c9aac9ba0314371c6f636dde59 | [] | no_license | lehman-brothers/stat133_sp18 | 3229a8a51c55870a9dc543178a216dec1f2313c5 | bee24e3d1525ba502e17a6f9a55ae4dd813306c7 | refs/heads/master | 2020-04-13T09:39:34.935531 | 2018-12-26T04:54:36 | 2018-12-26T04:54:36 | 163,117,145 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 951 | r | plot-roll.R | #' @title plot-roll function
#' @description returns a barplot with the frequency of each die face appearing over the number of rolls
#' @param rolls is a set series of die rolls
#' @return a barplot with "sides of die" on the x axis and "relative frequencies" on the y axis
plot_roll <- function(x){
a <- table... |
5af5bdb92528a2334be86a67ee25ab371dc1836a | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/1,2,3,4,5-pentachlor.R | 40c0d0880732c0aad5110b973cb21faa46a6be78 | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 276 | r | 1,2,3,4,5-pentachlor.R | library("knitr")
library("rgl")
#knit("1,2,3,4,5-pentachlor.Rmd")
#markdownToHTML('1,2,3,4,5-pentachlor.md', '1,2,3,4,5-pentachlor.html', options=c("use_xhml"))
#system("pandoc -s 1,2,3,4,5-pentachlor.html -o 1,2,3,4,5-pentachlor.pdf")
knit2html('1,2,3,4,5-pentachlor.Rmd')
|
9b7415c5139fd3bb31fabf825b6d21bc70c1713e | 94b933c02458144f4534d7ac0591f23423c94d3b | /Code/RaceTracking/Basic Model Code/EstCode_PoisRaceBasic.R | 107f5f3b00014e371a7805b8abca36f0a0d961b8 | [
"MIT"
] | permissive | jeff-dotson/mouse-tracking | 41043e960f6976853a0b7165b26a1a1d92ff5d83 | 93633662c4bd300fd8e861679e173444b2d467ee | refs/heads/master | 2020-04-28T18:56:05.602509 | 2020-02-05T22:02:54 | 2020-02-05T22:02:54 | 175,494,384 | 1 | 0 | MIT | 2020-02-05T22:02:56 | 2019-03-13T20:31:14 | R | UTF-8 | R | false | false | 9,284 | r | EstCode_PoisRaceBasic.R | #* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
#
# Poisson race basic reponse time model - Estimation Code
# February 2016
#
#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
library(gtools)
library(bayesm)
setwd("/Users/rogerbailey/Desktop/Projects/ESM/RaceTracking/Basic Model Code")... |
85b2b40d69b9e86b5e7c80534bf20b190323d057 | 737ecfe52d53a672681ce10b204c1d1d9c9ab31f | /man/selectPCs.Rd | c4321ebe768944ec3756f46681cb0606a7f20806 | [] | no_license | debruine/frlgmm | bed684455138d9c8621debab8399daca4d8a7c15 | b3e7cea304e5e905da9f7b055053a3557a8d15cd | refs/heads/master | 2021-01-10T11:55:52.745156 | 2017-08-23T10:22:40 | 2017-08-23T10:22:40 | 43,598,322 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 942 | rd | selectPCs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/selectPCs.R
\name{selectPCs}
\alias{selectPCs}
\title{Select PCs using different criteria}
\usage{
selectPCs(data, method = "broken-stick", total.var = 0.95)
}
\arguments{
\item{data}{Data structure from geomorph or created by readTem()}
\it... |
09a3610d28cd9d2c9911f747a6061b2a08602c29 | 669da083b9392b8b9bc878ab7e544cd78c962475 | /man/available.catalogs.Rd | 7c566c46d9f3b73540006cfc25a5d749fcd63ac6 | [] | no_license | mingjerli/rWBData | d82659b20dd46bd7d0043d7b8a8dc6cd5d60eb5c | 605ec50af53fe1b050480a49f3346e98f7327a71 | refs/heads/master | 2016-09-05T22:36:49.397190 | 2014-08-22T20:01:07 | 2014-08-22T20:01:07 | 23,237,937 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 623 | rd | available.catalogs.Rd | \name{available.catalogs}
\alias{available.catalogs}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Get available data catalog
}
\description{
This function will return all available data catalog listed in world bank open data.
}
\usage{
available.catalogs()
}
\value{
This function returns a dat... |
834957292eb5ebb6e76db75c5e4eea7df87ebecc | fc47c5de300bda96f6f5415a7467bc5f3f2e5553 | /man/data_manip.Rd | 0603c1c337ce29a5bc082dc242dfb3c442fa9a82 | [] | no_license | nverno/iclean | b606f461454675969c3049370e6982ebe84d567e | 3ffac0d85851b4e4cb79e7085371a59bb1c1a26e | refs/heads/master | 2021-01-10T05:48:50.563246 | 2016-01-09T14:31:54 | 2016-01-09T14:31:54 | 49,243,439 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 480 | rd | data_manip.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_manip.R
\name{data_manip}
\alias{data_manip}
\title{Interactively manipulate master files.}
\usage{
data_manip(use_afs = TRUE, update = FALSE, data = NULL)
}
\arguments{
\item{use_afs}{Use master files from AFS}
\item{update}{Update AFS... |
312b5efaf40d19ae511c7d7b35c5ccf9050cbcac | b2e4162472b1b488f99ca925f2687ac59712aee9 | /scripts/reads_to_list.R | eaafd72536482845b8817e37822f9a48554201c1 | [] | no_license | OanaCarja/RiboViz | 572a875dd935c3fa23b11590f2a80228ce65a70e | d712fbd60ab09bc6e6af326857867f442006fcb1 | refs/heads/master | 2021-01-11T21:22:50.456789 | 2017-08-09T08:30:39 | 2017-08-09T08:30:39 | 70,090,070 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,965 | r | reads_to_list.R | reads_to_list <- function(gene, gene_location, bamFile, read_range=10:50, left_buffer=250, right_buffer=247,mult_exon=TRUE)
{
flank <- right_buffer+3
if(!mult_exon)
{ gene_location <- gene_location[1]
}
read_range_len <- length(read_range)
start_cod <- (left_buffer+1):(left_buffer+3)
# Specify output mat... |
876d21753b0eb4653bc7ff706aef023dd61b1aea | dd0e56aa9789495c0226746e77300d4a666aa88a | /onsetofEHextracode.R | 400dc7275442dfdf3571b1bcf8ac6ee6cf81af90 | [] | no_license | drjuliejung/ontogeny-of-escape-hatching-manuscript | 9242d2c2b3efc80866106bcec6e48b9909d0e9fa | 90876069a8043acdb3a03ccf8d065cf2529bcb13 | refs/heads/master | 2021-06-14T05:00:51.237609 | 2017-02-24T16:32:25 | 2017-02-24T16:32:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 43,702 | r | onsetofEHextracode.R | onsetofEH.R -- extra code
# Analysis for "onset of escape-hatching"
# title: Developmental onset of the escape-hatching response in red-eyed treefrogs depends on cue type
# May 2016
# Julie Jung
ls()
rm(list=ls())
ls()
setwd('/Users/juliejung/Desktop/2cues m.s.')
getwd()
# read.csv(file="my.csv.filename")
... |
ea3c67ac2b79bf64ace3f178548a1c39269bc50e | 643248857926aa16523e6b941cbe73e1bf9cf2c8 | /Temp/ktemp.R | 7ade0ebdd340e223a401c5de0baf346e36990da2 | [] | no_license | ksrikanthcnc/Data-Mining | 004135123e6c6d83d0a84bf99f38c4764f598bf0 | 1fdc62de42f8fb80e0dd2f645737317f5cfdb9fe | refs/heads/master | 2020-03-16T17:56:06.725758 | 2019-05-23T13:58:15 | 2019-05-23T13:58:15 | 132,852,902 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 978 | r | ktemp.R | km1 = kmeans(m, 2, nstart=100)
plot(m, col =(km1$cluster +1) , main="K-Means result with 2 clusters", pch=20, cex=2)
km1$
m
km1
mydata <- m[1:1000,]
wss <- (nrow(mydata)-1)*sum(apply(mydata,2,var))
for (i in 2:15) wss[i] <- sum(kmeans(mydata,
centers=i)$withinss)
plot(1:15, wss,... |
125ff6d88fe827b5a991acd31f63c5650d34bda7 | 919fd296ac269d455a7d995aeb5b9d918cbfc058 | /lessons/r/shiny/5/ui.r | f202ed7f3dce6c0b816bd8ad659fd4cabc71db91 | [
"Apache-2.0"
] | permissive | aays/studyGroup | 9681427897d30bcddf2162ccdd3b410c4f2cb9e0 | e7d7bb03e70e32c7ca2525ce826e366810d3e9a0 | refs/heads/gh-pages | 2023-04-07T18:18:10.952550 | 2023-02-27T15:45:13 | 2023-02-27T15:45:13 | 171,192,931 | 0 | 0 | Apache-2.0 | 2019-02-18T01:15:35 | 2019-02-18T01:15:34 | null | UTF-8 | R | false | false | 1,075 | r | ui.r | library(shiny) #First load shiny library
load("../pcas.RDATA") #Load data
#Define the overall UI
shinyUI(
#Use a fluid Bootstrap layout
fluidPage(
#Give the page a title
titlePanel("PCA of Metrics"),
#Define page with a sidebar panel and main panel
sidebarLayout(
#Sidebar Panel
sidebarPanel(
#Creat... |
087e68f569fa490e3e406d46cdbd7e9add9a419d | d226838e64a1d55fdaf797893f7468651b725183 | /man/bowtie2Build.Rd | 6510cc04ad49e11631afbe13b5b966d6f988e8a4 | [] | no_license | HenrikBengtsson/aroma.seq | 5fd673cc449d9c3b89daf1125e8cc95556d0641d | 6464f1e5e929c423978cf7dcb11ac7018d179a6d | refs/heads/master | 2021-06-21T13:53:21.618898 | 2021-02-10T02:57:15 | 2021-02-10T02:57:15 | 20,848,327 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,591 | rd | bowtie2Build.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% bowtie2Build.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{bowtie2Build}
\alias{... |
c928cef028f878f4899529caf9a7b1660e27e6d5 | c513316dce29b9fb75e8302d1d2c475e180785bb | /man/plot_point_prediction_quality.Rd | ff87feb44c540352a77852114396670eda6502ec | [] | no_license | russelnelson/freelunch | 033f9774c44256d0f464519277851132bb0d4e61 | 59f31e1ae36459269c115c9c2413684c333f839d | refs/heads/master | 2023-03-19T18:27:20.858058 | 2021-03-08T07:05:15 | 2021-03-08T07:05:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,187 | rd | plot_point_prediction_quality.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/setup.R
\name{plot_point_prediction_quality}
\alias{plot_point_prediction_quality}
\title{Produces a scatterplot of real parameters (y axis) and estimated parameters (x axis) to quickly
look at quality of point prediction. A perfect method wo... |
23202fde0b1a7ca42a3f63e83b107de03901006a | b457ede5c2d4d5065896c612a331b0988a297a30 | /Chevalier_etal_MD962048/figures/makeFigDR6.R | dfb4cd72ba8ee7f2c6cd207396c6c1e8764ffe39 | [] | no_license | mchevalier2/Papers | 6556e6ccd19bd71a11be2865477e436f5f3eb62c | 73d24cda42f86fe1b9bf2ffebe031603260e45d4 | refs/heads/master | 2023-05-27T20:58:51.029066 | 2023-05-19T09:08:27 | 2023-05-19T09:08:27 | 187,044,389 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,039 | r | makeFigDR6.R | ## Figure DR6: Morlet nalysis of pollen diversity
##
OUTPUT_FOLDER=getwd()
s <- readline(prompt=paste0("Where should the figure be saved?\nDefault is current workin directory (",OUTPUT_FOLDER,"): "))
if(s != '') OUTPUT_FOLDER <- s
pkg2install=c()
if (! ("rio" %in% rownames(installed.packages()))) pkg2install=c(pkg2in... |
fc365d90f5db0fef41816ea0657d0de2104a3ec4 | 247946f5456e093a7fe49f57e722477ac9dc010e | /R/signed_rankprod.R | e735e318cfa77e486e3909e6ca0e30a66b97c28c | [
"MIT"
] | permissive | jdreyf/jdcbioinfo | b718d7e53f28dc15154d3a62b67075e84fbfa59b | 1ce08be2c56688e8b3529227e166ee7f3f514613 | refs/heads/master | 2023-08-17T20:50:23.623546 | 2023-08-03T12:19:28 | 2023-08-03T12:19:28 | 208,874,588 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,864 | r | signed_rankprod.R | #' Signed rank products of a two column matrix where larger statistics have stronger rank in the same or opposite direction
#'
#' Signed rank products of a two column matrix. Larger statistics have stronger rank in the same or opposite direction.
#'
#' @param mat Numeric matrix with two columns holding statistics per c... |
99c8da987734f7d355b528b4f9f615e9489f30e7 | 98b2af819fda96cdefb326aa24be7a424367369b | /src/5-merge_manual_data.R | c74b59bfbeb343ca3ec974bbd309b679f46a019a | [] | no_license | bgulbis/Risk_Score_Validation | 9eba5a2a09c45a2648da321c8b7bcbbd700b418e | bd708b28c515bf5ed0982fc0b3b12b6fc76e1af5 | refs/heads/master | 2020-05-21T20:24:38.091811 | 2016-11-30T21:56:44 | 2016-11-30T21:56:44 | 65,042,606 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,139 | r | 5-merge_manual_data.R | # merge_manual_data
library(readxl)
library(edwr)
library(tidyverse)
library(stringr)
data.external <- "data/external"
identifiers <- read_data(data.external, "^identifiers") %>%
as.id()
comorbid <- c("Cirrhosis" = "cirrhosis",
"Upper GI bleeding" = "upper_gi_bleed",
"Hepatic failure... |
5a1aa32a59c69199f5204986466a7cc88ed11c3e | 57f81f0e33aff4c3d1d074438ffaf6b7b8636ac3 | /man/kmbayes_diagnose.Rd | fef0c8fb8f8aadef220136632a332b6c2f5d5d41 | [] | no_license | yadevi/bkmrhat | 679fdd2551c94a8cb70974c487e2408ce4f30049 | 33117def060cb20b3269470564fd03c753701fee | refs/heads/master | 2023-03-10T10:02:38.341174 | 2021-02-17T17:13:33 | 2021-02-17T17:13:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,173 | rd | kmbayes_diagnose.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diag_funs.R
\name{kmbayes_diagnose}
\alias{kmbayes_diagnose}
\alias{kmbayes_diag}
\title{MCMC diagnostics using rstan}
\usage{
kmbayes_diagnose(kmobj, ...)
kmbayes_diag(kmobj, ...)
}
\arguments{
\item{kmobj}{Either an object from \code{\link... |
0342678e33b503d005d4d61199d6b3860463a153 | 18f8d1bbc50f09d048297c7685f2c32be1598a76 | /man/NSBM.estimate.Rd | 0731ca9e9e6aad0323ffa191d769a674c620d716 | [] | no_license | cran/randnet | d349ef02db7a200d9562c1d221147744e5c7636b | 9dcbcd5ef79d868a830a4a4be8d86507439e363e | refs/heads/master | 2023-06-02T07:27:44.475063 | 2023-05-20T06:30:02 | 2023-05-20T06:30:02 | 103,827,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,561 | rd | NSBM.estimate.Rd | \name{NSBM.estimate}
\alias{NSBM.estimate}
\title{
estimates nomination SBM parameters given community labels by the method of moments
}
\description{
estimates NSBM parameters given community labels
}
\usage{
NSBM.estimate(A,K,g,reg.bound=-Inf)
}
\arguments{
\item{A}{
adjacency matrix of a directed where Aij = 1 ... |
0745dcc8f5da88753a151742eb6265f4115a89ca | a85b5937213fdb7f82ca9db40346c90df9efa017 | /code/codeAttachment/hcGap.R | ec81e3295651062129b0b8c4c733f128214d098d | [] | no_license | simonlehmannknudsen/Parameterless-clustering-by-dynamic-tree-cutting | 17524465d545f0b39609fd8ee0bf7b9fb8e576b9 | 57289f56f9a8706e4320dc2f18276652b79901ab | refs/heads/master | 2021-09-05T23:27:14.940873 | 2018-01-31T16:10:48 | 2018-01-31T16:10:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,122 | r | hcGap.R | setwd(dirname(rstudioapi::getActiveDocumentContext()$path))
library(transclustr)
library(ggplot2)
library(plyr)
library(cluster)
library(gtools)
library(ClusterR)
library(stringi)
require(graphics)
source("utilities.R")
source("randomization.R")
# NOTE!
# The Hierarchical Clustering approach is divisive.
# The inform... |
4db2d249ab0e89f743eb8658e94234e6a8457211 | 20f7c5c60c635e2839d71dd88da9d57741d7daf1 | /man/cube.Rd | 2c1309eb0a1f92f429c75b0a364cb8119ace4961 | [
"MIT"
] | permissive | nuno-agostinho/poweR | 8aa0c3ffa35b2eabf408f540f85543ba2107b45d | a51d04e9748cd1644be2878ea7f189da8b46397f | refs/heads/master | 2023-06-20T21:29:27.323702 | 2021-07-23T11:03:14 | 2021-07-23T11:03:14 | 388,748,802 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 311 | rd | cube.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cube.R
\name{cube}
\alias{cube}
\title{Calculate cube of a number}
\usage{
cube(x)
}
\arguments{
\item{x}{Numeric}
}
\value{
Number
}
\description{
In other words, return the power of three for a given number.
}
\examples{
cube(5)
}
|
e913e6a0c3e1aff6930d7cdc478a645c1e3213ea | 03dcc7edef3ea915ae4da30b24d78b3a982f6909 | /ui.R | e54967bbda0d406d3db84717de628ca369e1141c | [] | no_license | camfin/camfin1 | 358557cc70b8283240172816979cda3b50db13d0 | 224dab443759ff8ef8caff74b22845735c8e13d9 | refs/heads/master | 2021-01-10T13:27:46.320316 | 2016-02-04T08:41:36 | 2016-02-04T08:41:36 | 50,800,653 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,829 | r | ui.R | shinyUI(pageWithSidebar(
headerPanel("Campaign Finance Contributions for 2015-2016 Election Cycle through December 2015"),
sidebarPanel(
width = 2,
textInput('name', 'Search NAME', value = '') ,
textInput('city', 'Search CITY', value = '') ,
textInput('sta... |
b1e0b2057dcff2350d79a6180100566fb3a8e1f6 | 218e33874d0352a4ad9e96bf9c362246883b5d9e | /man/hqreg.Rd | 2ba5c20f7289639899e39d1ecb2b39f319fc5c40 | [] | no_license | Sandy4321/hqreg | 0a53c892687b5dece5a3adf61490ccbc6bcfcba2 | 9ce7a756cccc446b2aa396f33bbaa1a9d07f6d56 | refs/heads/master | 2022-02-16T13:33:29.110672 | 2019-08-18T06:23:47 | 2019-08-18T06:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,388 | rd | hqreg.Rd | \name{hqreg}
\alias{hqreg}
\title{Fit a robust regression model with Huber or quantile loss penalized by lasso or elasti-net}
\description{Fit solution paths for Huber loss regression or quantile regression penalized
by lasso or elastic-net over a grid of values for the regularization parameter lambda.}
\usage{
hqreg(... |
79d49d927241793b72db1b575380e0cd871234bb | cacb0d6c51a9dcd9bf24f8b5265910d72ed230ef | /man/estimate.theta.Rd | 92fc051ff64c3789497897bc5b386629fd19558f | [] | no_license | vasuagg/smp | 49fee91a32f101a91cb34ce5d8a81ffa208aa812 | e1b52e0f3d7b1ed71cbdd0bb40d4f36c314bdf01 | refs/heads/master | 2021-01-22T08:18:03.936816 | 2014-01-04T17:43:18 | 2014-01-04T17:43:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 804 | rd | estimate.theta.Rd | \name{estimate.theta}
\alias{estimate.theta}
\title{Estimate best estimate of theta.}
\usage{
estimate.theta(in.data, n = max(in.data), v = TRUE)
estimate.theta(in.data, n = max(in.data), v = TRUE)
}
\arguments{
\item{in.data}{input data drawn from binomial
distribution}
\item{n}{number of subunits, default... |
019713a933ceef4100360cdc9378df697ea50ac6 | 71c6d3e8051ee850a56ecd42b6bf95a2913618f3 | /R/SweaveTools.R | 3e8ef02befe4b8290a4d41d7fe2b542f2ffd46e8 | [] | no_license | cran/cxxPack | 03d21cde8f98b40931040bcbb23660aefd8bfe89 | 956af335f418a489f226555c550359c7b887d577 | refs/heads/master | 2021-01-11T19:44:10.811111 | 2010-07-21T00:00:00 | 2010-07-21T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 539 | r | SweaveTools.R | # Used to dynamically compile and load C++ functions in a vignette.
loadcppchunk <- function(name, compile=TRUE, logfile="compile.log") {
if(compile) {
# Under Windows this should use Rtools/bin/sh.exe
xstat = system(paste('sh ./makedll.sh ', name, ' "', logfile, '"',sep=""))
if(xstat) {
stop(paste(... |
7354862a19bd2b1c8e9651267e02b869395cfd2e | 712c71892a6edd61227e2c0c58bbc1e9b43893e4 | /man/checkFileHashSource.Rd | 971fe53eed358df1a58825a366ec36a7422318b5 | [] | no_license | gelfondjal/adapr | 130a6f665d85cdfae7730196ee57ba0a3aab9c22 | b85114afea2ba5b70201eef955e33ca9ac2f9258 | refs/heads/master | 2021-01-24T10:20:14.982698 | 2020-01-28T22:56:18 | 2020-01-28T22:56:18 | 50,005,270 | 33 | 3 | null | 2018-10-18T16:09:57 | 2016-01-20T04:48:49 | R | UTF-8 | R | false | true | 891 | rd | checkFileHashSource.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Check_file_hash_source.R
\name{checkFileHashSource}
\alias{checkFileHashSource}
\title{Checks the consistency of the dependency directory with the files within the file system.
Reports the source scripts that need to be updated.}
\usage{
chec... |
c167a3369178e7f1099b11123dc7de12f87de2d1 | f93ceb8f3fed76f17d4cc26018aaa0c45e37aad1 | /scripts/cointegration.r | 1647f88932de7a26e764c0e8f51e87df6a0261c1 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ssh352/nxcore | 5bc9b4df983fa8c85272cae8b39e225d2541b2ba | 56811368b22e954083a765bb9d4946c15d83fa40 | refs/heads/master | 2021-05-29T06:49:13.537820 | 2015-09-25T21:44:30 | 2015-09-25T21:44:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,978 | r | cointegration.r | library(devtools)
library(doMC)
library(iotools)
library(xts)
library(devtools)
library(doMC)
#registerDoMC(cores=16)
#registerDoMC(cores=10)
document("..")
col_types=c(rep("character",3), rep("numeric", 3), rep("character", 2))
x = dstrsplit(readAsRaw(
"/Users/mike/projects/jackson_lecture/may_trades/taq_20100506_t... |
ace57a70b02f76fa553691bacf4b46b16d66a3d5 | d062547f9bb1f93dab3c84dc37257d17fce790f0 | /server.R | 307976f727d24d9d8347bb508c673ea2869aea9b | [] | no_license | kfaranet/DevelopingDataProductsWeek4 | a1aec7c441e4319a92fefb8b04340ab165532c84 | ade037bc4707323cd908b2d6e6d52be10764a146 | refs/heads/master | 2022-12-13T23:50:39.760763 | 2020-09-08T01:31:22 | 2020-09-08T01:31:22 | 292,845,064 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 253 | r | server.R | #
library(shiny)
# Define server logic required to draw a histogram
shinyServer(function(input, output) {
output$CText <- renderText(round((input$Ftemp - 32) * (5/9),1))
output$FText <- renderText(round((input$Ctemp * (9/5) + 32),1))
})
|
a05b2b260700eab4f1853b56b00057a94c4ec0a7 | 5b2f016f1298c790224d83c1e17a425640fc777d | /array/CononicalCorrelationAnalysis.R | 3a2e1430b7fc700a8bafde77127c2d853990cd97 | [] | no_license | Shicheng-Guo/methylation2020 | b77017a1fc3629fe126bf4adbb8f21f3cc9738a0 | 90273b1120316864477dfcf71d0a5a273f279ef9 | refs/heads/master | 2023-01-15T20:07:53.853771 | 2020-02-28T03:48:13 | 2020-02-28T03:48:13 | 243,668,721 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 521 | r | CononicalCorrelationAnalysis.R | #!/usr/bin/R
setwd("");
install.packages("CCA")
library("CCA")
y<-matrix(rnorm(46858*5791),5790,46857) # methylation array
x<-matrix(rnorm(5790*200,1,10),5790,200)
dim(x)
dim(y)
res<-rcc(x,y,1,1)
data(nutrimouse)
x=as.matrix(nutrimouse$gene)
y=as.matrix(nutrimouse$lipid)
estim.regul(x,y)
correl=matcor(x,y)
img.matco... |
79db1c5e3fdd47f788fdb78b8c851676ab3b1149 | 23a572adade5e5682a38580d5c46f9ee27f6a16b | /man/FormatMCLFastas.Rd | 9e3377e759b5f037be724f8e7530ec9b6a1fd3ec | [] | no_license | cran/MAGNAMWAR | 600a2865205c3f719bac6b55c60f9c53099a8ca2 | b78d31591665dfcabe8f635d1b6e3d07f8c71d2e | refs/heads/master | 2021-01-20T03:12:07.293148 | 2018-07-12T06:20:17 | 2018-07-12T06:20:17 | 89,508,282 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,009 | rd | FormatMCLFastas.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FormatMCLFastas.R
\name{FormatMCLFastas}
\alias{FormatMCLFastas}
\title{Format all raw GenBank fastas to single OrthoMCL compatible fasta file}
\usage{
FormatMCLFastas(fa_dir, genbnk_id = 4)
}
\arguments{
\item{fa_dir}{Path to the directory w... |
2321a2f4235082ea6455fe330eda5e4d14729855 | 84ab6a0816222d0ba645712e30ab189fd3b58351 | /R/geocodeUSCB.R | 57a66674b64d7477dfd1807f708296c1bb6fe884 | [] | no_license | ajyoshizumi/geocodeR | 23591aaef8bb20dac2fede20c7b2a5d96a7d4a70 | 2dec0870a87394d71d6e76bc221a1561a2bb2a64 | refs/heads/master | 2021-05-21T05:37:49.521663 | 2020-04-08T17:47:33 | 2020-04-08T17:47:33 | 252,569,980 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,729 | r | geocodeUSCB.R | #' A Function for Geocoding Using the US Census Bureau API
#'
#' This function allows you to geocode addresses.
#' @param Address Used for one line addresses.
#' @param Street Used for separated addresses. Format is "#### RoadName RoadType".
#' @param City Used for separated addresses.
#' @param State Used for separate... |
742eee56272d4b8326a888fbce0c7c0e84852926 | 8cdc42c6520f267e1ffdd6a69ab7445076311f16 | /R/speeddist.R | 5a01fcb833ccab082f17cadebb4906b946f5db76 | [] | no_license | holaanna/pprmcmc | 2d5238f56b48d4d550ef7d209bcc62b2ac151306 | 4084532d5c6de8883d9786b416dc6d7208a1363d | refs/heads/master | 2020-04-26T15:02:27.232596 | 2019-03-04T01:11:23 | 2019-03-04T01:11:23 | 173,634,657 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,241 | r | speeddist.R | #' Simulaton of the epidemic process to find the speed of the disease
#'
#' Epidemic simulation and maximum distance the wave can travel using gillespsie algorithm.
#'
#'\code{simul} provide the simulation of the epidemic process and the
#' maximum distance the wave can travel at each particular obaservation... |
5a63fb79ffcf5d7194c2efcf3f00be482eed17ca | e87fad089f466bc80d22816a532e288d6c119df6 | /main/creating_4grams.R | 811e9f85219907eb3433d13a3d487f9c2dbc1741 | [] | no_license | cypee/Capstone | 46d72129e7d8cd7351757a5b1d371b56a1da2c03 | 227cfb31a3554d787766cbe6cf98b789ed1c4a0b | refs/heads/master | 2021-01-20T20:05:22.071365 | 2016-05-30T05:16:29 | 2016-05-30T05:16:29 | 59,980,690 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,220 | r | creating_4grams.R | library("tm")
library("stringi")
library("gsubfn")
library("qdap")
library("beepr")
library("audio")
library("ngram")
workingfolder <- "d:/Users/henry/Desktop/capstone/Data"
setwd(workingfolder)
#ngram of 4
load("clean_data.RData")
data_sz <- length(clean_data)
block <- 1000000
# block <- 5000 # testing
n_rep <- cei... |
a18330e4db6a65950b316ee3181a71b509996179 | 83522af0f32648e6181af5a841394e8813e365d5 | /man/repair_encoding.Rd | 13eebc537c1974ffc0ca29ff6ee8c5aeb0ac20ec | [
"MIT"
] | permissive | glecaro/rvest | 414fa1aa0255028f86a26d6c16a5700875229d47 | d8abe0482e4d0d41458b5a010c8fe84c6aa0c5d1 | refs/heads/master | 2023-02-24T05:08:14.220762 | 2021-01-29T13:27:38 | 2021-01-29T13:27:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 603 | rd | repair_encoding.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/encoding.R
\name{repair_encoding}
\alias{repair_encoding}
\title{Repair faulty encoding}
\usage{
repair_encoding(x, from = NULL)
}
\arguments{
\item{from}{The encoding that the string is actually in. If \code{NULL},
\code{guess_encoding} will... |
eb01b6af23d341ea975d3cf67ecc99b7f13e8a11 | fc5a514940766e67d47a1fc5e7e02db3c2022953 | /CTDL>_R/B16_SapXep_NoiBot&B17_SapXep_Nhanh.R | 6ca8191c5127674f483653071bed99eb00da71bd | [] | no_license | TranThiDieuHien/Do_An_CTDL-GT | b5493aba933ffe305dad6fbbda95578bb8b34a4e | 3b11bb7e731d7801cdda754a7b73e0231f5e413b | refs/heads/main | 2023-06-21T00:21:48.342733 | 2021-07-17T15:40:28 | 2021-07-17T15:40:28 | 386,695,973 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 656 | r | B16_SapXep_NoiBot&B17_SapXep_Nhanh.R | vec = c(5, 0, -10, 15, 34, 8, 23, -2)
bubble <- function(x){
n<-length(x)
for(j in 1:(n-1)){
for(i in 1:(n-j)){
if(x[i]>x[i+1]){
temp<-x[i]
x[i]<-x[i+1]
x[i+1]<-temp
}
}
}
return(x)
}
bubble(vec)
#Sắp xếp nhanh
quickSort <- function(arr) {
mid <- sample(arr, 1)
l... |
cbc94f5291b70834342e162dfdfa7d7077e8989b | 74ce34dfcd0971aa389b379b7484fddde4cdffc9 | /man/randomRows.Rd | c5571c96567ca0fd139cf35ca3176b8b39d7c495 | [] | no_license | cran/stackoverflow | 294b5425c89167d3278faa19d88905f821ef194f | 3bd6c79acafa3ba9caa681a740cae22da2c18416 | refs/heads/master | 2020-04-04T03:44:41.465303 | 2020-01-10T03:50:02 | 2020-01-10T03:50:02 | 35,567,770 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 892 | rd | randomRows.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/randomRows.R
\name{randomRows}
\alias{randomRows}
\title{Sample rows from a dataframe or matrix}
\usage{
randomRows(x, size, replace = FALSE, prob = NULL)
}
\arguments{
\item{x}{a data frame or matrix}
\item{size}{a non-negative integer givi... |
f3247a96e9f73d2c6036377ad6f66bd8ea7c6e41 | 892b01bf9174b0200a1d49075aec42a0dfed934c | /man/source.survscan.Rd | ab95ede36fe809f2770223f8cfca9af85f5080eb | [] | no_license | anfederico/cbmrscripts | fd7962a18aa0b791067debdc7daf9c6556c730c0 | dc0c242444411a684db7ad84143e338fa4ae3931 | refs/heads/master | 2020-06-06T14:13:37.447962 | 2019-06-19T20:29:47 | 2019-06-19T20:29:47 | 192,760,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 747 | rd | source.survscan.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sourcerer.R
\name{source.survscan}
\alias{source.survscan}
\title{Extensive survival analysis for a series of signatures}
\usage{
source.survscan(path.to.cbmrscripts,
path.to.tcgadump = "/restricted/projectnb/montilab-p/personal/anthony/tcg... |
138eec85da2d7c2b83fb6476e287ae823c22b367 | 69f66af951cfeeeb124b6bf76a1a6b9674f71a8b | /man/assert_sane_character_vector.Rd | d3fc45913aca5fbab60f277b5d3ef68c223c1740 | [
"MIT"
] | permissive | coolbutuseless/btnsystem | 421880b97f0fef2fa851d1ef24c3ee4aec888a60 | a9573448a7e70955a78e91d257196fe3d01e5ad0 | refs/heads/master | 2022-04-15T08:12:11.169553 | 2020-04-12T23:00:41 | 2020-04-12T23:00:41 | 254,867,680 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 514 | rd | assert_sane_character_vector.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run.R
\name{assert_sane_character_vector}
\alias{assert_sane_character_vector}
\title{Assert character vector is sane.}
\usage{
assert_sane_character_vector(args)
}
\arguments{
\item{args}{Character vector of arguments to check.}
}
\value{
Lo... |
49509167e62ce8ab94389dcde6854798689ff255 | 1da1269745b6ce6806ffd7a15668fc27470cd921 | /R/ghg_ss_ghg_information.R | ffa316a065756dc547355275eea48e6314c9f1d3 | [] | no_license | markwh/envirofacts | d0c3bb7495060fd00b825c1e72602479f8a92b72 | 815ba95808a37f552d9a7041be532817e4766b90 | refs/heads/master | 2021-01-10T07:14:32.874354 | 2019-03-27T02:28:15 | 2019-03-27T02:28:15 | 50,798,175 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,079 | r | ghg_ss_ghg_information.R | #' Retrieve ss ghg information data from ghg database
#'
#' @param FACILITY_ID e.g. '1000039'. See Details.
#' @param REPORTING_YEAR e.g. '2013'. See Details.
#' @param FACILITY_NAME e.g. 'Alstom Grid Inc'. See Details.
#' @param GAS_NAME e.g. 'Sulfur hexafluoride'. See Details.
#' @param GHG_EMISSIONS_UNROUNDED e.g. ... |
190c68af8065683c1627c4fcf44e1fc4dc8a73ad | 4470537beaf3cf750e91721dd3d19413da6df5e8 | /family_Anoran/findog_s02_tabulate_v01.R | 59c60344ee0895ee7b6b8c47b9956b5b556bdd53 | [] | no_license | xgrau/auto-orthology | 22fa81342dfaa1ceed7099c28230ee13925bb636 | 6ea30d86969a6e57ee245e59b499c5f256233298 | refs/heads/master | 2020-08-01T01:09:37.250658 | 2020-03-03T11:47:21 | 2020-03-03T11:47:21 | 210,808,952 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,769 | r | findog_s02_tabulate_v01.R | # libraries
library(igraph)
library(scales)
setwd("/home/xavi/Documents/auto-orthology/family_Anoran/")
#### Input ####
# input parmeters
edg_fn = "OG0000000.out_ete.sos_0.00.edges"
nod_fn = "OG0000000.out_ete.nodes"
dic_fn = "OG0000000.dict"
man_fn = dic_fn
# input parmeters
# edg_fn = "family_ADAR/adar.out_ete.sos_... |
1d0317a55b5cb245f4d15cbab33102099169a12d | f8eb55c15aec611480ede47d4e15e5a6e472b4fa | /analysis/0352_house_prices_expensive.R | 36c869b086e9e8dac486459d192f15a13c7de0ee | [] | no_license | nmaggiulli/of-dollars-and-data | a4fa71d6a21ce5dc346f7558179080b8e459aaca | ae2501dfc0b72d292314c179c83d18d6d4a66ec3 | refs/heads/master | 2023-08-17T03:39:03.133003 | 2023-08-11T02:08:32 | 2023-08-11T02:08:32 | 77,659,168 | 397 | 32 | null | null | null | null | UTF-8 | R | false | false | 1,916 | r | 0352_house_prices_expensive.R | cat("\014") # Clear your console
rm(list = ls()) #clear your environment
########################## Load in header file ######################## #
setwd("~/git/of_dollars_and_data")
source(file.path(paste0(getwd(),"/header.R")))
########################## Load in Libraries ########################## #
library(scales... |
181ce2063f255201ae49aefa5cf508edeb77e6e6 | f7a6a9a231b8a0faeaddb75bf4aab4bad1ccd2dc | /man/mplus_check_params.Rd | ba719f6cbd34472898fb6fc917288157da5feb61 | [
"MIT"
] | permissive | d-vanos/MplusReadR | ad55f5d3ab384a6078ac11d643e4fc4ba052e289 | aeae510119cd9694f14ef9ac7b302e94b0af2ca7 | refs/heads/main | 2023-03-20T03:00:33.245289 | 2021-03-15T01:42:22 | 2021-03-15T01:42:22 | 313,146,673 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,358 | rd | mplus_check_params.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mplus_check_parameter_options.R
\name{mplus_check_params}
\alias{mplus_check_params}
\title{Check Parameters}
\usage{
mplus_check_params(
Mplus_file,
parameter_type,
standardized = TRUE,
project = "other"
)
}
\arguments{
\item{Mplus_f... |
a89d6ef790f99497cb1049a2f7a4e3ca71f762d2 | 0d826056dce249700a0c6b26517163920c94c249 | /irkernel.R | 111e9dd31c9ec3057cf470aea3272d720e27139c | [
"Apache-2.0"
] | permissive | lmorandini/docker-jupyterlab | 5e842d8682071592a0d0f8370c6a12fe28b72478 | e303204f449d10dc5f0676429485dccc26101221 | refs/heads/master | 2021-09-04T19:52:47.094379 | 2018-01-21T22:21:15 | 2018-01-21T22:21:15 | 71,970,649 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 223 | r | irkernel.R | install.packages(c('repr', 'IRdisplay', 'crayon', 'pbdZMQ', 'devtools'), repos='https://cran.ms.unimelb.edu.au')
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec(name = 'ir33', displayname = 'R 3.3')
|
0311dfac7a73c6da26e9ace3330c58339b0fab2f | 6f45028de8e2b23a123d1e1e2a2b76618a6c472b | /tools/atari.R | 4a81dea83f0bf18e362f60aaf07a8a2b84b16a44 | [] | no_license | RL-code-lib/dapo | 103434e5e9b9a2a2a16dde6dff23c14ba1beb9fb | bd640bac818cf4a551d6ba8426cc31c9e3af6ab9 | refs/heads/master | 2022-03-26T04:55:16.268174 | 2019-11-28T14:05:48 | 2019-11-28T14:05:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,725 | r | atari.R | #!/usr/bin/R
library(Rcpp)
sourceCpp("~/darl/tools/lib.cpp")
prepare_plot <- function() {
plot_ylim <<- c()
confidence_ylim <<- c()
}
grp_avg <- function(e) {
x = e$dt-e$dt[1]
y = e[,4] # 4 for Score, 5 for Policy Performance
return(group_avg(x,y,60))
}
parse_res <- function(dirname) {
e <- read.csv(pas... |
194cae27bb6eab5abe902f89ebac785bfb0a5726 | 379e403848af05b2bb4fa92184cff4c0ec5ac102 | /code/5lda.R | 42a474dada11321e8603b402bbf8c019ebdc2f0b | [] | no_license | JonasRieger/fringes | 570d339f73ce5d46d30bc838a1b7a1b2d98696f3 | 345c743cb782ef593d44be8579c2d0388b5966fa | refs/heads/main | 2023-07-15T08:38:03.285146 | 2021-08-26T06:29:50 | 2021-08-26T06:29:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,141 | r | 5lda.R | library(ldaPrototype)
library(batchtools)
reg = makeExperimentRegistry(file.dir = "Batch", packages = "ldaPrototype")
sapply(seq(20, 75, 5),
function(K) addProblem(paste0("AT", K), data = list(i = "AT", K = K, ncpus = 4)))
sapply(seq(20, 40, 5),
function(K) addProblem(paste0("CH", K), data = list(i = "CH", K = K,... |
5e05c70a648b06a0434da1135f9d17c49cea2b4d | bcdfb8f7ac27dcb48f7667e14c543043247d2f58 | /cachematrix.R | b213f8a7a58b927af80d686775e243f95cf7deab | [] | no_license | mardup/ProgrammingAssignment2 | 322ea2e2e4712ce02a5caf0b8d5b44e52b015108 | a00c722574bddc736620313998ff125587eeb5ab | refs/heads/master | 2020-11-28T05:16:07.050841 | 2019-12-23T14:45:29 | 2019-12-23T14:45:29 | 229,713,451 | 0 | 0 | null | 2019-12-23T08:50:11 | 2019-12-23T08:50:10 | null | UTF-8 | R | false | false | 1,222 | r | cachematrix.R | ## This assignement is to create 2 functions to cach the inverse of a matrix
## similarly to the example to cache mean
## This function is to set matrix value (setM), get matrix value (getM)
## set the matrix inverse/solve (setSolve) and get the matrix inverse/solve (getSolve)
makeCacheMatrix <- function(x = matrix()... |
5049d9d2ed68ed68a6c40445b57f5a2c70da4723 | d4db709669719f84558afb6165079f1f4947669c | /man/calcShift.Rd | 5d9e851cd07cfd095bd39800cbd185d0e7f8c856 | [
"MIT"
] | permissive | shulp2211/SeeCiTe | a4daa3b757499851862ec6a3de8f31d289ea12af | 745c53db36ee4a0544280c4bceb96ec8989eb7ee | refs/heads/master | 2023-02-21T00:15:28.867295 | 2021-01-18T17:06:57 | 2021-01-18T17:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 572 | rd | calcShift.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calcShift.R
\name{calcShift}
\alias{calcShift}
\title{Create a decile plot and a scatter for CNV versus flanking region in an offspring. Uses rogme package.}
\usage{
calcShift(lrr_dt, single = F)
}
\arguments{
\item{lrr_dt}{A data table with ... |
366e5d0e1d7d7238938f8d84a3371f9d1b1f48b0 | d2a1402ec7225f160436fa9997c22dfbc98b2c2b | /TESTmultiComparison.R | 92c25d823f5f301d28ce3736833c241cd19e58ae | [] | no_license | ashar799/SBC | d9fe9e6a02ab6b70a3b3d0532b45b76ac1846cd9 | 731d73821ad27944f0767957ff5205554702ad4b | refs/heads/master | 2021-01-20T20:32:35.588709 | 2019-04-11T11:42:16 | 2019-04-11T11:42:16 | 61,547,525 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,066 | r | TESTmultiComparison.R | ########## This file compares prediction on test cases with different methods
####### So we use k-means + SVM to predict labels on new data points ###########
####### Then fit penalized Cox- Models with the predicted Labels
predictionGroundTruth = function(){
############ Predicting New Class Labels #########... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.