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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a25fe9b4881ed4f22029b712648abb1d51e8704a | e2970f3553ae0de707709b7e2667a970c983b9c8 | /Rcurl/2017.11.19组织行为学小论文练手/组织行为.R | 152571c0a0b28c28fb1542668a733f99e006afcf | [] | no_license | ZuoRX/Rcurl | 96021e7584235d5f6aae33e4c9b9b7f20755b419 | a443177a1eb024d8faadf393276120809e426957 | refs/heads/master | 2020-05-09T13:41:21.986214 | 2019-04-13T11:53:55 | 2019-04-13T11:53:55 | 181,163,569 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,986 | r | 组织行为.R | rm(list=ls())
###packages################
library(NLP)
library(tm)
library(rJava)
library(Rwordseg)
library(SnowballC)
library(MASS)
library(RColorBrewer)
library(wordcloud)
library(pcaPP)
library(rainbow)
library(Rcpp)
library(cluster)
library(mvtnorm)
library(hdrcde)
library(locfit)
... |
e58afc1628424f7a9e64980c1f9a06482835015d | 90a3878cc96f72ff2402cbcdfa7e241e891d3053 | /R/IntervalTree-utils.R | 948f1c300cd06bc24c9d1eb65aa2f1707a07500f | [] | no_license | agstudy/IRanges | 108cb82787ea92838e7bbd15c204d2fd7bb3737b | 6381ac0826b3dcb68183a420ea11050dbd531daf | refs/heads/master | 2021-01-20T11:09:58.441445 | 2013-09-26T02:48:46 | 2013-09-26T02:48:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,801 | r | IntervalTree-utils.R | ### =========================================================================
### IntervalTree utilities
### -------------------------------------------------------------------------
## internal generic
setGeneric("processSelfMatching", # not exported
function(x, select = c("all", "first", "last", "arbitra... |
507e48bbc8d059f79ed47f1a6806dc5b3d252e45 | a8cf4321e8025d73512718eb680b16ecebfbed26 | /LWR.R | 7a4cd02740249c04c79cc78fad246130ca0644ae | [] | no_license | XileiDai/BuildingEnergyPred | a36ffb84a2b4c5db515567dace3d8c8426027fa6 | ea427008d459840f8631f15cca53fc0b6f7db656 | refs/heads/master | 2022-12-18T16:13:13.385167 | 2020-08-26T13:45:22 | 2020-08-26T13:45:22 | 290,159,491 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,511 | r | LWR.R | # setwd()
library(chron)
library(zoo)
library(stringr)
library(readxl)
library(timeDate)
library(grDevices);
ramp <- colorRamp(c("red", "white","blue"));
Sys.setlocale("LC_ALL","English")
Sys.setenv(TZ="Asia/Shanghai")
file_name = list.files('Hour-record/')
all_data = data.frame(row.names = NULL)
holiday = read_excel... |
23c5528df59b92a02f0d7bc9ffbdd6bd74d76097 | e23fad4d8d1d673a3a846d064e0814ef775a16fd | /final.R | b99d878897ee8172c1ead3a265163b348107bf6a | [] | no_license | juangarciaa/final | e021a3a41b960343a60e8081829cfaf119607cf9 | 29646b51288736f3098fcdc46d6cd4be2efd40c4 | refs/heads/master | 2021-07-08T14:08:21.653887 | 2017-10-07T18:30:00 | 2017-10-07T18:30:00 | 106,119,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 45 | r | final.R | library(slidify)
author("nombre",use_git = F) |
6d6ee5547867808bd17caecb6d01efab7221caf1 | 38b58e85b243ce4de7410257af66c6b5144136d3 | /R/cg.R | 0ffd67c5b201487ba9ce3f8cc61c8c3757c8c126 | [] | no_license | meerapatelmd/skyscraper | 47c444947f3278a174ae46dc97c6b011380d6d2f | f40c8a745f9f1efadb551bab400d22a2b304c9b4 | refs/heads/master | 2023-02-03T05:25:34.036567 | 2020-12-22T15:31:35 | 2020-12-22T15:31:35 | 296,966,513 | 2 | 0 | null | 2020-12-07T15:49:16 | 2020-09-19T23:12:45 | R | UTF-8 | R | false | false | 8,758 | r | cg.R | #' @title
#' Run CancerGov Scrape and Store
#'
#' @description
#' Run the full sequence that scrapes, parses, and stores the NCI Drug Dictionary found at CancerGov.org and any correlates to the NCI Thesaurus in a Postgres Database.
#'
#' @section
#' Web Source Types:
#' The NCI Drug Dictionary has 2 data sources that r... |
6d4f6017b4614cd531565f0ccbe86b7c1574dcbf | 137140fc25db7904c6924b054f0239e5b1e98fea | /Final.R | cabbdd32713d001f579a422ac5b035fa206afb68 | [] | no_license | whryan/psych_205_final | 459061396767bebec64c0bd4f8bdedde2f2cbb2a | e7ba60ab9fd6781009d39e012c0a99d8d9aa37c8 | refs/heads/master | 2020-03-15T15:28:28.026491 | 2018-05-07T07:06:56 | 2018-05-07T07:06:56 | 132,212,922 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,920 | r | Final.R | # Psych 205. Final Exam. Spring 2017. Name: Ulysses
# Theunissen
set.seed(7777) # Used to ensure replicability
# Make sure you have these libraries
library(car)
library(nlme)
library(lme4)
library(MASS)
#optional
library(Hmisc) #I use this for the describe() function
#############################... |
150c4315ebc2afcdc84f11d5f9871f97f910371f | 17f0fc9beb96136a5c41c2a7ef6a0e4418f60e6b | /quiz1question5.R | 11f50f7b51bc057d59957d93c01bc04205e5aa2e | [] | no_license | bradlindaas/getdata | c0d938bd0cbf39633217372ed732ff57e0cea933 | 5bae447ce3e4469c3f8bcbae2c7dea6ea7a05be0 | refs/heads/master | 2016-09-05T09:13:28.934924 | 2014-06-23T20:01:46 | 2014-06-23T20:01:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 960 | r | quiz1question5.R | library(data.table)
fileURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06pid.csv"
if (!file.exists("data")) {
dir.create("data")
}
if (!file.exists("./data/quiz1question5.csv")) {
download.file(fileURL, destfile = "./data/quiz1question5.csv", method="curl")
}
DT <- fread("./data/quiz1question5... |
9c09a20ac93817bb9d8821212a26c1fbb8c6ef1f | 7e7f80fdb7f14647795147284735daf2de3e4bf5 | /Figure4/Figure4.R | 282c3a070a59bb24e975544373e61cf12c731017 | [] | no_license | Jovanderson/AlternativeSplicing | 0f20acd209595d205160daa7c692a9d93eb6c189 | d1f30726a61f51c0e0f56fcd90bbe3a77fa4eb20 | refs/heads/master | 2022-02-26T10:55:06.401113 | 2019-10-18T18:51:14 | 2019-10-18T18:51:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,122 | r | Figure4.R | library(ggplot2)
library(scales)
library(reshape2)
library(cowplot)
library(ggpmisc)
theme_set(theme_cowplot())
AS1 <- "#F7882F"
AS2 <- "#4484CE"
LHY_ratio <- read.csv("LHY_ratio_time2.txt", sep="\t")
LHY_ratio$AS = factor(LHY_ratio$AS, levels=c("I1R", "I5R"))
LHY_ratio_time <- ggplot(data=LHY_ratio, ... |
eca260c14a8947c367f3bf76781c0dd6e276721a | 44eeff1293391105dba7b6268e6c2d05810370ee | /dataset_scripts/generate_waldron_hESC.R | 5e399c18361a8fb40e1e1fa63f823d0502f9d6d4 | [] | no_license | jrboyd/shiny_seqtsne | 9c554128b39f1fd590a5400fd768d6bd40bc462a | 10a7910a31af8d7247d34d1b040de1a773b19e28 | refs/heads/master | 2020-05-18T07:30:48.889049 | 2019-05-29T19:01:07 | 2019-05-29T19:01:07 | 184,266,897 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 632 | r | generate_waldron_hESC.R | load("~/R/waldron/waldron_tsne_v2.save")
profile_dt = prof_dt[, .(tall_var, wide_var, id, x, y, cell = tall_var, mark = wide_var)]
tsne_dt = tsne_res
query_gr = query_gr
agg_dt = prof_dt[, .(value = max(y[abs(x) < .2])), .(tall_var, wide_var, id)]
# agg_dt[, value := y]
agg_dt = merge(agg_dt, tsne_dt[, .(id, tx, ty)],... |
fd8a3ccb781ac3bd5266c3efd226b45dbcecaa12 | 0bd4d5ee50ebfb5a5325ae0284087ee886be4f37 | /man/findFiles.Rd | aa38b6a1ec6bd13fe3e0facf9b7202d0405438ee | [] | no_license | stla/SLutils | 91f53e3ef48b22154642b7425a1be94c0c48053e | 5c5ef7dbb5d172c0a7788b3975a1363a47c4bf67 | refs/heads/master | 2020-04-10T06:21:30.476088 | 2019-09-10T10:00:57 | 2019-09-10T10:00:57 | 160,851,990 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 769 | rd | findFiles.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/files.R
\name{findFiles}
\alias{findFiles}
\title{Find files before/after a given data with size lower/bigger than a given size}
\usage{
findFiles(path = ".", date = Sys.Date(), before = TRUE, size = 0,
bigger = TRUE, ...)
}
\arguments{
\it... |
d0b9c3ae59567c9f3627b22a9c049aba4497e3a8 | 52503a6a457c1e804053a4e0dacc3e45a6d54f5c | /R/crawling_building_from_activity.R | 1eb1ba45c891693d4c17ead523ae7602ef31b53c | [] | no_license | youngjaewon/leed | ac19a09d91123e8a8b9b4d825764187e69c21d2d | e2264ffd43b5ee7f7b665fb2999074ea5e594df7 | refs/heads/master | 2021-02-20T01:41:14.515712 | 2020-03-13T23:02:07 | 2020-03-13T23:02:07 | 245,324,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,442 | r | crawling_building_from_activity.R | library(dplyr)
library(xml2)
library(rvest)
activity <- "C:/Users/ywon7/Desktop/GitHub/leed/data/activity.csv" %>% read.csv
building.URL <- activity$building.URL %>% as.character %>% paste0("/details")
page.list <- NULL
data.list <- NULL
date.list <- NULL
std.list <- NULL
for (i in 1:length(building.URL)){
pag... |
404618646bb5b993d8f1e840df04ab514a5449c5 | 2b8569d206b99a3c3b48b8ed7c70d48aabc1a821 | /R/ggtheme_plot.R | fc1a6175252bc64725dfc8a1ca87b748e9df9377 | [
"MIT"
] | permissive | emlab-ucsb/startR | 29190d9f24a05e6c6316e1f0e88b3d6cf1149111 | 49d5c9acd531320671d7ae411231fa0cfc15c557 | refs/heads/master | 2023-08-11T23:09:22.035471 | 2021-10-08T18:07:22 | 2021-10-08T18:07:22 | 141,326,123 | 1 | 1 | MIT | 2021-10-08T18:07:16 | 2018-07-17T18:07:28 | R | UTF-8 | R | false | false | 2,746 | r | ggtheme_plot.R | #' Plot theme
#'
#' @description Creates a standard theme for all my plots
#'
#' @param font_size The size of the font for \code{element_text()}. Defaults to \code{font_size = 10}.
#' @param font_family The font family
#' @param line_size The size of the lines
#'
#' @importFrom ggplot2 %+replace% theme_gray theme eleme... |
344a5bc40d5ad1860b4c928ff34c7294751f1266 | 11b2a54f71c83dc64b3583334aaaf34917a1d02e | /R/day-09.R | 56cee40197ccbb015ea1ca0531b02875902d271d | [] | no_license | shurtadogonzalez/geog176A-daily-exercises | 31e782af2dcac4bb40b040b4fe844bc469f836a7 | 20af2a9d838d06b2dcc829be00cdef6a325a183d | refs/heads/master | 2022-12-04T07:30:34.410007 | 2020-09-01T00:38:35 | 2020-09-01T00:38:35 | 286,666,906 | 0 | 0 | null | 2020-08-11T06:42:56 | 2020-08-11T06:42:55 | null | UTF-8 | R | false | false | 676 | r | day-09.R | #Name:Stephanie Hurtado
#Date:8/18/20
#Exercise: 09
install.packages("sf")
library(sf)
install.packages("stars")
library(stars)
install.packages("units")
library(units)
installed.packages("raster")
library(raster)
install.packages("mapview")
library(mapview)
install.packages("leaflet")
library(leaflet)
install.... |
562108ef24050daebf0c315546de7684785ed144 | 267635bea01525fbf4c6cc471f275a47d5d41868 | /cod_code/3_plot_spawing_biomass_distributions.r | 0dd3ee320bef2f71b28ba838b5e8db000c8b3a59 | [] | no_license | mikprov/popdy | 956486c54375b39aeb470d59579a306342bfff92 | 0af4aa9143282227b83dbf06c9fad83de4bd3820 | refs/heads/master | 2021-08-17T05:53:11.184914 | 2021-01-06T21:49:24 | 2021-01-06T21:49:24 | 97,860,370 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,816 | r | 3_plot_spawing_biomass_distributions.r | # Plot spawning biomass distributions
# by: Mikaela Provost
# Goals:
# 1. calculate probability of spawning biomass at age distributions
# 2. create and export eigentables for MG and MP parms
library(ggplot2)
library(gridExtra)
library(tidyr)
library(dplyr)
# ---
# Load functions:
#source("C:/Users/provo/Documents/Git... |
502fd0532b333bfc6f377208ba512a4ad26ea427 | 118e00ab030c8cc5131fd6a1ecf690f97eeab858 | /sklearn/stock-pred-redshift/model/printRecords.R | 9c80d8f2c943693f3b84722bfba8c923aa53ebdf | [] | no_license | ajayanto/dkubeio-examples | 0f9df3238c7b11bab7e598a66acfe551459c0a16 | c4ab19bb5d640448a9512709d2edc6243c658f02 | refs/heads/master | 2023-05-27T09:07:26.435848 | 2021-06-08T01:56:19 | 2021-06-08T01:56:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 855 | r | printRecords.R | library(jsonlite)
library(httr)
ds <- fromJSON("/etc/dkube/redshift.json")
user <- Sys.getenv("LOGNAME")
url <- "http://dkube-controller-worker.dkube:5000/dkube/v2/controller/users/%s/datums/class/dataset/datum/%s"
token <- Sys.getenv("DKUBE_USER_ACCESS_TOKEN")
header_data <- sprintf("Bearer %s", token)
rs_fetch_... |
f87f08eaf7503eb557b3961dfbc84f8a3ea2487b | 0662ba611c00aa49c3afca318a7f3ea16c83ba5d | /man/dsl_get.Rd | 97a379d485412118d726abe421c9b0e2262a0f1f | [] | no_license | ropensci/tic | 38e06d7675e6820801edf74daa904d6ceea1a804 | 379cf98787e924a68e47792462fafca03f148d5f | refs/heads/main | 2023-09-01T19:28:37.862973 | 2023-05-22T14:07:38 | 2023-05-22T14:07:38 | 72,775,037 | 50 | 10 | null | 2023-01-18T18:03:44 | 2016-11-03T18:31:22 | R | UTF-8 | R | false | true | 2,456 | rd | dsl_get.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dsl-storage.R
\name{dsl_get}
\alias{dsl_get}
\alias{dsl_load}
\alias{dsl_init}
\title{Stages and steps}
\usage{
dsl_get()
dsl_load(path = "tic.R", force = FALSE, quiet = FALSE)
dsl_init(quiet = FALSE)
}
\arguments{
\item{path}{\verb{[string... |
d902844b7e0dd1cac4121aab4cd3398cc8f5426b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/tidyxl/examples/tidy_xlsx.Rd.R | bd23aeff7659084b7e69a1ba6eebab95558d55c7 | [] | 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,235 | r | tidy_xlsx.Rd.R | library(tidyxl)
### Name: tidy_xlsx
### Title: Import xlsx (Excel) cell contents into a tidy structure.
### Aliases: tidy_xlsx
### ** Examples
## Not run:
##D examples <- system.file("extdata/examples.xlsx", package = "tidyxl")
##D
##D # All sheets
##D str(tidy_xlsx(examples)$data)
##D
##D # Specific sheet eithe... |
2226a8700a0bcda51acdf5eca2068612f0d1f90b | c3026ac4a49b0ff3361cf925a49965bf26ef6bf5 | /R/ggartprint.R | ff85b448f56ac686ef6ebb03caf933ba701a8f73 | [
"MIT"
] | permissive | keyegon/ggirl | d85e806c326a3688483949465cafd628ba60a5e6 | 7e042953dcacf6c569a3c31afe672a5b97456dbf | refs/heads/master | 2023-07-03T01:17:04.654516 | 2021-08-10T12:37:23 | 2021-08-10T12:37:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,327 | r | ggartprint.R | artprint_dpi <- 300
artprint_size_info <-
data.frame(
size = c("11x14", "16x20", "18x24", "24x36", "12x12", "16x16", "20x20"),
price_cents = c(3000L, 4000L, 5000L, 7500L, 3000L, 3500L, 4500L),
width_in = c(11L, 16L, 18L, 24L, 12L, 16L, 20L),
height_in = c(14L, 20L, 24L, 36L, 12L, 16L, 20L)
)
#'... |
fbf3ffa7ab13ab79605a5d6749641516a1997c1e | 21ad28c47798365e3ff84ef9cab5f278d8bd731d | /man/gsetfn.Rd | b4de47cb4d451f59465c22de11f82ec082d3466a | [] | no_license | syspremed/intPredict | b5d603e00e8ba803013ea03e81bb37e4247f788a | 139d5914946d8c5a29c92d2e69b040ee799baa26 | refs/heads/master | 2021-01-01T18:46:16.696853 | 2017-07-31T15:02:38 | 2017-07-31T15:02:38 | 98,432,331 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 790 | rd | gsetfn.Rd | \name{gsetfn}
\alias{gsetfn}
\title{
Gene selection function}
\description{
Pipeline for gene selection.}
\usage{
gsetfn(response, array, fac, narray, np, p, nrmeth, ngenes, nsubs, test.idx)
}
\arguments{
\item{response}{
Sample known classes.
}
\item{array}{
Expression data, genes by samples
}
\item{fac}{
Ratio ... |
30ddd9d46878df6b3d52ae5ebd22dff5abc85a3d | a1d42f310c9ad32b915fd9df8d4606858de28822 | /R/create_figures/create_f2_hmagma_results.R | 82b96b203fff89ba8b7f30ebdeb1c2db4de4a5b2 | [
"MIT"
] | permissive | ryurko/HMAGMA-comment | e0d730c5a55e3390578c87bced2ba0adb794fdc4 | d4396a02d5864c4476524ff7215b795dd45a6b82 | refs/heads/master | 2023-01-05T13:36:59.166360 | 2020-11-07T03:29:48 | 2020-11-07T03:29:48 | 249,070,304 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,712 | r | create_f2_hmagma_results.R | # PURPOSE: Create figure 2 displaying the H-MAGMA results
library(tidyverse)
library(latex2exp)
library(cowplot)
# Load the H-MAGMA data ---------------------------------------------------
read_excel_allsheets <- function(filename, tibble = FALSE) {
sheets <- readxl::excel_sheets(filename)
x <- lapply(sheets, f... |
c6853b8a284caaea63e20a78b0df143bd56d3e1e | 184a8a6432fb2bd9efbd4dcdcb684acd08441d46 | /R/metrics_worker.R | 99a7e899df6b5e5e97bc8a02a34037fc04bc9c19 | [] | no_license | lhenneman/searchAQ | e552958660cea73659e10b5320bf4be0f0ccf658 | 52e568425f3d669789193664f34667edffb617dd | refs/heads/master | 2022-02-16T03:01:50.488785 | 2019-09-30T16:40:31 | 2019-09-30T16:40:31 | 122,418,098 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,825 | r | metrics_worker.R | #' calculate daily metrics from hourly inputs
#'
#' \code{dailymetrics_SEARCH_gm} takes as input a list of hourly gas, meteorology (met), pm2.5 (pm)
#' and ion species concentrations (e.g., from the \code{read_SEARCH} function) and outputs a list of
#' daily gas, met, pm, and ion species. Multiple daily metrics are tak... |
2e79475f8ced5c3795f2f87fd1373c637a977a01 | 08a1fc13a32b36128e69a9070d877bf9cc69d0b6 | /code/chapter_2/inputs_app.R | eb17ca8c88ffe1d0d776fd5146b0a9b25c6e4115 | [
"MIT"
] | permissive | ads40/mastering_shiny | 155a28ab89ae9b7812b003a50911fed717c1a668 | 9dc7dff438af59b6ebbbc27dcd282bb36ff0b877 | refs/heads/main | 2023-06-09T02:20:34.115622 | 2021-07-02T10:03:55 | 2021-07-02T10:03:55 | 381,514,371 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,804 | r | inputs_app.R | ################################################################################################
#
# App + notes for Chapter 2 of Mastering Shiny
#
################################################################################################
library(shiny)
# Focus is on builtin inputs and outputs in Shiny, but lot... |
4442e05ad55f471f0bf2bed46bbf5db484623e47 | b0b156b7c4f8d300897ac2b5d184e692bcad2f94 | /SupFig6/Main.r | 7a1e101f27d489dc00be962685d9c719add8fd52 | [] | no_license | xiaoshubaba/Seppo_world_horse | 74dd144d89bc827d349e2a6a0a73bfca676b8b84 | c742863e18557d48abfcdf69350a916590e0e8ca | refs/heads/master | 2023-07-15T23:25:55.452281 | 2021-08-25T08:53:47 | 2021-08-25T08:53:47 | 276,278,326 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 508 | r | Main.r | library(ggpubr)
library(reshape2)
ME = read.table("sample.metadata",head=T)
TW = read.table("CeSta.matrix",head=T,sep="\t")
TW$cohort = ME$cohort
TW$status = ME$status
TWN = melt(TW,id=c("sample","cohort","status"))
p = ggboxplot(TWN,palette=c("#B03060","#87CEEB"),"status","value",ylab="Relative abundance",add="jitter"... |
8c47164719a1750ae7e690ff6637f2796d4a912d | cb186a68eefc8b7ab304154c00fdfb47dd2beb0a | /lectures/code/Cap5 - PH - Interpretacion.r | 0e95e3dd08abc83ce06a0507c087b49bcf1b2169 | [] | no_license | eduardoleon/survival | 79c9b0d51c58121ed8c450f0681e959d7cceef0a | 26e87e3ec185b2d5afc5f439b4f8403b7590ee3a | refs/heads/master | 2021-01-19T19:51:26.360095 | 2017-07-14T07:19:50 | 2017-07-14T07:19:50 | 88,455,654 | 1 | 0 | null | null | null | null | ISO-8859-2 | R | false | false | 4,025 | r | Cap5 - PH - Interpretacion.r |
#
# Lecture 5: Modelo de riesgos proporcionales
# Giancarlo Sal y Rosas
# 04/26/17
#
rm(list=ls(all=TRUE))
library(survival)
#
# Interpretation
#
#
# Binary response
#
model1 <- coxph(Surv(time,status)~sex,data=cancer)
summary(model1)
# Intervalo de confianza
confint(model1)
exp(confin... |
145ea2cfd535c06320ea110eb4381977b2f379d3 | 8b0dee9d51374e8bced0f0fd8efa8b6f0c14c9d7 | /man/primer.Rd | c6d886b2f284948b599fa7744420aa79800e5f35 | [] | no_license | rwoldford/qqtest | 4b9c595ea4c8f7e9ee6f1947e5f94e20c72be0a0 | f3737db73bfd00e36067d394d749a7232c3f3bb9 | refs/heads/master | 2021-02-11T16:26:56.146877 | 2020-03-16T15:49:28 | 2020-03-16T15:49:28 | 244,509,892 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,681 | rd | primer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/primer.R
\docType{data}
\name{primer}
\alias{primer}
\title{Automobile primer paint thickness quality control measurements.}
\format{A data frame with 20 rows and 14 variates:
\describe{
\item{day}{Day on which the parts were taken and meas... |
ed963f4a4567dd0f39777ca205ac5391cf7e8652 | e1d1222d501ba0bbc1ea0df6290c40a5c5bdf96a | /app.R | 7655d7eb621c410f0d71dadd814135838c672118 | [] | no_license | laurenslow/shiny_app | 0b95ba4d1e59e17c8db97f7f4833ece37eabfbaf | a280072bef30430ccb32d50b169e69399007f15b | refs/heads/master | 2022-12-31T23:35:53.426737 | 2020-10-20T11:34:41 | 2020-10-20T11:34:41 | 297,665,138 | 0 | 0 | null | 2020-09-22T13:55:08 | 2020-09-22T13:55:07 | null | UTF-8 | R | false | false | 2,489 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(tidyverse)
library(readr)
library(hrbrthemes)
# Define UI for application that draws a hi... |
8c671afb90f48fb5d71ef36b65f37164b29d3bb2 | 39d3010f966489e31e5f9ab8f4a2e42de9d922a4 | /ui.R | 9305f19adaa8106dad1f11b6908ab3703ad0d35d | [] | no_license | AoibhinnRed/CourseraDSCourse9 | 10e1b2dcb5ec89101bda78718649518a49eb836d | be16ec6784ba12659d68d7edd7e53e529679f771 | refs/heads/master | 2020-11-25T09:30:55.443043 | 2019-12-17T11:48:13 | 2019-12-17T11:48:13 | 228,597,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 658 | r | ui.R | library(datasets)
library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
titlePanel("Chances of Old Faithful erupting"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
sliderInput... |
f8d48746cdc1a8fcbb0f623737d1411b60adc0a8 | 0c1b0970b6b01ac603df5a578e0e9f0d422fe3d4 | /R scripts/Ms-Cc_field-temp-manip_plots_com-meet_11-22-19.R | 41b912841e6a30422b92e16d7b368aeb159e6b1f | [] | no_license | melmoore/Ms-Cc_field_temp_manip | b0c57d71b74df91aa18d051bce824ea1b3824b1a | 9a562045e5a6c12efc1eebba93684df48a0ba095 | refs/heads/master | 2021-07-16T08:15:31.198443 | 2020-09-16T21:37:42 | 2020-09-16T21:37:42 | 209,346,844 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,897 | r | Ms-Cc_field-temp-manip_plots_com-meet_11-22-19.R | #Ms Cc field temp manip--plots for committee meeting 11-22-19
#load libraries
library(scales)
library(readr)
library(ggplot2)
library(Rmisc)
library(dplyr)
library(tidyr)
library(plotly)
library(nlme)
library(lme4)
library(extrafont)
library(cowplot)
library(viridis)
#---------------------------
#load data
#caterpi... |
156a7647183a6197681e8bae7fe7ff4f33475ad6 | 1cb5a3fc57b330012b862d49c3627cf52549f5d8 | /R/tracer.R | f1f2dc881398489beb9b347c2890fd6f79a4570f | [] | no_license | MyKo101/tracewarnings | f61f8175517dfc2af8912b2575e6af9612b3287e | d207b979c281d511b8847603dc970fcfd04f043c | refs/heads/main | 2023-06-02T00:19:12.737560 | 2021-06-22T12:25:55 | 2021-06-22T12:25:55 | 379,255,404 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,173 | r | tracer.R | #' @export
warning_trace <- function(){
tr <- rev(sys.calls())[-(1:5)]
tr2 <- vector("pairlist",length=length(tr))
for(i in 1:length(tr)){
tr2[[i]] <- deparse(tr[[i]])
attributes(tr2[[i]]) <- attributes(tr[[i]])
}
.warning_traceback <<- tr2
}
#' @export
.tracebackW <- function() .warning_traceback
... |
43316b5fc0a2c9e25b13961f281d7f3cb87b92b0 | d12f765faa63b13c3d6c95e726aced1a1edfe272 | /Data_Prep2.R | dc7e9d84fc5ca8f932b4386a72a9757af2eb633e | [] | no_license | rohitgupta189/Kaggle-Comp-Predicting-House-Prices | 736517ce780906a8545c3f2c954db07a337193e7 | 78cf00254d83bf43a7ec63c11418eea5a3db541e | refs/heads/master | 2020-12-31T00:54:00.485508 | 2017-02-22T21:15:17 | 2017-02-22T21:15:17 | 80,585,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,515 | r | Data_Prep2.R | #Loading Caret Package
library("caret")
#Importing final train data provided by Saurav
train_final <- read.csv("C:/Users/rohit/Desktop/Spring16/Kaggle/Regression/data/train_final.csv", stringsAsFactors=FALSE)
#Importing final test data provided by Saurav
test_final <- read.csv("C:/Users/rohit/Desktop/Spring1... |
595970fc0bcdc80baf80c2c2fa0fc9f9b6599c71 | df7bd815b064c0ab66765ad9d137b590dcf0ee6b | /predict.r | 9cf124b8a3751b83c635d4eb4aa54cebdd6c7432 | [
"MIT"
] | permissive | msanterre/practical-machine-learning | b416549068fb7403ae2e77a47e366fdfa255c6ec | 04cf0eca4fc9d242fa9d43bbede1a54a989dc19a | refs/heads/master | 2021-01-10T06:48:12.010653 | 2016-01-02T00:32:11 | 2016-01-02T00:32:11 | 48,661,598 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,573 | r | predict.r | library(doMC)
library(caret)
# Use all the cores on this baby
registerDoMC(cores=8)
# We're trying to find classe
training <- read.csv("pml-training.csv", header=TRUE)
testing <- read.csv("pml-testing.csv", header=TRUE)
# Remove aggregate rows
training <- training[training[,"new_window"] == "no",]
# Remove the usel... |
65fb27fb32c5bf0827cfd62a2bef3fef838448c1 | 0630b7df32260a614ecde6bb8902ba8eee3ef371 | /scripts_prior_checks/load_sim_data.R | 81a05c3b5779cb400f76cf33e9d5cc5ba852bd81 | [
"MIT"
] | permissive | pmarchand1/seed-seedling-kernels | e3530ee40431e5d20e1f342a261ec3739e675f1c | e6225fec5f393f608d4d3deba092c91180606e45 | refs/heads/master | 2020-05-02T05:17:53.120388 | 2019-09-16T19:07:22 | 2019-09-16T19:07:22 | 177,768,396 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 803 | r | load_sim_data.R | # Load 2010 tree census and locations for seed traps 1-200
library(readr)
library(dplyr)
library(stringr)
# Dimensions of plot
xmin <- 0
xmax <- 1000
ymin <- 0
ymax <- 500
# Edge buffer size
buffer <- 20
load("data/bci.full7.rdata")
traps <- read_csv("data/seed_traps.csv") %>%
filter(TRAP %in% 1:200) %>%
... |
be87b6a772cdff19c882f21a66ded5fdbd770463 | 0f6f347f47365ef22e3584acbbd4966819154f78 | /7_3.R | f1e10d8eee3245bbe99f767b64e06feddcac9b2b | [] | no_license | ryota765/Anomaly-Detection | 5628fd1c52249043df34635f4b913a745f7956e8 | c2eefb56fb2cc54ce14944e64548aaa127acd9b8 | refs/heads/master | 2022-11-29T07:17:59.075169 | 2020-08-14T09:52:51 | 2020-08-14T09:52:51 | 286,388,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 361 | r | 7_3.R | Dtr <- nottem[1:120]; xi <- nottem[121:240]
Tt <- length(xi)
ar.model <- ar(Dtr); print(ar.model)
r <- ar.model$order
alpha <- ar.model$ar
xmean <- ar.model$x.mean; sig2 <- ar.model$var.pred; N <- Tt - r
X <- t(embed(xi-xmean, r))[,1:N]
ypred <- t(X) %*% alpha + xmean
y <- xi[(1+r):Tt]
a <- (y - as.numeric(ypred))^2/si... |
fcb4e514d82c3d421210b441e4d9f81b27b57e67 | 9c33864192dffba239d89345f53231df714a1cd9 | /run_analysis.R | f34ce38f6b315132529586fdf73e5e453b70fe39 | [] | no_license | kiiiiibble/get_clean_data_project | 464faec8b24bd72e3756e92e342bb35b07004b6f | 6f6dcc52d3432ce2945a70f820523f2d078c6cc4 | refs/heads/master | 2021-01-23T06:35:01.639486 | 2017-06-02T07:41:52 | 2017-06-02T07:41:52 | 93,029,346 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,273 | r | run_analysis.R | rm(list=ls())
#===
#1. Merges the training and the test sets to create one data set.
#Read all relevant files
x_test<-read.table("./test/X_test.txt")
y_test<-read.table("./test/Y_test.txt")
subject_test<-read.table("./test/subject_test.txt")
x_train<-read.table("./train/X_train.txt")
y_train<-read.table("./train/Y_tr... |
c05d492a59a7f2a20ee4c30abc28a7baa756ccb9 | 6952973189692a3fb0251c32bde8309431495381 | /feature_analysis/boxplot-csv.R | e042488a1d98f133a647a858fe37e861cc3970d9 | [] | no_license | tmbo/stackoverflow-media-mining | 5fdf2d07a66d572fc9cc034f9c873f6340c7e9f8 | 2e9452924e288ecdc9a25ef9e0390400c15e704e | refs/heads/master | 2020-03-30T21:18:11.201339 | 2015-02-20T14:15:18 | 2015-02-20T14:15:18 | 26,333,743 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 504 | r | boxplot-csv.R | library(RMySQL)
con <- dbConnect(MySQL(), user = 'root', host = '127.0.0.1', dbname='stackoverflow')
# data <- dbReadTable(conn = con, name = 'training_features')
data <- dbGetQuery(conn = con, statement = "SELECT * FROM SO_training_features WHERE AnswerDate is not null")
# data <- read.csv(file="query_result.csv",s... |
9d71ea0efcdec2ed5e2028f2da4effb85c422521 | 8b9c4825565521d67b192990016b5a174f9650d6 | /man/weibull.Rd | 0d853d82f7cc046b109fa35479472381e6db9d00 | [] | no_license | cran/distributionsrd | d6c0efa50e5ad60999b6ffa3cee94dff50047973 | e380c274007c99e2ccaa6b34775f6cfb4fefe1c9 | refs/heads/master | 2022-09-07T03:41:19.652239 | 2020-05-25T17:50:03 | 2020-05-25T17:50:03 | 267,007,404 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,620 | rd | weibull.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/weibull.R
\name{weibull}
\alias{weibull}
\alias{mweibull}
\title{The Weibull distribution}
\usage{
mweibull(r = 0, truncation = 0, shape = 2, scale = 1, lower.tail = TRUE)
}
\arguments{
\item{r}{rth raw moment of the distribution, defaults to... |
6d3cebe0e467b802504fa82eed7506b08418ee41 | 75d9a43fc7af3084127c3b0fde2366492e58057e | /ui.R | 9a1eaffb0cc11e649e0983ddac54f2dc378a2e63 | [] | no_license | DawitHabtemariam/RPresentation | 7952895ff25bf1cf94d3145bf49386e83c624612 | 3ec5b22d94d51f8d1cdfee0f5db9e212cd2e4b1a | refs/heads/master | 2021-01-23T11:48:07.924138 | 2014-08-23T03:18:16 | 2014-08-23T03:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,390 | r | ui.R |
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
shinyUI(
fluidPage(
titlePanel("Climate in 1973"),
sidebarLayout(
sidebarPanel(
helpText("This graphic di... |
6897127e5f2a9b520899928be039899f442e5a9d | ef3e7f89905ea5dd3a6d1c6e7634289ae2fb34ad | /Sesion2.r | 0bec43ed8267272f505958959294d241029fd242 | [] | no_license | elantinoiser/Rbasico | f2b5f90a51ac8dcca6c2ac9fb43f2c4315df96fd | 7fb371b3340efb5d230a8ce81fa955075290a2bf | refs/heads/main | 2023-04-14T22:38:32.438258 | 2021-05-05T03:12:49 | 2021-05-05T03:12:49 | 348,812,235 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 820 | r | Sesion2.r | url_name <- 'https://scholar.google.com/scholar?start=0&q=transportation+AND+resilience+AND+LITERATURE+AND+REVIEW&hl=en&as_sdt=0,5'
wp <- xml2::read_html(url_name)
titles <- rvest::html_text(rvest::html_nodes(wp, '.gs_rt'))
authors_years <- rvest::html_text(rvest::html_nodes(wp, '.gs_a'))
authors <- gsub('^(.*?)\\W+-\\... |
9d18406ccc51e25ba4dac7962574d3507068dc43 | 484200b4ad0025e44d09d36e3ffada8900ffe3b6 | /R/locationUI.R | 90df5dd34ed16354eb0f4ec9d911ca166058b6fd | [] | no_license | c5sire/brapps | 3b8a4657bda0e3aad20c1af56be8f2d3ee3d1e53 | 8d6311e6821b3c691cfcecf0cad1de27dd8e5a6a | refs/heads/master | 2021-01-23T21:29:11.249784 | 2017-06-26T19:54:32 | 2017-06-26T19:54:32 | 59,123,381 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 237 | r | locationUI.R |
#' locationsUI
#'
#' @param id shiny ID
#' @import shiny
#' @author Reinhard Simon
#' @return list
locationsUI <- function(id){
ns <- NS(id)
tagList(
#h2("Trial Location Explorer"),
DT::dataTableOutput(ns("table"))
)
}
|
5b04089e9a78635c94bac738e09be95bbb45c41b | 8a1119cfb5ee8680c0df840c010dc7e88dcb9640 | /man/sraToFastq.Rd | 3338ba2149d5778fb9ec77dc814620b2a07e9b19 | [] | no_license | CasedUgr/KnowSeq | f361ce49274aa81aaa9e104bbf863088dc6aef55 | f7051cb22dc7c6edab886c4fd34cb876b794d888 | refs/heads/master | 2022-09-01T06:35:36.323370 | 2022-08-11T22:35:28 | 2022-08-11T22:35:28 | 180,246,920 | 6 | 2 | null | 2022-04-05T12:16:31 | 2019-04-08T23:14:38 | R | UTF-8 | R | false | true | 793 | rd | sraToFastq.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sraToFastq.R
\name{sraToFastq}
\alias{sraToFastq}
\title{sraToFastq downloads and converts the sra files to fastq files. The function admits both gz and sra formats.}
\usage{
sraToFastq(identifier)
}
\arguments{
\item{identifier}{A vector tha... |
715fded67707590bbe5651b18595b69cb75b5bd3 | 1f0978ef6e0917e17c3a1545a5fae66f06b7f320 | /R/mod_create_svg_input.R | 9df0f76eccbbf15d29237923dee8eee0c82eea24 | [] | no_license | JidduAlexander/svgInput | 562a38450c30ac74cb590c311b7ba41fafdfac6f | d1416a11267cd9846871d94890d9ea78e22694e5 | refs/heads/master | 2023-05-03T12:14:24.413158 | 2021-05-14T09:18:02 | 2021-05-14T09:18:02 | 367,150,853 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,767 | r | mod_create_svg_input.R |
# Module UI function
mod_create_svg_input_ui <- function(id) {
ns <- shiny::NS(id)
shiny::tagList(
bs4Dash::accordion(
id = ns("accordion"),
bs4Dash::accordionItem(
title = "1 Upload", status = "olive", collapsed = FALSE,
shiny::div(
style = "max-width:1200px; width:1... |
5def94ec78a027c58d21e0692dae79eb059f30dd | 90547805f8fa7f3759a01f5e791890ea5144455e | /R/pdf2pptx.R | 672e4e98de320ec330e6f2594070fa0fd3470eb9 | [
"MIT"
] | permissive | bannarisoftwares/pdf2pptx | 69e1d8a820f6bc96369ea8f0c0b44018c01725d8 | 6bc9461c994a820dbc620548cfb38b1f2d30a9fa | refs/heads/master | 2022-12-21T22:35:01.745728 | 2020-09-27T13:37:36 | 2020-09-27T13:37:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,178 | r | pdf2pptx.R |
#' Convert PDF to PPTX
#'
#' @param pdf_filename File name of the source PDF file
#' @param pptx_filename File name of the destination PPTX file
#' @param dpi Optional parameter specifying image density for rendering images from PDF
#' @param path Directory where to put rendered images. If `NULL`, temporary folder is ... |
0a30c5a752554f8d3354f859773d8fd54f1b7c83 | 4a2ac914de175c03d7d6ba98c7c4852ec508d6e6 | /nfl_fit.R | 91ebf3f39400ab422a8b1c1aff643e939e4312d1 | [] | no_license | PirateGrunt/sparsity_blues | 9e89b6ddc3121059d0bf6d5fae1c22918cd6d6c1 | af8f3c575b925dc12aef7dfdff7e2d85aaca7b13 | refs/heads/master | 2021-05-14T13:57:31.107905 | 2019-03-23T11:37:08 | 2019-03-23T11:37:08 | 115,961,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,025 | r | nfl_fit.R | library(rpart)
library(randomForest)
library(ggplot2)
library(ROCR)
load('data/all_arrests.rda')
# Generate indices to split data into 2 sets
num_rec <- nrow(dfPlayers)
set.seed(1234)
train <- base::sample(num_rec, size = 0.8 * num_rec)
test <- setdiff(seq.int(num_rec), train)
dfTrain <- dfPlayers[train, ]
dfTest <- ... |
c048622f8007ce3ef893da9d6aab2ac183e05f8e | f5ad30ec784cccd03371242a63b99f265bf98dc5 | /man/leading.zeros.Rd | 2bb35784afc4b75746825c05961519c66d3cf50b | [] | no_license | claus-e-andersen/clanTools | cf93ec1b81b38277f90eaab7901a8f82b2ffa847 | dbbca750aba52b08c99d43a2a49a05810e2d0630 | refs/heads/master | 2021-07-06T09:22:18.006123 | 2020-10-17T04:20:21 | 2020-10-17T04:20:21 | 22,555,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 551 | rd | leading.zeros.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clanToolsFunctions.R
\name{leading.zeros}
\alias{leading.zeros}
\title{Add zeros in string representing a number}
\usage{
leading.zeros(c(9,111),3)
}
\arguments{
\item{x}{is a vector of numeric values}
\item{digits}{is the number of digits i... |
7f0d2669d53e48d8ee0730ddf751cefb357a3ec8 | 52384e5931df60533cc55307dd115e6a0f078bb1 | /GaussianMixtureModel.R | afa1774eb426891774dd90568e1f6a6735f056fc | [] | no_license | julvi/MachineLearning | 6918a997180618878b739488485cf650b95a3237 | 3f701c28a2c463c7af9a27f3b7e8f968bd781993 | refs/heads/master | 2021-05-08T10:18:31.428396 | 2018-02-01T13:12:14 | 2018-02-01T13:12:14 | 119,837,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,951 | r | GaussianMixtureModel.R | # exercise 10.1.1
rm(list=ls())
setwd("~/GoogleDrive/PhD/Courses/IntroductiontoMachineLearningandDataMining/ToolBox/02450Toolbox_R")
source("setup.R")
library(mixtools) # install.packages("mixtools") # package that can be used to fit a gaussian mixture model. This package does allow random starts of the algorithm.
libr... |
9879b05e4d4e2ea04fd4bfa2bb1a3f6c3ac01d66 | 342fe703c0d370bf02dacbd660eff54050f2c02e | /class_11_12.R | 350a1c15b322fe594112ce49e389a723d6a5bff2 | [] | no_license | emccollister/class_11_12 | 809fea5ab8717539d898526479d0ddf71f546299 | 3677c5730a22b9ae923b5c58ac7cc28168235870 | refs/heads/master | 2020-04-05T22:30:52.455102 | 2018-11-12T19:30:20 | 2018-11-12T19:30:20 | 157,258,919 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | r | class_11_12.R | library(tidyverse)
download_link <- function(district, wave) {
district <- str_remove(string = district, pattern = "-") %>%
str_to_lower()
x <- paste("https://raw.githubusercontent.com/TheUpshot/2018-live-poll-results/master/data/elections-poll-",
district,
"-",
... |
80e124b6c4c6d5e3ca49516aec8b5d34bb6320f5 | a2ba22a5bb7f38a214d40b769cbc8f6378426750 | /R/qualityReportSFF.R | 2de30f12b4ceab58e9c68f598a1f2c2efe7bc39d | [] | no_license | huklein/R453Plus1Toolbox | faa368f57e1f27b2f45249ce12d95ed72610be8b | 539c22e575530ea93c2f2e95166bd6ef646a2a8d | refs/heads/master | 2021-08-30T02:00:13.385605 | 2017-12-14T01:55:16 | 2017-12-14T01:55:16 | 113,723,920 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 362 | r | qualityReportSFF.R | qualityReportSFF <- function(sfffiles, outfile="qcreport.pdf") {
basename <- gsub(".pdf", "", outfile, fixed=TRUE)
tmp <<- environment()
file.copy(system.file("extdata", "qualityReport.Rnw", package="R453Plus1Toolbox"), paste(basename, ".Rnw", sep=""))
Sweave(paste(basename, ".Rnw", sep=""))
texi2dvi(file=pas... |
f9214665032b2ac2226ab69fa05f278572c95324 | 90a42b7bcfcc6c639a3ec64776867ae2d14d5ba2 | /server.R | 2264b0b9be28b5564894eacba426cc11c9d93d76 | [] | no_license | abhijit-nimbalkar/Immigration-and-Crime-Data-Analysis | 8fb6284ca16d99e6d337fe1b9becc38d77bad0e4 | b0cf8c95d10fc9636180b8b58776eb33817dfe71 | refs/heads/master | 2020-04-07T04:09:44.032077 | 2019-01-17T00:00:02 | 2019-01-17T00:00:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,726 | r | server.R |
set.seed(100)
server <- function(input,output, session){
getDataSet1<-reactive({
input.str<-str_split(input$parameter,'_')
input.str1<-input.str[[1]][1]
input.str2<-input.str[[1]][2]
dataSet1<-immigrant_data[immigrant_data$X1==input$year & immigrant_data$variable==paste0(input.str1,"_state... |
b7d6a281b46f688a72d798cc85ef86c4647a1989 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MIXFIM/examples/fisher_optimization.Rd.R | 02dcbb11bb87748ae16795ba12d816b3a2bd75c6 | [] | 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 | 843 | r | fisher_optimization.Rd.R | library(MIXFIM)
### Name: fisher_optimization
### Title: Optimization of the sampling times (or doses) in Nonlinear Mixed
### Effect Models using Markov Chains Monte Carlo
### Aliases: fisher_optimization
### ** Examples
############################
# PLEASE UNCOMMENT EXAMPLE #
############################
#para... |
99ea837d3009d0f88e2479853d482e13fce48e27 | 57b918ae794b1e855d5ec84c45dcf57f2b7a224a | /H1B Final_in progress.R | 1736f867a75706393af793a55f8cf9ce95691ca2 | [] | no_license | ZoeLiuu/H1B_VisaPrediction | ad002cd611994d19fb3b5b517331c34fcf5b99bb | 2b6f68765fb9255b709edb37ed46d2445d8dfd57 | refs/heads/master | 2023-02-04T17:23:20.680089 | 2020-12-21T08:44:54 | 2020-12-21T08:44:54 | 323,263,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,861 | r | H1B Final_in progress.R | ## ----setup, include=TRUE, cache=FALSE, echo=FALSE----------------------------------------------
knitr::opts_chunk$set(echo = TRUE)
## ---- echo = FALSE, warning=FALSE, message=FALSE-----------------------------------------------
library(readr)
library(readxl)
library(dplyr)
library(ggplot2)
library(caret)
library(D... |
f09e46ca7e9ec09dc68d40735ab89c37a3345695 | 484d0d81fa373313ade9cf30e5df9139c342bba1 | /src/simulation/r_code/MyDataGeneration.R | 72ee398072afac494c9abe434c71854016dd482a | [
"MIT"
] | permissive | rushkock/sim_study_thesis | 95d77452764e582107f42e627decc8107fc2c913 | 6cddc5becf565a6e62ca5e4db873e522b5b5f0f5 | refs/heads/master | 2020-05-09T13:19:01.767533 | 2019-06-05T07:21:52 | 2019-06-05T07:21:52 | 181,146,833 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 745 | r | MyDataGeneration.R |
#Comparison of power of Mann-Whitney U test and power of t-test
# In group 1 variable Y is from a normal distribution with mu = 0 and sigma = 1
# In group 2 variable Y is from a normal distribution with mu = 0 + es and sigma = 1
# es is "effect size", which is a factor in the simulation design (either 0.2, 0.5, or 0.... |
627dfe577621700024cf2c70ce6979635a980c6c | 2db48faacba5906814d5d94c98dcaad0932c0ef5 | /man/frontseat.Rd | 47a199383e3d5f49e4a89ded750eae265c849d9a | [] | no_license | cran/DOS2 | 985dbb239a40a4f7539cde77ab3f0fbdcc4bbd80 | f333e07e0041ee09525ea32bee07b4eb685f00af | refs/heads/master | 2020-07-26T22:37:00.966718 | 2019-09-16T09:30:05 | 2019-09-16T09:30:05 | 208,785,907 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,851 | rd | frontseat.Rd | \name{frontseat}
\alias{frontseat}
\concept{Causal inference}
\concept{Counterclaim}
\concept{Observational Study}
\concept{Mediation}
\docType{data}
\title{
Safety Belts in Vehicle Crashes
}
\description{
Data from the US Fatality Analysis Reporting System (FARS) in 2010-2011, as discussed in Rosenbaum (201... |
3ce49536c6feeacbc96070eb96b55bbab24944a7 | d1b9d11a226d61ca175d5d842deb4b9f24199d89 | /scripts/2017_metadata_cleaning.R | d3cdd06a8e72e2fb4b72aa73a815cc40cff56cb9 | [] | no_license | diportugal/Oyster_16S | b168d6ad5de369d854917fe9f9683cf73d70dbff | 309933bdfbf09013159ea0d537a910932f89da52 | refs/heads/main | 2023-07-26T11:33:52.219778 | 2021-09-09T05:05:02 | 2021-09-09T05:05:02 | 374,736,478 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,375 | r | 2017_metadata_cleaning.R | #Document Information ####
#Oyster 16S Metadata Cleaning
#Author: Diana Portugal
#Contact: dportugal8@gmail.com
#Loading Data ####
#library(tidyverse)
#install.packages("data.table")
#library(data.table)
#Loading the data (Original Data is called DE_DATA_ForGenetics_17.csv)
de_data17 <- read.csv("Oyster_data_raw... |
11bc8f564abc6ed3f637e734aa3667a51b0c6e5a | 10cdf485801971b8357d13454d0185c9ebc6a36e | /man/corme.Rd | c59dc67e48543b538b8c49660fc15b0832cfa2ec | [] | no_license | dschulman/corme | 2e5fad5b1fd1709f47e393466dbe11c4040dbf52 | 12eeec79257df20ad01093bc9cfe236ecc44bb3b | refs/heads/master | 2016-09-06T14:51:48.630954 | 2011-11-16T23:57:25 | 2011-11-16T23:57:25 | 2,775,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,771 | rd | corme.Rd | \name{corme}
\alias{corme}
\alias{corme.default}
\alias{corme.formula}
\title{corme: correlation with mixed-effect models}
\usage{
corme(...)
\method{corme}{default} (g, x, y = NULL, REML = T, ...)
\method{corme}{formula} (formula, data, REML = T, ...)
}
\arguments{
\item{...}{additional arguments, not curren... |
7419586dd1591b01c848e528ce6c0ee88879bda8 | fe2949a661f4805d693f4224266ed2261b615448 | /projects/epa_analysis/part4/layers.r | 64d694b7fae24056ca2782121c7ebae1b3728ea6 | [] | no_license | dnfehren/dnfehrenbach.com | c4d6a54f703b6aa74701e518db950b74fd527f26 | e1bbf16daab454f224551b0f87579362806533fd | refs/heads/master | 2021-01-04T22:34:01.939666 | 2012-02-20T20:51:59 | 2012-02-20T20:51:59 | 3,497,585 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,363 | r | layers.r | #load libraries
library(RSQLite)
library(ggplot2)
#connect to database
#con <- dbConnect(SQLite(), "/users/dnfehren/Desktop/epa.sqlite")
con <- dbConnect(SQLite(), "C:\\Users\\dnfehren\\Desktop\\epa.sqlite")
#send query and load data into R data frame
query <- dbSendQuery(con, statement = "SELECT TRI_FACILIT... |
e34c8c92aea9be22e090dd094762ce58cd2da656 | 46a52c79eaf7260c33605fc97769cae952b26adf | /demo/hivmodelage.R | c0cd142793194da53a3710718c0df3fafe12f9ac | [
"MIT"
] | permissive | haganje/epicookbook | d69f7d9b46e220ce9b75809e715c766f2a122661 | 311af3d66052e26f59b4965835b2b3f97ed23b1e | refs/heads/master | 2020-04-27T11:52:40.598500 | 2014-01-16T10:45:03 | 2014-01-16T10:45:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,360 | r | hivmodelage.R | hivmodel.discrete.age <- new("discreteModel",
main = function(time, init, parms, ...){
with(parms,{
S <- init[1:m]
I <- init[(m+1):(2*m)]
Stot <- sum(S)
Itot <- sum(I)
N <- Stot+Itot
Snew <- S
... |
c4a6f7ca1fae898a1a26052a8bfa804f6474c2ef | 96ca33786427091cdab915d8e130400382e5c6e4 | /scripts/05_plot_spatial_campaign.R | 27b2241511b9341b2a3ac7eb731e52703df72a1f | [] | no_license | wileyjennings/chile_mapocho_2019 | a0f886c90a1e07789a4e43d8aca1a812d596860b | 01e2d87dc162251350f90aaa3534674fa5c4e0a9 | refs/heads/master | 2021-05-26T21:50:28.859131 | 2020-08-20T12:01:49 | 2020-08-20T12:01:49 | 254,168,919 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,265 | r | 05_plot_spatial_campaign.R | # Doc Info ----------------------------------------------------------------
# Title: Plot Chile Mapocho samples
# Project: Chile Mapocho survey
# Author: Wiley Jennings | Boehm Group | Stanford
# Date: 27 Dec 2019
# Description: Plot spatial campaign data.
# Requirements --------------------------------------------... |
c709739d388771cb55121da95d264179e823d817 | 486ac08cb972bc756c7ff49f2d53d152d9298957 | /ejemplo-2/requirements.R | 1943c1c57a8a5ddb79f61a2db3f419f927d2c6c9 | [] | no_license | luismartinez83/docker-datascience | ad9df628dc86673789c37223a3ce52639ab644a7 | dc4a4bbd33cb1ca68e4cf6cd3594387425bb907c | refs/heads/main | 2023-05-19T06:40:32.605755 | 2021-06-11T16:36:37 | 2021-06-11T16:36:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33 | r | requirements.R | install.packages("randomForest")
|
f86e0623c5b496ac3127f1fbad14fee3dfac6e45 | 9f2b375053d41ed33adee755456ccec58a486933 | /server.R | 887f464ed8a813f2094d3eba3fd53df3f109f49a | [] | no_license | mo-sayed/Bluebikes-Shiny_Visualization | 49125c3b72f95cc2af6359882e15747109f74d9a | affa618d771f4f2d2353929923bf0ae5c51bb18f | refs/heads/master | 2022-08-02T10:22:00.783186 | 2020-05-22T02:12:28 | 2020-05-22T02:12:28 | 239,390,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,273 | r | server.R | # SERVER.R
function(input, output){
first = reactive({
df0 %>% filter(TRIPDURATION <= 60*60*2) %>%
filter(hour(TIMEOFDAY) >= input$time[1] & hour(TIMEOFDAY) <=input$time[2]) %>%
filter(TRIPDURATION > input$duration[1]*60 & TRIPDURATION < input$duration[2]*60)
})
output$dailytripduration = re... |
e07cdbf142df5da496a1364b4dff72f843b76952 | e8f282cec225e3678e8464050edf7475d6995a91 | /man/createRollingTimeIndices.Rd | 2bc7905c7cbd25365c51f140ab6898aece861819 | [] | no_license | stjordanis/tsconv | aca5eaa03c699bbbf4775a960af38dbfe33e8681 | 0d7e9bc63aaecfcbbda79cf588334af663c20102 | refs/heads/master | 2020-04-15T15:12:43.422059 | 2017-01-06T05:59:22 | 2017-01-06T05:59:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,079 | rd | createRollingTimeIndices.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/E-createRollingTimeIndices.R
\name{createRollingTimeIndices}
\alias{createRollingTimeIndices}
\title{create index of time-stamps for vectorized functions}
\usage{
createRollingTimeIndices(initialTimeVector, estimationLength = 18,
timeUnit =... |
f052bfe4a573eac856604ccee0c829c37bf1dedf | beac66411ce2eddaea216148a8c5ffca34074fd6 | /tests/testthat.R | f0f312fcf5863a8c922ee87e0548004c0468b396 | [] | no_license | AustralianAntarcticDivision/bgmfiles | f6043ddcb79fc7f5d3febb5aa7a3d1b5ca5b7733 | bf3390a23222c788d99c6370d4d5ef2923fb8db5 | refs/heads/master | 2020-04-06T06:49:40.243993 | 2016-09-09T06:00:02 | 2016-09-09T06:00:02 | 55,750,978 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 60 | r | testthat.R | library(testthat)
library(bgmfiles)
test_check("bgmfiles")
|
9004bcf956f701e5cdb0bc3cca5472a57e49429b | 2bd293d9eff164a31e5ca98900a3b623aced5815 | /man/Colour.Pixel.Rd | b252b58fe37133f70964d7afb2abf3a332eaf752 | [] | no_license | carelvdmerwe/UBbipl3 | 213a17f60e7cd1796f51ce2a2f5fc097b57e722c | ea5bbe4767d42d92d949e42b1db199fc8d5e12f0 | refs/heads/master | 2020-06-07T04:44:22.514152 | 2019-06-20T13:39:36 | 2019-06-20T13:39:36 | 192,926,846 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 107 | rd | Colour.Pixel.Rd | \name{Colour.Pixel}
\alias{Colour.Pixel}
\title{
COLOUR PIXEL
}
\description{
See Understanding Biplots.
}
|
e187d0c65b91ae3134a34b7acf462a5ae75e9918 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/phylosim/examples/getName.Event.Rd.R | 37df9508696c293440cc0f275036990978db43e4 | [] | 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 | 291 | r | getName.Event.Rd.R | library(phylosim)
### Name: getName.Event
### Title: Get the name of an Event object
### Aliases: getName.Event Event.getName getName,Event-method
### ** Examples
# create an Event object
e<-Event(name="MyEvent")
# get event name
getName(e)
# get name via virtual field
e$name
|
39176000b5684e75b125a8708a8554cc33fb0abf | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/GtkUIManager.Rd | a7b9f9818e92ae116eb137288373908a95f55b98 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 13,572 | rd | GtkUIManager.Rd | \alias{GtkUIManager}
\alias{gtkUIManager}
\alias{GtkUIManagerItemType}
\name{GtkUIManager}
\title{GtkUIManager}
\description{Constructing menus and toolbars from an XML description}
\section{Methods and Functions}{
\code{\link{gtkUIManagerNew}()}\cr
\code{\link{gtkUIManagerSetAddTearoffs}(object, add.tearoffs)}\cr
\cod... |
2cad50d54775675a329fe52880ee6fee0e31ce5b | 401d48b917525346b9b4320607ebb4a7df373d8a | /man/Maintenance_metabolism.Rd | 2cac8d98d3374d8e0fc886be9c9e794d012eeade | [] | no_license | CamiloCarneiro/eneRgetics | 0f7822f027320dbf2c04eb046d1a4e3d00062c3e | 0910832fd62330dbc11022b3206c19c1670d6158 | refs/heads/master | 2023-04-27T11:37:20.387666 | 2023-04-14T07:33:55 | 2023-04-14T07:33:55 | 202,355,162 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 410 | rd | Maintenance_metabolism.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Maintenance_metabolism.R
\docType{data}
\name{Maintenance_metabolism}
\alias{Maintenance_metabolism}
\title{Example of Maintenence metabolism output}
\format{A data frame with 192 rows and 17 variables}
\usage{
data(Maintenance_metabo... |
85a9581cbe0a1b414318772819a9a90c45452b8a | e779c8abbc066e633b328371ff6f76f68f0c4b35 | /1.1 load month data and create year data.R | 32282ca4b4ec9f2c1bd1289a61e2c066c802ab01 | [] | no_license | richarddeng88/citibike | 285b509ec36987efc8ef5826d3b080b5d0ddb02a | a366ed17347866e569e7f7ed910d0c6729aec1c6 | refs/heads/master | 2021-07-23T22:14:11.975650 | 2016-10-06T20:59:22 | 2016-10-06T20:59:22 | 58,492,168 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,963 | r | 1.1 load month data and create year data.R | # 2013 ###########################
c7 <- read.csv("c:/Users/Richard/Desktop/citibike/201307-citibike-tripdata.csv")
c8 <- read.csv("c:/Users/Richard/Desktop/citibike/201308-citibike-tripdata.csv")
c9 <- read.csv("c:/Users/Richard/Desktop/citibike/201309-citibike-tripdata.csv")
c10 <- rea... |
a7467fad32b17a43f9804beb2fb9c11c796c7673 | 10f93e9a5583959405966c5a9076596278e0dd55 | /NY_Saratoga/combine_races_withfunction.R | 72b02a0e0f9e1b57e6ff9a39debb034b9f9594d1 | [
"MIT"
] | permissive | amkessler/openelections_work | 9dc089c5802874fce34aeb69434e4888b7c7fc15 | 8054b196eb6b1a6b134942658ae9968cef4886c2 | refs/heads/main | 2023-03-26T16:59:37.838848 | 2021-03-25T00:52:52 | 2021-03-25T00:52:52 | 322,394,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,178 | r | combine_races_withfunction.R | library(tidyverse)
library(janitor)
library(readxl)
# library(arrow) #for exporting feather files
#source processing function
source("process_ny_data_functions.R")
## PROCESS DATA FILES ####
#create county name variable and Excel file name string for use below
target_county <- "Saratoga"
filest... |
370845d6e1d5a42f46a6c80832bec6cad3d6e2c4 | c02d5a4f35041397163c57adb535e2f4b210c139 | /VIIRS_open.R | 226f9d240b0c7c9b5b43f3c4f53018999b6e218b | [] | no_license | solrepresa/VIIRS | 70915dd50b0bea7f7c22b91ff9b9b4baf4c8db73 | 834c388f74efae204eee66a26fc26083286b50ae | refs/heads/main | 2023-01-03T11:39:44.337505 | 2020-10-26T12:54:32 | 2020-10-26T12:54:32 | 306,706,820 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,740 | r | VIIRS_open.R | ## Sol Represa
# Objective: Open VIIRS - VNP46A1 product
# 23/10/2020 - La Plata, Argentina
library(gdalUtils)
library(raster)
library(rgdal)
#library(R.utils)
#library(maptools)
setwd("C:\\Users\\solre\\Desktop\\S5P")
filename = "C:\\Users\\solre\\Desktop\\S5P\\VNP46A1.A2020285.h12v12.001.2020286073... |
0b25c8e95765842601b08b718709add59376248c | 6dbc7d2df79a031c0d7877cd7d43652a6585a1b5 | /ComparisionOperator.R | 47cce6b5d959f49a748e07aaeb3cabd50a18a4cb | [] | no_license | RamrajSekar/Rfundamentals | bacaa236c19d75afaa00bddad291c40598fb0724 | b966ab9a1b11f38e175a19148f8d61074161d942 | refs/heads/master | 2021-01-21T10:25:27.096869 | 2017-05-19T07:36:58 | 2017-05-19T07:36:58 | 91,687,611 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 491 | r | ComparisionOperator.R | #Comparision operator
# The linkedin and facebook vectors
linkedin <- c(16, 9, 13, 5, 2, 17, 14)
facebook <- c(17, 7, 5, 16, 8, 13, 14)
#Find On which days did the number of LinkedIn profile views exceed 15?
linkedin >= 15
# Quiet days
linkedin <= 5
# LinkedIn more popular than Facebook
linkedin > facebook
views... |
fb352ac823e4b9cf10858525b92617ef34ed53e1 | 7caf7270e6791ecff62b417e361392e8ed48dd4c | /man/get_common_columns.Rd | 94e1960869fb8c8e3d63245bd71d386646a618ae | [] | no_license | cran/actuaryr | afb6a180b5fa2fb3020149af1420342caaae3c23 | 5d91d8a105368711dfe11968289f77d0aa6dde25 | refs/heads/master | 2021-02-27T11:09:43.320494 | 2020-04-13T07:40:02 | 2020-04-13T07:40:02 | 245,601,344 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 418 | rd | get_common_columns.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{get_common_columns}
\alias{get_common_columns}
\title{Get common columns across two tables}
\usage{
get_common_columns(tables)
}
\arguments{
\item{tables}{a list with two elements: x and y}
}
\value{
a list with two ... |
0341910182ce6f195b3f52bb46f6e71bf3ab94dd | 8caeff2957ae777eabbb17e92ac49a5f51f1937c | /Nick_Mahrley_9:25:18.R | 5745556fb914eec769067207d6162d25507f274a | [] | no_license | ayusharora99/2018_Umpires | fbe382e7c3d1b6fbafeb2503cb9a9bffc26103db | ea344d33ad55e732a22c33ab155842834ded4422 | refs/heads/master | 2020-04-23T18:22:49.316852 | 2019-03-04T00:43:47 | 2019-03-04T00:43:47 | 171,364,791 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,027 | r | Nick_Mahrley_9:25:18.R | # 9/25/18 : Giants vs Padres : Nick Mahrley
# 167 pitches were called strikes/balls
# The robot-ump called 45 of those pitches as called strikes & 123 as balls
# Nick Mahrley called 62 of those pitches as called strikes & 105 as balls
# Accuracy: 90%
# File --> Import Dataset --> From text (base) (YES TO HEADER) ... |
e03121b96784b3a8a0b07262d0e085828349636c | 486deb2a88424a9dd6e4761af999263a6fa316b8 | /man/sim.crw.3d.Rd | 8e024d2a1820e4151b5af8afe8bd49fbeac7d8de | [] | no_license | cran/eRTG3D | 4ba5c89aba6d9f2a2500b6514de7a8fd157b7561 | 785c339e125caad743cc40502d58bfe15d53d24c | refs/heads/master | 2022-03-24T18:26:26.296102 | 2022-02-25T11:10:05 | 2022-02-25T11:10:05 | 209,614,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 795 | rd | sim.crw.3d.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testing3D.R
\name{sim.crw.3d}
\alias{sim.crw.3d}
\title{Simulation of a three dimensional Correlated Random Walk}
\usage{
sim.crw.3d(nStep, rTurn, rLift, meanStep, start = c(0, 0, 0))
}
\arguments{
\item{nStep}{the number of steps of the simu... |
f365fd71d211f51224d9077f4a228d7d29cdcbc2 | 9997881b10ba673c429aec141ace3176bae0ba86 | /man/theme_efdc.Rd | 4ded2d2b9cbf97337d028765a68e94f358c21d79 | [] | no_license | fankk18/efdcr | bd1fda050faeaa088ad7cfb00aabff693c1cf747 | 589d92f4d0a56be527776ff8a14d268e278501e3 | refs/heads/master | 2020-08-11T02:51:15.369600 | 2019-03-05T02:47:50 | 2019-03-05T02:47:50 | 214,476,489 | 1 | 0 | null | 2019-10-11T15:57:24 | 2019-10-11T15:57:23 | null | UTF-8 | R | false | true | 520 | rd | theme_efdc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/theme_efdc.R
\name{theme_efdc}
\alias{theme_efdc}
\title{The theme of the model plot}
\usage{
theme_efdc(base_size = 11, base_family = "",
base_line_size = base_size/22, base_rect_size = base_size/22)
}
\arguments{
\item{base_size}{Base fon... |
e7d8d1d53c03ee57888f794a988767e8fba8a334 | aa394b8ebb6e1abb4f869791a5de1caf797c4739 | /great_circle_tax_migration_long_lat.R | c51be260a0b43da474e33d363e22136aae03f854 | [] | no_license | chris-english/R_GIS | d391b358ad0d0b1787ab78135e9132bae80b4ad2 | d07e6d583284c9cbb65ec35678c59969608897f9 | refs/heads/master | 2021-01-23T08:56:16.901397 | 2012-08-22T23:51:02 | 2012-08-22T23:51:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,443 | r | great_circle_tax_migration_long_lat.R | ## Great Circles Tax Migration Long Lat
## to match logic with Nathan Yau, FlowingData
## http://flowingdata.com/2011/05/11/how-to-map-connections-with-great-circles/
library(maps)
library(geosphere)
## POSTGIS 2.0 Notes on preparing the centroids for use in R.
## map data from http://www.census.gov/geo/www/cob/co... |
53d8e73314c54732a1e30659026dee7b3902015d | 6618b20129735112fef493bdd8c497152fdb8805 | /ggplot.R | 77c30cba781e100025ba4f94a282fb93ee3013a9 | [] | no_license | Karan5161/R | 6a859185bb0c7540dbadd678038ed497c76e6892 | b52f534ad1863f68bc829a97f51052c68baf02c8 | refs/heads/main | 2023-05-13T13:24:52.030046 | 2021-06-09T04:58:26 | 2021-06-09T04:58:26 | 354,505,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,419 | r | ggplot.R | library(ggplot2)
data(mpg)
view(mpg)
# plain canvas
ggplot()
# with axis
ggplot(mpg, aes(x = displ, y = hwy))
# with values using geom_point
ggplot(mpg, aes(x = displ, y = hwy)) + geom_point()
ggplot(mpg, aes(displ, hwy)) + geom_point()
ggplot(mpg, aes(displ, cty, colour = class)) +
geom_point(... |
76bcddc225983bb9fed8ee909c1da46b0aeef679 | c07d6d6f4778f026dc06aa81490955df662577a1 | /Custom_scripts/getBamStatSummary.R | c9ae01967a6b7b68bb7c0f75c107146f2eb060f7 | [
"MIT"
] | permissive | daewoooo/ApeInversion_paper | 7b61085d579abf9958b017279561933cb40b4b49 | 321701aa97b53ad66ec46ad6dc2338af9eacbd49 | refs/heads/master | 2020-07-12T08:31:28.340629 | 2020-03-05T16:54:10 | 2020-03-05T16:54:10 | 204,766,896 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,513 | r | getBamStatSummary.R | ## Load required libraries ##
#############################
suppressPackageStartupMessages( library(primatR) )
suppressPackageStartupMessages( library(Biostrings) )
suppressPackageStartupMessages( library(BSgenome.Hsapiens.UCSC.hg38) )
suppressPackageStartupMessages( library(BSgenome.Hsapiens.UCSC.hg38.masked) )
## Ge... |
ffdc99cb062621dfd5a391633cf1c3618600989c | e1c388af0d6464a60848d46e3379c1ce24deb7e3 | /R/flow.r | 6282bbefbed0b946b36ce4153a2d3e5470d68123 | [] | no_license | mengeln/PHAB-metrics | 485886dbf0591be17f6050f0ea3e0a2d5cb3e9e6 | 6387e32611cc9eecb53ef4a5e9dbab79f83eb0bd | refs/heads/master | 2021-03-12T23:55:50.680066 | 2013-02-06T21:28:19 | 2013-02-06T21:28:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,378 | r | flow.r | ###Read in requested observations
setwd("L:/Bioassessment Data Management Tools_RM/R Scripts")
rowinput <- read.csv("input.csv", header=T)
options(useFancyQuotes = F)
rowinput$StationCode <- sQuote(rowinput$StationCode)
SC <- paste(rowinput$StationCode, collapse="")
SC <- gsub("''", "', '", SC)
###Construct Query
sele... |
d88058d6ad5b1c54acf5feb8e492c217c8c1167b | 431f33c4b361ce49f70505f3bc923162eb92a062 | /man/PlotGMPair.Rd | effadc605a876e9a7db16696a8d2b43220d6d4f8 | [] | no_license | Mathelab/IntLIM | 17559cdef93768831f6fe45d88783bda02d6017a | 17c3229139d02de2ded783221323c988222beed3 | refs/heads/master | 2022-07-31T03:37:56.881904 | 2022-07-06T11:04:23 | 2022-07-06T11:04:23 | 99,143,369 | 5 | 7 | null | 2018-09-05T21:27:30 | 2017-08-02T17:23:01 | R | UTF-8 | R | false | true | 1,141 | rd | PlotGMPair.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plottingfunctions.R
\name{PlotGMPair}
\alias{PlotGMPair}
\title{scatter plot of gene-metabolite pairs (based on user selection)}
\usage{
PlotGMPair(inputData, stype = NULL, geneName, metabName,
palette = "Set1", viewer = T)
}
\arguments{
\i... |
8c6cb7aafadabd8464116cc159da7b87cc0d0b48 | 5080eedfec76d435dd5075f29d62bc8adeabb376 | /R/util_stan.R | 4c65631a48c2c866b3411f8668f0ff5865230b71 | [] | no_license | smthzch/NCAAMB2019 | d85cdd5f3ffb62c5c76979ac8d37303c4abebd2e | f237bb794d81670399e9f9b4ac166e5637083811 | refs/heads/master | 2022-12-12T21:50:24.926532 | 2022-12-07T15:57:33 | 2022-12-07T15:57:33 | 178,485,254 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,057 | r | util_stan.R | get_posterior.pois <- function(p){
ofmu <- colMeans(p$of)
ofsd <- sapply(1:length(teams), function(i) sd(p$of[,i]))
dfmu <- colMeans(p$df)
dfsd <- sapply(1:length(teams), function(i) sd(p$df[,i]))
list(ofmu=ofmu,
ofsd=ofsd,
dfmu=dfmu,
dfsd=dfsd)
}
get_posterior.norm <- function(p){
ofm... |
da5ff4cf72a743ef6716843b5ddf58c62398b5b4 | 257816425c6e4193814e16970b6b96a47e62af67 | /man/plot_roc.Rd | 6def71450c52faa33a48437271236cc03bba2d96 | [
"Apache-2.0"
] | permissive | mmadsen/mmadsenr | 5e108fda68431f202e11c783cb0cec44450aba89 | 1a7ac5431d87628a32fee0453a7d2a289dd5975b | refs/heads/master | 2020-05-09T22:02:37.080170 | 2015-01-03T18:28:36 | 2015-01-03T18:28:36 | 19,648,056 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 335 | rd | plot_roc.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{plot_roc}
\alias{plot_roc}
\title{plot_roc}
\usage{
plot_roc(roc_obj)
}
\arguments{
\item{list}{Output object from calculate_roc_binary_classifier()}
}
\description{
Plots a single ROC curve with diagonal abline, given output objects from calculate_roc_binary_c... |
3e3fba08e19d424009882c9da6e52a81ad2c88c3 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.compute/man/ec2_export_client_vpn_client_certificate_revocation_list.Rd | f6c8f676bd31651435463ffbe19adf9161d603fb | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,045 | rd | ec2_export_client_vpn_client_certificate_revocation_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ec2_operations.R
\name{ec2_export_client_vpn_client_certificate_revocation_list}
\alias{ec2_export_client_vpn_client_certificate_revocation_list}
\title{Downloads the client certificate revocation list for the specified
Client VPN endpoint}
\... |
f040f6beb709e10b0c07a0a9fc001dab946a67b2 | 50ed41c278c75f4cc3d047e4c4514d2f72b83c2b | /FullScript.R | c18e41bcb9ab0d13933d9d1f94cf58569c54db69 | [] | no_license | DylanDriessen/TextMining-Clustering | afe513a1b4f35b50d9cc97f077306e8f9d07b735 | 2a8a576baa58c0f7fbd39cffd73aa20c64a36625 | refs/heads/master | 2020-04-02T02:18:30.921307 | 2019-04-11T09:42:13 | 2019-04-11T09:42:13 | 180,760,403 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,818 | r | FullScript.R | library('readr')
library(parallel)
library(tm)
library(tidytext)
#Cleaning Data
utf8Data <-read.table("Alfresco_EN_PDF__Persons_cln.utf8",
sep=",",
header=TRUE,
encoding="UTF-8",
stringsAsFactors=FALSE
)
dtm.rda <- load(file = "dt... |
b8022f6c95ed71645640e3f0f882b6dae8f0d183 | b21f69120f18d19199dcdf981afc618d7d30aa8b | /R/individuals.R | 5d8374ae6e0482c978612668f0deed5105474520 | [
"MIT"
] | permissive | mrc-ide/hypatia | 5a5c49511331261b447b4b6d74211a0a2bfa4a07 | 14f8ee8ea109817f3dd3780ad799ac120b09b513 | refs/heads/main | 2023-02-01T01:05:36.576426 | 2020-12-16T16:23:47 | 2020-12-16T16:23:47 | 307,647,565 | 0 | 0 | NOASSERTION | 2020-12-16T16:32:24 | 2020-10-27T09:25:47 | R | UTF-8 | R | false | false | 449 | r | individuals.R | #' @title Define the human model
#' @description Declares the human individual and assigns the
#' relevant states and variables
#'
#' @noRd
#' @param states available states to assign
#' @param variables available variables to assign
#' @param events available events to assign
create_human <- function(states, variables... |
a5a2db9ff12bcde48fb06c9e6e3b5c86e1402fc8 | a9598d520c5c103e2505565b09487655a9b60e0d | /app.R | d95fcf78d0dd2eeacab6dfebccc785204a7bfd75 | [] | no_license | BillmanH/SCHonorsIPS | b624a7564431b98fdade1e1011bb6edb19f4edeb | 8c3dcbcd96e696657f9bb994b15e1d8da4cc715b | refs/heads/master | 2020-04-23T17:30:58.937397 | 2019-02-18T18:35:00 | 2019-02-18T18:35:00 | 171,334,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,110 | r | app.R | # TODO:
# Center images
# Match font
#
#
#
#
#
library(shiny)
library(dplyr)
d <- read.csv("data/gradeTable.csv",header = FALSE)
colnames(d) <- c("Grade","Percent")
ui <- fluidPage(
includeHTML("GoogleAnalytics.html"),
img(src = "SC Centercourt final CMYK.jpg", height = 72, width = 72),
h1("Shorecrest Ho... |
e74a8a591768446e13a36c659602c51e0f26b0cf | 785264b5af06dfe69e44abd1c147420e240c4ab0 | /R/translations.R | 12eb886f06cb7ceba1ca884a66d67cdbfe2f0aa1 | [] | no_license | yash1223/limiting_advr | 28665c1725ff56949a494f01bc939ae414274874 | 9747628413129c6fcae2ce3c7a27b4bbab8cf8d1 | refs/heads/master | 2020-04-10T23:02:26.147757 | 2018-12-11T14:12:53 | 2018-12-11T14:12:53 | 161,339,910 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,486 | r | translations.R |
getall <- function(r,p,q){
x1 <- r*p*q/(1-q + r*q)
x2 <- p-x1
x3 <- q - x1
x4 <- 1- x1-x2-x3
return(cbind(x1,x2,x3,x4))
}
fromxtopqr <- function(x){
p <- x[1]+x[2]
q <- x[1]+x[3]
r <- x[1]/(x[1]+x[2]) / (x[3]/(x[3]+x[4]))
return(c(p,q,r))
}
GetRatio <- function(luup, lup, cpr, demand){
alllimit... |
3bcdd96262a698bf640f4de259eeee25cd7ab14a | b521dd730b68f6839f3508a440f2116bf64a05b3 | /lab2/Lab 1/marks.R | 52ee666e1c45a731689898f37254a72d988ddf11 | [] | no_license | Cryptonex7/Data-Analytics-in-R | e02cdbe6c43bc9a67f52e426b7ba2190b35a5ac4 | bd184580971c9e1f5d9b2fcf70780f1f47509bc5 | refs/heads/master | 2020-09-29T12:17:06.437357 | 2020-02-17T04:35:42 | 2020-02-17T04:35:42 | 227,037,503 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 343 | r | marks.R | M = c(0,0,0,0,0)
M[1] = as.integer(readline("Enter M1: "))
M[2] = as.integer(readline("Enter M2: "))
M[3] = as.integer(readline("Enter M3: "))
M[4] = as.integer(readline("Enter M4: "))
M[5] = as.integer(readline("Enter M5: "))
cat("Average: ", (M[5] + M[1] + M[2] + M[3] + M[4])/5)
cat("Percentage: ", (M[5] + M[1] + M[... |
2fe1d80e4d945dcfe88e4de4a6316e8c5f102563 | 1139519d1534d401b01aabbb585ee909ba8707ef | /mainProject.R | cf97a28ba6c0f2343745f769e4bf91952eb52bfa | [] | no_license | 01bui/Career_Path_Project_R | a6271207aadfaaacb613844989bd8638d076259e | 8706a73e1f4678d6e033d32d247094a76268bbdf | refs/heads/master | 2016-09-01T16:43:48.737684 | 2015-12-27T01:37:10 | 2015-12-27T01:37:10 | 48,628,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,879 | r | mainProject.R | # Read datasets into R
Datasets<-read.csv("C:/Users/vbui/Google Drive/CUA Fall 2014/CSC530/Project1/ss10pmd1.csv")
# Extract the data into subset included People with College and Highschool degree
WCollege<-subset(Datasets, Datasets$SCHL>=21 & Datasets$WAGP > 0)
HighSchool<-subset(Datasets, Datasets$SCHL==16 & Datasets... |
203d65f0c0e2df237553ea8ac885d23a2c6fecb2 | e714ccf5e7f2ed5e72033cfbf6b563df1f767e73 | /R/quietcat.R | a21bae12facdac0b9e2f6bc6de9331d8c5710d60 | [] | no_license | jonkatz2/monitoR | 666fc2664ea450953fc4c17c2909a4cc652765ec | e38d34308a588541e4df19038c28441de3f1c0a5 | refs/heads/master | 2022-09-09T14:20:15.703095 | 2018-02-14T09:54:14 | 2018-02-14T09:54:14 | 117,285,036 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 72 | r | quietcat.R | # An empty function to allow quiet mode
quietcat <- function(...) NULL
|
fa9cb3ab3091c396c3354596947e60bf1f46219c | 6bc756162a2c9dbc41e5c497bbdebbc95f9f2074 | /R/mulOptPars.R | 27cb75f1f9d4f5fb1c0b584eab906de5f6de7e7e | [] | no_license | cisella/Mulcom | 0be6d52fb89c8417bcdf773a0de2950152454323 | 6e9b6a3a4d3087952c994c9d3e7d42a53c596706 | refs/heads/master | 2020-05-30T06:34:05.135802 | 2019-04-24T10:36:16 | 2019-04-24T10:36:16 | 21,429,531 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,689 | r | mulOptPars.R | mulOptPars <-
function (opt, ind, ths){
if(is.list(opt) & is.vector(ind) & is.vector(ths)){
coo <- c("NA", "NA")
fdr <- opt$FDR[, , ind]
sg <- opt$sg[, , ind]
if (length(which(fdr < ths)) == 0) {
print("No significant genes with chosen threshold")
return(coo <- vector())
... |
1d6517afef7503ce7d35e60c67e5c59a1f74f51d | 3ae472e976bc6043cde771271978a1c1273000f8 | /map.R | 98eea3a9a9217795cf231db8d6c534dc71e62964 | [] | no_license | WillHNicholl/LTLA_Covid_Map | c09b0b84456b559cd3805c94e40bda141fdd293b | 4565a0daf03ebbd38dcbee378921673c89e26e06 | refs/heads/main | 2023-02-22T10:07:15.552320 | 2021-01-24T11:17:13 | 2021-01-24T11:17:13 | 331,638,203 | 0 | 0 | null | 2021-01-21T13:38:17 | 2021-01-21T13:34:33 | R | UTF-8 | R | false | false | 4,934 | r | map.R | library(sp)
library(tidyverse)
library(broom)
library(ggfortify)
library(lubridate)
library(maptools)
library(gganimate)
library(rmapshaper)
covid_age <- read_csv("ltla_2021-01-14.csv")
covid_age <- covid_age %>%
filter(areaType == "ltla")
ltlas <- factor(covid_age$areaName)
blank_dates <- expand.grid(date = se... |
49da271d28bf9fa5afcc5ae177f079df4852cf9a | ebb314b086f96245ee9e776b8301b261bae78e70 | /R/model-tobit.R | d279142c19bae73360172f73797fa88c494acfc8 | [] | no_license | mbsabath/Zelig | 65e153648ff89790e758b104ffb0de5c1e376c29 | c90d171f11fde4042710353883f2ccb6e16e471e | refs/heads/master | 2021-01-25T04:21:44.942660 | 2017-06-06T20:33:24 | 2017-06-06T20:33:24 | 93,430,501 | 0 | 1 | null | 2017-07-12T15:14:34 | 2017-06-05T17:39:14 | R | UTF-8 | R | false | false | 3,475 | r | model-tobit.R | #' Linear Regression for a Left-Censored Dependent Variable
#'
#' Vignette: \url{http://docs.zeligproject.org/articles/zelig_tobit.html}
#' @import methods
#' @export Zelig-tobit
#' @exportClass Zelig-tobit
#'
#' @include model-zelig.R
ztobit <- setRefClass("Zelig-tobit",
contains = "Zelig",
... |
f16cbd3571c2100e8fd24fbc6eb3cb449d9e3747 | a04fc9475bef432808783656e745d9cc8d8f4806 | /cachematrix.R | 94c901388dbb6ba3552573ed4aa643040dc9cff1 | [] | no_license | FathyEltanany/ProgrammingAssignment2 | 5ec7c2f21a94220a690f5813b8487a99efe998c2 | 8cdc8d68cb247f2957f1dc07ec24465513c86238 | refs/heads/master | 2021-01-18T16:18:40.512462 | 2017-03-30T18:35:06 | 2017-03-30T18:35:06 | 86,733,659 | 0 | 0 | null | 2017-03-30T18:09:01 | 2017-03-30T18:09:00 | null | UTF-8 | R | false | false | 778 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
inverse<-NULL
set<-function(y){
x<-y
inverse<-NULL
}
get<-function()x
setInverse<-function(inv)inverse<-inv
... |
15a076b7cd1a24950551383d019338cd74a1fb71 | 27f42cb2f7935016ca9b0e5637aebd272e792d2a | /R/nauf_trms_fr_x_z.R | 94e1933eb63bc423882ce2d248a18b8d0e7a832f | [] | no_license | runehaubo/nauf | 7f6ebc72d0718824a3ca1fd557c91197ee7f60e7 | af3a9adddcfcd123c91c1af86987f1907f69dc32 | refs/heads/master | 2020-03-06T16:55:18.158706 | 2017-10-05T02:32:28 | 2017-10-05T02:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 58,001 | r | nauf_trms_fr_x_z.R |
#' Not applicable unordered factor contrasts.
#'
#' The \code{nauf_contrasts} function returns a list of contrasts applied to
#' factors in an object created using a function in the \code{nauf} package.
#' See 'Details'.
#'
#' In the \code{nauf} package, \code{NA} values are used to encode when an
#' unordered factor... |
40f30e3817f7e745aa6bfddd9551ed321a6b9a25 | 781c4b3a0c4ba06fe73c7377a76724649e38221d | /data-raw/TKit_20160822/TKit_fit_lin_mod2.R | aa17bee1a5fda8728b0542b9fd0d2ec55537ce55 | [
"MIT"
] | permissive | andrewdolman/ecostattoolkit | 44b6d4d1e4bbec85f5d7323ea4355064bd48c8ab | 874c86eadeba04dedd3ed0f2e8754694176f6eab | refs/heads/master | 2021-01-20T12:11:06.099136 | 2017-05-31T19:31:56 | 2017-05-31T19:31:56 | 74,139,489 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 18,324 | r | TKit_fit_lin_mod2.R | #Description: Example script to fit linear models to data of sevoral categories
#Exploratory version
#Geoff Phillips
#Date:10 Aug 2016
#File name for script: TKit_fit_lin_mod2.R
rm(list= ls()) # Clear data
#################################################################################
# Step 1 get the ... |
91fa7c55840293d0195230dc6ba2251d8b475603 | 51c7de80d27ea5cd20b83ac0933f5cc7f735a5a3 | /man/summary.scidb.Rd | 03f85fa945a0c8ae09a705d352ab2073aea51c20 | [] | no_license | anukat2015/SciDBR | 3fc5532ae3228260aa9271c9ead6bf83ebde7e8d | c37f064114677b8df34a940529e2aef462f9db80 | refs/heads/master | 2021-01-13T10:07:05.598340 | 2016-01-12T15:37:31 | 2016-01-12T15:37:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 304 | rd | summary.scidb.Rd | \name{summary.scidb}
\alias{summary.scidb}
\title{
Summarize scidb object class.
}
\description{
Summarize scidb object class. This is not a really useful function yet.
}
\usage{
\method{summary}{scidb}(x)
}
\arguments{
\item{x}{ a scidb array object.
}
}
\author{
B. W. Lewis <blewis@paradigm4.com>
}
|
aa6666e1d0e23e2c8c16d24d22857f87f9dfa90f | cf8d4b322f4502ba41b1f2462e3282760538446c | /Plot2.R | 11a56677ecc0acf557d7660d4d7a075fb5b5d0e6 | [] | no_license | tkon22/ExData_Plotting1 | 094e8b9bed58356fa9f01f6862586717ac333913 | 4b17a0224f95dd07b4e035d0d0a08f5d61843c70 | refs/heads/master | 2021-04-06T19:37:44.567209 | 2018-03-11T06:20:52 | 2018-03-11T06:20:52 | 124,721,459 | 0 | 0 | null | 2018-03-11T03:57:55 | 2018-03-11T03:57:55 | null | UTF-8 | R | false | false | 552 | r | Plot2.R | hhpower <- {
hpower <- "household_power_consumption.txt"
hpdata <- read.table(hpower, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
hhpsubSetData <- data[hpdata$Date %in% c("1/2/2007","2/2/2007") ,]
}
#hhstr(hhpsubSetData)
datetime <- strptime(paste(hhpsubSetData$Date, hhpsubSetData$Time, sep=" "), "%d/%... |
9aa780d300b4b6aee1cc2b7d1ea4d63082dd7c16 | 68d2ba3f519597e2146f71080712c78d9f34647f | /man/sliderInput.Rd | 79b4ae16c04aa1c232ba79a7c78e8d8a79a43a51 | [
"MIT"
] | permissive | igemsoftware2020/ClusteRsy-Linkoping | 5f040e282dbd2b163cef7be3902060f271121081 | 7399466a2e11e27087ce531357708b983fb365ec | refs/heads/master | 2023-01-02T13:03:44.125587 | 2020-10-27T22:29:01 | 2020-10-27T22:29:01 | 264,438,493 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 579 | rd | sliderInput.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/golem_utils_ui.R
\name{sliderInput}
\alias{sliderInput}
\title{Modified shiny sliderInput func}
\usage{
sliderInput(
inputId,
label,
min,
max,
value,
step = NULL,
round = FALSE,
format = NULL,
locale = NULL,
ticks = TRUE,
... |
a54cee1353aa20c9b0b8df2937796638ae5828cb | 9d3b58a64b35f4c209838ed35b2f90d520011c88 | /cachematrix.R | 8e98b87464d335cddd6ad5dc9fd790c69c1f30ad | [] | no_license | ADITYASSSIHL/ProgrammingAssignment2 | 99dae9848cf082d0b54fc1528223b10bfae8cc7d | d34b4e46bab8143ef4514c67ac2a01410ddf5f98 | refs/heads/master | 2022-11-13T06:41:32.752527 | 2020-07-05T07:09:12 | 2020-07-05T07:09:12 | 277,242,737 | 1 | 0 | null | 2020-07-05T06:14:50 | 2020-07-05T06:14:50 | null | UTF-8 | R | false | false | 1,831 | r | cachematrix.R | ## We aim to create two functions to obatain inverse of a given matrix (yeah only an inversable matrix)
##We create two function called makecacheMatirix which wil essentially get you the matrix and also provide the inverse of the matrix
## makeCachematrix is written with both single arrow assignment operators <- and ... |
269ef1c461354033fc8863bc36cdcb9082320448 | e2d7132217df7b0e6025e8de04803a94f6a4d7ef | /initial_explorations.R | 9e8fb77bd43702686d26af7bd091e348f9643caa | [] | no_license | apapiu/ShelterOutcomeKaggle | 21a9b0fc0e9152da9ae3992795b6f27aa55e89e0 | 2b4bdf3f5a70af99c47abb82929e80dda61e672d | refs/heads/master | 2020-05-30T14:46:21.506107 | 2016-09-19T21:51:37 | 2016-09-19T21:51:37 | 55,711,549 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,861 | r | initial_explorations.R | library(dplyr)
library(ggplot2)
library(lubridate)
library(ggthemes) # visualization
#initial explorations:
train <- read.csv("data/train.csv", stringsAsFactors = FALSE)
sapply(train, function(x){unique(x) %>% length()})
#AnimalID Name DateTime OutcomeType
#26729 6375 22918 ... |
26f4d90a2dff9b8fc5dec235a900935cae30b8fe | a664c1e43c37c208e725783a7d785b4c638e78c5 | /ScanStats/man/temporal.normalize.stats.Rd | a6c0866b5075a537d9ca81e6cbffc601a2c72011 | [] | no_license | adalisan/XDATA | f715b6588866cbf9b003512e827f811b42868fe9 | 8c6d21c97e057c211f25606a0c3524a24a968344 | refs/heads/master | 2020-04-10T07:38:20.374000 | 2013-09-16T23:58:32 | 2013-09-16T23:58:32 | 11,539,515 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 761 | rd | temporal.normalize.stats.Rd | \name{temporal.normalize.stats}
\alias{temporal.normalize.stats}
\title{Normalize the maximum scan statistics at each time interval using the statistics most recent el-length time window}
\usage{
temporal.normalize.stats(max.stats.list, el)
}
\arguments{
\item{stats.list}{a named vector that contains the
maximum ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.