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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a90b29d8afb835be152e774ecf5aa23066f97d45 | b1fcc6ac0a4f2c8021f40c4e93a5a18efae678f1 | /loss_reserving_glm/Script_Loss_reserving_GLM.R | ccec0f2ed07c444780d4ea0a72a376f912891f89 | [] | no_license | augustod-prieto/projects | 9bede5f3fdece5729abf8f96b97dd50e06b6f0aa | 53292a29df57b42b4ce711cf455e5ebb74bedceb | refs/heads/main | 2023-07-01T22:14:47.777558 | 2021-08-14T06:35:59 | 2021-08-14T06:35:59 | 389,704,287 | 0 | 0 | null | 2021-08-11T23:59:10 | 2021-07-26T16:47:18 | R | UTF-8 | R | false | false | 2,526 | r | Script_Loss_reserving_GLM.R | ## Aplicación de GLM en Loss Reserving. ##
library(tidyverse)
library(ChainLadder)
## Preparación de datos.
data_2011 <- readxl::read_excel("ssn_20162017_desarrollo_siniestros_automotores.xlsx", sheet = 8)[15,c(7,11,15,19,23)]
data_2010 <- readxl::read_excel("ssn_20162017_desarrollo_siniestros_automotores.xlsx",... |
3a73e16cdaf0128108beddd8276733204cb8d847 | cd545db34cc4e68b1b5ff7f726d0f4039e9792f8 | /R/module.compare.R | b346f85af5c39d8f7c6e64ccfea6bdaa63271d45 | [] | no_license | menggf/DEComplexDisease | 3c3598cf7403fda0c0a2fbc4c988196fe229c6cb | c7ad81ba12b3274c4d2d36a77cc22baea16caf60 | refs/heads/master | 2022-07-09T00:53:35.770287 | 2022-06-25T06:13:24 | 2022-06-25T06:13:24 | 95,849,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,223 | r | module.compare.R | #' Compare and plot the overlap among predicted modules
#'
#' Plot the overlap among predicted DEG modules
#'
#' @docType methods
#' @import ComplexHeatmap
#' @import grid
#'
#' @name module.compare
#' @param res.module1 a 'seed.module' or 'cluster.module' object returned by \code{\link{seed.module}} or \code{\link{cl... |
b0cc18d7c5c6ade9c2385af03640cf050c80e60e | eb46f2f05ac23d8fa7d3b3b88c3d582cdaccdb41 | /rprog-032/quiz4.R | 9a94fcc59fc5d3f1545370adf893277780304b3e | [] | no_license | wangjiezhe/cousera | 9a041c6eb612cbfc39d708e4455a34ca2c1c7b3f | 0db137134508bf3942bad5c1841ae24e602b124a | refs/heads/master | 2021-01-01T15:51:22.663852 | 2015-10-24T01:53:12 | 2015-10-24T01:53:12 | 42,147,590 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 286 | r | quiz4.R | set.seed(1)
rpois(5, 2)
set.seed(10)
x <- rep(0:1, each = 5)
e <- rnorm(10, 0, 20)
y <- 0.5 + 2 * x + e
# plot(x, y)
library(datasets)
x1 <- rnorm(100, 1)
x2 <- rnorm(100, 2)
y <- rnorm(100, 3)
Rprof(tmp <- tempfile())
fit <- lm(y ~ x1 + x2)
Rprof(NULL)
summaryRprof(tmp)
unlink(tmp)
|
1a7045b3b57893209c801cdfdf36d95dbe02fdfa | 110731767c52d468a6eb958fe2a7bd1d76b405fb | /vignettes/VLP_Brown_oilwell-01.R | 71fa995c654fd286553354a0badc0aaaf8e52339 | [] | no_license | JFernandez696/rNodal | 1a7e2fc3ab9930bbc208701688e31bac9fe84ce6 | 09bc0fedbc0f5517233b8a2d2cbe94f659e5473a | refs/heads/master | 2021-10-20T00:09:33.150787 | 2017-10-27T19:35:22 | 2017-10-27T19:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,279 | r | VLP_Brown_oilwell-01.R | ## ----rows.print=30-------------------------------------------------------
library(rNodal)
library(tibble)
# Example from Prosper oil well 01. Dry version
# roughness = 0.0006
input_example <- setWellInput(field.name = "HAGBR.MOD",
well.name = "Oilwell_01_Dry",
... |
a594914aea7bf42bbffdc107d4099682467fb0c7 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /apollo/man/apollo_writeF12.Rd | 7dbb712b3d8664ac530add74d4bd88b2a3625215 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 583 | rd | apollo_writeF12.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apollo_writeF12.R
\name{apollo_writeF12}
\alias{apollo_writeF12}
\title{Writes an F12 file with the results of a model estimation.}
\usage{
apollo_writeF12(model, truncateCoeffNames = TRUE)
}
\arguments{
\item{model}{Model object. Estimated m... |
c0994633bffc5f70b5becd104f403df0107251e8 | 1b872282a8fcfa99273958a7f95fab6a813d7d09 | /R/calculateIndividualLogFC.R | 09fff41e5b32e81be7efe2f0971d91cc994d93d9 | [
"MIT"
] | permissive | mirax87/multiGSEA | cecc8e1b6ebedbe92a87ecb7a91034635b3b69c3 | b8747abc1815ab4fa08ef024e77eee2a864ac6ed | refs/heads/master | 2020-04-02T13:49:21.057653 | 2018-06-01T22:07:22 | 2018-06-01T22:07:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,825 | r | calculateIndividualLogFC.R | ##' Utility function to run limma differential expression analysis
##'
##' @details
##' This function fits linear modles (or glms) to perform differential
##' expression analyses. If the \code{x} object is a \code{DGEList} the
##' analysis will be performed using edgeR's quasi-likelihood framework,
##' otherwise limma ... |
50271d242ada8ffb398fd19fe6bb6697a9c100fb | 4593482fd92e47efa639320dd362c4342d6fde13 | /tests/testthat/test-lets_midpoint.R | 96d98fea69ef3d317634f79269dc91dc38274828 | [] | no_license | BrunoVilela/letsR | 65db89bd7e67c7d705871edb0ada0200292a06bb | 85f82d3a4f697cac1f1d75f9d55f9fae00c05c8f | refs/heads/master | 2023-08-18T15:30:38.529793 | 2023-08-07T20:19:06 | 2023-08-07T20:19:06 | 17,603,336 | 7 | 3 | null | 2015-04-27T20:25:36 | 2014-03-10T18:19:38 | R | UTF-8 | R | false | false | 1,018 | r | test-lets_midpoint.R | context("Test for lets.midpoint")
data(PAM)
test_that("lets.midpoint works fine", {
resu_test <- lets.midpoint(PAM)
expect_equal(class(resu_test)[1], "data.frame")
expect_true(ncol(resu_test) == 3)
#expect_true(!any(is.na(resu_test)))
})
test_that("lets.midpoint works fine, method = GM and planar = ... |
20a3331b2adb0864125e30e6a3999f9682653506 | c294c7c8acc3fdc86b726fb2b4d94f073ad153ef | /log/feb-26.r | f4e2b5e32cb8a02d54ae59e8f9e79aacb7cc0fa0 | [] | no_license | alexjgriffith/r-workspace | 347a1d764cce86de86f01a0d41a4942998d14a3a | 229ab551ffeed1b5c60b51123e5d065cde065a7b | refs/heads/master | 2020-04-06T07:09:58.395966 | 2016-09-10T07:25:31 | 2016-09-10T07:25:31 | 52,470,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,953 | r | feb-26.r | source("~/r-workspace/nov-functions.r")
source("~/r-workspace/dec-functions.r")
source("~/r-workspace/jan-functions.r")
source("~/r-workspace/feb-functions.r")
source("~/Masters/CCCA/inst/scipts/eboxFrequency.r")
library(seqLogo)
db<-read.table("~/feb-homer/motifAnnotations_20_2-alt.table",header=T)
fm<-sapply(
... |
61a81e7e1bdcde33cd1bac9a107c09c2eb1853e1 | d55ad9b51ee605f03e0a9ee5b2430a899c135c8a | /Assignment dplyr.R | f43b67ab939dddc46d5bff0b7ae194b95bba9b49 | [] | no_license | A-Sanjay/R-Programming | a004c2b2c65bed8573dd1d9956476c2c37db662a | 0f5bdf53f396598ab85abc8c204031abc80d1c0f | refs/heads/master | 2023-02-23T05:10:41.985014 | 2021-01-20T12:06:34 | 2021-01-20T12:06:34 | 331,287,558 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,538 | r | Assignment dplyr.R | library(dplyr)
sample(murders,3)
#1.Taking sample from the data of size 5
sample_murder=sample_n(murders,5)
sample_murder
#2.Taking sample of fraction about 10% frm the data
sample_frac<-sample_frac(murders,0.1)
View(sample_frac)
#3.Selecting the data
select_murder<-select(sample_murder,state,population)
View(selec... |
b0814c10c322689b94586552aea688e6ee52bb92 | 9af49f996a65835e7a729077c1704f146153c026 | /TanAssig2.R | c072e4e5ea3bd1b08f0e0dec6db054d6a90a8915 | [
"MIT"
] | permissive | jtan189/NaiveBayesClassifier | 85cac985cabc4a78451633880944408e8ec28ba0 | 3630acf3a75ba96ca6cb37e49be0cf622614b73b | refs/heads/master | 2016-09-05T20:41:20.406905 | 2013-11-06T04:02:50 | 2013-11-06T04:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,764 | r | TanAssig2.R | ## Implementation of the Naive Bayes Classifier in R (for numeric data)
## Josh Tan
## CSCI 479
## 11/5/13
## input parameters
train.file = "ExampleDatasets/irisTraining.txt"
test.file = "ExampleDatasets/irisTesting.txt"
## TRAINING
## read in training data
train.data = as.matrix(read.table(train.file))
train.nrows ... |
0e32fac7f79ad9d9ad08823bc5d3109b00ad6824 | b8b761c788ccc47ae7f94e227d372ca960f991c0 | /data/2017_09_01_SubFeature.R | 7a0cbe716f1bfa7e1b88e2c6fe7fdf0994ad24f9 | [] | no_license | yonghuang526/Facial_dysmorphism | 0b8d51173d397910ab75eb0a1f7c50d4f6d95fb5 | d87dfc99d5714f9a4ca087f29a1e72fccd8c9712 | refs/heads/master | 2021-09-06T13:11:17.199253 | 2018-02-06T22:11:23 | 2018-02-06T22:11:23 | 112,124,146 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,536 | r | 2017_09_01_SubFeature.R | data = read.csv('/wdata/devGenes/Kevin - Gait Analyses/DevGenesDatabases_2017-08-29_1147.csv')
feature = read.csv('/wdata/devGenes/CURRENT DATA /kevin_facial_point_extraction/features.csv')
Gait_Model= read.csv('/wdata/devGenes/Kevin - Gait Analyses/9.19.16 Data to Kevin for Gait Model.csv')
matchdata = data[match(row.... |
44c6f20765bcf30d3de6cd333869a5d2b962f91b | bc6e80b41dd479133651b42f995a5107c70df71e | /tests/testthat.R | 3e0b54163401f9655de45435af35e255099ac2ac | [] | no_license | baumer-lab/fec20 | ccb5c1c1882796be6684f1f04ab5bc84b91f48cd | de87e69c6ef6fe066c3f2ea647c3a286cbeeb4b2 | refs/heads/main | 2023-07-09T22:02:47.431564 | 2021-08-10T09:04:50 | 2021-08-10T09:04:50 | 312,653,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 54 | r | testthat.R | library(testthat)
library(fec20)
test_check("fec20")
|
a931ff73e2195aea0215c4ccca31dfa8bb23937c | 2da2406aff1f6318cba7453db555c7ed4d2ea0d3 | /inst/snippet/qqline-fig.R | 5f526444ab683a8d3fec2567878af19528248a07 | [] | no_license | rpruim/fastR2 | 4efe9742f56fe7fcee0ede1c1ec1203abb312f34 | d0fe0464ea6a6258b2414e4fcd59166eaf3103f8 | refs/heads/main | 2022-05-05T23:24:55.024994 | 2022-03-15T23:06:08 | 2022-03-15T23:06:08 | 3,821,177 | 11 | 8 | null | null | null | null | UTF-8 | R | false | false | 135 | r | qqline-fig.R | gf_qq( ~ age | substance, data = HELPrct, alpha = 0.4) %>%
gf_qqline(color = "red") %>%
gf_qqline(color = "skyblue", tail = 0.10)
|
fc6acaa5fddf6bc67ef8a44deabecba54f79b78d | b1b1a838bd401163e0cb256b713e19293e5d9ad8 | /APFE18800685_Geemly_Assignment.R | 012783a23afe364cc152efd82341979f5c4ee846 | [] | no_license | kabhilas/Geely-automobile-linear-regression-problem | 3b02b3cc9c3142f8aafd70dcf8fbdfc79ba77e34 | f77bfc5f4c3ff013bff8becba6aea5596105dbac | refs/heads/main | 2020-03-31T23:01:30.052283 | 2018-10-11T18:50:29 | 2018-10-11T18:50:29 | 152,639,941 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,625 | r | APFE18800685_Geemly_Assignment.R |
# Load required libraries.
library(tidyr)
library(plyr)
library(dplyr)
library(stringr)
library(ggplot2)
library(MASS)
library(car)
# DATA DICTIONARY
# 1 Car_ID Unique id of each observation (Interger)
# 2 Symboling Its assigned insurance risk rating, A value of +3 indicates that the auto is risky, ... |
817cc8552f0ea98baf98decc8a11c0dce8304802 | 90381544a6ed821f57a06d20b6f90ac6590b6a53 | /testing-party-list.R | f023703fabf93d9f7f01fbca46343e9f244cbadb | [] | no_license | gilmore-lab/databrary-r-api | b8d102fa217df3a96b418dfb749b34d6fecd5fad | 189f7cea6161311604cf6a711b91c5320d995b42 | refs/heads/master | 2021-05-02T06:57:34.524410 | 2018-03-15T19:27:29 | 2018-03-15T19:27:29 | 32,077,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,522 | r | testing-party-list.R |
# This gets authorized investigators, but only the first page of names
r <- GET(url = "https://nyu.databrary.org/api/search?volume=false&f.party_authorization=4&f.party_is_institution=false")
# This gets affliates? f.party_authorization=3
r <- GET(url = "https://nyu.databrary.org/api/search?volume=false&f.party_autho... |
a6b8f03db85f212cb777e9f66dad3514de03fada | ebd6f21764e2c16c1cc8695985b0eec96ad676cd | /man/format_data_cl_json.Rd | d75eaec5c4283566ee89be953c4146cb5ce52e77 | [
"MIT"
] | permissive | worldbank/povcalnetR | 88dbf13fc1073c0b0adebde4cd7aad0fb14688a8 | d3e3bb66df359a441585390e1a552d237ac6474d | refs/heads/master | 2023-01-20T14:19:23.658455 | 2023-01-10T09:10:24 | 2023-01-10T09:10:24 | 149,777,997 | 8 | 7 | NOASSERTION | 2020-09-15T09:34:45 | 2018-09-21T14:54:24 | R | UTF-8 | R | false | true | 308 | rd | format_data_cl_json.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{format_data_cl_json}
\alias{format_data_cl_json}
\title{format_data_cl_json}
\usage{
format_data_cl_json(x)
}
\arguments{
\item{x}{data.frame: API response}
}
\value{
data.frame
}
\description{
format_data_cl_json
}
|
07e29602bf514fc0cb535c3eb2800efbf2481569 | 6706ae648844d45fadf23c3486b0aa27304d5d4b | /TextMining.r | 02436c6b6f4db7906abfa4ad8426eab92b98cdbc | [] | no_license | 4deepanshu/BigData-Machine-Learning-with-R | 368bb394467522b41bdf820c0775fc302a60ecb0 | 8b58e87110b24ebd8fab24117476601bbb3d5a03 | refs/heads/master | 2020-03-24T22:49:10.939568 | 2019-08-11T09:46:51 | 2019-08-11T09:46:51 | 143,104,408 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 748 | r | TextMining.r | require(tm)
data <- readLines("https://www.stanford.edu/")
data <- readLines("D:/Python3/google.txt")
corpus = Corpus(VectorSource(data)) # for preprocessing the data
corpus
corpus <- tm_map(corpus, content_transformer(tolower))
corpus <- tm_map(corpus,removeNumbers)
corpus <- tm_map(corpus,removePunctuation)
corpus ... |
b386afd11ccbf47e4e39738edf7c21857d25ccec | 12961aa3efe519b058b44f88b76d15eaa9bc60c9 | /end_to_end_Model.R | 8facb8865db2e8cd4bba9e95fc079ed6bada0d9c | [] | no_license | Bwarule/Data-Mining | 7f6642bc9acc86890714d47db106453e2e54a36a | a04d4e51c70acb8956f54f9db989fc24a6a9556c | refs/heads/master | 2020-12-24T05:41:53.665142 | 2020-04-04T21:58:15 | 2020-04-04T21:58:15 | 9,514,358 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,185 | r | end_to_end_Model.R | ## Read the data file
modeling_data <- read.csv("C:\\Papers\\training\\shar\\4\\ds1.10.csv")
## we will assume missing value impuatation is done.
## outlier cappin is done.
## split the into the train and test data
set.seed(1)
dev_sample <- 0.8
x3 <- nrow(modeling_data)
x2 <- as.integer(x3*(dev_sample))
sub <- c(sam... |
d47129254b2bbcda868b51181ecafbb7e8c04d46 | a4dded77031478686d3e0d522743ec951b10a3a0 | /lcyR/R/lcy.is.matrix.in.R | 39d0fa9b4d44b8132c5d900d35bf134eee492654 | [] | no_license | farscape2012/rpkg | 5008bc4a8ad1e1f8a97ab23a9d23710f98507abb | 7701bce8e07f3785ac9ab48c3e52f0bb1f9e8d7f | refs/heads/master | 2020-06-13T21:31:08.237563 | 2016-12-04T21:27:14 | 2016-12-04T21:28:06 | 75,551,451 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 778 | r | lcy.is.matrix.in.R | lcy.is.matrix.in <- function(m1, m2, order=TRUE,byrow=TRUE){
# this function is used to check whether rows or columns exist in the other matrix.
dim.m1 <- dim(m1)
dim.m2 <- dim(m2)
if(byrow){
num <- dim.m1[1]
margin <- 1
}else{
num <- dim.m1[2]
margin <- 2
}
if(o... |
3f7d5dd64af4fdfaa5018a620448c92f8bb3a9ad | 5500300830c24d899cf019450a4576b98f0fa95c | /R/rgl.Map.R | d4d12cbf1874ea1998a6c9bbb87cfc4905e18497 | [] | no_license | svats2k/TeachingDemos | 4af2ce6f3b6c2c82c8ccba2f38a6901a6b2eb1b7 | 936e6088484f7c4e43e5ce835b50d7b0a161c8cf | refs/heads/master | 2020-04-06T05:23:05.076622 | 2013-01-21T00:00:00 | 2013-01-21T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 625 | r | rgl.Map.R | "rgl.Map" <-
function(Map,which,...) {
if (missing(which)) which <- T
if(!require(rgl)) stop("This function depends on the 'rgl' package which is not available")
lapply(Map$Shapes[which], function(shape) {
long <- shape$verts[,1] * pi/180
lat <- pi/2 - shape$verts[,2] * pi/180
# x <- cos(la... |
0fd30587ebb3905f91bc88d1a388efdfe7961973 | 437be4a0471c6f4dddd48ebf54e72dcc675b5307 | /sbfc-package/man/logposterior_plot.Rd | 35b8b04927f01650e5d35170e7d4e2566436ea27 | [] | no_license | vkrakovna/sbfc | c49d2429d5ad93d98388cbda0d04ec76d05a0651 | 97feb1795b512608b65d7d57d2cc9faf2bbdaf76 | refs/heads/master | 2022-02-05T14:11:31.326338 | 2022-01-15T16:40:21 | 2022-01-15T16:40:21 | 38,595,118 | 17 | 4 | null | 2021-11-25T21:02:15 | 2015-07-06T03:16:41 | C++ | UTF-8 | R | false | true | 743 | rd | logposterior_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sbfc.R
\name{logposterior_plot}
\alias{logposterior_plot}
\title{Log posterior plot}
\usage{
logposterior_plot(sbfc_result, start = 0, end = 1, type = "trace")
}
\arguments{
\item{sbfc_result}{An object of class \code{sbfc}.}
\item{start}{T... |
f40b18dd22a9b5052b05445e2eedbeef493cc73b | 650ad2ff77a641ccf274adb0a8efabf140f37392 | /TelechargementDataMeteo_20160212.r | 82f9f50b374c127d3eff8bb132dc085366347c07 | [] | no_license | PinaudDavid/cebcscripts | 0725f938848b21fbacedeeeb1097f642c9a35fbe | bfe8d1826431dc6a7e54fc4ee36fb5b36ff6a3e4 | refs/heads/main | 2023-07-30T10:02:03.110135 | 2021-09-16T14:47:49 | 2021-09-16T14:47:49 | 402,428,777 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 10,222 | r | TelechargementDataMeteo_20160212.r | ####################################################################################
###### Téléchargement de données météo sur ftp://ftp.ncdc.noaa.gov/pub/data/gsod avec R
### David Pinaud CEBC-CNRS/ULR
### pinaud@cebc.cnrs.fr, 12/02/2016
# les lignes suivantes sont à modifier (marqué **A DEFINIR**) et copie... |
0911d545a1b2200fafa2cfd7d3409950c70e08ef | 4abd7b3daeb680eec449ca3785e3a71b5b0d4356 | /R/example_LFL.R | f4f1df16ef21004794aefe246436972a8371dd90 | [] | no_license | matheusbarroso/dboot | 24b6da9447cbd393bb5785eee39fa495da02e0c0 | e54dcfe0310fb24f977fc00ff40d645abab35a42 | refs/heads/master | 2021-09-14T20:44:33.796439 | 2018-03-06T19:16:47 | 2018-03-06T19:16:47 | 117,690,628 | 0 | 0 | null | 2018-01-24T20:53:24 | 2018-01-16T14:00:40 | R | UTF-8 | R | false | false | 758 | r | example_LFL.R | #'A realization of a \emph{Gamma-GARMA} model
#'
#'A dataset contaning the realization of a \emph{Gamma-GARMA
#'(0,1)} model, with \eqn{\phi=0.1,\theta=0.1, \Beta=2,
#'\mu_{0}=10,\sigma^2=2 }
#'
#'@format A data frame with 1000 rows and 4 variables:
#'\describe{
#' \item{indext}{indext, time index of the series}
#' \... |
099f9957fd1783143c3014d3d61127c8c1f6b2ae | c774252b7929cdd9da0acbfaea6375078d1bbbb3 | /R/roxygen.R | 5b56c645fc1eb86b5382a82605f88bb0dbf9bcc0 | [] | no_license | lmw40/mpMap2 | 35032fef23cf204f62eb7c8c7107a1034ba23d5e | 0ac4569b251ccc041cfe965dfe41091aff18e3bc | refs/heads/master | 2021-01-22T19:22:11.104705 | 2016-08-23T00:52:51 | 2016-08-23T00:52:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 295 | r | roxygen.R | #' @import qtl
#' @import igraph
#' @import methods
#' @importFrom pryr address
#' @importFrom nnls nnls
#' @exportClass pedigreeGraph
#' @exportMethod subset
#' @exportMethod plot
#' @importClassesFrom Matrix index dspMatrix dppMatrix
#' @importFrom methods setClass
#' @useDynLib mpMap2
NULL
|
a46a18515c8c5008622976f0550399202ce023d3 | 6816c9572c45d5dd4772b710b7e331dc418f4208 | /R/PubMedMiner.R | bef2f45428fcf57a8df73c484c53708eefb5b587 | [
"MIT"
] | permissive | vijayr1912/proteomicsliteratureminer | 7a57dd7e0953b1f9d3cc174b195bdb99f5e607af | f14d13e2bf204d6812bd7f9a9a9449bc7d2cab14 | refs/heads/master | 2020-06-07T10:44:22.962535 | 2019-06-21T00:39:42 | 2019-06-21T00:39:42 | 193,003,972 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,777 | r | PubMedMiner.R | #####################################################################################################
# Literature Miner Entry Functions
# Jemma Wu jemma.wu@mq.edu.au
# Last modified 11 July 2018
# Usage: type the following commands in R console
# rm(list=ls())
# setwd("C:\\Pascal_ProteinLiteratureFinder\\GeneLiteratur... |
85a56f718bffc1551913340d4244240a97f3ef71 | 2d58f8634a26d46b6a8b4cb967698c5629ab7a02 | /extract_keywords.r | 3a9a7d5faf76713f49a7ab37e0b8298bcb3bd436 | [] | no_license | mcandocia/website_keywords | 3bcb36e7efe135426c2e6c9377d380273b0d9360 | cd231c5fc668c505c54df96075b455ff0cf82f39 | refs/heads/master | 2021-01-10T07:28:58.888625 | 2016-09-19T02:49:03 | 2016-09-19T02:49:03 | 51,411,024 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 671 | r | extract_keywords.r | args<-commandArgs(TRUE)
require(stringr)
block_id = as.character(args[1])
bs = str_pad(block_id,3,pad="0")
require(pROC)
setwd('/home/max/workspace/webclass')
load('keyword_training/roc_environment.rdata')
test_data = read.csv('webpages/keyword_data.csv',encoding='utf-8')
new_odds_ratios = predict(sm,test_data)
keyd... |
f188a81f948bf403b2ed285bbc47439c8464bade | f06d08ebb0e44fa531b3bc119a4417548e4b1c74 | /man/lpba40.Rd | 4a68c80166e56e29ae8457c1f36b416d40c1ee4c | [] | no_license | luojiahuli/brainGraph | f2a17eda5146831f9445ce9be61080e379a116ff | 3abd4be7c3fe88dc8f165e21053865ba265a7240 | refs/heads/master | 2021-01-17T08:44:14.966576 | 2015-08-27T10:36:19 | 2015-08-27T10:36:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,798 | rd | lpba40.Rd | \name{lpba40}
\alias{lpba40}
\docType{data}
\title{Coordinates for data from the LONI probabilistic brain atlas}
\description{
This is a list of spatial coordinates for the LPBA40 atlas, along with
indices for the major lobes of the brain. The coordinates were obtained
from some colleagues.
}
\usage{data("lpba40"... |
0f925b28b4e05764b751072aaa8f0de5f5586cda | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NISTunits/examples/NISTukThUnITPerSecTOwatt.Rd.R | d2043622e32d175a62eadabf443d745e434f6a0a | [] | 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 | NISTukThUnITPerSecTOwatt.Rd.R | library(NISTunits)
### Name: NISTukThUnITPerSecTOwatt
### Title: Convert British thermal unitIT per second to watt
### Aliases: NISTukThUnITPerSecTOwatt
### Keywords: programming
### ** Examples
NISTukThUnITPerSecTOwatt(10)
|
97370fb4b807b0fee0d6f53c45ef8fe6865f7765 | 7bdfa5ebc03385d99604a39a362df4a7a329d591 | /validation_test.r | f76b0942f79046f446831728c6fa1a78b5ec60de | [] | no_license | julmue/rlang_libmnl_validation | e1937c327064edc476a872bfeea48d727bd76660 | 2f3b76a87a4bd9536c4d7e0819b5a18c0e38addb | refs/heads/master | 2020-04-14T20:24:25.161686 | 2019-01-04T10:17:42 | 2019-01-04T10:17:42 | 164,092,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,776 | r | validation_test.r | library(validate)
library(magrittr)
library(tibble)
library(dplyr)
library(purrr)
# -----------------------------------------------------------------------------
# helpers
test_group <- function(.validator_list) {
.validator_list %>% purrr::reduce(`+`)
}
test_run <- function(.test_data, .validator) {
confront(.te... |
cef8e0464409c396a594a6a18426954c87063f90 | 9e51c85c1ff0ac0fd82467c0463ea238f7c8fc0a | /classyfire/Rscript_ChemicalClass_Heatmap.R | c418bae52e11e524a0915aea1be8bbe5f776e544 | [
"BSD-3-Clause"
] | permissive | IvanV87/amazon-urbanization | 87004125f673c4eb95e4cf7ced1d357ee9d11412 | 70478517407cc430cd8186a9d31aa990b418a47b | refs/heads/master | 2023-03-21T01:06:16.432568 | 2019-08-14T18:01:57 | 2019-08-14T18:01:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,233 | r | Rscript_ChemicalClass_Heatmap.R | # #############################################################
# #
# Create heatmap of in silico predicted chemical classes #
# #
###############################################################
... |
f0ebf9bece5c09975ab5f6959c3da70767de0296 | 7c243482c07f0a2363c6723c1a90ceea595f4bd0 | /cachematrix.R | 4626d684c63258262bafabcbffd26429e8dd0dd0 | [] | no_license | oobii65/ProgrammingAssignment2 | 2fe09863b3df896ad06e3daec0865180404c1c3a | d7ea78f37c4744a2ed36f304e1af286d0eea1ba9 | refs/heads/master | 2021-01-14T14:35:07.600898 | 2014-11-16T19:19:56 | 2014-11-16T19:19:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,214 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
##
## Use the R lexical scope and the <<- operator to
## to make a variabel in the "parent" environment that
## can be used to hold a cached version of the inverse
## of a matrix.
##
... |
b577d9e44ce70dcb5439c7b56c73f23b9e31896d | 3875910f927debbe78f30387404e2309faae00c9 | /R/api_response.R | 2ea88d2af9dc3252f573dbba420db8d6950f9e5e | [
"Apache-2.0"
] | permissive | stjordanis/client-library-r | 0fd44372e19196ab6b90c9c0ea5a86fd87c57a1e | e752cadf58135e2ebe9a4632a112acb95eec846f | refs/heads/main | 2023-06-24T06:03:04.769727 | 2021-07-20T07:42:05 | 2021-07-20T07:42:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,129 | r | api_response.R | #' @docType class
#' @title ApiResponse
#' @description ApiResponse Class
#' @format An \code{R6Class} generator object
#' @field response The raw response from the endpoint.
#' @export
ApiResponse <- R6::R6Class(
'ApiResponse',
public = list(
response = NULL,
initialize = function(response){
self$re... |
8343122f58c2939e49089c46444723eee7ce4c8d | 3f06f78873e8cfabceff52eb2287f1e963b1f682 | /tests/testthat/test-get_truth.R | 0126bc21e50365a72e224b68d60118f92181ff62 | [] | no_license | reichlab/covidHubUtils | 449fdd47b4cd20fb035b520088ff2dbc21464f81 | 7258bc1b146906b31e9d31d19fd13cf73259b5a0 | refs/heads/master | 2023-05-25T02:19:54.033459 | 2023-05-22T17:06:49 | 2023-05-22T17:06:49 | 289,015,121 | 18 | 17 | null | 2023-05-22T16:53:28 | 2020-08-20T13:34:43 | HTML | UTF-8 | R | false | false | 32,115 | r | test-get_truth.R | context("get_truth")
library(covidHubUtils)
library(covidData)
library(zoltr)
library(dplyr)
library(mockery)
test_that("preprocess_jhu files has expected columns", {
actual <- covidHubUtils::preprocess_jhu(
save_location = "."
)
actual_cumulative_deaths_column_names <- colnames(actual$cumulative_deaths)
... |
d801278c87b7102f456252b9cfbd6570186291cf | d5c75d40b898f9ca0ceda13fe05f2a33a8a94512 | /R/convHull.R | 8a80102ddf46f982b3eabd5cfb45e2ddc2242fc4 | [] | no_license | antoine-182/dismo | 2c5e73bc2db03182d9010b2d0cce554f238c46c3 | 21f6983f618f0cdbe285f0031129c624594bd2bd | refs/heads/master | 2021-06-09T18:05:55.739415 | 2017-01-09T08:49:36 | 2017-01-09T08:49:36 | 109,248,869 | 1 | 0 | null | 2017-11-02T10:15:26 | 2017-11-02T10:15:26 | null | UTF-8 | R | false | false | 2,139 | r | convHull.R | # Author: Robert J. Hijmans
# Date : Febrary 2010
# Version 0.1
# Licence GPL v3
setClass('ConvexHull',
contains = 'DistModel',
representation (
polygons='SpatialPolygonsDataFrame'
),
prototype (
),
validity = function(object) {
return(TRUE)
}
)
setMethod("polygons", "ConvexHull",
function(obj) {
ob... |
0984b489772661f3bf959820c64b055ac491aeef | 993a981d6cc20f97e68d5fb4bbac24b2bb9b1995 | /server.R | e6c03e30bcd690d20270f0be593f70b82ad19809 | [] | no_license | foolszany/dataProductsCourseProject1 | 11685fa26c4d115e56138e2d461e4559e4229dcd | ac04f2ce82fd3c4d50d268edcbb3d2bd3e9374ad | refs/heads/master | 2016-09-05T19:53:01.986859 | 2015-02-23T18:27:13 | 2015-02-23T18:27:13 | 31,048,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,319 | r | server.R | library(shiny)
library(ggplot2)
library(caret)
library(ggvis)
WCraw <- read.csv("data/worldCup.csv")
## eliminate all players less than 50 minutes
WCraw <- WCraw[WCraw$MINUTES_PLAYED>=50,]
WCtrim <- WCraw[,-c(1:5)]
## calculate normalized values of minutes played
ninetyMinutes <- function (x){
return((x/WCtrim$M... |
bb426de1412ea3caa4b6d343fefd64766bb11999 | 9326d857c238ff56f993437fb44a5c90961d0753 | /tests/testthat/test-input_field.R | d39143ef2993d15146cf340fe317c9bdf39655fe | [] | no_license | moj-analytical-services/shinyGovstyle | e1e9b4062710b229f269f9b0bb58c1398383f7e1 | a033342e971b9f090c06b6e17b82b20d27dce50c | refs/heads/master | 2023-07-11T05:45:21.430131 | 2022-02-22T10:36:38 | 2022-02-22T10:36:38 | 192,864,104 | 34 | 4 | null | 2022-02-07T12:41:32 | 2019-06-20T06:41:58 | CSS | UTF-8 | R | false | false | 781 | r | test-input_field.R | test_that("field works", {
field_check <- input_field(
legend ="List of three text boxes in a field",
labels = c("Field 1", "Field 2", "Field 3"),
inputIds = c("field1", "field2", "field3"),
widths = c(30,20,10),
error = TRUE)
expect_equal(length(field_check), 3)
expect_identical(
paste(... |
90a1347376dd52286a9cb41ea00fb49f100dbca7 | 216af4351d41dfa6796d87a497498d57d0cb60a9 | /cachematrix.R | af4f53e4cc11732ff70ef92407ceefc9bfc79860 | [] | no_license | Gtole/ProgrammingAssignment2 | d37d39d4ba43b5d2fc0b834cdf7b5cfc37139504 | 7925275857eca3b7114b75425c8dfa87306fab58 | refs/heads/master | 2022-12-07T15:01:47.424398 | 2020-09-01T04:54:17 | 2020-09-01T04:54:17 | 291,897,501 | 0 | 0 | null | 2020-09-01T04:40:37 | 2020-09-01T04:40:36 | null | UTF-8 | R | false | false | 865 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## once the matrix is created, I call the function with the matrix and compute the inverse
A<-matrix(c(0,1,0,2,1,1,2,1,2),3,3)
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x<<-y
m <<- NULL
}
... |
0ee6d452f7b3d98c4788e409bddc3dfd2aa93f21 | 9463190790003d3cf888a8f5cff0f5a4c0383530 | /Biostrings1/man/gapletterReplace.Rd | 9433a61b611be32903001cadbbca41a3739f0be0 | [] | no_license | nw328/Biostrings | 06a9f2d73466c28bdbf7ba90cbaa6002cabbcd75 | ff7cfd71cd2b388b68234b17577a2ae919ee62f0 | refs/heads/master | 2020-12-25T21:13:20.681088 | 2015-08-26T08:55:38 | 2015-08-26T08:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 552 | rd | gapletterReplace.Rd | \name{gapletter<-}
\alias{gapletter<-}
\title{ function to modify the gap letter in an alphabet }
\description{
This function modifies the gap letter in a "BioAlphabet" object.
}
\usage{
gapletter(x) <- value
}
\arguments{
\item{x}{ An object of class "BioAlphabet" }
\item{value}{ A single letter. }
}
\value{
T... |
867d39d36c86499cd95304a50d057a69c909c65b | 6e363f94fc8e336f9cd55a8ddd0b6fdf9b682214 | /man/gene.remove.Rd | f6c571c2c6ff6b52bf4720e3c1a6d9010161ad86 | [] | no_license | cran/caRpools | 52ac70eb3c8523b09dbe543fe594c09b904f2420 | 8162263c8aab9aa14bd7ea54b2d4af4cda0dfda4 | refs/heads/master | 2016-09-06T16:14:22.489946 | 2015-12-06T13:31:59 | 2015-12-06T13:31:59 | 40,494,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,711 | rd | gene.remove.Rd | \name{gene.remove}
\alias{gene.remove}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Remove gene information from sgRNA data.frame
}
\description{
This function is used to remove genes/gene information from a data.frame containing pooled CRISPR screen data.
It is meant to exclude genes from the... |
3f67fa99807ec13b4101eea9052885ab988e596a | 8299490a74006b76949315b2f704dc55b6842ac5 | /scripts/6a.R | 04dee7ebb1b45d6755545b50db000ff7b42c6b41 | [] | no_license | yuzhenpeng/hnscc_nsd1 | ae52384d80a56774e68d0e46661a23af2c54d11a | 44da0e4034bcd4382d899feb7c749a41f6f6c9f5 | refs/heads/master | 2022-12-06T17:39:25.358341 | 2020-09-03T22:10:01 | 2020-09-03T22:10:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,701 | r | 6a.R | library(data.table)
library(tidyverse)
library(readxl)
library(SummarizedExperiment)
library(DESeq2)
library(tximport)
library(limma)
library(patchwork)
library(pals)
load("misc/tx2gene.rda")
load('misc/g33.rda')
e2g <- g33[g33$type == 'gene'] %>%
{setNames(.$gene_name, .$ID)}
load('tcga/DNA.rda')
load('tcga/RNA.r... |
a44e0d3fb3c2c9367ffd1d462a6245bae4a38a13 | 31c5558a50749d1c4bc9be7d6a86c59e3bbb9db7 | /man/cut_markers.Rd | 808874a90516bbb68cb97f2e43da2cd63da0a0e6 | [
"MIT"
] | permissive | crsky1023/matchSCore2 | 735b06f9451cbb030cd5821ffe99e1036459813b | 9f838d43073d3043774d2032c2a07aad173e5075 | refs/heads/master | 2023-03-18T03:37:06.895410 | 2020-04-05T11:01:43 | 2020-04-05T11:01:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 592 | rd | cut_markers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cut_markers.R
\name{cut_markers}
\alias{cut_markers}
\title{Select the top n cluster markers}
\usage{
cut_markers(clusters, markers, ntop)
}
\arguments{
\item{clusters}{A vector of cluster labels.}
\item{markers}{A \code{data.frame} as in th... |
11acfb7e78ee07e3de0f0e4049f76199e1561b9a | 7665057b28fb224108b09ce4231981c472de38e3 | /tests/testthat/test-rc.calibrate.ri.R | ca14f42a45def5a29e2feebecc2185a159e31332 | [] | no_license | cbroeckl/RAMClustR | e60e01a0764d9cb1b690a5f5f73f3ecc35c40a32 | e0ca67df1f993a89be825fcbf3bfa6eaabbadfef | refs/heads/master | 2023-08-03T10:26:16.494752 | 2023-06-21T14:24:06 | 2023-06-21T14:24:06 | 13,795,865 | 10 | 13 | null | 2023-08-01T01:42:17 | 2013-10-23T07:04:07 | R | UTF-8 | R | false | false | 387 | r | test-rc.calibrate.ri.R | test_that("RAMClustR rc.calibrate.ri", {
calibrant.data <- file.path("testdata", "calibrant.data.csv")
ramclustObj <- readRDS(file.path("testdata", "input.rc.calibrate.ri.rds"))
expected <- readRDS(file.path("testdata", "rc.calibrate.ri.rds"))
actual <- rc.calibrate.ri(
ramclustObj = ramclustObj,
calib... |
b09a9903ee6f10d66395e7e3f61c8753db34ba39 | da7ad84936816cbf9388df36ec18aa2c2d789325 | /src/DumpToDB | c99a971ce9c7d394eacb61ded103c44bf1b2fd28 | [] | no_license | yaesoubilab/TBABM | 14fbf673c9b4fc8b8b1462d30dc3782ae6c7aa18 | 7c8165db1a86f2f011a10601602c46b85a7bdc90 | refs/heads/master | 2023-08-09T02:27:45.410474 | 2023-07-26T01:26:40 | 2023-07-26T01:26:40 | 114,150,710 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,310 | DumpToDB | #!/usr/bin/Rscript
library(docopt)
library(DBI)
library(RSQLite)
library(tibble)
library(stringr)
library(readr)
library(purrr)
library(dplyr)
'usage:
DumpToDB.R -o <sqlite> [--exclude <excludes>] [--excludeCols <cols>]
DumpToDB.R -h | --help
options:
-o <sqlite> Where the SQLite db is. If it doesn\'... | |
60916358e24a398263369a04384daf00f927f37d | 3ae7a3665d4a6e975c6b0970fa96dd1d48ee4a78 | /data-raw/airport_flowmap.R | f1c2503e57575e7bba42e148e37ea4f747e910ca | [] | no_license | espinielli/ifrflows | cc3793e01ecd608d82b7c540d982a75b2b73ede9 | 51fc5f85e12019575588675f5fea9a2937167715 | refs/heads/master | 2021-06-24T12:01:03.925492 | 2020-10-14T07:08:33 | 2020-10-14T07:08:33 | 134,963,683 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,338 | r | airport_flowmap.R | library(readr)
library(dplyr)
library(stringr)
library(tidyr)
library(lubridate)
# from (adapted to include country ISO_A2) Muriel's query
# see first skip line in the file
wef <- "2020-01-01"
til <- "2020-09-13"
filename <- str_glue("city-pairs_{wef}_{til}.csv.gz")
if (FALSE) {
source("R/retrieve_daily_airport_flo... |
492cc5cfbe632fd8438b8fc4e970f50f8bef9393 | 590142f535831def89b5b2d0f6ac1d47b8306850 | /R/reduce.R | 0de377662192575f88e825daf8883441024debc6 | [] | no_license | jfontestad/makeParallel | 2b62704c9e26477bc89d505de313ea07aaebdcca | 6e43f34f51a23692907ec1563d3d47a8e189d7bf | refs/heads/master | 2023-01-13T03:27:16.260825 | 2020-11-17T16:41:04 | 2020-11-17T16:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,210 | r | reduce.R | #' Construct ReduceFun Objects
#'
#' @export
reduceFun = function(reduce, summary = reduce, combine = "c", query = summary, predicate = function(...) TRUE)
{
if(!is.character(reduce))
stop("Expected the name of a reducible function for reduce argument.")
funClasses = sapply(list(summary, combine, query... |
b51923d54ede7c2b236f89d1594fcc9f3c8b5b7e | 1fd23ecab6b0ddb920ac1bc160414c6263c228ff | /man/tidy_paf_tags.Rd | bef004daa9233cc1fc525da114346b61b87f9882 | [
"MIT"
] | permissive | pgpmartin/NanoBAC | c2c476c3f4555d19c9f6ecf0fcee4a3b2a6a96e6 | 822a57969c3876c17ea4fd6be9b4c752007f15d0 | refs/heads/master | 2023-01-30T15:33:38.718472 | 2020-12-09T16:12:26 | 2020-12-09T16:12:26 | 260,939,543 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 514 | rd | tidy_paf_tags.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_paf.R
\name{tidy_paf_tags}
\alias{tidy_paf_tags}
\title{Tidy the flag columns imported from a paf file}
\usage{
tidy_paf_tags(Somedata)
}
\arguments{
\item{Somedata}{A \code{tibble} as imported during the [NanoBAC::read_paf()] function}
... |
42ac7810572910d8c4d1ca6f7c0ba07518af0674 | 922dbeda7fda82321819d68252c73356968b6ba4 | /parm_cvs.R | e8e3942109ae22e05a374149c890bd0cbcc3a100 | [
"Apache-2.0"
] | permissive | megaa/TKDD2019 | b22e6d362cdb0b524c5061de47383d3897523358 | 7d33d41b14d57597e6edcb258277dc854b3a5fb9 | refs/heads/master | 2020-08-24T04:07:16.652750 | 2019-12-11T03:17:15 | 2019-12-11T03:17:15 | 216,759,474 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,502 | r | parm_cvs.R | setwd("~/TKDD2019")
source("globalSetting.R")
if (interactive()) {
stopifnot(FALSE)
} else {
ori_parm_start = 0
FPATH = ""
args <- commandArgs(trailingOnly = TRUE)
ARG1 <- as.character(args[1])
if (nchar(ARG1) >= 2) {
if (substr(ARG1, nchar(ARG1), nchar(ARG1)) == "/") {
ori... |
7c38f27b07dc0f58a1213fe31afd93dcb040cc36 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sjmisc/examples/dicho.Rd.R | 344a346cb0ae54e3d9c9946257a27e0701cdfc54 | [] | 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 | 1,344 | r | dicho.Rd.R | library(sjmisc)
### Name: dicho
### Title: Dichotomize variables
### Aliases: dicho dicho_if
### ** Examples
data(efc)
summary(efc$c12hour)
# split at median
table(dicho(efc$c12hour))
# split at mean
table(dicho(efc$c12hour, dich.by = "mean"))
# split between value lowest to 30, and above 30
table(dicho(efc$c12hour... |
2d33c4ff1773f19b60d080bdee2f1ba15eb7e1b2 | 5b6b52a0097af0a1c014d766a6edfe667604addf | /plot2.R | 3bec122abb7b364acfcc75542d41334069752f6c | [] | no_license | FelixDavidMejia/ExData_Plotting1 | a2be5d7346031c1283ddfe3e23b5c5148cdb3acb | 2004a103f7bdd17bda51bfc1d44ec6457cb31507 | refs/heads/master | 2021-01-16T22:35:46.824808 | 2015-09-12T06:15:56 | 2015-09-12T06:15:56 | 42,286,203 | 0 | 0 | null | 2015-09-11T03:47:33 | 2015-09-11T03:47:33 | null | UTF-8 | R | false | false | 1,167 | r | plot2.R | # Data Science Specialization
# Exploratory Data Analysis: Course Project #1
## Program: plot2.R
## Student: Félix D. Mejía
## Abstract
## This assignment uses data from "Individual household electric power consumption Data Set",
## which includes measurements of electric power consumption in one household with a one-... |
cf712146333617d2fcd20bbffd4b5b1747de1bff | 30cad48b8b1798d8e9bdb7ecbd527f15a5c58ad7 | /GeneSetOverRepresentation.R | 6b050504465a9b2106ff4fecdb42263364d5f6fe | [] | no_license | ZHANGQiaosheng/IaPathway | 9009d385f386dbc9c96483351f54b546ea83e576 | a2cdaa0ad16448794505a607afbafbf941af0cb4 | refs/heads/master | 2020-05-25T20:34:17.831082 | 2019-05-22T06:53:46 | 2019-05-22T06:53:46 | 187,978,931 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 1,626 | r | GeneSetOverRepresentation.R | rm(list = ls())
gc()
source("https://bioconductor.org/biocLite.R")
biocLite("HTSanalyzeR")
library("HTSanalyzeR")
library("limma")
eSet <- read.delim("E:/PhD/Manuscript/DATA/BRCA/NEW/scale/brca.exp.txt", row.names=1, stringsAsFactors=FALSE)
normals <- c(rep("Nor", 37), rep("Tur", 33))
design <- model.matrix(~0 ... |
0169a1b7543dbdfefe857ee0531206d6c2c57943 | bf1f9fc104b167e7754dff893720d5723eec23fe | /R/''BubbleChart.R | eb90547aa0471741d55119a6ac98cd154c37b91a | [] | no_license | aboyher/react-bubble-chart | b5a4754d2f9430b7c9c79ccec742a36d52963022 | 6b6172ea58fef0fc8e91138fdbd262ba7237abbb | refs/heads/main | 2023-08-07T10:44:16.918287 | 2021-09-27T19:30:33 | 2021-09-27T19:30:33 | 404,752,426 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 873 | r | ''BubbleChart.R | # AUTO GENERATED FILE - DO NOT EDIT
''BubbleChart <- function(id=NULL, data=NULL, height=NULL, labelFont=NULL, overflow=NULL, padding=NULL, selectedNode=NULL, showLegend=NULL, valueFont=NULL, width=NULL) {
props <- list(id=id, data=data, height=height, labelFont=labelFont, overflow=overflow, padding=padding, ... |
3f8ad305f25b87d799326fa8d47eb08faeced28b | 3f0d799a02e246022d18f93b1a0c6391f24a0743 | /man/build_geography_minCompAreas1970to2010_1970.Rd | 34a857a9bd69e42741c7fb92ddd45c72426eebf8 | [] | no_license | claudiacerqn/harmonizeIBGE | 3b28eb7cab87ec4a9d56c741438ccddafe6917be | da81837a052cb64d15b21e23c33630fc577aac40 | refs/heads/master | 2020-04-03T00:50:38.767549 | 2018-08-28T20:41:39 | 2018-08-28T20:41:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 460 | rd | build_geography_minCompAreas1970to2010_1970.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/build_geography_minCompAreas1970to2010_1970.R
\name{build_geography_minCompAreas1970to2010_1970}
\alias{build_geography_minCompAreas1970to2010_1970}
\title{Builds a synthetic variable for education attainment - 2010}
\usage{
build_geography_m... |
3b7aaeb7fecafce792e063513804020dc74ee4ed | dc8f251e6f270bf1aba1220b773cf65101962a30 | /man/dt_dates.Rd | 69699fe88e49f878ee9abc966cf2da2af65fa51c | [] | no_license | jienagu/dtverse | 2e3c8926947b17675e9fd6cb534123f53157b4d9 | eda8c8b9d1c0d2bd3d1e5420ef8b6f809368701e | refs/heads/master | 2022-11-28T15:29:14.009154 | 2020-08-14T16:08:04 | 2020-08-14T16:08:04 | 287,570,036 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 358 | rd | dt_dates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-dt_dates.R
\docType{data}
\name{dt_dates}
\alias{dt_dates}
\title{Anonymized sample data}
\format{a data table with dates}
\usage{
data(dt_dates)
}
\description{
Anonymized sample data
}
\examples{
data(dt_dates)
}
\author{
Jiena Gu McLe... |
6d4d8c20c4f00dabbe2a41b3e001fd27ce9d04b1 | a22b29926712651fe32cb6d5731abca8db998f9d | /lecture-09/scratch.R | 0a237edfa9016f9efc0b8d80905b5b4903b2b4bf | [] | no_license | pyiguan/datasci611 | 349acb1f0dfdf7d013d1d5613d9c6508b63e8a45 | e98acc982ff1f869613e18a4ed55eaedd226e30f | refs/heads/master | 2022-12-31T03:45:10.087863 | 2020-10-27T19:25:41 | 2020-10-27T19:25:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,307 | r | scratch.R | library(tidyverse);
source("utils.R");
d <- read_csv("./source_data/datasets_38396_60978_charcters_stats.csv") %>%
tidy_up_names() %>%
mutate(neutral=alignment == "neutral") %>%
drop_na();
d_neutral <- d %>% filter(neutral);
d_nn <- d %>% filter(!neutral);
fd <- rbind(tibble(neutral=rep(TRUE, 500),
... |
78c7af3834ca62a5a1bb1a65f331cfcd180a8126 | 0686d74b327e626362239710f30bef2644c83cfc | /round2_metareview/spatial_EDA/temporal_EDA_with_spatial_scale.R | 695dee1ac710e639a220893096fdc64bf7ecb498 | [] | no_license | caitlintwhite/kremeny_analyses | 1f5bf691c2b2811941f06ca0ebd55e76132bd695 | 0ed7b19b7caffe8c80528767d07170f502f314cd | refs/heads/master | 2022-07-03T17:08:57.467914 | 2022-06-27T16:15:40 | 2022-06-27T16:15:40 | 229,632,534 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 4,246 | r | temporal_EDA_with_spatial_scale.R | library(tidyverse)
library(reshape2)
library(plotly)
data_path = "round2_metareview/data/cleaned/prelim_singlereview.csv"
df = read.csv(data_path)
non_excl_titles = df %>%
filter(qnum =='Q3', !answer=='Yes') %>%
select(Title)
spat = df %>%
filter(Title %in% non_excl_titles$Title) %>%
filter(qnum %in% c("Q8... |
b2d9a8e807922d0d246e97e988143e5bfa18d0f3 | 125e43f58d98268b67421a3ace1bf10308792cf2 | /bayes_net_test.R | 253a1df5b9878d71e7c9df1e6064a4f514a6fea1 | [] | no_license | rbstern/bayesNet | 58184b6ad91c7405860d51704ba3165f04fc6257 | 2ac4adae5b2782870ef6a1435099bfa3126abe2d | refs/heads/master | 2018-11-11T18:51:10.572830 | 2018-08-22T21:34:03 | 2018-08-22T21:34:03 | 118,653,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,979 | r | bayes_net_test.R | source("bayes_net.R")
############################################
## Example 1: Bayes net with no NA's, ##
## 2 labels and no covariates. ##
############################################
nn = 10^4
label1 = c(rep("a", nn/2), rep("b", nn/2))
label2 = c(rbinom(nn/2, 1, 0.2), rbinom(nn/2, 1, 0.9))
this_dat... |
cf0dd7e6d3ed8d0ef5ddac4bc79c2380d53216cb | d1aca01f1aa7e658d6f4d5586f9a22bf5572cb15 | /man/image_modify_hsv.Rd | fb261bd25cc6a005d498174c8d88c0a30503f440 | [] | no_license | cran/plothelper | cc65cf63b02c1b27e2c483f60cb223f078f131e5 | c073fd0b0351023e8906ad1f15f5b130f0aadfff | refs/heads/master | 2020-12-22T02:12:30.035018 | 2020-05-08T07:40:10 | 2020-05-08T07:40:10 | 236,640,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,777 | rd | image_modify_hsv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/image_modify_hsv.R
\name{image_modify_hsv}
\alias{image_modify_hsv}
\title{Modify the H, S, V Values of a
Color Vector or an Image}
\usage{
image_modify_hsv(
x,
set_h = NULL,
add_h = NULL,
mult_h = NULL,
rescale_h = NULL,
fun_h =... |
8b7202a20a4627334d62abf0c652fa16005babd7 | 98262aae95f8b1966972b1521411d44936fcc09d | /plots_code.R | 286354048b37a7d7d62cdfecef5c37433c65267d | [] | no_license | pmatarrese/twitter_bot_detection | f1bb53fadacf89ac9f5da9fd7eb96546bceef89c | 106e99b1920b5b00d6867ce83b1761000252e59c | refs/heads/master | 2023-06-01T04:34:50.633902 | 2021-06-04T03:56:18 | 2021-06-04T03:56:18 | 368,020,412 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,448 | r | plots_code.R |
# Show unlabeled results with only "verified" users
results_tbl %>%
filter(human_bot == 0) %>%
kable(caption = "The three classifiers at least predicted the known humans (verified accounts) fairly accurately.") %>%
kable_styling() %>%
save_kable("unlabeled_results_humans.png")
# Show account age difference i... |
62ee409429b2805eddf232d741e4b850d771926d | 36445f7373f3ff510d01f577b9d1ed7ad76b365c | /Experiment II/Engagement/engagement_script.R | 888fb954f8adb244cd96800751b0c5eb1d44247c | [] | no_license | datastatistics/VR2018 | 710e9248349c71152951e763ce27989645395b7d | a6d030b103e8e39c000997e31a7999aae2b67bbe | refs/heads/master | 2021-06-24T23:51:04.101515 | 2017-09-11T16:10:54 | 2017-09-11T16:10:54 | 103,141,299 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,829 | r | engagement_script.R | source("Common_files/load_packages.R")
source("Common_files/statistics_analysis.R")
source("Common_files/utils.R")
eng_data.df <- read.csv("Experiment II/Engagement/Data/engagement_data.csv", sep = ";")
eng_data.df <- melt(eng_data.df, id.vars = c("user", "setup"))
melted.df <- ddply(eng_data.df, .(user, setup), summ... |
5608e865b3f82b8c5fba4029c445b246334432cf | 0603cd2c6798c62b21769e970d02951b15b6628b | /run_analysis.R | ee90e1753f198d1f80f04be7bbeea0732ae85885 | [] | no_license | vonphoebe/Getting-and-Cleaning-Data-Course-Project | 20c5e6564f2e6d236df9f76763373848a98225c6 | 11634b436033a9fd522a542e6d03ef5c41cbefd4 | refs/heads/master | 2021-01-20T15:36:51.942890 | 2016-07-24T06:11:54 | 2016-07-24T06:11:54 | 64,040,148 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,922 | r | run_analysis.R | ## Create one R script called run_analysis.R that does the following
## 1. Merges the training and the test sets to create one data set.
## 2. Extracts only the measurements on the mean and standard deviation for each measurement.
## 3. Uses descriptive activity names to name the activities in the data set
## 4. Ap... |
c846c52badc901a96e50149e218cd3ae62aac7ac | 3e30053945a0b0012901e4b33fd95c39bd8f154b | /DAISIE/man/get_ana_rate.Rd | f2b5eb0bae9472752f2a240704acc091b6edb9c0 | [] | no_license | richelbilderbeek/DAISIE | e0442c1dcf278642ee1c4a57bb817f1e27ec7e5a | f476f5bcda00909e86beb73869ca23a6fdeaf52f | refs/heads/master | 2020-03-19T11:10:12.881461 | 2018-12-12T17:40:36 | 2018-12-12T17:40:36 | 136,436,234 | 0 | 1 | null | 2018-09-19T09:02:56 | 2018-06-07T07:05:37 | R | UTF-8 | R | false | true | 743 | rd | get_ana_rate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DAISIE_rates.R
\name{get_ana_rate}
\alias{get_ana_rate}
\title{Calculate anagenesis rate}
\usage{
get_ana_rate(laa, island_spec)
}
\arguments{
\item{laa}{per capita anagenesis rate}
\item{island_spec}{matrix with current state of system}
}
\... |
ebf03ebc3c10b33dc2c9d4773785321e3da7471b | 538a7e7069ea7efa2386b552cdca126f230a38f4 | /R/ranking.R | 931f7b60ddbf0dffe7d768a1efb5690d91be671b | [] | no_license | jakobbossek/evoprob | b803729f358e509b0f1d33fa0ffeb67e3ce5feaa | d925adb303fe603603625a7affec6c61e635b9d8 | refs/heads/main | 2023-05-31T19:35:22.322363 | 2021-06-29T19:12:58 | 2021-06-29T19:12:58 | 351,442,361 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,260 | r | ranking.R | #' @title Get algorithm ranking.
#'
#' @description Given a named vector of performance values the function returns
#' the names in sorted order of performance.
#'
#' @param x [\code{numeric} | \code{list of numeric vectors}]\cr
#' Named vector of at least two performance values or list of such.
#' @param maximize [\... |
d7fb58f314fc1408f01ea2368d466650214e835b | 2b837f06f5b756dd9da76f613c5d58308a01f828 | /man/lagInfluDataFHI.Rd | bba3e94523b8c5e861662409a9c7129d7b2de802 | [
"MIT"
] | permissive | Rapporteket/korona | f9f495af8a9aeeb092c71ff5276c384cf6b8e719 | b54d69883d30405a98ba133fd585a47fb6cfae96 | refs/heads/rel | 2023-07-07T18:41:47.818867 | 2023-06-27T10:21:20 | 2023-06-27T10:21:20 | 250,873,426 | 0 | 0 | NOASSERTION | 2022-03-09T15:52:29 | 2020-03-28T19:09:35 | R | UTF-8 | R | false | true | 392 | rd | lagInfluDataFHI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FunksjonerDatafilerFHI.R
\name{lagInfluDataFHI}
\alias{lagInfluDataFHI}
\title{Henter data og velger variabler for overføring til FHI}
\usage{
lagInfluDataFHI(personIDvar = "PersonIdBC19Hash")
}
\value{
#Influensadata tilrettelagt for FHI
}
\... |
d283a48b543f1dc177672de3804bca47cab15af2 | b73ba9d91f872931cbf88d50999411c0bb7c211e | /R/process_casts.R | 371a431221614ab52b3f550340f9b99bb71ba3c7 | [
"MIT"
] | permissive | weecology/portalcasting | 73347ce66f8c1e5c080a1f1029ec17026c912588 | a35a77214d41dbdaa50bb39452b5fe49c3763a83 | refs/heads/main | 2023-08-20T12:48:59.392495 | 2023-05-23T01:16:33 | 2023-05-23T01:16:33 | 129,144,321 | 8 | 12 | NOASSERTION | 2023-05-23T01:16:34 | 2018-04-11T19:34:03 | R | UTF-8 | R | false | false | 21,875 | r | process_casts.R | #' @title Process and Save Forecast Output to Files
#'
#' @description Take the model fit and forecast output, process them into savable objects, and save them to the output folders. \cr
#' The forecast metadata file is updated accordingly to track the saved output. \cr
#' `add_observations_to... |
e24cf0a71e9d7101cf631b468004e0580c2eef9d | 0ff06478c18026955ebf512cd3dcaef7293e1c30 | /R/erccSpikeConcentration.R | 3f770edf1ac47d660cf7a69766ce15a997798b37 | [
"CC0-1.0"
] | permissive | charles-plessy/smallCAGEqc | 83d19b21890eed9455eaca13c87455bd53f45950 | e3642f25b43314779c33388129b5d47a5a1538ec | refs/heads/master | 2021-03-13T01:36:47.956099 | 2018-01-25T04:27:20 | 2018-01-25T04:27:20 | 34,089,765 | 1 | 1 | null | 2017-03-22T05:47:31 | 2015-04-17T01:24:16 | R | UTF-8 | R | false | false | 2,232 | r | erccSpikeConcentration.R | #' erccSpikeConcentration
#'
#' Various data related to ERCC spikes
#'
#' In quantitative transcriptome analysis, we often add synthetic RNA to the reaction for
#' quality control and normalisation, and the External RNA Controls Consortium (ERCC)
#' spikes are a popular choice, available commercially from Invitrogen ... |
14da6fa0746c8a9cbac95f09f672397d18aebbda | 188cccf91562a5b65e060ffda807a0aa636436f4 | /999_nate_data_check.R | eae400e050f680d3611493868c4f072ca688e33d | [] | no_license | kristopherdelane/NASDAE_pums | 90dfaf6168777bca2d556e7ca3d775efab04d949 | d24d83e425abd94804c9816af8855e711b2abecf | refs/heads/main | 2023-03-09T17:27:04.394978 | 2021-01-22T13:07:30 | 2021-01-22T13:07:30 | 331,948,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,486 | r | 999_nate_data_check.R | library(tidyverse)
library(tidycensus)
# Read in PUMS file for Kentucky ------------------------------------------
x <- Sys.time()
ky_pums <- get_pums(
variables = c("PUMA", "AGEP", "SCHL", "ESR", "FPAP", "NOC", "ENG", "SCH", "RELP"),
state = "KY",
survey = "acs5",
recode = TRUE
)
# Create an output of chi... |
c683e1fed13b075ffcf5816980e999d330758d67 | c6fe884e6fe918425ea56489107a2933790478c9 | /plots/functions/altplot.R | 46bc806e385ba1c437c20a5552c0677f35ea0a69 | [] | no_license | skgallagher/r0 | 2cd7a2a591982c1c7955333bc78194c60d8db71c | e84546793665876116501987d51feac0e74a7aae | refs/heads/master | 2022-04-12T09:47:21.075378 | 2020-03-20T19:15:30 | 2020-03-20T19:15:30 | 139,631,262 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,259 | r | altplot.R | res_path <- "C:/Users/Andersen/Documents/R0/DataSim/PaperResults/3"
res_list <- paste0(res_path, "/",
list.files(res_path))[-3]
alt_list <- vector("list", length = 3)
alt_list2 <- vector("list", length = 3)
for(kk in 1:length(alt_list)){
alt_list[[kk]] <- matrix(NA, nrow = 1, ncol = 2)
col... |
27f60e73654c51b217e133eed6dfe3f4ed66ecc3 | b2bb84a70d1e8121612048ff54a664f14be7cf1a | /man/simulate_e.Rd | a01aa9ca50a1c91ff53bffc6f4d3f0e28d86a53e | [
"MIT"
] | permissive | fboehm/mitra2013 | 1edacda8e5b324d458a1d925ba5309584d014f19 | 6914988c363a7a0a75d18b460bbd90324b3517dc | refs/heads/master | 2021-01-10T12:13:05.724289 | 2016-02-29T04:43:57 | 2016-02-29T04:43:57 | 52,041,484 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 231 | rd | simulate_e.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulate_emat.R
\name{simulate_e}
\alias{simulate_e}
\title{Simulate emat}
\usage{
simulate_e(G, betamat, niter = 8000)
}
\description{
Simulate emat
}
|
357543dc9331503c6464edac755dd75637cfffad | ba903baa4f3b3b594e8fd6b9ada8b1e675a8afc6 | /R/unhcr_paged.R | 0e4967c3e152e56802da11634a50f875a757c987 | [] | no_license | weisisheng/unhcr_pagedown | 482eba671af9a9494d60dc455085f0cf836c216e | 0ce5b6e9c1b2e1d8196d38d827e4d71dcac35ba5 | refs/heads/main | 2022-12-29T22:08:08.265812 | 2020-10-14T03:46:40 | 2020-10-14T03:46:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 553 | r | unhcr_paged.R | #' Create a paged HTML document suitable for printing with UNHCR Brand
#'
#' @param ... Arguments passed to
#' \code{pagedown::\link[pagedown]{html_paged}}.
#' @references \url{https://pagedown.rbind.io}
#' @return An R Markdown output format.
#' @import stats utils pagedown
#' @export
#'
#'
unhcr_paged = function(..... |
c77532702a0fab2684b323f8b8180bb39673e486 | e119a33081c8aa7bf698a3084288b18e0c2b9612 | /man/validate_qra_fit.Rd | 7290f6bb5e694e6f27cf6bfe655fd155afd86cd5 | [] | no_license | reichlab/covidEnsembles | 6bc7f7a5a7f4d75fdb5f3161fdedc7d79841a95d | 8c5d2191f055e15a11c5a1f6ccbae4862799ff3d | refs/heads/master | 2023-04-17T01:46:14.579225 | 2023-03-08T17:25:57 | 2023-03-08T17:25:57 | 263,742,360 | 5 | 5 | null | 2023-03-08T17:25:59 | 2020-05-13T21:01:59 | HTML | UTF-8 | R | false | true | 353 | rd | validate_qra_fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qra_fit.R
\name{validate_qra_fit}
\alias{validate_qra_fit}
\title{Validate qra_fit object}
\usage{
validate_qra_fit(qra_fit)
}
\arguments{
\item{qra_fit}{}
}
\value{
invisible(TRUE) if qra_fit is valid;
otherwise, an error is thrown
}
\descri... |
20842bfd01618eb4f2a4f8c2e2256d8a4f31213d | 327641fcdabd1e3e17eb931004eda0e7da26f953 | /download/server-pairs.R | aa653a9609faf7756d13abe18d841fc73570f578 | [] | no_license | stranda/unpak-shiny | d496ed5e44b97efaebf63d7ea693738db7f6a930 | e1a8d2874745655f55df95fda1423f0886f9c997 | refs/heads/master | 2020-12-25T22:36:15.444895 | 2017-08-18T12:06:07 | 2017-08-18T12:06:07 | 39,632,437 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,293 | r | server-pairs.R | source("global.R")
dbInfo = read.table('../../dbInfo.txt')
makeHTMLtable <- function (df)
{
url.root.old <- "http://arabidopsis.org/servlets/Search?type=germplasm&search_action=search&pageNum=1&search=Submit+Query&germplasm_type=individual_line&taxon=1&name_type_1=gene_name&method_1=2&name_1=&name_type_2=germplas... |
f7bd92825c623d17001a3d5c4614807569745bc0 | d709ea9a4b89c4b30ab1db4449ffbb237c8018eb | /app3/test.R | ff9fe1b3689b970283504163c5b62b0cdc27025e | [] | no_license | lillamy2012/glans | 98e3a0e8c3d066e4750e6878298cb83d01a53d2a | c9bb24b3469189562ff351c9d67a7af246f00363 | refs/heads/master | 2021-01-21T13:44:15.581004 | 2016-04-29T11:39:56 | 2016-04-29T11:39:56 | 36,927,509 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,284 | r | test.R | library(dplyr)
indata = read.csv("/Users/elin.axelsson/Desktop/MS_H31_H33_allmodifications.csv",skip=2,sep=";",dec=",")
tab_data = tbl_df(indata)
groups_l3 = distinct(select(tab_data,Accession,Sequence,Modifications))
groups_l2 = distinct(select(tab_data,Accession,Sequence))
groups_l1 = distinct(select(tab_data,Access... |
861ba9eb25ddec048d3fe8101937b1cda902a15c | 0b594e08270fe5aa4bde5d1b400e9baf3d3f94e4 | /R/main.R | 6b4b69f6308f5fb679c66c8a2310df39c4e625bc | [
"Apache-2.0"
] | permissive | OHDSI/SkeletonPredictionValidationStudy | 25e6ddd47693ddde19da8e53fa39c936c1c971fb | a509b70dde8a9bb6c59cbfddbff334521f84cc93 | refs/heads/main | 2022-05-20T23:41:31.549562 | 2022-03-17T21:01:13 | 2022-03-17T21:01:13 | 249,766,382 | 0 | 0 | null | 2022-02-23T19:00:36 | 2020-03-24T16:57:25 | R | UTF-8 | R | false | false | 3,709 | r | main.R | #' Execute the validation study
#'
#' @details
#' This function will execute the sepcified parts of the study
#'
#' @param databaseDetails Database details for the validation created using \code{PatientLevelPrediction::createDatabaseDetails()}
#' @param restrictPlpDataSettings Extras data settings such as sam... |
7f1764aff8313f7aeed2c04176ec194c3cb97680 | 12830b5570e4acaf8bc44e670d0aecfe27f8a0b5 | /tests/testthat.R | 6f9a2b1908f50844c99b77fa22f7bd2d85cff163 | [
"MIT"
] | permissive | favstats/wtmapi | 695488445d4242979b7f469e9607f19848abbb72 | ccc99f4332d80a7a179e0050e17e3ecce1e00fe4 | refs/heads/master | 2023-07-17T16:08:01.103668 | 2021-09-06T14:44:43 | 2021-09-06T14:44:43 | 388,148,022 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(wtmapi)
test_check("wtmapi")
|
1810a2343d83598b0d39ff4296b80478ae5a0e6d | 219715b27eec77fb87304b99e0066c6fcbc7438e | /04_8.R | ef58ef9a9a5658cf0c5365954946f7314e8cd467 | [] | no_license | jsta/practical_ecomod | 047de080e243a988f88adfb49e5dfa9590dd809f | 6e3a876908b51c268bb978b8b45310da93dff375 | refs/heads/master | 2020-03-15T08:11:34.981593 | 2018-05-03T20:43:00 | 2018-05-03T20:43:00 | 132,045,337 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,937 | r | 04_8.R | #####################################################
# Figure 4.8. Sediment mineralization model
#####################################################
#General settings
library(deSolve)
# Function to calculate model cost
costf <- function(params){
with(as.list(params), {
Carbon <- meanDepo * mult / k
out... |
ed90c7ad7b0cc9b7aad327708fbff7c454e9f27a | 6614da007b351ae3c3335983a392062f08e91fd4 | /examples/multiR/Rcross.R | b766ce08aedbfb43b75e038f363280e8f7a310e8 | [] | no_license | SchlossLab/Great_Lakes_SLURM | aa5e83f9f9c6d6287305d11fac823c69526e2b30 | c745e06d2a5121262b14d3972c7b4f02910df1d7 | refs/heads/master | 2022-02-28T10:11:06.071015 | 2022-02-15T14:59:15 | 2022-02-15T14:59:15 | 189,630,304 | 12 | 6 | null | 2020-04-03T14:03:52 | 2019-05-31T17:04:42 | null | UTF-8 | R | false | false | 746 | r | Rcross.R | library(parallel)
n <- 100
set.seed(123)
x <- rnorm(n)
y <- x + rnorm(n)
rand.data <- data.frame(x, y)
K <- 10000000
samples <- split(sample(1:n), rep(1:K, length = n))
cv.fold.fun <- function(index) {
fit <- lm(y~x, data = rand.data[-samples[[index]],])
pred <- predict(fit, newdata = rand.data[samples[[index]]... |
dd6e4606ca77a803a413fce8751651075fe636f2 | 8b8ada35adca2b9636c585a130ca58708deca697 | /R/grob.R | 486b47e7566de6ab20ce4953760145d61ef8a1a6 | [] | no_license | pmur002/gridgeometry | bb79e5c9905cf5ea19096b17475e9aaa04ffcdb2 | 0d414bfa0924c5aca460303b3c497cce9a068c89 | refs/heads/master | 2022-12-23T05:27:11.859355 | 2022-12-06T21:42:28 | 2022-12-06T21:42:28 | 168,773,351 | 11 | 3 | null | 2022-10-10T00:41:27 | 2019-02-01T23:28:58 | R | UTF-8 | R | false | false | 6,628 | r | grob.R |
################################################################################
## Convert polyclip() results to grobs
## Convert (closed) 'polyclip' polygon result to 'grid' path
xyListPath <- function(x, rule, name=NULL, gp=gpar()) {
if (missing(rule)) {
if (is.null(attr(x, "rule")))
rule <... |
1cbf10832bc98cea097bc1ce5f8dee972096e6df | 4b7e8e2e40adab24179197e069408740dcb309dd | /plot2.R | 066f56c787c93113e86ea410c4ff0e5df6326ec1 | [] | no_license | SimoneSinkovec/ExData_Plotting1 | 0c8a3e1057c5e8b9511b70b20b45ce448c8a4569 | 3f226a723470fad7cc5d248d3875005135500416 | refs/heads/master | 2022-04-08T12:00:03.915305 | 2020-03-25T20:31:56 | 2020-03-25T20:31:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,178 | r | plot2.R | library(dplyr)
library(datesets)
library(tidyr)
data <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", dec = ".") # read txt file with read.table.
data$Date <- as.character(data$Date) #class had to be character for subsetting without as.Date() & strptime() function
feb <- subset(data, Date == ... |
f0af7a9204e66fcba3001009451452b1d43a0168 | 0f54bd5a4fd9c51f30896cd1c070ba1fe5709095 | /man/splendid-package.Rd | 9aac8e8dcceec8d18ad1ca023d94e4f89a578af1 | [
"MIT"
] | permissive | AlineTalhouk/splendid | 643905b988fa48fe5ed1e889bd745654c9f7a31f | c1062d167227afb3b9f8f70d924e81b8bd7843dd | refs/heads/master | 2021-12-10T13:40:24.727988 | 2021-12-03T02:22:38 | 2021-12-03T02:22:38 | 86,625,708 | 1 | 0 | NOASSERTION | 2021-02-10T22:34:00 | 2017-03-29T20:19:30 | R | UTF-8 | R | false | true | 1,140 | rd | splendid-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splendid-package.r
\docType{package}
\name{splendid-package}
\alias{splendid-package}
\alias{_PACKAGE}
\title{splendid: SuPervised Learning ENsemble for Diagnostic IDentification}
\description{
Provides a bootstrapping and ensemble framework ... |
5abad6fedc8a604a32b08d219a29bb533274be74 | 0d00184a3503f14305ca7e98aa3298a69de33e39 | /9Dec2104.R | cdde613d8f3247f006dfa1ae720ebcc13b71c28d | [] | no_license | StrangeTcy/Statistics | e5e1f879cc0362e9c71c45ed90b549ecf64c8bc5 | cd1301f0e031781d54ae3cb7eb42ae68112ab6e5 | refs/heads/master | 2021-01-23T02:28:55.264697 | 2015-03-28T10:12:27 | 2015-03-28T10:12:27 | 33,028,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,160 | r | 9Dec2104.R | data_x <-c(-3,-2,-1,0,1,2,3)
data_y <- c(-10,0,4,5,4,2,-2)
plot(data_x, data_y)
d<-matrix(c(7,0,28,0,28,0,28,0,196),nrow=3)
d_inv <- solve(d)
X_transp <- matrix(c(1,1,1,1,1,1,1,-3,-2,-1,0,1,2,3,9,4,1,0,1,4,9),nrow=3,byrow=T)
X_transp
## a%*%b --matrix multiplication for matrices a and b (in specified order)
temp <- ... |
c4197909bc34b8a267c33784f25ffa62ce0bdab7 | e654e66d43ccaf9658408dce89c675b98612fdb2 | /code/simulate_kmt.R | 2392e637bc9ff0811143aa55b9b01c057b342de9 | [] | no_license | hannahbus/gmvp | 76b43f125ab543064007816dc706ef0fd805ab04 | 0a28e4361f3095831cdc91e5a5df5571e6fc828f | refs/heads/master | 2022-11-24T03:41:27.261348 | 2020-07-29T21:40:59 | 2020-07-29T21:40:59 | 277,495,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,128 | r | simulate_kmt.R | # Simulation of data in accordance with Taylor ====
generate_data <- function(n_T, sigma_vartheta, logh_0, gamma,
phi, sigma_eta, X_series,
beta_0){
h_series <- generate_h(n_T, sigma_vartheta, logh_0, gamma, phi)
beta_series <- generate_beta(n_T, sigma_eta, bet... |
0834a0ae962551118709e4299209574c9e54a61c | 72234b64f6903685a3dcb757ec68fae8c0c0f832 | /cachematrix.R | 6d1a98322397747d55091afaca3b104ae90b8d5f | [] | no_license | ebloo/ProgrammingAssignment2 | cceae189a3cddce7f3b64c26ef0c6c1fc5cd28c7 | 421a3b499ff342683cd31177e45022b427879497 | refs/heads/master | 2021-01-19T07:54:42.267585 | 2015-09-24T20:09:10 | 2015-09-24T20:09:10 | 43,083,554 | 0 | 0 | null | 2015-09-24T17:57:37 | 2015-09-24T17:57:36 | null | UTF-8 | R | false | false | 2,152 | r | cachematrix.R | ####################################################################################
##
## cacheMatrix.R
##
## Contains a framework for computing and caching the inverse of a matrix,
## leveraging scoping rules of R for efficiency.
##
## Can be invoked as follows:
## mymatrix <- matrix(rnorm(4), 2, 2)
## m <- makeCache... |
672fbc1c3420e978a53287dee1a129fa80988e56 | 9277e549802eb213f90c7d61624aace84003e820 | /man/get_cmapplot_globals.Rd | 4e82bc79cdc45e334e8708780baa55d100ac7e9e | [
"MIT"
] | permissive | CMAP-REPOS/cmapplot | 5f479a7e217666e03c86132054915b23475ceb5a | 13563f06e2fdb226500ee3f28dc0ab2c61d76360 | refs/heads/master | 2023-03-16T03:25:59.202177 | 2023-03-08T04:28:04 | 2023-03-08T04:28:04 | 227,153,492 | 9 | 1 | NOASSERTION | 2023-03-08T04:28:06 | 2019-12-10T15:25:18 | R | UTF-8 | R | false | true | 4,727 | rd | get_cmapplot_globals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cmapplot_globals.R
\name{get_cmapplot_globals}
\alias{get_cmapplot_globals}
\alias{cmapplot_globals}
\alias{get_cmapplot_global}
\alias{set_cmapplot_global}
\title{The cmapplot_globals environment}
\usage{
get_cmapplot_globals()
get_cmapplot... |
f9620725516c88bd895f216d76f4e774a21df1b8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rcolombos/examples/quick_search.Rd.R | 62e204ec16a34d45de755fcb32626f0ce6c695fe | [] | 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 | 712 | r | quick_search.Rd.R | library(Rcolombos)
### Name: quick_search
### Title: This method mimics the quick_search functionality of Colombos.
### It takes a string containg the nickname for the selected organism and
### a vector of string representing the genes of interest for the
### specified organism and returns a list containing the... |
2e8af700975fd55ed5bcede70b63530fe48642e1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rmonad/examples/extract_metadata.Rd.R | b7885a91c3f1c5286dacd51d84a4b06ed42ef822 | [] | 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 | 593 | r | extract_metadata.Rd.R | library(rmonad)
### Name: extract_metadata
### Title: Extract docstring and meta data from an anonymous function
### Aliases: extract_metadata
### Keywords: internal
### ** Examples
## extract metadata from a block
expr <- substitute(
{
"this is the docstring"
list(foo="this is meta data")
5 * 32
}... |
667a28779876f7f319a5bf55820ca490cdef2598 | 67beb7f17ae6a66b5865c0828592e8c13097da46 | /man/pmf_list.Rd | 3207845d4379bb2863e009b3037acab26b5c28c9 | [] | no_license | SamirRachidZaim/binomialRF | 7604c2991119a34210332a1274852c27ac3eb411 | 1c715007809f116f1261063bcb2c5263de070344 | refs/heads/master | 2021-08-08T09:36:56.897143 | 2021-07-17T01:06:17 | 2021-07-17T01:06:17 | 187,258,451 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,187 | rd | pmf_list.Rd | \name{pmf_list}
\docType{data}
\alias{pmf_list}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{A prebuilt distribution for correlated binary data
%% ~~function to do ... ~~
}
\description{
This data contains probability mass functions (pmf's) for correlated binary data for various parameters. Th... |
e0df196ad7b1706bb9bc21b707195a8932a5fecf | 38ee7ac7164940545b868d3113ffb1d8ee350baf | /R/StatFactor.Cov.R | 48d5174eaf4c66e58078356e077491f5156ab538 | [] | no_license | cran/FinCovRegularization | 15d0e30d3a115fa589a8b12d2280edf37e437aac | a9f293028dd5a93166689f6fd93fdcbbe3607eb0 | refs/heads/master | 2021-01-18T22:36:36.791318 | 2016-04-25T15:32:07 | 2016-04-25T15:32:07 | 31,490,191 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,188 | r | StatFactor.Cov.R | #' @title Covariance Matrix Estimation by Statistical Factor Model
#'
#' @description
#' Estimate covariance matrix by fitting a statistical factor model
#' using principle components analysis
#'
#' @param assets a matrix of asset returns
#' @param k numbers of factors, if k = 0,
#' automatically estimatin... |
b8c38f550a375a6736f0cba1a2f0eced70658e8b | 15a13b7cb3504bc94c922554caab22618503bd98 | /man/getRatingResult.Rd | 0b5f5d72341331ab6048456015972d5ceaf35b27 | [] | no_license | DataShrimp/rating | 875156265f69e57b3bb71c41cec883eab5a6d5d4 | 66934a513cca367f9d5eda2a332f566ed149af20 | refs/heads/master | 2020-12-25T18:52:02.660671 | 2017-06-11T09:59:38 | 2017-06-11T09:59:38 | 93,995,767 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 562 | rd | getRatingResult.Rd | \name{getRatingResult}
\alias{getRatingResult}
\title{get rating results from the index data}
\usage{
dt.index <- getRatingResult(dt, rate_range, category_colnum=NA, bins=NA)
}
\description{
This function is used to rate the specific indexes defined by parameter 'rate_range'.
The parameter bins is used to assig... |
a3e8b9f6c807d2e4cf721411c1e57c469f34d496 | 97b43d02ae8395bb6b45f6756e96bbb9b6078191 | /R/glue-bowtie.R | a9a197874fdf4c5097ccf40485db80e78acb4643 | [
"MIT"
] | permissive | t-arae/ngscmdr | 03637f7fa4f7835f65e1be734a3bd1dbedb207a7 | 5912ca6a0c7c6f6471d070bf2ad6535e9e99da4b | refs/heads/master | 2020-03-09T00:57:13.322949 | 2019-09-18T00:56:28 | 2019-09-18T00:56:28 | 128,501,154 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,179 | r | glue-bowtie.R |
#' Generate genome index for bowtie
#' @importFrom glue glue
#' @param fasta_path fasta file containing reference sequences to be aligned for
#' @param index_name Name of the index
#' @export
glue_bowtie_genome_generate <-
function(fasta_path, index_name){
glue("
bowtie-build -f {fasta_path} {index_name}
... |
c8dba850112fc7f80c240cc7f6e53d566bd7f52f | 3c8b7c89dd898021de2e5c4b6e67197e554d5b14 | /src/eda - s550/eda.R | 7c13a79078a48e4b4e8d5e37032cc39680ef3a6d | [] | no_license | hxman027/RealEstate | c8b80f6aa29927beb0a022ba38304a6f985d9990 | e1626c3e29d838c57b39e89441ba39800a419d9f | refs/heads/master | 2022-05-15T08:38:12.438640 | 2020-04-29T19:53:02 | 2020-04-29T19:53:02 | 236,350,582 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,151 | r | eda.R | # Gian Carlo EDA
# preamble ####
library(tidyverse)
library(readr)
library(readxl)
library(ggplot2)
ggplot2::theme_set(theme_classic())
library(viridis)
# data wrangling ####
# data import
columnnames <- readxl::read_xlsx("colnames.xlsx") %>%
colnames()
real.estate_full <- readr::read_csv("2016 - 2020 Raw.csv",
... |
842b71a57985bcdda13f6965bcb0161409d341cf | 0709b186b4ddca2a5413e36d1a84753c8b90d41a | /Fig5.R | 0d6784f55eabf8d2e7b5b964e1f211c44be3290a | [] | no_license | RyoMogi/CCF_Decomposition | 6d7637921240742620cc1dc6f8d4bb51e48a2256 | 154f9b4ac4fb45769b01c62b6ab4e67cbabe1134 | refs/heads/master | 2023-03-04T04:25:56.741095 | 2021-02-14T14:36:14 | 2021-02-14T14:36:14 | 338,822,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,669 | r | Fig5.R | library(ggrepel)
Mycol <- c("#08306B", "#238B45", "#FD8D3C", "#D4B9DA", "#FFEDA0")
#sel_bc_Fig5 <- reactive({
# switch(input$dataset_Fig5,
# "1940-1970" = 1,
# "1945-1970" = 2,
# "1950-1970" = 3,
# "1955-1970" = 4,
# "1960-1970" = 5,
# "1965-1970" = 6
# )
#})
sel... |
7b74327e735f6149ba3fcc8d67f320c7f0c30432 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dataMaid/examples/exampleData.Rd.R | e144f375045d04a7090cba2bea2b6a252b66078c | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,164 | r | exampleData.Rd.R | library(dataMaid)
### Name: exampleData
### Title: Example data with zero-inflated variables
### Aliases: exampleData
### Keywords: datasets
### ** Examples
## Not run:
##D isID <- function(v, nMax = NULL, ...) {
##D out <- list(problem = FALSE, message = "")
##D if (class(v) %in% c("character", "factor", "la... |
6139f0ce8f0d3ee6523a92146d73307b3b1d8b9c | cae21dd8f17f9d284ec9635128b62cc7c0149633 | /R/power.R | b0d757d158ef898909f960d4f8d81e0ec3d34ff1 | [] | no_license | heiniglab/scPower | 5cf321753d0da67573bde205e0092a7981b44c64 | 108bf5691b853496290d60e63ffe230e0dc886fe | refs/heads/master | 2023-08-08T23:35:35.626748 | 2023-07-19T14:01:39 | 2023-07-19T14:01:39 | 249,658,551 | 31 | 4 | null | 2023-07-10T09:32:12 | 2020-03-24T08:58:19 | R | UTF-8 | R | false | false | 115,996 | r | power.R | ######################################
# Functions for power calculation
#####################################
#' Power calculation for cell type identification
#'
#' Calculate probability to detect at least min.num.cells of a cell type
#' with class frequency cell.type.frac in a sample of size nCells.
#' for each of ... |
2db6251b0d3b011d4fbdc396543bfa1e41744be3 | 0079d55b6d1178f390b333cc6afc36e39c87ac87 | /man/InitialProcessing.Rd | 3f6048f66a25d8ba3f015d502170dc75485a81f5 | [] | no_license | cran/rWMBAT | 08e88ec256fd6125b11ff16e9b510f888568c96a | 1b5961730491fa9cea2bd4625b7fc0da6911fbf1 | refs/heads/master | 2018-12-29T21:26:46.553640 | 2009-10-28T00:00:00 | 2009-10-28T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,115 | rd | InitialProcessing.Rd | \name{InitialProcessing}
\alias{InitialProcessing}
\title{INITIALPROCESSING Inital Prep of Data from Signal Processing}
\description{Takes peak list which has been imported into R and prepares the peak list For Bayesian Analysis}
\usage{
InitialProcessing(StructIn)
}
\arguments{
\item{StructIn}{List with the ... |
1a9c1c6b02a9e5e8e144b90d77a7b5b6e20386e8 | a68fcf7bad70e91af4b398df8bee04b9b0bda82e | /S34_S38_phylogenetic_comparative_methods/scripts/resources/slouch/man/slouchtree.plot.Rd | ddf218462ad4018769ed6afdaa497c0fa9a8e19a | [] | no_license | hj1994412/teleost_genomes_immune | 44aac06190125b4dea9533823b33e28fc34d6b67 | 50f1552ebb5f19703b388ba7d5517a3ba800c872 | refs/heads/master | 2021-03-06T18:24:10.316076 | 2016-08-27T10:58:39 | 2016-08-27T10:58:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,767 | rd | slouchtree.plot.Rd | % --- Source file: slouchtree.plot.R ---
\name{slouchtree.plot}
\alias{slouchtree.plot}
\title{Plot a trees and niches encoded in slouch format as a phylogram}
\description{
Allows for plotting the tree and visualizing reconstructed ancestral states on the internal branches.
}
\usage{
slouchtree.plot(topology, times, ... |
0160adb111b2d120ecbfc70e257170b4f43edade | b43be2e9461c7b2bce2688cff25b6ed1b1baddeb | /convert_shpfiles.R | 8c90c513f81637c021047d362fd3fded88fd38f9 | [] | no_license | BobbieSueDevRecruiter/rbg_analysis_code | 21d74c11c787b8082b8a821bbf96547e2e814bfb | 47a599fd831d45012002bd56261b2cf50c3bad1e | refs/heads/master | 2020-03-29T06:15:13.885298 | 2018-09-20T13:07:38 | 2018-09-20T13:07:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,103 | r | convert_shpfiles.R | ### Playing with shapefiles
library(raster)
library(sp)
library(rgdal)
dirpath = '/home/s1326314/RBGdata'
shapefiles = list.files(paste0(dirpath, "/shpfiles"),pattern = "bt_15_utm_esri.shp",full.names = TRUE)
# Open layer (e.g. raster) with coordiante system you want to convert to
temp = raster('/home/s1326314/RBGda... |
e29a8e50d679d91d68a936b04a4fc00b8b1f0ced | be9d60bc856095989a7eabb0b629f432cd062a67 | /3 сем/ВКИАД/Lab5v27/Lab5.R | a1aa92e89ad308411541d69788b1253119a6fa96 | [] | no_license | Viiktorias/2_course | 01682c9d172c61008ef8b3c49e97e378aa5eb192 | 26fd5fab667e37569436221765edfe49e1d6bd34 | refs/heads/master | 2022-01-29T12:12:40.682971 | 2019-08-07T13:36:56 | 2019-08-07T13:36:56 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | R | false | false | 519 | r | Lab5.R | dat=read.table("input.txt", dec='.')
plot(dat,type="p",main="Диаграмма рассеяния",xlab="X", ylab="Y")
dat
dat[,1]<-dat[,1]/mean(dat[,1])
dat[,2]<-dat[,2]/mean(dat[,2])
cl1<-kmeans(dat,2)
table(cl1$cluster)
cl1$centers
cl2<-kmeans(dat,3)
table(cl2$cluster)
cl2$centers
plot(dat,col=ifelse(cl1$cluster==1,"blue","gre... |
3bfd27bcc74a501c0c40c5fcf9d317443f40a69b | d87241791be8df80425a8afcce0ef252d6d1ff38 | /man/compute_pd2_scale_nll_gpd.Rd | 45ac0bcfe29cc0f372d8f08d4cc310490b61c3ad | [] | no_license | MartinRoth/gpdIcm | 551dd3228d806dabd3658c522f693fd0a5b66e99 | 5929123e94ae4e6269e319c8c9bd352c51e8cc42 | refs/heads/master | 2021-01-19T01:03:00.879843 | 2016-10-29T17:39:10 | 2016-10-29T17:39:10 | 46,576,315 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 544 | rd | compute_pd2_scale_nll_gpd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{compute_pd2_scale_nll_gpd}
\alias{compute_pd2_scale_nll_gpd}
\title{Computes the second partial derivative (scale) of the negative
log likelihood for the GPD}
\usage{
compute_pd2_scale_nll_gpd(y, scale, shape)
}
\arguments... |
1099e25ed6495525b4e09bd988ada34bfee9a3f4 | 2096d0405ce8368cd8d207d359b46e659434bd55 | /plot2.R | 99f15cd98404eb4cd3b3efc80bc68dab303e90a0 | [] | no_license | Andy7475/ExData_Plotting1 | c639930bf4dd55dc2be493137ba97daba3ceaaab | fe0f1d3356cb4c089ffcf17d4a24556d425f2de9 | refs/heads/master | 2020-04-02T19:39:03.645685 | 2015-08-09T21:24:25 | 2015-08-09T21:24:25 | 40,448,851 | 0 | 0 | null | 2015-08-09T20:05:32 | 2015-08-09T20:05:31 | null | UTF-8 | R | false | false | 890 | r | plot2.R | #First read the data file
library(dplyr)
df <- read.table("household_power_consumption.txt",sep = ";",header = TRUE,
colClasses = c("character","character",rep("numeric",7)),na.strings = "?")
#filter the data based on 1st and 2nd of Feb 2007 only
df2<- filter(df,Date=="1/2/2007" | Date=="2/2/2007")
... |
7d562e7f8436d2baa2af4eb598319c7bd46b5db4 | a8f14c758c14d7799d6f532e7c7b277e37711c15 | /02418/carrots/src/loaddata.R | 0b733768ed6e0e5322247987897296c55a16f959 | [] | no_license | zhucer2003/dtu-fall-2011 | 61f4e25724ee8919f87481dc94efd9b5a7b4f93a | 176b2a0c4ad47a956749dc60835ce0e41a5a35b6 | refs/heads/master | 2021-05-05T14:03:39.291852 | 2011-12-08T09:31:56 | 2011-12-08T09:31:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 227 | r | loaddata.R | carrots = read.table("../data/carrots.txt", header=TRUE, sep=",")
carrots$Consumer = factor(carrots$Consumer)
carrots$Age = factor(carrots$Age)
carrots$Gender = factor(carrots$Gender)
carrots$product = factor(carrots$product)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.