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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
858ad4990f25304cabff7514144b457649b5f39b | d72718d1504349b1f664a32ca3fd0ce848ee19a9 | /man/determine_winner.Rd | f4357938a1cb26e9b49a4e075d6206e4f05aeb48 | [] | no_license | gzbib/montyhall | 4052f471268cb544b14c2b5dbe433f85c5bb7017 | b40661d047b9a0237478cf9e2ffdac607bec8e2a | refs/heads/master | 2022-12-16T17:32:27.839007 | 2020-09-19T14:03:45 | 2020-09-19T14:03:45 | 296,879,116 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 731 | rd | determine_winner.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/monty-hall-problem (1).R
\name{determine_winner}
\alias{determine_winner}
\title{Determine Winner}
\usage{
determine_winner(final.pick, game)
}
\arguments{
\item{...}{arguments are (final.pick,game)}
}
\value{
The function prints if its a win... |
bc255f38e004c1825f4aad6fa14c7acb894cdef5 | 0a1d7d499dfd3ecb962e02b5615e8373950c4868 | /4_coevolution/procedure/barfigs.r | 4e3bc360b0a348475537c9e9f756722e1e3d23d2 | [] | no_license | xushifen/GCMP_Australia_Coevolution | 92221e8bffb12a9ff4746fc56150e4c60066e8f8 | fba13cd74d717727d1990e5848d9c86695454a90 | refs/heads/master | 2021-09-21T23:28:30.220838 | 2018-09-02T21:52:34 | 2018-09-02T21:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 314 | r | barfigs.r |
new <- merge(assocs, sample_data(pruned)[,'host_genus'], by.x='sample', by.y=0, all.x=T, all.y=F)
new$rel <- new$count/new$sample_sum
pl <- ggplot(new, aes(x=sample, y=rel, fill=otu))
pl + geom_bar(color="black", stat="identity", position="stack") + facet_wrap(~ host_genus + geographic_area, scales='free_x')
|
281891ef92e113e1d177d578e70a3283769e8db5 | f29a6df961f150c0fdf554f14ff0bf0cf116acff | /ui.R | 5fd0bb372a85b1be8273f2f6fb4b68fe6b7e6deb | [] | no_license | LStepanek/Conway_Game_of_Life | d180e397ce7ab47823c182dc675cb25fd1dee7aa | 8d51f886ac60aa3fe9e34389bb67afc0e82675b3 | refs/heads/master | 2021-01-11T20:26:59.476350 | 2017-01-30T14:25:05 | 2017-01-30T14:25:05 | 79,117,638 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,735 | r | ui.R | ###############################################################################
###############################################################################
###############################################################################
## loaduju globální proměnné ----------------------------------------------... |
5fcc5521796bfe6b9d00723ea2cf18605463c0ad | 29585dff702209dd446c0ab52ceea046c58e384e | /Biograph/R/locpath.R | 9fff7e1d5756c77e25481973f18790c156bad20a | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 99 | r | locpath.R | locpath <-
function(Bdata)
{loc <- which (colnames(Bdata)=="path",arr.ind=TRUE)
return (loc)}
|
975f66c1c91dd620d85a4bf8936880a1de1d7f89 | 9dbdfee7a2737ae5144650a0675cec521e8d41cd | /RawtoTPM.R | 11346a9fccca182982d08f4f21409ec1fe3a678c | [] | no_license | dmworstell/GTEx_HML2 | 51bb3e89de92651124d8f75efe7576c7de21532a | 859d16fd0175f724a022dfafad2b554992bad2cc | refs/heads/main | 2023-04-16T15:32:30.529978 | 2021-05-05T22:37:00 | 2021-05-05T22:37:00 | 364,721,318 | 0 | 0 | null | 2021-05-05T22:27:46 | 2021-05-05T22:27:46 | null | UTF-8 | R | false | false | 3,230 | r | RawtoTPM.R | library(data.table)
library(Biobase)
library(edgeR)
library(org.Hs.eg.db)
library(DESeq2)
library(GenomicAlignments)
library(GenomicRanges)
library(Rsamtools)
library(refGenome)
library(plyr)
setwd("/Users/far122/Desktop/GTEx_HML2_Expression")
Tissue = "Adipose_Subcutaneous"
#load in raw counts data and rename rows t... |
08ae6fb9253699da6c11850b3f8bae00ddbe0018 | b5b9e40aa3f9fa46e62c0235e592766995ac8376 | /R/band.R | 20745522e1402172506dfe41fc051c4650fe3624 | [] | no_license | dongyi1996/exploreRGEE | 50adbb355d03037b51f1e2ded5b391e39542ac78 | 1ce4a689ddb1d30497995d851b1ba93c971dc0c5 | refs/heads/main | 2023-04-18T21:48:13.284439 | 2021-05-11T20:42:27 | 2021-05-11T20:42:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,203 | r | band.R |
#' Extract Regions by Date
#' @description This function allows the user to pass a previously created get_*() object to get
#' a time series from a collection, e.g. banding/toBands. This uses the \link[rgee]{ee_extract} function from rgee.
#' @param data A previously created get_* object
#' @param geeFC A known GEE Fe... |
33427919ebbeebefaa012aa6751f8fca8e6f6a40 | 9d0faaf1f45e3c4f3fdea6c2d44d662ff0214e9c | /man/ral.Rd | a370461fc6c7d18b33da17f7eef14ce23c966614 | [] | no_license | edwindj/ral | 0026c98e1f4b87d1854a887e720e5e0cf04099ac | 949de5e9a57a95832277e2a629e674f736017c4c | refs/heads/master | 2021-01-23T08:10:34.438921 | 2017-03-31T07:22:20 | 2017-03-31T07:22:20 | 80,532,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 568 | rd | ral.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{ral}
\alias{ral}
\title{RAL colors with code.}
\format{A data frame with 213 rows and 5 variables:
\describe{
\item{RAL}{RAL number, integer}
\item{color}{html color code}
\item{name}{english name}
\item{german_nam... |
4b9a50eeb095eb28f8d60ed9fe77b28788612e6f | dbcdfd44aefa58ff112e222ed05a6cc81a192532 | /code/VISUALIZE/FIGUREA10.R | cb8b5aac77847cbd4a15a55720cfc83cc2dc4361 | [] | no_license | MGanslmeier/covid19vaccinationProject | b6b14d8a54024dd741336fe10eb25396382ab44f | d91614aa76ef1e8d7d4bb3681963f0259af0058c | refs/heads/main | 2023-04-29T06:30:46.369658 | 2021-05-19T15:54:07 | 2021-05-19T15:54:07 | 368,921,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,929 | r | FIGUREA10.R | setwd("XXX")
pacman::p_load(plyr, dplyr, readr, tidyr, stringr, openxlsx, ggplot2, gdata, forcats,
readxl, purrr, tvthemes, ggthemes, usmap, scales, ggthemes, gtools)
rm(list = ls())
options(scipen = 999)
#########################
# FILEPATH
files <- list.files('res', full.names = T, recursive = T) %>... |
129ede3722199985ca94983c441abd1b29c41d32 | 63bd69b8e6c1b1c86adaa22aa1495783b8e33d72 | /course_project/ui.R | 2c9b8d1c4fc280800997d715407fb5beff58cd08 | [] | no_license | jjsmartin/data_products_coursera | dfe880e22ec7e608a4c09fbeca682375db43632a | 7bf7020ea95ddfb098d64c70f8c77e0c0543f5bc | refs/heads/master | 2021-01-23T06:44:13.430820 | 2014-07-27T18:50:52 | 2014-07-27T18:50:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,396 | r | ui.R |
## UI for flu time series display
library(shiny)
shinyUI(fluidPage(
fluidRow(
titlePanel("Flu Cases in USA, 2009 to 2014"),
helpText("Use the checkboxes to select which time series you want to see plotted." ),
helpText("Use the slider to select the order of smoothing - i.e. the numbe... |
6bc809c3788acb1492288435cff3fa3c3a9305eb | cf5998744c0c76ef67647473da3c1b79d07fbff7 | /R/analyze.coalescent.R | 36dab8db5a87935ebb8d02ecf4bf2dbc821987df | [] | no_license | fmichonneau/starbeastPPS | 00a3797e72ce882475669ce556628d08ec61db5f | 3c07296a35d327ce840bc25d81a7a183259d9c19 | refs/heads/master | 2020-12-24T15:23:36.039533 | 2014-10-31T21:07:18 | 2014-10-31T21:07:18 | 18,690,628 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,685 | r | analyze.coalescent.R | analyze.coalescent <- function(data, msdir = "/directory/containing/ms") {
ntrees <- length(data$genes)
nsamples <- length(data$species.trees)
### data structures
empirical.gene.coal <- matrix(nrow = nsamples, ncol = ntrees)
empirical.gene.probs <- matrix(nrow = nsamples, ncol = ntrees)
... |
63ae7e67a41f54d219f46aea0ec6f7a9bf284826 | 00fa720b1d2ca2cfada7f849b3575a7a9c7b315b | /sim-info.R | d3b299f2fbd98f1facf9e17bb1dd25a5fa81f852 | [] | no_license | petrelharp/spatial_selection | 84230958bcf5f669dde2a79b8e48fa45b0d494df | 2f6fac14e71af729ed8de153685d604cc2e5dd32 | refs/heads/master | 2021-01-10T05:33:24.169012 | 2015-10-19T19:58:51 | 2015-10-19T19:58:51 | 44,549,223 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 963 | r | sim-info.R | #!/usr/bin/Rscript
simfiles <- list.files(pattern="*-pophistory-run.Rdata")
names(simfiles) <- gsub( "([^-]*)-.*","\\1", simfiles)
filetimes <- file.info(simfiles)$mtime
simfiles <- simfiles[ order(filetimes) ]
filetimes[ order(filetimes) ]
simparams <- lapply( simfiles, function (x) {
load(x)
c( poph... |
ca858429f63f16d31021cbcc6636327c589032d2 | c1d864235d46a20ecd975bf4a6a29586184c606c | /visualizacion/shiny/data.R | 8bfe7a2c5773e7831bf73ac001980e9c29c5242e | [] | no_license | ludwigrubio/datascience_academic | fb2fdb659016cc31ee968735e4a4495040b4dd05 | 8291ea1c925b8ecfb12985a653abf1e0f8ce0107 | refs/heads/master | 2020-05-29T14:13:05.864835 | 2019-09-05T19:43:47 | 2019-09-05T19:43:47 | 189,186,661 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,175 | r | data.R | #Carga de variables----
library(dplyr)
library(tidyr)
load(file="points_map")
load(file="first_chart")
load(file="second_chart")
load(file="third_chart")
load(file="fourth_chart")
load(file="second_map")
#Preprocesado gráfico 3
total_pg_pi_idh_g3 <- total_pg_pi_idh
total_pg_pi_idh_g3$pni <- total_pg_pi_idh_g3$pni -... |
ac2c14225fe9c4b2b80a193730014118408e1086 | 74051a004138cc577fe910e00c133e1d0e2d25c0 | /Plotting/rna.R | 815dd8d8171da4468a2cee32f2e8d45cfd4b5150 | [] | no_license | patrickCNMartin/ChIPanalyserSub | 0e8e7845937420efcffbf24d39002425fbc9e959 | 4c3afeecf0f12bd465312c921df7cfcee2801f71 | refs/heads/main | 2023-01-03T07:12:32.097939 | 2020-10-28T12:45:54 | 2020-10-28T12:45:54 | 301,397,014 | 0 | 0 | null | 2020-10-05T13:40:36 | 2020-10-05T12:13:19 | null | UTF-8 | R | false | false | 5,982 | r | rna.R | tf<-c("CTCF","BEAF-32","su(Hw)")
cell<-c("Kc167","BG3","BG3","S2","Kc167","S2")
labs<-LETTERS[1:6]
## you need to set up your data, which is not here because you are an idiot :D
pdf(paste0("RNA_rescale_ChIPanalyser_","MSE",".pdf"), width=27,height=15)
#par(oma=c(0,0,9,0))
layout(matrix(cbind(c(1,2,5,6,9,10),c(3,4,7,8,1... |
d9b997f7125a20a66a4670a33877a4279e9c16e8 | 29585dff702209dd446c0ab52ceea046c58e384e | /PKgraph/R/global.r | f1df1ca442cf97677ef7e481ec22a9baa83b7bec | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,940 | r | global.r | #############################################################################################
## Project: PKgraph
## File: global.R
## Author: Xiaoyong Sun
## Date: 08/19/2009
## Goal: PKgraph
## - interface
## Notes:
#######################################################################################... |
ee83d7a9234bf7bffe25a1f0c5977f9f784d1d13 | c8e55ba787d500c25d351bb903b310768fbccf1b | /magic.R | ca40f5271463678e8d00dd50a25a5017ebabe93d | [] | no_license | cem1002/2015-10-05 | 17c39bf33cb869eb46587767176ab53d34c597f6 | 4f6e2873cccb4aeff0086d0cd9988e47a7130795 | refs/heads/master | 2021-01-10T13:26:17.284299 | 2015-10-05T13:24:06 | 2015-10-05T13:24:06 | 43,677,882 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 303 | r | magic.R | # Quietly load dplyr if not already loaded
suppressMessages(require(dplyr))
random_source_1 <- function(sample_size = 1) {
return(data_frame(x = rnorm(n = sample_size, mean = 15, sd = 2)))
}
random_source_2 <- function(sample_size = 1) {
return(data_frame(x = rexp(n = sample_size, rate = 0.5)))
} |
04a1a2508a53fcb7d35e9adf262d1b3a5f77bbf2 | 70bf0ea97a15fb6cccf36f693bf162e7dc56bc0c | /man/crwMLE.Rd | 71e0676a75738ec6239cf0c53c9ad735d7f80b77 | [] | no_license | jmlondon/crawl | 047389cd73acd7ea093dc9b1be78c10a32496094 | 2a3cb39c97722d2867ca826f6155924517951015 | refs/heads/master | 2022-11-11T20:38:38.440220 | 2022-10-26T18:32:12 | 2022-10-26T18:32:12 | 61,844,867 | 1 | 0 | null | 2016-06-24T00:13:50 | 2016-06-24T00:13:50 | null | UTF-8 | R | false | true | 9,674 | rd | crwMLE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/crwMLE.R
\name{crwMLE}
\alias{crwMLE}
\alias{crwMLE.default}
\alias{crwMLE.SpatialPoints}
\alias{crwMLE.sf}
\title{Fit Continuous-Time Correlated Random Walk Models to Animal Telemetry Data}
\usage{
crwMLE(data, ...)
\method{crwMLE}{default}... |
bf6178c232134a7e9b7ce106f6bfc920e489b149 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /diffrprojects/inst/testfiles/dist_mat_absolute/libFuzzer_dist_mat_absolute/dist_mat_absolute_valgrind_files/1609961505-test.R | e64439c585195931d33a4efa547c28fe2d827c57 | [] | 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 | 522 | r | 1609961505-test.R | testlist <- list(x = c(255L, -16776961L, -16777216L, 0L, 15204352L, 65535L, 436267008L, 255L, -15060993L, 637527296L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L... |
7d8e27d32988068509596440103f8c862439e3bd | 42e34dd5956efe9c1236a7d283cfa340e50ac3a1 | /R_Time_Series_Data_Analysis/Ch04_Correlation_Analysis_of_Time_Series_Data/07_Trend_test_spearman_ptest.R | 0eff5d3d19e84c083a8b44138bb2b44c8e594ed9 | [] | no_license | Fintecuriosity11/Time_Series_Analysis | 2e8720fd76c2ed8bb3b0e234fd243f4890636fa4 | 7d3c813ec55c61339c4c4acea0f36ac534e056a9 | refs/heads/master | 2022-12-24T20:16:56.180854 | 2020-10-08T06:21:11 | 2020-10-08T06:21:11 | 277,093,693 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,106 | r | 07_Trend_test_spearman_ptest.R | ##########################################################################################################################################
#(주의) -> 순차적으로 코드를 실행하는 것을 권함!
#에러 발생 시 github Time_Series_Analysis/R_Time_Series_Data_Analysis 경로에 issue를 남기면 확인
##############################################################... |
62aa7652e5357bd37eba4da15b815c841c2fd9b5 | abb44776a7aacefd81bb60432ee711c8964d35e9 | /R/ddi_generation_shiny.R | 1654ee6d9a1d872154cb283b92869d2d2baf780c | [
"MIT"
] | permissive | nyuglobalties/diyddi | 0a79dc24f5704e53eb101e2d23673fc8c28b36cb | 3b2124dfad9c1e06a99a11de6cab001029b8a020 | refs/heads/main | 2023-04-10T04:54:26.161496 | 2022-12-06T18:46:53 | 2022-12-06T18:46:53 | 492,913,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,825 | r | ddi_generation_shiny.R | ddi_generation_ui <- function(id) {
ns <- NS(id)
tabPanel("DDI Codebook",
downloadButton(ns("download_DDI"), "Download codebook"),
tags$br(),
tags$br(),
verbatimTextOutput(ns("XML"))
)
}
ddi_generation_server <- function(id, dat, filepth) {
moduleServer(id, function(... |
3d0b8fb7f36da689c2ac0f495871fb84dd26026b | a85e536f8cbe2af99fab307509920955bd0fcf0a | /tests/testthat/test-corTest.R | 5e7d99df22df10c028f232d13993b2da60b7986e | [] | no_license | ProjectMOSAIC/mosaic | 87ea45d46fb50ee1fc7088e42bd35263e3bda45f | a64f2422667bc5f0a65667693fcf86d921ac7696 | refs/heads/master | 2022-12-13T12:19:40.946670 | 2022-12-07T16:52:46 | 2022-12-07T16:52:46 | 3,154,501 | 71 | 27 | null | 2021-02-17T21:52:00 | 2012-01-11T14:58:31 | HTML | UTF-8 | R | false | false | 1,363 | r | test-corTest.R | context("cor.test()")
testthat::test_that("Cor test works", {
require(graphics)
testcase1 <- structure(list(statistic = c(t = -0.860504567943113), parameter = c(df = 41L),
p.value = 0.394515192722409, estimate = c(cor = -0.133190890463189),
null.valu... |
929d864bfc025625986b9a4b6e53e80d6b6b5e0b | a9e051485379fb7e569a7c8458045e9eb56d4cf8 | /awesome/R/DataScienceR/useful_commands.R | d4d0c5e77aa2463ef528f26dbe35e92d9db7b9c3 | [
"Apache-2.0",
"MIT"
] | permissive | liujiamingustc/phd | 7634056500c481d39fa036bf0ed744c1d13b0035 | 4f815a738abad43531d02ac66f5bd0d9a1def52a | refs/heads/master | 2020-05-17T07:02:56.000146 | 2019-04-24T15:04:19 | 2019-04-24T15:04:19 | 183,567,207 | 4 | 0 | null | 2019-04-26T06:04:37 | 2019-04-26T06:04:37 | null | UTF-8 | R | false | false | 1,758 | r | useful_commands.R | #Useful R commands
#taken from https://github.com/FlorianMuellerklein/R
#clear console
clc <- function() cat(rep("\n",50))
clc()
#Read SPSS
read.spss(file, use.value.labels = TRUE, to.data.frame = TRUE)
#Subset based on factor
Newdataframe = subest(maindataframe, maindataframe$factor == whatever)
#Label factors (ca... |
415f50627a8aa3cd04080003880658df85648e8a | 580eb05c82c46724defaa72508b2fcf44340a5de | /man/cv.lasso.compreg.Rd | ae68e168e68ec243cad91f530a97d49ff7d0ea32 | [] | no_license | cran/Compositional | 5bf22542a6242cc9c4ff66d5e081332e65f4fc76 | 608fa713f4c50933b580d1b3097bc81051777f37 | refs/heads/master | 2023-07-06T09:05:20.638372 | 2023-06-29T18:10:02 | 2023-06-29T18:10:02 | 51,369,033 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,582 | rd | cv.lasso.compreg.Rd | \name{Cross-validation for the LASSO log-ratio regression with compositional response}
\alias{cv.lasso.compreg}
\title{
Cross-validation for the LASSO log-ratio regression with compositional response
}
\description{
Cross-validation for the LASSO log-ratio regression with compositional response.
}
\usage{
... |
4d967928d38641b5d0ddf19b96760386665ce486 | efb67b529095add05d77312f981305690655b45a | /ggplot2/Scales/expansion/example2.R | 92caf10c15f1f8036abbd00e660d88184a89b574 | [] | no_license | plotly/ssim_baselines | 6d705b8346604004ae16efdf94e425a2989b2401 | 9d7bec64fc286fb69c76d8be5dc0899f6070773b | refs/heads/main | 2023-08-14T23:31:06.802931 | 2021-09-17T07:19:01 | 2021-09-17T07:19:01 | 396,965,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 133 | r | example2.R | p <-
ggplot(subset(diamonds, carat > 2), aes(cut, clarity)) +
geom_jitter() +
scale_x_discrete(expand = expansion(add = 2))
|
304d48b463da8eeff172de7a4ae9d2be170297eb | 39c61416e546d10d30ad024856380f220c7f4794 | /man/sim_mte.Rd | 74d5a2ba64b4a9aa84d3314702c3ec56c61b7925 | [] | no_license | theogab/bite | 7eaf90720551e4766231e86e085fd5efe9c56ad4 | eb5f5c2e426997f2aa20a91c73074198b7d8ee7e | refs/heads/master | 2023-08-05T17:33:32.524641 | 2023-07-28T15:26:31 | 2023-07-28T15:26:31 | 149,416,803 | 3 | 1 | null | 2022-04-26T12:43:29 | 2018-09-19T08:21:00 | R | UTF-8 | R | false | true | 2,379 | rd | sim_mte.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sim_mte.R
\encoding{UTF-8}
\name{sim_mte}
\alias{sim_mte}
\title{Simulate MTE process}
\usage{
sim_mte(phy, map = NULL, model = "OU", pars = c(root = 2, theta = 1,
sigma_sq = 0.1, alpha = 1), sampling = c(1, 7), bounds = c(-Inf,
Inf))
}
\... |
13d8837e1a9e27ced29b4a69c8c7c908ad5c9f10 | 425599e93049043bcbd9bdd3b87d68513e314236 | /01 SQL Crosstabs/9 LR.R | 4223ba099cb78948df6c2702a6c83dbf951cc8df | [] | no_license | godot107/DV_TableauProject2 | c33bad9c92f214c8aef6999dd4255f046234957f | fda4e6d6ff1fda9e4a41d5d62566ff3ccd6a24b7 | refs/heads/master | 2016-09-06T02:24:47.135304 | 2015-04-14T21:29:20 | 2015-04-14T21:29:20 | 33,649,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 801 | r | 9 LR.R | baby <- data.frame(eval(parse(text=substring(getURL(URLencode('http://129.152.144.84:5001/rest/native/?query="select * from BABY"'), httpheader=c(DB='jdbc:oracle:thin:@129.152.144.84:1521:ORCL', USER='C##cs329e_lar2478', PASS='orcl_lar2478', MODE='native_mode', MODEL='model', returnFor = 'R', returnDimensions = 'False'... |
ce7934eb3f76220e2efb6a4fdadd8e0b93cca073 | f831092f94dfe1e14c95ee92b844ebda17f4b034 | /package/man/splitLib.Rd | 173032076b6ad9919277045d6db54d17c8a3c4a2 | [] | no_license | znoor/iSwathX | 9c0e35c452899a958302900527b8e1bb349efeb9 | aef0afa6ebb86ce6083173abffd08bb8637583a8 | refs/heads/master | 2021-07-09T04:22:50.812797 | 2020-06-14T12:11:13 | 2020-06-14T12:11:13 | 128,870,640 | 3 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,221 | rd | splitLib.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splitLib.R
\name{splitLib}
\alias{splitLib}
\title{Split spectra libraries into common and new spectra}
\usage{
splitLib(datBaseLib, datExtLib, alignSpecies = NA, nomod = TRUE)
}
\arguments{
\item{datBaseLib}{a data frame for base library}
\... |
17b370593a62e11e4f0ce2e9b967562cfebbb4b3 | 5f591428924619dc53f9959fcb3e648c7d0f4758 | /R/ppls.splines.cv.R | 54c0fa83b18dd4db4d9b12424267710c55c3d263 | [] | no_license | cran/ppls | 86d2c5d142d483b0e6b29306bcd8aa271d0de83f | bebd1679d288a93edb14e24e869efee385db3dbe | refs/heads/master | 2021-05-15T02:19:09.482608 | 2018-07-20T13:38:39 | 2018-07-20T13:38:39 | 17,698,694 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,653 | r | ppls.splines.cv.R | `ppls.splines.cv` <-
function(X,y,lambda=1,ncomp=NULL,degree=3,order=2,nknot=NULL,k=5,kernel=FALSE,scale=FALSE,reduce.knots=FALSE,select=FALSE){
n<-nrow(X)
p<-ncol(X)
if (is.null(ncomp)) ncomp=min(n-1,p)
lambda=as.vector(lambda)
all.folds <- split(sample(1:n), rep(1:k,length=n))
# ... |
fa15740d7ebf24d0dc96ed18a33c2682639ef416 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BDgraph/examples/plot.bdgraph.Rd.R | 5a29399a98c0c82f7d146288ebf34804bae03afc | [] | 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 | 546 | r | plot.bdgraph.Rd.R | library(BDgraph)
### Name: plot.bdgraph
### Title: Plot function for 'S3' class '"bdgraph"'
### Aliases: plot.bdgraph
### ** Examples
## Not run:
##D # Generating multivariate normal data from a 'random' graph
##D data.sim <- bdgraph.sim( n = 50, p = 6, size = 7, vis = TRUE )
##D
##D bdgraph.obj <- bdgraph( da... |
f88f353851f4051041173682bf08091fb84f4090 | 3124609cb9e1a76260a39fc96f56587058791ebe | /SimPopModelsPaper.R | 31eb9864c7548b2e9508f5611b0807db5aa8f95e | [
"BSD-3-Clause"
] | permissive | NorwegianVeterinaryInstitute/Hunting_wildlife_for_disease_detection | 2c7e6710c0181d9f66b62c8390b54250ce560d88 | 3fdd0dfa557731f30133171533a33a2c276fd3dc | refs/heads/master | 2022-11-24T21:54:11.145360 | 2020-06-26T10:15:56 | 2020-06-26T10:15:56 | 271,781,557 | 0 | 1 | BSD-3-Clause | 2020-06-26T10:15:57 | 2020-06-12T11:26:10 | null | UTF-8 | R | false | false | 17,141 | r | SimPopModelsPaper.R |
#Function for obtaining alpha and beta ofa Beta-distribution from given mean (mu) and variance (var)
estBetaParams <- function(mu, var) {
alpha <- ((1 - mu) / var - 1 / mu) * mu ^ 2
beta <- alpha * (1 / mu - 1)
return(params = list(alpha = alpha, beta = beta))
}
#Harvest strategy 1 ‘ordinary’ (with threshold ... |
0201ae0692f9c3e4c82e5dfecccd60109258efee | a72a6d84757be8d52b6aa688d9105bdb94d2a709 | /scripts/get-data/ipedsIdentifiers.R | c4bbaa88d475bed51383077c78e2d8c4143bda3e | [] | 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 | 18,865 | r | ipedsIdentifiers.R | # Create IPEDS institutions identifiers dataset
# Get IPEDS data using scraper https://github.com/UrbanInstitute/ipeds-scraper
library("dplyr")
library("tidyr")
# Functions to return ipeds data
source("scripts/ipedsFunctions.R")
########################################################################################... |
0a75704c3fe1135d6f507656ddc1cca00c05eb2e | 497153f9a15f53b5b2b4ce0d375ea7f9848d75bb | /munge/04-Interaction_Data.R | 1da5f653a181fd0fdca70694d6e7a583f47e62b1 | [] | no_license | joshbiology/pan-meyers-et-al | b43b4299e56ff979fe4bce751574e7bbca8244d8 | 2d72ea626e2c8f4422cc5413bbd835f462a20a62 | refs/heads/master | 2022-01-07T00:16:14.916776 | 2018-05-18T19:26:57 | 2018-05-18T19:26:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,201 | r | 04-Interaction_Data.R |
cache("huttlin2017_bioplex_ppi", {
read_tsv("./data/raw/nature22366-s2.tsv",
col_types = "----cc--n") %>%
set_colnames(c("Gene.x", "Gene.y", "Confidence")) %>%
alphabetize_genes(Gene.x, Gene.y) %>%
distinct(Gene.x, Gene.y) %>%
filter(Gene.x != Gene.y)
})
cache("thul201... |
aaf27c70d842c3e435dfde210ef6ce5f6671faca | 80a3908146756e6386bd14b8a7d9df54dc759e15 | /plot4.R | 789f0d1fcbc9f7ca1448b9d0663e9e4641e38dec | [] | no_license | matt21511/ExData_Plotting1 | 42fbe50aa1febb3c13546ad02c6b4da44bb18233 | 2f6d3126de3c2510937a988c40afa4e9d4d769ee | refs/heads/master | 2021-01-16T21:31:04.098764 | 2015-02-08T04:03:10 | 2015-02-08T04:03:10 | 30,469,794 | 0 | 0 | null | 2015-02-07T20:51:40 | 2015-02-07T20:51:40 | null | UTF-8 | R | false | false | 999 | r | plot4.R | #Import Data
mytable <- read.table("household_power_consumption.txt",header=TRUE,sep=";",na.strings="?",colClasses=c(rep("character",2),rep("numeric",7)))
ftable <- mytable[grepl("^[12]/2/2007",mytable$Date),]
#Create plot
png(filename="plot4.png")
ftable$FullTime <- paste(ftable$Date,ftable$Time)
ftable$FullTime <-... |
e3353530cf0e7ea03ce73d2191f692c78b72c82d | 4cec958a92d800c1391b8b50a43041c6d91806a5 | /man/stm_wrapper.Rd | ba36eb7b54c4d17cecd9de30e921dc95c0da7031 | [] | no_license | lrq3000/themetagenomics | 84f91c3eda5478cd732af926106daa0b9f5b421a | 99b73ffd5430f8e080635e28bebbe57a8aae6a28 | refs/heads/master | 2020-11-30T08:37:01.009289 | 2017-06-06T17:06:26 | 2017-06-06T17:06:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 494 | rd | stm_wrapper.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/find_topics.R
\name{stm_wrapper}
\alias{stm_wrapper}
\title{Wrapper for stm}
\usage{
stm_wrapper(K, docs, vocab, formula = NULL, metadata = NULL,
sigma_prior = 0, model = NULL, iters = 500, tol = 1e-05,
batches = 1, seed = sample.int(.Mac... |
661ed8bb3d04236154e18b4bc988f7dfa755b6c7 | 5aab0c7c5a35775f6278c1e307886df103c74e91 | /man/get_edges_from_structure.Rd | d88b95bf36046d9d6f64d5b1e10c250667e857ef | [] | no_license | ims-fhs/badhacker | 070bdf5c8d7e8fc50d2c05812a85683abeb411aa | 54cc42204aadcb239e6b39e265a9cc2a48ab722d | refs/heads/master | 2022-03-13T14:12:53.800997 | 2022-03-03T08:30:00 | 2022-03-03T08:30:00 | 117,236,946 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 416 | rd | get_edges_from_structure.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visNetwork.R
\name{get_edges_from_structure}
\alias{get_edges_from_structure}
\title{Caluclate edges}
\usage{
get_edges_from_structure(my_structure)
}
\arguments{
\item{my_structure}{A list, the functional structure calculated in
create_list_... |
0817d1cd38c4ae4b56b655c0902334ef4188d9e8 | 6ca0f032a12bdf84dea9acb3df348d695c314788 | /R/useful_functions/make_dictionary.R | 8e88d6aafc74521a6be408821f1a399787fb3782 | [] | no_license | schliebs/ZU_teaching_applied_statistics | d51134a0f0db9e29014e11a7619e1af32c9a3a96 | ae9be8f79e5424ef35f237548c2d5c78e725fdf5 | refs/heads/master | 2021-08-23T06:24:38.965760 | 2017-12-03T21:57:01 | 2017-12-03T21:57:01 | 112,834,667 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,160 | r | make_dictionary.R | #' Title
#'
#' @param dataset SPSS dataframe in tbl_df format imported with haven.
#' @param format specify whether you want a wide (each variable one row) or wide format (each value one row).
#'
#' @return a data.fram with meta information which can by querried with R-Studio functionalities.
#' @export
#'
#' @examples... |
ed8183c19f815bc8dfb1737ed43a95610c15fbd7 | e3453f8c610ceb4b5022be45b1dc145d690c1358 | /man/mostFrequent.Rd | 9e47520356679563ad3e1314abee7b08a8a325f9 | [] | no_license | kongra/koR | 2592b69b7525099d2ceeef2686fb4e0f0005f933 | 48f06fd6832ac4ccaa7c66438f9a5668072e50a4 | refs/heads/master | 2018-10-08T03:05:41.749217 | 2018-08-30T08:18:29 | 2018-08-30T08:18:29 | 38,744,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 358 | rd | mostFrequent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core.R
\name{mostFrequent}
\alias{mostFrequent}
\title{Returns a vector xs sorted by the (decreasing) frequency of appearance of
its elements.}
\usage{
mostFrequent(xs, ...)
}
\description{
Returns a vector xs sorted by the (decreasing) frequ... |
b8291569217264ea7f87033da89bb1cce51a05b6 | 868f618f2593e4ed2df51dce8b1d78e1b16948f6 | /Modelling/Model Building.R | b15b11aa0ae17f32728387dfac4b7164cdf3d579 | [] | no_license | HaripriyaTV/Sales-cure-all...-or-will-they- | b980f033cfb6ae6f73711910ca60e561013609a1 | 9618234b0cc586f5198b7dcfc39b0c54e6e0b0af | refs/heads/master | 2020-03-19T06:44:39.522158 | 2018-06-05T18:42:53 | 2018-06-05T18:42:53 | 136,050,965 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,727 | r | Model Building.R | #model building
#splitting train data into train and validation set
train_data_split <- sample(2, nrow(BM_train), replace =TRUE, prob = c(0.75, 0.25))
new_BM_train <- BM_train[train_data_split == 1,]
BM_valid <- BM_train[train_data_split == 2,]
#building linear model
lin_reg <- lm(Item_Outlet_Sales ~ ., data ... |
827868564f427df7b098cc3dacc5a03ebca728a7 | be0b318fe7a20f45c9b9d6b52e8b353fa34dc7a8 | /Graphing Scripts.R | fa84eecf7ccf8cd0ea8f1dbb2165e64f21e03128 | [
"MIT"
] | permissive | alistairwalsh/3hr_Rcruise | 24632b3b845aae1d76f34de1a04c227732ec4c02 | 82a592326f9330a167d786692e5d65f86565feba | refs/heads/master | 2021-01-10T14:26:52.009036 | 2015-11-11T06:05:07 | 2015-11-11T06:05:07 | 45,884,511 | 0 | 1 | null | 2015-11-16T01:33:02 | 2015-11-10T03:19:16 | R | UTF-8 | R | false | false | 6,369 | r | Graphing Scripts.R |
# www.cyclismo.org tutorial -----------------------------------------------
# http://www.cyclismo.org/tutorial/R/intermediatePlotting.html#print-to-a-file
x <- rnorm(10,sd=5,mean=20)
y <- 2.5*x - 1.0 + rnorm(10,sd=9,mean=0)
cor(x,y)
[1] 0.7400576
plot(x,y,xlab="Independent",ylab="Dependent",main="Random Stuff")
x1 <... |
d066f7a1ae11a889b57b32cc6056f5686d56ad17 | f4e497ca42f695675e9459d970b97ae931f93318 | /a_rules_mining.R | ad409c047d7339c5d956e92a499874810f9a60ad | [] | no_license | vikaasa/yelp-challenge-identifying-trends | 46291a32242d4a80ecefb0d6efcaa9789f8b466e | 1cded345a26e5c34b9f10165eac04de1aa1c026c | refs/heads/master | 2016-09-14T05:28:52.508128 | 2016-05-09T14:10:33 | 2016-05-09T14:10:33 | 57,690,133 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 739 | r | a_rules_mining.R | library(arules)
setwd("C:/Users/Vikaasa/IdeaProjects/Spark-Workshop")
input_trans = read.transactions("top_rated_businesses_clustered.csv", format = "basket", sep = ",", rm.duplicates=TRUE, cols = 1)
str(input_trans)
rules=apriori(input_trans, parameter = list(supp=0.015, conf=0.75))
inspect(rules)
rules <- sort(rule... |
eb47c951d9cf6551b4435a4da33f0190a1e379d8 | 20b1b50f86dd29003c560c2e375086946e23f19a | /clinal_seasonal/sign_test_universal_threshold_dropmissing_bottomquantiles.R | 4c60b7a1dde3d4763d3324528f58de57d52a7c90 | [] | no_license | ericksonp/diapause-scripts-clean | cfc3ed0433114ee756019105b364f40e03b2419d | c93a052e9d63b9f7c60f7c18c1ad004385b59351 | refs/heads/master | 2021-07-09T07:16:03.326322 | 2020-07-31T17:00:37 | 2020-07-31T17:00:37 | 170,798,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,148 | r | sign_test_universal_threshold_dropmissing_bottomquantiles.R | library(data.table)
library(ggplot2)
library(cowplot)
theme_set(theme_cowplot())
library(foreach)
library(doMC)
registerDoMC(16)
library(viridis)
library(ggbeeswarm)
library(Rmisc)
print("bergland 2014")
load("/scratch/pae3g/oldscratch_recovered/evolution/6d_data.Rdata")
b<-as.data.table(p)
b[,maf:=pmin(f.hat, 1-f.ha... |
f54d660daf34238ab657cf5b43a5d673b6ee7e87 | 5a00f6a5ae90db27d77862c1caf9ac8c2ab261b7 | /data.R | 746e4603e84353531c16ac0b7b1d1970be559e05 | [] | no_license | fxchalet/Diabetes-Analysis | 0af61f6cbdd49b825c9b09679c02e03ad4320237 | 48a293a2b77ef8726708afb665efd1d1e967c1df | refs/heads/master | 2021-02-23T23:31:31.117903 | 2020-03-06T12:30:59 | 2020-03-06T12:30:59 | 245,413,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,099 | r | data.R | ####--SERVER DATA--------------------------------------------------------------------------------------------
#
# DATA
#
#### Datasets ####
###Function to filter data with the inputs widgets
my_data_filtered<-reactive({
my_data<-read_my_data()
#We temp variables for input values
sample... |
3e10214a1f22da443a1b9617df6b396bf3bbca0c | 0e37285e7a020b09509151a2be35c0a65ca30840 | /interakcija.R | e9d6b91d731201a0b2247b37c560ae911bd75e65 | [] | no_license | Biometrika/Data | 4203a9c583f73446076bb12348e2d0c87d5dd6e9 | b5fad24ea18afa4a8c6e45c2ef1b6a84681d19d2 | refs/heads/master | 2022-03-17T06:57:57.370637 | 2022-02-16T14:31:00 | 2022-02-16T14:31:00 | 155,161,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,543 | r | interakcija.R | # Izvor podataka: Allard and Bradshaw (1964)
library(ggplot2)
tip <- c("Tip 1","Tip 1","Tip 1","Tip 1","Tip 2","Tip 2","Tip 2","Tip 2",
"Tip 3","Tip 3","Tip 3","Tip 3","Tip 4","Tip 4","Tip 4","Tip 4",
"Tip 5","Tip 5","Tip 5","Tip 5","Tip 6","Tip 6","Tip 6","Tip 6")
lok <- c("Y","Y","X","X","Y... |
45326900df7a3cf23efcbe26ce76d59a4c842030 | 556166f8262cb8341af908281191a877f8c406a1 | /Rscript/days.R | d6cb1d4ccb06106e69a903cf4b8bf0bf936073f1 | [] | no_license | rsharp-lang/COVID-19 | 36eb3a8a9980f5f123b247a953c0fe8a4e5de0eb | 2a1639551bb37413c1206599e0d86750b35ac40b | refs/heads/master | 2023-04-16T14:32:22.862176 | 2021-06-16T09:58:56 | 2021-06-16T09:58:56 | 241,013,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 805 | r | days.R | imports "GIS_render.R";
print(dates.all);
# 自定义数据可视化: 治愈人数 / 确诊人数
let custom = function(day) {
lapply(raw[[day]], function(region) {
if (region$cured == 0.0) {
0;
} else {
region$cured / region$confirmed
}
});
};
for(day in dates.all) {
day
:> COVID_19.... |
eeb094971e9b90b515ed5b51dfbb10dbc88ac5cd | 91c35aca2930e60581b57b694e85b7040246b96f | /public/mosquito/rainAndTemp/d_modelRefinement.R | d73c81b9297ed3f189208da64e041b44f19d2d7c | [] | no_license | waughsh/fdoh | b5abe8d2a30d4a6d60427f055cae5f3c71ece1a4 | 30ecab89f5916ba8baa962aafb71cf819cbb61a4 | refs/heads/master | 2020-04-05T14:58:12.156605 | 2015-09-09T03:32:54 | 2015-09-09T03:32:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,140 | r | d_modelRefinement.R | library(pingr)
#########################################
# READ IN DATA FOR TEMP AND RAINFALL FOR LAST 6 YEARS
#########################################
ts <- read.csv("E:/workingdirectory/mosquito/rainAndTemp/b_rainAndTemp.csv")
#########################################
#LOAD THE MODEL VARIATIONS WITH THEIR R-SQUARED... |
fdb3722fc7f66fda5011d92e551f5f2b42e142ff | 570abc2b93f05cbce92d95f6b9bffbe48708bb6c | /simulacao/script_p_cluster.R | 432f55b8167eb143fc4a12ff715e9c7df526eff9 | [] | no_license | Danhisco/artigo_mestrado | ed871edab0e89e28a5569668a670ea43d3f548e3 | 1ff761608ea7312c533ef216b51fd67fb8268b00 | refs/heads/master | 2023-02-03T00:15:42.720220 | 2023-01-30T02:13:25 | 2023-01-30T02:13:25 | 121,779,367 | 0 | 1 | null | 2018-11-01T11:05:29 | 2018-02-16T17:28:00 | HTML | UTF-8 | R | false | false | 9,626 | r | script_p_cluster.R | ## Rodar as Simulações ##
### configuracao
library(doMC)
library(GUILDS)
library(lme4)
library(merTools)
library(magrittr)
library(tidyverse)
library(plyr)
setwd("/home/danilo/Documentos/Doutorado/artigo_mestrado/simulacao/")
#funcao coalescente
source("dinamica_coalescente_beta.R")
# dados
df_referencia <- read.csv(f... |
6df307eb28e79fa7e7ba64d8b85353d3bac8b7a5 | 4c1f46b66916e0b151b4f5e4de8882f6c8f744fc | /man/MTCSzero.Rd | 412374e4c95094b8fe2a742720a41c490db59aaa | [] | no_license | Atan1988/rothello | 37911c3e236a06b1718271639f7fbe0fd08c973d | 79d08b9d1a96547ea1670a4e52535d91d284c08f | refs/heads/master | 2020-04-18T16:32:23.483414 | 2019-04-08T00:26:18 | 2019-04-08T00:26:18 | 167,636,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 296 | rd | MTCSzero.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MTCS_zero.R
\docType{data}
\name{MTCSzero}
\alias{MTCSzero}
\title{MTCSzero class}
\format{An object of class \code{R6ClassGenerator} of length 24.}
\usage{
MTCSzero
}
\description{
MTCSzero class
}
\keyword{datasets}
|
5dd909ca383891f3895210f5a7120284c485847c | 2ddff9eb4db54e20c83d3c4fc5332b6341409c6a | /Shiny/compound_fuzzy_proposition_module.R | 1013ac05285f9e17790f28df783a0bedacc7ff88 | [] | no_license | RitoJosephDominado/FuzzyInferenceSystem | e7761106fcb4fcfa456f1816fde9046b54549efb | 8856dadd74ce3f431c8b5790de3889e5c73542d8 | refs/heads/master | 2020-09-01T06:12:23.610174 | 2019-12-01T16:41:54 | 2019-12-01T16:41:54 | 218,896,988 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,999 | r | compound_fuzzy_proposition_module.R |
compound_fuzzy_proposition_ui <- function(ui_name, main, parent, index){
ns <- NS(ui_name)
fuzzy_proposition_type <- if(parent[[index]]$type == 'union_fuzzy_proposition'){
'Union'
}else if(parent[[index]]$type == 'intersection_fuzzy_proposition'){
'Intersection'
}
box(
width = 12, title = fuzz... |
07da0ce28ff55623358735dfd88adaa718f2bf75 | 146b3f63e30de7b6cccd35b27d9a830a7d3ca364 | /R/shinyHelper.R | 7068ae2242e89983c3bdef3b88812541fe280377 | [] | no_license | codeForReviewer/kMajorityRule | cc749239f3de6c883cb17847a88eba8a8794e23f | 307b53aa961a6f981c1d7776fb1ac3729ea29c03 | refs/heads/master | 2021-01-21T12:50:11.424292 | 2016-04-15T20:46:30 | 2016-04-15T20:46:30 | 30,224,968 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 194 | r | shinyHelper.R | #' kMajorityGUI
#'
#' Runs the kMajority GUI built with Shiny Server.
#'
#'
kMajorityGUI <- function(){shiny::runApp(system.file('kMajorityGUI', package='kMajorityRule'),launch.browser = TRUE)} |
bc9acde59b82def9bb412baa1509ceb0892194f8 | 817947076f61744c2adce055f2383a223e232550 | /R/morning_lab.R | e2c4c7de522025524f0063db0ab03072953cc3c8 | [] | no_license | NicolasDurrande/ENBIS-2016-workshop | f35efed755ae7f361bfebba70c81e892c4875f5e | edae4ee4082c834449d58870ba6db4acd3971b74 | refs/heads/master | 2020-09-20T05:44:13.524589 | 2016-09-11T12:27:50 | 2016-09-11T12:27:50 | 67,894,657 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 843 | r | morning_lab.R | # Lab session: file to be completed
#########################################
# Part 1 : catapult numerical simulator
#########################################
library(shiny)
runGitHub("shinyApps",username="NicolasDurrande",subdir="catapult")
#########################################
# Part 2: Design of experiments... |
82c52da0f4e08b4bae6202a063b02e5ae917df96 | 192055ad46fd97c0eff06c6eb44ef88695f3571e | /npl_sing.R | 14f7d9c04adf613031b02a55bc60cb63f30c0527 | [] | no_license | josiex/Single-Agent-Dynamic-Choice | 923575931d1aaf4c9d97209bdb36d2cac16dd2ff | 4e926b8108e8ab889189d244ddfcfb0db488667d | refs/heads/master | 2022-04-14T00:30:39.222589 | 2020-03-18T16:11:31 | 2020-03-18T16:11:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,350 | r | npl_sing.R | library(pracma)
npl_sing=function(inda,indx,zmat,pini,bdisc,fmat,names){
"
Maximum Likelihood Estimates of structural parameters
of a discrete choice single-agent dynamic programming
model using the NPL algorithm in Aguirregabiria and Mira (Econometrica, 2002)
Original code in GAUSS by Vict... |
e5dfb5e79aac7123bbdbbf8887f965580fa57fe4 | 4058e1f1b7e807caf65376b08ea7e30a39b9fe51 | /man/aggregate.stars.Rd | c2157b8bbcb95207b2754e20a5bbf0d52f9df4dc | [
"Apache-2.0"
] | permissive | przell/stars | 80334d7ef64312966159cdc2f39fc90fb882e2a5 | 59ac11d893601a34ce0e0d8d919bac1ed4643c57 | refs/heads/master | 2020-09-16T23:22:48.754915 | 2019-11-25T17:05:51 | 2019-11-25T17:05:51 | 223,918,620 | 0 | 0 | Apache-2.0 | 2019-11-25T17:05:53 | 2019-11-25T10:11:25 | null | UTF-8 | R | false | true | 1,542 | rd | aggregate.stars.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aggregate.R
\name{aggregate.stars}
\alias{aggregate.stars}
\title{spatially or temporally aggregate stars object}
\usage{
\method{aggregate}{stars}(x, by, FUN, ..., drop = FALSE,
join = st_intersects, as_points = any(st_dimension(by) == 2, ... |
3a708c9da882d584b674d4b2a773bbf3adc22d61 | 31b51aeb96000318df21351b2ef6cb55f7c269c2 | /HiNT/externalScripts/getBreakPoints2steps.R | c231ee12d9455a262e462f3c783b7092277d81ca | [
"Artistic-1.0-Perl",
"MIT"
] | permissive | suwangbio/HiNT | a26062f6c39929803a4aded5465743768a81b8c5 | 99f0aa91d10c5fccabcbd56035f6e3125650a720 | refs/heads/master | 2022-04-08T23:13:25.344196 | 2020-02-17T22:22:13 | 2020-02-17T22:22:13 | 240,967,519 | 0 | 0 | NOASSERTION | 2020-02-16T21:19:00 | 2020-02-16T21:18:59 | null | UTF-8 | R | false | false | 6,068 | r | getBreakPoints2steps.R | Args <- commandArgs()
#print(Args)
divisionMatrixDir = Args[6]
matrix = Args[7]
outputfile = Args[8]
#start_time <- Sys.time()
library('strucchange')
#library(pastecs)
library(foreach)
library(doParallel)
quantileFunc <- function(x,q) {
x <- sort(x)
n <- length(x)
ln = floor(n*q)
res = x[ln]
return(res)
}... |
760d023366af04d116df9a84f366ea9b918bc687 | c25d1a12f0cb1a1702a627644157c6509f854659 | /sorteio_sample.R | cf4c4ace1867df9ef2a7acac5e7c23b16058be42 | [] | no_license | francojra/sorteio_function_sample | 3e6f55560423b295ab824eb17984576a40f08f3c | 108baca6042803210e69a4b3f404739e482234e8 | refs/heads/main | 2023-08-25T20:43:18.500609 | 2021-10-18T03:11:15 | 2021-10-18T03:11:15 | 418,323,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 751 | r | sorteio_sample.R |
# Sorteios usando função sample ------------------------------------------------------------------------------------------------------------
# Definir conjunto de dados a serem sorteados:
# Números
x <- c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
# Strings
y <- c("João", "Maria", "Alice", "Eduardo", "Gabriel", "Elise... |
923e71ecb5442b35f016e41e4d34eb4d219b3252 | eaed73b0d58a73c9db291bc758ad24c530a52a66 | /Scripts/Processing/Seed-Carryover-Clean.R | 13d032152a20b3e4f130042923e39a5f2f85d132 | [] | no_license | marinalaforgia/McL_Climate-Competition | dc3a9d62cb55f278dab2f37dbebbccace9afb4d6 | 89772f72738828527e7752b1c1c8f766816227b4 | refs/heads/master | 2020-04-21T18:45:37.341188 | 2020-02-06T22:20:24 | 2020-02-06T22:20:24 | 169,782,612 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,900 | r | Seed-Carryover-Clean.R | # Script for Seed Carryover Data Analysis
rm(list=ls())
#### Load Libraries ####
library(plyr)
library(lme4)
library(Rmisc)
library(ggplot2)
library(pscl)
### Read in Data ####
sb16 <- read.csv("Data/Seed bag/Seed_bags_2016.csv")
sb17 <- read.csv("Data/Seed bag/Seed_bags_2017.csv")
treat <- read.csv("Data/Setup/Mari... |
1fabb072f96db8bc176bfd886d8d9cb3deda44a4 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /eseis/R/signal_motion.R | 645286df9f9b67c75f120cad4a3caa27951cf7ef | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,910 | r | signal_motion.R | #' Calculate particle motion parameters
#'
#' The function calculates from a data set of three seismic
#' components of the same signal the following particle motion
#' paramters using a moving window approach: horizontal-vertical
#' eigenvalue ratio, azimuth and inclination.
#'
#' The function code is loosely bas... |
d4fca4070ad516773af77b7bbaeb0c4882ef107d | 1f5b0fe2b9ba34c0c04b072d794f644c767cd085 | /man/ridge_reg.Rd | a4c3bed95afe3fb763ab8e81577b3a76da60f7a0 | [] | no_license | tianqizhao1203/bis557 | 2e9b2ffca3615dbca214a49213657fb94228f040 | 13d436406e9f3e719b7b851446c75527c8de3a70 | refs/heads/master | 2020-03-28T01:44:01.555023 | 2018-12-19T13:24:14 | 2018-12-19T13:24:14 | 147,527,066 | 0 | 0 | null | 2018-09-05T14:01:29 | 2018-09-05T14:01:28 | null | UTF-8 | R | false | false | 850 | rd | ridge_reg.Rd | \name{ridge_reg}
\alias{ridge_reg}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Ridge Regression via SVD
}
\description{
Use SVD to estimate the coefficients in ridge regression.
}
\usage{
ridge_reg(formula, lambda, data)
}
\arguments{
\item{formula}{Formula for ridge regression.}
\item{l... |
d4fedc0e76063d03ce19d09a84782086321e4a30 | 1cf1f5e094abdca9cf4222aeeaf393154d5b091d | /chap2/RINT217.R | 1247274240969c0e83ac55d55d68fd737e4efe50 | [] | no_license | Daigo1009/r_introduction | a0c14d5ccc1395118ca2cc1fe6141a743f3eabce | e9983214ce3b61a8197ac003f1ee62fd1b9c0943 | refs/heads/master | 2022-04-19T16:32:38.699232 | 2013-10-08T13:52:12 | 2013-10-08T13:52:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 124 | r | RINT217.R | x = runif(16,0,1)
x
y = sort(x)
y
z = sort(x,decreasing = TRUE)
z
# 順位を6番目まで抜き出す
yy = y[y<=y[6]]
yy
|
1d6a7a9a797bcb8afbdd99f4c5edd5fc0c67a4b5 | 2c3fdff1e610c107fc3eea8137b58928725dcec9 | /R/tables-supplement.R | 91992692d6c8f612499aeebdd0ea304559164be8 | [] | no_license | aloy/sociology_chapter | e460d3d60c9d2c161f35c65c50a6d49a20ec4546 | 86f590aa23c8d4ed25fa093a368e82e8be4bff27 | refs/heads/master | 2020-04-12T01:29:49.005056 | 2016-12-06T22:56:23 | 2016-12-06T22:56:23 | 9,603,647 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,409 | r | tables-supplement.R | require(plyr)
require(magrittr)
require(vinference)
require(reshape2)
require(xtable)
set.seed(20161001)
turk <- read.csv("../data/study.csv")
turk <- turk %>% dplyr::mutate(
correct = response==data_location
)
lps <- ddply(turk, .(lineup), summarise,
correct=sum(correct*weight),
num=sum(... |
d19669e202390f4ddb5ccb5b281443f611a05987 | 4673e7ccf7fe53ff8dacb56453580cdb11075319 | /scripts/Resumenmunicipios.R | 73c306edabad41083811fde689a573132c8c2efd | [] | no_license | dogomoreno/Covid19-Sonora-Municipios | 2beb16fed697160b5785c961a6d88d6c6417a7d9 | 440eee0435dba671936194d8927e3dc4db95d690 | refs/heads/master | 2023-08-14T22:10:20.303409 | 2021-10-04T06:14:27 | 2021-10-04T06:14:27 | 274,054,270 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,366 | r | Resumenmunicipios.R | rm(list=ls())
# Paquetes
library(tidyverse)
library(extrafont)
library(scales)
library(showtext)
library(units)
library(zoo)
library(lubridate)
library("Cairo")
library(directlabels)
library(ggtext)
library(patchwork)
# Función para ejes en números enteros
int_breaks_rounded <- function(x, ... |
fcad8500f1ebc4a5d1a25ff9d5e0540868beb1a9 | d5e64b2499f6a4ae18dff2c15894caf91bd41fc7 | /man/meteo_noaa_hourly.Rd | a77a2e53f43438f8845478b41791906b73e1cf47 | [
"MIT"
] | permissive | bczernecki/climate | cbe81b80335d3126ad943726c8d3185805900462 | 9c168a6a58854c374cd4c7b13b23cba28adeb7e2 | refs/heads/master | 2023-04-14T03:02:26.083700 | 2023-04-01T13:48:48 | 2023-04-01T13:48:48 | 197,452,909 | 66 | 23 | NOASSERTION | 2023-04-01T13:48:50 | 2019-07-17T19:49:40 | R | UTF-8 | R | false | true | 1,221 | rd | meteo_noaa_hourly.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/meteo_noaa_hourly.R
\name{meteo_noaa_hourly}
\alias{meteo_noaa_hourly}
\title{Hourly NOAA Integrated Surface Hourly (ISH) meteorological data}
\usage{
meteo_noaa_hourly(
station = NULL,
year = 2019,
fm12 = TRUE,
allow_failure = TRUE
)... |
786ebf337cb8f5df97d49718d435fd047a68d17e | ffe87a0a6134783c85aeb5b97332b201d50aca9d | /MINI_2015/filmy/Faza 1/Pytlak_Rdzanowski_Sommer/projekt.filmy/R/uprosc_tytul.R | db8aae1e7dc2a479a59e8f81a99ba64f4fc8d546 | [] | no_license | smudap/RandBigData | d34f6f5867c492a375e55f04486a783d105da82d | 4e5818c153144e7cc935a1a1368426467c3030a5 | refs/heads/master | 2020-12-24T15:51:11.870259 | 2015-06-16T08:50:34 | 2015-06-16T08:50:34 | 32,064,294 | 0 | 0 | null | 2015-03-12T07:53:56 | 2015-03-12T07:53:56 | null | UTF-8 | R | false | false | 980 | r | uprosc_tytul.R | #' Upraszcza tytuly filmow
#'
#' Funkcja \code{uprosc_tytul()} zwraca wektor tytulow pozbawiony spacji, myslnikow, przecinkow, itd., wszystkie litery sa zamienione na male, a znaki z UTF-8 na znaki z alfabetu lacinskiego.
#'
#' @param wektor_tytulow wektor napisow
#' @return wektor napisow
uprosc_tytul <- function(wek... |
650e3583b7c9b871e231219d8c3435e988cbfac0 | 7a7375245bc738fae50df9e8a950ee28e0e6ec00 | /man/SA3__Year_SameAddress5YearsAgo_Sex.Rd | 4341858a3c47f653d4ebaabb3ee633f2e9d632ac | [] | no_license | HughParsonage/Census2016.DataPack.TimeSeries | 63e6d35c15c20b881d5b337da2f756a86a0153b5 | 171d9911e405b914987a1ebe4ed5bd5e5422481f | refs/heads/master | 2021-09-02T11:42:27.015587 | 2018-01-02T09:01:39 | 2018-01-02T09:02:17 | 112,477,214 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 443 | rd | SA3__Year_SameAddress5YearsAgo_Sex.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SA3__Year_SameAddress5YearsAgo_Sex.R
\docType{data}
\name{SA3__Year_SameAddress5YearsAgo_Sex}
\alias{SA3__Year_SameAddress5YearsAgo_Sex}
\title{SameAddress5YearsAgo, Sex by SA3, Year}
\format{6,444 observations and 5 variables.}
\usage{
SA3__... |
c688620203fcc4435100934717d1875094dc0e92 | 2b3cbc05953d0502cfd03db9cc8818ceff5783c2 | /80bb2a25-ac5d-47d0-abfc-b3f3811f0936/R/Temp/athD2jOBHdugj.R | 3eb6132b25fe67116e23481c657cce032465c879 | [] | no_license | ayanmanna8/test | 89124aa702fba93a0b6a02dbe6914e9bc41c0d60 | 4f49ec6cc86d2b3d981940a39e07c0aeae064559 | refs/heads/master | 2023-03-11T19:23:17.704838 | 2021-02-22T18:46:13 | 2021-02-22T18:46:13 | 341,302,242 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 850 | r | athD2jOBHdugj.R | with(a413c0d0cd878438a8d3b09b70251d2b6, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';source("D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/R/Recommendations/advanced_federation_blend.r");a2Hrpdwy3col1<- as... |
a56671b0b4d6eaa494218f73a2b537d235d42103 | 25e07fb791152e7532c1c4375910b443751497ca | /meta-meta/analyses/irr.r | db814193b26023e1dc04c1c3f848f4d3c2c79b53 | [] | no_license | aadu/manuscripts | 96da7510ab9098e53c8ea08d2dafdd1e71220cdf | de1cc69e315bc685d814a9f72499d1b1344d95e0 | refs/heads/master | 2021-01-18T14:15:58.715577 | 2015-03-24T17:35:05 | 2015-03-24T17:35:05 | 32,485,237 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 716 | r | irr.r | library(irr)
source("./functions.r")
#es = import.google("https://docs.google.com/spreadsheet/pub?key=0Ar2MWSi_hKI6dHN6NWZvV09teWVSdUxVRElHWG5KSWc&single=true&gid=14&output=csv")
es = import.google("https://docs.google.com/spreadsheet/pub?key=0Ar2MWSi_hKI6dEtjZEhiVE11amZMRDZ2SzZIeG56Unc&single=true&gid=14&output=csv... |
9267f354ce9938a10751da3ae70f9a8e44f1771c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rfm/examples/rfm_histograms.Rd.R | 41b92fe428fb0f569b640246d368fd80651112c7 | [] | 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 | 587 | r | rfm_histograms.Rd.R | library(rfm)
### Name: rfm_histograms
### Title: RFM histograms
### Aliases: rfm_histograms
### ** Examples
# using transaction data
analysis_date <- lubridate::as_date('2006-12-31', tz = 'UTC')
rfm_order <- rfm_table_order(rfm_data_orders, customer_id, order_date,
revenue, analysis_date)
# histogram
rfm_histogram... |
67b88bcb50959d935812d6a50f2adc7c0b38169d | 37588c10c4204facf11b49b0468e1c3eb411cb7a | /TwitterSentiAnalysis.R | df32b89b8823ba3dee0893c0937385221ea60ef8 | [] | no_license | sneharavi12/ADS | e9a3fff3042d3dc32ac0421d6455e07b21cba9ae | f0b7ed473856cbf7db31f928c4ff9bffe2e5cdc1 | refs/heads/master | 2021-01-23T08:21:46.585916 | 2017-02-14T15:42:25 | 2017-02-14T15:42:25 | 80,540,179 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,316 | r | TwitterSentiAnalysis.R | install.packages(c("twitteR","ROAuth","plyr","stringr","ggplot2","base64enc"),dependencies = T)
library(base64enc)
library(twitteR)
library(ROAuth)
library(plyr)
library(stringr)
library(ggplot2)
library(RCurl)
options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")))
... |
c06762e645223db0824cecaa000690c540720510 | 17671f171287c4d04ac913755bd1324e325d83ca | /R/RelCond_Fisheries.R | 0676bca36adc15c39e0e18511c7b005d0925f22d | [
"MIT"
] | permissive | rosalieb/GrowthEqFisheries | 86b861dc739689ed6284237d1af8d548dedf8d5b | 1748ac754ff7d53eba4ef7f09991592f0f7d1634 | refs/heads/master | 2020-08-02T12:14:27.635621 | 2019-09-27T19:22:49 | 2019-09-27T19:22:49 | 211,348,685 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,700 | r | RelCond_Fisheries.R | #' Relative condition factor
#'
#' Compute relative condition factor, used to compare condition of individuals of different lengths in fisheries. Kn= W/W', with W' predicted weight.
#'
#' @param pop_ID Optional ID
#' @param pop_length Vector of length (in cm)
#' @param pop_weight Vector of weigth (in g)
#' @param s... |
41f30087dfca8bd44e7af1d1768e0b988b3a9771 | 1b872282a8fcfa99273958a7f95fab6a813d7d09 | /man/do.svdGeneSetTest.Rd | 7cdb021d5505493f8b5bea5ca25eb1062d34f60d | [
"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 | true | 1,125 | rd | do.svdGeneSetTest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/do.svdGeneSetTest.R
\name{do.svdGeneSetTest}
\alias{do.svdGeneSetTest}
\title{Worker function summarizes gene set activity by SVD score and t-test across
contrast}
\usage{
\method{do}{svdGeneSetTest}(gsd, x, design, contrast = ncol(design),
... |
82bdb198cb0c87fba7cf993e3eeeb016fca05722 | 93d579c61bd0a21dd746199a55c16f7dceef5507 | /man/get_data.Rd | 43037184d50186aff1e148b1e67551a17aa111b4 | [
"MIT"
] | permissive | peterhurford/surveytools | d782eee226f560c3e171be605b0faaa289a76e2f | 22ac08ce97ecdb95a1dcbec8c7e9569d52df0912 | refs/heads/master | 2020-04-06T05:20:59.077261 | 2015-03-31T01:24:54 | 2015-03-31T01:24:54 | 25,450,472 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 327 | rd | get_data.Rd | % Generated by roxygen2 (4.0.2.9000): do not edit by hand
% Please edit documentation in R/get_data.R
\name{get_data}
\alias{get_data}
\title{Gets the data parameter that was previously set by set_data() or errors.}
\usage{
get_data()
}
\description{
Gets the data parameter that was previously set by set_data() or erro... |
39e866108b945ec1875f5f5523682ac653c826d6 | b83b5477cb9a84f3da7aa1ea728195e7270ea2f0 | /plot3.R | 3bc02674f6c10e640b62397e5edb1f77d93af1e8 | [] | no_license | AmelieRu/ExData_Plotting1 | d654c108aef954ab8fe75c3bab659d338996d720 | d31849092e2e7b3e240049559dc54e28fbc2a7f3 | refs/heads/master | 2021-06-25T02:04:13.951576 | 2017-08-16T19:17:53 | 2017-08-16T19:17:53 | 100,505,795 | 0 | 0 | null | 2017-08-16T15:44:32 | 2017-08-16T15:44:32 | null | UTF-8 | R | false | false | 1,616 | r | plot3.R | ## Download and unzip the data if zip or txt file does not exist
filename <- "electric_power_consumption.zip"
if (!file.exists(filename)){
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(url, destfile = "electric_power_consumption.zip")
unzip("ele... |
f1c339192aabb44405592565824e3fd2c0149607 | 2e731f06724220b65c2357d6ce825cf8648fdd30 | /lowpassFilter/inst/testfiles/convolve/AFL_convolve/convolve_valgrind_files/1616007546-test.R | aae5d1d3f0b87ea2374e8df52420a50dbf3c6c6f | [] | no_license | akhikolla/updatedatatype-list1 | 6bdca217d940327d3ad42144b964d0aa7b7f5d25 | 3c69a987b90f1adb52899c37b23e43ae82f9856a | refs/heads/master | 2023-03-19T11:41:13.361220 | 2021-03-20T15:40:18 | 2021-03-20T15:40:18 | 349,763,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 903 | r | 1616007546-test.R | testlist <- list(kern = c(NaN, 7.87136345137687e+207, 3.36446270004699e-308, 2.83431348996114e+220, 5.99427455731732e-39, -7.44328556191484e-58, 1.43291828385645e-190, 1.43291828549171e-190, 1.28557063893826e-299, -8.08603736879684e+40, -41255400998277.5, 6.98201165124923e-310, -7.51771763333532e+250, 3.76770030813... |
31bcd7e0c33336cff87d25c5ebac48fd575f0a91 | 90ce5381487899129e90911cb01a3e83dd9aad87 | /man/gini_process.Rd | dd09a3a6134a62b5d69b3ff6beb83939bdcb054e | [] | no_license | cran/rfVarImpOOB | 82274d6af3743d660b6178209e0136f3eb9ba15b | 60b5b1366bc22750cf609eb6c60f78ecb2b5172a | refs/heads/master | 2022-07-08T15:10:24.184676 | 2022-07-01T13:40:02 | 2022-07-01T13:40:02 | 236,881,840 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,098 | rd | gini_process.Rd | \name{gini_process}
\alias{gini_process}
\title{computes Gini index }
\description{computes Gini index }
\usage{gini_process(classes, splitvar = NULL)}
\arguments{
\item{classes}{vector of factors/categorical vars}
\item{splitvar}{split variable}
}
\value{Gini index}
\author{Markus Loecher... |
fd7e0dd45be9daf8b59a026325016b2acc829552 | 96482cd992bca3a41cb506774119617f56c3129b | /R/calculate_MIC_OD_inhib.R | 5bde98536b4ffab871232a60caa3ac9f27974d11 | [] | no_license | Vincent-AC/wellexplainer | f1600ae100b73e2c8b90a26b657449cae2317e4b | e4623a4f5142ac67e68e3fd875b123bfcbccafac | refs/heads/master | 2021-05-15T21:44:41.583531 | 2017-11-24T16:20:03 | 2017-11-24T16:20:03 | 106,555,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,592 | r | calculate_MIC_OD_inhib.R | #' Convert OD into inhibition percentage
#'
#' Calculate inhibition percentage in each well in order to determine the MIC for each row
#'
#' @param processed_OD_data_list List of data.frame. The first column of each
#' data.frame being the denomination of what is in the line and the following
#' columns being OD value... |
8d354a94971a4f5e5e76c4b3d5565a1d03527676 | 164d2fe8bea6f6bc6e9f8397ae0a63c43b2a0768 | /maps_app/app.R | d524fa90d419022725511ac1fd1d25e311611ab7 | [] | no_license | Public-Health-Scotland/covid-vulnerability | fab5753c64efa92cc50909da54a2c0437726af65 | 9385de13200613aea5baf5cd61053c21fe18bc95 | refs/heads/master | 2023-04-27T03:47:24.105962 | 2021-05-13T14:13:57 | 2021-05-13T14:13:57 | 249,380,562 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,601 | r | app.R | # Shiny app to present the vulnerability maps
###############################################.
## Packages ----
###############################################.
library(shiny)
library(leaflet)
library(shinyWidgets)
library(shinycssloaders)
library(dplyr)
library(shinyBS) #modals
library(flextable)
##################... |
78f82d82542cf79902b553e1242f92866ab43e5b | 2914217dfab141d994f7377f46768f16ce1d1cf4 | /cachematrix.R | 5c12f5f6f04bbeed5b2ee6ef4eade04531c52157 | [] | no_license | rajp3k/ProgrammingAssignment2 | 058d5287278be6fd466e6e43fdc27358db89c943 | c58bbfcf41e5f3e683a0845ded0af4c7c86bc18e | refs/heads/master | 2022-11-20T17:29:05.057178 | 2020-07-20T03:35:48 | 2020-07-20T03:35:48 | 280,801,314 | 0 | 0 | null | 2020-07-19T05:50:22 | 2020-07-19T05:50:22 | null | UTF-8 | R | false | false | 1,143 | r | cachematrix.R | ## Below 2 functions cache the inverse of a matrix, so
## if matrix doesn't change, inverse doesn't have to be
## recomputed since it's a costly computation.
## makeCacheMatrix function creates a special "matrix"
## object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
invert <- NULL... |
4d60b93c5a7f1414c7afdccb02a631b46b3c06dc | f46d5757c1429c292ab17473c66c0edc302e1549 | /Project2/plot2.R | 2283ad88face22d92521c2d2aa8c68b08c199232 | [] | no_license | bltgent/ExData_Plotting1 | 142fb4839ff34362688373e13cbf4bf952ea8a91 | 2af91f6482e199a2edcfd33ab2bfb606da149527 | refs/heads/master | 2021-01-17T18:32:57.152612 | 2015-01-08T00:46:11 | 2015-01-08T00:46:11 | 26,229,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 519 | r | plot2.R | #plot2
#Load the dplyr package
library(dplyr)
#Access the data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#Filter only the observations in which fips==24510
a<-filter(NEI,fips==24510)
#Group the subset by year
a<-group_by(a,year)
#Sum the Emissions data
a<-summarise_each(... |
de4efe4d74d7a3553731b64be6f3345552ffcb56 | 237395abaf91d724530cf0cc5f4f0a5c07d806c4 | /testScript/fftwtoolsTest.R | b366b114feddb52378cfafb333bd91fbf331ed2e | [] | no_license | krahim/fftwtools | 7493381e50c24df1291101f9dd248f25f2abdb2d | e861cb655bd33e0c492f8c0e849746a6b961a11c | refs/heads/master | 2021-05-04T11:37:34.111426 | 2021-02-27T22:03:39 | 2021-02-27T22:03:39 | 8,509,251 | 8 | 11 | null | 2021-02-27T23:08:42 | 2013-03-01T20:04:29 | R | UTF-8 | R | false | false | 1,612 | r | fftwtoolsTest.R | library("fftwtools")
fftw_r2c_2d_raw <- function(data) {
## can be done with two mvfft's t(mvfft(t(mvfft(a))))
## == mvfft(t(mvfft(t(a))))
data <- as.matrix(data)
nR <- dim(data)[1]
nC <- dim(data)[2]
nRc <- floor(nR/2) +1
##idxRowAppend <- (nRc - (nRc %% 2)):2
##correct for the fac... |
97f15f784a74d9722f0de5812d39f46a735b5238 | 007ae03cfe5abf41a0ad864eade451141c267cca | /auto-docs/executables/r/line_shapes.r | 89c0d44c160fea310ca8754dd376a4e2548aa0bf | [] | no_license | VukDukic/documentation | ca96eb1994eeb532fe60c542960b017354bcede1 | 8e5aefdc38788956cfe31d8fe8b4b77cdf790e57 | refs/heads/master | 2021-01-18T09:02:27.034396 | 2015-01-20T23:46:58 | 2015-01-20T23:46:58 | 30,007,728 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,885 | r | line_shapes.r | # Learn about API authentication here: {{BASE_URL}}/r/getting-started
# Find your api_key here: {{BASE_URL}}/settings/api
library(plotly)
py <- plotly(username='TestBot', key='r1neazxo9w')
trace1 <- list(
x = c(1, 2, 3, 4, 5),
y = c(1, 3, 2, 3, 1),
mode = "lines+markers",
name = "'linear'",
line = list(... |
981cc47f3e479fe2f649e3c816b2317e8663d8a4 | fe8d79231e4bec69632a1aaa1c5a76923f519c9e | /scripts/stat_fill_contour.R | 959bba9c6e05b5b0e80a21116d6698943844c170 | [] | no_license | eliocamp/tesis | f56064499e9fea279d06eb84ff529315f4adab4d | 475d4a5ff56884f3426bd602a26f0fca22c977f0 | refs/heads/master | 2021-01-13T05:31:25.241667 | 2018-07-06T19:21:04 | 2018-07-06T19:21:22 | 86,624,691 | 7 | 8 | null | null | null | null | UTF-8 | R | false | false | 9,821 | r | stat_fill_contour.R | stat_fill_contour <- function(mapping = NULL, data = NULL,
geom = "polygon", position = "identity",
...,
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE) {
layer(... |
a21a55276556d90a2304545a758911dce7527394 | e6b810dd97a74b96e814c61467f56818c6459ab0 | /tests/testthat/test-nsims.R | fb4d04de8d8f8154c152825e55f843415f3d2871 | [
"MIT"
] | permissive | poissonconsulting/universals | 32800e3dc2ebb8c8c27cad5fe6d6633fd594177f | 152629f241f50f690d51a7770a81e32e8c62815c | refs/heads/main | 2022-10-20T13:49:00.645542 | 2022-10-15T12:31:36 | 2022-10-15T12:31:36 | 234,643,049 | 4 | 1 | NOASSERTION | 2022-06-17T21:41:06 | 2020-01-17T21:53:16 | R | UTF-8 | R | false | false | 321 | r | test-nsims.R | test_that("", {
expect_identical(nsims(nlist::nlist()), 1L)
expect_identical(nsims(nlist::nlist(x = 1)), 1L)
})
test_that("", {
expect_identical(nsims(nlist::nlists()), 0L)
expect_identical(nsims(nlist::nlists(nlist::nlist())), 1L)
expect_identical(nsims(nlist::nlists(nlist::nlist(), nlist::nlist())), 2L)
})... |
14ca5a0627c193a3423ede6c94500486228e7133 | 2975fba6bf359214c55e7d936f896a5a4be3d8f5 | /R/discreteRoot.R | 72faadfb0191fcccc7dcf6cfd415cdb2e94e1dfc | [] | no_license | tagteam/riskRegression | 6bf6166f098bbdc25135f77de60122e75e54e103 | fde7de8ca8d4224d3a92dffeccf590a786b16941 | refs/heads/master | 2023-08-08T03:11:29.465567 | 2023-07-26T12:58:04 | 2023-07-26T12:58:04 | 36,596,081 | 38 | 14 | null | 2023-05-17T13:36:27 | 2015-05-31T09:22:16 | R | UTF-8 | R | false | false | 11,254 | r | discreteRoot.R | ### discreteRoot.R ---
##----------------------------------------------------------------------
## Author: Brice Ozenne
## Created: nov 22 2017 (13:39)
## Version:
## Last-Updated: Feb 10 2023 (09:19)
## By: Thomas Alexander Gerds
## Update #: 250
##----------------------------------------------------... |
64a00298bab31a9d4175ab0825c9045d0b7c6ea7 | 1f092c22a5746af10ce574af15002d53881c6ef7 | /man/plotObject.Rd | 9d1e24bd8c7e8ca7b638aaeb51b3539ed558dc75 | [] | no_license | cran/microsamplingDesign | 50ce4ca2e1439049c20733194c5962e0e3b696c8 | 49a02faf102dfc9abef4d34bbdd7041a251f64f8 | refs/heads/master | 2021-10-27T09:12:27.351890 | 2021-10-13T12:52:04 | 2021-10-13T12:52:04 | 131,901,288 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,621 | rd | plotObject.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aaaGenerics.R, R/objectPkModel.R
\docType{methods}
\name{plotObject}
\alias{plotObject}
\alias{plotObject,PkModel-method}
\alias{plotObject,PkData-method}
\title{generic function to plot an object}
\usage{
plotObject(object, ...)
\S4method{p... |
516b1bae0664094a80c8af900a7f180b32dbc942 | 1a0e05d066f277b87e0b87b0a96af7cf8888d209 | /R/fucks.r | 8d1f4621e381f9d67fadd55d3ea1d9f0b7a171bf | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | wrathematics/idgaf | 0213db40e06f155c597948982af094ba1d69c810 | a2de7e8f0b9386d12332a3f786e66309847d7015 | refs/heads/master | 2021-01-24T06:30:20.196068 | 2014-07-30T00:17:49 | 2014-07-30T00:17:49 | 22,273,867 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 644 | r | fucks.r | nfucks <- function(user, repo)
{
if (missing(user) && missing(repo))
stop("At least one of 'user' or 'repo' must be supplied.")
else if (missing(user))
{
tabled <- sort(table(fuck$repo), decreasing=TRUE)
query <- repo
}
else if (missing(repo))
{
tabled <- sort(table(fuck$user), decreasing=TR... |
aec3db730e43c8c7be11493e99402f4f64d9bc38 | bd23162e4b8c3c779557160a774bffb765adce86 | /shiny/repo.R | 696687e96e657f627b21071b051b27fb2120dfb1 | [
"MIT"
] | permissive | ktmud/github-life | a8ab2ee91c85c2a62a348f6764742dcf1b00c338 | 421e46f9832879bb8c81d8731d3524ef20fc3065 | refs/heads/master | 2021-01-19T22:24:48.671526 | 2017-11-11T18:50:26 | 2017-11-11T18:50:26 | 88,812,727 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,672 | r | repo.R | #
# Get Repository details
#
library(cacher)
if (!exists("cache")) {
cache <- LRUcache("100mb")
}
.cached <- function(prefix, FUN) {
return(function(repo, ...) {
if (is.null(repo)) return()
repo <- as.character(repo)
key <- str_c(prefix, "__", repo)
if (cache$exists(key)) {
return(cache$ge... |
9b89fcc582cd09415ef97795bd0216c848cd6e53 | 80e0469caa7900baaa6262b3b652e40db7088160 | /complete_data_analysis/hourly_plots_functions.R | b9711fe0f92a9dbd0e2f36c9cdc0a70210cb5665 | [] | no_license | diegoleonbarido/flexbox-data-dump-analysis | 8821e7bf897f5debbcaac0074bef46f15e3f5eb7 | d895385a977fb2db3e7798856d92703fced5598f | refs/heads/master | 2020-12-11T21:15:56.567109 | 2017-08-15T22:49:30 | 2017-08-15T22:49:30 | 39,653,179 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,240 | r | hourly_plots_functions.R | #Daily plots
#Hourly aggregation of daily plots
hourly.plotting <- function(data){
data <- data[!duplicated(data$time_stamp),]
data <- date.vars.simple(data)
#Creating the unique ID and merging with the original data set so that all unique hours
#Comment out for now
#house_Power_sum <- aggregate(house_... |
95904d5149cf1305b3da568f7eb0849aa7f94231 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fExoticOptions/examples/LookbackOptions.Rd.R | bbdf69971c2f3946742e5db93432927ff9f14fd0 | [] | 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,467 | r | LookbackOptions.Rd.R | library(fExoticOptions)
### Name: LookbackOptions
### Title: Valuation of Lookback Options
### Aliases: LookbackOptions FloatingStrikeLookbackOption
### FixedStrikeLookbackOption PTFloatingStrikeLookbackOption
### PTFixedStrikeLookbackOption ExtremeSpreadOption
### Keywords: math
### ** Examples
## Examples fro... |
3a86d0d35ce05d4e038c0a54be8f6bc37865531a | c459dd32d88158cb064c3af2bc2ea8c7ab77c667 | /individual_sample/archives/examine_normal_PCA.20200131.v1.R | a4e77f688763596857cd7bb4a131d3d6a48de272 | [] | no_license | ding-lab/ccRCC_snRNA_analysis | d06b8af60717779671debe3632cad744467a9668 | ac852b3209d2479a199aa96eed3096db0b5c66f4 | refs/heads/master | 2023-06-21T15:57:54.088257 | 2023-06-09T20:41:56 | 2023-06-09T20:41:56 | 203,657,413 | 6 | 3 | null | null | null | null | UTF-8 | R | false | false | 7,241 | r | examine_normal_PCA.20200131.v1.R | # Yige Wu @WashU Jan. 2020
## For the cell type assignment of the normal sample
# source ------------------------------------------------------------------
setwd(dir = "~/Box/")
source("./Ding_Lab/Projects_Current/RCC/ccRCC_snRNA/ccRCC_snRNA_analysis/ccRCC_snRNA_shared.R")
# set run id -----------------------------... |
dbcdae7ab7be0a57bc5288b12f6ec77043144daa | 99c3c6d5859f87b0e9c057c2b0e9079ff239ca2b | /man/checkdata_twolevels.Rd | 0beafe9a60d64d6b43af04da3cb6572f0aa4177f | [
"MIT"
] | permissive | HansonMenghan/glottospace | bd54f5cf6dbc42d15964e474b6ee6138b6119822 | 65a5284c22273a14da0a4e6dbe8e1c1d226c097b | refs/heads/main | 2023-08-20T21:23:32.611883 | 2021-10-13T12:49:28 | 2021-10-13T12:49:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 687 | rd | checkdata_twolevels.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/glottocheck.R
\name{checkdata_twolevels}
\alias{checkdata_twolevels}
\title{Check whether each variable has at least two levels (excluding NA).}
\usage{
checkdata_twolevels(data)
}
\arguments{
\item{data}{}
}
\value{
Besides diagnostic messag... |
438216d4aa425a0408bb258d7262968925a628a2 | b5b47ebc15c385b1a6bb1fb6fd12352a028fbf87 | /clustering.R | 20149d41c30d28c54736c9a05658e7b01dee569a | [] | no_license | KayandTheBlack/DataMiningOverDiabetics | e3803e05d1bfb509c3e2aa8cde3a9fd47f98500d | ed069bfa2d7c448e9facf8d7dc9d12e2eadadce1 | refs/heads/master | 2020-03-29T09:58:45.414431 | 2018-12-29T17:18:48 | 2018-12-29T17:18:48 | 149,783,642 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,423 | r | clustering.R | base_path <- "C:/Users/danie/Documents/MD/diab/DataMiningOverDiabetics"
setwd(file.path(base_path))
diabetic_data <- read.csv("processed_data.csv", na.strings = c("?"))
names(diabetic_data)
dim(diabetic_data)
summary(diabetic_data)
attach(diabetic_data)
#hierarchical clustering
library(cluster)
#install.packages("f... |
499742c611b1b2301e53406bff30f6f9c074e442 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dkanr/examples/dkanr_setup.Rd.R | bf0ab65ec25ae95dbb10a242a96ebeb6030e5e8f | [] | 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 | 555 | r | dkanr_setup.Rd.R | library(dkanr)
### Name: dkanr_setup
### Title: Configure default DKAN settings
### Aliases: dkanr_setup
### ** Examples
## Not run:
##D DKAN users without admin/editor privileges could run:
##D dkanr_setup(url = "http://demo.getdkan.com")
##D
##D Privileged DKAN editor/admin users can run:
##D dkanr_setup(url = ... |
558945309ff7cfc594d7539b67c3d943aa9239d9 | 3ab8001ca2e877c291618ae4782beff6ab41fe00 | /man/get_otp_cipher.Rd | d56a2272a4340f30f099fccaf4ae62b5da0af45f | [] | no_license | dads2busy/safr | 595969c739c5b192d8a6fa438e4c86113b6f533f | 707597be2cfcb534559fa0a5581391f972be4d7d | refs/heads/master | 2021-05-06T20:56:02.720737 | 2017-11-30T21:29:09 | 2017-11-30T21:29:09 | 112,429,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 602 | rd | get_otp_cipher.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/otp.R
\name{get_otp_cipher}
\alias{get_otp_cipher}
\title{Create a Cipher of a Message using a One-Time Pad.}
\usage{
get_otp_cipher(message_str, otp_str,
alphanum_str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
}
\arguments{
\item{message_st... |
2247fc2368daa46c72591a37eeb027a3ffea96b5 | 01f88e5f43662eafda366fa289ac6e47ebb039d4 | /R/03_augment.R | 24f6a632143e7560a553f62190e644d59481af81 | [] | no_license | rforbiodatascience21/2021_group_13_final_project | 8c5b687cacde9ac28b5bee7eae4950964f3711af | 0a7d6a160331b23d0d354e0e9ab31de1568f8ad9 | refs/heads/main | 2023-04-20T16:36:24.063131 | 2021-05-10T21:57:43 | 2021-05-10T21:57:43 | 361,680,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,236 | r | 03_augment.R | # Clear workspace --------------------------------------------------------------
#rm(list = ls())
# Load libraries ---------------------------------------------------------------
library("tidyverse")
# Define functions -------------------------------------------------------------
source(file = "R/99_project_functions... |
f2f09c203ab110cbe67a7bafb05f2da7d748d1a5 | 0e6977d8b1f917d01edceae9b90ac55b9d06252c | /man/ivqr_eg.Rd | 8f192dbacfff8475d55333498cb114b8b66a92a4 | [] | no_license | geyh96/IVQR | 0abb7f13307ceaa5b649a7ea2d14b46612180537 | f36b124faa732bb5b51d817c12a5371329b75fe1 | refs/heads/master | 2023-03-16T05:47:35.389263 | 2018-09-25T18:03:11 | 2018-09-25T18:03:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 897 | rd | ivqr_eg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{ivqr_eg}
\alias{ivqr_eg}
\title{An example data created by simulation.}
\format{A data frame with 10000 rows and 4 variables:
\describe{
\item{y}{outcome variable}
\item{d}{binary endogenous variable}
\item{z... |
6452e281da310f11b4cefc4fc45852d7f24275b5 | fe7fe7daaae1aefa393c4a6c1cc6da06f8c419ae | /man/rich_html_document.Rd | 6af9e7b785bd6191cbc5033399baf38ca5ef04b2 | [
"MIT"
] | permissive | atusy/tokyor85down | cd9a43c6e05f5ccd5c549016e898511a460c1694 | 1344a77ca46ee598a0a676b0ec564ede2215c4ca | refs/heads/master | 2022-08-22T11:20:15.238366 | 2020-05-23T01:21:00 | 2020-05-23T01:21:00 | 266,152,970 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,500 | rd | rich_html_document.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rich-html-document.R
\name{rich_html_document}
\alias{rich_html_document}
\title{リッチなrmarkdown::html_document}
\usage{
rich_html_document(
toc = TRUE,
toc_float = TRUE,
number_sections = TRUE,
code_folding = "show",
code_download = ... |
ba1b49d013fe9926c0c474e774f30f7bfda69036 | edd86f6c445ada652ec641deff0535c17a35c3b5 | /R/WriteExcel.R | c687be6c78577366bf4ca4dad591ca0747e7cc1a | [] | no_license | zhezhangsh/DEGandMore | 7bb1231f93c6fdb37224e86e63f793b434efbc7b | 27fb1b256185f2f79c9f86e1e372a1ca68693b9d | refs/heads/master | 2022-10-17T19:47:22.258491 | 2022-09-20T03:10:56 | 2022-09-20T03:10:56 | 35,493,825 | 8 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,751 | r | WriteExcel.R | # Write one or more data matrixes to an Excel file
WriteExcel<-function(values, fileName=paste(Sys.Date(), 'R2Excel', sep='_'), sheetNames=names(values), type='xlsx', settings=rep(list(), length(values)), verbose=TRUE) {
# values a list of data.frame or matrix
# fileName the prefix of output file
# sheetNames the nam... |
3c58e357a133b8073df2404acf44ba417ed89549 | 88c18faabe83ce2c3a07a13791b3e6026619518f | /R/GO_enrichment.R | 3088ebaf69ea34e26d2f76b78934114e5b176991 | [] | no_license | sq-96/heart_atlas | fd98edc9b305f1ab6fa5d327fe9c9034f4c1114b | 3deed4c3d382072ccfd78d43459d1b53d93eff3f | refs/heads/master | 2023-06-25T13:26:05.273996 | 2021-07-29T20:35:20 | 2021-07-29T20:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,176 | r | GO_enrichment.R | library(ArchR)
library(clusterProfiler)
library(tidyverse)
require(org.Hs.eg.db)
require(plyranges)
setwd('/project2/gca/aselewa/heart_atlas_project/')
source('R/analysis_utils.R')
# load a bunch of stuff
satac <- suppressMessages(loadArchRProject('ArchR/ArchR_heart_latest_noAtrium/'))
peaks <- getPeakSet(satac)
pea... |
2277981abaf7e15fc928dd5faef795faabba302a | f8ecf9a6c5729b7eab34bf8fe73f358e63058aba | /데이터 분석/1. 데이터 조작 및 EDA.R | 755cefd8f3c046eec5c92cbe80807533c2001fe2 | [] | no_license | Sehee99/R-Study | edefb9e80e0532a39792219d85598968b564dd40 | 227a86648d6e2cb138f031e1dd27e7ec0582c9ab | refs/heads/main | 2023-07-13T05:44:11.114530 | 2021-08-31T11:29:05 | 2021-08-31T11:29:05 | 398,975,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,708 | r | 1. 데이터 조작 및 EDA.R | ### 1 데이터 대표값 탐색
## 1.1 평균과 중앙값
# 평균
A_salary <- c(25, 28, 50, 60, 30, 35, 40, 70, 40, 70, 40, 100, 30, 30) # 백만원 단위
B_salary <- c(20, 40, 25, 25, 35, 25, 20, 10, 55, 65, 100, 100, 150, 300)
mean(A_salary)
mean(B_salary)
# 결측값(NA)이 있는 경우 결측값을 제거하고 평균을 구할 때는 na.rm = T 인자를 사용
mean(A_salary, na.rm = T)
#... |
5e49b6a0593e4261dc1239521fa2793677619005 | 58c13145c7f371e6f9e9e82c03396f8b5589ef1b | /Sim_a.R | 74d45a370e2bff1bcadc608a852c81610d48fa00 | [] | no_license | TIANHUI8/Dissertation_Simulations | 2fdba84221353fcde2cb50a037d38e26d2b74715 | 6ce291d0c62fdf41c17c9d9f08dd876497cc8597 | refs/heads/master | 2020-03-22T11:44:55.449328 | 2018-07-12T16:57:11 | 2018-07-12T16:57:11 | 139,993,475 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,130 | r | Sim_a.R | library(glmnet)
library(BGLR)
sims = 4 #number of replication
p = 1000 # number of markers
n = c(10, 45, 100) #number of individual
lenn = length(n)
h = c(200, 100, 0) #number of misimputated marker
lenh = length(h)
nIter = 12000; burnIn = 2000
beta.true = c(0.25, 0.5, 0.75, 1, 2, 5, rep(0, p-6))
p.cutof... |
3b3e18e04a69b4428cdf1c61c1fc95295d6d0244 | fd634124a7a77b53e46adb939fe5469d44c59d2c | /man/DB.connections.Rd | 78dc82fca298bf7dc63c199b1f316e333b6392c5 | [] | no_license | blueraleigh/db | d315141fc091a62326e5d3938ec803bc217f24e4 | 4cba3e6dfe646b37da1ebaaa0ff2293331cd1262 | refs/heads/main | 2023-09-02T18:17:53.955924 | 2021-11-16T00:37:03 | 2021-11-16T00:37:03 | 347,817,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 518 | rd | DB.connections.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/db.R
\docType{data}
\name{DB.connections}
\alias{DB.connections}
\title{An environment to store database connections}
\format{
An object of class \code{environment} of length 0.
}
\usage{
DB.connections
}
\description{
An environment to store... |
e0237fc562bd6a7d1fca993e8000cdb7aa9a92fa | 810fc2ef81f54eba261ae92acb8ad2eb9d7655ba | /00-clean-data-old.R | 7097de731c96a0c2f8bff2895402d2e4d1afe817 | [] | no_license | sriramesh/Analysis-of-Extreme-Political-Violence-in-Sudan-2005-2020 | ded91823096a63054fb52f3dd45569bc8a25dba1 | 337399cd7942d562b759da691cf4d7d77effa6b0 | refs/heads/main | 2023-04-30T01:34:38.941654 | 2023-04-12T17:30:56 | 2023-04-12T17:30:56 | 318,114,363 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 915 | r | 00-clean-data-old.R | options(stringsAsFactors = F)
#acled <- read.csv("1900-01-01-2020-05-06-Sri_Lanka.csv", sep = ";") #Sri Lanka
labs <- lapply(seq(nrow(acled)), function(i) {
paste0( '<p>', "Source: ", acled[i, "source"], '<p>',
"Event Type: ", acled[i, "event_type"], '</p>',
"Event Date: ", acled[i, "event_dat... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.