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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a78119ca6303fe2108f08c58ab44a4a00caf0abf | 0a12b0865fb849e3b1f639edccccd69b9468a844 | /R/flatpack.R | 8505538e0b241199062461c28af82e7c15daf1aa | [] | no_license | CopenhagenCenterForGlycomics/glycodomainR | ef6d768ec2d75f853dc3b2cccf55836ac0db4ee3 | 2fc52e92d6f1cfc4874e7a11c9ba396a048f02c3 | refs/heads/master | 2022-04-11T14:40:43.253890 | 2020-04-08T10:08:22 | 2020-04-08T10:08:22 | 104,898,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 467 | r | flatpack.R | #' @export
flatpack <- function() {
targetenv=new.env()
installed_list=sapply(grep("^gator.",installed.packages(),value = T), function(x){ data('data',package=x,envir=targetenv) })
are_msdata=sapply( ls(targetenv), function(x) attributes(targetenv[[x]])$type == 'msdata' )
flatpack=do.call(rbind,sapply(na.omit(l... |
6754551506ecca24d922d29926f997839dad2036 | f243a77fdd193583b937b620861fc042661db0cf | /DH_QMEE_JAGSFinal .R | 583b581f7d9f14447b0d08d7b5ce6f8364802fe2 | [] | no_license | darcyh13/QMEE | f087d116d0025ed99b4e3537f83c8f279599a1cf | b81a43a18a05baa67c66b024393c5788a29af8ee | refs/heads/master | 2020-04-15T19:17:18.906612 | 2019-05-03T03:16:22 | 2019-05-03T03:16:22 | 164,943,918 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,636 | r | DH_QMEE_JAGSFinal .R |
library("tidyverse")
## BMB: you missed these, your code's not reproducible ...
library("R2jags")
library("broom.mixed")
library("lattice")
library("emdbook")
library("dotwhisker")
Genetic_Background_Interactions <- read_csv("GeneticBackgroundVeinMutantInteractionsFinal.csv")
#Change second gene to say WT if it doe... |
e702e461a3e33b5b8538aa36c9084d45722d25e7 | b310f8412ea3cfef7be133959c331d029bd1899f | /man/compareDatabases.Rd | 62a0b738f40710ec3c82fbf7872936fe75fb3751 | [] | no_license | clbustos/rcebn | 9444f387b4b46e5870f140f40ec90ba6a43f87db | 7173891eae8b10ab93087a229aa677ff2674c004 | refs/heads/master | 2023-05-10T20:08:26.821587 | 2023-04-28T17:17:17 | 2023-04-28T17:17:17 | 29,193,481 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 512 | rd | compareDatabases.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compareDatabase.r
\name{compareDatabases}
\alias{compareDatabases}
\title{Compare differences between two databases}
\usage{
compareDatabases(x1, x2, vars.rel = colnames(x1), vars.report = x1[, 1])
}
\arguments{
\item{x1}{Base de datos uno}
... |
c1ea30cc7aa01ef2482d8de76a21645236f41ac3 | a5a5c0abfa9a7cb2e18a20d706ebf23d2fa990b8 | /ndata/R/keel_an_nn_5.R | 041e61f19f74678e461a19d9eee0b6d4e6a7982e | [] | no_license | noeliarico/ndata | 9242dc7fb4d8e14d3de450a0ec740c70deeb0f0d | 7842de743552a133caa652ba64d74676d5f14f1a | refs/heads/master | 2020-06-18T19:19:28.540199 | 2020-03-13T13:34:10 | 2020-03-13T13:34:10 | 196,415,685 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,647 | r | keel_an_nn_5.R | # ecoli_5an --------------------------------------------------------------
ecoli_5an_nn <- read.keel("files/keel/noisy/an/nn/nn5/ecoli-5an-nn.dat")
ecoli_5an_nn$Site <- factor(as.character(ecoli_5an_nn$Site), levels = c("cp","im","imL","imS","imU","om","omL","pp"))
change <- colnames(ecoli_5an_nn)[colnames(ecoli_5an_n... |
12cdeb2d91d65013f18901cf69d6095376c80274 | d0dfea53a44e40ce7e5155e03f8b072e23fcc7ba | /R/teste.R | 2cf619e6decafc06af6c3c5f6bcdf2bededbd48c | [
"MIT"
] | permissive | jjesusfilho/tjac | 8e76f9cfa0955700e37e8a3245fb6c17addf000f | 62e83dd12c149a98bc1edffea2f47e3caca88e46 | refs/heads/master | 2020-07-17T00:21:50.032338 | 2020-01-30T08:20:24 | 2020-01-30T08:20:24 | 205,899,922 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,329 | r | teste.R | function(fim,
inicio=0,
ano,
segmento,
uf,
distribuidor,
funcao,
expr = "sp_vazio") {
## Para encontrar o maior número do processo do ano, eu usei a lógica da busca binária.
## fim pode ser qualquer número grande o bastante para ser superior ao número t... |
fe62fb859850752952dd92c9e7d0598a79cfea04 | f7a4328c2c33fe5c1a4fc7895cffabac75f3d40c | /man/parseFeatures.Rd | de69f537e0e7ab81e2453e5a81443f6db338dd04 | [] | no_license | Frederic-bioinfo/MetaFeatures | 447834d966c4f7ec140a366666e8de7878f34f94 | 69a625852597ab72ebc339da98b2d11d36770440 | refs/heads/master | 2021-01-18T12:45:11.243150 | 2014-06-18T19:25:08 | 2014-06-18T19:25:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,752 | rd | parseFeatures.Rd | \name{parseFeatures}
\alias{parseFeatures}
\title{
Parse an experiment using a list of features
}
\description{
This function produces the list object that contains all the
information necessary to produce a metagene-like plot with the
\code{plotGraphic} function.
}
\usage{
parseFeatures(
bamFiles,
... |
afec1ec916d4904bf79b9a840bd8fab848830047 | a29b0b2ec374909fe1087099c309989dcd9d0a8b | /R/getVerticalLevelPars.ECOMS.R | f67ffe76e9bf9c115599feaca208d1e1edf3f16d | [] | no_license | jbedia/loadeR.ECOMS | 729bab9a41074234bc4b9d3e4473cc25bf411018 | 84528ab325dba57d2af34e1b71ce032830ee7ac9 | refs/heads/master | 2021-01-24T23:58:02.464171 | 2018-02-12T12:04:11 | 2018-02-12T12:04:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,655 | r | getVerticalLevelPars.ECOMS.R | #' Definition of vertical dimension slices
#'
#' Returns the selected level value (if any) and a suitable java structure. This is a subroutine
#' of \code{loadGridDataset}, whose output is passed to \code{makeSubset}.
#'
#' @param gcs An object of the java class \sQuote{GeoGrid})
#' @param level Vertical level. Pas... |
79961f4daec8cd54524331b6df64fafbee49b19b | fac56cba38e4919be45519605837165d85835fff | /man/closed_check.Rd | ef931836f6443f7c44e41b9d1f11b1a08d2f3708 | [] | no_license | mmparker/to1check | 28cb87273ce41e442edc674fd70d4b842052afdd | 808d1bc447760c618af7747d9cee1206ecb43333 | refs/heads/master | 2016-08-06T07:19:13.231958 | 2014-05-29T15:43:52 | 2014-05-29T15:43:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 677 | rd | closed_check.Rd | \name{closed_check}
\alias{closed_check}
\title{Check that participants were closed correctly.}
\usage{
closed_check(cleanlist)
}
\arguments{
\item{cleanlist}{The list of cleaned TO1 data generated
by \code{\link{clean_to1}}}
}
\value{
This function returns a data.frame of participants whose
records aren't consiste... |
bb50be9b182ff4ee35317446a6c09d7a37e614dc | cfc95853b9b474864a71e5f20bb54005e8582854 | /best.R | 73bc23cd7be19350502640868386af7a32ff35e1 | [] | no_license | tdetzel/CompDataAnalysisR | 4a069cc11ab920cb0f8e896e505fcad8687cd210 | faee83cc38b3ce676e5e41a5e94e0166fbdc501c | refs/heads/master | 2016-09-05T17:25:53.095760 | 2014-04-26T15:06:07 | 2014-04-26T15:06:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 986 | r | best.R | best <- function(state, outcome) {
## Read outcome data
data<-read.csv("outcome-of-care-measures.csv", colClasses="character")
## Check that state and outcome are valid
outcomes <- c("heart attack", "heart failure", "pneumonia")
columns <- c("Hospital.30.Day.Death..Mortality..Rates.from.Heart.Attack",
... |
f04295f7b35e7c95cc3c076e90b0a7f7718a3dbd | 850fb65a0435402667af1475072f36391fcb1627 | /server.R | 6cb7c54bef44977f4b5f21f17ce58be268b3ccf9 | [] | no_license | HunterRatliff1/Texas_Health_Professions | 04cd84fa659128b34459071db5d414dbe4d2304d | 739f8848a0e16dca2cf3716d7322e58700b436f8 | refs/heads/master | 2021-01-10T17:55:41.100355 | 2017-05-10T22:03:45 | 2017-05-10T22:03:45 | 49,854,939 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,273 | r | server.R | # # # # # # # # # # # # # # # # # # # # # # # # # #
# REQUIRED PACKAGES #
# # # # # # # # # # # # # # # # # # # # # # # # # #
library(magrittr)
library(shiny)
library(dplyr)
library(reshape2)
library(leaflet)
library(scales)
library(RColorBrewer)
library(ggplot2)
# # # # # # # # # # # # ... |
b73ed1411a472fccc8ffb309ebb74f68ef5a4795 | 437ea30837d0068b8bca815f500396f30cd2ff74 | /R/Plot.genes.R | 4d0a70cd8fd51fc0068f375cd2de79cf8a51586d | [] | no_license | hummelma/GlobalAncova | 0d51390638a353a3d2732a962f05b9a2a73606fc | f2512c80850a0b0ebb6d5ee53c6ed9228b85b74c | refs/heads/master | 2021-06-15T19:42:03.969139 | 2021-01-31T09:39:31 | 2021-01-31T09:39:31 | 123,418,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,394 | r | Plot.genes.R | setGeneric("Plot.genes", function(xx,formula.full,formula.red,model.dat,group,covars=NULL,
test.terms,test.genes,Colorgroup=NULL,legendpos="topright",returnValues=FALSE,bar.names,...)
standardGeneric("Plot.genes"))
# xx: expression matrix (rows=genes, columns=subjects)
# formula... |
dee5353a763bb570688f13fa72c02899d1307147 | 8dac5359ccc3874c11c2f32e5276da785f1bcf5c | /scripts/Normalizacao.R | b550191fec432222bcde6652cce627158cc83e0b | [] | no_license | wellrangel/MDM-Predict-5p | 018fe3c560d37ca70aa0c89edc6f1eac77dd782d | fdf092ed17177576aab5c3365832657a025f3bcf | refs/heads/master | 2020-12-02T19:30:26.272118 | 2017-07-05T18:23:35 | 2017-07-05T18:23:35 | 96,348,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,234 | r | Normalizacao.R | library(sqldf)
atletasJogo <- read.csv("data/bancoatletasORIGINAL.csv", sep = ";" ,stringsAsFactors=FALSE)
#retirando jogadores com jogos por temporada
atletas <- sqldf("SELECT id_jogador, nome_temporada, count(id_partida) as totalpartida from atletasJogo group by nome_temporada, id_jogador")
atletas <- atletas[atl... |
06c1a80f3fc83fdd856c09a892d015dc9b05b941 | 11b0786b49fd68edf0b78c1a7d6fbdfb97887985 | /cachematrix.R | 9b784987fe5326e58784da0122b28fd4a33e31cf | [] | no_license | etbear/ProgrammingAssignment2 | 475f10dde805cd2efa971f0efd3de1fe160e724b | 696550765dc7d1efff7d8eea96cbac7902ecf2ac | refs/heads/master | 2021-01-20T16:24:19.837455 | 2015-05-23T14:24:34 | 2015-05-23T14:24:34 | 36,124,237 | 0 | 0 | null | 2015-05-23T13:23:30 | 2015-05-23T13:23:30 | null | UTF-8 | R | false | false | 1,208 | r | cachematrix.R | ## the two functions allow us to solve a matrix and store the solution for future use
## when called the first time, cacheSolve will solve the matrix
## calling cacheSolve later will retrieve previously stored solution, eliminating the need to re-compute
## makeCacheMatrix returns a list of 4 objects, set, get, setinv... |
be7517456d2b398976e558e9a99362830230156c | deb839b1a41d68e91f72e18bddfef82da62216c5 | /server.R | 883ffa4729975c6efa7cc3387002e13ae17a204c | [
"Apache-2.0"
] | permissive | smeebear/3220-Final-Project | 9ec14b19e432489f7798627f6b3ec8ee8d7d6063 | 7121213ba105f965fe37a4b539134729ed6e0010 | refs/heads/master | 2020-05-09T11:28:39.942391 | 2019-04-22T21:26:17 | 2019-04-22T21:26:17 | 181,081,700 | 1 | 0 | Apache-2.0 | 2019-04-22T19:26:27 | 2019-04-12T20:50:45 | R | UTF-8 | R | false | false | 3,414 | r | server.R | library(class)
library(dplyr)
library(C50)
library(printr)
library(shiny)
credit = "good"
err = 0
server <- function(input, output) {
output$text = renderPrint({credit})
#output$credit = "bad"
observeEvent(input$eval, {
# put in the stuff to check input against model
if(input$education ... |
05417cf8e7a7fc3a7a961515a104f32a13d131d4 | e5a9f6ab465cd0f28c26f95fc781ba59927edf8b | /man/boxplot.OutCoe.Rd | 2c61b70fb24a4cdd74e914ff013a81923eceba9a | [] | no_license | stas-malavin/Momocs | 550266555ab7724a01ca3b58777bb623de433566 | 44789d9bce9fe923a9af128f0493d16a73fe9fdd | refs/heads/master | 2020-12-26T15:49:20.330404 | 2017-03-08T20:43:13 | 2017-03-08T20:43:13 | 59,151,808 | 0 | 1 | null | 2016-05-18T21:15:59 | 2016-05-18T21:15:58 | null | UTF-8 | R | false | true | 852 | rd | boxplot.OutCoe.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gr-Coe.R
\name{boxplot.OutCoe}
\alias{boxplot.Coe}
\alias{boxplot.OutCoe}
\title{Boxplot of morphometric coefficients}
\usage{
\method{boxplot}{OutCoe}(x, retain = 6, drop = 0, center.y = TRUE, ...)
}
\arguments{
\item{x}{the \link{Coe} objec... |
6a4b829c38384cfa8e5d659eadd9d3791ca511d1 | 07abd435b05bd123827286cb23bc130f1648cf4f | /Problem 2.R | 16e8813d0c45df9e856189e8349bcb8436b52abe | [] | no_license | reakain/DataAnalysisProject2 | 02cdc5e98e60fe99cbdd7ad4c3d56b8b30db1d2a | 7fb5ea2c1621d6a8f670425f03e6e10e2ea518a8 | refs/heads/master | 2021-05-29T15:56:25.063372 | 2014-06-20T17:38:26 | 2014-06-20T17:38:26 | 20,963,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 829 | r | Problem 2.R | ## Problem 2
## Have total emissions from PM2.5 decreased in the
## Baltimore City, Maryland (fips == "24510") from
## 1999 to 2008? Use the base plotting system to make
## a plot answering this question.
# Get to my working directory and read in the data
setwd("~/git_repos/DataAnalysisProject2")
NEI <- readRDS("sum... |
f38c004db8a824d444b5a0d57bba441dd04a8644 | 67aceca655f47d98d8e62e484cd4e606b72c8870 | /Project Euler/018 - Maximum path sum I.R | 013a01d01d4fa9e552e5a0a70c04b0a0ce6ea92f | [] | no_license | QiliWu/leetcode-and-Project-Euler | 130cf8e2d50707687b8a4c97426dbdaddeca902b | ade9a06861ec97ffb5ad33d83c9d9e93b043abcd | refs/heads/master | 2021-09-21T16:49:31.539051 | 2018-08-29T05:32:48 | 2018-08-29T05:32:48 | 103,649,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 619 | r | 018 - Maximum path sum I.R | #Maximum path sum I
#Problem 18
#By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.
3
7 4
2 4 6
8 5 9 3
#That is, 3 + 7 + 4 + 9 = 23.
#Find the maximum total from top to bottom of the triangle below:
con <- file('/home/w... |
63822c56e2d10314df08ffc8ef5d9d76547a0a32 | cfdbca2e80b393dee23647a41810b7e0827c5359 | /Z Old Tex Files/program R/Multivariada/Ejemplo student.r | bbffd78aae288fd4c08be4397378753ed6eac878 | [] | no_license | cualquiercosa327/2ed-team | 99e1d67f861785ef6ec003901e9869525128178f | cd596e8ff5a657a3c0118763d1cd6a7fbc4bfc69 | refs/heads/master | 2022-01-06T05:38:44.019913 | 2019-06-25T20:54:11 | 2019-06-25T20:54:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 464 | r | Ejemplo student.r | a<-c(0.7,-1.6,-0.2,-1.2,-1,3.4,3.7,0.8,0,2)
b<-c(1.9,0.8,1.1,0.1,-0.1,4.4,5.5,1.6,4.6,3.4)
length(a)
length(b)
par(mfrow=c(1,2))
qqnorm(a,main="Sedante A")
qqline(a)
qqnorm(b,main="Sedante B")
qqline(b)
x<-matrix(c(a,b),10,2)
var(x)
cor(x)
## Independencia entre las dos variables
alpha<-0.5
p<-2... |
6d2b86e3668c95cb9688d18f0f8256ccb3fcefb1 | 167237832367e3413ba2d5beb78c5780df1a6c82 | /DTtoPostgres.R | 78d12fe202d97f32f00d8f867b2ff1258a2d9e56 | [] | no_license | mplunney/R | 15a5f42d4498b9ddaefd67db717ecb3244baa74f | 0376b425b4a846c11466aee37e3a6a57d1e27284 | refs/heads/master | 2021-01-19T13:46:53.627341 | 2018-10-09T16:27:05 | 2018-10-09T16:27:05 | 82,419,166 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 659 | r | DTtoPostgres.R | #optional pre-function DT check
#View(Derived)
#Trim column names into postgres-suitable format
dbSafeNames = function(names) {
names = gsub('[^a-z0-9]+','_',tolower(names))
names = make.names(names, unique=TRUE, allow_=TRUE)
names = gsub('.','_',names, fixed=TRUE)
names
}
#append DT column names
colnames(Deri... |
8b2215ab83b941068257b35a908bb1a7cf371266 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610383009-test.R | 7227ee1847f8b03df6800b371753be7a51b50108 | [] | 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 | 354 | r | 1610383009-test.R | testlist <- list(rates = c(NaN, NaN, NaN, 1.42991672770726e-308, -8.52118900406582e+245, -4.78904768543923e+54, -5.50000973208021e+303, -5.18847371542227e+245, -7.02630600428121e-260, 1.04294967003024e+40, 5.43412073090628e-311, NaN, Inf, 7.29111854342396e-304, 0), thresholds = NaN, x = NaN)
result <- do.call(gratta... |
604cfd45d65f1d1920e9de95bc4065c731d9c803 | ea2608ba2fa5fcb272e476b848256220c95a33ab | /plot3.R | 54a295854009de88798b5b385d76842f26c85af4 | [] | no_license | sweetpickles/eda2 | deccff4202b3227a29a675664a8f62c4e2c8bcb3 | 34d1ab762623619577d17124c392f09dca7a58ae | refs/heads/master | 2021-01-10T03:11:11.992440 | 2015-10-24T00:02:45 | 2015-10-24T00:02:45 | 44,680,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 235 | r | plot3.R | NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
ds3 <- NEI[NEI$fips == '24510',]
p3 <- aggregate(Emissions ~ year + type, data = ds3, sum)
with(p3, qplot(year,Emissions,color=type,geom='line'))
|
17318df463ab30bea83b0fdb7c1afe767184ec1d | 32a708b019e1d12870c82f23dc33e204b145518c | /ui.R | 146f8d9db29175c2a2a2ae146a7ffe658e6c6e11 | [] | no_license | jpacilo/shiny_application | 0a90c9e618e4f74e11aedb2b5b54ea8d94606667 | 9dcae29334e22e7121ccb84cd59bd37fdd597a73 | refs/heads/master | 2020-07-01T19:04:43.021885 | 2019-08-08T13:41:42 | 2019-08-08T13:41:42 | 201,265,896 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 549 | r | ui.R | # author : jpacilo
# date : 8/8/19
pageWithSidebar(
headerPanel('K-Means Clustering x 1974 Motor Trend US Dataset'),
sidebarPanel(
selectInput('xcol', 'x-variable?', names(mtcars)),
selectInput('ycol', 'y-variable?', names(mtcars),
sel... |
0d51ceaf49e5c2e5e493424b82f577b6bf9b1243 | c9042b30fd26d875436d32362e0d7aa765c59389 | /01_Demo/Demo_01.R | 4f05c7ba0eab0cac3ed13ad34a6ce1391c47ffb7 | [] | no_license | rkaysen63/R_Analysis | cd0a3fd4bddde355a46f501f609884dfba6d3e48 | a9ef717133cff210b1a6d7aa67cf89df1840ea1b | refs/heads/main | 2023-05-27T14:59:16.032427 | 2021-06-11T22:35:31 | 2021-06-11T22:35:31 | 374,245,375 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,797 | r | Demo_01.R | x <- 3
numlist <- c(0,1,2,3,4,5,6,7,8,9)
# 15.2.3: Read and Write Using R ----------------------------------------------
demo_table <- read.csv(file='Data/demo.csv',check.names=F,stringsAsFactors = F)
# install.packages("package") requires parentheses but install.library does not
install.library(jsonlite)
library(js... |
ddd94bd146e9c91ae3ed2acec04330c66f71dfaf | 962142a98fafed07eefa031d35d7a1f3293c1ac1 | /man/already_uploaded.Rd | 5f293ff2b2d582825cd7616a791ef3c113f95d25 | [] | no_license | zevross-spatial/rpackage-sensorDataImport | 057b6e87e1ad5d19028b9f5bd5a991076477f385 | 81febbeff8c8e71796dad175c594c4ed2b6aea25 | refs/heads/master | 2022-02-15T05:18:06.647276 | 2019-08-16T14:25:29 | 2019-08-16T14:25:29 | 35,230,643 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,399 | rd | already_uploaded.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/postgresql.R
\name{already_uploaded}
\alias{already_uploaded}
\title{Tests if data has already been uploaded}
\usage{
already_uploaded(tablename, filename, con = ".connection")
}
\arguments{
\item{dbname}{the database.}
\item{host}{database ... |
338cbdcc5e81d1b1ca474201d8583a3e8af74cd3 | 88b5925e6cd7c318e82cbedd429bdad8d6229c72 | /Rpackage/scrbook/man/simSCR0.Rd | 08878dc1dddf5cc258d7048d02c8a2fe19c081e4 | [] | no_license | jaroyle/scrbook | 290a6055cbcc6a34b2915a6267cbddbfab632a06 | 6554f7cf3af819870a001022a25c020379db475f | refs/heads/master | 2021-03-19T16:02:26.707679 | 2017-12-19T15:05:35 | 2017-12-19T15:05:35 | 2,988,377 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,910 | rd | simSCR0.Rd | \name{simSCR0}
\alias{simSCR0}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Simulate some SCR data under a simple Bernoulli encounter model.
%% ~~function to do ... ~~
}
\description{
Right now this is a simple R script that provides very little
flexibility. At some point, we'll gener... |
1253e16d191e79f6661ab3b44aed0adee786f902 | c76d4dc9a4d693c49631f28fe5dd5d4394275f93 | /man/CalculateTimeLag.Rd | d80e923bbe407390b9d4b29c12123da8cc3c3a86 | [] | no_license | cran/RHRV | 570b16a6e5c88bf9039699431213d2ead2a8971d | 4700c6ba5a1600f6a5356e25fd4499f7be48bc4f | refs/heads/master | 2022-11-08T23:46:30.640056 | 2022-10-31T19:05:02 | 2022-10-31T19:05:02 | 17,682,624 | 12 | 6 | null | 2017-10-19T05:42:46 | 2014-03-12T20:21:26 | R | UTF-8 | R | false | true | 4,204 | rd | CalculateTimeLag.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CalculateNonLinearParameters.R
\name{CalculateTimeLag}
\alias{CalculateTimeLag}
\title{Estimate an appropiate time lag for the Takens' vectors}
\usage{
CalculateTimeLag(HRVData, technique = c("acf", "ami"),
method = c("first.e.decay", "firs... |
3145c3bf2e0cf9e8d6d9ec99b1b89da054b86754 | 6158b9b89a1446b6a7079735fcef295b412ab752 | /R/sttc.R | 4da889a4c3ab45c1f678723eee67876bc22a506e | [] | no_license | sje30/test1 | 6c201c07a1740a9981f98284aeaec728dfcf33df | 6126745eb42296d12fb2bf08da1e10a2a8ac8bb4 | refs/heads/master | 2021-01-01T04:22:43.081032 | 2017-07-17T09:02:17 | 2017-07-17T09:02:17 | 97,163,904 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,226 | r | sttc.R | ##' Compute STTC for a pair of spike trains
##'
##' The Spike Time Tiling correlation (STTC) is computed for a pair
##' of spike trains. The method is defined in Cutts and Eglen (2014).
##'
##' @title Compute STTC for a pair of spike trains
##' @param a first spike train
##' @param b second spike train
##' @param dt ... |
ee8cf5025181de2a665721c8273038d35cbda701 | c117e26f3e8d61b07eb4ede0f48619a8504ae3d5 | /HW2pt3.R | 188f1b43a8734acf2951f921076fda26cc389c76 | [] | no_license | 1123581321345589/R-Projects | 0fbe5304c81bd12f98d7ea1707172ad5027d9be4 | 4ea3c0d7f76b2b042c2befcaa1bbd63b4c90c965 | refs/heads/main | 2023-06-28T13:29:50.843042 | 2021-07-22T17:36:18 | 2021-07-22T17:36:18 | 388,542,928 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,277 | r | HW2pt3.R | setwd("C:/Users/dunnn2/Desktop/R Working Directory")
data = read.csv("insects_data.csv")
antLength = data$Antenna_Length
Ant_data = data[order(data[,3]),]
avgs = c ()
for( i in 1:(length(antLength)-1) ){
avgs[i] = (antLength[i] + antLength[i+1])/2
}
# for each element in the avgs array{
# -c... |
3cd04a4e95adb80d971e4ebe0a6c8d994c92c385 | 8a2f8858d883c226d73e978c7ee8623e3b704e5a | /code/ann_train.R | 334e229a1ff62f3cd643e3edea9cb9d2355918ac | [
"MIT"
] | permissive | UTD-DOES/M3 | 2348c52cafbc6ccc705b05ac97cb2f8c03368d8e | a08b2a496cc451dd7362872372d29f13893b4811 | refs/heads/master | 2020-03-31T18:45:26.991870 | 2019-03-14T01:57:09 | 2019-03-14T01:57:09 | 152,471,280 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,804 | r | ann_train.R | #-------------------------------- NOTE ----------------------------------------
# 1 This code is to train the ann model for the 1st layer;
# 2 Coder: Cong Feng Date: 2016/06/24 @ DOES Lab, UTD
#--------------------------------------------------------------------------------
ann_train<-function(training_... |
8b01f744b1057a94b36034b6eec7834379520179 | 75db022357f0aaff30d419c13eafb9dddfce885a | /inst/Assessments/LFA41Assessment/4.figureSexRatios.r | d16014dae26f52e0673269e930dbcc96bb86f6df | [] | no_license | LobsterScience/bio.lobster | d4c553f0f55f561bb9f9cd4fac52c585e9cd16f8 | b2af955291cb70c2d994e58fd99d68c6d7907181 | refs/heads/master | 2023-09-01T00:12:23.064363 | 2023-08-23T16:34:12 | 2023-08-23T16:34:12 | 60,636,005 | 11 | 5 | null | 2017-01-20T14:35:09 | 2016-06-07T18:18:28 | R | UTF-8 | R | false | false | 7,208 | r | 4.figureSexRatios.r | #Figure sex ratios
# all sizes combined
require(bio.lobster)
p = bio.lobster::load.environment()
p$libs = NULL
fp = file.path(project.datadirectory('bio.lobster'),"analysis",'lfa41Assessment')
la()
a = c(file.path(project.datadirectory('bio.lobster'),'analysis','lfa41Assessment','sexLFA41polygonSummerRV.rdata ... |
484e420cd7e3f5236b455aa63a07c6a87350ce5d | f4d0a736e7786b7bf9fa9b20a4ca489daf1f22de | /FEV_7_4_wc/FEV_prediction_wc.R | 1422a06b0e6296f47457e1fc8ca145ad35b9c07d | [] | no_license | jakrotgithub/lungfunction | 6825a0ea1f89a677be0df942d6941324561b2e76 | ed9aed0a606cf27caa6c63f634577cb2e1a910d7 | refs/heads/master | 2021-08-24T12:30:35.321064 | 2017-12-09T21:48:21 | 2017-12-09T21:48:21 | 103,309,198 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,689 | r | FEV_prediction_wc.R | make_predictions<-function(lmer_object, predictors){
attach(full_file_name)
#Is this the prediction data? Please use the prediction data, it should be one row of entry with some NULL variables.
#Add a RANDOMID to make predictions
full_file_name$RANDOMID<-1
# Create age category
full_file_name$a... |
77f9a9564c81b5d1b72a793f681c6428505c0c1b | 28c3f73a6d70c2fed4b2d2011bd1d9416a293b0e | /R/performance.metrics.R | 389bbf42b18de6ec4697e14545b429ff0cf5eca8 | [] | no_license | cdeterman/OmicsMarkeR | a8cbe69bc26f98db69b89c02949a3a4d0ab2d8a1 | f9a0f3dfd067c0a0beb9ad421982ad86e63914cf | refs/heads/master | 2021-01-10T20:58:11.111636 | 2017-01-10T15:14:14 | 2017-01-10T15:14:14 | 13,659,839 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,576 | r | performance.metrics.R |
#' @title Performance Metrics of fs.stability or fs.ensembl.stability object
#' @description This will provide a concise data.frame of confusion matrix
#' and ROC statistics from the results of \code{fs.stability} or
#' \code{fs.ensembl.stability}.
#' @param fit.model An fs.stability or fs.ensembl.stability object
... |
87ff1b32ad37acf1590f7e6d88158455e189c734 | 70baf75d407baa766ae885e63aa23dd27a24decc | /review_notifications_foreign.r | a5a3812d963b7cc71401d72ca1d57606e53c7909 | [] | no_license | hazimtimimi/data_review | 94d5f745758f0cb42cdb2297aa78900de2cf3669 | 9c707bd150a2cd2a94634666140636af9c78d626 | refs/heads/master | 2023-08-24T18:12:12.192591 | 2023-08-14T10:02:12 | 2023-08-14T10:02:12 | 39,380,950 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,662 | r | review_notifications_foreign.r | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Look at trends in number of notifications among foreigners
# Hazim Timimi, June 2017
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set up the running environment ----
# - - - - - - - - - - - - - - - - - - - - - -... |
c52c982fc6e2dcbcad1e49a1158676db6b2659cd | e6a26c0ec2e8b97f24a02da1877c1bcc6f233bcc | /R/spectrum.fnc.R | a3b3937184f143770c3bf0a3783a3c6eb7c22da7 | [] | no_license | cran/languageR | 4733c665fee1186e562d13434d75bbc8cf3ee5d2 | 76ffa66a386d2e3df4947ce10c48741bfcaee0fa | refs/heads/master | 2020-05-05T05:06:14.673115 | 2019-01-30T07:20:03 | 2019-01-30T07:20:03 | 17,696,980 | 0 | 4 | null | null | null | null | UTF-8 | R | false | false | 201 | r | spectrum.fnc.R | `spectrum.fnc` <-
function(text) {
tab = table(table(text))
spectrum = data.frame(frequency = as.numeric(rownames(tab)),
freqOfFreq = as.numeric(tab))
return(spectrum)
}
|
a6d0fdd5054760acc198e2d45248d89571b4343e | b3bf7b8c56b2f3e8d8594cccce6f65981c9514e5 | /R/internal.R | 1ccfd2d3154db65df3e7fd5c289c2ab6faeb9348 | [] | no_license | faustovrz/bugcount | 055ee388bcf9049e5d01cf3ad19898220f7787a2 | f3fbb7e9ed5cecae78fdfaa1035e2a87e072be2d | refs/heads/master | 2021-03-27T15:43:12.992541 | 2018-05-04T22:17:49 | 2018-05-04T22:17:49 | 104,142,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,238 | r | internal.R | # Compatibility of graphic device with windows OS.
if (.Platform$OS.type == "windows") {
quartz <- function() windows()
}
# Basic Function Initialization ################################################
# Make vectors of descriptors from the expected column names of the whitefly
# data frame
exp_descriptor <- funct... |
a99caeaadf40a0455d5f6476487ad4b58c7e759e | 105801668ac9b45d0530c7cc1deebec6433db08e | /Lexical Scoping | d4b030b992aaf8d07d7a0f96762390dc7156b521 | [] | no_license | ebenezerbediam89/ProgrammingAssignment2 | 1a598fbf15a20423ae0342f4f6ab938529fc5ecd | b94d285c9cc2322bf10682640d775f2815f83d72 | refs/heads/master | 2020-05-29T09:04:42.916753 | 2019-07-05T08:46:27 | 2019-07-05T08:46:27 | 189,050,788 | 1 | 0 | null | 2019-05-28T15:03:06 | 2019-05-28T15:03:05 | null | UTF-8 | R | false | false | 932 | Lexical Scoping | ## makeChacheMatrix stores a list that can perform functions:
##create matrix, return matrix, compute inverse of matrix and return inverse matrix
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<- NULL
}
get<-functio... | |
1a597437bd89b762a2605f4c2e47fa55ba9663c1 | 484657c476431839017a4c91d1754d6ba18da9a7 | /area_curva.R | 0197ef69786a82dda4b64db95702259d44275449 | [] | no_license | saracebu/TFG | 8b6253db1a80dfa7f9958546b137d0e533c1a0d1 | 7882195bd14f56c160d33681f52832e33e06e378 | refs/heads/main | 2023-07-17T08:37:54.410981 | 2021-09-08T08:51:35 | 2021-09-08T08:51:35 | 399,497,954 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,282 | r | area_curva.R | #' @title Calculate the area under a polygonal line.
#'
#' @description We introduce two positive numeric vectors x and y, which
#' must have the same length. To calculate the area, the difference in
#' absolute value of the current and previous elements of both vectors are
#' calculated, naming them base and hei... |
8b70cee1fab6d59f4be338a82e484a4b797800c3 | 7ebca7fbe69d3a74bd250a716ceaac569b53e94f | /shiny_web_apps/HouseHunt/server.R | cba8df96004789a4bff893d7edaccc38389ff8fd | [] | no_license | mrinaltrikha/dso545_uber_movement_plus_drone_delivery | 2a938a338975fcc4fd67af1cc39413d756161e6c | ce6fff8619524dc6a372fb4eff498623694ecab0 | refs/heads/master | 2020-03-16T14:11:03.344210 | 2018-05-09T08:00:01 | 2018-05-09T08:00:01 | 132,709,789 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,642 | r | server.R | # Load Library: shiny - Web Application Framework for R
library(shiny)
# Load Library: dplyr - A Grammar of Data Manipulatio
library(dplyr)
# Load Library: ggmap - Spatial Visualization with ggplot2
library(ggmap)
# Load Library: viridis - Default Color Maps from 'matplotlib'
library(viridis)
# Define Shiny Server
... |
36e22654628f54395e2268733fd79891b10bb4f8 | f9f42e00cdc3ddb75f4496733fbba28ca1f740b0 | /tests/testthat.R | e0c2bb30f2b0cd860f076a45e462b65f0c49f496 | [] | no_license | richardsprague/actino | 20f36f951cb7a45294225005de8c1e69fc4a7fdd | f4bbaa1c7cf3f520de34e53ef340877ebc9ee07d | refs/heads/master | 2021-12-09T21:08:21.017115 | 2021-12-03T23:37:40 | 2021-12-03T23:37:40 | 80,489,917 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 512 | r | testthat.R | # All test scripts are called from here
# Note that first we read the data that will be used by all test scripts.
library(testthat)
library(actino)
test_check("actino")
# print("running testthat.R")
#
# c <- just_json_files_in("./data/kombucha")
#
# data("kombucha.csv")
# data("kombucha")
# k = kombucha.csv
# k$ssr... |
6ebf26c121b50a06ddd54fe12a565c7209d0e274 | b9d4fdc5b544ffb6158705d1c8e81f670a2931f1 | /man/plot_subgroups.Rd | 5838f919ee87825dad4fd90b84e67ba9fe9f7245 | [] | no_license | cran/nph | 284e6c2ad631edfd62f46a3540c499d26c287476 | e2fa54d4e719b85ad2c40e9ce8b6b0010bea4f1c | refs/heads/master | 2022-06-17T07:47:58.897005 | 2022-05-16T22:20:05 | 2022-05-16T22:20:05 | 236,633,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,115 | rd | plot_subgroups.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/additional_functions_1-1.R
\name{plot_subgroups}
\alias{plot_subgroups}
\title{Draw a population composition plot}
\usage{
plot_subgroups(
A,
B,
colors = "default",
max_time = max(A$Tint),
position = c("stack", "fill"),
title = ""... |
6d3178eb57b0ceadd2e3f560743875970d149289 | 21ddf3011b05427cd69fa66e0321929107bfd58e | /man/formatTree.Rd | 3b8c545d3edae9192e11d88392f1587a59ed6ee9 | [] | no_license | luisrizzardi/TreeAndLeaf | 9293fcfbb2723566f8bd516e026b74dfdb7951f8 | e5fe966e07c5941c6214586d9361e5e21aa66518 | refs/heads/master | 2020-05-17T11:06:43.091842 | 2019-11-04T18:46:48 | 2019-11-04T18:46:48 | 183,676,588 | 2 | 0 | null | 2019-04-26T18:29:49 | 2019-04-26T18:29:48 | null | UTF-8 | R | false | true | 1,369 | rd | formatTree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/formatTree.R
\name{formatTree}
\alias{formatTree}
\title{A theme function for formatting of an igraph to be shown in RedeR}
\usage{
formatTree(gg, theme = 1, cleanalias = FALSE)
}
\arguments{
\item{gg}{An igraph object generated by either \co... |
e6c0b6b1a748911e093f410352f67571e209de99 | 0746beaacc333c85756fc1b4f281bc09da014a89 | /R/add_metadata.R | 29fd42e38eea128fb8066e250a013e94b10d38cf | [] | no_license | wenwenmin/Project-NBT2017-recount | e6d935cd4fae27c15e7e3354df3010d8430ddaa4 | 50ea27f0c5899e088801f696f60f05b95d250f18 | refs/heads/master | 2020-03-27T06:53:32.349037 | 2018-07-28T06:20:41 | 2018-07-28T06:20:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,143 | r | add_metadata.R | #' Add additional curated metadata to a recount rse object
#'
#' This function appends sample metadata information to a
#' \link[SummarizedExperiment]{RangedSummarizedExperiment-class} from the
#' recount2 project. The sample metadata comes from curated efforts
#' independent from the original recount2 project. Curren... |
94e13df694c0bf4b04ffdbcf19a65ac7e8d39e25 | d27c606c99b41e697b2aae73863900e5cf17b59d | /plot1.R | f4982ed4f4221a2170e34a67aaee18abfae70590 | [] | no_license | theam14/ExData_Plotting1 | c526105155b1d6216ef4373a14b94dfd96f68929 | 3a48b4adbf816c9636f86e78c16bd38ce537c83f | refs/heads/master | 2021-01-12T22:11:24.500047 | 2015-06-07T22:44:12 | 2015-06-07T22:44:12 | 36,842,515 | 0 | 0 | null | 2015-06-04T02:14:43 | 2015-06-04T02:14:42 | null | UTF-8 | R | false | false | 294 | r | plot1.R | # Script used to plot into a png file, named 'plot1.png' the Plot 1
# described at the project 1 assignment, for Exploratory Data Analysis Course.
source('run_plot.R');
# Load Data
data <- loadData();
# Perform a plot at the PNG file 'plot1.png'
png("plot1.png");
runPlot1(data);
dev.off(); |
38928ab66c960e7a5bdecaf01a9a7af445d98d4b | 44abd544104271bc9bd73faf892aebe75642152b | /PCA_EXAMPLES.R | f39448ad10c17db303a638b63c5d83be7f896028 | [] | no_license | JHubb565/R-Code | a50c49535f1501b9ec8aae9844921130feca1086 | fa42a8cb41f1d99fcbdc0df18a71f190a697002f | refs/heads/master | 2021-05-14T03:53:24.448658 | 2019-07-10T14:22:58 | 2019-07-10T14:22:58 | 116,629,409 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,711 | r | PCA_EXAMPLES.R | ################################################################################
Justin Hubbard
################################################################################
# load in data
getwd()
setwd("C:\\Users\\malan\\Dropbox\\_Purdue\\_Teaching\\DM\\6_Dimension Reduction")
# Book Example - p.96 1990... |
8bb703b64659e69850593113b20df4597e8688f2 | 880251c02cfe2a75061745308404f967246c31ad | /man/generateHazardMatrix.Rd | 77676719c586f8adeee4014226864bf86f73b3b1 | [] | no_license | blasern/gems | efe0094764c3e21dee5c10a9521b9f16ad85983d | 12cfd4cc6858a7aa72cd42e88a6b867db0d17f78 | refs/heads/master | 2022-07-12T15:28:51.889025 | 2022-06-08T07:54:10 | 2022-06-08T07:54:10 | 35,159,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,040 | rd | generateHazardMatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gems.r
\name{generateHazardMatrix}
\alias{generateHazardMatrix}
\title{generate template for transition functions}
\usage{
generateHazardMatrix(statesNumber)
}
\arguments{
\item{statesNumber}{the number of states to be considered.}
}
\value{
... |
d119c89d9a2c1a7bab54f6a3c9c0ceacf481b3ff | 753e3ba2b9c0cf41ed6fc6fb1c6d583af7b017ed | /service/paws.s3/man/delete_bucket_cors.Rd | d900a65dcb987d4374fe62259830058ff6594fd3 | [
"Apache-2.0"
] | permissive | CR-Mercado/paws | 9b3902370f752fe84d818c1cda9f4344d9e06a48 | cabc7c3ab02a7a75fe1ac91f6fa256ce13d14983 | refs/heads/master | 2020-04-24T06:52:44.839393 | 2019-02-17T18:18:20 | 2019-02-17T18:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 608 | rd | delete_bucket_cors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.s3_operations.R
\name{delete_bucket_cors}
\alias{delete_bucket_cors}
\title{Deletes the CORS configuration information set for the bucket}
\usage{
delete_bucket_cors(Bucket)
}
\arguments{
\item{Bucket}{[required]}
}
\description{
Deletes... |
e6e01d7f1792c8161826128d5306b5da3ce2a3f8 | a1405253a430168fe1b412defcec2d70271d65bd | /Re3-readability/src/get_readability_stats/readability-snippets-r/snippet80.R | 25498f2f291c6c205f718368d7a05f05d09d131e | [
"MIT"
] | permissive | Re3-reproducibility-readability/21-05-Re3 | 4ccb75f671ff8c2c905cd823068c99de9f5aacc2 | 8c35318fabcffa2fb83a588b91b45d0cdd5aa04e | refs/heads/main | 2023-04-20T23:18:33.066671 | 2021-05-12T18:07:28 | 2021-05-12T18:07:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 608 | r | snippet80.R | # bind income to the quantiles
lpr_ci_med = cbind(jew_seq, lpr_ci_med)
#plot
plot_pred_LPR_both = ggplot(lpr_ci) +
geom_line(aes(x=jew_seq, y = mid, color = 'black')) +
geom_ribbon(aes(x=jew_seq, ymin=lower, ymax=upper), fill = 'red', alpha = .25) +
xlab('pctJews 1931') +
ylab('Predicted pctLPR Vote') +
... |
7c48d1e969f5d67bb80daa82fb184f2bae16d0d0 | 45990fe7a844e0f18fc983238b3aaf88d4d83f60 | /plot1.R | a6b4ce8517bf2a567b9ea33a5ddaa17dd71c3154 | [] | no_license | ClairexwWang/ExData_Plotting1 | 91e780a39855c805e4019b0f4f6b1f93908565e2 | 0788a3d70691dafe1019f958b7a70e1fbfe3d230 | refs/heads/master | 2020-12-30T20:48:22.645628 | 2015-04-12T18:36:47 | 2015-04-12T18:36:47 | 33,823,850 | 0 | 0 | null | 2015-04-12T16:13:51 | 2015-04-12T16:13:51 | null | UTF-8 | R | false | false | 361 | r | plot1.R | > mydata2<- read.table("household_power_consumption.txt", na.strings = "?", header=TRUE,sep=";")
> mydata_sub <- mydata2 [mydata2$Date== "1/2/2007" | mydata2$Date == "2/2/2007",]
> png(filename="plot1.png", width = 480, height = 480)
> hist(mydata_sub$Global_active_power, main="Global Active Power", xlab="Global Active... |
c57e29307acc718ecd852be58e4da3445099ba83 | 84b5ba1d2ae5d41f0ff9ba9f9b793366d0207f0b | /man/read.zTree.Rd | 532400eab58d9201211ecb5961d477470760c719 | [] | no_license | cran/SciencesPo | f09bc2d2a23cd15b380892643825d43fee764794 | b957c971d0f740318e4a6327459a3627b519fa51 | refs/heads/master | 2020-12-19T19:01:50.770536 | 2016-08-05T00:24:29 | 2016-08-05T00:24:29 | 17,693,640 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 627 | rd | read.zTree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zTree.R
\name{read.zTree}
\alias{read.zTree}
\title{Reads zTree output files}
\usage{
read.zTree(object, tables = c("globals", "subjects"))
}
\arguments{
\item{object}{a zTree file or a list of files.}
\item{tables}{the tables of intrest.}
}... |
73a0a8fa835a6938e8288093467b5c57262e9cbe | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/pangoLayoutLineGetXRanges.Rd | d6376e9a115d7d19c7eca7c5b5d92dd85d01e941 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 1,610 | rd | pangoLayoutLineGetXRanges.Rd | \alias{pangoLayoutLineGetXRanges}
\name{pangoLayoutLineGetXRanges}
\title{pangoLayoutLineGetXRanges}
\description{Gets a list of visual ranges corresponding to a given logical range.
This list is not necessarily minimal - there may be consecutive
ranges which are adjacent. The ranges will be sorted from left to
right. ... |
944d4f79321ca5718ceaebfcd5a6a51033c9e064 | 6ae574fc7fa9b720c361b9a47c51684cdd302f96 | /man/summary.CADFtest.Rd | 6bf0c0c79cab5c05619e9df386a4c23e6981b39d | [] | no_license | cran/CADFtest | 7e498795d51f7bf72394d634daf327426c68dde8 | 405d9d90df237f6c5dbaa4da644172c178c1f8ef | refs/heads/master | 2021-01-21T12:23:33.687891 | 2017-06-02T16:10:31 | 2017-06-02T16:10:31 | 17,678,203 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,583 | rd | summary.CADFtest.Rd | \name{summary.CADFtest}
\alias{summary.CADFtest}
\title{Function to print a summary of CADFtest objects}
\description{
This function conveniently prints the detailed results of the Covariate-Augmented Dickey Fuller
test carried out in \code{CADFtest}.
}
\usage{
\method{summary}{CADFtest}(object, ...)
}
\argument... |
88b6b946ffa872365c494391193a6d4c906930f7 | f9241a98cbb5bd22735f605b8e9194229100ec7c | /code/PBMC_extract.R | 6139cab78f39b37c40e1f454703d5db7e31bd023 | [] | no_license | gvrocha/scVI-container | a5fc776d5e244589633a4a61f82a8bbe8c23de50 | c8ab76574d0716e13af1010b3fbfd6e2b6c3c911 | refs/heads/master | 2020-12-29T06:41:30.112122 | 2020-02-29T01:42:57 | 2020-02-29T01:42:57 | 238,496,713 | 1 | 1 | null | 2020-02-29T01:12:36 | 2020-02-05T16:30:43 | Dockerfile | UTF-8 | R | false | false | 1,240 | r | PBMC_extract.R | library(Matrix)
library(scone)
library(plyr)
originals_dir = "/base/scVI-data/reorganized/originals"
processed_dir = "/base/scVI-data/reorganized/originals"
# get cleaned data by merging genes from original scone pipeline and microarray
load(file.path(originals_dir, "PBMC/scVI_scone.rda"))
barcodes = scone_obj@colD... |
7e2d382c37ca1c677fbe589b83bad03425dbf2c3 | 987a8f2bad88f95ccc761c5a4a399eec60171123 | /man/is_cpdag.Rd | 6d9a1518797fb975ca06fc5d5521a464c27be4d0 | [] | no_license | annennenne/causalDisco | defe81fe780c4e23eb0de5a9aa5b418816ce7bfa | ab7c97e22dc611e436c65ec3cd492f9fd802160e | refs/heads/master | 2022-07-10T02:53:20.375785 | 2022-06-27T10:15:17 | 2022-06-27T10:15:17 | 192,750,826 | 9 | 0 | null | null | null | null | UTF-8 | R | false | true | 374 | rd | is_cpdag.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{is_cpdag}
\alias{is_cpdag}
\title{Check for CPDAG}
\usage{
is_cpdag(amat)
}
\arguments{
\item{amat}{An adjacency matrix}
}
\value{
A logical.
}
\description{
Check for CPDAG
}
\details{
Check: Is adjacency matrix proper CPDAG? Se... |
205b093281de7d5dde11e5e053cb17af7f7ee37f | d5d52840065492b2b73172be6bd0738e6a708dff | /package/fwPackage_1.0_source/R/ClarkWest.R | a5b68b33746d5e9a31dded981e505fcbf53010d2 | [] | no_license | grayclhn/oos-overfit | 9f3e1aca769d4bbba45b84044e609b37a843b9a0 | 779f466158fa4254a8845b47c5b003dedab69ccc | refs/heads/master | 2021-01-17T08:20:04.806990 | 2017-05-05T16:18:09 | 2017-05-05T21:27:21 | 73,234,970 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 500 | r | ClarkWest.R | ClarkWest <- function(x,...) {
null.model <- model.null(x)
alt.model <- model.alt(x)
unname(sapply(mapply(function(f.null, e.null, f.alt, e.alt)
e.null^2 - e.alt^2 + (f.null - f.alt)^2,
f.null = forecasts(null.model),
f.alt = forecasts(alt.mode... |
8cc6ee771ba058e2d22e2c61736cdd97149b1bc8 | 036983f65dc517593f84d44cb14a712ea0687225 | /homeworks/homework_10/Sinski_Bartosz/server.R | 99a4a05fe08700c96238d710b730defc9590fa18 | [] | no_license | iketutg/2021Z-DataVisualizationTechniques | 027c0228ed95e37ddd73500909117449f6b87e25 | 125077c8b02426b779e351324c3c6d4e96ad64c1 | refs/heads/master | 2023-03-19T08:59:42.177496 | 2021-02-23T20:08:31 | 2021-02-23T20:08:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,032 | r | server.R | library(plotly)
library(shiny)
library(dplyr)
library(ggplot2)
library(ggthemes)
source("readingData.R")
function(input,output,session){
output$plot1 <- renderPlot({
if(input$grade == 1){
mplot <- ggplot(filter(Mt,Country == input$Countries,grade=="value4")) + geom_bar(aes(factor(year,levels = sort(year,dec... |
72252116a50c6d36075c9c3d454d47c8bd9339c0 | 2d2b923fb73cbe10dc958f0f44f278f607b05e94 | /tests/testthat/test-DataAccess_CompaniesService.R | ca092149bced611e0c043997efcf90daa415a68f | [
"MIT"
] | permissive | nik01010/rBuildReleaseTest | 7483f23a7615fca4ea45b5bd11a41b7271d09638 | f4b7fb6ba2fa9a9aa4d12892daa4c1bf51d85bfa | refs/heads/develop | 2021-06-28T16:46:53.062162 | 2021-06-25T18:36:01 | 2021-06-25T18:36:01 | 219,200,692 | 1 | 0 | NOASSERTION | 2020-04-13T12:30:07 | 2019-11-02T19:04:18 | R | UTF-8 | R | false | false | 9,190 | r | test-DataAccess_CompaniesService.R | options(stringsAsFactors = FALSE)
context("CompaniesService")
mongoConnectionString <- Sys.getenv("MONGO_CS_UNIT")
testContext <- rBuildReleaseTest::ApplicationDbContext$new(
connectionString = mongoConnectionString,
database = "IntegrationTest",
collection = "Companies",
verbose = FALSE
)
companiesSchemaVal... |
3788931187a9a990709277d3e38fe6a08b3b2390 | 1d2128e15f37b04e0d5ac7ec25458b852ad08b16 | /plot2.R | 362ecf4840a8990a3c2135d624bec34eebb953cf | [] | no_license | jjaimon/ExData_Plotting1 | 0ec86cef5af68453df2bbdf8ad9fa701d8ea13d9 | bc507f4ac1a7c0cceba24c026896ade05970b069 | refs/heads/master | 2021-01-23T23:38:57.611425 | 2014-06-05T19:10:32 | 2014-06-05T19:10:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 404 | r | plot2.R | #
# Course Project 1: Exploratory Data Analysis
# Plot 1. Histogram of Global Active Power
#
source("data.prep.R")
#
# Draw directly to the file
#
png(filename="plot2.png", width=480, height=480, units = "px")
#
# Draw a line chart
#
plot(data.df$DTime, data.df$Global_active_power, type="n", ylab="Global Active Power... |
803ab271f7fa25e7a1df5ec1a7669a2a74ae3eb9 | de98b3b57a8d2c588f8d78117626cf77a0e61400 | /elasticities.R | 654b5a6c7bd16b8f8066384c118da40c46e416c4 | [] | no_license | rgr02/Microeconometrics | 8c09972f9bb7994d53cd547e3073d662f95cc89d | cbb69824e734df582b5c90c3b6a011d18bb57f6d | refs/heads/master | 2021-07-09T13:33:54.169864 | 2017-10-06T09:00:12 | 2017-10-06T09:00:12 | 105,984,605 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,624 | r | elasticities.R | # ------------------------------------------------------------------------------------------------------------------------------------------------------
# Dealing with Elasticities
# -----------------------------------------------------------------------------------------------------------------------------------------... |
23b1071180cc085bc07f8c05c5669139b7dba5d7 | 1424a179e9f5695a4ce645073391ca4c2cad9c18 | /wilke-purl/wilke-multi-panel_figures.R | ee54c34be37e81eb69d89276dc52354812b6428e | [
"MIT"
] | permissive | datalorax/psych-seminar21 | 229f439ad09f8f156bf53e68d2ef874cb856fc37 | ab6d504737e862eeaddf035048283f8cc9dd231d | refs/heads/main | 2023-04-07T08:48:13.773563 | 2021-04-07T23:22:10 | 2021-04-07T23:22:10 | 353,508,145 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,049 | r | wilke-multi-panel_figures.R | ## ----echo = FALSE, message = FALSE, warning = FALSE----------------------
# run setup script
source(here::here("wilke-purl", "_common.R"))
library(forcats)
library(stringr)
library(ggridges)
## ----titanic-passenger-breakdown, fig.width = 5, fig.asp = 3/4, fig.cap = '(ref:titanic-passenger-breakdown)'----
titanic %... |
d500a5a96008469654779b4abfd7d59cd4b4e731 | 1ce3e0ae1c9bd1eba75e4a88dca1a2dab2900945 | /plot4.R | e952eded6e48c3abf15416a8b4a178f8ad2a3147 | [] | no_license | drleyhe/ExData_Plotting1 | eb0e7cb212bcb487664fe356bccbeb0eb8c21601 | a60d99c958dfa185646d95186c5b84aa0f4dbe19 | refs/heads/master | 2021-05-14T16:47:51.287220 | 2018-01-03T20:44:12 | 2018-01-03T20:44:12 | 116,029,726 | 0 | 0 | null | 2018-01-02T15:33:15 | 2018-01-02T15:33:14 | null | UTF-8 | R | false | false | 1,153 | r | plot4.R |
data <- read.table("household_power_consumption.txt", header=TRUE, sep=';', stringsAsFactors = FALSE)
datasubset <- subset(data, Date %in% c("1/2/2007", "2/2/2007"))
datasubset <- data.frame(datasubset , DateTime = strptime(paste(datasubset $Date, datasubset $Time), "%d/%m/%Y %H:%M:%S"))
png(filename="plot4.png", wi... |
cf7e1f9fd1d660fbe91ebf17d64ae0eb09339989 | 9b0e9c1e919b9abc7e1b321cc5d7e2a14451037b | /man/set_theme.Rd | 2bd2415e9a0404112dee449efcdd66a25231a129 | [] | no_license | atlas-aai/ratlas | abbcf9050885c6189e8bec2d6dfa42bff301664b | 7e88f6a826b6e0d855d49e960c84ef3182b64aa8 | refs/heads/main | 2023-07-24T20:21:59.886545 | 2023-06-29T21:41:00 | 2023-06-29T21:41:00 | 150,454,937 | 30 | 10 | null | 2023-06-29T21:41:01 | 2018-09-26T16:14:04 | R | UTF-8 | R | false | true | 1,115 | rd | set_theme.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/set-theme.R
\name{set_theme}
\alias{set_theme}
\title{Set default ggplot2 theme}
\usage{
set_theme(
font = "Arial Narrow",
discrete = c("okabeito", "atlas", "ggplot2"),
continuous = c("viridis", "magma", "inferno", "plasma", "cividis", ... |
f4d39dceff5516b8a8a2c71cc3aa253b46c24f16 | 88442e1b9eb811b5bbbbe2a50c159bb197a21c90 | /Subspace_v0.1.R | 5e8d0cd8e4c0d8a65d2c8438675fb146aa7f6a83 | [] | no_license | prashantde/CAS_RPM_2017_Public | 0ff1cf92fd8c90ea94080263bbf67e483deead21 | cda11d0fb3edac073de2a350a02f63b4b7afd63d | refs/heads/master | 2021-01-23T01:17:17.920604 | 2017-03-27T21:14:16 | 2017-03-27T21:14:16 | 85,892,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,723 | r | Subspace_v0.1.R | #install.packages("ElemStatLearn")
#install.packages("HighDimOut")
#install.packages("scales") ## If v0.40 needs to be updated
##############################################################################
#1 Import High dimensional data
#############################################################################... |
6114ad26721b81f5e961d95ec8a5d1fb13669c99 | c4bd48cc8156e85212ca2d6ef522a8ea7b318aeb | /man/rec_skogsfugl.Rd | 3b00dca35a465d5aa2d41f2dab0ac5bf4884a815 | [] | no_license | ErlendNilsen/HFP | 9af4007e8baf2bb5587ddf3c96fdfa93ea822592 | 8ceb7415fcb2d264edea0be17fb6037dba887042 | refs/heads/master | 2020-07-09T02:57:43.875307 | 2019-08-23T07:14:23 | 2019-08-23T07:14:23 | 203,856,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 582 | rd | rec_skogsfugl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rec_skogsfugl.R
\name{rec_skogsfugl}
\alias{rec_skogsfugl}
\title{Estimate brood size - forest birds}
\usage{
rec_skogsfugl(strat)
}
\arguments{
\item{strat}{Level of stratification - 'No', 'OmradeNavn' or 'Year'}
}
\description{
Estimates br... |
5a2ef99dc26cbe25031a56216604def0e0296fb8 | c15420ec3bb8809329419e97f7d274c81b11ff5d | /R/qpcr_curve.R | 43dd294a5a558d93c16e3ed67cfd3caf49a27360 | [] | no_license | infotroph/Prairie_seq | 378196db4762ac1a2a39a31713fbe77156b7728f | b93c01edcf5a5f3f45a4bb8b455856cffec37c2e | refs/heads/master | 2021-05-01T01:01:43.808133 | 2017-12-18T07:47:23 | 2017-12-18T07:47:23 | 29,328,771 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,475 | r | qpcr_curve.R | # Convert melting curves from a Bio-Rad QX200 droplet PCR analyzer into melting peak form for analysis of melting temperature heterogeneity.
# Usage: qpcr_curve.R datafile.csv idfile.csv
library(qpcR)
source("R/order.plate.R") # for correct sorting of "A1, A10, A11, A12, A2..."
extract.meltcurve = function(mc){
# Eac... |
63a3a4542614f77b2c60a3b4b85267b60e73d2b8 | 8fc163a7184ca1481f617f1986da01be36974b4f | /R/RefactorBD.R | eeece145376e67572fad41a5384c10d67a32c387 | [] | no_license | TomasSG/Parkinson-BecaCIN | 474ac46663572e4104f54ef5a3af0c5d6b7f41ec | 384881e0cd37577a7fdcf166836dcb06c8b8f49d | refs/heads/master | 2023-07-14T19:52:48.091136 | 2021-08-27T00:12:42 | 2021-08-27T00:12:42 | 295,257,148 | 0 | 0 | null | 2021-01-26T19:38:11 | 2020-09-13T23:37:14 | HTML | UTF-8 | R | false | false | 2,403 | r | RefactorBD.R | # Vamos a hacer un refactor de las variables categóricas
library(tidyverse)
PATH_DATOS_IN <- "./data/bd_final.csv"
PATH_DATOS_OUT <- "./data/bd_final_refactor.csv"
leer_archivo <- function(path){
df <- read.table(path, header = TRUE, sep = ";", dec = ".")
return(df)
}
escribir_archivo <- function(df, path){
... |
94f43d2cbecb8cec458f6c1bdf630903a511090c | a5d59c05c906769461b849c605a00b5d521f4052 | /lab3/lab3_p2/generatePlot.R | 4d4ce50dc24ebe7ce58a94c39d4248e94e1f2ce9 | [] | no_license | Caio-Batista/operational-systems | 36a23685ff4abb2bd14ffc13d917d6dccc74f14d | e59434de6f10c32dd72ff5c8233161a859957da2 | refs/heads/master | 2021-03-22T04:48:54.132157 | 2017-04-05T19:52:08 | 2017-04-05T19:52:08 | 75,005,567 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 597 | r | generatePlot.R |
mydata4 = read.csv("exec.csv")
png('plot_lab3_p2.png')
attach(mydata4)
par(mfrow=c(2,2))
boxplot(Runtime~Instancia,data=mydata4, main="Instancia X Runtime",
xlab="Instancia", ylab="Runtime")
boxplot(Switches~Instancia,data=mydata4, main="Instancia X Switches",
xlab="Instancia", ylab="Switches")
bo... |
b7ad1671225cb7805e630a61ac5fa63168b2019b | a54a6aae7c7294612882cac46b1d530b6b89570e | /man/spline_hematocrit.Rd | 0c74d6cebb455e7e9d4836ed89d05e1617f0ad28 | [] | no_license | HQData/httk | a4a5f3ff8db6a6f7a73cb35db69300e438595205 | 844e5e32865b3e8920a0a5d1b365e4f81bb62e64 | refs/heads/master | 2020-04-21T03:12:06.086486 | 2019-02-04T19:33:21 | 2019-02-04T19:33:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,178 | rd | spline_hematocrit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{spline_hematocrit}
\alias{spline_hematocrit}
\title{Smoothing splines for log hematocrit vs. age in months, and KDE residuals, by
race and gender.}
\format{A data.table with 6 variables: \describe{ \item{\co... |
168ee776918ddde0a7d5a418df6e8285d06096be | caea54b3de3c4373bedffbd9d09e47e244636019 | /tests/testthat/test_rinstall.r | e7a0ae549176af0216cc3ea02ebef35364ff6167 | [] | no_license | ashiklom/rtcl | 66ce642dce90727c40f066b0ee8a2016da315e41 | 995519859544900ba2056a711cec8371da5a4bf0 | refs/heads/master | 2023-01-31T00:14:05.680419 | 2020-12-03T22:19:13 | 2020-12-03T22:19:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 938 | r | test_rinstall.r | context("rinstall")
test_that("rinstall works for remote packages", {
skip_on_cran()
pkgs = list(
list(str = "rdatsci/rtcl/tests/testthat/assets/package", name = "testpkg", type = "GitHub"),
list(str = "rdatsci/rtcl/tests/testthat/assets/package@master", name = "testpkg", type = "GitHub"),
list(str = "... |
a3b6471b795baa4be260142990067098e99ae6af | 0a6027e3a34be0436e9322e7fbb80ab7e2580ff0 | /man/gen_axis_y_scale.Rd | e33a5fd150ba2a360d2eeca5083de95baf045814 | [
"MIT"
] | permissive | leofmr/survey.analysis | 9ffb0a626dfc5bfad9b6ba10922cae71272b4455 | 71c5c4d0f331c22775daf1278b32b89ae2ea41f7 | refs/heads/master | 2022-12-26T20:45:58.032005 | 2020-10-13T21:57:49 | 2020-10-13T21:57:49 | 301,246,927 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 512 | rd | gen_axis_y_scale.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_bar_graph_aux.R
\name{gen_axis_y_scale}
\alias{gen_axis_y_scale}
\title{Gerar rótulos do eixo y}
\usage{
gen_axis_y_scale(negative_col, intervals = 0.25)
}
\arguments{
\item{negative_col}{Character. Nome da coluna que é negativa}
\item{... |
325fa3ef3644dc65b320025f6894545315335d21 | 0700dab5e1804ed4d40a368555792037fbe58417 | /Code/feature_EDA.R | a6d0eedacca094bd29ed1f9fe9aeaebab1d9175a | [] | no_license | amytildazhang/DeanonymizationProject | 4fc58ce7ab7e06f85937670cc9f96cbf5d424554 | 551b9f57147c2c01ef00769b22255bb35ce71de3 | refs/heads/master | 2021-08-28T15:14:51.405334 | 2017-12-12T15:08:30 | 2017-12-12T15:08:30 | 103,578,773 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,128 | r | feature_EDA.R | library(readr)
library(data.table)
library(dplyr)
library(lubridate)
library(tidyr)
library(ggplot2)
library(binr)
library(purrr)
library(magrittr)
file <- "RC_2017-02"
folder <- "../Data/"
# n_authors <- 5000
#scores are considered reliable if the comment was collected after allowed_gap
options(tibble.print_max = Inf... |
f06f6fda3d436a45dedfb08460c104068c7c5851 | e2988ee8e9e4d954fb8c9b450d900f74fcffcc17 | /man/Example6.6.3.Rd | 67bd31402b4aa74bec95531ce55e3b8c011d9cac | [] | no_license | Allisterh/CGE | 64e3ee2d8e60017d8feb2c02c85dd3330158ac87 | 49dcff5060be56a5c6a19a261ad573eedad8cd90 | refs/heads/master | 2023-03-21T18:10:14.964009 | 2020-05-24T04:00:11 | 2020-05-24T04:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 473 | rd | Example6.6.3.Rd | \name{Example6.6.3}
\alias{Example6.6.3}
\title{Third Part of Example 6.6 in Li (2019)}
\description{This is the third part of Example 6.6 in Li (2019),which illustrates the second country of a two-country economy.}
\usage{Example6.6.3()}
\author{
LI Wu <liwu@staff.shu.edu.cn>
}
\references{
LI Wu (2019, ISBN:... |
b7aebee89bc01e4b5122065878d919ce3252a01a | c4f065fcdc73605b9944b69bc981b339d8356ef4 | /R/INDperform.R | 565de68d3b6b9f031b20d6fef30a45bed7116b43 | [] | no_license | saskiaotto/INDperform | a9c566a774bdfd58480e0493eb564761abef8621 | dffa5a2af4f2a10ba53e2622da9e540fd9dbcdde | refs/heads/master | 2021-11-11T11:26:54.013687 | 2021-10-23T19:13:44 | 2021-10-23T19:13:44 | 106,686,773 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,828 | r | INDperform.R | #' INDperform: Performance validation of ecological state indicators
#'
#' INDperform provides an implementation of the 7-step approach suggested by
#' Otto \emph{et al.} (2018) to validate ecological state indicators
#' and to select a suite of complimentary and well performing indicators.
#' This suite can be then us... |
34bc464587c3bcf89b1b5a8ea8de4e55ad5638cb | 51f26f6e159c49fc4e4488c5689bf7c7c3a79f21 | /prob_Distributions/HyperGeomWithbigSample.R | f461f1ca85ffb3b1545add68cdad9816ffd61fb0 | [] | no_license | michaelgobz/probabilityDistribtions | db041392f5fcd58bb0361585edf9ee7d54ffd258 | 35493324e92a725f70bd78651a5fd63fc8d93e26 | refs/heads/master | 2021-04-14T15:21:37.990384 | 2020-03-22T18:06:02 | 2020-03-22T18:06:02 | 249,241,459 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 657 | r | HyperGeomWithbigSample.R | N <- 10000 # assigning 10000 to N which is the population size
n <- 5 # assigning 5 to n which is the sample to select
x <- rhyper(N, 300, 100, 100) # generating the hypergeometric variables randomly passing the respective arguments to the rhyper function
# we plot the graph of hypergeometric distribution based on... |
6a5776014dd3b6519a23e5672e77655b69a331f2 | f9f143594922d6dfc386d86e1f1584d98008ccb1 | /bin/plot_venn.R | b43300ce43be7991c16bcfb2c2eb301c4d4a77ad | [] | no_license | rwtaylor/nf-maf-snps | 7da4e06aa7d8180211ff7623fed405e013137d89 | 443bc1abd7d84f21f700530523c558397239249e | refs/heads/master | 2021-01-22T23:26:15.755813 | 2017-03-22T00:29:04 | 2017-03-22T00:29:04 | 85,637,657 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,723 | r | plot_venn.R | #!/bin/Rscript
# Plots venn diagram
# argument 1: cpus
# argument 2: comma separated list of populations
# argument 3: path to sample_groups
# argument 4: path to *.traw file
# argument 5: output prefix
library(readr)
library(tidyr)
library(dplyr)
library(gplots)
library(foreach)
library(doMC)
library(gplots)
args <-... |
aa33e05944694a5ea754f76256971960ec205316 | 9fdc16616cfcc329f6915b2c8ebea8a14ff9cdfb | /results/5-projectivity-no-fact/rscripts/analysis.R | 546bd2758cf5d8e706703be8e698979f6cf32476 | [] | no_license | judith-tonhauser/projective-probability | 7bf703a53d4e4cff62732ddbcfef5d783f6eca5c | 8d8658b31cc679ba8cc0c62053876016367070bc | refs/heads/master | 2022-12-22T04:40:02.482838 | 2022-12-15T09:12:59 | 2022-12-15T09:12:59 | 219,491,209 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,899 | r | analysis.R | # Factives paper
# 5-projectivity-no-fact (certainty ratings, continuous task)
# analysis.R
# set working directory to directory of script
this.dir <- dirname(rstudioapi::getSourceEditorContext()$path)
setwd(this.dir)
source('helpers.R')
# load required packages
library(tidyverse)
library(tidybayes)
library(dplyr)
l... |
c09dda8641b86057e46763c7396c11f603561aac | 8aee8bed5a2828acfcbc27e0de2df4240ec7aac8 | /gbm/gbm_func.R | e38aa6276bbef72bb8b6a8be610d4e431a62f57d | [] | no_license | melinkoh/IowaHousing | 51effaadc441667d825be7caabd1af47769ef308 | 3abf3e4bfd87427b4222f099047ce728d33a405d | refs/heads/master | 2021-01-16T19:10:36.897650 | 2017-08-20T19:41:55 | 2017-08-20T19:41:55 | 100,147,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,001 | r | gbm_func.R | gbm_func <- function(datalist){
# The input "datalist" is a list generated from transform function, which does preprocessing of the data
# Get training, test and high-correlation variables from "datalist"
train <- attr(datalist,"train");
test <- attr(datalist,"test");
# Build a GBM model
current_mod... |
660862ac3abdc61bb7bdbe1f41c8c159bbf12124 | 0e311f3197baac2efea92039be9fce5d648a8969 | /hello.r | 8049e5b959fb187adcfbd836b6efef81012e2278 | [
"MIT"
] | permissive | iajzenszmi/CodeCode | dbd6e600e14886879836259fab7bed1fc63578f9 | b3c58357f346c49025291f28b94fee2666523b55 | refs/heads/master | 2023-02-16T23:03:40.956645 | 2023-02-08T08:05:17 | 2023-02-08T08:05:17 | 108,805,048 | 2 | 1 | null | 2023-02-08T08:05:20 | 2017-10-30T05:18:40 | Fortran | UTF-8 | R | false | false | 77 | r | hello.r | # My first programming game.
myString <-"Hello from Ian"
print ( myString )
|
d833b9928eb057f5a1e29cf3c568d311a52e5a29 | 233b586d268d93a39ab6ebe9bd63fe7c750a3648 | /R/User.R | 587fc98ac4b747fbbc9c71267689f0f936cb051f | [
"MIT"
] | permissive | Glewando/polished | 1fa7d26216208c1759f16190dbe351ad1362ab79 | de5f9e4bc10f4ffc3e8ae61eec9f5e592c4876bf | refs/heads/master | 2020-07-13T00:58:07.184702 | 2019-08-28T03:01:21 | 2019-08-28T03:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,041 | r | User.R | #' User
#'
#' R6 class to track the polish user. An instance of this class named `polish__user` should
#' be created in "global.R" of the Shiny app.
#'
#' @export
#'
#' @importFrom R6 R6Class
#' @importFrom httr GET content stop_for_status
#' @importFrom jsonlite fromJSON
#'
#'
#'
#'
User <- R6::R6Class(
classname ... |
501191d7a009d71ed31678fbf7e955a4129e02b5 | e869eeeeda90f5da4e0454b77d3a4e3fc4ae5392 | /cachematrix.R | acfb9ff3b776d67927899d833413e751d892a0ad | [] | no_license | Tuliro725/tulirorprogramming | cb449cd9d7b3d730c4f278ae458d1e2380414aa3 | e679f5f582a4f5bc14846d29bb423e3f04f18b59 | refs/heads/master | 2021-01-20T20:08:00.463377 | 2016-05-29T15:54:51 | 2016-05-29T15:54:51 | 59,949,934 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,106 | r | cachematrix.R |
# This created function creates a list containing a function that is able to do the following steps:
# 1. set the value of the matrix
# 2. get the value of the matrix
# 3. set the value of inverse of the matrix
# 4. get the value of inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {var1 <- NULL
... |
69d33d04129989717d9196c3a8109df54ce71674 | 5e1dcc20e409a5513796c387065fd1859acc46c9 | /utils-r/.local/bin/rnewpkg | eb2aa93cebc136513cec2b192bb7a541d95af474 | [] | no_license | ashiklom/dotfiles | da2ef5ec85c4bd4e959d7fa20a9a35ae12f8dabe | e64c06724827008ca64b7076bfae9d446ba663cc | refs/heads/master | 2023-08-03T23:31:25.499631 | 2023-07-25T19:49:01 | 2023-07-25T19:49:01 | 36,020,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 119 | rnewpkg | #!/usr/bin/env Rscript
args <- commandArgs(trailingOnly = FALSE)
devtools::create(path = args)
# vim: set filetype=r:
| |
c773e1b721c9936da7633f2f1daf1a8068389f38 | 6c785f33479f50f79ab63514c241e0ea95115418 | /analysis/scripts/results/table_all_models (Conflit de casse (1)).r | 5f20057b557ce0fae355b155f15577fa3ce29055 | [] | no_license | DominiqueGravel/ms_probaweb | ad3b43c844ec5e1d67bf1abbe473ca70837c470d | 6d37a7e330043af92f0fe357bf5195fd77d962bc | refs/heads/master | 2020-03-27T16:35:57.598866 | 2018-08-30T19:07:20 | 2018-08-30T19:07:20 | 146,794,173 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,288 | r | table_all_models (Conflit de casse (1)).r | ##################################################################
# Compute the likelihood for each model and each species pair
# Record the results in a summary table
# Dominique Gravel
##################################################################
rm(list = ls())
# Source the functions
source("./scripts/functi... |
b872b448772a100b3b0c9494b7942b0ccd2eeb39 | eed0f06b17a05967f7cb474f9ec0a64da3563be4 | /trees/celltypes_hclust_hvc_ra_x_gaba_int_sub2_regress_zf_ortho.R | 3c2328331881c21161a918fd91f5f5e93fa5f6ac | [] | no_license | bradleycolquitt/songbird_cells | 7c4a4b00893eb8324499b84a2e656ecb92d01d6d | c5f2513015af8ac6244309bc6c306de11d5fa148 | refs/heads/master | 2023-04-15T22:31:26.496099 | 2022-02-10T18:32:30 | 2022-02-10T18:53:30 | 262,400,801 | 2 | 3 | null | 2020-05-12T19:59:28 | 2020-05-08T18:37:10 | R | UTF-8 | R | false | false | 6,994 | r | celltypes_hclust_hvc_ra_x_gaba_int_sub2_regress_zf_ortho.R | library(Seurat)
library(tidyverse)
library(qs)
library(pvclust)
library(future)
library(dendextend)
library(ggdendro)
library(ggraph)
library(circlize)
library(cowplot)
plan(sequential)
source("~/data2/rstudio/birds/utils/scRNA.R")
source("~/data2/rstudio/birds/utils/common_aesthetics.R")
# Parameters ---------------... |
6d34ba08018092974c08d35822e474d17db4254b | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/diegovalle/Age-Cohort-Violence/male-female.R | 033b0b7dac07d5544731f8520f1d66636a15bd0f | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 693 | r | male-female.R | mf <- read.csv("data/male-female-rates.csv", skip = 6)
mf <- na.omit(mf)
ggplot(mf, aes(1985:2009, Female.Per, color = "Females")) +
geom_line(size = 1.2) +
geom_line(aes(y = Male.Per, color = "Males"),
size = 1.2) +
scale_color_manual("Sex", values = c("pink", "#ADD8E6")) +
xlab("") + ylab("homici... |
9c034d0858916f23e461faa32670509ebbc646f8 | 06e626755e1abc5f0e4d51610b63388a2ddb9815 | /ui.R | 07787c0b464c3b5e591daf681151fda87c151486 | [] | no_license | SYAN83/teamGenerator | ac334ead3b67866b9b8746b505f6085c38d36601 | 92951693ff75d73a960e2fbfdb09df1e55a0cf09 | refs/heads/master | 2021-06-21T15:40:34.032232 | 2017-08-15T02:50:20 | 2017-08-15T02:50:20 | 100,331,707 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,976 | r | ui.R | library(DT)
library(shiny)
library(shinyBS)
library(shinydashboard)
actionButtonRow <- function (inputId, label, icon = NULL, width = NULL, ...) {
div(style="display:inline-block",
actionButton(inputId, label, icon = icon, width = width, ...))
}
shinyUI(dashboardPage(
dashboardHeader(title = "TEAMUP"),
... |
6ae061c39b68985fa867b3f5a81472bfb01a96a8 | 9bf55d06d4c0deff0d753463018a3300e79199d2 | /BreakPoint.R | fef2a7ce0c6fe74e2fea09a0e776cfe78f871745 | [] | no_license | claschumer/Project-SCV- | 46e6592e55ddba93f87bb93047c18285b401bd32 | a872b09a90ce802a2840e05e8815885b968e5a2f | refs/heads/main | 2023-08-29T05:24:47.919641 | 2021-10-27T20:38:52 | 2021-10-27T20:38:52 | 411,320,177 | 1 | 2 | null | 2021-10-15T13:07:16 | 2021-09-28T14:39:09 | R | UTF-8 | R | false | false | 513 | r | BreakPoint.R | tennis2021 <- read.csv("C:/Users/ilanp/Documents/EPFL/Mathématiques/MA master sem 3 automne 2021/Statistical Computation and Visualization/atp_matches_2021.csv")
tennis2019 <- read.csv("C:/Users/ilanp/Documents/EPFL/Mathématiques/MA master sem 3 automne 2021/Statistical Computation and Visualization/tennis_atp-master/a... |
df0ab6a8bb0871ba65df46f2fd14d5a8c9d5d828 | d56b256ad3bbca6d79b9979d5646f52b1d025c0a | /NBA_analysis.R | 40b2aa1d474c1f7aa637b5064e3e407e025a691a | [] | no_license | DMaya2/Reproducible-Data-Analysis-Project | 49c05c920a1358817bc264957dc9b4b0844e39f4 | 42cb4db6fd556af7aa0de6c13e8dd9c50f45fca3 | refs/heads/main | 2023-04-19T17:48:08.170758 | 2021-05-09T11:03:19 | 2021-05-09T11:03:19 | 364,214,762 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,042 | r | NBA_analysis.R | #Packages
#These are the packages to be used
library(tidyverse)
library(broom)
library(ggcorrplot)
#Datasets
#Reading the datasets into R.
player_salaries <- read_csv("2018-19_nba_player-salaries.csv")
player_stats <- read_csv("2018-19_nba_player-statistics.csv")
team_stats_1 <- read_csv("2018-19_nba_team-statistics_... |
9932456867535175b5d90a7f7f003a24d3c74cce | 76e9697fe875b50c92a30da09dd918aaef9d1d32 | /code/intro_survey/evaluate_response.R | d7cf3a5f1171c5a0b8f5827b10ea773bc07c082a | [
"MIT"
] | permissive | joachim-gassen/sposm | 17821aef4e6c540c593ce145ca743c3173ebbd45 | 238ee27ecf5c1fa8ae3861b23ebb1fe6835152ce | refs/heads/master | 2022-09-09T17:31:19.481064 | 2022-09-02T16:04:39 | 2022-09-02T16:04:39 | 213,951,838 | 32 | 47 | MIT | 2020-01-11T23:36:54 | 2019-10-09T15:15:13 | R | UTF-8 | R | false | false | 2,326 | r | evaluate_response.R | library(tidyverse)
library(DBI)
library(scales)
read_response_from_db <- function() {
con <- dbConnect(RSQLite::SQLite(), path_dbase)
res <- dbSendQuery(con, "SELECT * FROM answers")
df <- dbFetch(res)
dbClearResult(res)
dbDisconnect(con)
df
}
create_languages_reponse_df <- function (df) {
rbind(
df... |
6da499679acec2f2694e703e09743fa84cd27d26 | 5478b961fdc92d5ec80fca9291077a0f2a51ce88 | /app.R | 7d60583b354549b39d300edca42f58f4e4471640 | [] | no_license | pmacnaughton/hai_epimodel | 7aee1379ee67103f094bd1eeac79a609fef467c6 | 1959c121c0c7b923d6753b5bb4aa5fe2c42a9599 | refs/heads/master | 2022-11-23T13:41:38.838846 | 2020-07-27T02:25:33 | 2020-07-27T02:25:33 | 282,774,077 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,195 | r | app.R | ## Piers MacNaughton - 2020
#VRE Colonization - Six Compartment Deterministic Model
#Based on paper by Wolkewitz et al. 2008
#With additional term for daylight decontamination
library(shiny)
library(gridExtra)
library(tidyverse)
library(deSolve)
library(EpiModel)
library(ggplot2)
## Configuration
theme... |
35a94490e12a3f957bd5182d294839f91f29ce13 | 05678f03a83ce73472b1473f2d0743c9f015f2b8 | /tests/testthat/test_event.R | 19996d68124d7fefd7a785ed2398d0337038eaa5 | [] | no_license | Breeding-Insight/brapi-r-v2 | 3a7b4168c6d8516eb1128445a2f281d1199668a3 | 5cfa7453947121496780b410661117639f09c7ff | refs/heads/main | 2023-03-14T22:20:29.331935 | 2021-03-17T01:31:11 | 2021-03-17T01:31:11 | 348,535,689 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,064 | r | test_event.R | # Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test Event")
model.instance <- Event$new()
test_that("additionalInfo", {
# tests for the property `additionalInfo` (map(character))
# Additional arbitrary info
# uncomment below to t... |
965898ec1fb83f92e5e19217722404a4d478cc17 | db8846bf9f77fedf42bfd39f8788f4080904b8ec | /bioticInteractions/recruitment/analyses/seed_abund_mod_LT.R | 6ad688258ec5fa83d4c3a270aacfcd8e134378e4 | [] | no_license | fja062/FunCaB | e3d8dbdc96533bd46f4f4822f80b419707a2b9bd | c164c3ec9161ed698cd4e8f801c3759a5c7d826e | refs/heads/master | 2023-01-19T20:52:21.347347 | 2020-11-27T10:18:44 | 2020-11-27T10:18:44 | 75,606,325 | 2 | 0 | null | 2019-07-12T08:19:46 | 2016-12-05T08:54:06 | R | UTF-8 | R | false | false | 11,886 | r | seed_abund_mod_LT.R | #### Load packages and data ####
library("rjags")
library("R2jags")
library("tidyverse")
library("tidybayes")
library("DHARMa")
# library("nimble")
#library("lme4")
#library("broom.mixed")
# data
load(file = "~/OneDrive - University of Bergen/Research/FunCaB/Data/secondary/cleanedAbundData.RData")
# 1)
#### data pre... |
66b976d61a87aac4ef96219b71db60d773156dc0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NHLData/examples/Sch6263.Rd.R | b8b236aa5c4b1a78309203a78aa0184eb5e688b1 | [] | 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 | 237 | r | Sch6263.Rd.R | library(NHLData)
### Name: Sch6263
### Title: 1962-1963 Season Results
### Aliases: Sch6263
### Keywords: datasets
### ** Examples
data(Sch6263)
## This command will show the results for the first game of the season.
Sch6263[1,]
|
a4fbe66f657cf070ce28b9dc697ebac5a44d61b5 | eb6fad9bee922702d9857bab56ea818126145806 | /R/HulC.R | 9a0705f91137fb4ed1efc2fdc2ddeb469e3ed117 | [] | no_license | CodingMyLife/HulC | ee8530eea7d8f20479b45dedfee3c5789944671d | 20ceb936057d52d438907531db5eaf147537e745 | refs/heads/main | 2023-05-31T07:08:18.395157 | 2021-06-20T15:45:52 | 2021-06-20T15:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,605 | r | HulC.R | source("auxiliary_functions.R")
## HulC1d() uses asymptotic median bias value to construct
## convex hull confidence interval for a univariate
## parameter. This is Algorithm 1 of the paper.
## data is a data frame.
## estimate is a function that takes a data frame as input
## and returns a one-dimensional estim... |
578c4266892205ff8db41c06cc8968f70c76c6cd | e25265fc84148575a244882e07f2eafd3a3ef06f | /primeirospassos.R | 1b84c5e2332e96ebc9003a6df7571804fdb10dad | [
"MIT"
] | permissive | Lucianea/blog_Luciane | 0261ac8f5236a0bcfee16fcaaefde276fd9ea6f0 | a25d9db0d387af0b6eb1ff7740617b4194767141 | refs/heads/master | 2020-04-02T17:41:45.111432 | 2018-11-01T15:15:57 | 2018-11-01T15:15:57 | 154,668,256 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 552 | r | primeirospassos.R | #Passos após criar o repositorio no github
#e abrir um novo projeto no rstudio
#1
devtools::install_github("rstudio/blogdown")
#2
blogdown::install_hugo()
#3
blogdown::new_site(theme = "gcushen/hugo-academic")
#outro tema
#jchatkinson/HugoMDL
blogdown::new_site(theme = "djuelg/Shapez-Theme")
#criar no rstudio... |
cf5b1a564a09b1921c1cb5a6303ee97aaf07b49a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pgdraw/examples/pgdraw.moments.Rd.R | f9bff4c3db535c42ded770ecff2bf453ed2bfb65 | [] | 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 | 431 | r | pgdraw.moments.Rd.R | library(pgdraw)
### Name: pgdraw.moments
### Title: Compute exact first and second moments for the Polya-Gamma
### distribution, PG(b, c)
### Aliases: pgdraw.moments
### ** Examples
# -----------------------------------------------------------------
# Example: Simulated vs exact moments
u = matrix(1,1e6,1)
x = p... |
8baa481d010f5ac8739a35c4a2edad90ef5d4fdc | ef01b6aae7a1ac7a3e5422090d97889e3c5c47a8 | /src/dotplot.R | 02c25401154fd6f9f296b28cffca46d6962d40d4 | [] | no_license | chitrita/single_cell_analysis | 26241f606c954491aed71cbdc4e740ff46f5be4e | d09397a6795e9ff2c4cb89ed5d935f0f229d853d | refs/heads/master | 2020-04-10T22:43:22.282724 | 2017-02-05T02:37:10 | 2017-02-05T02:37:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,036 | r | dotplot.R | # The follow code is taken from the Github Repo BipolarCell2016 written by Karthik Shekhar
# All credit goes to Karthik
# For the original code please see
# https://github.com/broadinstitute/BipolarCell2016/blob/master/class.R
library(ggplot2)
library(reshape)
dot.plot <- function(seurat.obj,
features.us... |
08c0cc8af2ac92f8bd9db5471046a2baae3f9cb1 | 279277403782c464d08a388e114fa28a41c2bb7c | /man/PAYF.Rd | 7aa7ae0c1d452e718f38cf83d74fb28b7cb60aed | [] | no_license | nenaoana/SetMethods | 44be0a8331e51faaff72bd67ad05e1133520646b | eae2232c57c8db822c3cc6c0741d23b16249f0dc | refs/heads/master | 2023-04-07T12:52:41.675428 | 2023-03-31T08:40:13 | 2023-03-31T08:40:13 | 61,364,860 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,066 | rd | PAYF.Rd | \name{PAYF}
\alias{PAYF}
\docType{data}
\title{Paykani et al. (2018)}
\description{The \code{PAYF} data frame has 131 rows and 9 sets. The data is calibrated into fuzzy sets.}
\usage{data(PAYF)}
\format{
A data frame with 131 observations on the following 9 sets.
\describe{
\item{\code{COUNTRY}}{Country}
\... |
a65398af454de229e5e2c57f5e10b712806559cc | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /sourcecode/FreeAssoc.R | a820fbb74892b5771a31452c7f406ecc2440f821 | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 1,755 | r | FreeAssoc.R | #
# FreeAssoc.R, 28 May 20
# Data from:
# The University of {South Florida} Word Association, Rhyme and Word Fragment Norms
# Douglas L. Nelson and Cathy L. McEvoy and Thomas A. Schreiber
#
# Example from:
# Evidence-based Software Engineering: based on the publicly available data
# Derek M. Jones
#
# TAG word_associat... |
98cf42d03c445841ce579940609f81a3a5248b70 | dd40d9e174598437cb543b68dde983a5fb9163ac | /man/inference.Rd | 94849ab34f39bcc402ebe2a26889fc70e4e42deb | [
"Apache-2.0"
] | permissive | lananhle/VERSO | afde8f0f11664719192433f86cc6956918c19e33 | 6a87f85aa85270d91677c8620589a7bedfa70026 | refs/heads/master | 2023-05-07T07:22:29.579378 | 2021-04-21T10:47:05 | 2021-04-21T10:47:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 452 | rd | inference.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{inference}
\alias{inference}
\title{Results obtained running VERSO on the provided input dataset.}
\format{
results obtained running VERSO on the provided input dataset
}
\usage{
data(inference)
}
\value{
results o... |
5ed79969ab16892606a6a5cd0ed5ba8afd76a971 | eba6506142f820e3d6f77c415504cbb2ff7e5da3 | /code/CART.R | 410588c42b60dc29992c20e2e1dd259e8a616c84 | [] | no_license | stewarthkerr/causal992_project | 2a5bf17d63c4501e878d23cfb27bcfc8f42f15f7 | d360556d1addb61811eb8b90ca0c442972912657 | refs/heads/master | 2021-07-16T13:23:13.603407 | 2020-10-29T02:08:27 | 2020-10-29T02:08:27 | 220,862,789 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,748 | r | CART.R | # This is the script for finding subgroups using the CART algorthim from the rpart package
# Choose which covariates to exact match on
exact_covariates = c("RSMOKEN", "RAGENDER_1.Male", "INITIAL_INCOME", "RSHLT")
#GOOD CANDIDATES ARE RSHLT, RSMOKEN, RHLTHLM
# Load data and functions/libraries
source("helpers.R")
resu... |
ef981ebe4619d8e23b71cf5b9f1f31e21f3c1aef | 1d4f89dd72bb30591464c2c52b4e264512ea04a4 | /assets/rcode/2014_03_30.r | e15033d73182ef192f0c7eda0ec7c5bb6c63247c | [
"MIT"
] | permissive | TongZZZ/TongZZZ.github.io | 00c253dcd70caddd3f56770c0716300a24a31136 | 1ba49eddbf2211dde61cea63b1f1a8376a464f42 | refs/heads/master | 2020-06-06T18:23:45.891899 | 2014-10-18T21:27:35 | 2014-10-18T21:27:35 | 18,046,709 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,307 | r | 2014_03_30.r | #### Scenario I
Q=1
Chi=100 # Number of Participants
COMB1=NULL
INDI1=NULL
for(Q in 1:Chi)
{
ASUM1=0
BSUM1=0
AIND1=0
BIND1=0
p=1
P=1000 ### Number of Experiments
for (p in 1:P)
{
q=1
E=NULL
for (q in 1:Q)
{
if(runif(1)>=1/3) ### Probability of random draws
{
E=cbind(E,"A")
}
else
{
E=cbind(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.