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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
035b88eef33ea2f54994dac5897af94fef3cdef0 | 427328c281f6e119b0742a2638bb6ea9c84db223 | /TempCode/neuroim_brains_in_out.R | 86cb4644609a4bcd52ab22dc638885cc48018008 | [] | no_license | LJWilliams/MARINeR | f099c1e8f0d1821e2ae0bd9c41a22361487d989f | 737ed2f1a4222bffa44fd4424874ff941226a97d | refs/heads/master | 2022-11-25T13:43:52.410735 | 2018-08-06T23:34:36 | 2018-08-06T23:34:36 | 279,640,526 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,709 | r | neuroim_brains_in_out.R | #### workspace for testing out functions
#######################################################
###### script for getting multiple peeps
source('../MARINeR/R/volsToMatrix.R')
library(neuroim)
subjs.dir<-'/Volumes/JOHNNYFIVE/Professional/Baycrest/S17/BrainHack/BrainHack_TO_2017/ExampleData/Data'
subjs<-dir(subjs.dir)... |
3f9502ddd3f088962daf2891a2217864bb9a461a | e04fdb3830feea19fc2d7f0dc937b21039af996b | /Software/RBrownie/man/write.brownie.matrix.Rd | e32bedb9363507a305e020e0537f1776672ece12 | [] | no_license | bomeara/omearatenure | c53b2bb41f313e84cd551c59317918657a3fbef1 | dd0fac37c26712e71bfdf0ad39e36b9b29c8f616 | refs/heads/master | 2020-04-08T08:33:03.815826 | 2014-11-03T07:26:40 | 2014-11-03T07:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,352 | rd | write.brownie.matrix.Rd | \name{write.brownie.matrix}
\alias{write.brownie.matrix}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Return a matrix formatted for the brownie core
}
\description{
This function can assist users in creating matrices which are compatible with the brownie core. The inputted matrix is essential... |
e95b91aaafede31296f24b63582950d3dccf7442 | 4753f45f9a029aae3635ffacf46e4c4411c4dc69 | /death-by-R graphic/death-by-R-withoutgrid.R | fa962b8b1cb3146222f37b41f15d88024e42598a | [] | no_license | michelledaviest/life-after-death-by-R | 0b543083e015d07cadaa9b6da03643d1e80f6efa | 7e76d64ede8e72a4360da04a3a8a6b941ea4fb4c | refs/heads/master | 2021-04-21T16:22:33.111898 | 2020-04-02T09:50:29 | 2020-04-02T09:50:29 | 249,795,837 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,441 | r | death-by-R-withoutgrid.R | library(grid)
#png(filename="deathR.png")
#function to draw a grid and colour it a passed colour. also pass coordinates
draw_grid <- function(dat, ht=1/10, wt=1/10, vp, colour="grey") {
grid.rect(x = dat$x,y = dat$y,height = ht, width = wt, hjust = 0,
vjust = 0,vp = vp, gp=gpar(col=1,fill=colour))
}
... |
e751c4c89f1b7deafc506e7b12ed2398802fd6b3 | 1881a8cd65d9c7dddcb05c9e4e0465dbfc18b008 | /cachematrix.R | 379fe331ad7f4e0cde3618dc706c02be177238b4 | [] | no_license | Chicag0data/ProgrammingAssignment2 | 5ab860e0f9e128eb937608dc0d9d97f091ba8430 | b466fc7e026646aa142e8e320b9faec41fcf85fc | refs/heads/master | 2021-01-19T07:27:49.819634 | 2014-11-23T05:57:20 | 2014-11-23T05:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 981 | r | cachematrix.R | ## These functions will cache a special matrix inverse
## and solve the matrix if it has yet to be solved.
## This function creates a special matrix object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
sol = NULL
get = function(){x}
setsolve = function(solve){... |
38d9c1ca839ee309647e71fd25c2064201a01e8a | bc84c72d82acd94c8f8bce7bf92354af3c73ad52 | /Section_2-2/Figure_1.R | 8b6a6098ef772ba9a91129d603cb9e2c81cc697a | [] | no_license | YaohuiZeng/biglasso_reproduce | da5eef59859369fa8222ca882d9891cdfd905c72 | 5a64327df10850b1642387d2ea1f40068b5e0fea | refs/heads/master | 2021-03-24T10:13:08.702955 | 2018-12-21T04:39:39 | 2018-12-21T04:39:39 | 122,927,482 | 0 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,817 | r | Figure_1.R | ## Figure 1
rm(list = ls())
require(biglasso)
require(ncvreg)
require(glmnet)
require(ggplot2)
require(picasso)
# Assume current working directory set to be folder "biglasso_reproduce/"
# setwd("~/GitHub/biglasso_experiment/biglasso_reproduce/")
load("./Section_2-2/bcTCGA.RData")
p <- ncol(X)
n <- nrow(X)
x.bm <- as.b... |
122134548472aca9a9c2d0207d9fc2e2acb32fd2 | 609ca5bd45edb5d1055b4a38efbcdfe2adfe7d63 | /R/qLearnS1Est.R | 1876896d2733e602e0db9457239d66b9ed89a5e7 | [] | no_license | kalinn/iqLearn | e2c7939aa7eb058c7e48dd98e9d6464d01b65a19 | 97bfba5f7dbe0a9f6d8ed333c5aac6422af28b5d | refs/heads/master | 2022-08-09T11:48:39.147582 | 2022-08-01T17:27:09 | 2022-08-01T17:27:09 | 30,946,670 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,365 | r | qLearnS1Est.R | qLearnS1Est <-
function (object, H1q, A1, s1ints, ...){
s1vars = as.data.frame (H1q);
s1names = names (s1vars);
s1ints = as.vector (s1ints);
Ytilde = object$Ytilde;
if (length (s1ints) > 0){
s1. = as.matrix (cbind (1, s1vars, A1, A1*s1vars[,s1ints]));
colnames (s1.) = c ("intercept", s1names, "A1"... |
6856fae96d11b82070b09bbe2f3de68a2febe0eb | e9c5c064650015211a8c85be5e21a6c143ff4959 | /man/SigmaPsi.Rd | e8bdd4ce535b346b15bea3fd77afcab8aa5b89fb | [] | no_license | livioivil/SigmaPsi | 74c4e774aa8e285a16fe18e0a5fc3f3f762c3c86 | db353dbb6023c5082c955a3af75613495cd8e687 | refs/heads/master | 2022-11-12T00:53:25.623818 | 2022-11-05T18:55:11 | 2022-11-05T18:55:11 | 50,662,806 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 300 | rd | SigmaPsi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SigmaPsi.R
\docType{package}
\name{SigmaPsi}
\alias{SigmaPsi}
\alias{SigmaPsi-package}
\title{SigmaPsi}
\description{
an R package for Psychometrics
}
\author{
Author: Livio Finos, Gianmarco Altoè, Massimiliano Pastore
}
|
6ba6f7a3a9e3ba6e56346ccbb6a731509d0b8400 | c032e0a19a40e6fd784c806637662eb6bbe06a21 | /tests/testthat/test_parser.R | 8691c17dc44552781b9aa369c322d0b655b5aa64 | [] | no_license | minghao2016/retrocombinator | d454bde6d5066c497a15941d14552d5ee869fd1a | 0df3b74d1cb9973b3d7440ad37f5f3667581e1df | refs/heads/master | 2023-08-26T05:54:19.655566 | 2021-11-11T06:29:49 | 2021-11-11T06:29:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 666 | r | test_parser.R | context("Reading output of C++ simulation")
test_that("Parsing the C++ simulation output works", {
run <- parseSimulationOutput(system.file("testdata", "test_simulation.test",
package="retrocombinator"))
expected <- readRDS(system.file("testdata", "test_parser_expected.rd... |
6362a8e22f474e748bf5bb310dc28706a88ab953 | 81729b118b878a726d45480efbb8ed9250e8c2bf | /map-ikeda.R | d713a5bb17c879f4f0fa4d4fd3057fa326dc3104 | [] | no_license | sebdalgarno/ikeda-map | 8d851d558e6c436bf39e19e3f89ea8ad38d19ecc | 804fee65c4f4e18eb79a602ce0d86d9166cf76e6 | refs/heads/master | 2021-05-06T22:57:48.765695 | 2017-12-18T00:37:12 | 2017-12-18T00:37:12 | 112,889,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,038 | r | map-ikeda.R | source('header.R')
set_sub("tidy")
load_datas()
lims_bay <- st_bbox(bounds_bay) %>%
ps_pad_bbox(c(-1610, -1200, 200, 200)) %>%
as.vector
lims_town <- st_bbox(bounds_town) %>%
# ps_pad_bbox(c(50, 200, 0, 0)) %>%
as.vector
map <- ggplot() +
geom_sf(data = ikeda_island, fill = "white", alpha = 0.9) +
geo... |
1bc9f58529e2e6549ad8920f4799912baf4054d9 | 3d5627f28dce2b2aa295c124e96c4f9ce9796b3a | /Lasso_and_Ridge.R | d32092ed90058b053f258f4e214d9fb0ac6841f1 | [] | no_license | Akhil-Koppera/L1-and-L2-regularization | 8b2dba93153593ed7ece3ffc4050783a50946175 | 2959b34acf3f1ea9669621a102799b3f640e11ba | refs/heads/master | 2021-01-05T00:49:27.766601 | 2020-02-16T02:42:55 | 2020-02-16T02:42:55 | 240,819,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,035 | r | Lasso_and_Ridge.R | ###########################################################################################################
## This code will work on the insurance company benchmark data set and
## compute the OLS estimates and compare them with those obtained from a few variable-selection algorithms.
## Name: Akhil Koppera
#####... |
b107eb00e806ebff23f7223631545f69036b914d | 4415b6ac85b893186495abbe286884403a56729c | /question2.R | 6da0abf395b7764939d1d17e0dbee70e77492f01 | [] | no_license | yup111/stats_project | 698b4f0634a97bf1f3849df25b7db7417ac6b3d6 | fca5fb4e547cb8f6fc849a2e8631270451cfdb12 | refs/heads/master | 2020-03-12T12:06:31.536734 | 2018-04-23T01:12:54 | 2018-04-23T01:12:54 | 130,610,763 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 364 | r | question2.R | q2data=data.frame(sorption_rates=c(1.06,0.79,0.82,0.89,1.05,0.95, 0.65, 1.15, 1.12, 1.58, 1.12, 1.45, 0.91, 0.57, 0.83, 1.16, 0.43, 0.29, 0.43, 0.06, 0.51, 0.44, 0.10, 0.55, 0.53, 0.61, 0.34, 0.06, 0.09, 0.17, 0.17, 0.60),
solvents=factor(c(rep("A",9),rep("C",8),rep("E",15))))
model1 <- with(q2data,ao... |
6932636b18898e942444aa0c64de59a33cbb6c0f | 1e1939479e8014f48e7362a27be9dfc68719c6e8 | /night/Rscript/nightlyRun_makeKnitrReport.R | 7d92ea0a068754ae07e4eaa9e86eb7348ee1815f | [
"MIT"
] | permissive | wotuzu17/tronador | bffec07586340bc5320d3baf092ba6388a6ee98c | 8d55d26ab1accd0499e6264674408304a70d5e1b | refs/heads/master | 2021-01-10T00:59:45.599781 | 2015-04-25T07:50:22 | 2015-04-25T07:50:22 | 32,209,141 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,892 | r | nightlyRun_makeKnitrReport.R | #!/usr/bin/Rscript --vanilla
# this script creates a easy readable html file containing stock symbols buy/sell recommendation
# for each analyzed version
# input: matches list from /home/voellenk/tronador/dailyreport/Nuggets-YYYY-MM-DD.Rdata
# output: html file in Dropbox/constellation/dailyReport/Nuggets-YYYY-MM-DD.ht... |
9b4dc2e45d272e744205e02b5742d2875c9872f8 | edffb272203ffb6afdeea34e8b6ed6920dba82a9 | /compile.R | bae63d34408e8cb3ddd2209d19afc3249e4495fb | [] | no_license | iSEE/screenshots | 0cc5017437b5e13bfd061d5e16febe1b2ac4d9dc | 5bd6d409e27fa88bf83aa6770b6ec2003a70b673 | refs/heads/master | 2022-12-07T05:34:37.195412 | 2020-04-09T05:15:11 | 2020-04-09T05:15:11 | 248,394,953 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 810 | r | compile.R | # This script will consider all Rmarkdown files in the 'vignettes' subdirectory
# (typically as part of an R package structure) and execute them, taking
# appshots along the way whenever it sees a SCREENSHOT command.
args <- commandArgs(trailingOnly=TRUE)
if (length(args)) {
all.assets <- args
} else {
src.dir... |
4cb578ec969fbba859658b4b81ec9a3a75befa23 | 640acf9187ab7bdc3ad71e2e622dd6e813cf03f9 | /chapters/R/04-05-igf.R | ec3ca706a6b94090e605dfc484d140f19278d1f5 | [] | no_license | haziqj/phd-thesis | 97a91cc335035ea136db7203045619ac9f978cb4 | 7e0cf4632c5efb83f43fa3e5cf881d334621599e | refs/heads/master | 2021-09-23T10:33:21.065654 | 2021-09-09T15:09:47 | 2021-09-09T15:09:47 | 119,505,724 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,344 | r | 04-05-igf.R | # Chapter 4
# Random effects model (IGF data set)
source("00-prelim.R")
## ---- IGF.data ----
data(IGF, package = "nlme")
head(IGF)
## ---- IGF.mod.iprior ----
mod.iprior <- iprior(conc ~ age * Lot, IGF, method = "em")
summary(mod.iprior)
## ---- IGF.mod.iprior.plot ----
plot_fitted_multilevel(mod.iprior, facet = 1,... |
c2f3bac5f2d6fa5cfea574ddffd7ddd91392917b | 3632465c101324fc2ee5ad8dec22f45b30130c0c | /R/data.R | ac9623f0a40d9cbcb433fbcefef10ad5e028a6f2 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | ddalthorp/GenEst | 3921d5b4b48936dbe41667d5221b36a7d620735b | 7dfc443913da2fb7d66d7a3553ac69714468422c | refs/heads/master | 2023-08-16T23:17:34.073169 | 2023-05-29T01:23:46 | 2023-05-29T01:23:46 | 97,149,192 | 8 | 9 | NOASSERTION | 2023-05-25T17:45:11 | 2017-07-13T17:33:07 | R | UTF-8 | R | false | false | 46,963 | r | data.R | # Mock ------------------------------
#' A mock example data set
#'
#' A template dataset used for testing purposes. Dataset containing SE, CP, SS,
#' DWP, and CO data. Data are mostly random without patterns.
#'
#' @format A list with 5 items:
#' \describe{
#' \item{SE}{Searcher efficiency trial data}
#' ... |
558bc8de40d59be0ad6847a734c985017a913c97 | b55450d14a00c79884dbac71dc58c7ed54feb3f5 | /visuals/LINE_karyoplot.R | ce800350aa5ec37380897a7c25791609b28f84df | [] | no_license | eagomezc/Farfalloni | ce0af0fd84071ee404fbb20695bd4ad4e430afa5 | e8fa3e53569565356220442d2fbde98b1fde444a | refs/heads/master | 2022-04-13T00:50:45.008038 | 2020-04-01T09:46:52 | 2020-04-01T09:46:52 | 117,115,027 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,408 | r | LINE_karyoplot.R | # kpPlotDensity
#load LINE dataset
data1 <-read.csv("/Users/vithusaaselva1/Desktop/Line1.csv")
head(data1)
#chromosome column number
chromo <- data1[data1$genoName == "chr", ]
#genoName
Gname<-(data1[1] == "chr1")
#genoStart
gstart <- data1$genoStart
#genoEnd
gend <- data1$genoEnd
#************
# FUNCTIONS
... |
dc9e4161667d4136140f003a1e2c52a0f3fab70f | 89d524f2a6e278787a16ad3a7db1f672917ffea0 | /man/print.plfm.Rd | 20dc9685cbda5736a6b923b1f42ea19f6d7c1816 | [] | no_license | cran/plfm | 4def3d16d72f3fb7b160cdccafd19119bc4f9150 | 8ebe52e8347e3ce2b027a17509a5ceb4591ebcee | refs/heads/master | 2022-04-29T16:41:02.292885 | 2022-03-30T13:50:02 | 2022-03-30T13:50:02 | 17,698,560 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 869 | rd | print.plfm.Rd | \name{print.plfm}
\alias{print.plfm}
\title{Printing plfm objects}
\description{Printing method for probabilistic latent feature analysis objects.}
\usage{
\method{print}{plfm}(x,\dots)
}
\arguments{
\item{x}{Probabilistic latent feature analysis object returned by \code{\link{plfm}}.}
\item{\dots}{Further arg... |
32808c194a93f4ac9003f2b8ce3e1f2551e3bb51 | 5ababdaa8c02b04015cf171bc5dc1710bad5ee4c | /Bootbinary.R | ba7a9b2c0dbed56f909749bddac9bdf5193890e4 | [] | no_license | chhsueh/Research | 8bf6e493289376fe2100e42bb3ae0140f47b6e50 | 7f7a7c589286f9ee4234c4919683c8605f0c1164 | refs/heads/master | 2020-12-24T18:13:35.525629 | 2016-04-27T17:48:59 | 2016-04-27T17:48:59 | 57,233,474 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,103 | r | Bootbinary.R | source("EnergyOptim.r")
library(compiler)
## this is a function for bootstrapping an adjancency matrix
## with constraint of its row and column sums.
## return: (1) the energy of the bootstrapping adj matrix (2) the new Adj matrix
pij = function(da,db,dahat,dbhat,m,alpha){
p = (dahat*dbhat)^alpha*(1-((da*db)/(4*m)... |
2f3af4aed80871d6450ee29a40acb28385f266de | 78c6fb7a90dfd4ce5240032408811660358dfbd7 | /test/path_index.r | 8ef100365e2af41b18bd7fcbbf4588b9b65772d0 | [] | no_license | haleyjeppson/tourr | b335178bcb9c155be194afbe4d20ee662581578c | 272a2f88d9981b4bc7d5c86e2f8cde24183037e5 | refs/heads/master | 2021-12-07T17:54:33.348101 | 2021-05-30T00:39:47 | 2021-05-30T00:39:47 | 167,255,934 | 0 | 0 | null | 2019-01-23T21:20:03 | 2019-01-23T21:20:03 | null | UTF-8 | R | false | false | 530 | r | path_index.r | ### Name: path_index
### Title: Compute index values for a tour history.
### Aliases: path_index
### Keywords: hplot
### ** Examples
fl_holes <- save_history(flea[, 1:6], guided_tour(holes()), sphere = TRUE)
path_index(fl_holes, holes())
path_index(fl_holes, cmass())
plot(path_index(fl_holes, holes()), type = "l")
p... |
9f7c88841b1cbe3061d431252cbdb733465aaf9a | 2758eef8d85ae79b6df52a0787b9e0ffdd245bf3 | /R/RunScenario.r | ccd957eda4c03848fdf6c012cc3f3522b3aefa62 | [] | no_license | pkuhnert/HSTMM | 1b2950630c7acb27292740714f07bd4476b5d70e | 4e38b24562def34c993241e84b2922c81bccbfb4 | refs/heads/master | 2020-03-18T23:22:51.170605 | 2018-12-13T04:55:34 | 2018-12-13T04:55:34 | 135,398,980 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,221 | r | RunScenario.r | #' RunScenario
#'
#' @description Just a simple scenario to run Hooten Model
#'
#' @param niter Number of iterations
#' @param nT Number of time points
#' @param nburn Number of burn-ins
#'
#' @import ggplot2
#' @import mvtnorm
#' @import RColorBrewer
#' @import gridExtra
#'
#'
#' @export
RunScenario <- function(nite... |
d47f1caad5c0ffd22af2d3a373f828c739f9fc5f | 9984fa5e343a7810ae8da2ee3933d1acce9a9657 | /run_pipeline/prepCountInputs.R | 52ad46f443fd58cd5dd4a063bf5fa1ec63dc4895 | [] | no_license | kennyjoseph/twitter_matching | 4757e7cff241d90167888ce24625be36015b5a93 | 9fe3a2b970e0ff2f559261f89d29b3202db25920 | refs/heads/master | 2022-01-05T15:45:19.643082 | 2019-07-11T20:28:54 | 2019-07-11T20:28:54 | 84,259,451 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,025 | r | prepCountInputs.R | library(data.table)
# To run:
usage = "Usage: Rscript [--vanilla] prepCountInputs.R <fileNum>"
# where fileNum corresponds to the 50 states
#args = commandArgs(T) # everything after executable name
# This script bundles data from ts_cleaned + extra_state_files into input files for a state:
# -rbind raw-ish and ex... |
13e29ad9baa60d20d497ad9b52211e48c7606e5b | c18ba4045763e39255f78461b5e0692215c9c20b | /R/simplify.R | 9e01c357ecd9fd719692392ce5b576076f52f48e | [] | no_license | iMarcello/cppRouting | 5bf603654ddb5461941638f0eda01a738bd10359 | 4f5680cdbcb21645fe25881b4cf7bd113cdee87a | refs/heads/master | 2020-06-25T07:21:30.144444 | 2019-07-08T08:05:33 | 2019-07-08T08:05:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,161 | r | simplify.R | cpp_simplify<-function(Graph,keep=NULL,new_edges=FALSE,rm_loop=TRUE,iterate=FALSE,silent=TRUE){
#Nodes to keep
to_keep<-rep(0,Graph$nbnode)
if (!is.null(keep)) {
to_keep[Graph$dict$ref %in% keep]<-1
}
simp<-Simplify2(Graph$data$from,Graph$data$to,Graph$data$dist,Graph$nbnode,loop=rm_loop... |
dd1c3dc3e8425fe5578a5c0f494d72ada06621af | dd816cc3b8ade19255eeebd88dbd2efdb2699d34 | /scripts/udpipe_exer.R | d5ee3ae31f71f5aecdbec4a9c4d13509eef87428 | [] | no_license | bap-project/R-version | 12a1cb7b02cbc7a5f05cdfb383649e4f035081bd | 02fa6388859695c978c989273ac1fbf7a19900f6 | refs/heads/master | 2020-04-22T10:55:06.758101 | 2019-02-12T13:23:21 | 2019-02-12T13:23:21 | 168,320,352 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,922 | r | udpipe_exer.R | source("beg_lib.R")
uk <-RJSONIO::fromJSON("UK_afterJaccard.json",encoding = "UTF-8")
us <- RJSONIO::fromJSON("US_afterJaccard.json",encoding = "UTF-8")
cn <- RJSONIO::fromJSON("CN_afterJaccard.json",encoding = "UTF-8")
uk <- data_frame(docid=uk$docid, text =uk$content, date=uk$date, source=uk$source,title=uk$t... |
e05926b05491c5192be0f77f04615a1065e97b86 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Kronegger-Pfandler-Pichler/bomb/p10-5.pddl_planlen=11/p10-5.pddl_planlen=11.R | 2acac12ec8446aab25bbe4af59244a4aab38d4a3 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 73 | r | p10-5.pddl_planlen=11.R | 71cad296084391daebb7c2974ec1e9f9 p10-5.pddl_planlen=11.qdimacs 1325 19976 |
3db6f8b0b3ce650ca0585a9148e09df4259e53f6 | 69668ad25d79800fed0a6efcf6fc8b0639d34e9c | /Main/Figure_epigraHMM/Figure_ThreeCellLines.R | af4ac91e56ed213de4b0874bf39bc7cf16da6cbf | [
"MIT"
] | permissive | plbaldoni/epigraHMMPaper | 96dc6f18997a42ad8797acd17d86ae1712caa8ef | 93cab7c12bac3ca96c5d4e23cbe5c7aead1f1bc4 | refs/heads/main | 2023-03-30T20:27:08.611206 | 2021-04-10T10:51:02 | 2021-04-10T10:51:02 | 301,452,680 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,941 | r | Figure_ThreeCellLines.R | library(dplyr)
library(ggplot2)
library(GenomicRanges)
library(reshape2)
library(tidyr)
library(magrittr)
library(plyr)
library(ggpubr)
library(data.table)
library(RColorBrewer)
library(SummarizedExperiment)
bp = 500
chromosome = 'chr7'
idx.genome = c(130720310, 133063299)
ngroups = 3
mark = 'H3K27me3'
data = 'Encode_... |
a0f66d8e3e1c28fd3fa41b50de6ac765483d072c | 27674239c0da0b7afc6ad9dc2622e084c3f5c004 | /inst/ochiai_worker.R | c79b54738ce1753d55fe84f8e87ba04531821754 | [] | no_license | RobinHankin/knotR | 112248605c8a89a21641be35f2363c19db1c3783 | 0a5a6015a51340faa1ee43066d76be8f39adb499 | refs/heads/master | 2023-05-15T03:19:57.311824 | 2023-05-14T09:03:35 | 2023-05-14T09:03:35 | 99,854,849 | 5 | 0 | null | 2017-10-15T04:48:05 | 2017-08-09T21:37:28 | R | UTF-8 | R | false | false | 635 | r | ochiai_worker.R | library(knotR)
filename <- "ochiai.svg"
ou <-
matrix(c(
07,01,
01,20,
02,09,
22,03,
16,04,
05,18,
25,06,
08,21,
10,14,
19,11,
13,20,
15,23,
24,19
),ncol=2,byrow=TRUE)
jj <- knotoptim(filename,
... |
3f8da066da4a50249aada11c66607f1976d9ead2 | 0a9e904d3e0b8983bc2bdd861bd6e96da66b2d04 | /af/namelist.R | 8a23e4962137f361cd1f2b3f7c23ed352affe771 | [] | no_license | donasoo/gitR | 8fa8a4e53a1f26b5f986289f10270bc95e579a41 | 176758134ea31fd2b186cad909cded950cbaaeec | refs/heads/master | 2021-05-15T01:09:09.171793 | 2019-10-31T14:40:56 | 2019-10-31T14:40:56 | 56,468,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,920 | r | namelist.R | #
library(stringr)
library(dplyr)
rank_pattern <-'GENERAL|BRIGADIER GENERAL|LIEUTENANT GENERAL|MAJOR GENERAL'
f.caption <- function(x) x %>% html_nodes("tr.dal_row a.title") %>% html_text() %>% str_trim()
f.url <- function(x) x %>% html_nodes("a.title") %>% html_attr('href') %>% str_trim()
f.img <- function(x) x %>... |
d04e3af8461937feb5fff35c8fe40ab868aa9c38 | 05db64975eda0ad69a1ef7a5ef60c8513d8261b2 | /Logistic_Regression.R | a057998e4abedb2f1c9f9766a4215fcef2686fb4 | [] | no_license | nishaganesh/hypothesis_testing | 3d625ba7079fdf084d2ed6ddf13d5f6b7424380a | c5a7c5b8c8fa127b5d894d04e01c2493d5209a5a | refs/heads/master | 2022-04-05T19:49:43.474634 | 2020-02-23T02:17:58 | 2020-02-23T02:17:58 | 242,439,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,008 | r | Logistic_Regression.R | # INST627 Project
# Team: Magnificent
#load the data
water <- read.csv(file.choose())
#number of variables and observations
dim(water)
str(water)
#descriptive statistics
summary(water)
#exploratory analysis
par(mar = rep(2, 4))
plot(water$What.is.your.preferred.method.of.drinking.water., col="green", main="Preferr... |
ecb701d413ab78be31340a94e3ae5745f6cd99da | 7de34974ddc7bb2f12246a0372f2cf8c6f7fa0c9 | /R/S3.R | 4d2c1a0ca27e6b78c4aad2de5901b20eab3b49aa | [
"MIT"
] | permissive | FinnishCancerRegistry/vbscript | 94add9cedf26ae2062ed99d5299100b2d4757c88 | cb35e40d3c4be48fb23636bd9c4a38ee66743460 | refs/heads/master | 2023-04-11T03:06:47.232942 | 2023-04-02T09:21:37 | 2023-04-02T09:21:37 | 218,963,246 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,117 | r | S3.R |
#' @title `vbscript_lines`
#' @description
#' Coercion to class `vbscript_lines`
#' @param x `[character]` (mandatory, no default)
#'
#' character string vector to coerce to `vbscript_lines`
#' @export
as.vbscript_lines <- function(x) {
UseMethod("as.vbscript_lines")
}
#' @describeIn as.vbscript_lines coerces c... |
9e416b180f82eb917a2e7d14bba7e22e29f49fd4 | 0ae5e8642a9338c41ba7f8c03f294f11758eff7b | /01-topic-models/05-adding-random-US-and-merging-subissues.R | d346c855bcfc97f843881e18c3972ad1c8b0abbe | [
"MIT"
] | permissive | nasimovi/lead_follow_apsr | 45a9891c05975778680e54e724e9a00358651bb8 | 727b9a9b5eec81dd556eafb4470c3a8c33f953eb | refs/heads/master | 2022-02-25T18:24:21.572183 | 2019-10-10T15:36:47 | 2019-10-10T15:36:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,312 | r | 05-adding-random-US-and-merging-subissues.R | #===============================================================================
# File: 05-adding-random-US-and-merging-subissues.R
# Date: May 3, 2019
# Paper: Who Leads? Who Follows? Measuring Issue Attention and Agenda Setting
# by Legislators and the Mass Public Using Social Media Data
# Jour... |
139d3eaac2bcbf83e153f128b672316f03592dd9 | 00d3ed6fb3db344beef3ccbfa38e6fd5a9b1f67b | /Rscripts/FIA_biomass.R | 03ac55981dded8bd091631b7927dd04a4387b8cc | [] | no_license | atrlica/FragEVI | 63140345b5f5e3f9f0c92b9ab2b1b14e18f71599 | 8407655c8ef538eaa8ef819e38c23941c8c17ec5 | refs/heads/master | 2021-05-12T04:28:15.730204 | 2019-06-08T00:59:16 | 2019-06-08T00:59:16 | 117,163,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,730 | r | FIA_biomass.R | library(raster)
library(data.table)
### FIA V1: Equation for wood volume~time (proxy for stand biomass density)
a=123.67
b=0.04
AGE=seq(0,500)
y = a*(1-exp(-b*AGE))^3
plot(AGE, y, ylab="stand MgC/ha")
z = diff(y) ## yearly growth increment, absolute kg
z.rel <- z/y[2:501] ## yearly growth increment, % of previous year... |
504c5b4c9dd64d0aec72e4e4a310312a98b3826e | fd9575d215009f41ccb9e8b20d7082f646dc7bc5 | /analytical_full_web.R | 2cf070068fa8b6c478a66ced73c26bb43546861c | [] | no_license | JadeYu/TrophLab2 | 3a25223967511c547e4a8f28563e60484dcd1bc6 | 64ae6d5926cc1eb58a0f566423a242382722176e | refs/heads/master | 2016-09-09T21:37:45.728391 | 2015-11-04T00:22:00 | 2015-11-04T00:22:00 | 42,339,957 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,772 | r | analytical_full_web.R | Dr_seq <- runif(10,0,0.8)
theta_seq <- runif(10,0,1)
R0 <- 1
FFW <- solve_full_web(theta_seq,Dr_seq,R0)
##compare webs with different Dr-theta relationship (random, positive or negative)
##plot without the resource!!
##Incorporate basal-or-not by brutal binary selection (whether basal link > sum of other links); might... |
e00661ec49ee35dfeaf2d48480410b8e879bf8d1 | b6443e4bff6b9e41e8353d5636560e092efce75e | /man/user_getTopTags.Rd | a88ad9a70e263dd5bc2ffdac68e0a254c0a98af7 | [] | no_license | juyeongkim/lastfmr | 38bf6c081f3f3d37a875984c4aebba6629b856df | 4f22f841d6427c52790b813224bc6e1360c81e55 | refs/heads/master | 2020-05-21T04:35:36.068739 | 2019-05-30T15:37:56 | 2019-05-30T15:37:56 | 57,168,949 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 595 | rd | user_getTopTags.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/user.R
\name{user_getTopTags}
\alias{user_getTopTags}
\title{Get the top tags listened to by a user.}
\usage{
user_getTopTags(user, limit = NA)
}
\arguments{
\item{user}{The user name.}
\item{limit}{Limit the number of tags returned}
}
\valu... |
2a5735fe6c81457097639b6a57477f9f1f6b7c66 | 1388a4a98b64dcc93eb8504cecd93f74f9cec777 | /man/Assert.summary.Rd | 9a804c85660f7864a5958f412d5b1f72596eadc7 | [] | no_license | rbuhler/unitTest | c24c923841655cb960211e90515572e0f35d5e99 | 7b9539787c6f6b84deb49ed20284f0ff6b1b5dfd | refs/heads/master | 2020-05-19T12:41:03.176357 | 2015-01-09T00:39:28 | 2015-01-09T00:39:28 | 28,789,426 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 263 | rd | Assert.summary.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{Assert.summary}
\alias{Assert.summary}
\title{Method Assert.summary}
\usage{
Assert.summary(object)
}
\arguments{
\item{object}{Description.}
}
\description{
Description.
}
\examples{
Assert.summary()
}
|
54dd52d5bfb35cdfb9eca6da63c5d2e4bbdf0e29 | 0018de1cea9677207535607821081e8a6ce74883 | /R/xEDA.R | df05c1886ab47d4dc1164e264c8f3b1881ca6e24 | [
"MIT"
] | permissive | cwendorf/EASI | fde3fe05e6527e2d957712ea313582fcc0b799f8 | a384e5ef74e823646d0126e6d420147af057b7db | refs/heads/main | 2023-07-22T04:58:51.054314 | 2023-07-17T14:58:14 | 2023-07-17T14:58:14 | 193,248,564 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 764 | r | xEDA.R | # Estimation Approach to Statistical Inference
## Exploratory Data Analysis
### Plots
plotViolins <- function(...,main=NULL,col="black") {
if(is.null(main)) main="Violin Plots"
plotBoxes(...,values=FALSE,main=main,col=col)
plotDensity(...,add=TRUE,offset=0,type="full",col=col)
}
plotBeans <- function(...,mai... |
45410544188266a2006a7e713f5b35da2e6918ac | 8db66dbb7c37644a8dae8b2fb2fa17a85f01d0e0 | /gee/multivar_mixed_model.R | cc29e13f429d7b6ff445238102273288d8788290 | [] | no_license | AshleyLab/device_validation | 61c511f18cfc6cf7c78ecf215eee869d41c11dbb | d19fa94edef9948b4049ff6a1e12c7c55b1996fb | refs/heads/master | 2020-12-30T12:44:43.739460 | 2017-06-05T16:42:28 | 2017-06-05T16:42:28 | 91,356,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,277 | r | multivar_mixed_model.R | rm(list=ls())
library('gee')
library('data.table')
library('MuMIn')
data=data.frame(read.table('full_df.tsv',header=TRUE,sep='\t'))
#remove any rows with "NA" -- no device value recorded
data=na.omit(data)
data$Error=abs(data$Error)
data$Activity=factor(data$Activity,levels=c("sit","walk","run","bike","max"))
hr=dat... |
c9a840020ece43ace4e75ac147401b53ede444dd | 682fdb45d76bd462593d07113a0f642665ff44a3 | /R/helpers.R | 202c0585a81c86d320fd18a2956e5da4b6dd6e6c | [
"MIT"
] | permissive | dfsp-spirit/fsbrain | dd782c91f95c52b8039e4ec6642345d994a6ed84 | 09f506dbf5467356ab26a65246f31051da58f198 | refs/heads/master | 2023-07-06T10:11:18.468284 | 2023-06-26T16:42:45 | 2023-06-26T16:42:45 | 209,085,379 | 44 | 12 | NOASSERTION | 2023-01-15T19:49:54 | 2019-09-17T15:05:51 | R | UTF-8 | R | false | false | 53,371 | r | helpers.R | #' @title Transform first character of a string to uppercase.
#'
#' @description Transform first character of a string to uppercase. This is useful when labeling plots. Important: this function does not know about different encodings, languages or anything, it just calls \code{\link{toupper}} for the first character.
#... |
dcb16bb72ea7749b06e0f94e389e40dac1dc1428 | 1176e185df07a19c00d0baf112fa11f2f8a8f5f2 | /man/cor_spatial.Rd | edd650e9337d19270a35898918bf30fd12b353ab | [] | no_license | Pintademijote/multipack | 142cba0c0376a5779e06a8dd66762bf6e497bb9e | e9ff3c6695ac794cfc7bf681a109e03740d77f0f | refs/heads/master | 2020-05-02T14:44:20.301357 | 2019-09-23T11:54:47 | 2019-09-23T11:54:47 | 178,019,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,248 | rd | cor_spatial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cor_spatial.R
\name{cor_spatial}
\alias{cor_spatial}
\title{Produce a tab containing the value selected each x pixel on the map generated by Chloe per metric.}
\usage{
cor_spatial(directory, metrics, dist)
}
\arguments{
\item{directory}{The d... |
616c52a2addccb86856b3eb62f7aa1ac84c2975c | 580064be6f7e0b39bd07fb260b1cf2f48abd51c5 | /analysis/CiteSeq_Minerva/HTO_Pt4/HTO_Tagspt4.R | f8684f1886a9b2a240db1dd6c0fb6f835f0681b9 | [] | no_license | RoussosLab/pcqc | 58f904199774a71f9b64193e75fbc4e0008570ae | e282f2b0fc422194706dbbeebf759b221d9a8a14 | refs/heads/main | 2023-01-08T13:16:39.590571 | 2020-11-05T18:41:25 | 2020-11-05T18:41:25 | 310,384,896 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,573 | r | HTO_Tagspt4.R | #First do Python QC Check
library(Seurat)
df = read.table(file = 'dense_umis.tsv', sep = '\t', header = TRUE, row.names = 1)
#df = read.table(file = 'subset_dense_umis.csv', sep = ',', header = TRUE, row.names = 1)
pbmc.htos <- as.matrix(df[1:4,]) #confirm with rownames that you have the right rows
#normally this shou... |
a1ff60e2c0f90810d7cd0e95097bbc7c50549074 | e1c4adfbf80d475b6a11aa6d003e77a18bad5089 | /Loan.R | 4c209ebdb79eb1076260843172d9aa5f7c3c92b2 | [] | no_license | nirvana0311/Loan-Prediction-problem-3-of-Analytics-Vindhya-80-accuracy | ae503104e56643ca8bf1a6b8bf8b2ae10b57a05a | b131fc3fa2e12620b127f4e16b53f60f5e7db90d | refs/heads/master | 2020-12-25T18:43:17.160590 | 2017-06-11T05:22:26 | 2017-06-11T05:22:26 | 93,983,420 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,607 | r | Loan.R |
libs=c('caret','randomForest','mice','VIM','e1071')
lapply(libs,require,character.only=T)
setwd("C:\\Users\\nirva\\IdeaProjects\\R\\Loan Prediction")
training=read.csv("C:\\Users\\nirva\\IdeaProjects\\R\\Loan Prediction\\train.csv")
test=read.csv("C:\\Users\\nirva\\IdeaProjects\\R\\Loan Prediction\\test.csv")
trainin... |
4a4f1439359052408da5faa23800a49070ea49fd | 657a411bc8098a84f5b117103d65b7ab058da67e | /man/verb-DELETE.Rd | 210f09255ae16485c113f96fbf43b692038f2549 | [
"MIT"
] | permissive | ropensci/crul | 5389913572808be02d1a22075dc61a7ef6c52538 | 1b76ad3768b45acf7b7aa15d98a748b0e27791f4 | refs/heads/main | 2023-05-29T08:18:09.489490 | 2023-05-23T19:09:47 | 2023-05-23T19:10:05 | 72,250,512 | 101 | 27 | NOASSERTION | 2023-08-22T13:43:33 | 2016-10-28T23:29:59 | R | UTF-8 | R | false | true | 1,280 | rd | verb-DELETE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/verbs.R
\name{verb-DELETE}
\alias{verb-DELETE}
\title{HTTP verb info: DELETE}
\description{
The DELETE method deletes the specified resource.
}
\section{The DELETE method}{
The DELETE method requests that the origin server remove the
associa... |
01d445fba9929a457a123555141ad4bd3ab1bef8 | fed543ff068a5b1ae51c19e95b2471952d72adb7 | /tests/testthat.R | a6b0aa5d7bc84b1ebb56d70960e8652ebbf10dc5 | [] | no_license | githubmpc/marimba2 | 848627c80de60e4ef53d623a3f6e7960c5afcbc4 | 332c283592d9cad4ca1a4ee4cc652709580b62f3 | refs/heads/master | 2021-01-20T02:19:13.442176 | 2017-10-18T14:51:17 | 2017-10-18T14:51:17 | 101,313,331 | 0 | 0 | null | 2017-10-18T14:52:26 | 2017-08-24T15:59:52 | R | UTF-8 | R | false | false | 58 | r | testthat.R | library(testthat)
library(marimba)
test_check("marimba")
|
8aaa18e7d799f67712261c31ab30b96dadbddca5 | f729673ed0738bd666863ca767b1a584ae505244 | /getoutputloopabc.R | f58761becbfd30bad8c7107d54c687bea9fb0ec4 | [] | no_license | SepidehMosaferi/SAE-Correlated-Errors | 68de287faaafc55ba08e584f3f5648371dcae8b3 | 08c50ab90767bbd510f57ce2b9acd7685693bc78 | refs/heads/master | 2023-06-01T09:36:39.690846 | 2021-06-30T22:20:30 | 2021-06-30T22:20:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,907 | r | getoutputloopabc.R |
rm(list= ls(all = TRUE))
library("xtable")
outfixpar <- c()
outmse <- c()
#fnames <- c("June2021SimsML/n100UnequalPsi.Rdata","June2021SimsML/n500UnequalPsi.Rdata",
# "June2021SimsML/n100Cor2.Rdata","June2021SimsML/n500Cor2.Rdata",
# "June2021SimsML/n100UnequalPsiFlipped.Rdata","June2021SimsML/n500UnequalPsiFlippe... |
40bf5f29a5474851b4c20b6d17c3f17b0341fd91 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/bucky/examples/mi.eval.Rd.R | 26189e73412996a86cc77e7e97d8d8f52ea5b301 | [] | 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,301 | r | mi.eval.Rd.R | library(bucky)
### Name: mi.eval
### Title: Multiple-imputation evaluation
### Aliases: mi.eval
### Keywords: models htest
### ** Examples
if (require("Amelia")) {
## Load data
data(africa)
africa$civlib <- factor(round(africa$civlib*6), ordered=TRUE)
## Estimate a linear model using imputed data s... |
53396b682f71eaf20800c74d6fc026e1aa2d1f3e | ba2845eadc8880147e906ab727d322d875226efa | /Analyses/EffectiveWarming_Simple.R | 5fb8bf5cbfba0078beeeedb0aa7e1a0783f6b876 | [] | no_license | AileneKane/radcliffe | 80e52e7260195a237646e499bf4e3dad4af55330 | 182cd194814e46785d38230027610ea9a499b7e8 | refs/heads/master | 2023-04-27T19:55:13.285880 | 2023-04-19T15:15:02 | 2023-04-19T15:15:02 | 49,010,639 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,493 | r | EffectiveWarming_Simple.R | # Analysis of the effective (observed) warming of each experiment:
library(car); library(reshape2)
options(stringsAsFactors = FALSE)
# ------------------------------
# 1. read & format the RAW data
# ------------------------------
{
expclim <- read.csv("expclim.csv")
expclim <- expclim[!is.na(expclim$doy),]
expclim$ye... |
30b753b2c66f55a9b43a89e0e5ddb8ebab27ef9b | 909cb5b97f1a9d0b988e3a6721445a23b93859ee | /R/msg.R | 7c39786deb3de417abfa7990920fac5c14ea0cc9 | [] | no_license | xiaoran831213/knn | d369db0ac18369e7491b314b42c9d405d6c35fa8 | 30f6c2a605cf53c9a5f2e066bb0d14f965289c62 | refs/heads/master | 2021-07-01T02:11:49.859443 | 2019-04-01T16:15:05 | 2019-04-01T16:15:05 | 134,107,318 | 0 | 0 | null | 2018-09-14T02:53:34 | 2018-05-20T00:15:24 | TeX | UTF-8 | R | false | false | 1,206 | r | msg.R | ## Training Track
msg <- function(obj, fmt=NULL, hdr=NULL, ...)
{
if(is.function(obj))
{
ret <- function()
{
sprintf(fmt, obj(...))
}
}
else if(inherits(obj, 'formula'))
{
ret <- function()
{
e <- environment(obj)
sprintf(fm... |
883b6b936d5c7a2fa0686d774e0f57087b32a324 | 3af87e7a8ba063590b7488ff865b00424b8a62d9 | /plot2.R | 6d18c2e72832754e905fb13c85f148dc150eaed2 | [] | no_license | infinitesupermagic/ExData_Plotting1 | 19c2ba7309faaf46b54b947abb245ebfe04800fe | 702138948a0f45db5e78ebbd09a3b6a8ce54c811 | refs/heads/master | 2021-01-17T06:23:46.078368 | 2015-06-07T03:57:32 | 2015-06-07T03:57:32 | 36,953,699 | 0 | 0 | null | 2015-06-05T20:22:46 | 2015-06-05T20:22:46 | null | UTF-8 | R | false | false | 568 | r | plot2.R |
library(sqldf)
df <- read.csv.sql("household_power_consumption.txt", sql = "select * from file where Date = '2/2/2007' or Date = '1/2/2007'", header=TRUE, sep = ";")
df$Date <- as.Date(df$Date, "%d/%m/%Y")
df$Date <- paste(df$Date, df$Time)
df$Date <- strptime(df$Date, format="%Y-%m-%d %H:%M:%S")
df <- df[,c(1,3:9)]
d... |
482eb3eebe3c952aeefda97eed8970b8a65c3252 | f9bc24751d593694fbc98648519df43c70d253ee | /R/synapseEndpoints.R | ae0b9a3310f49bfdbc654c4244b5375651b89417 | [] | no_license | brian-bot/rSynapseClient | cf607b242fa292902f832d6a5ecffceeba80eaef | cef1a6bb1f28034a9de826f3e92f1b1139e56c61 | refs/heads/master | 2020-04-05T22:52:30.912248 | 2017-04-28T17:45:58 | 2017-04-28T17:45:58 | 3,354,254 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 862 | r | synapseEndpoints.R | #
# Author: brucehoff
###############################################################################
synSetEndpoints<-function(repoEndpoint, authEndpoint, fileEndpoint, portalEndpoint) {
if (missing(repoEndpoint) &&
missing(authEndpoint) &&
missing(fileEndpoint) &&
missing(portalEndpoint)) {
... |
40f6586861288cb8d585017f8975aa646f637fdb | 77ae1b3106953b9793d39c4910c6714fb8866f59 | /script.R | 8116b7e7f7b578cca474eb5b0e028d5f60ce8b0c | [] | no_license | wmay/rollcall_scaling_intro | b7fb8d53f3b096f02d0e81f86f4cc6b89c6206c8 | b4d00b224455c33cdbcd6fb3c1687de5dac3fc3d | refs/heads/master | 2016-08-04T13:08:49.673388 | 2015-04-25T02:35:58 | 2015-04-25T02:35:58 | 33,318,859 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,194 | r | script.R | # analyzing rollcalls from the New York state legislature
library(lubridate)
library(reshape2)
library(pscl) # Political Science Computation Library
chamber = "lower"
year = 2014
legs = read.csv("ny_legislators.csv", stringsAsFactors = F)
bill_votes = read.csv("ny_bill_votes.csv", stringsAsFactors = F)
leg_votes = ... |
4d964341d4c11a5536d2802174a50c3a6099bac0 | 0a6de81c16a540a0e083634497ae75ccb02afe90 | /man/mcr_fish.Rd | 667e4f1ec85000255f443dbe3914ab09a920b8fc | [
"MIT"
] | permissive | liaaaaran/alohalr | 13b3ef041443cf59d95d809830eddb5f73b5c566 | 248c91297dd5ed05ea04ab3a98368a5258bcfbe0 | refs/heads/master | 2023-03-11T03:14:29.626864 | 2021-02-19T22:30:53 | 2021-02-19T22:30:53 | 340,502,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,390 | rd | mcr_fish.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mcr_fish_doc.R
\docType{data}
\name{mcr_fish}
\alias{mcr_fish}
\title{MCR LTER: Coral Reef: Changes in the abundance of fish functional groups: Adam et al. 2014 Oecologia}
\format{
An object of class \code{spec_tbl_df} (inherits from \code{tb... |
b68f6f69ed8f2db45a66f015a10447d72c8b3aec | dd318137bda91d0dee5c2c832a881b726d48d8eb | /plot4.R | 3434ef26e452f78a313d9767171ff23ded930e22 | [] | no_license | Uttam1609/ExData_Plotting1 | 0cecfff2fd3e7c8ea824fac67fd561a438f82bf1 | b1c920c4aa6a2eb569ed0141aa10cea3ecd27956 | refs/heads/master | 2022-08-03T19:26:28.367537 | 2020-05-25T07:59:47 | 2020-05-25T07:59:47 | 266,345,415 | 0 | 0 | null | 2020-05-23T13:46:40 | 2020-05-23T13:46:39 | null | UTF-8 | R | false | false | 1,350 | r | plot4.R | elec_data <- read.table("./data/household_power_consumption.txt", sep = ";", header = TRUE)
elec_data <- elec_data[which(as.character(elec_data$Date) == "1/2/2007" | as.character(elec_data$Date) == "2/2/2007"), ]
elec_data <- transform(elec_data, datetime = paste(Date, Time, sep = " "))
elec_data <- transform(elec_data... |
af00f2944bf6094d4bac921fe7c258b118a46d2a | a88ff00d49b14c84059a6fa74af25ee4c531d9fe | /man/print.mooFunction.Rd | 3809c623cf4aeb27c4faba4be477f5e43150d43f | [] | no_license | danielhorn/moobench | b4bcd7f7959f583fb6a9a895ce4c9e0af1a84d34 | dacf01a327c9d8cd2ffc5f6be261a2af9b95e4fe | refs/heads/master | 2016-09-06T11:18:22.257466 | 2015-11-19T11:46:40 | 2015-11-19T11:46:40 | 35,089,700 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 367 | rd | print.mooFunction.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/print_moofunction.R
\name{print.mooFunction}
\alias{print.mooFunction}
\title{Print a mooFunction.}
\usage{
\method{print}{mooFunction}(x, ...)
}
\arguments{
\item{x}{[\code{function}] \cr
A \code{\link{mooFunction}}.}
\item{...}{Ign... |
28e6621cce0dd406ee534955480e7f3955a7cc7f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spatstat/examples/plot.solist.Rd.R | 6e3c6ff6dddd06f91df1df99946f33e3514731e6 | [] | 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 | 332 | r | plot.solist.Rd.R | library(spatstat)
### Name: plot.solist
### Title: Plot a List of Spatial Objects
### Aliases: plot.solist
### Keywords: spatial hplot
### ** Examples
# Intensity estimate of multitype point pattern
plot(D <- density(split(amacrine)))
plot(D, main="", equal.ribbon=TRUE,
panel.end=function(i,y,...){contour(y... |
362bc29107601d4a39b88a4be7f22e2bace5b050 | 44a3fad6338a63ac5417b1e52e47420c0e013f45 | /man/dmesn.Rd | c01f9f691299aca0c86f9748fb743fc87a8b77a5 | [] | no_license | cran/ExtremalDep | 4faac60ce0040262a98410edc6488ddf939ad9bd | 18238416ddb6567610c4457dc332316272dbd16e | refs/heads/master | 2023-03-06T18:03:59.304908 | 2023-02-26T14:40:02 | 2023-02-26T14:40:02 | 236,595,530 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,568 | rd | dmesn.Rd | \name{dmesn}
\alias{dmesn}
\alias{pmesn}
\title{Bivariate and trivariate extended skew-normal distribution}
\description{Density function, distribution function for the bivariate and trivariate extended skew-normal (\acronym{ESN}) distribution.}
\usage{
dmesn(x=c(0,0), location=rep(0, length(x)), scale=diag(length(x)... |
a9b74ddf39e0a9eaeb59516f49bcc9e083a55aa5 | 2027918b86990dfca61fc46bad9d7c09f60b9f2c | /01_enjoy_bays/data/chapter15/chapter15莠穂ク・ex-Gauss_fitting.r | 94e06094eeb029ccdf8efae8e07e304c1c3a3b2d | [] | no_license | kaida6213/bays_study | 43b09dafccf1f33df0812b5879352db001bca025 | fa6c3b6d8daef0a19d01ff36c01762a109b17a0d | refs/heads/master | 2023-02-13T14:04:08.979744 | 2021-01-09T07:03:49 | 2021-01-09T07:03:49 | 326,894,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,558 | r | chapter15莠穂ク・ex-Gauss_fitting.r | #Stan2.17, rstan 2.17.3, R3.4.4, Mac OS Sierraで動作確認済
#データの読み込み(rtは反応時間、subは参加者ID、cond=1は探索メインブロック、2は記憶メインブロック)
total_dat01 <- read.csv("search_rt.csv",header=T)
#外れ値を除外
total_dat01 <- subset(total_dat01,rt>0.20 & rt<15.00)
#参加者の条件ごとに平均値を算出し、対応のあるt検定(伝統的な方法)
total_mean <- tapply(total_dat01$rt,list(total_dat01$sub,to... |
0806c0f076e5a9bccce6d0845434dba9ff46dcb5 | 7ce35c255fe7506795ff7abc15b5222e582451bb | /5-visualizations/risk factors/fig-spline-plots.R | 1eeba512628073f47d9b107dd926aa9f3c851d3a | [] | no_license | child-growth/ki-longitudinal-growth | e464d11756c950e759dd3eea90b94b2d25fbae70 | d8806bf14c2fa11cdaf94677175c18b86314fd21 | refs/heads/master | 2023-05-25T03:45:23.848005 | 2023-05-15T14:58:06 | 2023-05-15T14:58:06 | 269,440,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,945 | r | fig-spline-plots.R |
rm(list=ls())
source(paste0(here::here(), "/0-config.R"))
source(paste0(here::here(),"/0-project-functions/0_descriptive_epi_wast_functions.R"))
#Load haz and whz data
d <- readRDS(rf_co_occurrence_path)
d <- d %>% subset(., select=-c(tr))
#merge WLZ outcomes with covariates
cov<-readRDS(clean_covariates_path)
t... |
bc11dbfdfaf1efffb2ed589de14876ca19cf47b3 | e0e538679b6e29837839fdbc3d68b4550e256bb9 | /docs/autumn/example/data-data.frame.r | 54903e4e4d86d04fe81344c202dc0f5b038e1b9e | [] | no_license | noboru-murata/sda | 69e3076da2f6c24faf754071702a5edfe317ced4 | 4f535c3749f6e60f641d6600e99a0e269d1fa4ea | refs/heads/master | 2020-09-24T20:23:36.224958 | 2020-09-22T07:17:54 | 2020-09-22T07:17:54 | 225,833,335 | 0 | 0 | null | 2019-12-05T08:20:51 | 2019-12-04T09:51:18 | null | UTF-8 | R | false | false | 784 | r | data-data.frame.r | ### データフレームの例 (ベクトルから行列を作成)
(a <- data.frame(height=c(172,158,160),weight=c(60,53,51)))
(b <- matrix(1:8,nrow=4,ncol=2))
(c <- data.frame(b)) # 行列から作ることもできる
(rownames(c) <- letters[1:nrow(c)]) # 行名を付ける
(names(c) <- c("Left","Right")) # 列名を付ける
c # 内容を確認する
### データ例 datasets::airquality (詳細は help(airquality))
dim(air... |
017a727a8499977ea1ebf098cc95b86bd120bb4c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BWStest/examples/murakami_cdf.Rd.R | 6b9c21bb0813ee4bad81f4c629d2bb75a9e0bba3 | [] | 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 | 543 | r | murakami_cdf.Rd.R | library(BWStest)
### Name: murakami_cdf
### Title: Murakami test statistic distribution.
### Aliases: murakami_cdf
### ** Examples
# basic usage:
xv <- seq(0,4,length.out=101)
yv <- murakami_cdf(xv, n1=8, n2=6, flavor=1L)
plot(xv,yv)
zv <- bws_cdf(xv)
lines(xv,zv,col='red')
# check under the null:
## Not run:
##... |
875001047a82aae326b7677833831cbfec6a7223 | ae0d3cc702453a4884ad59c149e19010cbd6378a | /plot1.R | 175b3c2a13a625e2278fe87ab821b578d869c8ea | [] | no_license | dreammaster38/ExData_PeerAssessment2 | e74f0292fa2ff202b5066b35dabd1fe040af7c73 | 55e2bf132d00df6b61ca59eca4a2cf6d82fd3540 | refs/heads/master | 2021-01-24T00:44:32.444927 | 2014-07-23T15:47:58 | 2014-07-23T15:47:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 745 | r | plot1.R | library(data.table)
## Load the two data sets if the not already exists in memory
if(!exists("NEI")){
NEI <- readRDS("summarySCC_PM25.rds")
}
if(!exists("SCC")){
SCC <- readRDS("Source_Classification_Code.rds")
}
# create a data table from the data frame
data <- data.table(NEI)
# sum the total PM2.5 emission from... |
aef3362dd04f26a3d3f04fd82bac9ae80695a383 | 7b122933da2451a501a6f6a930653d8c52f55bdc | /scripts/PopGenome_cisreg_chr5.R | 42e5ed10d600f8c36ba66531875772f4ea89f445 | [] | no_license | rtraborn/Promoter_PopGen | 54e5c31a6ca66fc93c8307a11cb2ed4ae5c2bfb5 | 384120a928451a73533e4067e701547c99609a70 | refs/heads/master | 2022-03-17T17:48:48.288667 | 2019-12-06T17:38:19 | 2019-12-06T17:38:19 | 67,723,999 | 0 | 0 | null | 2018-04-07T21:49:53 | 2016-09-08T17:12:11 | R | UTF-8 | R | false | false | 2,738 | r | PopGenome_cisreg_chr5.R | ## This script tested and ready for production mode on Carbonate
library(PopGenome)
library(bigmemory)
library(tools)
##########################################################################
vcfDir <- "/N/dc2/projects/PromoterPopGen/human_complete_data/human-split-data/cisreg_chr5"
fileList <- "/N/dc2/projects/Pr... |
174e05693d41f4a786bdb3f8f796fb6475b43c8f | 42babe3bd1ebd1d9151e325aa6ce74e31330cbc1 | /sRGES_all_cmpds.R | ac8a26adf46c383c4da820a490288cba780f1845 | [
"MIT"
] | permissive | minghao2016/RGES | ee841e11a2cdf939ffba8e6e6263b41793860005 | af7fa59649dbc5dfa21b59f5446ea743ba236438 | refs/heads/master | 2020-03-22T22:22:55.641852 | 2017-07-06T23:34:57 | 2017-07-06T23:34:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,566 | r | sRGES_all_cmpds.R | #using sRGES to summarize all compounds
library("plyr")
cancer <- "ER"
#build a reference model according to dose and time
output_path <- paste(cancer, "/all_lincs_score.csv", sep="")
lincs_drug_prediction <- read.csv(output_path)
#should use pert_dose > 0.01
lincs_drug_prediction_subset <- subset(lincs_drug_predic... |
fd9b7908ff2600fad0e691348e8b19c8e8c4a2cc | 514e66bd56b9253aa10899c469a3f67dd2959777 | /man/skIncrPartialPCA.Rd | a4aa117d3a03c6c0a85bbb75af8c49c3402c8c19 | [] | no_license | vjcitn/BiocSklearn | e37e07120b943c545d26ca7116912ac66fd56ba6 | 3fca39434eef1456c3026414bc1e3640f67cb9cc | refs/heads/master | 2023-01-05T12:36:07.175212 | 2022-12-26T12:06:25 | 2022-12-26T12:06:25 | 97,358,482 | 1 | 1 | null | 2019-11-03T21:36:55 | 2017-07-16T03:53:58 | R | UTF-8 | R | false | true | 862 | rd | skIncrPartialPCA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/skIPart.R
\name{skIncrPartialPCA}
\alias{skIncrPartialPCA}
\title{use basilisk discipline to perform partial (n_components) incremental (chunk.size) PCA with scikit.decomposition}
\usage{
skIncrPartialPCA(mat, n_components, chunk.size = 10)
}... |
6dccfe51edc71fb625cc65d7246a1591cbc57a9f | 3524de329d1f28a6df15093155ea6c2df9c37f54 | /long_algorythm(v0.3).r | 1588c309e51ad008c02974009acafdfed5f82fa6 | [] | no_license | SidGor/turtle_project | 324580276d8c57b7b5939f919fb7f48115458298 | 47f972d3c7aef2903e302081c9ac9a110094c71d | refs/heads/master | 2021-01-23T16:17:48.310002 | 2017-06-19T07:12:19 | 2017-06-19T07:12:19 | 93,289,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,852 | r | long_algorythm(v0.3).r |
#考虑过整体设限的风险控制方案,比如说将现有持仓的向量乘以相关性矩阵,然后就可以判断整个持仓有没有超过风险限制,
#但是这么做有一个问题,那就是判断出持仓风险之后无法有效地设定反向建仓的规则,同时,这种办法无法有效地识别“
#同向开仓不能超过12个Unit“的问题。
#一个新的思路是当判定出爆仓之后,从holding的记录上面逐条删除重新判定,也就是说一共有两套方程:
#1. 加仓的时候用循环判定加仓是在范围内的,一旦超出范围,撤销上一个加仓并且转向下一个(暂时不考虑优先加信号强的仓)。
#2. 每回合开始的资金控制,一旦判定不及格就以倒叙的形式减仓,那就是说“standing_contract”的顺序往回减并计入损失。
l... |
384e8ee6a93c0863d942a95b85737f9d8865688a | 2077274b03658de2834f88bba57480e3c9538e02 | /packrat/lib/x86_64-apple-darwin15.6.0/3.4.2/shinytest/tests/testthat/test-exported-values.R | 9e6c64db11bb5a024f60c29b42e948ad11e62aef | [
"MIT"
] | permissive | danielg7/FireWeatherExplorer | 331da0c2f47ac19bba5cdc8d7dbe8b70ece50cfe | 567e3120ec4f63951de566547d678919b692ccd7 | refs/heads/master | 2021-09-20T05:13:31.989782 | 2021-08-08T15:07:43 | 2021-08-08T15:07:43 | 123,375,653 | 0 | 0 | MIT | 2020-06-18T19:25:34 | 2018-03-01T03:15:48 | C++ | UTF-8 | R | false | false | 371 | r | test-exported-values.R | context("Exported values")
app <- ShinyDriver$new(test_path("apps/test-exports/"))
test_that("Exported values", {
x <- app$getAllValues()
expect_identical(x$export$x, 1)
expect_identical(x$export$y, 2)
app$setInputs(inc = "click")
app$setInputs(inc = "click")
x <- app$getAllValues()
expect_identical(x... |
cef21ddc00f6d1a15ab754e142814872b43d8ae4 | e2c34286397b6fa5dfeb4646ea7d1aa68089924a | /plot2.R | f7b3436ae2065ae64221723efd0ee721c495eac0 | [] | no_license | jxchen01/plottingR | 2686e78860c406a517f38c8613bc25a75c9d0a8c | d04e3243df89d89b07ace472b070d90bf99c9112 | refs/heads/master | 2021-01-01T15:37:04.950467 | 2014-07-11T03:29:09 | 2014-07-11T03:29:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 292 | r | plot2.R | png('plot2.png')
plot(md$Global_active_power,type="l",axes=F,xlab=" ", ylab="Global Active Power (kilowatts)")
par(xaxp=c(0,length(md$Global_active_power),2))
axis(1,lab=F)
axis(2)
box()
text(axTicks(1), par("usr")[3] - 0.4, adj=1, labels=c("Thu", "Fri", "Sat"), xpd=T, cex=0.8)
dev.off() |
28326f2c4295525db218fcfb3c9fd2c9dc6cdb3a | 0e84ee8922b96bd526883e3b7dcab258c278d84e | /man/math_stat.Rd | f5d2c17e0af23ba3d23712620c39f91afb01e07d | [] | no_license | zhaoxue-xmu/RDA | 8f9f68620d9c1393c66e0efd1c9ccda7e1008ad6 | ea8ed94680c1964f491bbbe17e22c9a52659f39c | refs/heads/master | 2021-01-17T16:00:27.495392 | 2017-03-24T15:42:06 | 2017-03-24T15:42:06 | 82,945,310 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 456 | rd | math_stat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_math_stat.R
\docType{data}
\name{math_stat}
\alias{math_stat}
\title{Dataset of students' math and stat score in chapter6}
\format{a dataframe with 24 rows and 2 variables
\describe{
\item{math}{students' math score}
\item{stat}{studen... |
279fa3061aac831dd670b29ba6dc7b5600471ab3 | 83452e8685d58e9d02591d01525f0f3f0a0fb4cb | /454_adv_modeling/team_proj/scripts/wrapper_module.R | 71c7970f34077571d4b69f4ce9eb5ab8aca79051 | [] | no_license | tulasikparadarami/mspa_projects | 7469aec9b0addd23fc1f547711cc9762db1e39d8 | 2cba7a390a1f25c3bd6b3c322d90463916639d10 | refs/heads/master | 2022-03-08T21:24:36.216330 | 2015-08-14T01:08:34 | 2015-08-14T01:08:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,757 | r | wrapper_module.R | # setwd("~/Google Drive/MSPA/454 (Advanced Modeling Techniques)/team project/allstate purchase prediction")
setwd("~/github/mspa_projects/454_adv_modeling/team_proj")
initialize = function() {
# load allstate data from csv into dataframe
source("scripts/load_data.R")
allstate_data_tbl = load_data()
allstate... |
07c7e2412c4806c08790965b3d794d484ed7ac1a | 1c343974009a6fb7910eb3ab338a21d865c7c870 | /notebooks/render_integrated_datasets.R | 40e99fec3752429939ed55ba3c73760445b29f35 | [] | no_license | szsctt/FRG_hep_snRNA | c8311f01967f82979a70f23121c4abbff5b9c7cf | 32618be3dff281d0e36410b1af1d3559df32d6b6 | refs/heads/master | 2023-04-17T21:08:51.251906 | 2022-11-04T12:14:54 | 2022-11-04T12:14:54 | 458,967,865 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 277 | r | render_integrated_datasets.R |
for (m in c(FALSE, TRUE)) {
print(glue::glue("working on mouse {m}"))
rmarkdown::render("integration.Rmd",
params=list("include_mouse" = m),
output_file=glue::glue("../out/Seurat/integrated/integrated_mouse{m}.html"))
}
|
e2611c43c022a080a99d33b7375c34721c4a363e | ce6c631c021813b99eacddec65155777ca125703 | /R/str.R | 7c44fdfb529f769e9ef2c5ca67a11d04f2ec19a5 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | Zhenglei-BCS/smwrQW | fdae2b1cf65854ca2af9cd9917b89790287e3eb6 | 9a5020aa3a5762025fa651517dbd05566a09c280 | refs/heads/master | 2023-09-03T04:04:55.153230 | 2020-05-24T15:57:06 | 2020-05-24T15:57:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,329 | r | str.R | #' Display Structure
#'
#' Displays the basic information about an object: methods for "lcens," "mcens,"
#'and "qw" data.
#'
#' @aliases str.lcens str.mcens str.qw
#' @param object an object of class "lcens,", "mcens," or "qw."
#' @param \dots any additional valid arguments ot the default method for \code{str} and
#'g... |
92bc48d716a34a93c575e629c0dcf63fe53320c2 | 7a91b0eec2b3ab87ef6c868d1203063fa97b43d4 | /man/glmrob.control.Rd | 98965c9e662234688d046b6aee121354b215ea9e | [] | no_license | cran/robustbase | a40f49c769a17af095660947616d9fbbbc3cf1e4 | 335b69f2310bd21ca4cdfc17a2a99ebbcad84017 | refs/heads/master | 2023-06-30T09:52:16.026413 | 2023-06-16T12:30:02 | 2023-06-16T12:30:02 | 17,699,299 | 7 | 8 | null | null | null | null | UTF-8 | R | false | false | 1,622 | rd | glmrob.control.Rd | \name{glmrob..control}
\title{Controlling Robust GLM Fitting by Different Methods}
\alias{glmrobMqle.control}
\alias{glmrobMT.control}
\alias{glmrobBY.control}
\description{
These are auxiliary functions as user interface for \code{\link{glmrob}} fitting
when the different methods, \code{"Mqle"}, \code{"BY"}, or
... |
3d2faf5f581217deadba399a301d44f23aa7a0bb | 78aa3820d01482c8435cd3418e75633f07767846 | /lab1.r | 8fffd1fc864f339e08961b02e23fa2f87817ee92 | [] | no_license | NicolasRomeroF/AnalisisDatosLab1 | a438f36bdfa196160c421e1f54b4cfcf10a22c4c | 5f834700d289705dc6c5f1ed1789b8464aa50f52 | refs/heads/master | 2020-04-05T02:32:36.699303 | 2018-11-19T05:35:17 | 2018-11-19T05:35:17 | 156,481,047 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,183 | r | lab1.r | library(ggplot2)
library(gridExtra)
path = "~/Escritorio/USACH/Analisis de Datos/Lab1/hepatitis.data"
#path = "~/Documentos/AnalisisDatosLab1/hepatitis.data"
hepatitis <- read.table(path,sep=",", na.strings = c("?"))
names <- c("CLASS","AGE","SEX","STEROID","ANTIVIRALS","FATIGUE","MALAISE",
"ANOREXIA","LIV... |
4d17e58ab2f01a91c5d41707cefea0772ea9a4b0 | abd37a449baf156dfcdb03f26885fb03000c0d54 | /feathers/script.R | ea9470e977268b7b09f7d201c74d89050c1c4919 | [
"MIT"
] | permissive | biologik303/data_art_gganimate | 6844e8276e6713cf90a00ef2dd312d72f544a146 | bf1f95125f440a8ce0a6ea64bed329c3c23c60c1 | refs/heads/main | 2023-07-09T16:19:14.748621 | 2021-08-11T09:58:06 | 2021-08-11T09:58:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,411 | r | script.R | library(tidyverse)
library(gganimate)
library(paletteer)
library(gganimate)
GenArt_ellipse = function(n, from , by = 1 , rand1, rand2, rand3) {
dataframe = data.frame(t = seq(from,n,by)) %>%
mutate(
x = sin(t+rand1) + sin(t + rand2) * exp(rand3)^-rand1,
y = cos(t-rand3) + cos(t - rand3) * exp(... |
e25a9acb10e5663d9c397aae68fffdb3062b8939 | ce4b293b81ce787c2b183c9df3abbdf414543799 | /merge_wigs.r | 30812b717066ac239296a682230862acd6aef056 | [] | no_license | BethanyStone/NGS-scripts | 61d46f30cf3cc8b0d93584766cf0bcac238c7f68 | 13f404b53616c0672bc25c6f2e76755f3ddf8be3 | refs/heads/master | 2021-01-22T18:37:45.398668 | 2018-06-05T07:47:27 | 2018-06-05T07:47:27 | 102,410,772 | 0 | 1 | null | 2017-09-04T23:24:00 | 2017-09-04T23:24:00 | null | UTF-8 | R | false | false | 1,437 | r | merge_wigs.r | #!/usr/bin/env Rscript
# merge wigs to make pairwise correlation matrices
# run in directory with wig files to correlate
options(echo=T)
args = commandArgs(trailingOnly=T)
print(args)
context=args[1]
files=dir(pattern=paste0(context,"_100bp.wig"))
data <- read.delim(files[1], head=F, skip=1)
data <- data[,1:4]
data ... |
3cc3a48db257d2fda4371482589c099032cfb9f5 | b2213d14bb828f04538f0e553750d6e5ad258a24 | /R/get_gear.R | 23beb0b65de94b327bf3b3ead0ea4995b54d37c6 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain"
] | permissive | fawda123/rStrava | 99b8cf6ab0940e212c1f82cbbad1fd32587cd1cb | 49c887dd4448fc56aac4fbb63bc84db67b26db75 | refs/heads/master | 2023-06-18T00:17:13.834153 | 2023-06-16T11:55:11 | 2023-06-16T11:55:11 | 23,404,183 | 148 | 38 | null | 2023-02-01T02:27:38 | 2014-08-27T20:23:47 | R | UTF-8 | R | false | false | 882 | r | get_gear.R | #' Get gear details from its identifier
#'
#' Get gear details from its identifier
#'
#' @param id string, identifier of the equipment item
#' @param stoken A \code{\link[httr]{config}} object created using the \code{\link{strava_oauth}} function
#'
#' @details Requires authentication stoken using the \code{\link{str... |
c6fe6c976ab40c46968d63c764ec50b31564a55a | b2d91fdcedbe5d9f6d88d2942c0867d7aa6dffe2 | /r_tut10_multidimensionalarrays.R | 7da8665f0e594e358fe291f0ed1d5c4eff701600 | [] | no_license | roisinod/r_programming_excerises | bd040482a2bd4d6d4073caac2fc176f4204003f9 | ae24cd1277f70d0d835a1a360aa510058019ab99 | refs/heads/main | 2023-02-18T00:59:22.673109 | 2021-01-20T13:34:40 | 2021-01-20T13:34:40 | 329,304,637 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 84 | r | r_tut10_multidimensionalarrays.R | #multi-dimensional arrays
array1 = array(data = 1:8, dim = c(2,2,2))
array1[1,2,2] |
9830a68fa6ed1077677ee3df26cada6e5be016f4 | 9e5a8d51d4f6995a23ea7c6025a54932e8cd2aac | /R/markergene_config.R | 893ddcaa27d47e892e4443ce721332dd2a1e80ee | [] | no_license | XingjieShi/scRNAIdent | f923ad93fd2e5c84080b205cb966f2aeeb41c9e3 | 1293373ad459736011daa6fa2989d6129d105979 | refs/heads/master | 2023-09-05T13:30:31.380064 | 2021-11-19T15:03:42 | 2021-11-19T15:03:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 159 | r | markergene_config.R | markergene.config.cellassign <- list(base_cell_type=NULL)
markergene.config.seurat <- list(only_pos=TRUE,min_pct=0.25,logfc_threshold=0.25,marker_gene_num=20)
|
5ca69bbef0a3252f53e190d69a7b6d46df96e012 | 282937161c6f9e14877757c56dabc66d0621a413 | /EMD vs FFT/fft_filter.R | 13c8d653911bfa436a59354b9877f67d457455b2 | [] | no_license | tarasevic-r/Vibro-acoustic | e292a6c1ebd1121d5640d9a17600466a8d9ba3f4 | 3eda43eed45d8eeef37c547ec479223b70589a71 | refs/heads/master | 2022-04-18T16:19:59.853574 | 2020-04-02T06:25:38 | 2020-04-02T06:25:38 | 247,627,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,358 | r | fft_filter.R | ## FFT
# 2020-01-15 T15:18 RT
# Order FFT coeficients ascending and choose all except main 3 coeficients
idx_weak_FTs1 <- order(magnitude1, decreasing = F)[1:(length(magnitude1)-3)]
# idx_weak_FTs2 <- order(magnitude2, decreasing = F)[1:(length(magnitude2)-3)]
# keep only 3 main coeficients, rest change to ... |
207f2153a6b1c130b1f98ce2449068796ff2a1f0 | 979adfd664785863c04de2666753dede653372b0 | /Códigos/graph_text_mining.R | 4ccd6dca8bc7d3be2757c3e479cc2cc29d199d64 | [] | no_license | trifenol/trifenol.github.io | 8c136a7ea73f578102e405d05a39f43dbfb7c35a | 821735b0b93cf12d3c883d07ff7a48261759feb4 | refs/heads/master | 2021-11-25T22:22:40.588435 | 2021-11-10T15:07:46 | 2021-11-10T15:07:46 | 99,167,743 | 2 | 2 | null | null | null | null | ISO-8859-1 | R | false | false | 4,818 | r | graph_text_mining.R | # Deletar todos os dados já carregados
rm(list=ls(all=TRUE))
# visualizar diretório atual
getwd()
setwd("INSIRA_AQUI_SUA_PASTA_DE_TRABALHO")
# A função ipak instala e carrega multiplos pacotes no R.
# Ela checa se os pacotes estão instalados, instalas os que não estão, depois carrega e informa o status de t... |
e9c7bca54b7cc975aa43c88d9e05bf0e6e5a8327 | ffa47806e5cf2d295109aa53e03bcf1650ae0fe6 | /R/main.R | 6bc04e5de5dfb52c36c113fa85fe5bc2cfca79af | [
"MIT"
] | permissive | ShadowFiendSF/TFCluster | a44d904a334c3df07eb310e9f8f6b66f82348b87 | 95eba8a5543e392a3ff762467623a12deceeae63 | refs/heads/master | 2021-08-28T04:47:00.698275 | 2017-12-11T07:41:14 | 2017-12-11T07:41:14 | 112,009,776 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,886 | r | main.R | #
# This script was used for eliminating redundant motif
#
# Author: Ryan Lee
# Date: 2017/10/16
# 1. determined pairwise motif similarity using the TOMTOM program
# 2. compiled a pseudo-distance matrix
# 3. 10 - log10-transformed TOMTOM q value
#
# @param memeFile meme file
# @param tomtomFile tomtom ... |
81803ecc9fe2f1fdce08061fb53b012985c2182b | e4bfd14f59339fa79f1297045937f256a7d5baa9 | /fastq_trimming/initLesson.R | 853e917ebf9545bbb28d9292686d7c6a6f0f406a | [] | no_license | biocswirl-dev-team/BiocSwirl_RNAseq | d4c4dfef0f7751e14ee9d28d6c2135aeebf1271a | 9b6ae81f2e6092dd11446fd4ca525d5700ce1c1e | refs/heads/main | 2023-03-13T23:21:36.348579 | 2021-03-11T05:09:38 | 2021-03-11T05:09:38 | 323,150,222 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,874 | r | initLesson.R | # Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
.get_course_path <- function(){
tryCatch(swirl:::swirl_courses_dir(),
error =... |
c87a8b0e03f93aa57d7b8ede4ac8ee85ffbff1c7 | 2e5bcb3c8028ea4bd4735c4856fef7d6e46b5a89 | /R/GcContentNormalization.R | 31a6a7ab8428515b74a2bc896367ad9883062631 | [] | no_license | HenrikBengtsson/aroma.affymetrix | a185d1ef3fb2d9ee233845c0ae04736542bb277d | b6bf76f3bb49474428d0bf5b627f5a17101fd2ed | refs/heads/master | 2023-04-09T13:18:19.693935 | 2022-07-18T10:52:06 | 2022-07-18T10:52:06 | 20,847,056 | 9 | 4 | null | 2018-04-06T22:26:33 | 2014-06-15T03:10:59 | R | UTF-8 | R | false | false | 13,979 | r | GcContentNormalization.R | ###########################################################################/**
# @RdocClass GcContentNormalization
#
# @title "The GcContentNormalization class"
#
# \description{
# @classhierarchy
# }
#
# @synopsis
#
# \arguments{
# \item{dataSet}{A @see "CnChipEffectSet".}
# \item{...}{Additional arguments passed... |
e6ce31b5a8144de808e43bb54818ee6edb83feff | 6098cc7a77f988e28cc7f59012224b4a7cdc35ff | /Practise.R | a1636d9955bdbc5587332393dd59440b6fbfd1a4 | [] | no_license | mingyanz130/regrssion_models_and_predictions | da32bb7a9869de33e39849fa58889e5cefe426b6 | 2b305d5bb68a6cd38f1d8c12cea1cb112c86b962 | refs/heads/master | 2020-08-26T18:21:39.753355 | 2019-10-23T16:20:07 | 2019-10-23T16:20:07 | 217,102,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 114 | r | Practise.R | ## Set my working directory
setwd("~/Documents/STATS")
## Load necessary R libraries
library(ggplot2)
|
92f9c35729971e544793d261d8586088e22fda77 | 4384af4add4a62c2e922704e6ef2f7729f33bef0 | /RCode/stratVarGBME/3_getPCA.R | 582cbed31eab73a7f5d1dee05f2678a418dfc220 | [] | no_license | s7minhas/ForeignAid | 8e1cffcae5550cbfd08a741b1112667629b236d6 | 2869dd5e8c8fcb3405e45f7435de6e8ceb06602a | refs/heads/master | 2021-03-27T18:55:20.638590 | 2020-05-12T16:42:58 | 2020-05-12T16:42:58 | 10,690,902 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,833 | r | 3_getPCA.R |
## Tweaks to PCA:
# 1) no option to return eigenvalues in the wrapper function GenerateDilsNetwork; changed code to do this which allows us to see how much variance each component explains
# 2) scale and center is turned to FALSE ; usually shouldn't data be centered before you do a PCA analysis?
# 3) does not sample ... |
1081ab468196233a5cc4cb49d3cf9e4adbc7e579 | 86772a78af6ca3567ed333c9a4cd68c5af73848d | /examples/A novel algorithmic approach to Bayesian logic regression supplementaries/simple usage/inference_help.r | a69d3099fb4fb2f1699895244b5baa8dde96c54b | [] | no_license | aliaksah/EMJMCMC2016 | 077170db8ca4a21fbf158d182f551b3814c6c702 | 3954d55fc45296297ee561e0f97f85eb5048c39e | refs/heads/master | 2023-07-19T16:52:43.772170 | 2023-07-15T16:05:37 | 2023-07-15T16:05:37 | 53,848,643 | 17 | 5 | null | 2021-11-25T14:53:35 | 2016-03-14T10:51:06 | R | UTF-8 | R | false | false | 2,139 | r | inference_help.r | #read the most recent stable version of the package
source("https://raw.githubusercontent.com/aliaksah/EMJMCMC2016/master/R/the_mode_jumping_package4.r")
#make sure that you are using Mac Os or Linux (mclapply is currently not supported for Windows, unless some mclapply hack function for Windows is pre-loaded in your ... |
8ae770ac31d3528b9e917fff1dadcdec5ceca750 | 3fe7b25ac1e9f824a531fbf7c43bad84e9ac7d9b | /WESyS/epa-biogas-rin-HTL-TEA/studies/FY18/sensitivity/src/vbsa/mcf.testing/mcf.scratch.R | ddddb9f59b6c237823f8a1582e20c7c15c624004 | [] | no_license | irinatsiryapkina/work | 5f3b67d36ffc18cb1588f8a3e519a76cdfc52e81 | 1aaecb300d4d0082df36fd79748145b22d1d7acb | refs/heads/master | 2021-01-16T10:25:55.539383 | 2020-02-25T18:58:31 | 2020-02-25T18:58:31 | 243,076,845 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,895 | r | mcf.scratch.R | #04052018
#MCF with AD k comparisons scratching
#data cave prototyping
rm(list=ls())
R_LIBS= ("/home/R/library")
library (data.table)
library (dplyr)
library (kSamples)
setwd ("~/GitHub/epa-biogas-rin/studies/FY18/sensitivity/src/vbsa/mcf.testing/")
#Functions
get.cdf <- function (numeric.variable, df) {
Fn <- ec... |
6daa9a9d2c16d55d4e4c061664ca37ed91fd5714 | 5010b9654424f6359239ebb19c6704fc3d89fac5 | /man/samplesize_onefactormultigroupspower.Rd | 3c6e3a149a79aa1d2b55dd382184085749d112a6 | [] | no_license | jaspershen/metabox.stat | 1d1f36e0a6048e038c95daf695560d32aebcf002 | b9292fa9f80d6b7c5c4d6aa9ec20d9c4b25b871a | refs/heads/master | 2021-01-12T12:48:39.480099 | 2016-09-22T17:30:07 | 2016-09-22T17:30:07 | 68,992,738 | 2 | 1 | null | 2016-09-23T05:43:58 | 2016-09-23T05:43:57 | null | UTF-8 | R | false | true | 493 | rd | samplesize_onefactormultigroupspower.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/samplesize_onefactormultigroupspower.R
\name{samplesize_onefactormultigroupspower}
\alias{samplesize_onefactormultigroupspower}
\title{samplesize_onefactormultigroupspower}
\usage{
samplesize_onefactormultigroupspower(k = 3, effectsize = 0.8,... |
50d4398b9477700d0aa656089d8035997149cf62 | 8dbde607e17f052b65320217557bb3dd6172f3ca | /man/IRTLikelihood.cfa.Rd | e6f1c60dc223ab0282fdcc9b5ba3930c8afec5b5 | [] | no_license | cran/TAM | 0b18b6cf93ed28eabbb1c0c6ce197a1f25d6a789 | f0902c41cf41d1c816bd719dcdee2980803f24a1 | refs/heads/master | 2022-09-05T14:37:58.976159 | 2022-08-28T17:40:02 | 2022-08-28T17:40:02 | 17,693,836 | 4 | 7 | null | 2021-05-25T02:31:46 | 2014-03-13T03:42:09 | R | UTF-8 | R | false | false | 3,720 | rd | IRTLikelihood.cfa.Rd | %% File Name: IRTLikelihood.cfa.Rd
%% File Version: 0.19
\name{IRTLikelihood.cfa}
\alias{IRTLikelihood.cfa}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Individual Likelihood for Confirmatory Factor Analysis
}
\description{
This function computes the individual likelihood evaluated
... |
06737bbff342ca1171c36f482c66e1eb3db7a0a6 | 333ab0943a89f695b4eed5c639ea0775e34746c6 | /man/lflt_bubbles_GlnGltCat.Rd | 55f2cac0f0e24dd05c35db3f6218483b34e20a55 | [] | no_license | jimsforks/lfltmagic | 0fca22f1b6ac9215b1b63b6190a308c741876008 | c1179763e526767e9ef24243a80bce938a56ef74 | refs/heads/master | 2023-03-15T10:27:40.779892 | 2021-03-10T17:26:51 | 2021-03-10T17:26:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 485 | rd | lflt_bubbles_GlnGltCat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bubbles_GlnGltCatNum.R
\name{lflt_bubbles_GlnGltCat}
\alias{lflt_bubbles_GlnGltCat}
\title{Leaflet bubbles by categorical variable}
\usage{
lflt_bubbles_GlnGltCat(data = NULL, ...)
}
\arguments{
\item{x}{A data.frame}
}
\value{
leaflet viz
}
... |
6542d0e805dcc2286ca215f0b432e60c83ed3a8b | fccc05683406bc5130e921058b2f356549c70a85 | /decsn trees.R | 24497c90af82f18191c61a8819b2bdc6ff8248ec | [] | no_license | mohanpeddada/R-code-for-Machone-learning-algorithms | a9ce5962d7c6c4d0e8c2fe0ccc434f98c0994b33 | 2e30e27cfdca96bef203e7366abb2a1c60a9c3c7 | refs/heads/master | 2020-04-15T10:08:30.571567 | 2019-01-08T06:45:45 | 2019-01-08T06:45:45 | 164,582,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 287 | r | decsn trees.R | ## Decision tree regressor with prestige dataset
data1 <- read.csv('prestige.csv')
indices <- sample(nrow(data1), round(nrow(data1)*0.85))
train_set <- data1[indices,]
test_set <- data1[-indices,]
library(rpart)
reg_model <- rpart(income~., train_set,method = 'annova',)
?rpart
|
2e40f3f1221a33f70d739d8a556e2ee5adf4aad6 | 10b908437ccb5123218ee56191cd4bf42c6051df | /Genome_processing/Functional_annotation/Mapped_geobacillus/[OLD]/Plot_change_func_annot.R | 914214a233bc5619ddffbb66cb358fc78b78bbff | [] | no_license | AlexanderEsin/Scripts | da258f76c572b50da270c66fde3b81fdb514e561 | b246b0074cd00f20e5a3bc31b309a73c676ff92b | refs/heads/master | 2021-01-12T15:10:47.063659 | 2019-03-10T15:09:38 | 2019-03-10T15:09:38 | 69,351,736 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,333 | r | Plot_change_func_annot.R | library(ggplot2)
library(reshape2)
library(gridExtra)
MyMerge <- function(x, y){
df <- merge(x, y, by = "row.names", all = TRUE, sort = FALSE)
rownames(df) <- df$Row.names
df$Row.names <- NULL
return(df)
}
###########################################################################
IG_included = TRUE
All_scenari... |
80771f1bdf6a42537fa7ea0c9d1f10b1e6bb43bd | 384dd8ffffaf0b791f3934589ab008a0da22920b | /man/modelStatistics.Rd | 10e5a6f2806115753dd61a160be1b35e15dbf610 | [] | no_license | cran/ndl | 51ca423e2cdad9411883eb723a79a74034cd72f0 | 52291ac2f05d4591d139240501c87b888093892b | refs/heads/master | 2021-01-06T20:41:47.421368 | 2018-09-10T12:40:02 | 2018-09-10T12:40:02 | 17,697,831 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,750 | rd | modelStatistics.Rd | \name{modelStatistics}
\alias{modelStatistics}
\title{
Calculate a range of goodness of fit measures for an object fitted with some multivariate statistical method that yields probability estimates for outcomes.
}
\description{
\code{modelStatistics} calculates a range of goodness of fit
measures.
}
\usage{
... |
5d4ae8ddb3b83d80dc4d157b7c10c30ed2514106 | 5fad2095f7ba96cd8def6e237761b4cd0945c19d | /server.R | 0d1afca6e20991c70830277d8460922552c0b89a | [] | no_license | Omni-Analytics-Group/gitcoin-grants-round-11-badger-hackathon | c664df6309bd2a85159d0bea7632a345d32743c2 | 52a52775b85f37b773d0cb4e8c17dcbce182655a | refs/heads/main | 2023-08-07T05:31:17.714653 | 2021-09-28T22:51:06 | 2021-09-28T22:51:06 | 411,401,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,422 | r | server.R | ## Load libraries
library(shinydashboard)
library(readr)
library(dygraphs)
library(lubridate)
library(xts)
library(httr)
library(dplyr)
library(ggplot2)
################################################################################
## Helper Functions
#################################################################... |
30b1c34895a0c5a9a6adb1f55282e3c8817ce4d3 | 8ef0f5c38582b1acea641ea3b0e62a534bdb9b31 | /R/densityplot.R | d9c0593705787ccb285275c79f32b669f710e637 | [] | no_license | ptvan/flowIncubator | af3f699105a6f9e65965788c8b84b4d1fdcdc221 | b212c701ba1fd1dd122edb9b7f49f5be674bc3e9 | refs/heads/master | 2020-12-31T02:02:22.889635 | 2015-11-06T17:17:19 | 2015-11-06T17:17:19 | 39,515,276 | 0 | 0 | null | 2015-07-22T15:52:01 | 2015-07-22T15:52:01 | null | UTF-8 | R | false | false | 633 | r | densityplot.R | #' plot the population as densityplot for the channels associated with the gate
#'
#' It is used to check the 1d density of the parent for the purpose of choosing appropriate
#' 1d gating algorithm or fine tune the gating parameters.
#'
#' @param x GatingHierarchy
#' @param data node/population name
#' @export
set... |
508ac2dd32ca0338088318fff7cbbd8451e04af1 | d33d59cc443f48e4477793a38bdfd04f833995a5 | /test/unittest/preprocessor/err.ifdefincomp.r | 221f15a9d38c163472a886605840df6c73572051 | [
"UPL-1.0"
] | permissive | oracle/dtrace-utils | a1b1c920b4063356ee1d77f43a1a0dd2e5e963c3 | b59d10aa886c2e5486f935c501c3c160a17fefa7 | refs/heads/dev | 2023-09-01T18:57:26.692721 | 2023-08-30T21:19:35 | 2023-08-31T20:40:03 | 124,185,447 | 80 | 20 | NOASSERTION | 2020-12-19T13:14:59 | 2018-03-07T05:45:16 | C | UTF-8 | R | false | false | 242 | r | err.ifdefincomp.r | -- @@stderr --
/dev/stdin:17: error: operator "defined" requires an identifier
/dev/stdin:17: error: unterminated #if
dtrace: failed to compile script test/unittest/preprocessor/err.ifdefincomp.d: Preprocessor failed to process input program
|
d72a00d5847ef2df0e7979d2d70ca8d303a9d22e | b0f77cca265f871fa01914deb0e7c6c8582ed6c3 | /R_Scripts/2d-density-plot.r | a00b56f76c81cb984e0fcecff824dd30c6e711e4 | [
"MIT"
] | permissive | joshuakevinjones/Code_Files | 2e94b8d0a79b73591e98828e89b5d80b8ed824d4 | eefd7337ae10c743c80d79aaeacf4d5d54229b56 | refs/heads/master | 2021-01-22T13:26:37.565713 | 2020-06-11T18:02:44 | 2020-06-11T18:02:44 | 100,659,992 | 0 | 0 | null | 2017-08-25T21:37:34 | 2017-08-18T01:27:31 | null | UTF-8 | R | false | false | 618 | r | 2d-density-plot.r | # 2D Density Plot
# Original source: r graphics cookbook
# load the gcookbook package for the data
library(gcookbook)
# load the ggplot2 package
library(ggplot2)
# reset the graphing device
dev.off()
# create the ggplot2 data
p <- ggplot(faithful, aes(x = eruptions, y = waiting)) +
# add a layer with the points
... |
05323f366fa9edd540f78b678cf56a676a709ff6 | d70dd8d045264d171e72b50801c09a8b716151d9 | /library/bvpSolve/doc/examples/musn.R | e11f839396569946870bbdcbaf96b6ee9056bbd3 | [] | no_license | mayousif/FYDP | 0351d5dd74e6901614e58774aea765bd35742fd0 | 8f43a6d29e60f02eb558323173987ce4b9869fe6 | refs/heads/master | 2020-12-09T23:05:32.166010 | 2020-04-04T22:12:16 | 2020-04-04T22:12:16 | 233,439,365 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,838 | r | musn.R | ## =============================================================================
## This is the example for MUSN in U. Ascher, R. Mattheij, and R. Russell,
## Numerical Solution of Boundary Value Problems for Ordinary Differential
## Equations, SIAM, Philadelphia, PA, 1995. MUSN is a multiple shooting
## code ... |
611b37e37fb210f4332201821ae260224050bd98 | d490fa1324d85e5e5c0a327358c09c9a5da969e8 | /man/plot_R.Rd | 9343bb972cc68975f244e85725ac18597f5baeb7 | [] | no_license | HaikunXu/IATTCassessment | 63e990425800bd0f3e2ae8b193e21cda597d0624 | cb584cf47f2a22a616aaacd71a92542fe85e6dbd | refs/heads/master | 2023-07-19T15:18:17.521122 | 2023-07-10T21:09:50 | 2023-07-10T21:09:50 | 191,084,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 411 | rd | plot_R.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_R.R
\name{plot_R}
\alias{plot_R}
\title{Plot quarterly and annual recruitment}
\usage{
plot_R(
SS_Dir,
lyear,
fyear,
legend,
Save_Dir,
ymax,
figure_name,
title,
xlim,
alpha = 0.1,
ref = 0
)
}
\description{
\code{plo... |
afed498d968cda40a414e11ba0704a579499cd7a | 12cdcabbc263d7dd18823feb5f59e3449fe57649 | /Arquivos de aula/2_3_Estatis_descrit.R | 82a958a73b3acddb91045d3ad418dc50bc837dd6 | [] | no_license | saraselis/Machine-Learning-em-R-IESB | cb2d96d0d1bdbd79ddb8d311921181e4022b9230 | d4fa94911c9db34677d68034b1c07821f4f22c0f | refs/heads/master | 2020-06-14T03:01:13.905315 | 2019-08-10T01:06:22 | 2019-08-10T01:06:22 | 193,600,144 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,058 | r | 2_3_Estatis_descrit.R |
#### PRINCIPAIS FUNÇÕES ESTATISTICA ####
## criando um vetor de 5 números, de 2.
numeros <- rep(x = 2,5)
numeros
## desvio padrão
sd(numeros)
## média
mean(numeros)
## mediana
median(numeros)
## máximo e mínimo
max(numeros)
min(numeros)
## resumo estatístico do vetor (não tem sd)
summary(num... |
fe47119d37c49805087c3ab0ccb6c4ee4704a25b | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /SpecsVerification/man/Auc.Rd | efc2b436f3a86d5f5df783b11ad3437a647e1e35 | [] | 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 | true | 1,545 | rd | Auc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Auc.R
\name{Auc}
\alias{Auc}
\title{Calculate area under the ROC curve (AUC) for a forecast and its verifying binary observation, and estimate the variance of the AUC}
\usage{
Auc(
fcst,
obs,
handle.na = c("na.fail", "only.complete.pair... |
2a05a1b3075970784c88a9ec087165ff202f7f66 | 9190fb72ead2d5b4c261653f3cf636e5f293bbed | /plot4.R | 6642fcabcb60adf213d4e54a3ee6b812e01ed838 | [] | no_license | acrost/ExData_Plotting1 | 67034ab7788e65890c42a3b265a6c042eb4978cf | ef2a31842d233ffb863411d61ff29ea405df81ce | refs/heads/master | 2021-01-22T15:35:05.202683 | 2015-01-11T21:43:00 | 2015-01-11T21:43:00 | 29,078,314 | 0 | 0 | null | 2015-01-11T02:04:54 | 2015-01-11T02:04:53 | null | UTF-8 | R | false | false | 2,656 | r | plot4.R |
#read in Household Power Consumption text file as a table
Power_table<-read.table("household_power_consumption.txt", header=T, sep=';', na.strings="?")
# only use observations from February 1 and 2, 2007
Power_table <- Power_table[(Power_table$Date == "1/2/2007") | (Power_table$Date == "2/2/2007"),]
# create a new c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.