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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6cb2fa74bc7c57c4f1d8e48c0c923fe55638ef89 | dc0df3319907e4615c94a8b5e15ae7c7a9a6d025 | /R/print.codebook.R | 11dd7bc24f9847ed41936d87fb890c76895ee5ca | [] | no_license | tkuehner/codebookr | 8cf3a9ba21c74f451d65d4558b37ae612e621ea4 | b03d8f4d74aaf685afb435d95a4263a12a917ebb | refs/heads/master | 2020-12-02T17:42:43.847035 | 2017-07-05T22:36:09 | 2017-07-05T22:36:09 | 96,416,325 | 1 | 0 | null | 2017-07-06T10:01:48 | 2017-07-06T10:01:48 | null | UTF-8 | R | false | false | 2,489 | r | print.codebook.R | ##' Print an S3 object of class \code{codebook}
##'
##' \code{read_codebook} reads a code book stored as a \code{csv} file
##' for either checking against a data file or relabelling factor
##' levels or labelling variables. \code{read_codebook} returns an S3
##' object of class \code{codebook}
##'
##' @aliases codebo... |
96dd7f865992d352ac8c3ca674d44847e8075e31 | f227ab831d162ce779731b7ad5b0bf39e951b4c6 | /cachematrix.R | 3c0a85b75fd13c402e50e0a11b2d4e4859aa1fad | [] | no_license | lyudmil/cache-matrix-inverse | 172aa56abb823758f98430e1b961e05f087777c5 | 2d975e7a71cc6a677b4e6028737e6f63d69fe790 | refs/heads/master | 2020-12-25T10:41:53.219608 | 2015-02-19T10:39:11 | 2015-02-19T10:39:11 | 30,979,475 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,709 | r | cachematrix.R | ## These functions provide a more performant way to invert matrices by
## caching previously computed values.
## makeCacheMatrix turns a regular matrix into an object with an inverse() method
## The inverse() method on the returned object will only calculate the inverse the
## first time and cache the value. Any subs... |
d6fb15620530f112e6b820490b7d0751ca4d1d3c | 5830b1560094b3fb09f7bd3ffb4dbc1a3834210a | /reporting/ResourceConsumptionReport.r | 47dfa1b0edcf7e38109c6a79ff2820aff5c96bfb | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | elkhan-shahverdi/streaming-benchmarks | 66ec62265f23d35f334c65c98e962d45870e40f1 | 9ff9f1854f9bc41a16e6c92c47226e7a32372a6c | refs/heads/master | 2021-07-21T17:25:35.102969 | 2020-04-22T18:12:45 | 2020-04-22T18:12:45 | 142,678,511 | 9 | 4 | null | null | null | null | UTF-8 | R | false | false | 13,041 | r | ResourceConsumptionReport.r | ######################################################################################################################################
########################## Benchmark Resource Consumption ##########################
##################################################... |
bd03f64c997c9401027f2f62d040b7fe83482afb | d311812591389299ab2a0d24b52b392c32efe887 | /R/get_effect_variances.R | f9a9243bac0e4a91f620dda969f6b3c9f93b9b10 | [] | no_license | bestwpw/margins | e6421f7910977bfb8e2083c769c4202164feca6f | 427f0b20bf79f2bb12bdaba35689688dbdd992cf | refs/heads/master | 2017-11-30T21:23:40.074525 | 2016-08-18T10:04:00 | 2016-08-18T10:04:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,062 | r | get_effect_variances.R | get_effect_variances <-
function(data = data,
model = model,
which = all.vars(model[["terms"]])[-1], # which mes do we need variances of
type = c("response", "link", "terms"),
vcov = vcov(model),
vce = c("delta", "simulation", "bootstrap"),
iterations = 50L, # if... |
f18b73b405bd048ccd626b66a361170f4a54bb37 | 589b566fc6d258a5c342cfc76782371b1681e4f3 | /elitism.R | 12072af780b72edeb399338479c50c507a44e552 | [] | no_license | Fozefy/GeneticAlgorithm | c36061e7d098649ee480d25f37c145ef07f331ab | db2f3ce9ad58a0ef5aa65a51a8c74afa5a5d0609 | refs/heads/master | 2016-09-06T07:06:36.741214 | 2016-03-08T21:31:22 | 2016-03-08T21:31:22 | 12,627,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,770 | r | elitism.R | #### Elitism
select.elite.population.fgen <- function(elite.fn, elite.size, maximizing, ...){
function(pop)
elite.fn(pop = pop, elite.size = elite.size, maximizing = maximizing, ...)
}
#note: elite.selection only works with integer or floating point fitness ordered by <= or >=
elite.selection <- function(pop, e... |
f34b23d1d24cd45c6bc6edba64b5782827cadc6c | 2a3f50853c6e3b404329e98076428f60629cca75 | /R/Scripts/KddPaper062014/SwitchingAREventInference.r | 8f8751b54e5793066775d4c00ac520ddc215b3cf | [] | no_license | wmchad/NetworkResearch | dc9d8f210325e58fa27c2bf52ad9c4dc4a917d0b | 9826d2442f291238c4d89bdca4046e93ee05b77e | refs/heads/master | 2021-01-17T06:34:14.150982 | 2014-09-08T19:15:36 | 2014-09-08T19:15:36 | 18,338,256 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,777 | r | SwitchingAREventInference.r | require("bcp");
setwd("c:/Code/NetworkResearch/R/Analysis/");
source("SwitchingAR.r");
setwd("c:/Code/NetworkResearch/R/Functions/Data/");
source("TowerFunctions.r");
GetTimeSeries <- function(data, day, interval) {
y <- NULL;
y$day <- data$TotalDiffCalls[data$Day == day];
y$interval <- data$TotalDiffCalls[data... |
135f7fb0de594eb759469305275627ee2a0c1158 | da2676b6fd629acdcad0bf955b0643a27407d1ce | /descriptives/ui.R | a9600b09bf595f55f7e6390b0d577c247c6b2788 | [] | no_license | DataKind-SF/datadive_201503_techsoup-global | 728e5a0ee69e5b29d91af8021df7a44ecd3b0c34 | 966f94d27bd522638c11582a13baca2f9fd49b1f | refs/heads/master | 2016-09-10T21:16:06.661971 | 2015-04-07T04:56:01 | 2015-04-07T04:56:01 | 31,853,990 | 0 | 12 | null | 2015-04-24T19:14:45 | 2015-03-08T15:10:51 | R | UTF-8 | R | false | false | 1,657 | r | ui.R | library(shiny)
library(gplots)
theme_set(theme_bw(base_size = 24))
shinyUI(fixedPage(
titlePanel("TechSoup Scratch"),
div(class="row",
column(6,dateRangeInput("date_range",label = h4("Transactions between"),start=min(.ts.data$Transaction_Date),end=max(.ts.data$Transaction_Date)))),
tabsetPa... |
2ee3a412cbb397240204ec4aab4fe647570fd38a | 054b849dd5ea11ad33471fb85ffeafbd9f2a57ec | /R/MI.R | b4a933f37333a5719ddac7a510041d9af3c444a5 | [] | no_license | kwlee58/class201402 | cc05b23d5fe0531541525b44d83a02fb0807cbd1 | 3723f190fb9b72d0efaa633c9fb31ae283dccd4d | refs/heads/master | 2021-01-10T08:01:47.160002 | 2016-11-22T22:57:47 | 2016-11-22T22:57:47 | 43,969,478 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,760 | r | MI.R | MI1402.2<-read.table("MI1402_2.txt",header=T,sep="")
music.score.2<-MI1402.2$Q_1+MI1402.2$Q_9+MI1402.2$Q_17+MI1402.2$Q_25+MI1402.2$Q_33+MI1402.2$Q_41+MI1402.2$Q_49
body.score.2<-MI1402.2$Q_2+MI1402.2$Q_10+MI1402.2$Q_18+MI1402.2$Q_26+MI1402.2$Q_34+MI1402.2$Q_42+MI1402.2$Q_50
logic.score.2<-MI1402.2$Q_3+MI1402.2$Q_11+MI1... |
c981cb40c1b047021926703479f7682c7198f2f7 | 8bde7be4bf935e9e38991f62dabe81542cc3139c | /flow/dimensionality_reduction/pca.R | d374512e1ae9235849e6a528349b2a6f7041ebaf | [] | no_license | burtonbiomedical/IIGeeks | a338437901198bb5ff29309fb9de2c7695309b91 | 5b8bcc39f27a140cc16d7991917df29d7e0b8093 | refs/heads/master | 2020-04-17T12:17:50.792062 | 2019-01-22T15:53:57 | 2019-01-22T15:53:57 | 166,574,679 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,089 | r | pca.R | ### PRINCIPLE COMPONENT ANALYSIS ###
require(stats)
require(ggplot2)
require(lattice)
require(dplyr)
#Read in data
data <- data.frame(read.csv("SEPSIS.csv", header=TRUE, sep=","))
sample <- sample_n(data, 100000)
channels <- c("CD57", "CD161", "CD3", "CCR7", "VA7.2", "CD8",
"Vdelta2", "CD45RA", "PanGD",... |
76d376969232e81e72e35a709fad98e1e9742f4d | 4582eb19bfc245bbe20ffa305279fbb545e54e3b | /man/download_meta-deprecated.Rd | 387b14d89ea52fd8d61d6f4becb345cd22031f55 | [] | no_license | edwindj/cbsodataR | a9045d130d9138fc40000b284b7a64e39bdd5af4 | e66ceeccca5d62c03f54b44ed3b69d0feaacf7ef | refs/heads/master | 2021-07-07T18:42:04.153201 | 2021-05-31T22:00:39 | 2021-05-31T22:00:39 | 34,798,294 | 31 | 13 | null | 2022-09-23T14:49:12 | 2015-04-29T14:24:37 | R | UTF-8 | R | false | true | 1,201 | rd | download_meta-deprecated.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download-meta.R
\name{download_meta-deprecated}
\alias{download_meta-deprecated}
\alias{download_meta}
\title{Dumps the meta data into a directory}
\usage{
download_meta(
id,
dir = id,
...,
verbose = FALSE,
cache = FALSE,
base_url... |
7817caf9ba6f323ccd0b363e3641aedbe3cdd82d | 8a12f6663116a7448b3c40ae39597bdd99766f84 | /R/traits.R | f44bd579b9698b2be36cb7a9aad1db5f8f46f621 | [] | no_license | patrickCNMartin/lighteR | 50f1751c46a8cecaaa328e278ee6a3d2074488aa | 78211ffa96f64dd0e8b84aae2e53c03804aa393a | refs/heads/master | 2023-02-22T16:26:57.960988 | 2021-01-27T12:52:55 | 2021-01-27T12:52:55 | 263,102,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,214 | r | traits.R | ################################################################################
############################ NPQ analysis ######################################
################################################################################
###########################################################################... |
77a73d8df01bbcc8f1c8142c0ebf37116c7ab264 | c6afcdb5dbee5bc96a5eac133632d1bef908ac98 | /downloadUSDM.R | 9833bea897844271686a3c9a3ba9c6d6ff407b15 | [] | no_license | mcrimmins/range-clim-resilience | 3ee2866ef470fa452f33a231ecc809ec911cf486 | cdb9b04396ad80cb24d51d9c433d90360b139f67 | refs/heads/master | 2020-03-22T16:48:41.826571 | 2018-07-09T23:54:26 | 2018-07-09T23:54:26 | 140,353,065 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,971 | r | downloadUSDM.R | # download all years of USDM shapefiles
# MAC 6/19/18
#Set years
yr1<-2000
yr2<-2018
# set directories - only needed for CyVerse instances
dir.create("./tmpFiles")
for(i in yr1:yr2){
paste0(i)
# temporarily download year files and then delete
# download test files; changed to "wget" from "curl"
print("Dow... |
243dfaee358a11ea5b98e71c00dd5bb6bf99c057 | 29d34e3302b71d41d77af715727e963aea119392 | /man/s.GLM.Rd | 594657c1c95e8603aea36d0c07388887ba5c5470 | [] | no_license | bakaibaiazbekov/rtemis | 1f5721990d31ec5000b38354cb7768bd625e185f | a0c47e5f7fed297af5ad20ae821274b328696e5e | refs/heads/master | 2020-05-14T20:21:40.137680 | 2019-04-17T15:42:33 | 2019-04-17T15:42:33 | 181,943,092 | 1 | 0 | null | 2019-04-17T18:00:09 | 2019-04-17T18:00:09 | null | UTF-8 | R | false | true | 6,785 | rd | s.GLM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s.GLM.R
\name{s.GLM}
\alias{s.GLM}
\title{Generalized Linear Model [C, R]}
\usage{
s.GLM(x, y = NULL, x.test = NULL, y.test = NULL, x.name = NULL,
y.name = NULL, family = NULL, interactions = FALSE,
nway.interactions = 0, covariate = NULL... |
a961333cb2c70830412549b8116e897393e8f7a8 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /CENFA/man/parCov.Rd | f875ca3150039ddf443bdd8eb4588d4805ff09d6 | [] | 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 | 3,033 | rd | parCov.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parCov.R
\name{parCov}
\alias{parCov}
\alias{parCov,Raster,missing-method}
\alias{parCov,Raster,Raster-method}
\title{Efficient calculation of covariance matrices for Raster* objects}
\usage{
parCov(x, y, ...)
\S4method{parCov}{Raster,missin... |
c0f7cc168a218964bc6ca51c96ad31fca626f7d3 | d078cbbe8dcc16be58f840f1d5459a1318d73c38 | /Exercise/Exercise.R | 5e6c43d5b30b9e39a443d089838c4b0039f92d94 | [] | no_license | naponjatusripitak/polisci490 | c8504c654b64088b3a5a5321f87d8206d977093f | dd2db773e069593d1339625256538482e61a4482 | refs/heads/master | 2021-05-05T09:42:10.630595 | 2018-04-08T22:13:05 | 2018-04-08T22:13:05 | 117,893,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,527 | r | Exercise.R | # Set working directory
setwd("~/polisci490/Exercise")
# Load packages
packages <- c("xml2","rvest", "dplyr", "tm", "tidytext", "ggplot2", "SnowballC", "stats", "MASS", "nnet")
load.packages <- function(x) {
if (!require(x, character.only = TRUE)) {
install.packages(x, dependencies = TRUE)
library(x, charac... |
91fb008a89630d5bbd555533a646a4b421eb5d5d | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8962_0/rinput.R | 952d972399124f4f8ba639dc0c89091e7689c5a5 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("8962_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8962_0_unrooted.txt") |
deff1542bcbd3b5151137a25e7682d2edba46336 | c19f860870dfdd0c8cb4198c3ef62a14ece71c76 | /man/GetSubject.Rd | 30e74bc6db17c63107a07fc2ef5a8610da9003d4 | [
"MIT"
] | permissive | HBGDki/FAIRsimulator | 84933d896d6d93c4c1dad0e348a6db2ccf449618 | 6d303b8c6381a379d5d4475ca8a56a1255940309 | refs/heads/master | 2021-01-20T01:10:38.058287 | 2017-05-21T16:58:37 | 2017-05-21T16:58:37 | 89,228,918 | 0 | 1 | null | 2017-05-02T18:14:49 | 2017-04-24T10:44:09 | HTML | UTF-8 | R | false | true | 577 | rd | GetSubject.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FAIRStudy.R
\name{GetSubject}
\alias{GetSubject}
\title{GetSubject}
\usage{
GetSubject(ID, TRTIndex, AgeAtRand, Cohort, StudyObj)
}
\arguments{
\item{ID}{The subject identification number}
\item{TRTIndex}{The treatment index}
\item{AgeAtRan... |
d3b8dfb59e6ab0c93398f42f2ff7ebb9f0de4a16 | a0c20713538fe09c254acb215c8b140b4f8780be | /Accessing the rows and columns and visualization.R | f360551d333c2c8ff85bd90f46f061c3e3104620 | [] | no_license | Gaurav715/Rprogramming | ef115880e7f11ba9e7338c4d56f5c45a31156e6e | 1d94bd8e39122ecb42ad08f358080fd5baaa466e | refs/heads/master | 2021-04-12T00:42:26.363123 | 2020-03-28T21:21:48 | 2020-03-28T21:21:48 | 249,070,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 411 | r | Accessing the rows and columns and visualization.R | x<-c("a","b","c","d","e")
x
Games
# calling particular columns and rows
Games[1:3,6:10]
Games[c(1,10),]
Games[,c("2008","2009")]
Games[1,5,drop=F]
Games[1,,drop=F]
myplot<-function(data,rows){
d<-data[rows,,drop=FALSE]
matplot(t(d),type = "b",pch=15:18,col=c(1:4,6))
legend("bottomleft",inset = 0... |
87715c4a0ae755d360423b08fc82454197621658 | 8e339bcc1e11a65db22ca0aac7f559c7ceeeb047 | /R/load_latest_forecasts_zoltar.R | a5ebbfacb17129e6c35b50f80762a1a8f055cafc | [] | no_license | eycramer/covidHubUtils | 89d423a954bde981b6348f78f1982e2d641879ec | 61c4819cdf702e431581a865fb39d07f15c39afd | refs/heads/master | 2023-02-03T01:41:28.118397 | 2020-12-21T17:27:08 | 2020-12-21T17:27:08 | 323,137,843 | 0 | 0 | null | 2020-12-21T17:57:44 | 2020-12-20T18:24:44 | null | UTF-8 | R | false | false | 5,193 | r | load_latest_forecasts_zoltar.R | #' Load the most recent forecasts submitted in a time window from zoltar.
#'
#' @param models Character vector of model abbreviations.
#' If missing, forecasts for all models that submitted forecasts
#' meeting the other criteria are returned.
#' @param forecast_dates date vector to load the most recent forecast from... |
9002f94ebd631ea811cdcf98ac767eff4db71f48 | d2eda24acceb35dc11263d2fa47421c812c8f9f6 | /man/plot.TS.Rd | 9c000ed0c72fed949bd581da1da83dad49cc024f | [] | no_license | tbrycekelly/TheSource | 3ddfb6d5df7eef119a6333a6a02dcddad6fb51f0 | 461d97f6a259b18a29b62d9f7bce99eed5c175b5 | refs/heads/master | 2023-08-24T05:05:11.773442 | 2023-08-12T20:23:51 | 2023-08-12T20:23:51 | 209,631,718 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 578 | rd | plot.TS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/source.physics.r
\name{plot.TS}
\alias{plot.TS}
\title{Make TS Plot}
\usage{
plot.TS(
S,
Tmp,
xlim = c(25, 36),
ylim = c(-5, 15),
levels = seq(0, 40, by = 2),
cex.lab = 1,
drawlabels = TRUE,
labels = NULL,
freezing.line = T,... |
9b46dd06af32d8adf3b9d93b71546c070e0b5a3a | a0be475be1571c5d52932e851049e6b74dc71480 | /munge/scrape_quasar.R | 694ccecd5f5da7901fe53d4e18b3aad4f37289a9 | [] | no_license | memebrain/cognitive_load | 02effdeb19c7f704cac44a3fd03a789ca0fe5da6 | 135d0375eb186428ccace78cd15c1bcbae84cdb5 | refs/heads/master | 2016-09-08T02:41:23.474123 | 2013-02-14T00:42:40 | 2013-02-14T00:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 967 | r | scrape_quasar.R |
allfiles<-list.files('./data')
interesting<-paste0('./data/',allfiles[3:5])
rawdf<-read.xls(file.choose(), pattern='Classification File',sheet=1, verbose=FALSE, blank.lines.skip=TRUE,header=TRUE,as.is=TRUE)
cleanQuasar<-rawdf[2:7,c(1,6,7,10,11)]
names(cleanQuasar)<-c('file','AverageLinearEngagement', 'St.Dev.Linear... |
e9018e6636f17076f67197a958fbd77132817309 | 268165a7f130ea91e80f2fb30e51703bd05ee2a8 | /man/sgmodel.Rd | 89a9f59a2352f31d3ac6162e7ccd99e4e96565f7 | [] | no_license | cran/sgmodel | f4ca5e00ef8d22605c697ee9acd647af9660f4de | 5d6882de69c469fea0aa2443925d73dd6f4055f7 | refs/heads/master | 2020-03-27T03:57:14.032918 | 2020-02-27T11:20:02 | 2020-02-27T11:20:02 | 145,901,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,749 | rd | sgmodel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stochastic_growth_model.R
\name{sgmodel}
\alias{sgmodel}
\title{Sgmodel}
\usage{
sgmodel(grid, utiltype, utilparam, A, depre, discount, prod, states, m, rho,
sigma, ...)
}
\arguments{
\item{grid}{A numerical value, the number of c... |
dc462f36c4dbfe6dfeaf5e4f70abbbb4d475f73b | a05a197d4d6e550256009734701abce24aa9e6df | /man/spec.glkDistance.Rd | aa0631f906899a109e3ffaca6eabdd294a689a7d | [] | no_license | Kevin-Jin/TSdist | 4225f343eb7bc870859dea861797cd400474913e | 70b1dbd1beb63fbfe66d625c2de4c45c828b57a6 | refs/heads/master | 2021-01-22T01:05:44.434624 | 2016-05-11T15:40:25 | 2016-05-11T15:40:25 | 38,079,705 | 0 | 0 | null | 2015-06-25T23:26:07 | 2015-06-25T23:26:07 | null | UTF-8 | R | false | false | 2,105 | rd | spec.glkDistance.Rd | \name{spec.glkDistance}
\alias{spec.glkDistance}
\title{
Dissimilarity based on the Generalized Likelihood Ratio Test
}
\description{
The dissimilarity of two numerical series of the same length is calculated based on an adaptation of the generalized likelihood ratio test.
}
\usage{
spec.glkDistance(x, y, ...)
}
\ar... |
3b3d9f412f1271be74f0c8049d76ef6b8588d55b | dfa0394edb42e95fa575c18bc1d28c29b2d5130f | /R Code/Preprocess.R | 89741c60d18a4ca5aa75045e59cbd074f76ce2d6 | [] | no_license | fairypp/ATT_Fall_Case_Competition_Code | d8c79ed6d11871999c71b5fcbe0ebf8d02ca594a | fcd2269e66a3fd884d0076b4e49e37d034ca5db6 | refs/heads/master | 2020-05-23T11:19:49.749668 | 2017-02-20T18:19:46 | 2017-02-20T18:19:46 | 80,385,186 | 0 | 1 | null | 2017-01-31T21:28:08 | 2017-01-30T01:18:04 | R | UTF-8 | R | false | false | 4,806 | r | Preprocess.R | #normalize all review ratings from different platforms to unified scale (1~5)
#for google reviews, review rating is 0~3, we scale rating as follows:
# 0-->1; 1-->3; 2-->4; 3-->5
#use normalized review ratings to determine sentiment: 1~2: negative (-1),
#3: neutral (0), 4~5 positive (1)
#those groundtruth sentiments wil... |
2140ac0f9b57778e2b091d247fb4ddbe0aba6717 | 789bd8e74dc9c3bbb73ac1ff15082e0124cca0d0 | /man/getCriticalFeedingLevel.Rd | 380dff91ae41771e973036db8905c15461d6c0d7 | [] | no_license | sizespectrum/mizer | 58e8f41a85c035728498ae99692de1f719552fc2 | d6dbc6bcb2dbbca6c6ecf072caad7a998b54ed8b | refs/heads/master | 2023-06-08T11:42:57.079370 | 2023-06-02T13:45:35 | 2023-06-02T13:45:35 | 5,898,893 | 30 | 31 | null | 2021-09-03T11:53:31 | 2012-09-21T08:51:19 | R | UTF-8 | R | false | true | 543 | rd | getCriticalFeedingLevel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rate_functions.R
\name{getCriticalFeedingLevel}
\alias{getCriticalFeedingLevel}
\title{Get critical feeding level}
\usage{
getCriticalFeedingLevel(params)
}
\arguments{
\item{params}{A MizerParams object}
}
\value{
A matrix (species x size) w... |
fe9c6d4d32e4cf73416e6df61cbc7bd27cde6eea | f543e704058be1388bd8aeaae1f28a0b097d6940 | /Driver_SCNAs/example/gene_deal.r | d24f702181c3bd41939f60da3afcfd67dc47e2c7 | [] | no_license | zhouyao-max/Driver_SCNAs | 080b730e2d59cb95320112a22582d0c206442dd0 | 8a452e94222a0a4601de2918df223c90d0fcdda8 | refs/heads/master | 2023-03-27T18:11:54.368778 | 2021-03-29T10:44:51 | 2021-03-29T10:44:51 | 352,605,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 366 | r | gene_deal.r | ######To obtain expression profile
######expression in at least 10% samples
######log2(x+1)
gene_deal <- function(exp_mat){
genes <- row.names(exp_mat)
n1 <- c();
num_1 <- apply(exp_mat,1,function(x){n1 <- c(length(which(x==0)),n1)})
gene_2 <- genes[which(num_1 < 0.9*ncol(exp_mat))]
exp_matrix <- log2(as.matr... |
175f54b68720d30fbec9845fc77d4d3e90633fc3 | 0f110f7055bff1d59cdad676d66f7b780eb3339f | /StochasticGradientDescEx/SGD.R | 327876bab7a18dc0a4a8e6235293007aee3bbdca | [] | no_license | jayantamajumdar/PredictiveModelingCode | 3ecc9a5fcfc6f6c4c1cc62a4f6edb1ccb47d3aa2 | 34a6c6ceea8b46ed1f3613d25beb7b52c25624e6 | refs/heads/master | 2021-01-10T10:37:19.343446 | 2015-06-04T18:36:34 | 2015-06-04T18:36:34 | 36,837,741 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,234 | r | SGD.R | ## Implementation of Stochastic Gradient Descent, without R library, to estimate the parameters of a Ridge Regression
## We use 100 epochs and learning rates of 0.000025, 0.00055 and 0.0075 to find best model
## dataset is derived from https://archive.ics.uci.edu/ml/datasets/Forest+Fires
## data is already partitioned ... |
d0e6448df94c8d34f8b6281fc7ceaa155072ac1a | c601c3d466541d7fae1fa83aeb1c12191d8b13a4 | /tests/testthat/test-transaction_functions.R | d383a5383b8fe006bcf3f54e40fb29b757a9ba1c | [] | no_license | phillipdeonatwork/expstudies | c0a4dd57cce88d769e620b1351b36f1931d48c5d | 32cfc5513c9883066e32d37f65ca6f10ffd4df32 | refs/heads/master | 2020-05-28T07:08:08.933024 | 2019-05-26T14:26:46 | 2019-05-26T14:26:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 983 | r | test-transaction_functions.R | context("test-transaction_functions")
#The top row has no matching date interval in good_PM, the second row has a good date and key,
#the third has a bad key
trans_test <- data.frame(key = c("A", "A", "B"),
trans_date = c(as.Date("1999-01-01"), as.Date("2000-10-15"), as.Date("2000-10-15")),
... |
3ac695f08c3c12094b306c1476de317efb5e46f2 | 8f1463d75905a5190566ff24adb8d1c819c20bf4 | /inst/extdata/testscript.R | fba9fa0eca4aabc476ddf11bc7d4b05b566b2688 | [] | no_license | gdesve/epifield | 57a1f9d8d8d3319c00eefa192a963145c2d95eee | f77b5fc18496588dadd33d9aa79f8eb499dbc225 | refs/heads/master | 2022-01-22T19:25:16.566522 | 2022-01-19T15:04:24 | 2022-01-19T15:04:24 | 137,532,357 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 221 | r | testscript.R | # pour tester certaines functions depuis un script
#sink("inst/extdata/log.txt",append=FALSE)
#sink()
vtest <- c(1,2,3,4)
countif(vtest)
sortBy <- function(a, field) a[order(sapply(a, "[", i = field))]
sortBy(a, "day")
|
9cbec32b118bd4ccc4b863b3a2bc46d91ae3accf | 1f95a32235c1a0a2a0f728dccd1f6661e3ff2903 | /4-from-excel-tables-to-r-data-frames/data-frames-in-r.R | 0e9e51d0990a5dca0e6437d97e2bcb97e1af219f | [] | no_license | summerofgeorge/oreilly-r-powered-excel | cfceb83242cc1600b18c74efcdf840f72fe15a62 | a930b45be2956b32dfad3deeba338d6100b0b645 | refs/heads/master | 2021-06-22T22:37:59.794235 | 2021-03-05T14:16:44 | 2021-03-05T14:16:44 | 203,437,764 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,611 | r | data-frames-in-r.R | # What can the docs tell us
# about data frames?
?data.frame
# Create a base data frame
roster <- data.frame(
name = c("Jack", "Jill", "Billy", "Susie"),
grade = c(90, 85, 62, 97))
# Print and get to know it
roster
# Structure
str(roster)
# Dimensions
dim(roster)
# Number of rows and columns
nrow(roster)
nc... |
1dcdc9a363e12c349b6146de7c42c28c7558cd4a | 0761c717ab96d67450d19c71aa1309d006c95eed | /run_analysis.R | 719514dddfed6677e213d17155dd26d94a3a88d6 | [] | no_license | bara811/Data_Cleansing | 481a6f08f8b43f4c4a3e263f91305879d20db4f7 | 667b1af582107e8840a07e0f34999eb616dfe276 | refs/heads/main | 2023-05-02T19:44:00.527986 | 2021-05-30T21:45:29 | 2021-05-30T21:45:29 | 372,320,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,612 | r | run_analysis.R | # Load the dplyr package
library(dplyr)
# Get the list of column names from features.txt
dtNames <- read.table("~/Coursera/Getting_and_Cleansing_Data/Week_4/getdata_projectfiles_UCI HAR Dataset/UCI HAR Dataset/features.txt", header = FALSE)
# Read the file X_test.txt into datatable dtTest
# Read the test ... |
e83c23e954686531a9d76c1e57eff6aed0d5b9c0 | 0872b355956686bd4e68384d3b83f342ec02bd31 | /aDataBase/server/02-tissues-snd-srv/tissuesSndRecieveSelectorValues.R | 45ff065a36885b63eebca6aeaba33cdf4d7d9378 | [] | no_license | smartscalpel/MSui | ff211af5a0f8eb54cf9bcf488e81a8b06f11e74f | 8de2d77ecd368834c50ec717137f28569d025ac0 | refs/heads/master | 2021-06-08T11:49:55.908612 | 2019-07-16T11:44:42 | 2019-07-16T11:44:42 | 161,582,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,474 | r | tissuesSndRecieveSelectorValues.R | tissuesSndRecieveSelectorValues <- function(label, patientId, location, diagnosisSelector, gradeSelector, coords, timeSelector) {
tissueData <- c("null", "null", "null", "null", "null", "null", "null")
names(tissueData) <- c("label", "patient", "location", "diagnosis", "grade", "dt", "coords")
... |
11730aceab4a3cf383ac0c6bafbf26843808b716 | a3f70fb3752ea0c8b1984875364e3cabdfdab009 | /examples/Ruby/ruby-multivariate-normal.R | 6a25cc8187df3d59d3a827300fd9b3891ac183fe | [
"BSD-3-Clause"
] | permissive | floidgilbert/jsr223 | 05bd5a2f6394ab0e67d66f943adf207a96470e1a | 69459b33f9435f5fdeeaf5af06382ae79acb888a | refs/heads/master | 2021-11-24T22:40:06.305979 | 2021-11-05T20:49:06 | 2021-11-05T20:49:06 | 119,085,194 | 10 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,420 | r | ruby-multivariate-normal.R | # Demonstrate the use of Apache Commons Mathematics library.
# http://commons.apache.org/proper/commons-math/
library("jsr223")
# Include both the JRuby script engine and the Apache Commons Mathematics
# libraries in the class path. Specify the paths seperately in a character
# vector.
class.path = c(
"lib/jruby-co... |
c8be45e872f2d9e6c1fd2298e60c04ce36d7fcc8 | 1e6b7b9682e5a5d51df135a8a644273d7cb7108b | /fittinglevy/R/get_stabledist_variates.R | 3a63338d3433c95bd7b7cb82d28346ef716d459a | [] | no_license | Orbis-Amadeus-Oxford/Amadeus-Datawork | 96b1eaa00464ad2676b14927d9468c0136ef501d | 094d1c48384dbd514437ad08979aa7ce1add5b08 | refs/heads/master | 2020-04-01T21:03:32.278584 | 2019-09-25T14:13:50 | 2019-09-25T14:13:50 | 153,635,496 | 0 | 3 | null | 2020-02-24T15:29:57 | 2018-10-18T14:15:40 | R | UTF-8 | R | false | false | 948 | r | get_stabledist_variates.R | # Wrapper function for generating artificial Levy alpha stable samples for parametric bootstrap
if (!'pacman' %in% installed.packages()[,'Package']) install.packages('pacman', repos='http://cran.r-project.org')
pacman::p_load(boot,dplyr,StableEstim)
get_stabledist_variates <- function(dat, est_levy_qt=NULL) {
# Wra... |
4481598f683e4c519aca6eeb6b9ed81a85a0f171 | 7ae32e1eca55a53c30aca997ffc18e4b5ae450ba | /R/DR.R | 5d1d397017ecb494233a033dbc960cf999eea77e | [] | no_license | WaverlyWei/heteroEffect | 27701e902e51604acc7a205c9c99bf0259ce8008 | ee90d71ad5712caaba581df7aa58c4ddd6be1930 | refs/heads/master | 2022-12-03T08:52:08.211348 | 2020-08-18T04:24:50 | 2020-08-18T04:24:50 | 288,345,513 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,427 | r | DR.R | #'
#' This function implements the doubly robust estimator
#'
#' @param X Covariates
#' @param D Treatment
#' @param Y observed outcome
#' @param sublabel Label of the subgroup
#' @return drPsi: doubly robust estimate of the target parameter
#' @import ranger
#' @export
#'
#' Doubly Robust Estimator Implementation
#' A... |
c605cfdad36af0d92ea07c951f8da92656063e1a | 14d978463ccd66c6ce6e4a1c2f80197a2a11bf15 | /Interval Estimation/estimation_of_mean_diff1.R | 4751943248b5a951cbcecced51f7afb517d987d9 | [] | no_license | shoaibrayeen/R | 57940229bbb6525058b715649f1bee12348bcd97 | 0b4b870a62cb2de5b89182ca5c9e704702270275 | refs/heads/master | 2022-10-13T01:31:21.907175 | 2022-10-02T18:38:01 | 2022-10-02T18:38:01 | 108,674,965 | 4 | 3 | null | 2022-10-02T18:38:02 | 2017-10-28T18:44:50 | R | UTF-8 | R | false | false | 712 | r | estimation_of_mean_diff1.R | estDiffMean1<-function(avg1,avg2,pVar1,pVar2,n1,n2,alpha) {
temp<-(pVar1/n1) + (pVar2/n2)
temp<-sqrt(temp) #calculation avg population SD
qvalue<-qnorm(alpha/2)
temp<-temp*qvalue
interval<-c(avg1-avg2 + temp,avg1-avg2-temp) #calculation interval
return(interval) #returning interval value
}
avg1<-readline("Avera... |
ef30a0080de22627338f6eceb22fcb7efbf90979 | ddd3559b1f1e58944d679bcbaa813e8453eafc62 | /man/map_coloring.Rd | e79d1c27e84c3eb633bfd5bcc4ad6838b07a2d89 | [] | no_license | cran/tmaptools | 8a7ce9d8ba47cc792cadf8dfe3f231f0db57f961 | d37013ad904edcc5c0dab4db1b6ad561694a64b2 | refs/heads/master | 2021-07-25T01:47:09.925914 | 2021-01-19T19:30:02 | 2021-01-19T19:30:02 | 77,929,207 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,219 | rd | map_coloring.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/map_coloring.R
\name{map_coloring}
\alias{map_coloring}
\title{Map coloring}
\usage{
map_coloring(
x,
algorithm = "greedy",
ncols = NA,
minimize = FALSE,
palette = NULL,
contrast = 1
)
}
\arguments{
\item{x}{Either a shape (i.e. a... |
50e6bc6a071c23e78d02f95cc55f5bbfc389a555 | 6e779770ac08aa0331f797f3825ab81c9f76a595 | /server.r | 122700ede4a3edd30cae08b01b6f43fb9c458bfb | [] | no_license | ssomasekar/Developing-data-products | 614a1471f3731e842d10027843b02b37654f83c1 | 11bc7f98fa9bd9604ba52a39af59ccb27c89406d | refs/heads/master | 2021-01-10T03:44:08.431304 | 2015-11-23T00:53:05 | 2015-11-23T00:53:05 | 46,686,299 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 422 | r | server.r | library(shiny)
data("ChickWeight")
shinyServer(
function(input, output) {
output$plot1 <- renderPlot({
## Render a line chart
plot(ChickWeight[,input$idx], main = c(input$idx," of the chick on a certain diet"), type = "s", xlab = "Weight", ylab = "# of Chicks")
meanVal <- mean(ChickWeight[,input... |
f1d2578841a2ba0c740919d7105b1ea729ab8683 | f681257722365f95a24cfbe26310345b50a4a4f6 | /tests/testthat.R | bf56d744606e2a5426f73d548703592d9842ba6a | [
"MIT"
] | permissive | idiv-biodiversity/lcvplants | ac3008d1a0ec7a19211e670905a7056442082724 | 4521372afff25f0f8e7f43a2f825277dc6a1c5d4 | refs/heads/master | 2023-05-23T22:01:33.748106 | 2022-11-07T14:48:18 | 2022-11-07T14:48:18 | 215,979,088 | 14 | 4 | NOASSERTION | 2021-09-14T16:56:14 | 2019-10-18T08:37:16 | R | UTF-8 | R | false | false | 62 | r | testthat.R | library(testthat)
library(lcvplants)
test_check("lcvplants")
|
10ce0f57a89cdc6ae02dbce51fa9ee6202a58830 | b24627582a26dfde8256981f4374cd36cae7f1da | /starter/5/validationCurve_solution.R | 9ac4eaa5a5516cc19ddaa5414a1b116beb790880 | [] | no_license | faridcher/ml-course | a91f7e88cff09413b7c65b6cdcaedd93b041cc9a | ed04e18e0ee285f78d131886a86923dfefc1f635 | refs/heads/master | 2023-03-30T07:53:49.970749 | 2021-04-10T21:55:16 | 2021-04-10T21:55:16 | 56,297,188 | 44 | 22 | null | 2021-03-29T07:13:44 | 2016-04-15T06:38:30 | R | UTF-8 | R | false | false | 2,679 | r | validationCurve_solution.R | validationCurve <- function(X, y, Xval, yval) {
#VALIDATIONCURVE Generate the train and validation errors needed to
#plot a validation curve that we can use to select lambda
# [lambda_vec, error_train, error_val] <- ...
# VALIDATIONCURVE(X, y, Xval, yval) returns the train
# and validation error... |
5f8ea5e1b0fd67e3f686879939da7bec396876a9 | 0969a8a76b2361bd1301b61503392debe2e454e3 | /Rproject/Rcode/project_package/proj.GR.CHC.package/man/plotGR_splined_compa.Rd | 011997f1f0575f5a050e11a1636017c57111b587 | [] | no_license | daliagachc/GR_chc | 9a85b133919863769e9d655c2e7c63fa3676177a | c40d7a28e18f1cea4c940af44151e48c8926bf55 | refs/heads/master | 2020-06-01T04:00:06.653784 | 2019-06-13T05:33:04 | 2019-06-13T05:33:04 | 190,622,843 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 698 | rd | plotGR_splined_compa.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function_plotGR_splined_compa.R
\name{plotGR_splined_compa}
\alias{plotGR_splined_compa}
\title{Plot GR splined}
\usage{
plotGR_splined_compa(splined_rep_df, npfevent_size_frame)
}
\arguments{
\item{splined_rep_df}{Dataframe of evaluated spli... |
3ee4a467c0d75c5d031c2cdd76426e271537ae59 | dd8132404e8c7b028cb13cba904c50aace01c6a7 | /swt/src/spc/c1.u/c1_lex.r | 665ce1f577ab7b4cdebe1d4246470b558ad1b6d9 | [] | no_license | arnoldrobbins/gt-swt | d0784d058fab9b8b587f850aeccede0305d5b2f8 | 2922b9d14b396ccd8947d0a9a535a368bec1d6ae | refs/heads/master | 2020-07-29T09:41:19.362530 | 2019-10-04T11:36:01 | 2019-10-04T11:36:01 | 209,741,739 | 15 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,414 | r | c1_lex.r | # getsym --- get a symbol from the input
subroutine getsym
include "c1_com.r.i"
untyped info (IDSIZE)
integer lookup
Symbol = Nsymbol
Symptr = Nsymptr
Symlen = Nsymlen
Symline = Nsymline
if (Nsymlen > 0)
call scopy (Nsymtext, 1, Symtext, 1)
else
Symtext (1) = EOS
repeat... |
8328f36b7a796407a156f99d912abb7a4ba10594 | a3b9e037da87e9822251e77b1a9dda58eea000ad | /man/WL.randProj.test.Rd | 1232a6f009f2ce32e27d7d1858a815584ab33713 | [] | no_license | lingxuez/sLED | 218698569535fcb78b2c1feab4dec19eb583b0bc | 973b72d766a0862f1bbb2677c09ec6f01b25d704 | refs/heads/master | 2021-01-09T07:59:50.183844 | 2017-10-05T13:58:56 | 2017-10-05T13:58:56 | 68,491,244 | 13 | 4 | null | null | null | null | UTF-8 | R | false | true | 1,418 | rd | WL.randProj.test.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulation-WL.R
\name{WL.randProj.test}
\alias{WL.randProj.test}
\title{Two-sample covariance test (Wu and Li 2015)}
\usage{
WL.randProj.test(X, Y, nproj = 100, useMC = FALSE, mc.cores = 1)
}
\arguments{
\item{X}{n1 by p matrix, observation o... |
0d224ac7ef8e606db59ce5d234bce0bdc26f56fa | 0dea415b6391b1ecf3e9a2f7210d09039d8c2409 | /older_stuff/graph_off/feeling_therm_ridges.R | fcbbd77fa34a3c67fc0068ccd3b9ce88c64a1059 | [] | no_license | ryanburge/nd | b9755b9c7f50dc4ea391638c50634e8afcb82e92 | ac9bd778b6480263f6c07d7451f61227a59b0e48 | refs/heads/master | 2021-08-08T19:33:58.137774 | 2020-06-04T19:03:49 | 2020-06-04T19:03:49 | 187,513,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,714 | r | feeling_therm_ridges.R | dem <- nd %>% mutate(nonden=car::recode(q3, "1=1; 2:17=0"),
nonden=frcode(nonden==0 ~ "Denominational",
nonden==1 ~ "Non-Denominational")) %>%
group_by(nonden) %>%
mean_ci(q29_1) %>%
na.omit() %>%
mutate(group = "Democrats")
rep <- nd %>% mutate(nonde... |
55dfe98b4643ee7ccb510e71abde8b841943e05e | 26dea210be60fafab93c89e4bb11d5ff9edeba72 | /04Function/34Create_a_function.R | ee079ba5c44e60f8cbae6362cb3b1ba2a7dec794 | [] | no_license | MomusChao/R | a71df4f7430d644c18f853ad4f06b0838d5545c9 | 014c8e5ec43dc5d02b9faa41b49032ed5c340439 | refs/heads/master | 2021-06-19T02:21:11.297723 | 2020-12-09T22:28:18 | 2020-12-09T22:28:18 | 83,297,248 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 93 | r | 34Create_a_function.R | # create a function
f1 = function(x)
{
y = x+10
return(y)
}
# input a num
f1(10) |
1832c5b6fc8e7db3765cc2d79fb43d39fe25beb8 | 187edf294857df8c27ea5a3dcb6093b41d1f32c6 | /R/istack.r | b054bca261a2d6b00e25237ed3a0067f851ddb63 | [
"MIT"
] | permissive | papaemmelab/istack | fba7c8071c619fa9a8e1cd83d4628184ad57eb07 | 713ab603179c662420ca1a8144e5f257d98e8837 | refs/heads/master | 2023-05-30T22:22:04.063222 | 2018-12-15T04:38:45 | 2018-12-15T04:38:45 | 160,869,487 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,326 | r | istack.r | #' Stack custom icons with group coloring
#' @param D Data Frame
#' @param var categorical variable that is to be stacked
#' @param group grouping categorical variable that is to color the icons
#' @param icon link to any image icon on the internet. For coloring to work, has to be a PNG with transparent background
#' @... |
dd7ca1d2b317a2bc57f008c85cbf576a3232a6d8 | 90a90a263632b12fa87dfa0bf260e03fca98d47f | /global.R | bf3f477f4a607ff99cda245f406df84f99b0d1db | [] | no_license | yogesh1612/ML_Algos_for_Classification | 81818429e5b936ece73c360f5a9ee29818bb5621 | 7c163e05c667c5b0aee78065199e7bc6508c33ef | refs/heads/main | 2023-05-08T10:49:45.192200 | 2021-06-08T14:43:29 | 2021-06-08T14:43:29 | 371,950,724 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,495 | r | global.R | # Needs to import ROCR package for ROC curve plotting:
library(ROCR)
plot_roc <- function(model0, df0_test){
model.probs <- predict(model0, df0_test[,-1], type="prob")
pred <- prediction(model.probs[,2], df0_test$y)
perf <- performance(pred,"tpr","fpr")
auc_ROCR <- performance(pred, measure = "auc")
au... |
e1bb2132ae75ee076cb2e8149f65b70b6a37b722 | eb6f8b652a5c600f5f84d67b2e643fb6fe29cd17 | /36_fit_prefintensity_sptemp.R | cfe07c5d7b7cdc8d41ab4dd0c81d7b0b67be1961 | [] | no_license | jkbest2/spatq_sims | b528ab6a81f3a42473700bfa295247152f0186a0 | e2f4c1e65a32ce437e878717773dd41ff3574c6e | refs/heads/master | 2022-08-15T05:01:25.337849 | 2022-05-18T21:33:29 | 2022-05-18T21:33:29 | 225,442,641 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,486 | r | 36_fit_prefintensity_sptemp.R | ## If script is run in the REPL interactively, use the local `spatq` package and
## manually set a range of replicates to fit, because they were probably not
## passed as command line arguments when R was started. Otherwise (typically on
## Hyak via SLURM), use the installed version of `spatq` and read in the
## replic... |
99dfcf9840b58bff8421c3fb0597b4ba678b2b22 | 2ec6726b083ec743e7f221bbb8e2a397c8d6b152 | /RProgramming/week4/rankhospital.R | e707ca96f1bd2c7909bd0270c27324bdae75fb60 | [] | no_license | salma-rodriguez/DataScienceTraining | bc697a23d21762bf13baf5113b0a53bee8253dc1 | a5297d975380e860c46c73f9230e0e7c9dc3f5cd | refs/heads/master | 2020-12-31T05:10:34.942826 | 2020-04-23T03:38:51 | 2020-04-23T03:38:51 | 58,333,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,904 | r | rankhospital.R | source("best.R")
## description
rankhospital <- function(state, outcome, num = "best")
{
ret = NA
data <- read.csv("outcome-of-care-measures.csv",
colClasses = "character")
states <- unique(data$State) ## valid states
outcomes <- c("heart attack", "heart f... |
f3a92fcfaea5602e51a3f7fff57dd6352397dbac | 86243a1fee0721a5abe79b98fa85b94bb23843a9 | /GlobalFun.R | df8faf590324a83a15f03ba487ccb6418abc8523 | [] | no_license | Okenfor/DSCapstone_YieldChallenge | 10081a67ff9150540f8d0d804b306e12a5a8051e | acc8147235aa6f85deaeda19ced5202c68675d42 | refs/heads/master | 2021-01-10T15:55:42.948520 | 2015-11-23T22:59:22 | 2015-11-23T22:59:22 | 46,670,612 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,303 | r | GlobalFun.R | filterByFreq <- function(docTermMatrix, prob) {
freqs <- (slam::col_sums(docTermMatrix))
qt <- quantile(freqs, probs = c(prob))
idxFreqs <- freqs > qt
}
###
#word cloud and other analysis
#http://www.rdatamining.com/examples/text-mining
#https://rstudio-pubs-static.s3.amazonaws.com/31867_8236987cf0a8444e962ccd2... |
b5207d49a11fb02beedbe41ff83a36966ad98726 | cfc7df2e5ccd9373da696034819852d15c22f53c | /Analysis3/createGraphs.R | 2255b216598c909ddcc0e75411aecddfd4862616 | [] | no_license | dororo1225/GazeCommunication1 | 16e77113163f2a29823cd30e82e6c128f8d936be | e00262ccece5957b62d0a8fd1aab7fd2d0683be1 | refs/heads/master | 2020-04-13T01:04:11.145165 | 2019-09-29T08:34:08 | 2019-09-29T08:34:08 | 162,863,129 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,290 | r | createGraphs.R | #### CREATE GRAPHS
library(tidyverse)
library(rstan)
library(loo)
library(ggmcmc)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
# load data
read_csv("Data_processed.csv", col_types = "cdiiiidcdi") %>%
mutate(ID_pair = as.numeric(as.factor(Name))) -> df
read_csv("Data_locomotion.csv",... |
f28ceea0adb08460af9ea53b8b2fd1bdd10537da | c8d5e5e8eae8057746f3d72be582c30c1007f285 | /R/interpolate.R | ccf48ef9e665a53056717829f8856696a82320a0 | [] | no_license | cran/hydroToolkit | 2c3e3a42fe1cc1f745d5760642d02bf87bf6ea54 | 260c3b1b33cf195317f23d7c5635e6348bbb2472 | refs/heads/master | 2022-07-07T09:56:47.244814 | 2020-05-16T09:00:02 | 2020-05-16T09:00:02 | 264,451,856 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,726 | r | interpolate.R | #' Interpolation
#'
#' @description This functions applies interpolation to fill in missing (or non-recorded) values.
#'
#' @param df data frame with two columns: 'Date' or 'POSIXct' class in the first column and a numeric variable in the second one.
#' @param miss_table data frame with three columns: first and last ... |
abd0384256b7d8cd6895f79afafa71b324258526 | 661f547a94c05cd9c40a8829689ef8e62d0d470f | /man/GPois.Rd | ba4b0c3d80e21332c418d0da456902e7a82f0f7b | [] | no_license | cran/ProDenICA | a71088a4e200229b3ed9ee5a79a604d0f233c1a1 | 7cd748e3ec158186f313822d59786c69158e2754 | refs/heads/master | 2022-03-09T15:16:31.004307 | 2022-02-21T07:50:23 | 2022-02-21T07:50:23 | 17,681,613 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,570 | rd | GPois.Rd | \name{GPois}
\alias{GPois}
\title{
Fit a tilted Gaussian density via a Poisson GAM}
\description{
This is a contrast method for \code{ProDenICA}. It fits a tilted
Gaussian density estimate by multiplying the Gaussian density by an
exponential tilt function using a cubic smoothing spline
}
\usage{
GPois(x, df = 6, B = 5... |
efb2254f790fe0f4da828d25a510694d830c2fcc | ac4217536bceb6a9a5c424e79116e064e770e166 | /rankall.R | 39f980760aaab470f9973c031a754690b9846691 | [] | no_license | srikanthvsvasan/DS-programming-assignment3 | 9002462a8a27ae4a1b92e3d940ccbdaae9c350b8 | 33eebef2e145d2344159e50c718de3cc0df43d08 | refs/heads/master | 2021-08-19T14:42:59.445081 | 2017-11-26T17:41:48 | 2017-11-26T17:41:48 | 111,833,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,740 | r | rankall.R | rankall <- function(outcome, num="best") {
debug<-FALSE
# Read the outcome file. Treat "Not Available" as NA
data <- read.csv("outcome-of-care-measures.csv", na.strings = "Not Available",
stringsAsFactors = FALSE)
# Initialize the list mapping column numbers for conditions
outcomes... |
d3620bb6a9c995110c69d16633b9ee98189986bc | dac5515028a17981be8e747c2809aaa2ef44d586 | /Data_cleaning/dataformatting_2006.R | 52a3c34bb6581cba93684743a1bcf897121d7788 | [] | no_license | HallettLab/tulare-labpaper | f74234195ab979182c7d45b545f90f24ce910015 | 6754f3fc72fa99df63aba64e119f26c58d1126c6 | refs/heads/master | 2021-09-16T17:43:15.384671 | 2021-08-04T23:55:19 | 2021-08-04T23:55:19 | 191,231,065 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 926 | r | dataformatting_2006.R | library(tidyverse)
library(readxl)
library(stringr)
## GOPHER, COWPIE, BARE, LITTER
dat <- read_excel(datpath,
sheet = "Plants 2006", skip = 1)
datnames <- read_excel(datpath,
sheet = "Plants 2006")[0,]
names(dat) = names(datnames)
names(dat)[1:6] = c("year", "Page", "Odd... |
87b441e6e9a0f6486e5fd9ff01f7c113b3436914 | 90b8a58129da0472f3f22f4a403d2775f5b48850 | /Rcode/functions/formatdata_final.R | e1fc353453c4f01c52752c29310af130c0a3b1c8 | [] | no_license | trbal/pim_rank | cdf03f3c91eb0ca673e5180d05223721d7d5590b | 2c1438a1cc1e276724883932f93883bf1f393283 | refs/heads/master | 2020-07-06T04:09:30.656541 | 2019-09-07T13:39:46 | 2019-09-07T13:39:46 | 202,887,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,676 | r | formatdata_final.R | #load data per trial
load("/root/Desktop/CNSDAN_Thesis_Template_tex/data/dlp-trials.Rdata")
#load data per stimulus
load("/root/Desktop/CNSDAN_Thesis_Template_tex/data/dataNL.RData")
findnsyl <- function(x){
dataNL[which(dataNL$spelling == data.block$spelling[j]),"nsyl"]
}
for(i in 51:58){
cat(i,"\n")
#extract... |
2b534d9361d329541a8c3e48915e4573f56248c3 | d048a3c3f7add7acd3367548b0dcc4dd24a8e60a | /SSC442 Final Code.R | 5ceac7cf026f50c6d64aab6577dabb59fd4f1cd7 | [] | no_license | dlaird6293/RIPJuiceWRLD | 9a515ebb7fc339b740482f326e80bd1413c801d5 | 98de4196b5d53a175a49d86d3e6c4b45f05cd1eb | refs/heads/master | 2020-12-15T01:29:10.370015 | 2020-04-29T16:09:51 | 2020-04-29T16:09:51 | 234,944,637 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,583 | r | SSC442 Final Code.R | ###################################################
# Group 16
#
# SSC442 Final Project
#
# Visuzlization Code for all fiures found below
###################################################
library(ggplot2)
library(readr)
library(dplyr)
library(RColorBrewer)
library(reshape2)
library(gridExtra)
library(scales)
#------... |
7c1d55ee7ef685262874e1ae0b48f7ae0022416a | 23c125fce8877c36c6a30aede40e61f47d807fee | /test.R | 4a7b0afcded29ade9bab7817421a26a5fde00c66 | [] | no_license | Teddysatrio/MarketFit | d80d4ba2f5dfc7b08c79bc93445684c3d5937a7e | b0841c29b96ae6c5b99abdc2176ef3bfbe3bed22 | refs/heads/main | 2023-08-20T23:22:13.311686 | 2021-10-14T07:22:27 | 2021-10-14T07:22:27 | 411,200,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 35,115 | r | test.R | library(shiny)
library(shinythemes)
library(tidyverse)
library(cat)
library(plotly)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(title = "Best Market Fit Offer"),
dashboardSidebar(disable = TRUE),
dashboardBody(
div(style = 'overflow-x: scroll', sidebarPanel(width = 3,
... |
f47d1fa92a215575a381f6aa0aa375f281b9da12 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/TSPred/examples/ipeadata_m.Rd.R | bd0719a66927d6016a2fcd63ddae5b8cbb3515d0 | [] | 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 | 254 | r | ipeadata_m.Rd.R | library(TSPred)
### Name: ipeadata_m
### Title: The Ipea Most Requested Dataset (monthly)
### Aliases: ipeadata_m ipeadata_m.cont
### Keywords: datasets ipeadata time teries
### ** Examples
data(ipeadata_m)
str(ipeadata_m)
plot(ts(ipeadata_m[1]))
|
515b0a282c5dc3c9409de3943c434cc7812cb2ba | 739d5a00e7321b875de4196b56c716fb0c38aa84 | /R/TextReuseCorpus.R | 9a45fd2cce6e65cb6662a753cef1b640144d5951 | [
"MIT"
] | permissive | Sandy4321/textreuse | 244d6aa1ddec34c486e54e25bff72ea92f93cd7b | d0aa6a50ced8d05ac1894a5fba01f9b9210160b2 | refs/heads/master | 2021-01-15T11:19:52.421585 | 2015-10-28T15:46:26 | 2015-10-28T15:46:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,087 | r | TextReuseCorpus.R | #' TextReuseCorpus
#'
#' This is the constructor function for a \code{TextReuseCorpus}, modeled on the
#' virtual S3 class \code{\link[tm]{Corpus}} from the \code{tm} package. The
#' object is a \code{TextReuseCorpus}, which is basically a list containing
#' objects of class \code{\link{TextReuseTextDocument}}. Argumen... |
e8191a60c3862798ae9a5fe96d27c1905bf7d1e8 | b13af52836ab966bdb7c41553a4558f6ecdb3497 | /02_scripts/02_clean_names.R | 5e9d08cacfa5f5725024192aebe94ed23b54a992 | [] | no_license | mylinhluong/fictional-happiness | efe23601cd017106c2be1cf1c924d9b787f542b4 | 40033264d24043db3cd18737fd227b8c9a19dd71 | refs/heads/master | 2023-01-19T14:06:16.018919 | 2020-11-22T01:02:34 | 2020-11-22T01:02:34 | 233,969,999 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,075 | r | 02_clean_names.R | #this script selects specific variables for self-report (baseline & follow-up) data and IATs, and renames variables
library(dplyr)
#Create a .txt file within the errors folder
clean_names_02 <- file(here("02_scripts","Errors", "02_clean_names.txt"), open = "wt")
sink(clean_names_02, type = "message")
#####selecting ... |
0bacc31597e58fc6cdf2e74e6c4cc8932eb48855 | 131fe3dfba973e0cd9664bfb581b06dbc6d1f300 | /man/israeli_survey.Rd | 04ace04e8e7ff6c384268c3c22b7e0a784557fd2 | [
"MIT"
] | permissive | aczepielik/CrossTabCluster | d61592ec6a78584ee087abd86181f0fa0721d056 | bdb4719502e09641cb38fb163207cebc44b7733a | refs/heads/master | 2022-11-11T00:18:08.822129 | 2020-06-13T14:02:34 | 2020-06-13T14:02:34 | 268,132,246 | 0 | 0 | NOASSERTION | 2020-06-13T13:10:13 | 2020-05-30T17:54:04 | R | UTF-8 | R | false | true | 380 | rd | israeli_survey.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{israeli_survey}
\alias{israeli_survey}
\title{Principal worries of 1554 Israeli survey participants}
\format{The 8x5 contingency table}
\source{
Gutttman
}
\usage{
israeli_survey
}
\description{
Principal worri... |
eac629fd96913f8a2ff5c5e482fe40a384b39354 | bcce8dcb8fb272b7a5bbfa226dd877b53212413b | /predict-admission/explore/explore-flowsheet-IDs.R | 66166a29dcaf9ea70ea17a1a41fd2f81349a37a6 | [
"BSD-3-Clause"
] | permissive | joefarrington/EDcrowding | b04eb9e3c328f7ab2d251e70eb5a6427a4a5566b | 59e664da4ff3db9a21bde89d1e909ea3d829f8ed | refs/heads/master | 2023-05-05T13:59:37.230430 | 2021-05-05T18:20:14 | 2021-05-05T18:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 868 | r | explore-flowsheet-IDs.R |
# Load libraries
# ==============
library(DBI)
library(dplyr)
library(tidyverse)
library(lubridate)
library(data.table)
# Set up connection
ctn <- DBI::dbConnect(RPostgres::Postgres(),
host = Sys.getenv("UDS_HOST"),
port = 5432,
user = Sys.getenv("U... |
14d726627ec56f2747c9d4a216ff946cd440bae5 | 4d252ade9889ca4860102a3a2e76cdee1acf10f9 | /man/Alroy_3timers.Rd | f300bff27496bc75dcd11e92b65817636969e090 | [] | no_license | josteist/Compadre | 78a42e1a7c22b3ff094014cf7d93b959020f985f | 9b59dd2fa7e8f5c307f76dbd2186fc6e1b8cf106 | refs/heads/master | 2021-06-10T23:37:11.999007 | 2021-05-29T06:23:21 | 2021-05-29T06:23:21 | 171,682,480 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 501 | rd | Alroy_3timers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Alroy_3timers.R
\name{Alroy_3timers}
\alias{Alroy_3timers}
\title{Function to calculate Alroy's three-timer rates of macroevolutionary change}
\usage{
Alroy_3timers(Obs, dts = rep(1, dim(Obs)[2]))
}
\arguments{
\item{Obs}{matrix of observatio... |
9b8c5ea108f8c1ad032002a955db251dea6257e5 | 7224813a0f5d032aed634a637328e87030dd070d | /man/prefabricated_datasets.Rd | eeb25c5d1a8b7d545f7703fe00f3cd304b78eb7f | [
"MIT"
] | permissive | ethanwhite/portalcasting | 3d164472a54e5ae746a668cc848e813e4b795eaf | 03bd42b5a01536a9178e9aeb47046847acda9984 | refs/heads/master | 2023-04-30T20:59:54.178447 | 2022-06-01T00:13:25 | 2022-06-01T00:13:25 | 157,772,725 | 0 | 0 | MIT | 2018-11-15T21:06:31 | 2018-11-15T21:06:31 | null | UTF-8 | R | false | true | 713 | rd | prefabricated_datasets.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prefab_rodents_datasets.R
\name{prefabricated_datasets}
\alias{prefabricated_datasets}
\alias{prefab_datasets}
\alias{prefab_dataset_controls}
\title{Provide the Names or Controls for the Prefab Rodent Datasets}
\usage{
prefab_datasets()
pre... |
7e9bfa22efb1f099b1fab19cce8f9fcace34049c | 85bb84e6717c8af7097712226831f3f26ca54eb0 | /03/SRCR/TP3/exaustao.R | eb29c8a30e6f4b24d793667cd17bd01338984af9 | [
"MIT"
] | permissive | rgllm/uminho | 8aec0b5b57acb8839b00547a63ecd2e00f323a28 | 1c535a72fcc56a263f301af729ec3039dfbb1e34 | refs/heads/master | 2021-01-17T18:02:30.723706 | 2020-08-16T20:52:21 | 2020-08-16T20:52:21 | 64,925,506 | 2 | 3 | null | null | null | null | ISO-8859-1 | R | false | false | 16,228 | r | exaustao.R | # Import das bibliotecas necessárias
library("neuralnet")
library("hydroGOF")
library("arules")
# Leitura do ficheiro de dados
dataset <- read.csv("C:\\Users\\perei\\Desktop\\exaustao-norm-rand.csv", header=TRUE, sep=";", dec=".")
# Discretização dos valores dos atributos -- Para o relatório
#dataset$Perfo... |
2acd02beaaaf0c8c3d965b37ca13c97138aae815 | df15df62c38774a3be118b9b801375e92afbb138 | /qap.R | 45678eddeb929f38471d726be175503d7289caae | [] | no_license | cavieres/lab2_simulated-annealing | c0eee646fd06801773372f9a3d411a95196cc549 | 4acfc7c6a53a432a7cc7d09c668c21c01c94d15c | refs/heads/master | 2021-01-21T19:13:37.780437 | 2017-06-07T05:06:30 | 2017-06-07T05:06:30 | 92,130,913 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 3,049 | r | qap.R | # Algoritmo QAP.
# Para ejecutar script, realizar en consola:
# > setwd("<letra-unidad>:\\<carpeta-proyecto>")
# Ej: setwd("C:\\Users\\cavie\\desarrollo\\lab2_simulated-annealing")
# > Establecer los parametros de configuracion del algoritmo en el archivo "config.yaml".
# > source("qap.R")
# > Costo(c(2, 1, 4, 3))
l... |
6b1adf0ee02bc9cf421841f5025181a3e863328e | b44b98969edeb5f1dd379eafc59799ffff16d10d | /cachematrix.R | 18913881d474ebd7cefec86fe2904e97dcf3226f | [] | no_license | TrevorDison/ProgrammingAssignment2 | f3d0bba98ed77b0e483cf4aff9fafef1cc814242 | 7f6bff4ce17c3c33ab0efca913e0085ff8337213 | refs/heads/master | 2020-03-25T01:00:04.073317 | 2018-08-02T23:07:11 | 2018-08-02T23:07:11 | 143,217,004 | 0 | 0 | null | 2018-08-01T23:06:30 | 2018-08-01T23:06:29 | null | UTF-8 | R | false | false | 1,368 | r | cachematrix.R | ## First function (makeCacheMatrix) creates a list of four functions that
## can be called to set or get a matrix or its inverse.
## Second function (cacheSolve) calculates or retrieves the inverse depending
## on whether it is already stored in memory.
## Create a list of the functions needed to set/get a m... |
fc80b05417f69c66a5e01c112894e16008704af3 | 7eb128f9b7899c33d4854009edbd38dd566cba72 | /R Tutorials/text mining/bigramtokenizer.R | e6e6f7bf56817741880771a2b819b71d40ca83b2 | [] | no_license | chengjun/Research | 1149add090ec563f544c4b5a886c01b1392a25d4 | c01e3d2eac2bca74671abb9cd63e1b06e5566fc8 | refs/heads/master | 2021-06-15T16:35:15.005107 | 2019-08-06T09:03:29 | 2019-08-06T09:03:29 | 11,498,113 | 4 | 6 | null | 2021-04-15T09:27:11 | 2013-07-18T08:36:12 | Mathematica | UTF-8 | R | false | false | 232 | r | bigramtokenizer.R | library("RWeka")
library("tm")
data("crude")
BigramTokenizer <- function(x) NGramTokenizer(x, Weka_control(min = 2, max = 4))
tdm <- TermDocumentMatrix(crude, control = list(tokenize = BigramTokenizer))
inspect(tdm[340:345,1:10]) |
ba6f11a41e57baea95213111c5657993afbe198e | b82009d15790e7a71dde583da6169f5ef478873e | /finemap/locuszoom_preprocess.R | 88f576c2029f45b925eb28ef64b2cfdedba4434f | [] | no_license | boxiangliu/rpe | 9233e5b0ac6b9761fbb34e44a462b9e6cae87889 | 2125bf34e029d16a484f8530381af25bb9619d2d | refs/heads/master | 2021-10-26T02:32:10.477848 | 2019-04-09T19:31:57 | 2019-04-09T19:31:57 | 51,119,068 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 632 | r | locuszoom_preprocess.R | library(data.table)
library(stringr)
gwas_fn='../data/gwas/Fritsche_2015_AdvancedAMD.txt'
eqtl_fn='../processed_data/rasqual/output/glucose/joint/chr12/ENSG00000135437.5_RDH5.txt'
out_dir='../processed_data/finemap/locuszoom_preprocess/'
if (!dir.exists(out_dir)) {dir.create(out_dir,recursive=TRUE)}
gwas=fread(gwas_f... |
3d4993cce75397d5aa1389714d806c70f75ad00e | 5bea168054d7ea022a93721a64870701a86f4dff | /weather_population_growth/GAM_weather_pop_growth_ALLweathervars.R | d9299cbe0335e989eccc0157e21447159b0e67e9 | [] | no_license | jjackson-eco/mammal_weather_lifehistory | 43119558b20facb7988b5f83a05239fcf26a7a2f | cd6fb95ac8ae80c6889fe4f4785d17cab7d18375 | refs/heads/master | 2022-07-18T06:08:49.083550 | 2022-06-07T13:59:49 | 2022-06-07T13:59:49 | 250,286,353 | 5 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,978 | r | GAM_weather_pop_growth_ALLweathervars.R | ####################################################
## ##
## Global climate and population dynamics ##
## ##
## Annual weather and population growth ##
## ##
##... |
2b40a89c2e9e8e92459e4f8470d9e0f51801e0fc | 6c321997b2237e3432ebc89866e47c5636e8ccde | /man/plotDeltaAUC.Rd | b3407d8dfbc61a418c57917f72c2f18aa88517d9 | [] | no_license | cran/coca | e37d4a524d58e47400158ac4cfea0ea10570038e | 2baeffda08df37be4aa3b0638f99e00869a49a37 | refs/heads/master | 2021-05-16T23:21:41.927083 | 2020-07-06T16:00:09 | 2020-07-06T16:00:09 | 250,513,558 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 848 | rd | plotDeltaAUC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/auc.R
\name{plotDeltaAUC}
\alias{plotDeltaAUC}
\title{Plot area under the curve}
\usage{
plotDeltaAUC(deltaAUC, chosenK = NULL, fileName = "deltaAUC.png")
}
\arguments{
\item{deltaAUC}{Vector of the difference between the area under the curve... |
53b360548268858ad747a7559692ccf0fb50636d | 081972542da7a0a5648b4fd73fda277ce7e51ea0 | /R/plotPR.R | 455c1d3998f218a6842c1d878f1208aab913ca92 | [] | no_license | cran/synRNASeqNet | d6353853056cf7e7d23282b93a90d4f0ea4b7323 | 686c05f268ec09a8b07dd599f9ab03f392d87131 | refs/heads/master | 2021-01-18T18:12:48.143611 | 2015-04-07T00:00:00 | 2015-04-07T00:00:00 | 34,254,697 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 205 | r | plotPR.R | plotPR <-
function(piNet, ...){
plot(c(0, piNet[, "Recall"]), c(0, piNet[, "Precision"]), type = "l",
xlab = "recall", ylab = "precision", main = "PR Curve",
xlim = 0:1, ylim = 0:1, ...)
}
|
e4e19974c30d42e46078d3cc1db0a514193522c1 | bce77c018c377461c470f83b2fadbf0b98dc4020 | /ui.R | ea367df3cebf6cdbac4798a8b5b7f09fb7e5ac3c | [] | no_license | dvgodoy/ExploratoryRegression | 7c21c66738656074b534aad98286f891f4fc1d33 | f62d1dc58e7df2a904fc466a660b0bcec9fa721b | refs/heads/master | 2020-05-31T06:23:58.539273 | 2015-01-17T18:31:33 | 2015-01-17T18:31:33 | 29,400,054 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,077 | r | ui.R | shinyUI(
pageWithSidebar(
headerPanel("Exploratory Regression Using MTCARS"),
sidebarPanel(
h2('Response'),
selectInput('response','Select a variable:',
choices=c('mpg','disp','hp','drat','wt','qsec'),
selected="mpg"),
h2('Regressors'),
h4('Be carefu... |
adbd5ddbcb163578c8d8a0d1fb8f2f5ef88f487b | c4cee858764ce7181ca91d4ce6bb05df795c3262 | /Ridge Regression.R | d466a104c2e29e8f0bcaa8d0bb4314748d7d179a | [] | no_license | kunalseth/PredictionAlgorithms | cbbeff21dfe6ed1034855c184a5ba89914494c56 | 1b421d035489f258a5821826dfd918986eac866d | refs/heads/master | 2020-09-22T14:21:56.118631 | 2016-11-22T00:07:22 | 2016-11-22T00:07:28 | 67,657,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,264 | r | Ridge Regression.R | library(leaps)
library(ISLR)
library(glmnet)
set.seed (1)
#2.a
x= rnorm(30)
ep=rnorm(30)
y= 3- 2*x + 3*(x^2) + ep
xpoly=poly(x,7)
x1= rnorm(1000)
ep1=rnorm(1000)
y1= 3- 2*x1 + 3*(x1^2) + ep1
x1poly=poly(x1,7)
grid =10^ seq (10,-2, length =100)
#i
ridge.mod=glmnet(x=xpoly,y=y,alpha=0, lambda = gri... |
b76da8a6dec8cabf0544d892bba7dd265478f261 | 0fa7eddbfe97d8368445a0591c846f0ad553f44b | /dasb.r | 208bbc61e9dffcd5875bacac235f202293a8d2ed | [] | no_license | miumiux/Mixed | 2fa4fd7004425180e7c57369d368bfd02ac26dbf | e60696105898d5cec8a326894c1b99a4b6407086 | refs/heads/master | 2021-01-23T06:39:16.264462 | 2013-04-22T22:31:00 | 2013-04-22T22:31:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,964 | r | dasb.r |
dasb <- read.csv("C:/Users/yl2820/Dropbox/GOALS/Fp/Data/DASB_fp_diag.csv")
require(lme4)
require(nlme)
require(reshape2)
require(sm)
#|-----------------------------------------------------------------------
#|DATA PREPARISON
#|-----------------------------------------------------------------------
dat1<-dasb
#Exclu... |
5610c842dbcd126257197ffe0f8319609bfc3698 | 613c3fd55c48587b0cc813ebf89265892ea92009 | /PBG--Pipeline/PBG--Plots/PBG--MDS/PBG--MDS.R | 0eb59d5d0dd40c28405b06fb7e2d5d8ab2eaf86f | [
"MIT"
] | permissive | HomereAMK/PigeonBreedsGenomics | 88e0d783144bbd8c189c85ad0de90955d3204bb1 | 1a5de6c181880e6da2c87445d21766599ad6711e | refs/heads/main | 2023-07-20T13:40:16.446415 | 2021-09-02T10:55:36 | 2021-09-02T10:55:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,894 | r | PBG--MDS.R | setwd("/Users/hintze/Desktop/PhD\ Action\ Plan/Core\ Projects/Finishing/PBGP--FINAL/Analyses/PBGP--MDS/")
library(optparse)
library(ggplot2)
library(plyr)
library(RColorBrewer)
option_list <- list(make_option(c('-i','--in_file'), action='store', type='character', default="stdin", help='Input file'),
... |
831f733db684870e5a111339ec30d7bb4873f0df | 46cc65e160ccf5e0189f893127f0229807842f96 | /adhoc/map-test.R | fed2924dcbdf88688984363187210b08cd4f3c59 | [] | no_license | minghao2016/filearray | dfc3dfc97724ae1285e9cb4a7b28ee2ccc0194e7 | 9f49882c508b83c6b95f3e71513472bb88f824aa | refs/heads/main | 2023-08-04T03:36:40.130475 | 2021-09-20T10:07:32 | 2021-09-20T10:07:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,603 | r | map-test.R | require(filearray)
dim <- c(100,100,10,40)
set.seed(1);
tmp <- seq_len(1e5)
xs <- lapply(1:2, function(i){
file <- tempfile(); unlink(file, recursive = TRUE)
x <- filearray_create(file, dim, type = 'double')
for(i in 1:40){
x[,,,i] <- tmp
}
x
})
set.seed(2); file <- tempfile(); unlink(file,... |
41ecb8a761d07193b1873d4ad392c5760ea6ddeb | 025cd9c77cbefc7367df61ab8b45ff3259902815 | /R/display_results.R | 21be8d509acdfab6468cab683ad9a1ea8faa5395 | [] | no_license | yspreen/NbClust | 9b59eb928f4d8aaba9c24a67f387c2aa7496eec8 | e82043569b5cf104382125cb1bcd1515a36d49d5 | refs/heads/master | 2020-12-29T08:59:10.611521 | 2020-02-05T22:58:37 | 2020-02-05T22:58:37 | 238,546,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,881 | r | display_results.R | ######################################################################################################################
######################## Displaying results #########################################
########################################################################################... |
7ff6b177188920c2b330ac6165d5af72b23d0a89 | 8639c881573e6892d8d64f6d734a2d81d8d72727 | /estimating_beta.R | efe5648c448d5ba9c5408d136f36835ca0f463ce | [] | no_license | thies/rfirststeps | 7f5fca4111b378356885c81fd7a186cf570a65d2 | c0a52e5e9f994e44ac39cd245a160a978fd34212 | refs/heads/master | 2022-03-03T09:17:41.028200 | 2019-10-04T11:46:15 | 2019-10-04T11:46:15 | 111,908,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,911 | r | estimating_beta.R | # download data from Dropbox
# (I obtained return indices from Datastream, put them on Dropbox for exercise)
monthly <- read.csv("https://www.dropbox.com/s/y632b0nyu8bhbts/returns%20monthly.csv?dl=1", as.is=TRUE)
weekly <- read.csv("https://www.dropbox.com/s/uvp2bmlzpuogxve/returns%20weekly.csv?dl=1", as.is=TRUE)
quart... |
d5fbabfc62a82d5a5c1b685fd75bca715c38ea06 | fda540791ba58168598b8320571356a565f9faf1 | /libs/1_add_vars_sample.R | fd600d5c9652ee4f44d69b1a57aba7b865699a66 | [] | no_license | monzalo14/conciliacion | 5c3e1272090d3575552ab9b58b5b514ab9cfe58f | 5e4670ec32026a85f5bedd0f01decee1cec01394 | refs/heads/master | 2021-01-12T08:58:27.217523 | 2017-05-04T07:16:47 | 2017-05-04T07:16:47 | 76,738,998 | 1 | 3 | null | 2017-02-15T18:40:55 | 2016-12-17T18:05:28 | R | UTF-8 | R | false | false | 3,879 | r | 1_add_vars_sample.R | library(dplyr)
library(reshape2)
library(dummies)
library(lmtest)
library(gmodels)
library(sandwich)
base <- readRDS("../clean_data/sample.RDS")
razones <- list(
'WALMART' = c('WALMART', 'WAL MART'),
'COMERCIAL MEXICANA' = c('COMER', 'COMERCIAL MEXICANA',
'SUMESA', 'FRESKO'),
'ELEKTRA' = c('ELMEX', 'ELEKTRA', 'TEZON... |
4a4691bad4b71c1247be116b0b7e8d7b518c1246 | 149933aff364f9ce3219bab2da4466af4ee729b7 | /new file.R | ad8c8334edde7f9c8797677c24aef60541c74ec5 | [] | no_license | molaksh/new | 71e3131fb0ba33294104aa0e02d4a4a91cfa4920 | a9d680fc0a27179e412c0b68e048d8a08066e7bc | refs/heads/master | 2021-07-08T08:08:02.071768 | 2017-10-04T21:12:02 | 2017-10-04T21:12:02 | 105,820,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12 | r | new file.R | 1+1
#change |
c392570794c8165f8eacf215173afb647a223c63 | 0329677920e29e68778c623b05bf4ca69e528c41 | /Part 1.2 - test/Interval Estimate/interval estimate.R | 598c6b456ce5eb60cbeaf49a54c7acff37430b7c | [] | no_license | celestialized/Machine-Learning | b2075b83139f66bc31c02c64cfe27dfbf19e4ab6 | df30af31f04d03d9796974daf82373436fb6460e | refs/heads/master | 2021-09-21T16:55:51.432572 | 2018-08-29T20:33:13 | 2018-08-29T20:33:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,078 | r | interval estimate.R | #--------------------------------------------
#Interval estimate
#--------------------------------------------
#Point Estimate of Population Mean
#---------------------------------------------
library(MASS)
Salary.survey = Salary_Data$Salary
mean(Salary.survey , na.rm=TRUE) # skip missing values
#>>>>>>>>>>>>>>>>>>>>>... |
c2b9fbdf55f4dd6f9d4bef80ffbf3087f4b899b2 | e85887c76341d45a3829fc552d6c53536f32b719 | /R/trialr_simulate.R | f2badbf13940b68bb8c1157bf3a8ad9fde720901 | [] | no_license | brockk/trialr | fa8fd43ca43dc79911677ba42c8e50d88a2fc03d | 15fd90d3a779a61454baedcd517e2ce8bb301f92 | refs/heads/master | 2023-03-16T21:41:49.580277 | 2023-03-11T07:36:58 | 2023-03-11T07:36:58 | 69,753,350 | 39 | 13 | null | 2023-09-10T19:11:18 | 2016-10-01T17:39:28 | TeX | UTF-8 | R | false | false | 4,724 | r | trialr_simulate.R |
#' Run a simulation study.
#'
#' This function is a fairly flexible way of running simulation studies in
#' trialr, and beyond. It essentially uses delegates to perform this pattern:
#' \preformatted{
#' for i in 1:N:
#' data = get_data_func()
#' fit = fit_model_func(data)
#' if summarise_func is null:
#' si... |
5368219972ed59c358d72643bbaa97fc52386b4f | 5f0a682aac5e53706ba993be79a2fa1493b666f8 | /scripts_for_analysis/international_contribution.r | b449d1463df5725f83ecd3a8cbfc580e8964889f | [] | no_license | adcs-conference/adcs_adulthood | 876503d507f9884a637699a5b8f881bc9169e115 | c1f77ac96e817e6b717794b2a01c3855d945623d | refs/heads/master | 2021-09-19T05:57:32.550448 | 2018-07-24T03:42:01 | 2018-07-24T03:42:01 | 13,317,748 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,015 | r | international_contribution.r | setwd("/Users/bevan/phd/QISharedFolder/ADCS2013Impact/analysis")
countries = read.table("international_contribution.txt", header=T)
# # old portion
# pdf("../latex/figures/international_contributions_portion.pdf", width=4, height=2)
# par(mar=c(3,3.5,0,0))
# plot(countries$Year, countries$International, cex=0.8, type=... |
47c8fd31408cf7d8ba51c464025c21b4dd57124a | c91c755b8a7fa29e55afd9822e138ca2c91c4d1b | /DS_project.R | baf71d648c54b31c4554a345ea1e06ee2a6b378d | [] | no_license | datasciences1/aact | d6017be4b81d6864cac055cf9e1a8a075894b8eb | 8a5c80a20fe68dd6659c8c451e9d85c2874c46b9 | refs/heads/master | 2020-03-06T22:35:03.564257 | 2018-08-03T08:16:28 | 2018-08-03T08:16:28 | 127,106,922 | 0 | 1 | null | null | null | null | WINDOWS-1258 | R | false | false | 15,394 | r | DS_project.R | ########################################################
##
## parse à website
##
########################################################
library(rvest)
# https://clinicaltrials.gov/ct2/show?cond=cancer&rank=7
# https://clinicaltrials.gov/ct2/show?rank=1
######################################################... |
dc7c56f0d45ed49da717c1451a3ccfdb21b1dea0 | 3c322eea1368ca18679f75255eae906a3b78b3f1 | /Analysis/multiplots.R | 6473cb79e177471c3fa1264d6b02f954de7924b8 | [
"BSD-2-Clause"
] | permissive | jjhartmann/pullreqs | 2b2cc9e3b4b4b6ee22ed87b90449558f4da0ca1d | 33b46b96b5d0f039b92d7c954266bc768c017b1d | refs/heads/master | 2021-05-07T21:33:32.926311 | 2017-12-21T02:06:51 | 2017-12-21T02:06:51 | 109,027,870 | 0 | 0 | null | 2017-10-31T17:08:56 | 2017-10-31T17:08:56 | null | UTF-8 | R | false | false | 2,812 | r | multiplots.R | library(ggplot2)
library(grid)
library(reshape)
library(ellipse)
source("variables.R")
# Plot a list of plots using n columns
multiplot <- function(plots, cols=1, title = "") {
require(grid)
numPlots = length(plots)
if (numPlots == 0){
print("WARN: No items to be plotted")
return
}
print(sprintf("... |
12088dddbc556ad122dc7ccab969342d036451ff | 1428190ede591943b559046b978a02a475197d96 | /man/get_colormind_colors.Rd | 6e65c55a3182a7b37114af05439146741050fb4b | [
"MIT"
] | permissive | MattiasHenders/colormind | dadf38423a781a37a54e16e976474bfe6065edf7 | a4c96c1a65afd95d9990f67c9bdcfd54a7b634e8 | refs/heads/master | 2023-03-17T14:45:25.893637 | 2020-02-18T13:00:43 | 2020-02-18T13:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,096 | rd | get_colormind_colors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get.R
\name{get_colormind_colors}
\alias{get_colormind_colors}
\title{Retrieve color palette from colormind, give suggestions}
\usage{
get_colormind_colors(
x = NULL,
model = "default",
user_agent = "colormind R package github.com/dmi3k... |
f6f2385e0cceccc05e56cc5124ae798cdfe46830 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/analysisPipelines/examples/univarCatDistPlots.Rd.R | 97b5330b4a79b19847289e179f1befee0c7ad3be | [] | 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 | 208 | r | univarCatDistPlots.Rd.R | library(analysisPipelines)
### Name: univarCatDistPlots
### Title: Univariate Categoric Distribution
### Aliases: univarCatDistPlots
### ** Examples
univarCatDistPlots(data = iris, uniCol = "Species")
|
e123e7cc09760f665d1214689bd86c17fb114926 | f14e3a8823d00a12c25493ff12a7303c8f8fe305 | /man/plot.trim.totals.Rd | f10761dad392f94865b1fe483967869e73245f47 | [] | no_license | cran/rtrim | 6565c068369efec0e9867b5fe397a641eb859638 | 80239e3f7cbeb66b9540284eed9fa1bd946d4666 | refs/heads/master | 2020-06-17T16:12:35.734973 | 2020-04-21T11:20:02 | 2020-04-21T11:20:02 | 74,989,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,967 | rd | plot.trim.totals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trim_post.R
\name{plot.trim.totals}
\alias{plot.trim.totals}
\title{Plot time-totals from trim output.}
\usage{
\method{plot}{trim.totals}(
x,
...,
names = NULL,
xlab = "auto",
ylab = "Time totals",
leg.pos = "topleft",
band = "... |
d461b26ac659d026d3bf044611e593b62cb36f1e | bc83df3b565b2d2d54b833f530f81f339f9af4c1 | /Cleaning data in R/script.r | 21da64b37d5dcf45a6603488570c0fd618f92c0e | [] | no_license | abhiru-wije/Datacamp---Data-anayltics-with-R | 8742fe358a56092c3dc35a0aef29d9b306e72164 | 7bbd55a68acfc4a889e69b14714103317820a581 | refs/heads/master | 2023-08-07T00:54:06.122488 | 2021-10-06T23:00:13 | 2021-10-06T23:00:13 | 401,614,700 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,084 | r | script.r | #1
# Glimpse at bike_share_rides
glimpse(bike_share_rides)
# Summary of user_birth_year
summary(bike_share_rides$user_birth_year)
#2
# Glimpse at bike_share_rides
glimpse(bike_share_rides)
# Summary of user_birth_year
summary(bike_share_rides$user_birth_year)
# Convert user_birth_year to factor: user_birth_year_fct... |
bf95b8fb67c3cabba4091a0a89550e83cbb82c54 | 24470f3a17b5631d52db3debbfb72c7061e7a8a9 | /R/canberraDistanceW.details.R | 4a873cbd4fb113a93ce8e4e6b216fb5bce8c91d3 | [] | no_license | cran/LearnClust | 008141f99f7e0903c36a410ac0be6d806dff1144 | 10cd7f8a8a1e9d7321228380fe57692942fad9aa | refs/heads/master | 2023-01-20T17:05:52.307115 | 2020-11-29T21:50:02 | 2020-11-29T21:50:02 | 300,194,440 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,205 | r | canberraDistanceW.details.R | #' @title To calculate the Canberra distance applying weights .
#' @description To explain how to calculate the Canberra distance between clusters applying weights given.
#' @param cluster1 is a cluster.
#' @param cluster2 is a cluster.
#' @param weight is a numeric vector.
#' @details The function calculates the... |
7b710b8308ee056fa1278a309c78fc30d7cdfc02 | 1da1269745b6ce6806ffd7a15668fc27470cd921 | /R/tri_tri_submission_sic.R | eaafffbadbcc85a8d071dcf04c03a05618a58273 | [] | no_license | markwh/envirofacts | d0c3bb7495060fd00b825c1e72602479f8a92b72 | 815ba95808a37f552d9a7041be532817e4766b90 | refs/heads/master | 2021-01-10T07:14:32.874354 | 2019-03-27T02:28:15 | 2019-03-27T02:28:15 | 50,798,175 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 723 | r | tri_tri_submission_sic.R | #' Retrieve tri submission sic data from tri database
#'
#' @param TRI_FACILITY_ID e.g. '00602BXTRF111CO'. See Details.
#' @param DOC_CTRL_NUM e.g. '1388025052414'. See Details.
#' @param SIC_CODE e.g. 'NA'. See Details.
#' @param SIC_SEQUENCE_NUM e.g. '2'. See Details.
#' @param PRIMARY_IND e.g. '0'. See Details.
#' ... |
4db6fba92ce9f746108429d560039e59cc536000 | a57b7b949fa6dba0b7d6f56cbe45c0ad46481537 | /R/timestamp.R | 1399c84178a05c9748422e00800f0ee3800e20b5 | [
"MIT"
] | permissive | davebraze/FDButils | 12cf914b5bb04dd71f4ea60986650e4b608a083d | 7a3c5bb9cd5ef6dbe4dcd522eb1e1772f71bff46 | refs/heads/master | 2023-03-12T02:14:19.146630 | 2023-02-20T19:52:18 | 2023-02-20T19:52:18 | 57,219,505 | 1 | 2 | MIT | 2017-12-28T14:59:29 | 2016-04-27T14:23:14 | R | UTF-8 | R | false | false | 554 | r | timestamp.R | ##' @title Get a human readable timestamp as string.
##'
##' @description
##' Return a human readable timestamp as a string: 'YYYYMMDD-HHMMSS'.
##'
##' @details
##' Convenience function to get a human readable timestamp string: 'YYYYMMDD-HHMMSS'.
##' This is mostly useful for including in filenames.
##'
##' @return A s... |
2820f35573b4e9c22d476b2f71fe29588384beb1 | 7fbe3abebe3ced7f19cb2af802a6944ce592bd7f | /Problem set 3.R | d68d8518097bf5b9e7560997918efc7cf741c08c | [] | no_license | erikpark/S670 | 254f493c428bc8bc5d9119e76432efe88dd58ab5 | 9b3a24f24114a898408f643994dc8c2253b60194 | refs/heads/master | 2021-08-24T02:17:32.989845 | 2017-12-07T15:53:53 | 2017-12-07T15:53:53 | 113,470,852 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 691 | r | Problem set 3.R | problemset3 <- read.table("/media/removable/USB Drive/S670/s670-ps3-data.txt", head=TRUE)
library(ggplot2)
summary(problemset3)
head(problemset3)
plot1 <- ggplot(problemset3, aes(x = x, y = (y1)^-1)) + geom_point()
plot1
plot1 + geom_smooth()
plot1 + geom_smooth(method = "lm", formula = y ~ x + I(x^2))
plot1 + g... |
e10732679f86b41a9b1fca4f28f4a69972f4e8ad | da7981b05be3dfc035edab35c536c2dfd8ec4801 | /cycle_stage_plots/app.R | 900008e80c68eba87ff0b0362828e8e9a8c8c83e | [] | no_license | jessicachung/mivf_shiny_apps | 2a916736acb265638a58ce883d775e045225b53b | baa6520edd27765e371a9f1d0509cbbc24814a68 | refs/heads/master | 2021-01-12T11:02:18.053616 | 2020-12-02T07:59:19 | 2020-12-02T07:59:19 | 72,795,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,974 | r | app.R | ############################################################
## Expression along cycle stage
############################################################
# Plot expression a given probe along cycle stage
library(shiny)
library(ggplot2)
library(dplyr)
library(stringr)
library(reshape2)
load("data/combat_exprs.rda")
p... |
ebc879a04c1816cea1a5b0c0eed1d70a5eb36777 | 4d8cae963564011381645b95888b65f49ca8aa8a | /cachematrix.R | 4dcea0076c08800006a9114333b1791ad12b05a1 | [] | no_license | djquinn/ProgrammingAssignment2 | 036232fdad0382bcde07625035151b9183ad17aa | 6f8bae8d1ab9b08a01ce378fe901e8199bf1de67 | refs/heads/master | 2021-01-24T19:52:20.475475 | 2015-11-22T21:02:17 | 2015-11-22T21:02:17 | 46,639,225 | 0 | 0 | null | 2015-11-22T00:00:26 | 2015-11-22T00:00:24 | null | UTF-8 | R | false | false | 1,982 | r | cachematrix.R | ##David Quinn, Prog Assignment No 2
## 2 Functions:
## "makeCacheMatrix" - creates a "matrix like" object that stores an invertible matrix
## and, if subsequently called by cacheSolve, its inverse in global memory
## "cacheSolve" - returns the inverse of matrix portion of the "matrix-like" object ... |
f0995b10a32d8ae2da8b7046a3a091ceba7e88c2 | d1f7a1b1efe67ec0e01483262f80598479d45fc5 | /man/scSEGIndex.Rd | ffffdefe3628c9584653a84ec04ffa0dee7a0b2a | [] | no_license | gravitytrope/scMerge | 56411847bc937043cbb333dd2f7e9e4182621d73 | 8bbfe99711d4a7329d1b7edf6576dd261023c883 | refs/heads/master | 2020-04-12T00:45:44.224553 | 2018-11-23T07:06:40 | 2018-11-23T07:06:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 858 | rd | scSEGIndex.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scSEGIndex.R
\name{scSEGIndex}
\alias{scSEGIndex}
\title{scSEGIndex}
\usage{
scSEGIndex(exprsMat, cell_type = NULL, ncore = 1)
}
\arguments{
\item{exprsMat}{The log-transoformed single-cell data (assumed to be no batch effect and covered a wi... |
31eb2ac2178047b0765363af494a8cc224fafe23 | 0eaa7d5e8b578e6db06bc5530b27449988f98380 | /silhouetteNClus.R | 6e8f2f4f1313909aed08f0aa3dbeed371fdef620 | [] | no_license | dcgamboap/GCC-measure | 2da54b29c85db75532ccd9b1479a77c361c73cc6 | cf1f7b647b9087f8f7f000c76d3cb5e57636b61f | refs/heads/master | 2020-04-17T07:44:17.755739 | 2019-04-30T06:14:36 | 2019-04-30T06:14:36 | 166,381,906 | 0 | 1 | null | 2019-02-28T12:40:39 | 2019-01-18T09:44:23 | R | ISO-8859-1 | R | false | false | 2,320 | r | silhouetteNClus.R | #.............................................................................
#
# silhouetteNClus.R
#
# Fecha de Creación : 19-04-2018
#
# Autor: Carolina Gamboa.
#
# Descripción: Esta función calcula el indice de silueta para determinadas
# cantidades de grupos, y determina l... |
a8f41c5794cdb943708b4df8bee56b07bbbaeaa8 | a9c7f3d8e5210ec7ad420abab976e641f195c3bd | /functions/alignSeqs.R | 6a603f20610e55fb6dc9bc90e5c8745c6c514181 | [] | no_license | kkeyvan/MeDIP-seq | e629bb1a1d0b1ebd0a8b49ba93c738d829ed844a | 5247fced92bd116ec76ea1d6824ca8c499e15057 | refs/heads/master | 2023-06-08T10:43:21.062145 | 2021-02-17T16:51:26 | 2021-02-17T16:51:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,417 | r | alignSeqs.R |
# This function takes a DNAStringSet formatted set of sequence reads, a corresponding set of
# cigar strings, and a vector of sequence start positions. It returns the aligned sequences
# and a number corresponding to the number of bases deleted from the reads that were not present
# in the reference. Since getGSeq() i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.