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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a5ce07cd3652510a1557bd5dc61b5777393a9a4a | 81be95b50b4a31539eedbaaad6e595754129cf51 | /man/plot.pedigree.Rd | 7340bf166c96872898e2a4474aba74191f4c09cb | [] | no_license | cran/synbreed | dd023649cd0932a612d1e7a7eb3b2d4c619d93f7 | 21d1ecf6d1936987ac0d68f390ac2ae06a737066 | refs/heads/master | 2020-05-21T03:12:27.630810 | 2018-03-16T04:01:36 | 2018-03-16T04:01:36 | 17,700,320 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,086 | rd | plot.pedigree.Rd | \name{plot.pedigree}
\alias{plot.pedigree}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Visualization of pedigree
}
\description{
A function to visualize pedigree structure by a graph using the \code{igraph} package. Each genotype is represented as vertex and direct offsprings are linke... |
29517e7cb2c907b64de604e26735f204f7be3efd | 109d8b526470a90abcdd33d5828d59063b9d2d0b | /plot2.r | 64c594366f7151cfca4508a1a026a12bdf1a4103 | [] | no_license | Sertinell/ExData_2 | d649946b632af83130e8b52d0a82f8b305b46b21 | c6f3c9d53233dcbfc18459467e0c40cef4011b7b | refs/heads/master | 2021-01-10T15:35:49.413056 | 2015-11-15T11:20:53 | 2015-11-15T11:20:53 | 45,709,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 553 | r | plot2.r | library(dplyr)
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#filer baltimore data
baltimore <- filter(NEI, fips == "24510")
#group by year, summarise and plot
baltbyyear <- group_by(baltimore, year)
totals <- summarise(baltbyyear, totalemi = sum(Emissions))
png("plot2.png", ... |
eb9eedc48e9f9c1a9655504ec78859700c516949 | 371021138aa7cfd67e8d0be335142db0133962e9 | /code/Plot_VDJgene_Freq.R | 1afe1bfc7b2f2cdcb70d9e0a02635e7642149601 | [] | no_license | nicwulab/SARS-CoV-2_Abs | 7032251bce1b4bbd385010d7e936a5eeda8bb500 | 50de02fe345289855868f0758c299e564b56ed08 | refs/heads/master | 2023-04-19T05:34:04.688197 | 2022-05-16T17:49:47 | 2022-05-16T17:49:47 | 390,160,709 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,129 | r | Plot_VDJgene_Freq.R | #R code
library(ggplot2)
library(scales)
library(RColorBrewer)
library(readr)
library(tidyr)
library(reshape)
library(stringr)
library(dplyr)
library(gridExtra)
library(ggforce)
library(ggbeeswarm)
library(sinaplot)
library(readxl)
require(cowplot)
plot_Vgene_usage <- function(data,ref,p_width,graphname){
palette <... |
efb314204cc94e37439c4361b4fa98dbf3a609ac | e05b54bd53ffc69e63c99bd64e12341d0eb0fa2c | /功能注释.R | db2408fc0a37a82865175e9b82a8eff7af6ba622 | [] | no_license | taoshengqiansui/linux | 55f0de4adcd983b55f6ebc3fe678426d46c25abc | a2245edcac6d1064a32155e69662bda8556f4b45 | refs/heads/main | 2023-07-09T13:54:35.546565 | 2021-08-05T09:18:11 | 2021-08-05T09:18:11 | 368,573,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,809 | r | 功能注释.R | #ENTREZID SYMBOL ENSEMBLE 的相互转换
suppressMessages(library(org.Hs.eg.db))# 载入包
keytypes(org.Hs.eg.db) #查看支持对选项
#rt=read.table("gene.txt",sep="\t",check.names=F,header=T)
rt <- pname$ENSEMBL
#rt<-as.data.frame(rt[,1])
class(rt)
#keys是自己的基因,columns是输出的类型,keytype是输入的类型
#gene_list<-select(org.Hs.eg.db, keys=as.character(rt$... |
a2681ed3cfd56a5ae2db1249dbd998edfc0c963e | 91a77be68e5ad1aa16e9a2681ba6fb090c118e4d | /man/justification.Rd | efadeed3b10c03efd82e842ae7db5eaf4fcbc3a3 | [] | no_license | cran/qdap | e42f194e98a38eb02084eb6ac92dd587024b8540 | 5f032a6a8bf41255cd2547b11325ed457a02a72a | refs/heads/master | 2023-05-25T03:10:36.324940 | 2023-05-11T05:10:02 | 2023-05-11T05:10:02 | 17,698,836 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,201 | rd | justification.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/left_just.R
\name{left_just}
\alias{left_just}
\alias{right_just}
\title{Text Justification}
\usage{
left_just(dataframe, column = NULL, keep.class = FALSE)
right_just(dataframe)
}
\arguments{
\item{dataframe}{A data.frame object with the te... |
c2e4a0ffca7819dc5624d3cd2458dc231cb0f23f | 8be80c32be024ba01f8bd0cf2b4a3128cdaf2947 | /tooltips.R | 6ca2b8d8b9a747d3727495fae4c9bba1ab5b9816 | [] | no_license | mattkumar/r_tooltips | 15cbc60ee62309d58ccdd18074ad390faf339ceb | 32320e9bfe498f498ee4c90ad3c6f10fc0823ed7 | refs/heads/master | 2020-06-17T19:31:35.056777 | 2019-07-09T17:22:50 | 2019-07-09T17:22:50 | 196,026,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,334 | r | tooltips.R | library(tidyr)
library(dplyr)
library(purrr)
library(highcharter)
#Read in data
me_raw = read.csv("measles.csv")
#Make long from wide
me_raw_long = gather(data=me_raw, Month, Total, January:December)
#Up front filtering
me_raw_filter = me_raw_long %>%
filter(!(Year==2011) & Country %in% c('Canada','... |
936d78179d116b975ca3f568232cd221626ec798 | d690af5c19bb0d6b723e1b8f1687794b4e0f8830 | /R/safepredict-package.R | 38fd2ba4daf828dc03def887b62ad2b6df1982ba | [
"MIT"
] | permissive | roldanalex/safepredict | 03113c5095518fef7c007c7e98342ecf15c0f9dc | 05c3b9c8770583221a73b7b68f88805402630f5f | refs/heads/master | 2021-10-09T11:32:24.866936 | 2018-12-27T06:11:45 | 2018-12-27T06:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,034 | r | safepredict-package.R | #' @keywords internal
#'
#' @importFrom glue glue
#'
#' @importFrom rlang abort
#' @importFrom rlang arg_match
#'
#' @importFrom stats family
#' @importFrom stats model.frame
#' @importFrom stats model.response
#' @importFrom stats na.pass
#' @importFrom stats predict
#' @importFrom stats qnorm
#' @importFrom stats qt
... |
ed46c8fef45bcb0ada33971f266f92c091495b46 | 73f1d9ef21784abe01dc08bbab8e051f0ad7ba53 | /_workflowr.R | c144401e34ffdfae702ff38590f750fdfaeee572 | [] | no_license | jma1991/EB_KDR | 3e9dd894773e9abd6c3f2608ceacd1649d03b9a8 | 96afa34c41d3a31a8988b5a57a705bd44d8a725a | refs/heads/main | 2023-07-04T07:08:47.234301 | 2021-08-09T17:18:57 | 2021-08-09T17:18:57 | 386,411,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,923 | r | _workflowr.R | # Step 1: Commit RMD files
system("git add analysis/about.Rmd")
system("git add analysis/index.Rmd")
system("git add analysis/license.Rmd")
system("git add analysis/01-batch-integration.Rmd")
system("git add analysis/02-reduced-dimensions.Rmd")
system("git add analysis/03-clustering.Rmd")
system("git add analysis/04-m... |
b08833a3aeb0bc577ea5626c08d95b7268eb8058 | d141ea7f44e4694e0feae2831f36c32d3e482577 | /man/pedigreeSim2PH.Rd | 8b39f141318e5b1a665d917ca7e56d5cdfc4f94f | [] | no_license | cran/PolyHaplotyper | 0185fad52cd908dca321665f67fa83d691031207 | c733cbb69263b2e96635d805bc22c77183d734ef | refs/heads/master | 2023-05-25T10:28:56.696224 | 2021-06-17T13:20:05 | 2021-06-17T13:20:05 | 337,721,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,822 | rd | pedigreeSim2PH.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PolyHaplotyper.R
\name{pedigreeSim2PH}
\alias{pedigreeSim2PH}
\title{convert the PedigreeSim true haplotypes to marker dosages and
haplotype dosages}
\usage{
pedigreeSim2PH(ps_geno, haploblock, indiv=NULL, dropUnused=TRUE)
}
\arguments{
\item... |
614181c5fcd940e4539331e1cdb781a5841c1650 | d5364db161f73c70ee8dec6f9c2229488dbb8649 | /총정리/18-03.R | 181f3cbe65de85903f83753b977efde40d4b267c | [] | no_license | dksktjdrhks2/R_programming | 26ac74f3044d2267f9e5f0b1a90b694b83b16322 | e2a73997fdccecdd4246bd9ed2e0990d913b0ad6 | refs/heads/master | 2020-12-13T19:43:37.929777 | 2020-02-13T07:52:26 | 2020-02-13T07:52:26 | 234,513,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,535 | r | 18-03.R | ####k-최근접 이웃 분류
# 1. 분류 문제의 사례 : 분류 classification는 그룹이 있는 데이터에 대해 그룹을 모르는 데이터가 들어왔을 때 어떤 그룹에 속 하는지를 예측하는 기술
# 2. k-최근접 이웃 분류의 방법
library(class)
# 훈련용 데이터와 테스트용 데이터 준비
tr.idx <- c(1:25,51:75, 101:125) # 훈련용 데이터의 인덱스
ds.tr <- iris[tr.idx, 1:4] # 훈련용 데이터셋
ds.ts <- iris[-tr.idx, 1:4] ... |
41cb7082c115cd06f1f740513ac73461c799c35c | 76392c8b75dd02f7b38757512320c9b70e92be36 | /Lesson8.R | 63fb0b2de77e77b4366e24f5ba1277705fe6a7b4 | [] | no_license | YanZeng1989/Lesson8 | 50de7d87184231a6690c22cfa3330d487848d193 | bb437c2012f32ab93dae5362397844531699fa7a | refs/heads/master | 2016-09-05T17:13:42.340018 | 2013-12-05T15:42:22 | 2013-12-05T15:42:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,981 | r | Lesson8.R | ##author:Yan Zeng
##Date:5-12-2013
##title:function of plot timeseries of different class
##input:modis 23 image of a year,classification image,classification table
update.packages(checkBuilt=TRUE, ask = FALSE)
library(raster)
library(sp)
library(ggplot2)
source('functions.R')
source('Mainfunction.R')
##download da... |
5499a817589b4e4601eb2e59a5c9f593a5d356ac | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/1724_0/rinput.R | 5fb26a432494bd4425dd5e2896b5f93d44182fa7 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("1724_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="1724_0_unrooted.txt") |
dc23115e9dc229ed3e039b380dddb0b54d45e0c9 | 2baed5a8a605c42d1e8ba05a341ac1ef63bcfeb2 | /package/man/qc_applications.Rd | 905de52681c3f6c1cefed65866e296403e2fd0f7 | [
"MIT"
] | permissive | dynverse/dynbenchmark | 0c58ef1a9909b589b1cd8b0a0e69c2fa222aeb2b | 8dca4eb841b8ce6edfb62d37ff6cfd4c974af339 | refs/heads/master | 2022-12-08T04:01:13.746186 | 2022-11-25T08:25:50 | 2022-11-25T08:25:50 | 102,579,801 | 171 | 40 | null | 2019-04-07T20:59:59 | 2017-09-06T07:53:11 | R | UTF-8 | R | false | true | 387 | rd | qc_applications.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{qc_applications}
\alias{qc_applications}
\title{Metadata on QC applications}
\format{An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 3 rows and 1 columns.}
\usage{
qc_application... |
45ac122b4d3a5fcad0a2565ece8cb731fb347155 | f3d6f1531e8332708e40ad17ef4a4edeb803be51 | /Quiz_Solutions/Week_3_Quiz.R | 260bef2f208de99d98eb87c97f206b3d9298df4b | [] | no_license | daswan1118/Coursera-Practical-Machine-Learning | ba39faf9b01eedf99d84a62edf922990f8e7728d | 9ceb716b69eb2500306ec7d9aab0b5c357b0eb07 | refs/heads/master | 2020-04-01T18:27:10.680516 | 2019-02-08T04:29:01 | 2019-02-08T04:29:01 | 153,493,230 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,033 | r | Week_3_Quiz.R | ### Problem 1 ###
## Use segmenetation data to build a rpart model
library(AppliedPredictiveModeling); data(segmentationOriginal)
library(caret)
library(e1071)
# Split Train/Test
train <- segmentationOriginal[segmentationOriginal$Case == "Train",]
test <- segmentationOriginal[segmentationOriginal$Case == "Test",]
#... |
a982131f68ce17a7aba58e56b043500480783ead | 87044c17b367d5cffb7aa0403d891c54e9d3d433 | /R/loading.R | 89dd6d5e272a40328f81e81ea27742602cb7ad0d | [] | no_license | SeoncheolPark/SphereWaveu | e7637ae2bc56b02606c644c7819bb4b739b018e3 | 9ec18402244b24effd49cd6062375b3ebbd66faa | refs/heads/master | 2021-04-28T14:05:25.299385 | 2018-02-18T14:35:39 | 2018-02-18T14:35:39 | 121,956,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 72 | r | loading.R | .First.lib <- function(lib, pkg) library.dynam("SphereWaveu", pkg, lib)
|
77c3bf9f69e66084439ef115f6f9796ab85e4fb8 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610051769-test.R | 212167755341699ca74e382d472beb125386f922 | [] | 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 | 367 | r | 1610051769-test.R | testlist <- list(rates = numeric(0), thresholds = c(-5.46354690059085e-108, Inf, -5.46354690059085e-108), x = c(-5.46354689220641e-108, -5.46354690059085e-108, -5.46354690059085e-108, -5.46354690059085e-108, -5.46354690059085e-108, -5.46354690059085e-108, -5.46354690059085e-108, -5.46354690059085e-108 ))
result <- d... |
06caa2a39d82a6cdb60a21a1abcbb1ea4c2e0ace | 115ec71246ee1dcda3e086d48929e25a777604e9 | /test_dag.R | c9273a84860c733f49de5404f84b481f942dd804 | [] | no_license | georgegui/ExperimentDetection | 8fa27f0ef465b0a7ea32835e65c3c6aa2fd29509 | 8c09ff9942266434f2921d717a0e99c6d6eba2be | refs/heads/master | 2021-09-05T00:31:33.026435 | 2018-01-23T04:59:29 | 2018-01-23T05:01:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 591 | r | test_dag.R | digraph boxes_and_circles {
# a 'graph' statement
graph [overlap = true, fontsize = 10]
# several 'node' statements
node [shape = circle,
fontname = Helvetica, style = filled, colour = gray, width = 0.6]
X [x = 2, y = 1]
Yr [label = <Y<SUB>R</SUB>>]
W1 [label = <W<SUB>1</SUB>>, x = 0, y = 1]
W2 ... |
573630f666f1dceaabe2ec7551476b250c1d4f65 | ed530c731d762e830c8d340e2c540099457b41de | /R/function_plot_heatmap.R | c7de8a622a04cb0eb54d15b7eaea3abef109ddbe | [
"MIT"
] | permissive | MarianSchoen/DTD | af040f0bb08f47b1cfe1b5dbe6182d04d9dd5ce6 | 1d01c0be039a68dcbe65777d702dde530ea9b0dd | refs/heads/master | 2022-05-13T06:52:49.974420 | 2022-04-04T07:33:03 | 2022-04-04T07:33:03 | 182,028,277 | 13 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,870 | r | function_plot_heatmap.R | #' clustered heatmap of diag(g) * X
#'
#' For a DTD.model the 'ggplot_heatmap' function visualizes
#' \deqn{diag(g) * X} on a subset of features as a clustered heatmap.\cr
#' Feature subsetting can either be done by a vector of strings,
#' that match the feature names of X.\cr
#' Alternatively, via 'explained correlati... |
cda7404de32d10116f2f6ef5b5238200948bf2c6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/naptime/tests/test-naptime.R | 4a3b2c07e082a72077ccffa614f8277bdb5cbecb | [] | 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 | 5,823 | r | test-naptime.R | context("Naptime core functionality")
test_that("test of numeric dispatch", {
test1 <- system.time(naptime(5))[["elapsed"]]
expect_gte(test1, 4)
expect_lte(test1, 6)
test2 <- system.time(naptime(5L))[["elapsed"]]
expect_gte(test2, 4)
expect_lte(test2, 6)
inf_test <- system.time(expect_error(naptime(Inf))... |
c1f312141099ca6c3f072c50b09ea815ad7eb734 | 3324667e4c8377a4621c34601cff709bc4a3d2b0 | /Scripts/EmptyRasterTest.R | dd752b608b8291376b13b7a07b46593e87a0faeb | [] | no_license | CM26-Climate-Paper/Analysis-code | 6a98cfc31ae6a79eb82ce4d9dc5016b54d1945b1 | 2e5861307caf3759beac0d78696e34b06dfbd694 | refs/heads/master | 2020-06-30T07:35:58.532666 | 2019-09-16T19:54:00 | 2019-09-16T19:54:00 | 74,387,756 | 2 | 1 | null | 2016-12-16T18:47:39 | 2016-11-21T17:24:22 | null | UTF-8 | R | false | false | 540 | r | EmptyRasterTest.R | ## CLIMATE PAPER ROUND 2.
#A. FIRST NEED TO KNOW WHICH RASTERS ARE EMPTY
#B. THEN NEED TO REPROJECT ON THEM BASED ON A MODEL OBJECT
###TESTING IF RASTERS ARE EMPTY
library(raster)
setwd("/Volumes/SeaGate/ClimatePaperCM2.6/Species_Projections_all")
blank=list()
fileslist=list.files()
for(f in fileslist){
path=paste(g... |
e707d32046db33e2e8a7bcd6a5dfa8ee1a174d89 | 05ea9c8ed1d49ae35414d06b6a2b2eb1dd295f9d | /IDEAM1/04_interpolationDay.R | 559a7c14d2f5291e3be09404d4988955648772be | [] | no_license | kika1002/LULC | d776a268c5b89baf01f9c53ac2b3406f7221dfb4 | 2384560109fe672df3a874e7c76bd0f932e3a4dd | refs/heads/master | 2020-06-02T18:28:46.804490 | 2019-06-25T21:35:07 | 2019-06-25T21:35:07 | 191,265,932 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,432 | r | 04_interpolationDay.R |
# Load libraries ----------------------------------------------------------
require(pacman)
pacman::p_load(stringr, tidyverse, readxl, lubridate, imputeTS, reshape, purrr, readxl, reshape)
# Initial setup ----------------------------------------------------------
g <- gc(reset = TRUE)
rm(list = ls())
options(scipen ... |
f9f6efcafc6930016b02148fa70c3815a5f7a1a0 | 25118c0a012490aec49cd57a246618c8379a877c | /R/SpaDES-modules/disturbanceCalcCLUS/disturbanceCalcCLUS.R | 5215d4185cac0d3ead7e0fa380f11d1db2e7116e | [
"Apache-2.0"
] | permissive | davan690/clus | a3ad79334d028c69793125e07fa362fed2ba33f3 | aead0c11c504a236c465dfb1b2c65b384dd8a3b1 | refs/heads/master | 2022-08-09T15:16:59.232834 | 2020-05-21T20:02:07 | 2020-05-21T20:02:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,918 | r | disturbanceCalcCLUS.R | # Copyright 2020rsf_ Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... |
0d25e97ab26861bbda2c90a2d8f8be941a8eebee | 24e00f71d190b683670e778dd293cf2778ebdede | /membrane-proteins/MembProt.R | 253b240424a42f66913ed483ef58654a9f903c56 | [] | no_license | daniel-wells/wikimedia-graphs | 63653a183a1b4e4b027c9625d332666c9ae1404b | 2ea7d0bc9c4671fde8abfd0fd12321b803f70bfd | refs/heads/master | 2021-01-15T15:25:35.596924 | 2016-07-02T14:47:35 | 2016-07-02T14:47:35 | 44,247,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,103 | r | MembProt.R | MembProt <- structure(list(Year = 1985:2014, Count = c(1L, 0L, 1L, 0L, 0L,
0L, 0L, 3L, 1L, 3L, 2L, 6L, 8L, 9L, 7L, 11L, 5L, 13L, 18L, 16L,
18L, 24L, 28L, 30L, 41L, 43L, 40L, 65L, 55L, 72L), Cumulative = c(1L,
1L, 2L, 2L, 2L, 2L, 2L, 5L, 6L, 9L, 11L, 17L, 25L, 34L, 41L,
52L, 57L, 70L, 88L, 104L, 122L, 146L, 174L, 20... |
5fd1afa57bb09f6fb27323a778dd4fdcb9e9eceb | 71ead3bebcb2007d7bed603749e79263b759f8a0 | /man/DkubeModel.Rd | e0b688d155d20e1dec99cb8dc437497ce0a64e93 | [
"Apache-2.0"
] | permissive | oneconvergence/dkube-R | 3f88ec2ab1baa14e3a690eaa23c04f10e2d87972 | 8a21163e4d6616623d3db066092d4f888696ce97 | refs/heads/main | 2023-02-16T13:22:03.916837 | 2021-01-17T06:18:01 | 2021-01-17T06:18:01 | 329,491,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 350 | rd | DkubeModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/repos.R
\name{DkubeModel}
\alias{DkubeModel}
\title{Dkube Model repo}
\usage{
DkubeModel(user = NULL, name = NULL)
}
\arguments{
\item{user}{username}
\item{name}{repo/resource name}
\item{description}{additional details for the repo}
}
\de... |
d2f8c445dfbce2a74ac45465311bb8c277dd8558 | 7c326a26ffdd5f56d0dbdaf2eff8ceef11c35ae5 | /forecasting_time_series.R | 6e9775fef19d9e7a1651b6b46203d613334cd8b3 | [] | no_license | NiteshTiwari/Forecasting_in_R | ea562a09054deff3938693235ce8bf030468de41 | c6ced0278fba78659fa088d9a4bcb4bf43207cc7 | refs/heads/master | 2021-06-03T23:37:55.368271 | 2016-09-14T12:52:31 | 2016-09-14T12:52:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,381 | r | forecasting_time_series.R | fit.ex3 <- tslm(consumption ~ income , data=usconsumption)
plot(usconsumption, ylab="% change in consumption and income", plot.type="single", col=1:2, xlab="Year")
legend("topright",legend=c("Consumption", "Income"),lty=1,col=c(1,2), cex=0.9)
plot(consumption~income, data=usconsumption,ylab="% change in consumption", x... |
69937747fc01f7a362dea1a02864f4a3a9c63042 | 3fe64eef3db9e5cbb920f8bacacb83029720df04 | /hw02/hw02-6.R | 17fc1df7cb805779c45a1cff8772c56437cfc742 | [] | no_license | mtaylor-semo/klingeman_dylan | f71962848e807afb88e326247f130683c3274aef | 875c4f9b0ff7e523c45ed423dd0af7a01e812edb | refs/heads/master | 2022-11-27T19:39:23.316431 | 2020-08-04T21:01:02 | 2020-08-04T21:01:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,113 | r | hw02-6.R | # Dylan Klingeman
### 6.1 Introduction to Lists
### 6.2 Create a list
# Numeric vector with numerics from 1 to 6
numbers <- 1:6
# Should make a vector of the numbers 1 through 6
# Logical vector with TRUE and FALSE
boolean <- rep(c(TRUE, FALSE), 4)
boolean
# should report TRUE, FALSE 4 times
# Letter matrix wi... |
1796430dd4984511d006895b739e60d6fae40721 | 4e67e325a28518d78ae9c6a9d14204410421f9d5 | /man/dat2.Rd | 630a2c38cbe9f2516e98f071e51221f5e24bc9d5 | [
"MIT"
] | permissive | shkonishi/rskodat | 857edc919aae8309d2c46ca61b93c072777f836a | 4247ebac0d5d025ba17c4ef82b791892c8eb1be8 | refs/heads/master | 2020-06-12T02:16:18.859935 | 2019-06-27T21:20:10 | 2019-06-27T21:20:10 | 194,164,286 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 355 | rd | dat2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dat2.R
\docType{data}
\name{dat2}
\alias{dat2}
\title{dat2}
\format{An object of dataframe with with 18 rows and 5 columns.}
\usage{
data(dat2)
}
\description{
Multivariate compression value with three factor attributes.
}
\examples{
data(dat... |
f9d1a0c2a187043e7853cfa63c0ae5066abe01cb | 734405d4e0d6f941c50e5b4862943ffc1cab0aa6 | /script/0627.R | 20e397698a390e870b8a5d5d2f02a99ac3477e48 | [] | no_license | valborgs/RStudy | e98a079a5d0ea7a48f6bf19555630d117df44983 | ac1808fcc1c3362876e8f2d8823d304496f29231 | refs/heads/master | 2020-07-04T14:15:30.309572 | 2019-08-14T08:32:00 | 2019-08-14T08:32:00 | 202,308,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,997 | r | 0627.R | # 조건문 복습
# scan함수를 이용해서 사용자에게 id와 pass변수값을 받는다
# id==abc 그리고 pass==1234 인지 확인해서 로그인 성공 또는 로그인 실패를 출력
ID<-scan(what="",n=1,quiet=TRUE) # 입력값을 문자처리해서 받음
PASS<-scan(what="",n=1,quiet=TRUE)
if((ID=='abc')&(PASS=='1234')){
print('로그인 성공')
}else{
print('로그인 실패')
}
# 교통량 관측치가 500이상이면 red, 300이상이면 yellow, 100 이상이면 blue... |
c4cab8a7dd73412aebe25865a7c95e4682e9f556 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/MGDrivE/man/oneDay_eggDM_stochastic_Patch.Rd | 3ef13a635a99a7125841041e51e15b8350f380df | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 603 | rd | oneDay_eggDM_stochastic_Patch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Patch-Simulation.R
\name{oneDay_eggDM_stochastic_Patch}
\alias{oneDay_eggDM_stochastic_Patch}
\title{Stochastic Egg Death and Pupation}
\usage{
oneDay_eggDM_stochastic_Patch()
}
\description{
Daily egg survival is sampled from a binomial dist... |
47f415221164d46d266e920c83c59dd3d7635198 | 4dbf5223f27d3aa0db6800058404fe1ba0c017d1 | /ICH project/SPOTLIGHT_STOP-IT inc_exc.R | 792b0fac8e7b6bd9971870686d5d7232ce1928c4 | [] | no_license | awong13375/r-projects | b07895427228d1ab222435346042121f01b09a7c | e82d96d0dcaf27effa33ca6f8bd27dd153b6105d | refs/heads/master | 2023-07-19T14:19:03.661296 | 2021-08-31T00:32:46 | 2021-08-31T00:32:46 | 198,112,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,547 | r | SPOTLIGHT_STOP-IT inc_exc.R | library(googlesheets4)
library(googledrive)
library(irr)
library(stringr)
library(blandr)
library(ggplot2)
library(cowplot)
library(data.table)
library(stringr)
# Open data files ----
fulldb=readxl::read_xlsx("D:/Google Drive/Desktop files/Dal Med/ICH/Archive/GraebCombined_withmRS (Recovered).xlsx", sheet="ALL")
full... |
3982ff9d3ff1244665e02fe4f1eba16f959ceae1 | 6eeeb62fe59d2196be375361811c0fd05ca0707a | /man/df_dict.Rd | 922fc2e08464b5ca7df21e9d2528cebb1e8423e4 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Aariq/mynotebooks | 94a125b913119022df60de4acee4c57154d95f84 | 74172002ad11e724395d3b7ed02099aeecc3828c | refs/heads/master | 2021-09-15T15:54:55.258808 | 2021-09-13T21:56:54 | 2021-09-13T21:56:54 | 199,040,003 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 375 | rd | df_dict.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.r
\name{df_dict}
\alias{df_dict}
\title{Insert data dictionary}
\usage{
df_dict(x = NULL)
}
\arguments{
\item{x}{a data frame}
}
\value{
Inserts a data dictionary template as a markdown list at the cursor
}
\description{
Insert data dic... |
9d04ece57a296d1aa4922a6ee30ca477710d9a1b | fcd90210265c2e3a6951dd43a70ce7bd0c8a49c9 | /man/getGAF.Rd | cde7a8396569a0505b1445c371e2058d7f76486d | [
"MIT"
] | permissive | ropensci/BaseSet | 49c6d7db6e7162ae036d2b0afe612b50f849bd37 | 6c492b6a00e54bd40dff195880cabf1cf71ca346 | refs/heads/master | 2023-08-31T19:43:23.008636 | 2023-08-29T22:34:51 | 2023-08-29T22:34:51 | 159,389,093 | 5 | 0 | NOASSERTION | 2021-04-16T13:05:25 | 2018-11-27T19:37:01 | R | UTF-8 | R | false | true | 653 | rd | getGAF.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/obo.R
\name{getGAF}
\alias{getGAF}
\title{Read a GAF file}
\usage{
getGAF(x)
}
\arguments{
\item{x}{A file in GAF format}
}
\value{
A TidySet object
}
\description{
Read a GO Annotation File (GAF) formatted file
}
\examples{
gafFile <- system... |
fe30a5193822653d649ac5b22409fe873bf00f31 | ae8b51ba12067916f02b44c0360f37327171626e | /DataCamp/Intermediate-R/Utilities.R | cafe4320f6d5bcaa08ce41235f402f2158beb10d | [] | no_license | r-repos-org/R-2 | 621e25fd2a05e1d9272a5d4587c965fb6231b6be | c1ccbc1519a73ae7914b66c4c5ffe65449dcac24 | refs/heads/master | 2022-04-06T17:04:14.810390 | 2018-01-07T16:42:58 | 2018-01-07T16:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,478 | r | Utilities.R | ###### Useful Functions ######
### Mathematical utilities ###
errors <- c(1.9, -2.6, 4.0, -9.5, -3.4, 7.3)
# Sum of absolute rounded values of errors
sum(abs(round(errors)))
vec1 <- c(1.5, 2.5, 8.4, 3.7, 6.3)
vec2 <- rev(vec1)
mean(c(abs(vec1), abs(vec2)))
rep(seq(from = 1, to = 7, by = 2), times = 7)
### Data Uti... |
ec8115cbd347d3cb12d590201dca5905e0f917a4 | f38bace9fc1f70068f2119362b4184e3d7122078 | /ensemble_model_training.R | 6e487f209621e78f0cdb1870adb22a3bb56a6dd8 | [] | no_license | thies/paper-uk-vintages | 9aafa11a558be8330cd9c69e5272b3cb432d322c | d31a7930725728efbb367d28d36502d205e58783 | refs/heads/master | 2021-06-24T17:34:10.390676 | 2020-11-14T12:57:46 | 2020-11-14T12:57:46 | 163,590,256 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,273 | r | ensemble_model_training.R | # load additional libraries
library(spdep)
library(keras)
library(dplyr)
source("~/research/paper-uk-vintages/R/helper.R")
#==================================
# Create 4096 vectors, by stacking 2048 from nearest neighbour
# Most of the time, this won't be necessary....
if(FALSE){
v <- read.csv("~/research/paper-c... |
262b1f8961f9f33c2ba038d973ccade616218da0 | 3525be6e50c10b1bffcf4747d37e459631f48de3 | /Code/R/Var-Cov_UN.R | 8e13d57f7699b63b2176f9eec83093e6995c9aa0 | [] | no_license | sbmeco1991/Simulation_SAS | bc4f6753e9bd30d01c802c6a922017ccd80326d5 | 3dbc0397f6c484f4081f954444910abf3100b150 | refs/heads/main | 2023-03-03T13:17:14.329707 | 2021-02-15T20:51:11 | 2021-02-15T20:51:11 | 331,181,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,926 | r | Var-Cov_UN.R | # Computing the UN variance-covariance structure based on the UN var-cov provided by Dr. Nichole Carlson for our class
# project and then scaling the values by dividing each off-diagonal value of the matrices by the mean of the diagonal
# so that this matrix remains closer in value to those of the CS and AR(1) var-cov... |
6646cf939bd08d5b6087599db5f227d06c537971 | 32a061c47b1b870514d344b27d95d3b030138353 | /make_latlon_composite.R | 1301f7127cb978ca3b9c2bdbb8651f82a2272a7d | [] | no_license | jedman/meiyu-jet-data | c18be0cbaec26eb0a793febbc759dfaa562a54df | bc910d7300f57c9b27b9f693675a4c6d5df1067f | refs/heads/master | 2021-01-10T21:17:58.336114 | 2015-03-16T17:01:42 | 2015-03-16T17:01:42 | 32,340,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,522 | r | make_latlon_composite.R | # this function adds up all the jet counts in a given time window and makes composites based on some yearly selection criteria
# warning: mean latitude than calculated from daily means because some days have more jet counts than others
make_latlon_composite <- function(min,max, lim, type){
latlon_ECbig <- list()
#min... |
ad18022540f15f92da980638d772b56c66995b5b | f6392b2ae66c3fc295335fd3d88ddb5711f1c294 | /src/3-do/Pipeline/Pipeline_for_survival_multiple_genes.R | 73ca1cbafd0e63bba7a6c6e273b485310262e993 | [] | no_license | Leo-1992/multiomics | 8c19d2ef9b8c3f9afa9971dd6e38dc28dc27120a | 949c6e9cedf4a2526a74fa2db02646631b6a3205 | refs/heads/master | 2020-06-13T16:46:50.110842 | 2018-10-07T18:26:23 | 2018-10-07T18:26:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,722 | r | Pipeline_for_survival_multiple_genes.R | ##########################################################################################################################
# #This pipeline calculates, gene by gene in an independente way, the correlation between survival and expression data.
# Author: Matias
###########################################################... |
a4097d9294a6b13c859a958ccf376a8830953774 | a7747b98c8f7d54c8e3131db624e2d0915e9a496 | /cachematrix.R | 12b512141c52090d9ac3ac606f52df867cc88193 | [] | no_license | manisha1895/ProgrammingAssignment2 | 6095450d6101512b3596babf682722b184311393 | 6d35efd4d9bc8c4291233767fec6c9cd1bcfe923 | refs/heads/master | 2020-12-11T09:04:45.815221 | 2015-10-22T14:48:46 | 2015-10-22T14:48:46 | 44,558,033 | 0 | 0 | null | 2015-10-19T19:20:46 | 2015-10-19T19:20:46 | null | UTF-8 | R | false | false | 870 | r | cachematrix.R | ## My code
makeCacheMatrix <- function(x = matrix()) {
mat_inv <- NULL
set <- function(y){
x <<- y
mat_inv <<- NULL
}
get <- function() x
set_inv <- function(inverse) mat_inv <<- inverse
get_inv <- function() mat_inv
list(set = set , get... |
6b0ef5b76a0e809be0407f85bdd3ce728fda770c | f7301f8c0520ea8a00c36b1c7d94235a7347e540 | /man/LoggerList.Rd | 6f6f8ab829bd80521ef41478556c95695b958c07 | [
"MIT"
] | permissive | pfistfl/compboost | 685eaf48f0e4a76da8b568606bdc9bdd459ee713 | 1d5f527aca86459b7d05010feeeaba0f0219f8f9 | refs/heads/master | 2020-06-27T18:51:23.375089 | 2019-07-02T12:36:40 | 2019-07-02T12:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,526 | rd | LoggerList.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{LoggerList}
\alias{LoggerList}
\title{Logger list class to collect all loggers}
\format{\code{\link{S4}} object.}
\description{
This class is meant to define all logger which should be used to track the
progress of the alg... |
78cc24e7d96c7d59429636c2fb5e5eea6ae76e02 | 4ecb4c0c7d8f2bdf2304d6fa0726fa1b3e7f18af | /man/getDailyOHLC.Rd | 8085b04f6da33cfb4d301a4f59cb73f4bee9f14b | [] | no_license | hal2001/smarketcrawlR | 7f6ec88eb2f3815d42de8a85e3b766e56c0b0a9e | e6551fd42a35491fbc6530104ce41c25688c2050 | refs/heads/master | 2021-06-17T21:56:37.833874 | 2017-06-15T18:53:15 | 2017-06-15T18:53:15 | 113,870,439 | 0 | 1 | null | 2017-12-11T14:42:40 | 2017-12-11T14:42:40 | null | UTF-8 | R | false | true | 2,722 | rd | getDailyOHLC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrapeData.R
\name{getDailyOHLC}
\alias{getDailyOHLC}
\title{getDailyOHLC}
\usage{
getDailyOHLC(searchDates, isin, input_df)
}
\arguments{
\item{searchDates}{- vector of charachters with different (formats see examples) Date requests: e.g. 20... |
0cc5938e8c8bc5b114c9db825276ad5a572ab9fa | 1db71d2f2d70bf7c38320d7bcc9725fbb59cb064 | /data/studies/steinberg_2016_tem1/standardise_steinberg_2016_tem1.R | 3fb0363c407fa1050aaaae38b8c8ae175632d5c7 | [
"Apache-2.0"
] | permissive | ostrokach/aa_subtypes | fda6346f4244dfb5cb15388f742d63087a29fe40 | 5f8e7e7557436d8798c908e94981aead21243755 | refs/heads/master | 2022-12-01T03:09:55.367152 | 2020-08-10T13:34:26 | 2020-08-10T13:34:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 808 | r | standardise_steinberg_2016_tem1.R | #!/usr/bin/env Rscript
# Standardise data from Steinberg & Ostermeier 2016 (TEM1)
source('src/config.R')
source('src/study_standardising.R')
# Import and process data
meta <- read_yaml('data/studies/steinberg_2016_tem1/steinberg_2016_tem1.yaml')
dm_data <- read_xlsx('data/studies/steinberg_2016_tem1/raw/1-s2.0-S002228... |
66b2a371e6040051283226714ee4497ec8429b8b | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.developer.tools/man/codedeploy_get_deployment.Rd | 94e09d4dd4a7802dfb7eb191efb132739cbe956f | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 566 | rd | codedeploy_get_deployment.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/codedeploy_operations.R
\name{codedeploy_get_deployment}
\alias{codedeploy_get_deployment}
\title{Gets information about a deployment}
\usage{
codedeploy_get_deployment(deploymentId)
}
\arguments{
\item{deploymentId}{[required] The unique ID ... |
d13a47fd216d4fe7fb8be10c54db422fff9a5ef0 | c53162f4861dffcc985743fa7766d728f66c00ab | /R/Script.R | 2773edae4d749732363b7d303e6d63342914c0e7 | [] | no_license | anampc/coral_antibiotics_physiology | 40d3d90fc335585a4a71666773e93f0e8596f5d1 | 6c84ee4498faf835dbfbf97e564b36754035e443 | refs/heads/master | 2023-03-10T18:48:03.438377 | 2021-02-26T19:24:39 | 2021-02-26T19:24:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,283 | r | Script.R | ## Load required packages
library(respR)
library(readxl)
## Create function to import these types of file
## (This will be in the next version, out in a week or so)
parse_multiplate <- function(path) {
out <- readxl::read_xlsx(path, skip = 10) # skip top 10 rows
return(out)
}
# Experiment parameter... |
975be4f2d30ea818881e9541edc1291907a031de | 1a372979ef9fd1e1c0f238b3d7e562985d4144a1 | /importCropBeeData.R | 46f43f2b1668af63268bf411289704b09f7287fc | [] | no_license | YDAckerman/EPA-Bee | 9d6b4981c61b5be1ab59a40f1aabda2a6b6ed41d | 7e3309e51064d22e0b28c938e4141ac2dab95b2a | refs/heads/master | 2021-05-04T10:45:16.429799 | 2018-01-19T17:39:07 | 2018-01-19T17:39:07 | 43,094,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,569 | r | importCropBeeData.R | ## set wd, load libs, source helpers, read data, and define input files
setwd("/Users/Yoni/Documents/ZhangLab/BeePUR/cropBeeData/")
## import libraries
library(xlsx)
library(plyr)
library(dplyr)
source("~/Documents/ZhangLab/R/helper_functions.R")
## get all files to import
files <- list.files(getwd(), full.names = T... |
39246d8c64f2665fa3c5e41ac770403c4bac4f37 | c8abc62c98b7d3fae2916baaf998e4ac98e31ade | /GEO/src/eset2help.R | 6649250d859c18b2e8030622f32902024ad634a8 | [
"MIT"
] | permissive | biobakery/arepa | 5ad5ec3062b43350630a1875b8103cb1820ce5f0 | bbd1586b4e73e17ee99feb8e6efcfab8b216bc8b | refs/heads/master | 2022-07-29T22:11:43.877504 | 2020-05-19T18:57:24 | 2020-05-19T18:57:24 | 265,335,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,955 | r | eset2help.R | ## ARepA: Automated Repository Acquisition
##
## ARepA is licensed under the MIT license.
##
## Copyright (C) 2013 Yo Sup Moon, Daniela Boernigen, Levi Waldron, Eric Franzosa, Xochitl Morgan, and Curtis Huttenhower
##
## Permission is hereby granted, free of charge, to any person obtaining a copy of this software a... |
06dc34008881f1a4825215c42b91201744c633c1 | 4225c0ff2720afcb3dfe4bd170229597a81076c7 | /RIsk Parity Port by A-F-P (2012).R | 3d5b562247722339bfda677d5363dec47e3738dd | [] | no_license | big4quants/QAM | fa25f73e9e3ea1f79dbe08a305ef2b5db2578b35 | bd6d70d85be945b119bc8b78816b5f77b96683b6 | refs/heads/master | 2021-01-26T07:33:28.477133 | 2020-02-26T21:42:47 | 2020-02-26T21:42:47 | 243,367,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,450 | r | RIsk Parity Port by A-F-P (2012).R |
# 1. Construct the equal-weighted bond market return, value-weighted bond market return, and lagged total bond market capitalization using CRSP Bond data 1. Your output should be from January 1926 to December 2018, at a monthly frequency.
library(foreign)
library(data.table)
library(ggplot2)
library(lubridate)
librar... |
423a5fe378c2eeec2df923d4a5cf67bce6f99639 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /StepSignalMargiLike/man/prior.norm.A.Rd | 57639dcf4d57fad71f66b2411ff0acf0767a1759 | [] | 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 | 1,222 | rd | prior.norm.A.Rd | \name{prior.norm.A}
\alias{prior.norm.A}
\title{prior.norm.A}
\usage{
prior.norm.A(data.x)
}
\arguments{
\item{data.x}{Observed data in vector form where each element represents a single observation.}
}
\value{
Vector for prior parameters in the order of (\eqn{\mu0,
\kappa0, \nu0, \sigma0^2})
}
\descript... |
8c6a2804bb481a0c5158b2820ebb0056a5d93633 | 387cef68bd1759aa02bffe9c097d45787e862106 | /tests/testthat/test-mHMM.R | 6910feb595bf23eb486e0aacb0afcfb840561acb | [] | no_license | emmekeaarts/mHMMbayes | 85c1f2cbe7c34e94f6b9c463f673007db5d575a2 | 0222eb41d7e143eae02a33199c93364fabd07b13 | refs/heads/master | 2023-08-31T01:12:49.606904 | 2023-08-14T12:01:50 | 2023-08-14T12:01:50 | 167,544,703 | 11 | 10 | null | 2023-07-25T22:37:58 | 2019-01-25T12:33:24 | R | UTF-8 | R | false | false | 14,037 | r | test-mHMM.R | context("function mHMM and S3 print and summary methods")
################
### CREATE OUTPUT OBJECTS TO TEST
################
## general properties tested model
n_t <- 100
n <- 10
m <- 3
J = 11
burn_in = 5
n_dep <- 2
q_emiss <- c(4,2)
gamma <- matrix(c(0.8, 0.1, 0.1,
0.2, 0.6, 0.2,
... |
7196f3166f8dd5e56117ae7c609b2691127ed106 | 06f2c49e80444cfdbc49357e36c1e1ded3de5526 | /R/NAMESPACE.R | 222b599b13be689ea910718a3314a70f0ee27b75 | [] | no_license | poissonconsulting/juggler2 | 510799c20d17d1e8adb7d7571b2423e40407ee48 | d2372c2bc9d767b60130a5527decd4d6f328255b | refs/heads/master | 2021-07-21T23:35:14.121361 | 2021-02-12T22:48:34 | 2021-02-12T22:48:34 | 68,331,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 81 | r | NAMESPACE.R | #' @import datacheckr stringr
#' @importFrom magrittr %<>% %>% add subtract
NULL
|
04d43187012700dc5f920b536001619717c542b4 | ab13454ba79f60279a257a7c6869b85995b1e17e | /oop_with_environments.R | b81c6a798d51bb9d6ea7534b0b9ffe981def3d94 | [] | no_license | mwesthues/workflow | 94101c844fb662b2b9b1c4ea66605b847969ac9a | 8bff5ccc23de49d23ada74fac65b7a85c748afe4 | refs/heads/master | 2021-09-05T17:00:28.584107 | 2018-01-29T20:38:09 | 2018-01-29T20:38:09 | 119,411,736 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,232 | r | oop_with_environments.R | # Source: https://rstudio-pubs-static.s3.amazonaws.com/150296_904158e070594471864e89c10c0d14f9.html
# we can create environments
MyEnv <- new.env()
# ...and assign values to their variables...
MyEnv$a <- 5
MyEnv$b <- TRUE
# ...and retrieve them, just like with lists...
MyEnv$a
#... and even loop through them easily
... |
5da1473aac6e2df6e539ab306775c2ac6b51ccce | 25449f88edddc74beb261a934964d7d1ce358deb | /man/plot.vpi.Rd | bc064dc4480e3ee3ee8123fe780a7736d857d5eb | [
"MIT"
] | permissive | adokter/bioRad | 53de114ca6e2151743045db8556ffd7a45f90570 | d4935eddaa7cc1c3c50e47278e72967c8bbd980c | refs/heads/master | 2023-09-01T10:49:36.747974 | 2023-07-28T14:12:57 | 2023-07-28T14:12:57 | 59,586,835 | 29 | 21 | NOASSERTION | 2023-09-02T17:36:08 | 2016-05-24T15:49:06 | R | UTF-8 | R | false | true | 3,535 | rd | plot.vpi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.vpi.R
\name{plot.vpi}
\alias{plot.vpi}
\title{Plot an integrated profile (\code{vpi})}
\usage{
\method{plot}{vpi}(
x,
quantity = "mtr",
xlab = "time",
ylab = "migration traffic rate [#/km/h]",
main = "MTR",
night_shade = TRUE... |
aef8408da866f7599e8d6e1b36ea09839d5cfc55 | a289946a3b069f7e343e9f54590989926ebe7f32 | /tests/testthat/test-search-onset.R | e1c452e8c67a50a5f819738ca7b7b57195f4e0d2 | [] | no_license | hejtmy/navr | ffdfc1e9e5a6b2c54c35d026a34e39c4a3f9a55b | 2bcc4eba8dbed2d1cb4835139966770cfc6b64cb | refs/heads/master | 2023-03-08T16:49:38.487959 | 2023-03-01T02:21:56 | 2023-03-01T02:21:56 | 119,145,726 | 0 | 0 | null | 2020-03-08T04:06:41 | 2018-01-27T08:10:24 | R | UTF-8 | R | false | false | 2,617 | r | test-search-onset.R | context("Onset searching")
obj <- navr_object_preprocessed
obj <- remove_unreal_speeds(obj, type = "std", cutoff = 3, total_recalculate = T)
obj <- smooth_speed(obj, type = "median", points = 11)
test_that("testing search onset", {
expect_silent(ls <- search_onsets(obj, speed_threshold = 5, min_duration = 2))
expe... |
bd01307360d36da14ce9d4da77e4ec69bc35ba28 | ebf2d02e0b13ae18614a5dce7203991548d5ea32 | /scripts/spat_mete_ddr.R | fad42f837c380d64753bbc4f89b7cb15138bc15a | [
"MIT"
] | permissive | weecology/mete-spatial | 48d2917afb1b88b9e80f94e5a95b96a0cb1a18ca | 1ed11e0661b70dfb79834058729b3ad5a7df1be8 | refs/heads/master | 2022-01-23T12:07:31.462049 | 2022-01-10T18:12:26 | 2022-01-10T18:12:26 | 7,699,982 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,344 | r | spat_mete_ddr.R | ## Purpose: to generate the analytical METE DDR predictions
## given the parameters in the empirically observed communities
print('Submitting jobs to compute the analytical METE DDRs, ...')
source('./scripts/spat_functions.R')
clArgs = commandArgs(trailingOnly=TRUE)
if (length(clArgs) > 0) {
server = clArgs[1]
s... |
ccc0ba1178bd709c003a53c7c68d72bf6cf2e799 | da08909e4b6d88a39867bbc08adfaa85d9879009 | /code/boral_withOTUs.R | 36fa2c916bb77f9b6f086c03e6e959cf0ff38ee4 | [] | no_license | neiljun/tutorials_communityAnalyses | fa52706bc45de0ad1fddeca3d7de2c2e04887a92 | 6451697b494a9c0fa7d1aac1c713922e00eae82f | refs/heads/master | 2021-01-08T18:42:12.919070 | 2019-02-19T20:44:28 | 2019-02-19T20:44:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,086 | r | boral_withOTUs.R |
# boral example
# particularly designed for studies with very diverse communities, e.g. OTU data
# custom functions to display ...
# ... mcmc trace plots
# ... distribution of shared enviroment and residual correlations
# ... strength and direction of shared enviroment and residual correlations
require(boral)
require... |
475bc2590dfe7a18b53434ecc9a611e15df0fb87 | ca2b7a7b8692aa06cb8f3ad547da8454695b8709 | /R/rSD.R | 601579990beccecc288594801a1dba6eae87ebbc | [] | no_license | jthurner/hydroGOF | 0cc522a508daac8f40fe830aab2ce6a18356abdf | 60fecbfbb094915dff2718abaac5817377864545 | refs/heads/master | 2021-01-19T04:34:08.821128 | 2017-05-01T15:15:08 | 2017-05-01T15:15:08 | 95,649,683 | 0 | 1 | null | 2017-06-28T08:58:30 | 2017-06-28T08:58:30 | null | UTF-8 | R | false | false | 2,550 | r | rSD.R | ################################################
# 'rSD': Ratio of Standard Deviations #
################################################
# 15-Dic-2008; 06-Sep-09 #
###############################
# SD(sim) / SD(obs)
# 'obs' : numeric 'data.frame', 'matrix' or 'vector' with observed values
# 'sim' :... |
4b4a8e1dc6f349ab5c4d07dabbeb8cfdecc3a7c2 | d96bf3b991b61019d82f0d36a3482c9201bfa451 | /aux_aster.r | cf2fed08ddf95e2c5c538248630325bfbad614e4 | [] | no_license | alfcrisci/ASTER_decoding | e82984fd0daf1f847f396f3ca278d4310ab66c81 | 18bfc8090573f8fe04ed974dac1a321a376a2a87 | refs/heads/master | 2021-06-11T06:20:42.842171 | 2016-12-06T14:38:39 | 2016-12-06T14:38:39 | 75,731,283 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,797 | r | aux_aster.r | require(gdalUtils)
require(raster)
#------------------------------------------------------------------------------
# Next, define functions for calculations
# Write a function to convert degrees to radians
calc_radians <- function(x) {(x * pi) / (180)}
# Write a function to calculate the Radiance from DN values
calc_... |
e0c3244b45ce869786252a0d7d6b06d0b71522c2 | 56d38fc637ae50fafacf29bc0285e8bf1d3dd819 | /R/assertions.R | dada41d44e45310ee75de85cfc2d6c1338dcf8c1 | [
"MIT"
] | permissive | isabella232/cli-12 | 8d0201e0344089739c24e59adc20f539952a20b9 | b34ae2ceac0716a28df1a6f7b9fc1b24f577d701 | refs/heads/master | 2023-08-02T15:25:46.101332 | 2021-09-07T14:03:37 | 2021-09-07T14:03:37 | 404,305,822 | 0 | 0 | NOASSERTION | 2021-09-08T12:43:13 | 2021-09-08T10:31:27 | null | UTF-8 | R | false | false | 742 | r | assertions.R |
is_string <- function(x) {
is.character(x) && length(x) == 1 && !is.na(x)
}
is_flag <- function(x) {
is.logical(x) && length(x) == 1 && !is.na(x)
}
is_border_style <- function(x) {
is_string(x) && x %in% rownames(box_styles())
}
is_padding_or_margin <- function(x) {
is.numeric(x) && length(x) %in% c(1, 4) &... |
d9661d53c567aceded3b0d2a70ae9145e7c72b88 | 6f0b7eba4d96bd84b90e750bea9fd5080d8171eb | /R/make_manifest.R | 072824b430d404352d3cba5330c253a0fe4300b4 | [
"MIT"
] | permissive | wp-hnu/terrainr | 2546084afedd2a3fc7a171326c6efd2eee1df07a | d64ee71271c573f1759e46e9ce89b0eefce8f13a | refs/heads/main | 2023-08-02T21:15:55.355551 | 2021-09-24T13:17:06 | 2021-09-24T13:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,819 | r | make_manifest.R | #' Transform rasters and write manifest file for import into Unity
#'
#' This function crops input raster files into smaller square tiles and then
#' converts them into either .png or .raw files which are ready to be imported
#' into the Unity game engine. It also writes a "manifest" file and importer
#' script which m... |
0a2c3fd7cc0448f9f2455c11ecbfa8e3385973f7 | 897df5b57809f1d13479291bae09e9cef2c0f88d | /R/evaluate_smooth2.R | 960d618492bae944fc831e24642aa1699492aa86 | [
"MIT"
] | permissive | andschar/gratia | 8d7327c1aca5e37d2981ab5b7575e8992192915d | 0bf4f0fcbf6f840b55c12fb67c31e9b85623879c | refs/heads/master | 2023-03-10T16:56:53.957470 | 2021-03-01T00:32:40 | 2021-03-01T00:32:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,732 | r | evaluate_smooth2.R | ##' New `evaluate_smooth()` alike
##'
##' @param object an object of class `"gam"` or `"gamm"`.
##' @param smooth character; a single smooth to evaluate.
##' @param n numeric; the number of points over the range of the covariate at
##' which to evaluate the smooth.
##' @param data a vector or data frame of points at ... |
52318cde1a38aac43acd5e9b4f9b7f02379a23ca | 5fe0acf9140cda57c48a982c6d0521bea366bac8 | /Ativ Prát 2/Ativ Prática 2 RASCUNHO.R | 501335098ed2a30cf4bc330a81c8d1ef2b16c7ba | [] | no_license | bruno-marcelino10/trabalhos-em-econometria | b12e901b4cec5e80e60d236cdfb4062a2d75ef8f | 62c5edac604da06900f52e0ef8f9dd6f242ad590 | refs/heads/master | 2023-04-04T17:06:42.324472 | 2021-04-14T05:23:37 | 2021-04-14T05:23:37 | 357,783,545 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,478 | r | Ativ Prática 2 RASCUNHO.R | ##### Atividade Prática 2 - Econometria (RASCUNHO) #####
library("MASS")
library("AER")
df <- tibble(Boston)
#### SIGNIFICADOS DAS VARIÁVEIS: -----------------------
# medv = valor medio das casas em uma vizinhanças
# lstat = percentual de moradores de baixo status economico
# chas = variável dummy (1 = perto do ri... |
18243b46cf7017ceb71e8558205e840c470b27b6 | 2d50491917be033214010ed349f0c6ab5d916271 | /R/all_patterns.R | fb74a92829d552adcc5d0b670be1d168ea304187 | [
"MIT"
] | permissive | ZipZaap/missCompare | 82aa38b388c7c2fd2dbfa9be55bc064fd33bd6b1 | 20ceaf2c16f5e62ef195760b77bb1a5d67e1a35b | refs/heads/master | 2022-11-23T01:44:14.335078 | 2020-05-13T15:01:52 | 2020-05-13T15:01:52 | 282,241,971 | 0 | 0 | NOASSERTION | 2020-07-24T14:34:32 | 2020-07-24T14:34:31 | null | UTF-8 | R | false | false | 4,418 | r | all_patterns.R | #' @title Missing data spike-in in various missing data patterns
#'
#' @description
#' \code{\link{all_patterns}} spikes in missingness using MCAR, MAR, MNAR (default) and MAP (optional) patterns
#'
#' @details
#' This function uses the generated simulated matrix and generates missing datapoints in MCAR, MAR and MNAR p... |
39558cbc2510f5c463e0950c493b716ec83fb228 | 2726f8692e64c8725abf51f9ca0fc5b72cfcd312 | /template/ui/sidebar.R | 7edd1da2021e0c8d66c87c147592e204a2edeb15 | [] | no_license | thiyangt/shiny | a5357072035579cda966caa35d69619d752feb62 | b549d536663d563ba58be4bc2647046296b56068 | refs/heads/master | 2020-06-25T09:46:48.040007 | 2019-07-27T19:07:09 | 2019-07-27T19:07:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 165 | r | sidebar.R | sidebar <- dashboardSidebar(
# https://fontawesome.com/icons?d=gallery&m=free
sidebarMenu(
menuItem("Home", tabName = "main_tab", icon = icon("home"))
)
)
|
643f82b481bd45ec954ec1420bccd36a8366c93c | a72a6d84757be8d52b6aa688d9105bdb94d2a709 | /scripts/processSection3.R | 23e8e203567eaf70a95274117ce5575dac1db0f2 | [] | no_license | UrbanInstitute/ed-data | ff192c45d9b1b6abf134a8efc958197f30947322 | 6c4f6361d7be9742f41fc6f046799b9b74dde299 | refs/heads/master | 2020-04-06T19:07:44.973267 | 2017-03-24T20:13:46 | 2017-03-24T20:13:46 | 47,789,463 | 8 | 1 | null | null | null | null | UTF-8 | R | false | false | 29,257 | r | processSection3.R |
library(dplyr)
library(tidyr)
library(jsonlite)
library(openxlsx)
source('~/Documents/ed-data/scripts/createJsons.R')
# Path to Excel file with graph metadata - change to your file path
textpath <- "/Users/vhou/Box Sync/COMM/**Project Folders**/College Affordability (Lumina) Project/**Production/"
#textpath <- "/U... |
16d4b2741ecd01cd6f7cfb35e495b8aed60da5a5 | 5d9ddeaded233e601418f036a1b79728b980a2d5 | /BA Plot function.R | 62e1f36d125a6ce2c2a1c643bb44f2ac620943aa | [] | no_license | nanibyrozu/BA_Plot | 8ae4fc853dee89b16d41eea6e395e5101d10eacd | 6da80b03ae480bc8966b32cd6524cba9a21dde54 | refs/heads/main | 2023-02-15T08:51:02.941327 | 2020-12-30T06:34:11 | 2020-12-30T06:34:11 | 325,473,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,738 | r | BA Plot function.R | library(ggplot2)
library(BlandAltmanLeh)
#####################NANI BA Plot function################################
baplot<-function(datax, datay){
par(mfrow=c(2,2))
bmean<-(datax + datay)/2.0
dif<-datax-datay
m<-mean(dif)
s<-sd(dif)
l=m-1.96*s
u=m+1.96*s
line=c(l,m,u)
plot(b... |
5d511077b485356624377a77d9eab12ca3240bc3 | 028c8cd561dbc8d7e5f17940c12d86a8fe594836 | /Markov_dyn.R | 3f56289cc217a4f340014946012106e531d34cda | [] | no_license | enderska/Markov-Regime-Switching-Model | 657a3f03a020ecbcc46cb1414523bfcf8bc5152b | 3366f283c8bfd24c93c6782c0af203ae85cf0559 | refs/heads/master | 2020-05-05T04:35:45.651817 | 2019-04-05T16:37:34 | 2019-04-05T16:37:34 | 179,717,443 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,070 | r | Markov_dyn.R | # Markov Regime Switchin Modelling
# import libraries
library(tseries)
library(MSwM)
library(forecast)
# set working directory
setwd ("/Users/katharinaenders/Documents")
#--------------------------------------Forecasting insample--------------------------------
#------------------------------------------------------... |
a10aa83204393790829a65959f35659abc3f258f | 82dd388bbb6e26a26145d05024956159419e1efc | /codeFromBook/Chapter10/priorityHeuristic.R | b3741ad81f73c16d70fd2bae73b9608f99e42a60 | [] | no_license | humanfactors/computational-modelling | 731a2f143d2795cffd9994700c29a9c78928da83 | ff4be7dcc416012bc83098c1cab3e85dcb321273 | refs/heads/master | 2020-03-16T15:02:23.775932 | 2019-08-05T22:53:58 | 2019-08-05T22:53:58 | 132,724,714 | 0 | 1 | null | 2019-08-05T22:54:00 | 2018-05-09T08:17:45 | R | UTF-8 | R | false | false | 1,758 | r | priorityHeuristic.R | priorityHeuristic <- function(prospect,alpha=0.1){
# priority heuristic for two gambles
allx <- c(prospect[[1]]$x, prospect[[2]]$x)
if (all(allx<0)){ # all negative
# first compare minimums
max_x <- min(allx)
mins <- c(max(prospect[[1]]$x),max(prospect[[2]]$x))
if ((abs(mins[1]-mins[2])/abs(... |
f091c000aadef5ee4bb1691a1586bc5665fe8357 | 3925d6ad6d2c1ff9c07b09e3a1d05cf2258254a7 | /Figures/orthology_annotation.Rd | 475102ae8962597b8808fb5637287c203daedb8b | [] | no_license | wrroberts/Achimenes_transcriptomes | 24dff04bc939b462794b2b28927b81c7090f09f7 | 8712b9e0ac8c185dc14b93e1fed829eb88283768 | refs/heads/master | 2021-01-22T22:13:40.423666 | 2017-03-20T21:20:05 | 2017-03-20T21:20:05 | 56,537,194 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,369 | rd | orthology_annotation.Rd | library(ggplot2)
Annotation=read.csv('Annotation.csv',header=T)
data1=melt(Annot)
data1$Category<-factor(data1$Category,levels=c('Unannotated','Annotated Primary','Annotated Alternate'))
ggplot(data1,aes(x=variable,y=value))+
+ geom_bar(aes(alpha=Category),stat='identity',width=0.9,size=0.5,color='gray25',position=... |
632caa33ff2f47d5abc7772e2db96b4afced555d | adf13968c14ecb2f547c8afc96842ffd1b2efa39 | /demo/S_EigenvalueDispersion.R | 3186f18dd2826040abe530879d3a0dd4de89ef1d | [] | no_license | runiaruni/Meucci | 10ed5635d3a756b743a9f75956e247dadb7489ff | 9f0a946631eebe65837c15d05b53e22c5333c25d | refs/heads/master | 2021-05-31T18:07:39.024992 | 2016-05-05T17:17:59 | 2016-05-05T17:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,891 | r | S_EigenvalueDispersion.R | #' This script displays the sample eigenvalues dispersion phenomenon, as described in A. Meucci,
#' "Risk and Asset Allocation", Springer, 2005, Chapter 4.
#'
#' @references
#' A. Meucci - "Exercises in Advanced Risk and Portfolio Management" \url{http://symmys.com/node/170},
#' "E 168 - Sample covariance and eigenval... |
b1cffe699b51133b3e80c28809e7a4b070a286ce | d99c28b5c5ab9ec297e0cef2624425aa3a000be8 | /man/armodel.Rd | 56a7fa13cf06f88b343d96ed875b52584ccb7f9f | [
"MIT"
] | permissive | georgiaxiao/newrepo | 7dbe9ecfbfcab54d87e9ebd9193b5502d5e60fee | cbb44cda51aaf0be4506e008acc02369e8867341 | refs/heads/main | 2023-02-02T22:48:33.991786 | 2020-12-11T18:11:40 | 2020-12-11T18:11:40 | 320,641,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 326 | rd | armodel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/armodel.R
\name{armodel}
\alias{armodel}
\title{Title armodel}
\usage{
armodel(i)
}
\arguments{
\item{i}{The power you choose for the model.}
}
\value{
}
\description{
This function can use the AR model and see the summary with simplied meth... |
e062f89b8df6c916365c38205edc1294cf30fc38 | 5e25e0caf98f695fae1da0771d30ec2705974f9b | /Class 3 - Reading and Writing Data.R | 60371c78211d94c6ca45b42e058bfbaa483ee153 | [] | no_license | KarthikJRao/MICA_AMMA_PGP-2 | 4e2553fc2bb1002ca4b587353d553c321958c898 | c9a60427789435dcf02cd8decc9dbe955f69d77a | refs/heads/master | 2021-01-23T05:55:37.320899 | 2017-09-07T20:20:44 | 2017-09-07T20:20:44 | 102,481,789 | 16 | 4 | null | null | null | null | UTF-8 | R | false | false | 8,363 | r | Class 3 - Reading and Writing Data.R |
################## Reading Data #########################
## Reading data from program editor
## Create a matrix
input.matrix <- matrix(1:100, ncol = 5)
## See the data
input.matrix # we see that a matrix with 5 columns and 20 rows has been formed
# Uniform Random Numbers between 1 to 1000
rr <-1000*run... |
3feea1f65800e9d2e7978ff7d5f71c531ef3c426 | 1c1ab899dcb552e671d54e2e5f7dc6a1a2b12223 | /length_data_master.graphs.R.R | 5f8a13b826484ec1a6d5611d5df34aa1fb9111e3 | [] | no_license | rholderm/mfish-feeding | 629d67a3839e8528fb6d6291e1bea0fd4a82fefa | 2649a22f9a48fe813a62a4e9babbd619c0b48728 | refs/heads/master | 2021-07-13T01:29:48.516634 | 2017-09-28T00:26:50 | 2017-09-28T00:26:50 | 105,081,496 | 0 | 0 | null | 2017-09-28T00:26:51 | 2017-09-27T23:57:56 | R | UTF-8 | R | false | false | 6,867 | r | length_data_master.graphs.R.R |
length<-read.csv("C:\\Users\\rhold\\Documents\\UCSC\\Palkovacs Lab Work\\R\\Fish Length Master R.csv")
length$pop<-length$Population
length<-length[,-c(1,6,7)]
env_factors<-read.csv("C:\\Users\\rhold\\Documents\\UCSC\\Palkovacs Lab Work\\R\\Environmental pond data for PCA_R.csv")
# Will need to edit thi... |
00886e58b2d4f0e1539dc4f7b15ff781615d1512 | 5707fa70258d02ca5981010f078f635d0c5a09ca | /.Rprofile | 5115d004f9da8ac2455e579b8ac6240fb6bacdea | [
"MIT"
] | permissive | cgpu/2019-feature-selection | b60c3a3fe13abcc22836b272dd8bda27d0cb93bf | c7b33508cf92359718c47e13e01688a82d30a7bd | refs/heads/master | 2020-08-07T15:49:53.064371 | 2019-12-10T08:31:56 | 2019-12-21T17:25:19 | 213,512,464 | 0 | 0 | NOASSERTION | 2019-12-21T17:25:20 | 2019-10-08T00:28:15 | null | UTF-8 | R | false | false | 597 | rprofile | .Rprofile | source("renv/activate.R")
options(
drake_make_menu = FALSE,
Ncpus = 10,
#repos = BiocManager::repositories(),
radian.editing_mode = "vi",
radian.auto_match = TRUE,
radian.auto_indentation = TRUE,
radian.tab_size = 2,
radian.complete_while_typing = TRUE,
scipen = 999,
clustermq.scheduler = "slurm",... |
04d146b343a8e419ec5985fe5f32d5ef04062cab | 6fbc0b4555e94e5dbbb1b6ce58ca2cbd98340b43 | /Modelo CEV(pricing option).R | 9383feeb1c2da0dd9d89d7c78ad66b26e58acc45 | [] | no_license | CEAC333/R-repository | c6dc9b43c89ffe2a50fd280c32068bdc4a36bac0 | 79d8d2640c6f29cc92f8d1d1d005f1600c6dbe6b | refs/heads/master | 2021-05-13T19:02:53.602809 | 2018-01-08T01:32:00 | 2018-01-08T01:32:00 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 576 | r | Modelo CEV(pricing option).R | st<-1.33 #precio actual del activo
k<-1.33 # precio strike
Te<-252 #vencimiento
r<-.072/100 #tasa de interes libre de riesgo diaria
sigma<-0.77/100 #volalidad diaria
alfa<- 1 #coeficiente elasticidad de la varianza
N<- 24 #número de pasos para el método de euler
h<-T/N #tamaño de los pasos método euler
n<-10000... |
dd218197e54c255116a74c9304018f592fc6f20c | 43a70fcc3c3558b2fc9296eb178fa4e215d3d756 | /man/incidence_vector.Rd | 81e78c8a8c5efa2e6f45ae038fca5f5de0694bac | [] | no_license | laurettemhlanga/PopulationSimulation | ef1a166b3db12866e8daee739b66a0f290fc3014 | 9e7d4c3df4438f15cf5177612ed4ab551cb7a83b | refs/heads/master | 2021-12-23T15:23:23.017571 | 2021-08-09T15:18:07 | 2021-08-09T15:18:07 | 166,325,128 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,253 | rd | incidence_vector.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/incidence_matrix.R
\name{incidence_vector}
\alias{incidence_vector}
\title{incidence_vector}
\usage{
incidence_vector(n_age_steps, date_of_birth, incidence, time_step)
}
\arguments{
\item{n_age_steps}{The maximuma age attained by each birth c... |
3a2bf9422e9fa8fb28c18c2020e8e0ccb7e35ff7 | 5a1aa46ebb7bb936bb60f5b9c78b6e81cf5a1c8c | /Universalbank_Logistic_Regression_Analysis.R | 2d0b008ae2099758e89b05c5b9624b3c0040c9cd | [] | no_license | JasSong/Forecasting-Model | e956bb3629485d856f09f567b29d268a82e2297f | c8932ed17d1ab8066bf8d83b14fbc872d6ea5335 | refs/heads/master | 2021-04-12T09:33:24.491710 | 2018-03-21T09:20:16 | 2018-03-21T09:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,701 | r | Universalbank_Logistic_Regression_Analysis.R | library(data.table)
rdata <- fread(file.choose(), ,sep = ',', header = TRUE, fill = TRUE)
rdata <- rdata[,1:14]
sigmoid <- function(x,a){
1/(1+exp(-a*x))
}
curve(sigmoid(x,0.5),-15,15)
names(rdata)
View(rdata)
install.packages('dummies')
library(dummies)
rdata$Education <- factor(x= rdata$Education, labels = c('und'... |
92f78268098c01c214e8eb55140aa40b77a75676 | 36b84cc0599d78c44ee784f4c3784cf62bc79aa8 | /man/sim_multi_stat.Rd | 68959a65947a1dbac206f983117b21fc475df3e0 | [] | no_license | SJTU-CGM/vPanG | 55d077d790906a58342a9aadc714ab9ba17747b8 | 1a2328747aa6c20f6d6222798a55d561465dc0e7 | refs/heads/master | 2023-04-01T20:42:53.658760 | 2021-04-13T05:29:24 | 2021-04-13T05:29:24 | 355,472,284 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 667 | rd | sim_multi_stat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim_multi.R
\name{sim_multi_stat}
\alias{sim_multi_stat}
\title{sim_multi_stat}
\usage{
sim_multi_stat(
pav_obj,
phen_name,
n_simulation = 10,
parallel = FALSE,
parallel_n = parallel::detectCores() - 1
)
}
\arguments{
\item{pav_obj}... |
df33d81b8c3782432b50f53208c47cde20a9f9f2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sonar/examples/PLsphericalSpreadingLaw.Rd.R | c76f12d1f9137de01f621f6d488b3dc5def2b0b9 | [] | 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 | 210 | r | PLsphericalSpreadingLaw.Rd.R | library(sonar)
### Name: PLsphericalSpreadingLaw
### Title: PL to range r spherical spreading law in logarithmic form
### Aliases: PLsphericalSpreadingLaw
### ** Examples
PLsphericalSpreadingLaw( 1000 )
|
fe8dd59927a597a5267ff071b7b2740098bca51d | 0bd5f9608e0b892fce6f39067106046e9e446065 | /shiny/ggplot2_interactivity_and_bootstraplib/app_functions.R | e3c934d25ef4a9d10eb3e9d45da41aa37af8b69f | [] | no_license | acastroaraujo/ToolBox | 833e31474dfed4a30dbf5e209eec8446fd0b9fb3 | ad6c63f1deb3069bb0cc50c8108ad09317efff05 | refs/heads/master | 2021-07-01T06:15:04.354051 | 2021-01-15T20:46:35 | 2021-01-15T20:46:35 | 211,227,714 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 869 | r | app_functions.R |
gg_dots <- function(data_frame, state_map, var) {
variable <- sym(var)
ggplot(data_frame) +
geom_sf(data = state_map, color = "white", size = 0.5) +
geom_sf(aes(size = !!variable, color = log(!!variable), alpha = log(!!variable)), show.legend = FALSE) +
scale_color_viridis_c(option = "magma", direct... |
d8c4ede1d0109d469df442c649cbad7ba37c26ca | 0ee50dd399127ebe38bc8f5197114d46d717ccd7 | /man/autism.Rd | 51f27d36e6c76efe53fdc8543ea1e18a0f272a39 | [] | no_license | cran/bapred | 0051d57056f886e6df028255f0c85339c70d66f1 | e24720be3c6f82c2d5422ae97a8f12f5edc15adc | refs/heads/master | 2022-07-07T03:06:58.840921 | 2022-06-22T07:20:13 | 2022-06-22T07:20:13 | 48,076,867 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,728 | rd | autism.Rd | \name{autism}
\alias{autism}
\docType{data}
\title{
Autism dataset
}
\description{
Total RNA obtained from lmyphoblast cell lines derived from 250 individuals, 137 of which suffer from autism and 113 are healthy. The dataset consists of four batches of sizes 101, 96, 45 and 8.
}
\usage{data(autism)}
\format{
... |
947dfd377b444118df164fc5ed1618571a0bcf0e | cf9533db0fec862278310409df04e87c6bc4d56e | /rnaseq/rnaseq_pkgs.R | d805f60b58dd04d07146a0a5803b3ff84557c935 | [
"MIT"
] | permissive | gillsignals/labs | 1642d889b5475795e93f22d32b2bf567f01048ee | 0fa2a1546466566a511df9f2ecfa30700db60b17 | refs/heads/master | 2020-07-04T18:39:36.157145 | 2019-11-12T15:47:06 | 2019-11-12T15:47:06 | 202,377,656 | 1 | 0 | MIT | 2019-08-14T15:27:41 | 2019-08-14T15:27:40 | null | UTF-8 | R | false | false | 837 | r | rnaseq_pkgs.R | # 2 CRAN packages
cranpkgs <- c("ggplot2","pheatmap")
install.packages(cranpkgs)
# rafalib from github (not strictly necessary, but useful for plots)
install.packages("devtools")
library(devtools)
install_github("ririzarr/rafalib")
# the rest are Bioconductor packages
biocpkgs <- c("Rsamtools",
"Genomic... |
9120b60ae6086832c4c9a3054fd9c8d7abfa074b | d22adc683486fa80d31f601a19d0821b4ca8b810 | /R/summary.gvlmaDel.R | e4cc6c5d20b62f524f4506c9069b99b71adbdc7d | [] | no_license | cran/gvlma | 9c846f5bc1a4c2f43fb334c2348057f48ec60a39 | f425025ccce580c8f387a58ecf5134d5df0787df | refs/heads/master | 2021-06-02T04:54:46.073984 | 2019-01-05T18:30:03 | 2019-01-05T18:30:03 | 17,696,582 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,893 | r | summary.gvlmaDel.R | "summary.gvlmaDel" <-
function(object, allstats = TRUE, ...)
{
gvlmaDelobj <- object
nobs <- nrow(gvlmaDelobj)
oddcols <- seq(1, ncol(gvlmaDelobj), by = 2)
Stats <- gvlmaDelobj[,oddcols]
nstats <- ncol(Stats)
pvals <- gvlmaDelobj[,-oddcols]
AllQs <- lapply(as.list(gvlmaDelobj), summary)
StatQs <- lapply... |
94a0b5c17d2cce168a797edda3ee7629abe55e8d | 8f3bd5ef1b27757c8c16737d24cbb250e736b2f8 | /man/meshGet.mesh3d.Rd | cb66279794d23c02c2bfe642ec5e28a0fd71e04e | [
"MIT"
] | permissive | tunelipt/model3d | 5ba394a84e2ac77602c310385a7b1f92dd1c3d66 | 2a92047e7f66b3dbf8423e5008cf6e6c861a05cd | refs/heads/master | 2020-07-25T14:02:49.769011 | 2019-09-13T17:41:07 | 2019-09-13T17:41:07 | 208,315,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 177 | rd | meshGet.mesh3d.Rd | \name{meshGet.mesh3d}
\alias{meshGet.mesh3d}
\title{Return the ith polygon of a mesh3d.}
\usage{
meshGet.mesh3d(m, i)
}
\description{
Return the ith polygon of a mesh3d.
}
|
0462b783ac3c4242cfbcb995ce31e5d4263409fa | 8dc3e662fdcd64ea0855a67a47be6d42e53e5d0d | /R/zzz.R | 5609c8c648e8ed77e9fec7f4722991df613c552b | [
"MIT"
] | permissive | ylleonv/pack | 2914ed75bfab011af737a83a15d99a51ea5ba9c9 | cb3416a8e230cfbee5a95273c9c6a15184d2458b | refs/heads/master | 2020-12-15T09:54:41.694326 | 2020-06-26T14:10:31 | 2020-06-26T14:10:31 | 233,600,925 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 517 | r | zzz.R | ## usethis namespace: start
#' @import Rcpp
#' @export GLMadj
#' @export GLMcum
#' @export GLMseq
#' @export GLMref
#' @export Discrete_CM
#' @export Predict_Response
#' @export summary.pcglm
#' @export ReferenceF
#' @useDynLib pack, .registration = TRUE
#' @importFrom Rcpp sourceCpp
## usethis namespace: end
loadModu... |
c60266ae2de6a8f7109d890b73dcd57f3cd678df | f3116aec6d81f41468b81fdaf9effe006ebd1d98 | /atacAnalysis/forSom_Granges_Code.R | 0bfc44d026ab65878eda4bc03cbaee2256368cf7 | [] | no_license | jk3755/miscLabScripts | fb5be5a91ea568a53c493f1494b91cc235c2abad | cae5faec96a171e6878e2de690fa13c210f78ede | refs/heads/master | 2020-04-20T10:40:27.002754 | 2019-07-18T16:10:52 | 2019-07-18T16:10:52 | 168,795,524 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,613 | r | forSom_Granges_Code.R |
## Install the packages you will need
source("https://bioconductor.org/biocLite.R")
biocLite("GenomicRanges", suppressUpdates = TRUE)
biocLite("EnsDb.Hsapiens.v86", suppressUpdates = TRUE) # This is the database from which you will retrieve the human gene annotations. An alternative would be to use TxDb.Hsapiens.U... |
57c196d0a0a19293c21030899e0cf6d619051d1d | 3e77568cc98c9713cf47dc94c0d309b1d5dbd79e | /.Rprofile | 2c22753b63d15d9e4d5d812a2db380fd00b3d32c | [] | no_license | cimentadaj/lexis_plot | 2f39fb3839a153a4c3c915ae39bf33dc6ffc0e70 | f32b89810a832dbef3454c912908f940b25163c9 | refs/heads/master | 2021-06-28T00:36:19.442737 | 2020-05-24T09:28:16 | 2020-05-24T09:28:16 | 98,638,408 | 4 | 1 | null | 2019-11-07T08:48:43 | 2017-07-28T10:22:01 | R | UTF-8 | R | false | false | 210 | rprofile | .Rprofile | source("renv/activate.R")
options(rsconnect.max.bundle.size = 3145728000,
rsconnect.max.bundle.files = 3145728000)
cat("To deploy this app, read the section 'Deploy the application' from the README.")
|
a69b17acce64fcfe5699f056580c79970c0de243 | 3f06f78873e8cfabceff52eb2287f1e963b1f682 | /man/load_latest_forecasts_repo.Rd | 7f34a98df43e21b509d8559af656ce68fa3a1f41 | [] | 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 | true | 2,155 | rd | load_latest_forecasts_repo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_latest_forecasts_repo.R
\name{load_latest_forecasts_repo}
\alias{load_latest_forecasts_repo}
\title{Load the most recent forecasts of all that were submitted
on \code{forecast_dates} from a local clone of \code{reichlab/covid19-forecast-... |
496934815ff573f4ff411498024b2e75478628d4 | 050edfa53f5ec7d76b2321c552266e0f60e4db92 | /R/fish.R | 945e833c3056badef849c7eaea4df1eebf8e91c7 | [] | no_license | placeboo/subgraph | e1ab54fabda52ed4243fdc5cdc2a348b2da6d41c | 37036807aa7bd75aeab90fe224fdd44c126fb3f9 | refs/heads/master | 2021-10-27T15:54:59.877512 | 2019-04-18T08:08:57 | 2019-04-18T08:08:57 | 107,905,890 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,065 | r | fish.R | #' fish graphs
#' List all possible fish graphs based on given SIX nodes
#' @param x The vector representing nodes
#' @return A matrix listing edges of fish graphs
#' @examples
#' fish(c(1:6))
fish = function(x){
if(length(x)!=6){
stop("The number of nodes should be SIX!")
}
p... |
7d8fb5f7479d3e816c4a67ecded50fe3067da6e4 | 195032d76a6f0c0258d831bbcbc9b91dd3d085a3 | /inst/shiny/ui.R | 2e9cbf719675cf494fcff913c73bcd18fe009385 | [] | no_license | Wei-V-Zhou/KMPPc | 7bf1fd3a7f300e06f2b75aa1ea97c1dafd859963 | 2b4b8e7b09a26e55c65a4e7579f5b605eed8530e | refs/heads/master | 2021-05-27T13:03:22.220622 | 2020-09-03T05:49:04 | 2020-09-03T05:49:04 | 254,270,761 | 0 | 0 | null | null | null | null | IBM852 | R | false | false | 8,850 | r | ui.R | ######################################################
## KMPPc ##
## Interactive User Interface ##
## UI File ##
## Author:Wei Zhou, xxx ##
## Maintainer:Wei Zhou (247328181@qq.co... |
51c2ff5c451f3a5a123e4dbc52af65aa931ae1c1 | ba554021696c6ee0286e57cbb8990792551b03a0 | /scripts/eia_cohort_project_script.R | 991bc62b292801646cc6c41ab76d7574da1e2670 | [] | no_license | gelkouh/eia-oeconomica | 404b9aba1612f87ae586c134ff3e8f2d73d2f107 | a9fe189ef55b986dada749c03a9b3491ca73d41e | refs/heads/master | 2023-04-24T00:36:51.205538 | 2021-05-20T05:15:35 | 2021-05-20T05:15:35 | 290,599,196 | 0 | 6 | null | 2021-04-03T15:01:34 | 2020-08-26T20:35:53 | R | UTF-8 | R | false | false | 10,852 | r | eia_cohort_project_script.R | # This snippet of code is a little loop that makes my code work on your computer
root <- getwd()
while(basename(root) != "eia-oeconomica") { # this is the name of your project directory you want to use
root <- dirname(root)
}
# This line runs the script in your data.R file so that each person can have
# their data i... |
e684dc17f3a4dc73e8fc4a41d1f620357dac89c9 | 568509efbe527fe3bc862f717014ab3e8bc6d18a | /R/R_scripts/energy.R | ec187d872fc77b8309ca450673acd9cd1d6edefb | [] | no_license | Silveryu/gng.r | 9ab43426d86af21ec52534b0277608c9362a95d6 | 8876c7578fd1584c0e2d6a6ae7f1b1bd45b1c16c | refs/heads/master | 2023-02-02T07:48:15.999468 | 2020-12-16T19:41:42 | 2020-12-16T19:41:42 | 192,547,448 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,455 | r | energy.R | standard_entropy <- function(cluster_points)
{
dimension <- dim(cluster_points)[2]
cluster_cov_mat <- cov_mat(cluster_points)
det_cluster_cov_mat <- det(cluster_cov_mat)
if(det_cluster_cov_mat == 0)
{
det_cluster_cov_mat <- 1.0e-32
}
return( dimension/2 * log(2 * pi * exp(1)) + log(d... |
abcb49e2f74ed858025a901a95533ce44fbf125e | 854f3f6ae97c85ca054c3e1c801ff1ef8badcdf2 | /R/plotCoef.R | b56809434394318c6a8b50866a77531d80125591 | [] | no_license | cran/glmnet | 5d24e2d1ec9e4ca4ae17aeb28781cbe163c3523c | 625f6ca6e3132ce730563ce34233c37f347754c8 | refs/heads/master | 2023-09-01T20:24:37.049612 | 2023-08-22T03:10:09 | 2023-08-22T05:30:40 | 17,696,436 | 64 | 99 | null | 2017-11-09T01:18:04 | 2014-03-13T04:53:09 | Fortran | UTF-8 | R | false | false | 1,566 | r | plotCoef.R | plotCoef=function(beta,norm,lambda,df,dev,label=FALSE,xvar=c("norm","lambda","dev"),xlab=iname,ylab="Coefficients",...){
##beta should be in "dgCMatrix" format
which=nonzeroCoef(beta)
nwhich=length(which)
switch(nwhich+1,#we add one to make switch work
"0"={
warning("No plot produced since a... |
d3f6f252736bef08d50443812d774bf91589f88e | d582b1d42f2c548abf6b032f04b5aeefb48d848c | /man/bic.plot.alignment.distribution.Rd | 3a9ebf273eb1030fd05ebf617cba1fc46288612a | [] | no_license | caitlinjones/bicrnaseq | 82dc6dacb7ad44af1637c449525d6e13cbb3a0ba | 3a74d39c329ab19aa73d2f26eb2d678d111f20fd | refs/heads/master | 2021-05-23T05:46:24.178527 | 2018-04-28T00:00:27 | 2018-04-28T00:00:27 | 94,919,835 | 0 | 1 | null | 2017-06-20T17:54:02 | 2017-06-20T17:54:02 | null | UTF-8 | R | false | true | 1,395 | rd | bic.plot.alignment.distribution.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bic_plots.R, R/tmp_bic_plots.R
\name{bic.plot.alignment.distribution}
\alias{bic.plot.alignment.distribution}
\alias{bic.plot.alignment.distribution}
\title{Plot distibution of alignment across different genomic locations}
\usage{
bic.plot.al... |
73bc30048250ee30a47af2619de7e60d2321e13f | c5a5548c445ebc98b2c5b7185d1fe9461de49464 | /R/norm.R | fa97ebdf236f70b3a21d78ee3301053924a4e9f5 | [
"MIT"
] | permissive | linnykos/utilities | e54f6b7bfad2a9d341384e73001b315939badec5 | 1a0d85a10fb885804d3313d154ec877d7e55cfc9 | refs/heads/master | 2023-08-18T04:50:02.840262 | 2021-10-05T16:45:54 | 2021-10-05T16:45:54 | 330,321,029 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 101 | r | norm.R | .l2norm <- function(vec){sqrt(sum(vec^2))}
.opnorm <- function(mat){.svd_truncated(mat, K = 1)$d[1]} |
db5c784e410e8cfe0f55c4c4caac04da3e1add28 | 2f8eadc3086c263afdf2784e229f7e80a7dcf49e | /RMark/man/release.gof.Rd | 5cf9e27a02c0af8e048d22fcecc31a8c5f362713 | [] | no_license | wchallenger/RMark | 3edb66cbc924fbc37feaa53d22d99e8ac83ee47a | 636a3a7a6c5ab5292c3a249a1b41dab580dda8ba | refs/heads/master | 2021-01-17T22:35:11.482847 | 2012-01-27T17:16:51 | 2012-01-27T17:16:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,089 | rd | release.gof.Rd | \name{release.gof}
\alias{release.gof}
\title{Runs RELEASE for goodness of fit test}
\usage{
release.gof(data, invisible = TRUE,
title = "Release-gof", view = FALSE)
}
\arguments{
\item{data}{processed RMark data}
\item{invisible}{if TRUE, RELEASE run window is hidden
from view}
\item{title... |
a664e76b04a4f3f025fdff70b47c7b8204b8d42b | c7b2e2c32b78821e76194c13d02a0c52d8ea8433 | /man/ff.Rd | 495f6808af3962e562d9cf12e2669a15c5a9f15e | [] | no_license | XixuHu/SC19090 | bfb4c2984a97a36e74021e0c98a352c00fc0f0cd | bae290717feb215f81c462dd679937430184b58a | refs/heads/master | 2020-12-02T02:36:53.317559 | 2019-12-31T04:47:04 | 2019-12-31T04:47:04 | 230,695,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 378 | rd | ff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ex.R
\name{ff}
\alias{ff}
\title{Compute frac(2*Gamma(frac(k+1,2)),sqrt(pi*k)*Gamma(frac(k,2))*integral((1+frac(u^2,k))^{-(k+1)/2}*du,0,c[k])}
\usage{
ff(k, a)
}
\arguments{
\item{k}{integer}
\item{a}{real number}
}
\value{
the numerical int... |
10f9732dcd26faef7124489d07f79902b85a252f | 8377b2ce26626da41d9f69cb2319ce46de6cebfb | /man/eur.Rd | 393365eb236db40c519c6e58473d3f5d35ce26c7 | [] | no_license | koattila95/ultimateexchanger | d0882e55f9236c454cd06ecde0bd0d62f960fa9a | f42743d7118fc8a0bc2f09ec75d01a88ac2bc26e | refs/heads/master | 2022-07-10T02:32:12.918639 | 2020-05-12T20:57:56 | 2020-05-12T20:57:56 | 263,442,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 270 | rd | eur.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eur.R
\name{eur}
\alias{eur}
\title{Converts numeric values into euro format}
\usage{
eur(value)
}
\arguments{
\item{value}{numeric}
}
\description{
Converts numeric values into euro format
}
|
24c588d1643dca5c241ce331ca1874a6a8889172 | aa54763f4c423db0376d0c676113910e0614c398 | /R/figure01.R | 424e9988af30558cd74fb892b8a51fc844e49ca1 | [] | no_license | nemochina2008/tvx | 31376a8394d326b1746f357bef4be4e997f93261 | b81f389711190e19f23ec8e0e5a548aa8e6c5229 | refs/heads/master | 2021-06-19T12:46:54.578792 | 2016-08-18T12:14:43 | 2016-08-18T12:14:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,126 | r | figure01.R | ### environmental stuff -----
## clear workspace
rm(list = ls(all = TRUE))
## load packages
lib <- c("foreach", "MODIS", "Rsenal", "latticeExtra", "reshape2", "grid",
"gridBase", "mapview", "dplyr")
Orcs::loadPkgs(lib)
## load functions
source("R/movingModel.R")
source("R/funs.R")
source("R/visKili.R")
#... |
aa9affc84977349fa95bfa739e406697f503ff4f | c27c86243549be08eb01144a12f709baa188eb86 | /models.R | 5afb9498b262b1c48a299233cef7e4324bbf31f5 | [] | no_license | Beaudelair/Golf | 57585598d96e3578363ae9e6368b2318a8347b9b | c1e6df2a2eda42b5e5d41890559e321b3fe62ebb | refs/heads/master | 2020-05-21T07:20:04.944659 | 2019-05-29T18:53:47 | 2019-05-29T18:53:47 | 185,222,080 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,651 | r | models.R |
#les modèles de léo
# In this script we will do the data exploration andd vizualisation
library(boot)
library(tidyverse)
library(caret)
library(neuralnet)
library(MASS)
library(plotly)
library(dplyr)
library(randomForest)
library(hablar)
library(class)
library(FactoInvestigate)
library(factoextra)
library(rnaturale... |
f15eab1e61be2708579973aa507bc510e1229438 | 0b4dc08a3659f35d6fe492dd9d7e454b2f515a6a | /core_microbiome.R | 0290aa04c7046b8fdd850b733ca980a17d4707b8 | [] | no_license | cedwardson4/phyloseq-extras | 16beffc840dbca8ea18071e02bb20d890ab4a3ea | 9b31c70dd372ac759b4dae2755ae8cab8a379312 | refs/heads/master | 2020-03-21T08:26:33.654295 | 2019-12-06T20:55:04 | 2019-12-06T20:55:04 | 138,343,736 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,855 | r | core_microbiome.R | #https://github.com/davidelliott/core-microbiome/blob/master/core-microbiome.Rmd
# core microbiome function
# finds the core microbiome with various options
# physeq: the phyloseq object to query
# threshold: the abundance below which OTUs are not regarded as being "core taxa"
# method: "max" or "mean" - define ... |
dbbcdd08e92e43e9a8ca17b259254a34fdd6429b | 1b440c732c9f60cbd3130f40ecac2613cadf1940 | /plot1.R | 2cac6a9bb1991357ce0e67c0c582d43213e90ffb | [] | no_license | Mathematician90/ExData_Plotting1 | 221a5ab4ac9b457598d5d85b5e5060f1f82fc68b | a87a59ec1c37b0c6f448688647ee3ab34e9c30f3 | refs/heads/master | 2021-01-21T23:38:50.003562 | 2016-01-08T19:00:53 | 2016-01-08T19:00:53 | 49,279,052 | 0 | 0 | null | 2016-01-08T15:17:45 | 2016-01-08T15:17:44 | null | UTF-8 | R | false | false | 612 | r | plot1.R | library(graphics)
library(grDevices)
household_power_consumption <- read.csv('household_power_consumption.txt', header=TRUE, sep=";",na.strings="?")
household_power_consumption$Date<-as.Date(household_power_consumption$Date,"%d/%m/%Y")
household_power_consumption<-household_power_consumption[which(household_power_consu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.