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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ffd81a943ff7ad4696848ec796fcb34fdd9768e | 28583c4f03ab95aa8396fd35aa8e2a7f47ebf712 | /man/test_package.Rd | 13483bd733120d2ced55d8a205490cdd8ab588bd | [] | no_license | vishalbelsare/autotest | 3f2b0ee5f767722f6dec19239538c9fb9dc73e48 | b9aa8528088a2c5faa56fc38754138cde56b74dc | refs/heads/master | 2020-03-27T02:39:46.694035 | 2018-04-06T03:47:22 | 2018-04-06T03:47:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,307 | rd | test_package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/test-package.R
\name{test_package}
\alias{test_package}
\alias{test_check}
\title{Run all tests in an installed package.}
\usage{
test_package(package, filter = NULL, reporter = default_reporter(), ...)
test_check(package, filter = NULL, rep... |
c6633e0477735200bcdf7094e9ec331e8b5f786d | b5f8227ec8d3fa529551fd45d6123baedc099d1d | /R/filters.R | 06cd6d52855d24120f213a05c954bbf071103e78 | [] | no_license | alb202/PACER | 9440ae37afda9abcd6441fcf584e76dfcca7bdd6 | b6407405347b8561bcf5642f0ba118ed1cc1925f | refs/heads/master | 2021-01-25T11:27:27.787253 | 2018-06-09T00:57:06 | 2018-06-09T00:57:06 | 93,922,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,997 | r | filters.R | filter_unique_positions <- function(gr){
gr <- sort.GenomicRanges(gr)
return(sort.GenomicRanges(gr[!(GenomicRanges::duplicated.GenomicRanges(x = gr))]))
}
filter_by_gene <- function(gr, gene_list, invert=FALSE){
### If the gene list is empty, just return the full set of alignments
if(length(gene_list)==1 & ge... |
bb7dcc7c3d100b6e45fd60d39bbce585c46bd9e7 | 6ce79966b1b89de1a6d6eb29cea945188c18652c | /man/delta.sumqlogdetK.Rd | 381b5827d03902dbacb86a614231b958801bc946 | [] | no_license | feng-li/movingknots | d3041a0998f0873459814a09e413c714fff700c6 | 5f921070e4cd160a831c5191255f88dd7d4c850c | refs/heads/master | 2021-06-10T00:18:57.172246 | 2021-03-22T05:56:44 | 2021-03-22T05:56:44 | 145,708,629 | 4 | 3 | null | null | null | null | UTF-8 | R | false | true | 512 | rd | delta.sumqlogdetK.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/models__linear__etc__delta.sumqlogdetK.R
\name{delta.sumqlogdetK}
\alias{delta.sumqlogdetK}
\title{gradient for sum q_i log|K_i|}
\usage{
delta.sumqlogdetK(q.i, diag.K)
}
\arguments{
\item{q.i}{NA}
\item{diag.K}{NA}
\item{args}{"list" args$... |
95bd1504922515708d53d012c4e6a10d0926ac2e | 0f48862850cbe23f93ff6a2dbb95337aa0fadb94 | /tests/testthat/test_samtools_pileup.R | ad5516388e0133e6a7817a9eb46c5f32670636b3 | [] | no_license | iansealy/MMAPPR2 | 3d9f52f53864dbff5fcbe5ba0165bd572579f526 | 06ef8906ba70d650af588cc2ba845d9068746259 | refs/heads/master | 2022-07-20T07:35:42.544745 | 2019-09-30T16:50:45 | 2019-09-30T16:50:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,977 | r | test_samtools_pileup.R | context('Samtools Pileup')
test_that("Simple pileup works", {
skip_if_not_installed('mockery')
output <- paste(
'1 1 A 5 ....C AAAAA',
'1 2 A 5 ...C. AAAAA',
'1 3 A 5 ..C.. AAAAA',
sep='\n'
)
mockOutput <- mockery::stub(.samt... |
bb0125bd3d4d61e2ee75ab2a3880fcdd34bf011a | 02754f51d7970c6c76097084e8fa1a75bd7bf8dc | /week4-cluster-sum2/utils.R | 53cb2cee6a36047baf7e950c8a6d9d8d70d789bf | [] | no_license | tutrunghieu/html2015b | eea165eaddc2953ae7097446c393e5433307febd | 10e0933d4d5d7b5fd5a4348ac90929eb3ffbad85 | refs/heads/master | 2016-09-03T07:01:02.903848 | 2015-10-17T15:11:01 | 2015-10-17T15:11:01 | 42,796,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,287 | r | utils.R |
eval <- function(X, L, C)
{
n <- nrow(X);
e <- rep(NA, n);
for(k in 1:n)
{
Xk <- X[k, ];
Ck <- C[L[k], ];
e[k] <- mean( abs( Xk - Ck ) );
}
return( sum(e) );
}
colorAvg <- function(img)
{
r <- mean(img[,,1]);
g <- mean(img[,,2]);
b <- mean(img[,,3]);
return( c(r, g, b... |
aaaaefd8f168e400789a82da0e59fbcc087509c6 | 7f7b6c972c584b10bfb41e16d585140461619936 | /StaticDynamicStreamMapping/NHD_compare.R | b92b6249ba988ba3399f2ff4dfa16fa2ccb836c0 | [] | no_license | khafen74/ProjectAnalysisFiguresR | 288c291a122f34bfc17b2f05b774554f0ec9b88b | 60f375b75af3faa2c5f44e659923d179a32ffc56 | refs/heads/master | 2021-01-02T22:43:25.755166 | 2017-11-03T11:12:29 | 2017-11-03T11:12:29 | 99,379,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 744 | r | NHD_compare.R | # Do setup ----------------------------------------------------------------
rm(list=ls())
setwd("C:\\konrad\\USGS\\PROSPER_NHD\\data\\csv")
fn <- "MR_HR_join.csv"
dat <- read.csv(fn)
# Differences between MR and HR classifications ---------------------------
dat$perInt <- ifelse((dat$FCODE==46006 | dat$FCODE==5580... |
93456ea0db79bd10b13b7aea16d26954d67f9a16 | 4d07a036ce45095d2cb210400886f3dd4accaa95 | /MetaboAnalyst/src/main/webapp/resources/rscripts/metaboanalystr/correlation_ml.R | 4755a21b21cf2d28d599347769ec07f91ef5866c | [] | no_license | Sam-Stuart/Wegan | 15d293a997885f38dfc19c73a22333637f3b4c64 | 67325369d0e41750f6c7a2a663fae0f9f86318de | refs/heads/master | 2023-05-11T20:18:11.212834 | 2022-09-12T16:08:25 | 2022-09-12T16:08:25 | 254,185,020 | 3 | 2 | null | 2023-05-10T21:46:26 | 2020-04-08T19:45:57 | R | UTF-8 | R | false | false | 13,901 | r | correlation_ml.R | #'Perform Machine Learning Regression'
#'@description Build a linear regression model for one user selected predictor variable
#'@usage reg.machine.anal(mSetObj=NA, method=method)
#'@param mSetObj Input the name of the created mSetObj
#'@param method Set ML regression method, default is random forest
#'@author Lou... |
15980c759b1bff207e7c9f5710b1a4bd7bbb5937 | 5debb7ef018afc3e17890b9bfeb89bfe51c3030b | /R/view_help.R | 33dd636b9bd31a10fe61a0a9c3bef46ee5793a7e | [] | no_license | shs576/RDocumentation | ed15c1be42fc62c28bddff69fd27760c383cc8ed | 9c9bd8c714e633fdbe5739dc9c89fee5ab1055ce | refs/heads/master | 2021-09-15T12:37:47.606145 | 2018-06-01T14:13:29 | 2018-06-01T14:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,951 | r | view_help.R | get_help_search_body <- function(paths) {
lut <- c(alias = "aliases", concept = "concept", keyword = "keywords", name = "name", title = "title")
body <- paths
body$fields <- concat(lut[body$fields])
body$matching_titles <- concat(unique(body$matches$Topic))
body$matching_packages <- concat(unique(body$matches... |
be61732da669f9ca15abe02e43d43e429e770dd4 | d3430da51e26f51bec0b1fe12dd23c12c279e1f0 | /man/Naturvernomrade.Rd | 8bc2cf74e43995a1c37dd4cef3e57aa061e52106 | [
"CC-BY-4.0"
] | permissive | hmalmedal/N1000 | cd3f9136762a7b41eddf87e56e6492413d0f92b2 | a5c001b6522efb190fe638075635ab1fc55cf218 | refs/heads/master | 2023-05-12T18:19:31.892163 | 2019-02-24T10:56:25 | 2023-05-01T08:14:33 | 172,326,587 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,855 | rd | Naturvernomrade.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datadoc.R
\docType{data}
\name{Naturvernomrade}
\alias{Naturvernomrade}
\title{Naturvernomrade}
\format{
\if{html}{\out{<div class="sourceCode">}}\preformatted{Simple feature collection with 42 features and 4 fields
Geometry type: POLYGON
Dim... |
59555b31cbe3ac017a5e28bc215e8a6ac3b3e0d3 | 177e0503f7a1f7c63963b62e318f7980d273399d | /cachematrix.R | 7fbe8eab09ab164bee7ae7d98c98b163512fdffa | [] | no_license | tklinger123/ProgrammingAssignment2 | 41f9584681f2b9b8f39190590abbf73cc074fd32 | 7c66b75d48a53596889070f30ecd9ed98fb39209 | refs/heads/master | 2021-04-18T22:10:54.499136 | 2018-03-26T14:22:16 | 2018-03-26T14:22:16 | 126,831,026 | 0 | 0 | null | 2018-03-26T13:12:43 | 2018-03-26T13:12:42 | null | UTF-8 | R | false | false | 1,231 | r | cachematrix.R | ##################################
## programming assignment 2:
## caching the inverse of a matrix
## done by thomas klinger
##################################
# this function creates a matrix and its inverse
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL # init inv
set <- function(y... |
4f94c23c45fd945b406b9ff023a882c34b8c5eb1 | c3928a8d0427c0c037d8a94858acfb9b85ee3eef | /backend/src/main/resources/r_script_temp/readCategoryCounts.R | 37e3951d9ad5fa98ee6fe4d4484236d37450fd24 | [
"MIT"
] | permissive | ambro01/NanoporeQC | f6fdd61c727d0acdb533d9be616187b14af92cae | f5d4ebec8b735a0eb81a53ff3cbde565a8967092 | refs/heads/master | 2020-03-28T00:26:35.739541 | 2018-09-20T19:14:09 | 2018-09-20T19:14:09 | 147,413,512 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,733 | r | readCategoryCounts.R | # category, count
# ilosc nukleotydow w zaleznosci od typu odczytu
#' Plot the proportion of template, complement and 2D reads found a dataset.
#'
#' Generates a bar plot showing the breakdown of read types found in a set of fast5 files. There is a strict hierarchy to the types of read that can be found in a fast5 fi... |
269a615e60bf26e2b64db9a00f84bd2d767bc47c | 2e1754a5130e4f3f5725baace28b15a078072cd9 | /app/library/spam/demo/article-jss-example1.R | dd04f334fe3d3fa70378db93744512b1a3b97676 | [
"Apache-2.0"
] | permissive | agreenville/Bipartite_Network_win | b4399e1150439373a886bf677868584abc0f635a | ce9c5dc2fb7707314ddcbe05342f06a6afc728bc | refs/heads/master | 2021-05-11T05:37:10.926023 | 2018-01-18T23:57:02 | 2018-01-18T23:57:02 | 117,963,829 | 0 | 0 | Apache-2.0 | 2018-01-18T23:57:03 | 2018-01-18T09:50:02 | R | UTF-8 | R | false | false | 269 | r | article-jss-example1.R | # This is file ../spam/demo/article-jss-example1.R
# This file is part of the spam package,
# http://www.math.uzh.ch/furrer/software/spam/
# by Reinhard Furrer [aut, cre], Florian Gerber [ctb]
# This demo is depreciated. Please run
demo('jss10-example1')
|
1b47960819197447864c57b08694bcee4cd21600 | 75ae7bd581c200f31825edb298d66195b3d6e114 | /alpha-view/SVM.R | 9276bb26037e73d3e7fd4ef29f88df272090fe13 | [
"MIT"
] | permissive | joseph97git/alpha-learn | 58468f0a144216da761d81015bd6231010dd32a2 | 3ab6339e60f0ca0194f2e32b575d28c57ac0aeb4 | refs/heads/master | 2020-05-09T19:30:52.111462 | 2020-02-17T21:22:59 | 2020-02-17T21:22:59 | 181,380,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 621 | r | SVM.R | getSVMFit <- function(train, var1, var2, kern, deg) {
# fits svm model given the two input variable parameters
# create formula
svmFormula <- as.formula(paste("signal ~", var1, "+", var2))
# fit svm model
svm_fit <- svm(svmFormula, data = train, kernel = kern, degree = deg)
return(svm_fit)
}
getSV... |
b40071b1c10775b4b87d85caa6fa456228f98a62 | 13f974b729d9c355dc639a6783ecca2b612bf152 | /machine-learning-app/app.R | b55f1340c214c0b9035e65dd6a93c68023f400ec | [] | no_license | fonluiz/decision-trees-app | 9a3cdd3aa4922db6d55ab5e9f7a6ab44238dd073 | 3e2654ce31bca9e12646ad6cd71ebb71a9e017cc | refs/heads/master | 2021-04-28T15:11:33.675964 | 2018-03-20T18:17:27 | 2018-03-20T18:17:27 | 121,983,454 | 0 | 0 | null | 2018-03-20T18:17:28 | 2018-02-18T19:32:39 | R | UTF-8 | R | false | false | 1,040 | r | app.R | library(shinydashboard)
library(shinyjs)
library(tidyverse)
source("ui_scripts.R")
source("decision-tree/server.R")
source("neural-network/server.R")
ui <- dashboardPage(
dashboardHeader(title = "Machine Learning App - chess", titleWidth = 300),
dashboardSidebar(
width = 300,
useShinyjs(),
sidebarMenu... |
a3394efac82655c7d83f9977bab35daa66cb6a84 | 4641658628f93059b76ba797024cec234dc1c00e | /data_cleaning.R | 6a837b48cc2be2b4664f2861ac18ea02988108f9 | [] | no_license | mirandamanschot/demo-tidytext-02 | 35bf3f3c0f6d14128f1f6c2083aea252ea51764b | 434d957603a07989d0ea0f855b5108b862b9920e | refs/heads/main | 2023-04-22T03:17:34.778099 | 2021-05-19T12:45:47 | 2021-05-19T12:45:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,477 | r | data_cleaning.R | #' data_cleaning.R
#'
#' Clean up and select a date range of tweets
#' from donald trump for analysis
#'
#'
# --- Library --- #
library(readr)
library(readr)
library(dplyr)
library(tibble)
library(tidyr)
library(tidytext)
library(textstem)
library(vader)
library(lubridate)
library(stm)
# --- load the data --- #
twe... |
1cbee10c3c7512390c00961cd3511f382308c1ac | 8e9f9bc21f7d3137d1913fd5bec802f936b5462d | /Life cycle function.R | f36b370fe6fdea6d089a0b698ed84d73bdd7f189 | [] | no_license | klwilson23/LifeCycleDiversity | 3087aa80b4b19655db4dae3fe3462f33381927e4 | 71134716ac29340482d2ad4609049ba97340ca79 | refs/heads/master | 2021-07-12T11:10:46.495751 | 2020-07-29T00:29:32 | 2020-07-29T00:29:32 | 188,898,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,622 | r | Life cycle function.R | # notes: age-structure a 4.2 is 1 in Freshwater, and 2 ocean winter survivals (not 3 ocean winters)
# notes: double-check the bad-bad correlation
LifeCycle <- function(Nyears=100,CR=4,N0=100,propAge=rep(1/4,4),freshMarAges,recCV=0.25,Ncycles=4,freshSurvMn=0.7,marSurvMn=0.5,freshSurvCV=0.1,marSurvCV=0.1,freshRho=0,marRh... |
42bd1f51c892ad3df61a28f256209bba6606dbbf | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/colorscience/examples/compuphaseDifferenceRGB.Rd.R | 46af44e30eee85b24c0cc29390434b3c4e9522eb | [] | 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 | 227 | r | compuphaseDifferenceRGB.Rd.R | library(colorscience)
### Name: compuphaseDifferenceRGB
### Title: compuphase Difference RGB
### Aliases: compuphaseDifferenceRGB
### Keywords: datasets
### ** Examples
compuphaseDifferenceRGB(c(124,63,78),c(241,65,78))
|
2c22284f5569787a386eb022247b1d76f8015e20 | 9484b93da2ee67dd0989745745b0ab3ce4567324 | /code/old/Run_Combine_Testing_pull_imp_OTUs.R | 271406a9c0477e84cdb918fe25e46a2e3fa4f54d | [
"MIT"
] | permissive | SchlossLab/Sze_FollowUps_Microbiome_2017 | 0d8d2abefbec52914d0fce24c3f977d266583913 | 8ef69b722a0610d27ef898fa9ea0ab1385f6807b | refs/heads/master | 2021-01-18T23:39:58.668847 | 2017-09-16T20:37:43 | 2017-09-16T20:37:43 | 46,723,430 | 1 | 6 | null | 2017-09-16T20:37:44 | 2015-11-23T13:53:29 | HTML | UTF-8 | R | false | false | 9,135 | r | Run_Combine_Testing_pull_imp_OTUs.R | ### Combine models from the Training runs
### Specifically identify mean and SD of model
### and pull out most important OTUs used within it
## Marc Sze
### Note:
## Random Forest: from the R package: “For each tree, the prediction accuracy
## on the out-of-bag portion of the data is recorded. Then the same... |
e1bb4d5f8f3bff6f87d01935f7bcae158a9f96e4 | fe14f07a765d50471a87487f26de32bffe709912 | /server.R | ce8cf64f7dceaf0f2c5f799dc2a35fe4e3ad51e1 | [] | no_license | fipinoch/Mi-Indicador | dcc45eccb5dc726074a94a56c58026a4d62cd46c | 38c687b096eb411dcdf1581906b23a89f5b140da | refs/heads/master | 2020-04-07T10:28:48.657302 | 2018-11-19T20:56:33 | 2018-11-19T20:56:33 | 158,288,290 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 942 | r | server.R | server <- function(input, output, session){
df <- reactive({
df <- df_datos %>%
filter(nombre == input$indicador,
fecha >= input$daterange[1], fecha <= input$daterange[2])
})
output$grafico <- plotly::renderPlotly({
plotly::ggplotly(
df() %>%
... |
846c6b8753aa91a16d91a0cf84285e7210b8d83f | 40c7e4c11a8b91e70e8d3b6bdea98f90b4add997 | /MTA201039 RStudio script.R | e4200ac8b82f01d129b0a23bfa156cd815267beb | [] | no_license | hendrikknoche/BCI-fishMed10 | 3166cf267e06a6f221ef741625423fa58a45f4c9 | b0079ef2e22813919eea6b5762865120acabaf35 | refs/heads/master | 2023-03-05T01:56:44.254789 | 2021-02-17T13:36:13 | 2021-02-17T13:36:13 | 261,782,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,417 | r | MTA201039 RStudio script.R | library(pgirmess)
library(tidyverse)
library(reshape2)
#library(MASS)
library(tidyr)
library(car)
library(ggplot2)
library(normalr)
library(dplyr)
library(clinfun)
library(pastecs)
library(QuantPsyc)
library(Hmisc)
normalize <- function(x) {
return ((x - min(x)) / (max(x) - min(x)))
}
rFromWilcox<-function(wilcoxMo... |
39aa0550211d0195e561c3e9a97de29e95acb03c | 9d6098e1d565e569c77ac61806a6a7386ebe84bc | /Individual_assignment_movie_sentiment_cloud.R | b7df14b0c82bcfb1c6cef2d2c5ba026efe51cf55 | [] | no_license | yolonda520/Movies_analysis_R | 33a8ea841e4ba34115dcd381efdcabdaf33bfdcd | fe6d7dafe102d825ed0929e4885ac4042fcda511 | refs/heads/master | 2022-04-24T20:36:04.213919 | 2020-04-28T02:00:31 | 2020-04-28T02:00:31 | 259,476,175 | 0 | 0 | null | 2020-04-27T23:46:47 | 2020-04-27T22:59:37 | R | UTF-8 | R | false | false | 2,110 | r | Individual_assignment_movie_sentiment_cloud.R | library(magrittr)
library(rvest)
library(dplyr)
library(tidyverse)
library(tidytext)
library(stringr)
library(ggplot2)
library(reshape2)
library(wordcloud)
library(tidyverse)
library(tidyr)
library(wordcloud)
Joker <- xml2::read_html("https://www.imdb.com/title/tt7286456/reviews?ref_=tt_urv")
Joker_review <- Joker ... |
a4cd70e19460d6a61d9792cccebece4131a165f5 | f991c879a03a6e5a81141ae59a4fca3a708a55b9 | /R/05_projections_functions.R | 226f90717d98f82b6ff7311c5df9affcc0ecba2d | [
"MIT"
] | permissive | SC-COSMO/sccosmomcma | d1469077b9182d803320ca7ca89b4851a5e81a0f | 0e051ae94a2ff0641a9fee09d00097205ea19748 | refs/heads/main | 2023-04-14T03:12:50.174840 | 2021-10-11T22:52:25 | 2021-10-11T22:52:25 | 371,769,010 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 81,784 | r | 05_projections_functions.R | #' Generates interventions input list for performing projections
#' with the SC-COSMO model
#'
#' \code{get_projection_scenarios} generates interventions input
#' list for performing projections with the SC-COSMO model
#' for selected state.
#' @param n_t Simulation total time.
#' @param v_soc_dist_factor Vector with... |
5ceae004a0f18c61391943ef07390661fb02789e | ee8dd63922e47711a5911d282472e6784c5d67c0 | /R/plot-.R | 49f67c49265896c62d97cec074ca74fecb9669c3 | [
"MIT"
] | permissive | atusy/qntmap | 07ff96149b4d8fb5ee2386b0892d524d1f55aa34 | 5b6a349ac12b600daad7e806e22982e514150b86 | refs/heads/master | 2021-06-04T06:01:19.809161 | 2021-04-06T13:54:15 | 2021-04-06T13:54:15 | 97,662,265 | 2 | 0 | MIT | 2021-04-06T13:54:15 | 2017-07-19T02:07:09 | R | UTF-8 | R | false | false | 2,050 | r | plot-.R | #' @name plot-qntmap
#'
#' @title Plot methods for `qntmap` package
#' @description
#' S3 methods to plot object with original classes in `qntmap` package.
#' See [`graphics::plot()`] for general use of `plot`.
#' Mapping data (`qm_xmap` and `qm_qntmap` classes) are visualized by heat maps.
#'
#' @param x
#' An ob... |
24f8c2d10bddd095e6338cfd645a8b1468df90eb | 99afed5c94a31a683f41d46b1210f0d30c0807c0 | /MROI/projects/data4coding.R | 6578315919c85b3ada5fd469e82d31daa083dc67 | [] | no_license | wenrurumon/AAC_tradition | d157bec40bc93d764d0a6836908a8f0dcca22d4c | 4b8107741de3491527c10be51a3e08bb06e66e2e | refs/heads/master | 2023-04-17T13:05:07.743416 | 2023-03-29T11:14:45 | 2023-03-29T11:14:45 | 135,133,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,073 | r | data4coding.R |
rm(list=ls())
library(openxlsx)
library(data.table)
library(dplyr)
x <- read.xlsx('data4coding.xlsx',sheet=3)
x2 <- x %>%
filter(Channel!='C2C'&Month>=201806&Skuname!='Others') %>%
select(
Brand=Brandname,Subbrand=ProductLine,
ProductLine=Channel,SKU=Skuname,
TA=Target.Audience,value=`Value(RMB)`
) %>%
mutate(P... |
82a8c94373aa8de37daac518e0cb1af6b6fc0fa7 | f537078788fada8d2658f0c45b7c3f21808ab447 | /Codigo/Main.R | 4a88e5ba4e5ba19624069e6d145b72900ccaf935 | [] | no_license | Jerry-Master/ProjectAA1 | c252512c564bc195a17d684bc96d45f2de600ff3 | 963b0daf02527f3fb0dd56d7284794ca1820ddc2 | refs/heads/master | 2023-06-04T07:34:50.911854 | 2021-06-26T16:55:40 | 2021-06-26T16:55:40 | 265,807,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,556 | r | Main.R | # LDA/ QDA
library(MASS)
# RDA
library(klaR)
# Multinomial
library(nnet)
# Cross-Validation
library(TunePareto)
# Naive Bayes
library(e1071)
# k-NN
library(class)
# Correspondence analysis
library(ca)
# Cross-validation nn
library(caret)
### 1. Read data
set.seed(2105)
clev <- read.csv("../data/cleveland.csv",... |
c81d3a1e17e777d1869384ac49ddf83b995d9b13 | e3f2ffe6640fff8bd617d26d2d8ffc70dd8345ba | /0.2_PreprocessCSI_Universal.R | f29cbd598951b7d69d0445d3ad095bd2f8d463dc | [] | no_license | charleshjw/CISM_Enhanced | 3818e2797fa83b958e4c5c91d6023ba784ca1b86 | 2041bc8705bd30f93f394e3265f41b4725802362 | refs/heads/master | 2020-05-27T22:17:13.985329 | 2019-05-31T02:00:21 | 2019-05-31T02:00:21 | 81,352,049 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,659 | r | 0.2_PreprocessCSI_Universal.R | # To take updated raw downlodas from market research providers (BoA, JPM, Citi
# and Barclays, and standardize observations and save to target Access database.
# It needs to be run once every time data is downloaded or updated. Take 5-10
# minutes to run.
#
# Author: E620927
#####################################... |
e3197859c60a9dc9ca7f00337b949c8b5a18205d | 3fd21aa0843f2ad47158d0b17044992c1449135e | /man/wcagepredssumstats.Rd | 39635df0c80fd4cfa1421b3b2fcbf7672c5b33aa | [] | no_license | mrm10/HHFindAgeProjectFinal | 20c1c48f9ae700259365aed48bb5c2a7f8aa22b1 | 5c00c0cbe6ad80a71e9e36ffc57f91bc45c30570 | refs/heads/master | 2021-01-13T09:56:58.888210 | 2016-02-03T11:45:49 | 2016-02-03T11:45:49 | 50,967,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 815 | rd | wcagepredssumstats.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/SumStats.R
\name{wcagepredssumstats}
\alias{sumstats}
\alias{wcagepredssumstats}
\title{sumstats}
\usage{
sumstats(academicyear, sumstats = TRUE)
}
\arguments{
\item{academicyear}{This function allows a user to input academic year in ... |
4903cc5ad62693f174e6800fb9d362ff1b1a45d7 | 29585dff702209dd446c0ab52ceea046c58e384e | /NPflow/R/DPMpost.R | 07337acae1f4c17100567262648d45a71ea1e585 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,647 | r | DPMpost.R | #'Posterior estimation for Dirichlet process mixture of multivariate (potentially skew) distibutions models
#'
#'Partially collapse slice Gibbs sampling for Dirichlet process mixture of multivariate
#'normal, skew normal or skew t distributions.
#'
#'@details This function is a wrapper around \code{\link{DPMGibbsN... |
e7ed6db5484263c6682092c9dc581daab245b439 | b548999a84c8e3ec3a6d675208dd1772b22d820f | /google-trends-plot.R | ed3ee54f86130a78ad7e6705e8e3281ef6027cb8 | [] | no_license | zremek/google-trends-ds-ml-ai | 083d1a539c69b2caca85ba1acb3978f94300f98f | 7ce6d9910e9cd8279ab2e8ede933010d21779bdc | refs/heads/main | 2023-03-11T10:48:13.335413 | 2023-03-08T09:49:32 | 2023-03-08T09:49:32 | 315,697,410 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,516 | r | google-trends-plot.R | library(tidyverse)
library(cowplot)
library(PerformanceAnalytics)
# https://trends.google.com/trends/explore?date=2008-01-01%202020-09-30&q=%2Fm%2F0bs2j8q,%2Fm%2F01hyh_,%2Fm%2F0jt3_q3,%2Fm%2F0mkz&hl=en-US
with_ai <- read_csv("multiTimeline.csv",
skip = 2, col_types = "ccccc")
# https://trends.goo... |
25c9e81364b76eae576f262f35908572c3d0a6a3 | 691a1a785b2f0a47a04777ada08cb1a8bf4b94ef | /Sourced_Functions/MainPipeLineFunctionsToSource_v3.R | 3a53059b1c8cd7c60c77c73ac85c48ca572daa51 | [] | no_license | arthurvickie/Multi-Marker_Method | cbafc3e6a9a16c703b3d241d19234d0dfdb38e89 | d1d90c3c6f99d587a987f4be761c8dbe042f176a | refs/heads/main | 2023-07-15T10:17:00.234816 | 2021-08-30T20:49:22 | 2021-08-30T20:49:22 | 377,881,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 95,778 | r | MainPipeLineFunctionsToSource_v3.R | #############################################
## File to source for whole pipelines
## Includes TIE and Power pipelines
## Using long form eqn and Ghat for calculations
#############################################
#edit 5/21/20 added in ability to standardize scores and weight scores to ghat pipelines
#edited version ... |
d83b84e6c1eddda7f4806fb9a15daeeca81041de | b08b51f68b7a3e8adfb448075b766c9c5c2b90af | /plot3.R | 217a74d82fee5ac287670e3edbc9105a7a55ad15 | [] | no_license | zchen2015/ExData_Plotting1 | 4bf9b9abdfea0c2c101d4b2002d9625f7e057d4c | f0aa1782d6fcb0bd92b90656cb996c7cb62f7b9e | refs/heads/master | 2021-01-15T22:39:04.753343 | 2015-08-09T13:21:14 | 2015-08-09T13:21:14 | 40,303,967 | 0 | 0 | null | 2015-08-06T12:37:41 | 2015-08-06T12:37:41 | null | UTF-8 | R | false | false | 1,185 | r | plot3.R | ## download data file and unzip the file
print("downloading data ...")
url = "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(url, destfile="exdata-data-household_power_consumption.zip", method="libcurl", quiet=TRUE)
unzip("exdata-data-household_power_consumption.zip... |
ff0a35a3a92f2a178fdd9929924d29cec0513076 | c3e542e5b10011f2f209779def58a2a2df393335 | /man/addInterceptDS.Rd | c4764a1b9a5eeb3388c1ca554de9f4a7bfef68fd | [] | no_license | YouchengZHANG/dsMTLBase | 2d7b738b44e6cb54b9477ba416fbb1839672436b | 791ac77ff8146af611e53691e646c9056ba5eb7a | refs/heads/main | 2023-07-12T19:21:50.208248 | 2021-08-07T16:10:19 | 2021-08-07T16:10:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 826 | rd | addInterceptDS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/addInterceptDS.R
\name{addInterceptDS}
\alias{addInterceptDS}
\title{Set intercept model}
\usage{
addInterceptDS(x.mat, intercept = FALSE)
}
\arguments{
\item{x.mat}{The name of design matrix}
\item{intercept}{The indicator to turn on (=TRUE... |
d10d70e866725ca278e3f12c2fed1f35d09d7e42 | 48a44530ac143182464470e03b34a0c05b85f2ae | /data/data_clean/data_for_figures.R | 11431e22e185dfb1edc5a05cea522ff96e5abb65 | [] | no_license | xlulu/inls641_OlympicAnalysisVis | 0a9ffd5f397f3aa50dd5a8f0eec3027b4f97d170 | 94eb495526984242cfc3ccbdf3c57e5a8b89bf3c | refs/heads/master | 2020-03-29T12:46:17.750430 | 2019-03-26T13:46:12 | 2019-03-26T13:46:12 | 149,918,297 | 1 | 0 | null | 2018-11-10T19:51:39 | 2018-09-22T20:54:51 | R | UTF-8 | R | false | false | 867 | r | data_for_figures.R | library(tidyverse)
library(readr)
library(jsonlite)
setwd("/Users/ltl/Desktop/2018-Fall/INLS641/Project/data_for_figures")
pdata <- read.csv("./Project_Data.csv")
pdata_t <- as.tibble(pdata)
# Medal board
athlete_board_data <-
pdata_t %>% select(ID, Sex, Age, Height, Weight, Sport, Event)
colnames(athlete_board_da... |
3670799a3c71ba66576832c774022abc45e935b0 | bccbc580218478dedd290ff5559ad82956c6e1a4 | /data/CSV to JSON.R | 17ede952a1b9a533a9996b66ce435f81c5a7ebf8 | [] | no_license | afdta/youth-employment-draft4 | 373b51e1514132a3f64add9b8efbe5c1e6aeafa4 | 5c57315b7b86f571a1a72f1b69d781e5dc1ba26d | HEAD | 2016-09-14T14:48:07.670824 | 2016-05-12T19:35:41 | 2016-05-12T19:35:41 | 58,666,488 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,492 | r | CSV to JSON.R | #to do: test the geo codes here
#question: why are some obs missing? if num, denom are both NA? is 2000 MOE zero always?
library("reshape2")
library("jsonlite")
setwd("~/Projects/Brookings/DataViz/youth-employment/data/CSV/")
setwd("~/Projects/Brookings/youth-employment/data/CSV/")
for(f in list.files()){
assign(su... |
8841b658312bcefd072f47f6927b6129bdb16968 | 990a049d3ad2341cc32b82e14ee94a342f9d3a8f | /man/day4CheckSequence.Rd | 4c34726bd921f7037341059852549ad5203d2a6c | [
"Apache-2.0"
] | permissive | JDOsborne1/AOC2019 | 7fb5644589a283afb5e565b4e3a4162922c2315e | 5c3e50a8b2c1b0de7ea0499a713fea396e60cc87 | refs/heads/master | 2020-09-23T08:12:24.999663 | 2019-12-14T12:21:28 | 2019-12-14T12:21:28 | 225,449,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 429 | rd | day4CheckSequence.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Day_4.R
\name{day4CheckSequence}
\alias{day4CheckSequence}
\title{Sequence checker}
\usage{
day4CheckSequence(vector_split_sequence, min_val, max_val, part2 = FALSE)
}
\arguments{
\item{vector_split_sequence}{the vector sequence to check}
\i... |
0b5555397a402a5271387da9a0dcf17bb5a1b1ca | 53d7e351e21cc70ae0f2b746dbfbd8e2eec22566 | /man/xmu_twin_add_WeightMatrices.Rd | a557dedddb26d0e77e8fe55a1498210af16396b4 | [] | no_license | tbates/umx | eaa122285241fc00444846581225756be319299d | 12b1d8a43c84cc810b24244fda1a681f7a3eb813 | refs/heads/master | 2023-08-31T14:58:18.941189 | 2023-08-31T09:52:02 | 2023-08-31T09:52:02 | 5,418,108 | 38 | 25 | null | 2023-09-12T21:09:45 | 2012-08-14T20:18:01 | R | UTF-8 | R | false | true | 4,342 | rd | xmu_twin_add_WeightMatrices.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xmu_make_top_twin_models.R
\name{xmu_twin_add_WeightMatrices}
\alias{xmu_twin_add_WeightMatrices}
\title{Add weight matrices to twin models.}
\usage{
xmu_twin_add_WeightMatrices(model, mzWeights = NULL, dzWeights = NULL)
}
\arguments{
\item{m... |
e9fa6772ab8ab8d4e35070e3151836966246dd82 | 912ad27fe0c462026131613a6cf838d074c6dd59 | /man/updateFit.Rd | d6dd83178169cfd59225b8297092567dbf7f0fe5 | [] | no_license | OakleyJ/MUCM | 8265ee0cf1bbf29f701a1d883aa8ab1f8074655b | 28782a74ef18ce087b1a23fe15df5a67b156083e | refs/heads/master | 2021-01-11T18:17:10.733210 | 2017-10-20T14:45:18 | 2017-10-20T14:45:18 | 69,334,386 | 5 | 7 | null | null | null | null | UTF-8 | R | false | true | 495 | rd | updateFit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/updateFit.R
\name{updateFit}
\alias{updateFit}
\title{Update fit}
\usage{
updateFit(object)
}
\arguments{
\item{object}{An \code{"emulatorFit"} object to update.}
}
\value{
Returns the updated \code{"emulatorFit"} object.
}
\description{
Upda... |
be3882b8359069ff71d1491a31d17b1ffe29afd8 | f1d6b12c86bfa31aad41fb3cd0bdcc41a4cd55bd | /R/Snowdoop.R | 082d822101349298ca2fd6330d0f87d5af319cc4 | [] | no_license | edwardt/partools | da18d23c481ccdc4823293f4a61fd35217fc67d3 | 23b1a3259f0e14cc79ea2af4990803c72840fae0 | refs/heads/master | 2020-04-01T20:05:02.958542 | 2015-01-31T06:58:18 | 2015-01-31T06:58:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,211 | r | Snowdoop.R |
# suppose we have a file basename, stored in chunks, say basename.001,
# basename.002 etc.; this function determine the file name for the chunk
# to be handled by node nodenum; the latter is the ID for the executing
# node, partoolsenv$myid, set by setclsinfo()
filechunkname <- function (basename, ndigs,nodenum=NULL) ... |
90dbb31dd5f438b82190fb57c024af489292137b | 2125e4f724f672459a881235aa2e9ef63433be83 | /Course 2 : R Programming/best.R | 7948166294843f391abd93ab3c63ff0cf492b58b | [] | no_license | wuthmone/Data-Science-Specalization-Coursera | 779e082f916a6b4a5a28057524f09b961f828091 | d65580fbbe7eab4aa6a3cce6822a4d4a1a9610c6 | refs/heads/master | 2020-06-26T03:43:38.459101 | 2017-03-24T15:32:03 | 2017-03-24T15:32:03 | 74,551,700 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,475 | r | best.R | best <- function(state, outcome) {
## Read outcome data
stored_data <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
## Check that state and outcome are valid
try(if(state %in% stored_data$State == FALSE ) stop(" invalid state\n"))
try(if(outcome %i... |
cb3403fefdb5c5884fae62d9224ef25b55e7e4b1 | 5e602844e9bdf90b2ec51b4f8b985f765934a63d | /ExceptionalDayandEffectFormat.R | d81bffe51eb6d2c952c0521e5ffa40f681f3a975 | [] | no_license | Xiaoxi-X-G/CallCentreSS | 2a69927998208796240b032fe1590f3281857e4d | fc82a9430b3db91597a04f09005d4a365a7c56f3 | refs/heads/master | 2021-01-24T11:28:14.634839 | 2016-10-07T01:43:42 | 2016-10-07T01:43:42 | 70,206,941 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,619 | r | ExceptionalDayandEffectFormat.R | ExceptionalDayandEffectFormat<-function(ExceptionalDays, FirstDate, FinishDateT){
## ExceptionalDatesCSV = ["ExceptionalDate","Annual","ForecastIgnoreHistory","ForecastDateSpecific","ExceptionalDayTypeID"]
## FirstDate, FinishDate.T = Character
## Output = list(ExceptionalDays, ProximityDays)
############... |
4cce95b955ecfe21c5d372ca8c39debe443ff50a | 900cd462c5476c83998b61cee8d258882fd48009 | /_build.sh | 8a0494176b29a2d9fb2705a2bf71779c2f9d8815 | [
"CC0-1.0"
] | permissive | sameerbhatnagar/parea_final_report | 25048d4675cc208392a501038f61b448f60101e6 | 6971edaf076e52498bcd8cf1ca898c29b73410c3 | refs/heads/master | 2021-01-21T19:07:07.563759 | 2017-05-23T02:20:20 | 2017-05-23T02:20:20 | 92,117,335 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 103 | sh | _build.sh | #!/usr/bin/env Rscript
devtools::install_github('rstudio/bookdown')
bookdown::render_book("index.Rmd") |
197b099d15766758f48fc10907e0c5ad5e841097 | 4cf0636708dd7d1a4afab0ba56de36498f0b16bc | /src/figure-dmem-decay.R | ce1de17553dc69d59f08aedc3e437989d3bf0238 | [] | no_license | dylanhmorris/heat-inactivation | ec093fc6131c8ac186f6189518dc3e7c4f2142ea | e8bd816b54a9dcb2f522d0837cdf72087c12e189 | refs/heads/main | 2023-06-18T05:16:04.143711 | 2021-01-14T04:54:23 | 2021-01-14T04:54:23 | 286,523,386 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,300 | r | figure-dmem-decay.R | #!/usr/bin/env Rscript
########################################
## filename: figure-dmem-decay.R
## author: Dylan Morris <dhmorris@princeton.edu>
## plot figure showing decay in heat-treated
## dmem for all dmem options
#######################################
script_packages <- c(
'rstan', # stan interface
... |
7d17a71287c087aac65d5fab30777e36fc6b904f | ec2b9803a923d928751c76bbf1c31227928bffc9 | /R/model.setAP.R | 921c66057db106feee30bb7ffe2842a939858a02 | [] | no_license | cran/BRugs | a5106711a3f8d3fa0adb91465df235e0f27a1b18 | acafa2035e6ef39e566085026eeabf67cd1361cd | refs/heads/master | 2023-05-27T11:23:45.986896 | 2023-05-15T05:52:29 | 2023-05-15T05:52:29 | 17,677,954 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 417 | r | model.setAP.R | "modelSetAP" <-
function(factoryName, adaptivePhase)
# Set the length of adaptive phase
{
name <- sQuote(factoryName)
command <- paste("UpdaterMethods.SetFactory(", name,
") ;UpdaterMethods.AdaptivePhaseGuard;",
"UpdaterMethods.SetAdaptivePhase(",
... |
1f09b255d34ff785ca615e7e1072cdf012e51972 | 7988d042d1b710dbf2f37ed5a6627a6f6ecaf4e5 | /R/runCmd.R | dce6b61203ecbe98ed64f015f43a29dfc5426c59 | [] | no_license | anilchalisey/juggleR | c67231aa114c41a7d9d25fd344556d230c28746c | 253bc5907ea29e334005cc97fb5e21d7cec2ad97 | refs/heads/master | 2020-03-29T06:07:16.738113 | 2018-09-20T13:30:51 | 2018-09-20T13:30:51 | 149,610,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,752 | r | runCmd.R | #' Run command via Bash directly from R
#'
#' Allows users to run Bash commands directly from within R.
#' This will only work in WIndows if WSL has been set up.
#'
#' @param cmd the system command to be invoked, as a character string.
#' @param intern a logical (not NA) which indicates whether to capture the
#' outp... |
92166af629735b0238bb3626a1572553d52fbd0d | 9c897a22a561ca7735825bcd8c2fcc3419399e2f | /app/R/messages.R | 6e17f7388b7aff4442d15f767eff01b3a3c3d867 | [
"Apache-2.0"
] | permissive | FujitsuLaboratories/COMEVIZZ | d2fafb57dd61e0e7562d10eff2dba86b7ddbe3ef | 1b81556d6c04c2cebe7613d16e17981f98d01a1f | refs/heads/master | 2021-09-13T07:09:34.649744 | 2018-04-26T11:08:49 | 2018-04-26T11:08:49 | 106,528,776 | 92 | 9 | Apache-2.0 | 2018-04-26T11:08:50 | 2017-10-11T08:45:46 | R | UTF-8 | R | false | false | 3,959 | r | messages.R | Messages <- setRefClass(
Class = "Messages",
fields = list(
lang = "character",
translation = "list"
),
methods = list(
initialize = function() {
lang <<- "en"
translation <<- list(
"title" = list(
"en" = "COMEVIZZ"
),
"projects.datasources.title" = list... |
4a4eb45a632bf1ccb896fb567c2e21063f081129 | 5e14f843a1632ad9a1f39fae30b409944c56d931 | /WorkingCodes/generateClassifierAttributes.R | 6e15babeaa1b29d2948397eaa7112e7ce76a218a | [
"MIT"
] | permissive | sahas3/turbine-damage-probability | 1bd28acc0c3bba160786267a02cffdc47be084b6 | 911c0a2b215d29244a4379c536b5af8b53e72578 | refs/heads/master | 2021-01-11T12:26:27.875272 | 2016-12-16T16:03:55 | 2016-12-16T16:03:55 | 76,664,226 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,218 | r | generateClassifierAttributes.R | # generate all attributes for the turbines
generateClassifierAttributes <- function(StormData, # lightning data set : data-frame with columns
#
TurbineData, # turbine data set : data-frame with columns lot, lat, x, y
... |
c4b519c55a59706e5beb808509a32ddc9d10202e | b6bc8e750b13025ada2dc74c1121df4f7b39a20e | /R/Brazil.R | ba47b4627a97e2874e9fe089955bdb9787daeb52 | [
"MIT"
] | permissive | epiforecasts/covidregionaldata | 7f299a792fb8298c4dd14c9aaa9ad0593f1f02a8 | bc7bc24761ccc8acbfcd9380553696eaf5ce524e | refs/heads/master | 2023-04-19T05:33:04.357360 | 2022-05-25T14:37:00 | 2022-06-20T09:56:40 | 271,601,189 | 36 | 26 | NOASSERTION | 2022-06-20T09:56:42 | 2020-06-11T16:58:38 | R | UTF-8 | R | false | false | 4,894 | r | Brazil.R | #' Brazil Class for downloading, cleaning and processing notification data
#' @description Information for downloading, cleaning
#' and processing COVID-19 region data for Brazil.
#'
#'
#' Data available on Github, curated by Wesley Cota:
#' DOI 10.1590/SciELOPreprints.362
#'
#' @source \url{https://github.com/wcota/c... |
8a28f51e5ff8a80a2ca9b26c075f05764a972c59 | 4add474db49f93935f1d0e22ca4158345c172f5c | /R/pcaMatrix.R | 8030ab79f2a5d64ec16ac73401c9367b3f9f2236 | [] | no_license | joeburns06/hocuspocus | f0b46d7845d1dbf1636a0279fc6c382cb2d68e02 | 67ab848e93fbafdadb3759bf64f18e4ac4717bfc | refs/heads/master | 2021-01-18T23:50:16.776976 | 2016-06-22T12:07:36 | 2016-06-22T12:07:36 | 45,411,569 | 3 | 4 | null | 2016-06-22T12:04:22 | 2015-11-02T17:51:24 | R | UTF-8 | R | false | false | 33,645 | r | pcaMatrix.R | #' Generate a series of plots comparing the first 10 PCs of a PCA analysis.
#'
#' Takes ExpressionSet object, performs PCA on the transposed expression matrix,
#' then plots the projections of the sample scores on the first 10 PCs.
#'
#' @param cellData ExpressionSet object created with readCells (and preferably
#' ... |
c2eb8f21fbdf2b48d8e42a98a279b655c564e33a | 08eef8b893084b8353af55401f0f7ef67c285d64 | /Compare_2_db_result.R | ce33d720e972db75b35669077d66eb824a52838a | [] | no_license | imxiaow/IncRNA_2018_XW_430 | 8a174340bb6d275504cbb70d55c3252bbf36378a | 7b4095d47965e75046e29cad4c6a55d1636ae3b8 | refs/heads/master | 2022-01-06T20:15:09.753881 | 2019-06-01T17:41:21 | 2019-06-01T17:41:21 | 189,761,075 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,125 | r | Compare_2_db_result.R | #==================================================
if (! require(biomaRt, quietly=TRUE)) {
if (! exists("biocLite")) {
source("https://bioconductor.org/biocLite.R")
}
biocLite("biomaRt")
library(biomaRt)
}
if (!require(igraph, quietly=TRUE)) {
install.packages("igraph")
library(igraph)
}
if (!require(r... |
9c6168e616039d12eede00905ee1eef961c556c1 | bf3f6ce3ce546b0bd8c684b735503f72bc9bdc8a | /R/data.R | c5b88b3778864f7f9e0f62dd34740899a73e1cc8 | [] | no_license | DudbridgeLab/indexevent | e40e958792fbab9c284655455145918219ddbf50 | 381e5f622f3b05d586e11892880d0b1895b96e58 | refs/heads/master | 2021-06-19T01:58:04.780623 | 2021-01-22T14:23:11 | 2021-01-22T14:23:11 | 141,335,840 | 2 | 1 | null | 2021-01-22T14:23:12 | 2018-07-17T19:44:06 | R | UTF-8 | R | false | false | 1,696 | r | data.R | #' Simulated effects on incidence and prognosis
#'
#' A simulated dataset consisting of regression coefficients on incidence and prognosis, with their standard errors,
#' for 10,000 variables (eg SNPs). 500 variables have effects on incidence only, 500 on prognosis only, and 500 on both.
#' The effects on incidenc... |
aef28eb686e74f7d91c3594296a3915709206589 | 2d00505c7940f1bd1dcff122aa1e8bbd5d2edea2 | /R/convertRValue.R | 57b0658a7ccb536185ed2379f11beda25bdc7f16 | [] | no_license | kashenfelter/RGCCTranslationUnit | cb647e6c57e78656bb196e68834d60fd664e66cd | 1bd45f5589516334afa57a75e936d2a36ff943b6 | refs/heads/master | 2020-03-23T00:32:22.815755 | 2013-04-21T21:38:45 | 2013-04-21T21:38:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,721 | r | convertRValue.R |
setGeneric("convertRValue",
function(to, name, parm, parameters, typeMap = list(), helperInfo = NULL) {
if(is(parm, "ResolvedTypeReference"))
parm = resolveType(parm)
if(is(parm, "PendingType")) {
parm = resolvePendingType(parm)
... |
180c416754fee443b05184a19660943f967c815b | b8dd5c4b5a58c85058f697adf2ae3305e8cf770f | /stephen_kiilu_SRR1.R | ae8684b71259c71d60f4c53f3ba4e2f6c0a142c6 | [] | no_license | stephenkiilu/STATISTICAL-REGRESSION-WITH-R | 569975fa1f6c214071a5299541251a0a31c09e81 | de35ac5997e9465ee6bc971681d7d29c3dfbf606 | refs/heads/main | 2023-02-13T18:00:57.897158 | 2021-01-02T13:38:51 | 2021-01-02T13:38:51 | 326,189,374 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,690 | r | stephen_kiilu_SRR1.R | ##loading data
library(ggplot2)
death_rates <- read.csv("~/AIMS/REVIEW PHASE/REGRESSION WITH R/Assignment/Stats Regr - Homework1/death_rates.csv")
attach(death_rates)
death_rates
##Slicing the data
data=death_rates
attach(data)
male=data[1:31,]
female=data[32:62,]
##Question ONE
##Summary of age in the ... |
780d1cdbd69800e471fdb2f42e0a9bc1a247b860 | e5c25fe0ac126440c0f1f44c46adbb06908627ce | /scratch/OldScratch/BackupBeforeBigChanges20190310/R/SGGP_append_fs.R | 47f4793e89b19ae2acd2d78e8f046cbbb8fe685f | [] | no_license | CollinErickson/CGGP | e36638c490f3a6c61566d8533e821f9b7e7906ba | 0752b6cef2cf991d8cceef0f5df783bb0637f51e | refs/heads/master | 2022-09-06T23:36:29.559748 | 2021-05-09T15:00:53 | 2021-05-09T15:00:53 | 150,596,466 | 2 | 2 | null | 2022-08-30T08:19:15 | 2018-09-27T14:04:24 | HTML | UTF-8 | R | false | false | 26,706 | r | SGGP_append_fs.R | #' Calculate MSE over single dimension
#'
#' Calculated using grid of integration points.
#' Can be calculated exactly, but not much reason in 1D.
#'
#' @param xl Vector of points in 1D
#' @param theta Correlation parameters
#' @param CorrMat Function that gives correlation matrix for vectors of 1D points.
#'
#' @retu... |
ef3d79335847328d3b3630c83f04aac5e2d19d90 | db78542ec83aa66cb8a543a94463bb99c58151e7 | /02 Intermediate R/302 Func inside Functions.r | a6527b7111f3373ad4bf62234632bc603580ab1c | [] | no_license | chunhuayu/R-Learning | 59ee2567fb910c5124492da84603069ee5b9e2f1 | 36ede3bb562dca07029a8411e230b970e69f22e5 | refs/heads/master | 2020-05-09T14:59:05.094442 | 2019-06-29T03:06:52 | 2019-06-29T03:06:52 | 181,216,574 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 958 | r | 302 Func inside Functions.r | ### Functions inside functions
# You already know that R functions return objects that you can then use somewhere else.
# This makes it easy to use functions inside functions, as you've seen before:
speed <- 31
print(paste("Your speed is", speed))
# Notice that both the print() and paste() functions use the ellipsi... |
cc5079385ad336527c921382fb936be521872e14 | 6e7af9b27cf18bb4633ad9d0b63a7e8ed9a887fb | /man/plot_ranges_pLigand.Rd | 0b0b18dbce47d50fc2f16639269e9432baa9da18 | [
"MIT"
] | permissive | ApfeldLab/SensorOverlord | 0fc62dd3c11b702cd477d0692085ea7be46911a7 | 2fbe7e0d0963561241d5c1e78dd131211e1b31a0 | refs/heads/master | 2022-12-27T15:20:27.343783 | 2020-10-13T23:28:48 | 2020-10-13T23:28:48 | 176,821,341 | 2 | 0 | null | 2020-06-14T15:37:09 | 2019-03-20T21:40:17 | R | UTF-8 | R | false | true | 1,343 | rd | plot_ranges_pLigand.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{plot_ranges_pLigand}
\alias{plot_ranges_pLigand}
\title{Takes in a ranges_df dataframe and makes a plot (for pLigand).}
\usage{
plot_ranges_pLigand(ranges, ylim = c(1, 14), by = 1, ylab = "pLigand")
}
\arguments{
\item{ranges}{A... |
e8805a9697b3964840e31c1b1bfbb78ef69b0e4e | a0a00d56191541ecd569b2f4ba6310ee4abe073b | /man/var.sel.boruta.Rd | 02aefe4d9f49b08b1d6dc1912b20c5b2e87f9c79 | [] | no_license | silkeszy/Pomona | 72bcdac9395e742a6ad51c2de7601842e0889508 | cdb2c35793c2e05729f8be205eac7e0319c4266c | refs/heads/master | 2023-01-24T17:34:28.307309 | 2022-02-23T13:14:00 | 2022-02-23T13:14:00 | 89,244,056 | 6 | 5 | null | null | null | null | UTF-8 | R | false | true | 2,723 | rd | var.sel.boruta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/variable_selection_boruta.R
\name{var.sel.boruta}
\alias{var.sel.boruta}
\title{Variable selection using Boruta function.}
\usage{
var.sel.boruta(
x,
y,
pValue = 0.01,
maxRuns = 100,
ntree = 500,
mtry.prop = 0.2,
nodesize.prop =... |
14184ab50ddfbf1a4a95c13c4c59a9db8f7fb01d | cf294059ae844d1d2abfcc989e5e04ee124fe37b | /man/rmPeakList.Rd | 8d4c6fd1ccf1d5618d7d729a4f257f8285e2e5ef | [] | no_license | camilleroquencourt/ptairMS | 3557ba24e722508590a79c35f0c999d6ae186124 | 491ff08df3b2a07808db363dca961459a8aa3944 | refs/heads/master | 2022-08-19T04:05:01.232422 | 2022-06-30T14:11:08 | 2022-06-30T14:11:08 | 226,823,108 | 7 | 2 | null | 2020-03-18T10:30:49 | 2019-12-09T08:35:15 | R | UTF-8 | R | false | true | 757 | rd | rmPeakList.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SetMethods.R
\name{rmPeakList}
\alias{rmPeakList}
\title{remove the peakList of an ptrSet object}
\usage{
rmPeakList(object)
}
\arguments{
\item{object}{ptrSet object}
}
\value{
a ptrSet
}
\description{
This function is useful when you want t... |
f5cb8c22c16817182307215a2695a4cd8b3b68de | 874264d93ac74c663edf4574460ce3cb29078273 | /CuffDiff/150520_find noncoding.R | 3e1a0495f462533910ea10d57016f0c5636f41fc | [] | no_license | PaulEssers/RNAseq_Irs1 | 12203e5f062f04705d3c5b7496aca045a49dba89 | f38ac967d3a7c9edb1722510bfe9584f19f6eaa7 | refs/heads/master | 2021-01-10T16:03:22.228933 | 2015-11-03T14:48:12 | 2015-11-03T14:48:12 | 45,472,328 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,443 | r | 150520_find noncoding.R | load("C:/Users/PEssers/PowerFolders/Projects/IRS1-hypothalamus/Analysis/150513 CuffDiff (no bias correction)/cuffdiff_no_options/allGenes.Rdata")
load("C:/Users/PEssers/PowerFolders/Projects/IRS1-hypothalamus/Analysis/150513 CuffDiff (no bias correction)/cuffdiff_no_options/regulatedGenes.Rdata")
all.ncRNA<-allGene... |
3f67b76e28ee376fb32d2d2fb65e5cc322962fec | f3bbc879600ff372f713d7570ed25c307f09a75b | /names/changeInSlope.R | 89662b5d3f145aec5b66829a61295953c0a4a485 | [] | no_license | lauracova/senior_project | 3f73fd3368087c848f0b4ec2d3939a8d51fb0bc5 | 9d15734b6c36c9c72ff65440df4462f95e09f106 | refs/heads/master | 2020-05-03T10:56:51.433338 | 2019-12-03T23:05:57 | 2019-12-03T23:05:57 | 178,590,651 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,052 | r | changeInSlope.R |
name <- read.csv(paste('data/splitnames/',"Laura",sep='','.csv')) %>%
filter(Gender == "F") %>%
group_by(Name, Gender, Year) %>%
summarise(Count=sum(Count))
p <- name %>% ggplot(aes(x=Year, y=Count))+
geom_line(size=2, color="lightpink2")+
geom_line(data=dat, aes(x=Year, y=slope))+
theme_minimal()+
... |
09696efc2b6b237b8315d99d3a9542d01cb8a066 | 91cccf3e851b5077d78574a2f012cc8254a8ba33 | /erikb-2018/samples_model-analysis_mle.R | 4c46ae52af4b1078d073ce111e4261f1ea39854a | [] | no_license | vullab/numberline | 5a28882c68a61145f0d9ffd13a261ef6fb573d35 | 43e599402b096cd050d056fd2caaaadd6da4e07c | refs/heads/master | 2020-04-04T00:05:21.995804 | 2019-11-15T22:36:20 | 2019-11-15T22:36:20 | 155,639,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,266 | r | samples_model-analysis_mle.R | ### README ###
#' This file examines the slope and cutoff fit across subject and model estimates
#' by running iterated fits of slope and cutoff and looking at how much fits
#' vary by subject.
#'
#' It uses functions in `samples_model-fxns_basic` to read the data and
#' then uses more advanced functions in `samples_m... |
88514bf6c57a3c77417d9cda9bc5dc12a2f643f8 | 3edd2989d3908a4a738267124e6a3c0f30fbaff8 | /codes/train.R | ebdf02c11033ce8fa60ebb5934fe8905af27e86b | [] | no_license | heyuan7676/Predict_contacts | 69588526424df576fd36bd84b6c761e43bed2956 | a202a1f31ddb1b9ccf6be616ea5a5ef8dc6cd107 | refs/heads/master | 2020-08-15T18:23:16.006358 | 2019-10-15T20:09:33 | 2019-10-15T20:09:33 | 215,387,295 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,815 | r | train.R | library(BayesTree)
library(neuralnet)
library(AUC)
library(randomForest)
library(e1071)
chr = "chr22"
### read in train data and test data
base_dir = "/scratch1/battle-fs1/heyuan/HiC/chromovar3d.stanford.edu/project"
data = read.table(paste0(base_dir,"/histone/chr22_60smp_train.txt"),header=T)
test_data1 = read.table... |
968bae22a591b5fead898ce070c59b9ce4108a7e | 8c36101c0716812a572b1dd91829aecede9d920b | /001_DNA/001_DNA.R | 2132b174e713d4f9132a805d79e59e79889c1c9d | [] | no_license | Humility-K/Rosalind | 3457a413b4a21cb40c5242f88e8ee940479b2590 | 0473510a2516d2c7a9c78dbb5e6e43bfe1894dc4 | refs/heads/master | 2021-05-28T21:59:40.151108 | 2015-03-27T14:28:36 | 2015-03-27T14:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 638 | r | 001_DNA.R | if(FALSE){
'''
My solution to Rosalind Bioinformatics Problem 001
Title: Counting DNA Nucleotides
Rosalind ID: DNA
Rosalind #: 001
URL: http://rosalind.info/problems/dna
Goal to count the number of each nucleotide in a string.
Note - To my knowledge, R does not possess a means
for multiline com... |
0d9a336529f9198808fd26ce75447c3121f9c13f | dbaeb60398f6cc9420d2dbd3ade57bce56aca2d1 | /R/plot_align.peaks.R | 4b24e4a93b4d49cd421480fde1d0b63586b707f2 | [] | no_license | dstreble/TLdating | 6125a9323a8b7c814323454dad4c436b1b189797 | ff7cbf39a67db240808f9b59d4135325744a42c7 | refs/heads/master | 2020-05-22T04:39:03.900638 | 2017-09-06T14:37:28 | 2017-09-06T14:37:28 | 52,873,093 | 5 | 1 | null | 2016-03-17T10:58:42 | 2016-03-01T11:51:17 | R | UTF-8 | R | false | false | 6,615 | r | plot_align.peaks.R | #' Plots mod_alignPeaks results
#'
#' This function plots the results obtained by mod_alignPeaks.
#'
#' @param temperatures
#' \link{numeric}: Vector containing the temperature step
#' @param old.TL
#' \link{numeric}: Matrix containing the luminescence signal before the peak alignment.
#' @param new.TL
#' \link{n... |
d5c0fac89c9299b2331ee0b0d938951fe580c93b | 50b7b8ec1cdd63aabc6dc3f436c59c1dc8e94b6f | /scr/preprocess.R | 5001cc5d6db8d1c8395acdb83ddcc812c6db2795 | [] | no_license | Maizi-22/MIMICIII-FB | bccde1f3ed9e76d4000984fcba71c1bdd57dbfa2 | 030378efbfc0c70f1e26a967b5d3792f37cf0a65 | refs/heads/master | 2021-10-09T11:26:47.909994 | 2018-03-06T07:25:22 | 2018-03-06T07:25:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,112 | r | preprocess.R | # data preprocess
library(readr)
data.raw.sepsis <- read_csv("~/Documents/R-projects/MIMICIII_FB/data/cache_data/sepsis_02012018.csv")
mv.duration <- read_csv("~/Documents/R-projects/MIMICIII_FB/data/cache_data/mv_duration.csv")[, c(2,6)]
expire28 <- read_csv("~/Documents/R-projects/MIMICIII_FB/data/cache_data/expire28... |
a40794164f4c5be92dba378c39713133ed3ce5b3 | 725cce758902d6d9db049e87dc211c40ff10921e | /R/select.siteWins.R | 09f3f04d3e6cc63bb6e9a3c049bd4d1f32c3ff3f | [] | no_license | yaomin/dptmethods | a589e21dbff91075cea72fbbed40626fa643acee | 846a42d01c05e1a27fec290498e011b0f05d6882 | refs/heads/master | 2021-01-17T10:33:38.755292 | 2013-07-11T23:54:16 | 2013-07-11T23:54:16 | 7,569,298 | 1 | 0 | null | 2014-10-13T15:59:10 | 2013-01-11T23:58:27 | R | UTF-8 | R | false | false | 248 | r | select.siteWins.R | select.siteWins <-
function(patt, wins, sites, chr) {
.wins <- wins[wins%over%sites[[patt]]]
.fac <- match(.wins, sites[[patt]])
.dt <- data.frame(chr, patt, cbind(.fac, start(.wins)))
names(.dt) <- c("chr", "pattern", "ID", "Win")
.dt
}
|
f278f05afac5b742f1862eacb6b2b45853b82ecd | d98b3682b95b7842d9d5fff74802a4bf0a5a7ccc | /R/mf_symb_choro.R | 6b9ab8d7d28f8e9790f8f40664e31edbfbc90fe7 | [] | no_license | riatelab/mapsf | f162a5049205a52431813015275ecb357de1de1a | 7ec386db24b1d89f7771598f68a1699cb289c1a9 | refs/heads/master | 2023-08-27T19:57:48.700425 | 2023-07-27T13:06:11 | 2023-07-27T13:06:11 | 274,923,318 | 206 | 24 | null | 2023-03-29T14:30:14 | 2020-06-25T13:28:50 | R | UTF-8 | R | false | false | 5,337 | r | mf_symb_choro.R | #' @title Plot symbols using choropleth coloration
#' @description Plot symbols with colors based on a quantitative
#' data classification.
#' @eval my_params(c(
#' 'x',
#' 'var',
#' 'border',
#' 'lwd',
#' 'add' ,
#' 'col_na',
#' 'pal',
#' 'cexs',
#' 'pch',
#' 'pch_na',
#' 'cex_na',
#' 'val_order',
#' 'alpha',
#' 'brea... |
fced1cbb15ab6ce6bf9369bcc6a199e337ffb8fa | 24f87379e0ac9cd2c8ac63df51c049302604fd9d | /R/logLik.grm.R | 304c37a5d076490938effd8b8cbb130137b3dd6b | [] | no_license | swnydick/catIrt | 9cab5b0e200d25623871446dca92a1a7163c02c0 | e2ed85ef698bce65adcd26e99f7918aea312bb2d | refs/heads/master | 2022-06-14T07:55:48.241525 | 2022-05-25T21:58:38 | 2022-05-25T22:16:42 | 34,589,723 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 954 | r | logLik.grm.R | logLik.grm <-
function( u, theta, params,
type = c("MLE", "BME"),
ddist = dnorm, ... ) # ddist and ... are prior distribution stuff
{
# u is the response, and x are the parameters.
type <- type[1]
# Then turn params into a matrix and determine stats:
params <- rbind(params)
## Calculating ... |
d09d8ac1b0a0998ed074f73c68c5b60279d56a15 | 1b5320354cc6157bf895c7422689da2c55d0466c | /R/utils.R | 693f5e5c7f5032330796d782707896dd8c49af9f | [] | no_license | afsc-gap-products/trawllight | c3c3e450792b47ee8d1774598f4197da1adc8a38 | 240ac9594c6817266159271cc63bf57dec219fa4 | refs/heads/main | 2023-04-14T01:15:24.227614 | 2022-12-14T15:37:35 | 2022-12-14T15:37:35 | 148,692,918 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,490 | r | utils.R | #' Open and bind rows of csv to data frame
#'
#' For use with AFSC/RACE/GAP data structure.
#'
#' @param directory Path to directory where csv files are stored.
#' @param string Unique pattern used in the csv files.
#' @export
csv_rbind <- function(directory, string) {
file.list <- grep(pattern = string, x = dir(d... |
4efcc4f152c28d75ff313c467d56260c2875864c | 5da32dcfa6ea1faaa3695d535629ec2e47bd0515 | /man/get_contents.Rd | 8f12f82335d75ee8179887dcc1dbd82679f04118 | [] | no_license | zdk123/simulator | 8f1c08bd33e8434190568c66ef0ec82975aa18b9 | a2492c09f63bd5cc81db9afeff97f06996955faa | refs/heads/master | 2021-01-10T23:05:40.215258 | 2016-09-21T16:18:41 | 2016-09-21T16:18:41 | 70,423,951 | 0 | 0 | null | 2016-10-09T18:57:24 | 2016-10-09T18:57:23 | null | UTF-8 | R | false | true | 638 | rd | get_contents.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/manage.R
\name{get_contents}
\alias{get_contents}
\title{Get the contents of a simulator directory}
\usage{
get_contents(dir = ".", out_loc = "out")
}
\arguments{
\item{dir}{name of the directory where directory named "files" exists}
\item{o... |
e88806a564dc8429fd800884bc47f7e34c85edb6 | 964bdb6b6bd703408250848d5f1fcc422a2ce452 | /R/overlap-analysis.R | f589c7aae112b3649ee5c64c732ae9d6b740f90b | [] | no_license | jennasimit/BOAT | d0c654ebb8a0f86119d31c4c4d39ef30a0afb2b9 | ac1a724f5625675d2c3b7b67328a5d26bc7c1f53 | refs/heads/master | 2021-05-03T21:13:31.742174 | 2018-02-06T00:30:11 | 2018-02-06T00:30:11 | 120,379,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,872 | r | overlap-analysis.R | ftrait1=args[1] #trait1 output from summary-stat-overlap.R
ftrait2=args[2] # trait2 output from summary-stat-overlap.R
R=as.numeric(args[3]) # ratio of costs = type II error cost/ type I error cost
pi0=as.numeric(args[4]) # Pr(H_0); enter as a constant initially, but can also form it as a function
alpha=as.numeric(arg... |
57fffd3d825b1e8daa34e9c8b212df764df40c2e | 804f16080663d973c2c174cf312b7a6f012d48c4 | /projects/.Rproj.user/AE40687E/sources/s-6BDE1DB6/810E882D-contents | 35149d7f9de809c52ec6b3f160971d246c6625a2 | [] | no_license | farrukh-ahmed/ics | 90457de8cb18965ff911bcaa3ff6632785987cff | 1d4f5c1cba9ff748e62e2d77133236645e10e553 | refs/heads/master | 2023-08-19T18:51:17.927774 | 2021-10-20T22:28:36 | 2021-10-20T22:28:36 | 419,505,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,739 | 810E882D-contents | #TASK-1
transform(table(data2020$Region,dnn = "Region"))
transform(table(data2020$Subregion,dnn = "Sub-Region"))
fertilityBreaks <-seq(50.0,95.0,by=5);
transform(table(cut(data2020$Total.Fertility.Rate,fertilityBreaks),dnn = "Total Fertility Rate"))
breaks <-seq(1.0,8.0,by=1);
transform(table(cut(data2020$Life.Exp... | |
f5909e9089a063dc31b50e420ed51e0b7d5769fc | 0e4548e316769ab5b300857e594e6aec439b2ef0 | /R/Urn.R | 243da145ea86781726318d14bfda769f3480bfc0 | [] | no_license | Euphrasiologist/GOL | cc366eeb1afdf5f1d54bfc35a406266c5beecbce | 33566734257a4cde9e3309b610b0535f84178636 | refs/heads/master | 2020-06-04T16:40:09.591860 | 2019-06-24T22:25:52 | 2019-06-24T22:25:52 | 192,107,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,015 | r | Urn.R | #' Urn function
#'
#' Implementation of the urn game.
#' @param red number of red balls
#' @param black number of black balls
#' @param trials number of trials in game
#' @keywords urn, gamesoflife, genetics
#' @export
#' @examples
#' urn(1,1,1000)
urn <- function(red, black, trials){
require(data.table); require... |
ef19ace40e30c2de656565bab5bef1a4be2f9710 | 90713f63fef198d6525095d0b7569f5a1de31c75 | /Scripts/0_Data_Download/8_Download_SNVs_from_MC3_TCGA.R | 6f0c42c3a686e20bacffaa36f75e5eb0d35346d2 | [] | no_license | ALPH123/Age-associated_cancer_genome | 2c2fef2b7854b5032455accb8787a96da835def3 | 580877f9524adb6129a3ca1848dc7330a1248bab | refs/heads/master | 2023-04-11T00:20:40.474103 | 2021-04-22T08:40:17 | 2021-04-22T08:40:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 136 | r | 8_Download_SNVs_from_MC3_TCGA.R | ### Somatic mutation data was downloaded from https://gdc.cancer.gov/about-data/publications/mc3-2017
### mc3.v0.2.8.PUBLIC.maf.gz file
|
89439a383ff35d5126b375b0016e74ac646fe5f2 | 8dd039cef4960a7296559c4f7595335765ff1c1e | /Dog Breed Classifier Training/get_Dog_Prediction.R | e727065e610a7c705f8a8d53a4301fabe2478bcd | [] | no_license | Frank5547/Dog-Breed-Classifier-with-Shiny-App-Deployment | 8762a255b90083a2fff6f5eb4e1d95acacf40ec4 | a831eea88d7d50f400bb50d5b4580c9b242c59b5 | refs/heads/master | 2021-05-18T20:38:21.038581 | 2021-02-02T00:04:38 | 2021-02-02T00:04:38 | 251,409,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 695 | r | get_Dog_Prediction.R | #####################################
# get_Dog_Prediction.R
# Inputs
# - image: the path to an image file
# Outputs
# - prediction: a list containing the top 3 dog breed prediction and their likelihoods
# Creator: Francisco Javier Carrera Arias
# Date Created: 03/29/2020
###################################... |
546a0621ea2ea542c3641a48c8be9aac40282572 | 79b935ef556d5b9748b69690275d929503a90cf6 | /man/quadrat.test.Rd | c1041546056699a1d8a2fddd1bb0992afa06e26e | [] | no_license | spatstat/spatstat.core | d0b94ed4f86a10fb0c9893b2d6d497183ece5708 | 6c80ceb9572d03f9046bc95c02d0ad53b6ff7f70 | refs/heads/master | 2022-06-26T21:58:46.194519 | 2022-05-24T05:37:16 | 2022-05-24T05:37:16 | 77,811,657 | 6 | 10 | null | 2022-03-09T02:53:21 | 2017-01-02T04:54:22 | R | UTF-8 | R | false | false | 11,478 | rd | quadrat.test.Rd | \name{quadrat.test}
\alias{quadrat.test}
\alias{quadrat.test.ppp}
\alias{quadrat.test.quadratcount}
\alias{quadrat.test.ppm}
\alias{quadrat.test.slrm}
\title{Dispersion Test for Spatial Point Pattern Based on
Quadrat Counts}
\description{
Performs a test of Complete Spatial Randomness
for a given point patt... |
40d170801e1d2c8f8b87971933f6f9380d63763d | c7daf6d40483ed719ec1cfa9a6b6590df5bcdd5c | /products/Introduction_to_Computational_Science_Modules/02_System_Dynamics/R/R_Computational_Toolbox_Files/fire_R/applyExtended.R | 1603badc5a190a1145f0093111fc6ab267563880 | [] | no_license | wmmurrah/computationalScience | b28ab2837c157c9afcf432cc5c41caaff6fd96d1 | a4d7df6b50f2ead22878ff68bfe39c5adb88bbbb | refs/heads/main | 2023-06-01T17:40:29.525021 | 2021-06-20T01:42:54 | 2021-06-20T01:42:54 | 332,249,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 612 | r | applyExtended.R | applyExtended = function(latExt, probLightning, probImmune) {
# APPLYEXTENDED - Function to apply
# spread(site, N, E, S, W, probLightning, probImmune) to every interior
# site of square array latExt and to return the resulting array
n = nrow(latExt) - 2
newmat = matrix(c(rep(0,n*n)), nrow = n)
for (j in 2:(n + 1))... |
af0b38623f4d67e4967c24a8f17e2be33a7e59e2 | 64a5e8d9a68fbe60d24ce9a78b5e027e5e9d6783 | /Assignment2/Assignment2.R | cd15bd8e0d2854efdf429e70dbe02a9e7435b02f | [] | no_license | DannyGsGit/UW_DS350 | bf30d6f93de95defa798a6058300265bffc12abd | 1b4bb55fa91cec25bf10c6f9f9827908c8667c18 | refs/heads/master | 2020-04-10T21:25:35.558421 | 2016-10-11T00:47:26 | 2016-10-11T00:47:26 | 62,099,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,197 | r | Assignment2.R | #### Assignment 2 ####
# Prepared By: Danny Godbout
# Goal:
# Write an R-script to compute the Monty Hall Probabilities with
# simulations (get probabilities AND variances for switching and
# not switching).
#### Monty Hall Simulation Function ####
# Setup: 3 doors; 2 = Goat, 1 = Car
# 1- Pick a door
# 2- Host ope... |
e9ae9f5e2cf82a1087a1031f84028f80f9813592 | fde6257c1dd48fb58f74cdf84b91d656f00bf7f1 | /R/npn_geoserver.R | 1e4c8cffabba63ef323670e1ac34136b8e53141c | [
"MIT"
] | permissive | tufangxu/rnpn | c366fe385d738e5de0b48bc287198e5a7b168922 | b8c0271e9a55c865135fcea8a633b877afb8575f | refs/heads/master | 2020-03-29T04:10:13.770308 | 2018-05-14T17:49:36 | 2018-05-14T17:49:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,257 | r | npn_geoserver.R |
#' @export
npn_download_geospatial <- function (
coverage_id,
date,
format = "geotiff",
output_path = NULL
){
z = NULL
if(is.null(output_path)){
z <- tempfile()
}
url <- paste(base_geoserver(), "coverageId=", coverage_id, "&SUBSET=time(\"", date, "T00:00:00.000Z\")&format=", format, sep="")
pr... |
565072a160b7d0df4ba727aec2af5b5707515850 | 1626f4e1e5644a9dce31401d02dff7b6aa1e3db2 | /exercise-2/exercise.R | 1fb111b1d80a19ffc91315e2b9e0adefe5f15d36 | [
"MIT"
] | permissive | Yubo-W/m7-vectors | cedd10d194de649e5233c086e065c6d4128b873b | b67daef13433fb26c8e58a069ffb2ae654f176ae | refs/heads/master | 2020-05-29T08:47:56.640795 | 2016-10-11T20:46:39 | 2016-10-11T20:46:39 | 70,196,403 | 0 | 0 | null | 2016-10-06T21:56:39 | 2016-10-06T21:56:38 | null | UTF-8 | R | false | false | 1,573 | r | exercise.R | # Exercise 2: Subsetting and Manipulating Vectors
# Create a vector `x` that the numbers 5,2,6,2,1,7
x <- c(5, 2, 6, 2, 1, 7)
# Create a vector `y` that has the numbers 2,3
y <- c(2, 3)
# Create a vector `z` by adding (not combining, but adding) `x` and `y` (note the recycling!)
z <- x + y
# Create a vector `first.... |
5019663b75dd713c2cca73fe12150d7c8a35f365 | 19ffb430a323bc8a207be7a08e1b716cd215b8fe | /RsNlme/R/estimates.r | 445c32054ba4e976d2e5ff15454cfcffe08e34b7 | [] | no_license | phxnlmedev/rpackages | 51b9bd9bf955e7da7a3dc4ca6f13b32adfd3f049 | 59dafc62c179d98407c4fbcbb4936786d71ee6a5 | refs/heads/master | 2020-05-07T20:12:28.132137 | 2019-07-23T11:58:39 | 2019-07-23T11:58:39 | 180,429,234 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,193 | r | estimates.r |
#' @import shiny
#' @import ggplot2
#' @import graphics
NULL
#'
#'@export
#'
generateInitialEstimatesInputAscii <-function(fileName,thetas,variables,sweepStart,sweepLength,numSweepSteps){
outFile=fileName
cat(length(thetas),file=outFile,append=FALSE,sep="\n")
tnames=names(thetas)
for ( n in tnames ) {
... |
56aefb29e5e1b5a59b819476a5c2d0d8f1a7cfcd | 626084f27dc732fe9e36bd78ef336a7ee8c91d8c | /Sesion 1/Retos Sesion 1/reto_1_s1.R | 108c4630d277adb66746ce675f2ade35382747d0 | [] | no_license | ejgonzalez17/BEDU-Data-Science | 299b02d05f96779c1af4433e708025e5bab37e60 | 35066c3ce45adde3c9962d6c70a996643315b3b8 | refs/heads/main | 2023-02-25T22:18:00.957070 | 2021-02-03T17:46:54 | 2021-02-03T17:46:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 244 | r | reto_1_s1.R | netflix <- read.csv("https://raw.githubusercontent.com/ecoronadoj/Sesion_1/main/Data/netflix_titles.csv")
dim(netflix)
typeof(netflix)
str(netflix)
net.2015 <- netflix[netflix$release_year > 2015, ]
write.csv(net.2015, "netflix_release2015")
|
0b02624d10017005c043c0a4c849a85751f3230d | 5f13c75db818d549fab5fa1d57464858b766ee4f | /predict_weather.R | 384bef0d7c3780e63ebdcbf6320b02d4f03d79a5 | [] | no_license | JengsHub/DataAnalytics | 614647f9c6db6fe7142e3bda56526639ef8ef811 | 4fab2c1d129ad08d52edcc35da9e795a801b84ba | refs/heads/main | 2023-04-20T14:40:21.768965 | 2021-05-25T16:10:00 | 2021-05-25T16:10:00 | 370,746,989 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,403 | r | predict_weather.R | rm(list = ls())
# set to working directory
options(digits=4)
#Reading the data
WAUS <- read.csv("CloudPredict2021.csv")
L <- as.data.frame(c(1:49))
set.seed(29637996) # Your Student ID is the random seed
L <- L[sample(nrow(L), 10, replace = FALSE),] # sample 10 locations
WAUS <- WAUS[(WAUS$Location %in% L),]
... |
9c87f139c909fc2cb351bba78a5da010ba40595c | 55e042f05ee3da0db86ecfb806c0e695382a843d | /tests/testthat/test-type-gitlab.R | ba4b257ea5c0638af687c08eb7e81b803f2b68ee | [
"MIT"
] | permissive | r-lib/pkgdepends | f507dfe031e34c994311ca9a139dda9a6d7e016a | a0f5132320498780c8b87ce8eb4f66e754906376 | refs/heads/main | 2023-08-03T15:56:48.339228 | 2023-07-19T09:13:42 | 2023-07-19T09:13:42 | 102,942,545 | 86 | 23 | NOASSERTION | 2023-09-11T20:44:59 | 2017-09-09T09:17:38 | R | UTF-8 | R | false | false | 2,455 | r | test-type-gitlab.R |
test_that("resolve", {
skip_on_cran()
tmp <- tempfile()
on.exit(unlink(tmp, recursive = TRUE), add = TRUE)
p <- suppressMessages(new_pkg_installation_proposal(
"gitlab::gaborcsardi/cli",
config = list(library = tmp)
))
suppressMessages(p$resolve())
res <- p$get_resolution()
expect_snapshot({
... |
ca69ec129a60f3465de0d5793f95c3a5451d7cf2 | e88bf4703d84c3eed28d78adcd7158ae0a51acdb | /demo.R | 810f86d034591badf02f2d3f77c9de8ac77a7adf | [] | no_license | TomKellyGenetics/TokyoR78 | bc85f18867cd6ba3c42bc7df93e15a86f1e675fc | 892761f7fc17b47454cb19dbaf19f509d90d0767 | refs/heads/master | 2020-05-26T21:21:37.845928 | 2019-05-24T07:46:15 | 2019-05-24T07:46:15 | 188,377,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,672 | r | demo.R | # input data
system("wget raw.githubusercontent.com/swcarpentry/r-novice-gapminder/master/data/gapminder_data.csv")
gapminder_data <- data.table::fread("gapminder_data.csv", data.table = FALSE)
dim(gapminder_data)
head(gapminder_data)
# let's take a basic task (that we want to do many times)
mean(gapminder_data[gapm... |
406f0995a3891aeed68414f8da2c3de547179b50 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /IntervalSurgeon/inst/testfiles/rcpp_depth/AFL_rcpp_depth/rcpp_depth_valgrind_files/1609857934-test.R | 44b5a8438151dedc0574f9c42d080be5878bac8c | [] | 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 | 644 | r | 1609857934-test.R | testlist <- list(pts = c(-1261966754L, -129171080L, -642760964L, 779827246L, 1878602521L, -612794743L, 31959320L, -1933440006L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, ... |
3b963968b70426e92493b0cc66ac1475fd6ecff6 | 933c674278e2b3b8ebc0a90a70ac4fd629ac72e9 | /R/birthdeath.R | d07b7ff03528e60b0cd76c8dfbb9244f9ee8b51c | [] | no_license | dkahle/algstat | bc63249b8adca4005016939a6e7db11f5253ee01 | a705514d3a3c592361cd7ee222d1c743ed8808c9 | refs/heads/master | 2023-05-27T22:17:47.006699 | 2023-05-17T17:18:06 | 2023-05-17T17:18:06 | 27,615,285 | 14 | 11 | null | 2022-08-18T13:44:36 | 2014-12-05T23:50:12 | R | UTF-8 | R | false | false | 358 | r | birthdeath.R | #' Andrews/Herzberg Birthday and Deathday Dataset
#'
#' A two-way table cross-classifying birth and death days of 82 individuals.
#'
#' @name birthdeath
#' @docType data
#' @keywords datasets
#' @usage data(birthdeath)
#' @format A 12x12 (contingency) table
#' @references Andrews, D. and A. Herzberg (1985). \emph{Data}... |
3b867d95e082131d571aa91da8de2606944b75f2 | cb56caaec0011c69ea7b4ccc3457dd3845193efc | /Marport/match.set.from.gpstrack.marport.r | e637b3cb94267148fdd64948e78861c0094b808c | [] | no_license | jgmunden/misc | 585706725df283b03d0e09dc9f2299e824771358 | 471906bbc77a245762345fe4788b688743e7b34a | refs/heads/master | 2020-12-30T09:26:17.665780 | 2015-03-06T18:14:25 | 2015-03-06T18:14:25 | 31,780,116 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,537 | r | match.set.from.gpstrack.marport.r | match.set.from.gpstrack.marport=function( DS="post.perley", netswd=netswd ) {
DS.saved = gsub(".redo$", "", DS)
fn = file.path(netswd, paste(DS.saved, "meta", "rdata", sep= "."))
meta= NULL
if ( !grepl (".redo$", DS) ) {
if(file.exists(fn)) load(fn)
return(meta)
}
# Incorporation of newe... |
6d2d260c01299980ba6fa3dd627d94bcdbb24fe2 | 137c532a5e2a125a9e154c204b4c381e6e09123d | /Part 1/1_5.R | c36b392ff31ed339ec185d16898adefb0afcfee6 | [] | no_license | adrikayak/IP_network_traffic_measurement_and_analysis | bfa4d0d329b172fd739be1823df423fe3f1b38d4 | 9ff79a91f2a39a0ea41c37f4cab781a65e1f0673 | refs/heads/master | 2020-07-10T19:45:01.017669 | 2016-09-05T13:05:42 | 2016-09-05T13:05:42 | 67,352,910 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 2,869 | r | 1_5.R |
library(MASS)
setwd("C:/Users/Adrian/Dropbox/Universidad/1º de Master/2. Second semester/Network Traffic Measurement and Analysis/Assignments/Final Assignment/Part 2")
load(paste("C:/Users/Adrian/Documents/trace/data_bytes.RData", sep="", collapse = NULL))
bytes = data
rm(data)
gc()
#Histogram
jpeg("../Pictures/... |
e9774ce55bf7f6e2e3a1a86da946a2ac4dc2bec1 | d473a271deb529ed2199d2b7f1c4c07b8625a4aa | /NonLinearModels/PolynomialRegressionExample1.R | 910ee2d60ce5cd4d3ec1311162c079d4c8161fc2 | [] | no_license | yangboyubyron/DS_Recipes | e674820b9af45bc71852ac0acdeb5199b76c8533 | 5436e42597b26adc2ae2381e2180c9488627f94d | refs/heads/master | 2023-03-06T05:20:26.676369 | 2021-02-19T18:56:52 | 2021-02-19T18:56:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,305 | r | PolynomialRegressionExample1.R |
# regression polynomial
library(ISLR)
attach(Wage)
# poly argument makes it so you don't have to spell out: age+age^2+age^3+age^4
# poly function also produces regression in which each variable polynomial is
# orthogonal (ie: it reduces colinearity).
# It forms a matrix in which each column is a linear c... |
ba87fd338a8e83758ab3ac0b44137bc3c6e6df60 | b1111d0043c3ee6c936352914c005dcf0dfc36ff | /plot3.R | 433104dd533b8b193c4146680efeb6040747beb3 | [] | no_license | samadsajanlal/ExData_Plotting2 | 102025dbaaf3bfd3be08c5b108a19bb2fd5d7f68 | 5811394c8252164f46a65074597ce78402baa159 | refs/heads/master | 2020-12-31T00:18:36.222872 | 2015-11-19T23:27:28 | 2015-11-19T23:27:28 | 46,522,695 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,008 | r | plot3.R | ## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("summarySCC_PM25.rds")
#SCC <- readRDS("Source_Classification_Code.rds") #we don't need this data for this specific plot
#subset the data for Baltimore only using the fips code
baltimoreNEI <- NEI[NEI$fips=="24510",]
#aggregate the totals f... |
5fab91d82ae715338a0509ca33f2186dfab15424 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /sirt/R/lsem_fitsem_joint_estimation_partable.R | e1a2b4270aec2be4353c05194ab25461fd4240f5 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 575 | r | lsem_fitsem_joint_estimation_partable.R | ## File Name: lsem_fitsem_joint_estimation_partable.R
## File Version: 0.03
lsem_fitsem_joint_estimation_partable <- function(lavfit, G, par_invariant=NULL,
par_linear=NULL, par_quadratic=NULL)
{
partable <- sirt_import_lavaan_parameterTable(lavfit)
partable$start <- partable$est
partable_joi... |
ef9498ae034828e3405c04849c7e42ae68024dcd | 22057bf4f2eb001f739761e53a5578de578e6920 | /dam_paper_initial_version/seleceted.reazs/2_h/codes/parameters.R | b92d112db05abd4c38a92adf3a54064aed8a8182 | [] | no_license | mrubayet/archived_codes_for_sfa_modeling | 3e26d9732f75d9ea5e87d4d4a01974230e0d61da | f300fe8984d1f1366f32af865e7d8a5b62accb0d | refs/heads/master | 2020-07-01T08:16:17.425365 | 2019-08-02T21:47:18 | 2019-08-02T21:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,742 | r | parameters.R | rm(list=ls())
library("rhdf5")
start.time = as.POSIXct("2010-01-01 00:00:00",tz="GMT",format="%Y-%m-%d %H:%M:%S")
end.time = as.POSIXct("2015-12-31 23:00:00",tz="GMT",format="%Y-%m-%d %H:%M:%S")
time.ticks = c(
as.POSIXct("2010-01-01 12:01:01",tz="GMT",format="%Y-%m-%d %H:%M:%S"),
as.POSIXct("2010-07-01 12:0... |
ee7e986fd7b036be9d172036c6d2f15db7f91dcf | 5c551b43a32451d14254c5ccffef277a246d2709 | /Week4/Code/StatsWithSparrows18.R | 7fb6383a2fa6ed499662741b5688855458e4f97b | [
"Apache-2.0"
] | permissive | ph-u/CMEE_ph-u | 8e20a2b1269dc21a860a5827dbd1d84e03340dd3 | 8d52d4dcc3a643da7d55874e350c18f3bf377138 | refs/heads/master | 2023-01-22T07:29:46.118897 | 2020-12-02T10:31:51 | 2020-12-02T10:31:51 | 212,303,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 858 | r | StatsWithSparrows18.R | #!/bin/env Rscript
# Author: ph-u
# Script: StatsWithSparrows18.R
# Desc: minimal R function with two in-script tests
# Input: none -- run in R console line-by-line
# Output: R terminal output
# Arguments: 0
# Date: Oct 2019
a<-read.table("../Data/ObserverRepeatability.txt", header = T)
library(dplyr)
a %>% group_by(... |
148804e028039ebc3aa7bcb6a82111b7b184c45c | 21818aeceda73fc35827ef8e79a56bb715305eb6 | /Datasets/collect/collect_marques.R | 9f4a3fa5da8231bd5ed8e223fed34fa0ffb18bad | [
"MIT"
] | permissive | JiahuaQu/Cell_BLAST | 25ab0c5072a05faa49cd2fcc4b5c743ae5d3b125 | 45b14bbd3385b8a7be0b48ef5ab42bc946f3558f | refs/heads/master | 2023-07-17T02:21:18.868383 | 2021-09-01T03:08:36 | 2021-09-01T03:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 593 | r | collect_marques.R | #! /usr/bin/env Rscript
# by weil
# 5 Oct 2018
# 5:15 PM
# This script converts the RDS data downloaded from hemberg website
# into HDF5 format to be used by different methods
source("../../Utilities/data.R", chdir = TRUE)
message("Reading data...")
sce <- readRDS("../download/Hemberg/Marques/marques.rds")
expr_mat <... |
0a19c05f688c60703c43bb518ced849d78497ad2 | c3cb442a8882b002e6a1b760677f6b1aea8a87b9 | /server.R | 6c462ed484f92a85e4f18c7dbef6c17da210f775 | [] | no_license | Brewstarke/NLoad_shiny | d04ff34d34c780c3e4b5ac54a811dbf58107737c | 6c27f609181fd17322f4c8614acf6a164b7f0a5e | refs/heads/master | 2020-05-15T22:48:57.413300 | 2014-11-20T15:22:22 | 2014-11-20T15:22:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,164 | r | server.R | #### Shiny Server
#
# NLM Model running on shiny
# Runs basic Nitrogen loading models from data read in by user
# Sensitivity analysis is possible by manipulating the many parameters
#
#
####
library(shiny)
library(reshape2)
library(rCharts)
library(dplyr)
library(ggplot2)
library(RColorBrewer)
library(rjson)
# Shi... |
ed6dbb9c390c98ca8c47202663b4d8584f85bcbd | 8dabe77b4fa5368e1a8124bf2bf3fcae02052769 | /R/main.R | a5b7b1013821454b25a9e4986a83ce5c0114e312 | [] | no_license | jamesdu0504/rtree-1 | 73e4c6bce7a1b89804181796c1e2822961f534fd | 8017a0b0499b263d2cfd2fdc6c14da0271bc37a8 | refs/heads/master | 2022-01-12T06:00:30.913873 | 2017-03-07T03:15:19 | 2017-03-07T03:15:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,818 | r | main.R | Rcpp::loadModule("rtreecpp", TRUE)
#' Create an RTree
#'
#' Organizes points in an R-tree.
#'
#' The R-tree is created using the quadratic splitting algorithm, with the maximum number of elements
#' per node set to 16. See \url{http://www.boost.org/doc/libs/1_63_0/libs/geometry/doc/html/geometry/spatial_indexes/introd... |
9aec42bfcd078d59361ad362bad5fa02fa0d418c | d0538e4b465d6104748e60b9ab35c35679d6d447 | /scWGS/CNVCalling/s00.splitSampleInfo.R | 787c517925213dfaaf841a2a0c83eb695a47f1ed | [] | no_license | WRui/Mutations-of-Normal-Cells | a6e02c9b34ffe6699b890e23a8c7a1da6c1bfa96 | 101ceb2e3716916621054d7aa2ae383c1286c9a6 | refs/heads/main | 2023-02-26T02:44:42.083848 | 2021-02-03T02:24:47 | 2021-02-03T02:24:47 | 335,482,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 330 | r | s00.splitSampleInfo.R | data <- read.table("Sample_Info_vivoPT.Epcam.txt",header=F,sep="\t")
DNA_lib <- unique(data$V2)
for(i in DNA_lib){
tmp_data <- data[data$V2==i,]
writeDf <- data.frame(Sample=tmp_data[,1],bar1=rep(0,nrow(tmp_data)),bar2=tmp_data[,3])
write.table(file=paste(i,".Info",sep=""),writeDf,quote=F,sep="\t",row.names=F,col.n... |
3c4867791dd0d5b7db6c943444dd8e802e911992 | e189d2945876e7b372d3081f4c3b4195cf443982 | /man/URLs_WIKITEXT.Rd | 6929c9e219fc4f445983c57e138eefee761e8265 | [
"Apache-2.0"
] | permissive | Cdk29/fastai | 1f7a50662ed6204846975395927fce750ff65198 | 974677ad9d63fd4fa642a62583a5ae8b1610947b | refs/heads/master | 2023-04-14T09:00:08.682659 | 2021-04-30T12:18:58 | 2021-04-30T12:18:58 | 324,944,638 | 0 | 1 | Apache-2.0 | 2021-04-21T08:59:47 | 2020-12-28T07:38:23 | null | UTF-8 | R | false | true | 388 | rd | URLs_WIKITEXT.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download_tar.R
\name{URLs_WIKITEXT}
\alias{URLs_WIKITEXT}
\title{WIKITEXT dataset}
\usage{
URLs_WIKITEXT(filename = "WIKITEXT", untar = TRUE)
}
\arguments{
\item{filename}{the name of the file}
\item{untar}{logical, whether to untar the '.tg... |
6068df01eb689ccbfd3aeb104a0b72dceb690209 | f5428950323f84deb2339fff37cf3671b32ac8cd | /R/fuzdb.R | 082a0648d0965f883bb96bae39d7f250e0a6e170 | [] | no_license | Chebuu/foa | a867d13e3f15f731bb87a7f53f3dd8a8adf6294f | 2d4ff80cdab88d4fda4514d21828ec177ee63fbe | refs/heads/master | 2023-03-03T10:05:25.349753 | 2021-02-17T15:12:19 | 2021-02-17T15:12:19 | 339,762,324 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31 | r | fuzdb.R | # http://protdyn-database.org/
|
39d25fdfc6456a30048f037fbdb97d05bc80e061 | 23b88db8d1113f2022f6071477e58702b3860751 | /EA_simulations_cluster.R | a4d125aa6bec4f97f08e655408b5f2defa805f9c | [
"MIT"
] | permissive | alantump/socialDDM_Evolutionary_Algorithm | c3628f7135871efcad3b858f12d741a69f8f7be0 | 7c45ea8297d3d44ede8e2eaae85af88578dea1ae | refs/heads/master | 2021-06-24T08:19:24.097526 | 2021-05-01T14:06:16 | 2021-05-01T14:06:16 | 221,718,619 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,787 | r | EA_simulations_cluster.R |
#########################
# NOTES
# this R script runs the EA simulations on the tardis cluster
# Tardis thereby runs many of this scrips in parallel and asigns a diferent 'clusterid' to each worker
# The simulation contains following steps:
# Load functions and packages
# Assign 'clusterid'
# Define important a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.