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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d9ed8af4b3282ddb97373fe6c6943f89208eced | 8289fd6c2315dd84a2abc443e56c33eb09fd6346 | /Applied Econometrics/maxwell/replication/6_divorce_effect_by_age.R | bfd3f81f2ec59a2a6d0812398df813a402c38e86 | [] | no_license | elmerli/econometrics-essential | 826f9f2f3d2f46a1d1f3b262cf25fb0161b16025 | 45d6f8d0e21c9393a97312bdaf65d19f1c3a6024 | refs/heads/master | 2023-08-05T00:10:56.285099 | 2020-05-14T03:16:55 | 2020-05-14T03:16:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,653 | r | 6_divorce_effect_by_age.R | # 6_divorce_effect_by_age.R
# Maxwell Austensen
# AEM Replication
# NYU Wagner
# 19-12-2016
library(tidyverse)
library(haven)
library(stringr)
library(feather)
library(knitr)
library(broom)
library(sandwich)
sample3 <- read_feather(str_c(clean_, "sample3.feather"))
ols_full <- sample3 %>% mutate(olde... |
df89afdf58dd45a7bcff1d7072bdec865eaed928 | 2033f89ac391bf7a6c85ec9212e925c4561a6eaf | /R/packages/package_install.R | a70b2cfca653a6672e17fed7faf7c7adea3c8cef | [] | no_license | phileas-condemine/drees_indicateur_viz | d8ca4dca94eef18f1d6ce9c0fb744d578ef856b5 | d9d3576b9eabbfdb05ad0b05604d9e81b1817d63 | refs/heads/master | 2021-05-05T14:38:57.662873 | 2018-01-30T12:50:00 | 2018-01-30T12:50:00 | 118,493,370 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 437 | r | package_install.R | pkg_file <- read.csv("./drees_indicateur_viz/R/packages.csv", sep=";")
packages_list <- pkg_file[pkg_file$installed_by %in% c("custom", "notebook"),]$pkgname
for (pkg in packages_list){
# print(paste0("check: ",pkg))
if(!require(pkg,character.only = T)){
print(paste0("need to install: ",pkg))
install.packa... |
a8db15282ca1de07bbbaffa4bb7262e42219004e | 6bca977d67101a6274457ca850517ee41cf06c45 | /plot_functions/plot.overlaps.R | b3823816c162e6c1e742ab178d79d591509c1542 | [] | no_license | AAlhendi1707/preinvasive | bedcf1f1eca93ab9ae4b44bf32e4d0f9947a1fad | e683fa79ad76d0784437eba4b267fb165b7c9ae4 | refs/heads/master | 2022-01-06T18:25:52.919615 | 2019-01-18T09:39:42 | 2019-01-18T09:39:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,373 | r | plot.overlaps.R | # Plot prog vs reg comparisons alongside TCGA cancer vs control comparisons to show similarities
# Plot differentially methylated regions (DMRs) and copy number changes
# Use plot functions from the ggbio package
library(GenomicRanges)
library(ggbio)
data(ideoCyto, package = "biovizBase")
plot.overlaps <- function(fil... |
a378f67fbaeab59f721ee41abf1c484fc860bd3c | e5752d64b42ecf663e15e1e477380b1729f0de11 | /scripts/landTakeoff.R | 61e314590ba4e7b36bf9131647805a1fc54d9831 | [] | no_license | adarsh66/Planefinder_DataAnalysis | 11a9837f6b95c3fff821906b8ec9edd37b94f40c | 40d7248f27c642892693275df17e0ccb028c3086 | refs/heads/master | 2021-01-18T21:23:39.399324 | 2016-05-14T15:43:29 | 2016-05-14T15:43:29 | 53,488,822 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,335 | r | landTakeoff.R | # landing and takeoff
# planeMap
library(dplyr)
library(ggplot2)
library(lubridate)
theme_stripped <- theme(panel.background = element_blank(),
panel.grid = element_blank())
flights <- readRDS("data/assembled_flights.rds")
flights$time <- as.POSIXct(flights$mtime, origin = "1969-12-31 23:00:10... |
356318d55a23612535c1226430794008a4bf43ea | 5d4c8e0243a7b5f2cf42fd09b36ce54719ad9608 | /load_ngram.R | aec47755faff1560d9132a3efb9773e8bb1ef6f3 | [] | no_license | eakalak-suthampan/Coursera_Data_Science_Capstone | 8538a2d99523dde211b79d3315cae496b028d799 | 6f4b6c761638b3e276bac39595178b4dba157dd7 | refs/heads/master | 2021-01-20T06:43:02.127166 | 2017-12-13T18:26:01 | 2017-12-13T18:26:01 | 89,912,997 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,112 | r | load_ngram.R | library(data.table)
# load ngrams from the saved files
fourgram <- fread("alldata_fourgram_state.csv",sep = ",",header = FALSE,skip = 1,drop = 1)
names(fourgram) <- c("current_state","next_state","count")
trigram <- fread("alldata_trigram_state.csv",sep = ",",header = FALSE,skip = 1,drop = 1)
names(trigram) <- c("curr... |
543f64402f16a8fbb5f196511ab0c209be4ec894 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GLDEX/examples/fun.data.fit.mm.Rd.R | c73767d1bafedca0521777e7cf24d4fa95ee5d41 | [] | 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 | 273 | r | fun.data.fit.mm.Rd.R | library(GLDEX)
### Name: fun.data.fit.mm
### Title: Fit data using moment matching estimation for RS and FMKL GLD
### Aliases: fun.data.fit.mm
### ** Examples
## Fitting normal(3,2) distriution using the default setting
# junk<-rnorm(50,3,2)
# fun.data.fit.mm(junk)
|
e27eb8635c3a32eac7fca0a75b32bcdf5bb2a1e8 | b7bf81f0cb136a66d5cbdf1c4e95cf47f80d38e9 | /exercise-solutions/ch-8-solutions.R | bb404c1464bb02f84f88ea1d75af7fa203029916 | [] | no_license | ericlegoaec/advancing-into-analytics-book | efd2099d543973b93a51fea1066b84d49913f741 | 44af312267aa7f5e958209fc293eb7489a0b05a4 | refs/heads/main | 2023-02-24T11:37:10.483996 | 2021-01-24T18:13:25 | 2021-01-24T18:13:25 | 332,713,220 | 1 | 0 | null | 2021-01-25T10:42:34 | 2021-01-25T10:42:33 | null | UTF-8 | R | false | false | 1,687 | r | ch-8-solutions.R |
library(tidyverse)
library(readxl)
library(writexl)
census <- read_csv('../datasets/census/census.csv')
glimpse(census)
divisions <- read_csv('../datasets/census/census-divisions.csv')
glimpse(divisions)
# 0. Merge the datasets first
census <- left_join(census, divisions)
head(census)
# 1. Sort the data by region... |
192b0383f7628a0e09ec3c9c4bfd1bda62c9e54d | 5a92ef946366ce197b92d02f6225537e3acffdaa | /rankall.R | f59aeeb86348abe3ff01adc10d29083e367baa6c | [] | no_license | sauldnn/Hospital-Quality | b328d36671650cd9616be4d1c2d562c420568fb3 | faa58c01395f894fbe1c07278957c7b5e4a1b6c4 | refs/heads/master | 2023-03-06T01:07:00.537105 | 2021-02-26T02:50:35 | 2021-02-26T02:50:35 | 340,787,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,230 | r | rankall.R | rankall <-function(outname, num="best"){
#first capital letter and concatenate with a dot.
col_outname <- gsub("(^|[[:space:]])([[:alpha:]])", "\\1\\U\\2", perl=TRUE) %>%
gsub(" ", ".") %>%
paste("Hospital.30.Day.Death..Mortality..Rates.from", sep=".")
#check validation
X_full <-read.csv("outcome-o... |
549698a26f4ed26ffd19472cf48fd37b9fbf6195 | 881884790c4e409d9baa745598befe99b7389c99 | /man/rga3h.Rd | 0918eaf7d5adb8a8e24f76a1fea47ecd94791622 | [] | no_license | cran/regrap | 4386429e4a2a2907dc1bcffdfefb6d99eb9f9a5e | 999fa790c83dff352dda88803818b0ab08d0eb82 | refs/heads/master | 2022-11-16T21:08:51.343468 | 2020-07-03T10:00:06 | 2020-07-03T10:00:06 | 278,311,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 892 | rd | rga3h.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rfun_rga3h.R
\name{rga3h}
\alias{rga3h}
\title{reverse graphical approach for three hypotheses}
\usage{
rga3h(w, G, p, alpha)
}
\arguments{
\item{w}{a vector of initial weights}
\item{G}{a matrix of initial transaction weights}
\item{p}{a v... |
2cbd7c62995d106794160efed7900e8c1a877ba6 | d5889a013b8bca3992d9e34dcad1f59ad711e824 | /scripts/allPrinters-00-cache.R | 358bd5123a413c46f77468d44e60652d50d152be | [
"MIT"
] | permissive | cynthiahqy/dataset-pcmag | 5b88566df6be1ee57c3b2c13aef1374cdaf1e19a | 967af44d7332ae7ac2365bc833017433a8a2753c | refs/heads/master | 2020-03-12T08:33:27.402091 | 2019-04-11T07:33:56 | 2019-04-11T07:33:56 | 130,530,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,571 | r | allPrinters-00-cache.R | # Cache Dropbox/handtype_writtenReview.xlsx sheets to allPrinters/
# INITIALISE SESSION ----
library(tidyverse)
library(readxl)
library(here)
library(openxlsx)
library(stringr)
path2cache <- here("spreadsheets/cache/allPrinters/")
path2correct <- here("spreadsheets/cache/corrections/")
# READ & CACHE handtype-writte... |
4175d02ecc317347e2d633ca964d9ecbce4cb62d | 5b36d862498265ee820b5ec3da3e67129bd8dc0a | /_3_DataFrames/_3_10_DealingWithMissingData_DataFrame.R | d84213ad7e52c58751a110dfd6013459bf97f036 | [
"MIT"
] | permissive | Himanshu-rathee/R_DataCamp | 331a292cdc6c3678b9100f70f325a7a79aa561e8 | 7d2163d035f28eecc861067530b15f4ed38b4b76 | refs/heads/master | 2022-08-15T17:40:01.668116 | 2020-05-25T19:08:52 | 2020-05-25T19:08:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 420 | r | _3_10_DealingWithMissingData_DataFrame.R | c1 <- 1:10
c2 <- letters[1:10]
charDf <- data.frame(col.name.1 = c1, col.name.2 = c2)
# check missing data
print(is.na(mtcars))
# checking missing data as a whole (any)
print(any(is.na(mtcars)))
# checking missing data in a column (any)
print(any(is.na(mtcars$mpg)))
# replace NA with 0
charDf[is.na(charDf)] <- 0
... |
05d556d2b6dce44a1ceb45ccf4c075ba2e32b7fa | 8af0800ea15c6ff5ce1c30c1e8bc85102667b669 | /R/frm_mdmb_regression_density.R | 0d4cbe92d3446ed1e93b5de17b7f0640c4038843 | [] | no_license | alexanderrobitzsch/mdmb | 34f0be7820987888101162fd263097c4088ab674 | d31faef05736391bee1122c4a728a606d69d791c | refs/heads/master | 2023-03-06T09:58:19.344444 | 2023-03-01T10:23:41 | 2023-03-01T10:23:41 | 95,305,766 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,361 | r | frm_mdmb_regression_density.R | ## File Name: frm_mdmb_regression_density.R
## File Version: 0.419
frm_mdmb_regression_density <- function(model, y, design_matrix=NULL, case=NULL,
X=NULL, offset=NULL )
{
# pars <- coef(model)
pars <- mdmb_extract_coef(mod=model)
class_model <- class(model)
np <- length(pars)
beta <- pars[... |
d4c0a988d8255f27d32897d24b171e36bbbf0c57 | 54d16a72800b0da5796653350a73e6eb95016a65 | /R/downloadAutomatizado.R | 20d866dd54b6497e9210e3c8a4bc12bfd54bdd5e | [] | no_license | jairomr/PDFtoCSVforIMEA | edaea191366604621eb5aad2e6a4ff0a7c4d4791 | 03b2d0722608a534dbd9c889b0ecfd78a32bc2e8 | refs/heads/master | 2021-08-10T16:09:11.647916 | 2017-11-12T19:38:47 | 2017-11-12T19:38:47 | 110,460,219 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,030 | r | downloadAutomatizado.R |
getPDF<-function(file){
url<-paste('http://www.imea.com.br/upload/publicacoes/arquivos/',file,sep = '')
cat('Baixando ',file,'\n')
download.file(url,file)
cat('COMPLETO\n')
}
numeroDePagina<-function(categoria){
library("rjson")
json_file <-paste('http://www.imea.com.br/imea-site/relatorios-mercado-detalh... |
af19cab9ee3181b33fbab3bbb5215f2e4fb542b3 | 8e1002933c5e79a33bc1aff1d216696aa2f96e68 | /Connectivity_between_MPAs_Stephen.R | 06d3fe1ef7539ebcb297a432428a4bb4ec77cfd1 | [
"MIT"
] | permissive | Christopher-Blackford/ParticleTracking | 34432a0e58eb453c04c222d6d186200cef01f742 | 5e4917b88e6bdd87753bc8157244c2767c61a5e9 | refs/heads/master | 2020-03-13T02:25:58.543461 | 2020-01-13T20:36:30 | 2020-01-13T20:36:30 | 84,609,475 | 0 | 1 | null | 2017-03-15T18:50:50 | 2017-03-10T23:32:45 | R | UTF-8 | R | false | false | 18,763 | r | Connectivity_between_MPAs_Stephen.R | #############################################################################################################################
##############################################################################################################################
###Connectivity_between_MPA.R
#Code by: Christopher Blackford (chri... |
c4b2d5c4b21dc89c08c741001d2727e0451a977d | a2aee752d7fd804ded63cafb587a25d6911f0db8 | /R/TechnicalImport.R | b6993ebc5a87204b890506627b2bada8da916479 | [] | no_license | jeroenbrons/knmiR | e8ca0d3cf5130d464f9239847059a93c7b46ce32 | d1d9c9f3cdad6053455916a8fd1312130a8d42d5 | refs/heads/master | 2021-07-13T06:30:18.545480 | 2017-07-04T13:36:18 | 2017-07-04T13:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 636 | r | TechnicalImport.R | ReadZippedFile <- function(url, colNames) {
con <- gzcon(url(url))
raw <- textConnection(readLines(con))
close(con)
data <- read.table(raw, col.names = colNames)
close(raw)
return(data)
}
UpdateJsonTable <- function(jsonTable) {
depth <- lat <- lon <- mag <- NULL
tmp <- as.data.table(jsonTable) # nolin... |
ba396008c69fd20fd4db0d77a3a76d9e1c389d3b | 25d51bcc43ac49df9e9cca32ae46dd94350cb466 | /plot5.R | cc625d9757aa7cb9848f2388f34847d8985ed4c1 | [] | no_license | perplexedpigmy/ExData_Plotting2 | b2f0d4a5399ef86d4ca26a9b8ea3b32d1257bda6 | 155d47bd68d293e739ffdc164f79871c4e6cc284 | refs/heads/master | 2016-09-03T01:24:52.883666 | 2014-12-22T09:37:23 | 2014-12-22T09:37:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 839 | r | plot5.R | # Exploratory Data Analysis
# Proejct 2. Question 5
# How have emissions from motor vehicle sources
# changed from 1999–2008 in Baltimore City?
# Include utilities to retrieve external data sources
source('common.R')
getFile("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip",
"data",
... |
3170af15801cf9aa057a0f8b1ea013e988bdcec2 | 744b8bce376eac9284ce8673fb3b0b349c074e33 | /viz/viz_model_results.R | 34731fec05b05f3b457ac44ea22ae4a12225bea0 | [] | no_license | njhenry/thesis_nmr_joint_model | 27b9021a195d7269528ff2a348a09b0f59a8b04b | 60ce24b7fea1c4205adac097d96b7e35cee84bc6 | refs/heads/main | 2023-08-20T06:28:46.071780 | 2021-11-02T04:42:28 | 2021-11-02T04:42:28 | 423,705,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,572 | r | viz_model_results.R | ## #######################################################################################
##
## VISUALIZE MEXICO MODEL RESULTS
##
## AUTHOR: Nat Henry, github: njhenry
## CREATED: 19 August 2021
## PURPOSE: Vizualize raw data as well as model results
##
## ##############################################################... |
dab366c9abc58219cd9b68e0b7e5cbfd61b7681e | 946d4938a7edb2279cc2edaaea6d1ab865113b43 | /src/add_overall_prediction_to_dataset.R | 119346a23ac61a196e4bf639ce6d9b156f28fb03 | [] | no_license | AlbertoParravicini/DM-Project | 3fa88ad10895bd8bb72a27158cbad53f22b9b8fc | 8479eb1b9be4479cb95c6eb88a744f918d7576e5 | refs/heads/master | 2020-07-24T08:18:15.556269 | 2016-07-07T11:44:01 | 2016-07-07T11:44:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,969 | r | add_overall_prediction_to_dataset.R | library(xts)
library(ggplot2)
library(dplyr)
library(tseries)
library(PerformanceAnalytics)
library(forecast)
library(astsa)
library(Metrics)
library(ggthemes) # visualization
prediction_length = 10
# DATA IMPORT AND CLEANING
# ------------------------------------------------------
# -------------------------------... |
f06de6d6171b1d5ec3c705cdf433af6286501540 | 741efc2b2baa4949261fb2d36a87a96b0d7d726d | /build_data.R | 44a00df5f2e2c961fd746181243d4bc5c58859e3 | [] | no_license | mike-gusev/bordervis | 108b53714ff1e30a8b1d2c604360711dfaa18e23 | b7047c0f13dab3e79eb000949d17304d591cee98 | refs/heads/master | 2020-03-22T14:45:25.370704 | 2018-12-13T00:24:51 | 2018-12-13T00:24:51 | 140,203,055 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,286 | r | build_data.R | #building a complete usmx data set
#m.o.: import primary documents, select needed data, clean it, append to a growing dataset
library(tidyverse)
library(stringr)
library(stringi)
library(readxl)
load("data/us_region_helper.RData")
#land area first
#mx
load("data/mx_inafed_snim_population.RData")
mx_land_area_sqkm <- p... |
8474bdb50a4d3bd00b1207ab47657ec83cd92f4c | 8edf0521ebc0ca53ec618d6d220c47c851caaa71 | /man/SSbootstrap.Rd | 578d78cef4eefe083a9377aa660f318d1341dedc | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | amart/r4ss | 9b730038ee4c4b6d38aaabe81b6ad9fddf0eb4f3 | fbccbace9a70e846401d32577aeab9f25cb31ba5 | refs/heads/master | 2021-01-17T06:03:03.172272 | 2020-10-04T01:38:14 | 2020-10-04T01:38:14 | 24,735,775 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 705 | rd | SSbootstrap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SSbootstrap.R
\name{SSbootstrap}
\alias{SSbootstrap}
\title{Fit models to parametric bootstraps}
\usage{
SSbootstrap()
}
\description{
Run a series of models fit to parametric bootstrap data taken from
data.ss_new. This is not yet a generali... |
2fe6d77f93f91a3357d44d046682eb9ac24af953 | 6f63e85ca2b63cfe402dc7bedbd8c432ade7cbd6 | /app/app.R | a83741c5b350121c13ce7bf5fa95f4cf00fa369c | [] | no_license | rat-nick/education-analysis | 29b775b420f6693f453265dee201183a0042367e | 2ea01d8f463ff82d6137ba0194fd0e51fe852af8 | refs/heads/main | 2023-08-27T22:13:43.301914 | 2021-10-01T07:17:34 | 2021-10-01T07:17:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,427 | r | app.R | ## app.R ##
library(shinydashboard)
library(shiny)
library(ggridges)
library(plotly)
library(ggcorrplot)
library(stringr)
library(ggthemes)
source("scripts/data_import.R")
source("scripts/wrangling.R")
# UI definition ----
ui <- dashboardPage(
skin = "black",
dashboardHeader(title = "EduBoard"),
# Sidebar d... |
fb8bf4744f10614b94c971aad1b5db9cc92f0348 | f8eb55c15aec611480ede47d4e15e5a6e472b4fa | /analysis/0139_individual_stocks.R | 9236237f359507d096da0d6bcebc275ecb89b5ed | [] | no_license | nmaggiulli/of-dollars-and-data | a4fa71d6a21ce5dc346f7558179080b8e459aaca | ae2501dfc0b72d292314c179c83d18d6d4a66ec3 | refs/heads/master | 2023-08-17T03:39:03.133003 | 2023-08-11T02:08:32 | 2023-08-11T02:08:32 | 77,659,168 | 397 | 32 | null | null | null | null | UTF-8 | R | false | false | 9,572 | r | 0139_individual_stocks.R | cat("\014") # Clear your console
rm(list = ls()) #clear your environment
########################## Load in header file ######################## #
setwd("~/git/of_dollars_and_data")
source(file.path(paste0(getwd(),"/header.R")))
########################## Load in Libraries ########################## #
library(scales... |
8b6f4ef06cde1806f8a986e55a093dce3e38502b | 99d380bab249726b79f026dbed96d37ca616542e | /ant_compete.R | adfae7901297243186f713210d60b9dd6ea522f3 | [] | no_license | cnell-usgs/ant-removal | 9464facc951aade85251f47017db18e7e1302b66 | 4098853428cca50fdc36bfaeedb7a77074831c9f | refs/heads/master | 2023-05-31T22:15:47.930251 | 2018-07-30T16:47:54 | 2018-07-30T16:47:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,472 | r | ant_compete.R | ################################
## ant cookie analysis ####
## C Nell
## March 2018
################################
setwd("/Users/colleennell/Dropbox/ant_cookie/R")
library(tidyverse)
library(reshape2)
library(broom)
library(lme4)
library(emmeans)
library(estimability)
library(ggplot2)
#################
## QUESTIO... |
f6a2648f5048fee03e1371f45cd8022757c6f557 | af8b1cfa36e31284367560dac2800456de9bb284 | /man/circularize.Rd | 607f43687b767406e082a4449c0f4dbca05d4304 | [
"MIT"
] | permissive | LudvigOlsen/rearrr | f07cdf8fe92647335fb5a26ffc1416162543c59a | 40d150b440ae06507873fad20a28345c08d48cf3 | refs/heads/master | 2023-04-19T04:24:49.834419 | 2023-03-01T10:48:10 | 2023-03-01T10:48:10 | 259,158,437 | 24 | 3 | null | null | null | null | UTF-8 | R | false | true | 4,001 | rd | circularize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/circularize.R
\name{circularize}
\alias{circularize}
\title{Create x-coordinates so the points form a circle}
\usage{
circularize(
data,
y_col = NULL,
.min = NULL,
.max = NULL,
offset_x = 0,
keep_original = TRUE,
x_col_name = ".... |
5f2f2993a077468a52f58f7a329f9ac5725e1908 | 5b32f199f9a7aed5168cbe29c1599efd374d2ce2 | /R/plot_featurezones.R | c409d89672b9f20cefeb8e41f6a1246a7d48a8d2 | [
"MIT"
] | permissive | lizlaw/maximin-test | 0d058bc1b8e4648450506c4265c6db236cf10200 | 42c17359c3da552a34c653e2c0917e20743d74dc | refs/heads/master | 2020-06-18T02:57:33.965652 | 2019-10-10T07:35:24 | 2019-10-10T07:35:24 | 196,143,623 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 340 | r | plot_featurezones.R | # plot_featurezones
plot_featurezones <- function(fz){
par_old <- par()
par(mar=c(2,2,2,2))
nz<- length(fz)
nf <- raster::nlayers(fz[[1]])
par(mfrow = c(nz, nf))
for (i in 1:nz){
for (j in 1:nf){
plot(fz[[i]][[j]],
main = paste0("Zone ", i, " (species ", j, ")" ))
}}
suppressWarn... |
5672cb0213bf554071747de11a04da5f533a33bd | df77a46155382712d5b0c5d391f658fd6341e311 | /concepts/tutorialspoint/db/connect_to_mysql.R | 166a47186c684af2c6811c2f53060d67d0e256b7 | [] | no_license | Candy128x/r-concept | fb9fa16d54f2aef229dc8c900f9e145ed5cc7e0e | 5402d177f8079b6591716aa04933e1bc9ea68ec4 | refs/heads/master | 2022-12-31T14:31:09.144400 | 2020-10-16T10:32:35 | 2020-10-16T10:32:35 | 302,610,103 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,085 | r | connect_to_mysql.R | library(RMySQL)
# db_user <- 'root'
# db_password <- 'qwerty123'
# db_name <- 'employee_db'
# db_table <- 'employees'
# db_host <- '127.0.0.1'
# db_port <- 3306
# mydb <- dbConnect(MySQL(), user = db_user, password = db_password,
# dbname = db_name, host = db_host, port = db_port)
# s <- paste0("s... |
4b318d01eba2b7e110045a3279f730a1480278e9 | ffa84a5066a4b6c780abe9dad26b08f9ac5416e1 | /package/binomial/man/bin_probability.Rd | 38c098916eaeb422018045d7d6aae185d679a6aa | [] | no_license | justinhan33/R-Package | 1cf161399957edbef135330c4487535cf29e2e57 | 806fe67da844a79ff01fbadaf68f18f145e47559 | refs/heads/master | 2020-12-14T05:39:10.787925 | 2020-01-18T01:04:38 | 2020-01-18T01:04:38 | 234,659,557 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 921 | rd | bin_probability.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{bin_probability}
\alias{bin_probability}
\title{Probability function}
\usage{
bin_probability(success, trials, prob)
}
\arguments{
\item{success}{number of successes (numeric)}
\item{trials}{number of trials (numeric)}
\item{pr... |
8f28b9095373f5d5d32fd98e85e8b2b9fb237d72 | 1f426287afea547b9bc1da47367f87f006845128 | /R/randomplot.R | 0eb4e70060703a3f9eb10114b40bf7a643b56a07 | [] | no_license | marami52/appdemo | 1135a7fa5fdefd0c89e0dd4e2add5af298394401 | 87013c9b0252e2dfdba736586f3d9b6eec64ed16 | refs/heads/master | 2021-01-18T07:24:03.755540 | 2016-07-08T18:15:46 | 2016-07-08T18:15:46 | 60,495,241 | 0 | 0 | null | 2016-06-06T03:17:33 | 2016-06-06T03:17:32 | null | UTF-8 | R | false | false | 1,568 | r | randomplot.R | #' Make a random plot
#'
#' This function creates a random histogram plot.
#'
#' @export
#' @param n numer of random values
#' @param dist one of "normal" or "uniform".
randomplot1 <- function(n, dist=c("normal", "uniform")){
#input validation
dist <- match.arg(dist)
stopifnot(n < 1e6)
if(dist == "normal"... |
68d6b788cd84a691a0778a78c212bedac334eef8 | b112b438897dabd6ddeb6ed0d0e45e51de474db0 | /global.R | df3219c03a301e4994a8f75cd8352a3079a68ae8 | [] | no_license | ZubeirSiddiqui/Capstone | f5752351006ce4d4655c3654005feb5c0712cc40 | 51919546ee5bc692e4e455768927d260dc2b5563 | refs/heads/master | 2021-01-02T23:19:13.771894 | 2017-08-12T21:34:03 | 2017-08-12T21:34:03 | 99,498,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,766 | r | global.R | # global.R ####
# Coursera Data Science Capstone Project (https://www.coursera.org/course/dsscapstone)
# Shiny script for loading data into global environment
# Developer: Zubeir Siddiqui
# Date: 6th August 2017
# Libraries and options ####
library(shiny)
library(dplyr)
library(wordcloud)
library(RColorBrewer)
library... |
cd6589d604a04a829cc608cd7bda73364ffed2bb | d3b5b74f6bace8d36cfe99bb619c34ba6538578b | /man/encode_onehot_fit.Rd | f8a35175c60d80fa4e545ed6348c7fc8da2b7e7d | [] | no_license | akunuriYoshitha/CatEncode | b4c1f958079608985c3a476e9683e49885f655bd | a1d16fc070b3f4b3a33049e3631969208ce29002 | refs/heads/master | 2023-06-17T08:09:51.542957 | 2021-07-10T18:45:22 | 2021-07-10T18:45:22 | 315,023,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 667 | rd | encode_onehot_fit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CatEncodeFit.R
\name{encode_onehot_fit}
\alias{encode_onehot_fit}
\title{A fit function to encode categorical data}
\usage{
encode_onehot_fit(df, colname, fit)
}
\arguments{
\item{df}{Any dataset with atleast one categorical field}
\item{col... |
2953a449fffe40a353af00e1c4732f1175d8e228 | bd7475aeb82642093236e3b5f3b2a49d1060978a | /root-DataScience/practice/shinkage.r | c02a00c9d809560e20a86ca2ffe6b9fe2aa02b39 | [] | no_license | RoseSarlake/DataScience | a1575a7cc9810e601e78f60e48148fe9a4495fc3 | 23bbaa78d2f189b3f7da9f6031782bfe7297e333 | refs/heads/master | 2023-05-25T13:37:59.072053 | 2021-05-26T20:21:23 | 2021-05-26T20:21:23 | 344,139,739 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 738 | r | shinkage.r | library(glmnet)
x<- model.matrix(hp~.-1,mtcars) # NO intercept
y<- mtcars[,"hp"]
grid <- 10^seq(10,-2,length = 100)
ridge.fit<-glmnet(x,y,alpha = 0, lambda = grid) # alpha=0 =>ridge
options(digits = 2)
coef(ridge.fit)[,1]
coef(ridge.fit)[,100]
#----------
train<-sample(1:nrow(mtcars),nrow(mtcars)/2)
test <- (-train)... |
8b4b1e4f386052c5833ddf4d730b1843998d555b | c896f7afea79a502513a222343e622191748ca9e | /man/palette2colors.Rd | 30e6990e061226cab0a9e963498693f77a637285 | [] | no_license | cardiomoon/ztable | 397eac473985336cc67630689c1182102adb2427 | 5b4e34f573aa1e769f0127892c3c574e19845288 | refs/heads/master | 2023-07-24T09:59:42.126063 | 2023-07-14T07:34:53 | 2023-07-14T07:34:53 | 28,034,725 | 22 | 13 | null | 2022-06-11T02:58:00 | 2014-12-15T11:58:27 | HTML | UTF-8 | R | false | true | 638 | rd | palette2colors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ztable2flextable.R
\name{palette2colors}
\alias{palette2colors}
\title{Extract hexadecimal colors from a color palette}
\usage{
palette2colors(name, reverse = FALSE)
}
\arguments{
\item{name}{The name of color palette from RColorBrewer packag... |
fe41fdc5d1918b03d4822dfac94b1885cab8f373 | 6d67c5483469e5a1fda9204b1bc1f3b7cd24a2a1 | /R/provider1.R | 44d69ea320d2a31dbf864b4920235af22c90cd3d | [] | no_license | Thell/knitr-yaml-example | 84e715aa1245a62f5617419f1f79f705d98fc48e | 5658ce7fd9112fab0b4efee4b2bc697a193ca42b | refs/heads/master | 2016-09-06T06:29:20.284095 | 2014-03-11T19:03:17 | 2014-03-11T19:03:17 | 17,642,307 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 509 | r | provider1.R | #' Provide a chunk hook for knitr to be executed by run_hooks.
#'
#' @param before
#' @param options
#' @param envir
#' @export
providedHook1 <- function(before, options, envir) {
if ( before ) {
sprintf( "providedHook1 is triggering! \n" )
}
}
#' Provide a chunk hook for knitr to be executed by run_hooks.
#'... |
a240e80b74dbdb46ce737d4aa534293c86f8e2fb | 8e5b400c7d8a471c6f1ddc68be71d149753acb0c | /R/math-sums.R | c68c25c2ff89a93c845390067a589f0a5eee642e | [
"MIT"
] | permissive | annieaitken123/aceR | 35d501c48bbce92dc9209289a0239464a49356a3 | 8ffa809219727de72983e7dbceee2402cf4af6ce | refs/heads/master | 2020-12-30T09:27:32.285557 | 2017-06-28T03:51:56 | 2017-06-28T03:51:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 179 | r | math-sums.R |
#' @keywords internal
consecutive_sums <- function(vec) {
indices = seq(1:length(vec))
sums = sapply(indices, function(x) {
return (sum(vec[1:x]))
})
return (sums)
} |
5f06f3a7ac14286fd331ce18f55079bb70a1102e | 9f755220afb902a6179b1723a9716b74887a62ef | /R/RcppExports.R | c6d5a99d893713b25a8405889dc4e49a2fb3ecc5 | [] | no_license | CreRecombinase/MCMCArmadillo | 36c5e452b194c23bf025cae02826c14ee7be41d5 | e961cf8c57ccab0a3928b3c0538df15dbb08a85f | refs/heads/master | 2021-08-31T15:48:32.630163 | 2017-12-21T23:24:22 | 2017-12-21T23:24:22 | 115,055,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,052 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
em_with_zero_mean_c <- function(y, maxit) {
.Call(`_MCMCArmadillo_em_with_zero_mean_c`, y, maxit)
}
mvrnormArma <- function(n, mu, Sigma) {
.Call(`_MCMCArmadillo_mvrnormArma`, n, mu, S... |
e7ff14ddab258c88af8c39bb97d1e3c870557a00 | cacf9d286229e3cd8b352f45f5c665469613c836 | /man/is_dhist.Rd | 1f550d6f0433e307c114d6fb6aada8c409313f1f | [
"MIT"
] | permissive | alan-turing-institute/network-comparison | e42a102c84874b54aff337bcd6a76a1089b9eab7 | ee67bd42320a587adae49bafea6a59bfb50aafc6 | refs/heads/master | 2022-07-03T04:30:06.450656 | 2022-06-06T20:14:30 | 2022-06-06T20:14:30 | 75,952,713 | 13 | 1 | MIT | 2022-06-10T12:58:41 | 2016-12-08T15:57:35 | R | UTF-8 | R | false | true | 796 | rd | is_dhist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dhist.R
\name{is_dhist}
\alias{is_dhist}
\title{Check if an object is a \code{dhist} discrete histogram}
\usage{
is_dhist(x, fast_check = TRUE)
}
\arguments{
\item{x}{An arbitrary object}
\item{fast_check}{Boolean flag indicating whether to ... |
0783febeeb75dc0769a84c30505d0440f1b4561f | 0105892335c05de3547050e9e7f49d7f4aaff26f | /20190122_Code.R | 70ff3c75c1b3585d3071eedc5395bb589edcb1fe | [] | no_license | shohct/TidyTuesday | 567528234a9e7ab7a2d00b3cfb694819bddbd50c | 01d824350dd7a597bca038a5904f63ecc42caae3 | refs/heads/master | 2020-04-18T05:57:19.487830 | 2019-01-24T04:15:58 | 2019-01-24T04:15:58 | 167,299,170 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 952 | r | 20190122_Code.R | library(tidyverse)
prisonsum <- read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-01-22/prison_summary.csv")
prisonsum %>%
filter(!pop_category %in% c("Male", "Female", "Total", "Other")) %>%
group_by(year) %>%
mutate(percent = rate_per_100000/sum(rate_per_1000... |
29a94cf880ebb826f6b8009e62a0a47626abb4a2 | ece45f7b58cb8087a25cee988f59c68ba100c0d8 | /522407274.r | df8963bf9a10909893df107453e4843b561a414b | [] | no_license | erex/MT4113-2015 | 8bf6afe2b328a2e087d65f04c777ea9b356898dc | 4ba68fd5c966dfcd962643634b8e3f768bc2652b | refs/heads/master | 2021-01-10T12:39:16.085352 | 2015-10-04T15:44:20 | 2015-10-04T15:44:20 | 43,632,064 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,966 | r | 522407274.r | my.rnorm <- function (n, m=-0, sd=1){
# call function to generate unifrom random number
# input: n number
# output: two pairs of unifrom random numbers
u1 <- 1 # declare object u1
u2 <- 1 # declare object u2
x1 <- 1 # declare object x1
x2 <- 1 # declare object x2
j <- 1
w= u1^2 + u2^2 #declare ... |
664a5bd077a33bb32cbabc4ca96f80b88de10f80 | c79677094dcaeaecedb5fdb955c03f7be13087ec | /AbsEEMSfilecomp_function.R | 759bca00f3a25608fc37c6bedc04b922cc98f22c | [] | no_license | ashjolly/SpecScripts | 263ff4b76056d040743da25cdb9ac3bcd25fd79d | b07b502b2f0a04b428ee0ac971f62b84a1294a8c | refs/heads/master | 2021-03-27T09:11:45.303269 | 2017-01-18T23:12:09 | 2017-01-18T23:12:09 | 37,336,022 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,988 | r | AbsEEMSfilecomp_function.R | #
# function for creating master file for corrected absorbance and fluorescence files
# For passing these files into a file that will calculate absorbance and fluorescence indicies
# 24 July 2015
# AJ PhD project
##################
abseemfilecomp <- function(directoryRaleigh, projectname, directorynoncorabs, filelist_... |
ef8a8ddb4dae5b34ab67bef4428bb70e2043c011 | 2357953c5b5d8a18aaa2f3010b28b95489bc5212 | /exec/load-results.R | 85374001c645e9b83aa4417c7575e086da552d04 | [] | no_license | bips-hb/bscomparison | 47d00588fc94219f3689b5c8c8bd1de8d383d883 | 5044eedb94e17ac7e050e67ae00db68d43a6f782 | refs/heads/main | 2023-06-20T07:36:43.605156 | 2021-07-16T16:08:50 | 2021-07-16T16:08:50 | 386,695,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,448 | r | load-results.R | library(readr)
library(dplyr)
### load the data ----
results <- readr::read_tsv("results/best-f1-scores.tsv")
### turn alphas into numeric
results$alpha <- as.numeric(results$alpha)
### add the lasso explicitly
results_enet1 <- results %>% filter(algorithm == "enet", alpha == 1)
results_enet1$alpha <- as.numeric(r... |
bc50bde1a32f4eeecee241ab6a4ab1fd5c178c6a | 0746eb650e573d9b99832715fc0c1c9ed9d7d3b3 | /visualizing_parking_tickets.R | 954f15e3814793dcf9e690b211cbd3f94aa5ef2a | [] | no_license | renardhero/Illegal-parking-with-R | 9bb7a538940ff8aa9a42accdf0a154d715effa88 | 1fed62978b17b22ec3b23011e1bce0cc43233dd8 | refs/heads/master | 2021-04-03T06:50:01.092559 | 2018-03-15T16:28:57 | 2018-03-15T16:28:57 | 124,655,675 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 10,818 | r | visualizing_parking_tickets.R | library(dplyr)
library(tidyr)
pysakointivirheet <- read.csv("Pysakointivirheet.csv", header = TRUE, sep = ",",
colClasses = c("factor","character","factor","factor",
"factor","factor","numeric","numeric",
... |
36469c1e06f8dddb2e64e2fbecd7bc5f797996a3 | c5fe61e230b75199e2036bd0a476525ae4bfeab6 | /run_analysis.R | 55b86d47e7dba9b2ad17be345ce3c74f5354ce6c | [] | no_license | DiogenesCFG/Getting_and_Cleaning_Data_Coursera_Project | 74b9f82a63c3e44e9f30bd2e2de58b8229e5f7fc | 9e5d50f5ea8e145ec116a87a01c7af0daadec9e8 | refs/heads/master | 2020-12-11T17:59:37.171094 | 2020-01-15T18:09:58 | 2020-01-15T18:09:58 | 233,918,158 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,976 | r | run_analysis.R | # Getting and Cleaning Data
# Course Project
library(dplyr)
# Download and unzip the data
if(!file.exists(".\\Data")){dir.create(".\\Data")}
Url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
dest <- ".\\Data\\Dataset.zip"
if(!file.exists(dest)){download.file(Url, destfile... |
2b0321400dbd0a34246747efb53772b3a77ff2c8 | 0a90d775d6f2824bbd56b9b79a2366176c17fdac | /Bayesian Data Analysis/Assignment 2/Q2/Q2b.R | 15415e4872689c9cb5b8e0ff2eafe8c56fef19b5 | [] | no_license | S1889112/EdinburghMSc | f595a3897f0b3264fe869a74d7ede41ef2309501 | c546cf45f20d5508a0cae3788f00361f9dcc373e | refs/heads/master | 2022-05-04T11:41:01.420573 | 2022-04-29T08:32:35 | 2022-04-29T08:32:35 | 178,222,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,283 | r | Q2b.R | ## ===========================================================================##
#################################### 2b: Mod ###################################
## ===========================================================================##
#### Extract as vectors ####
para <- cows$parasite
### Fixed ###... |
a7c87e3bb08d1fbdf0394b632d21cd61fee18ca9 | 19749d7a0180996920b35ffb4aae218ea6f36975 | /scriptR/make_chipseq_boxplot_profile.R | 9c80107004e0f739e0cd782699685125a5425d75 | [
"Apache-2.0"
] | permissive | Guoshuai1314/LoopExtrusion | 40db7549f73fe4a59e3c8a240098324f596fd752 | 36a7fca573715850a890bf38d0ab3ef880f977cb | refs/heads/main | 2023-01-31T18:51:40.603627 | 2020-12-16T14:05:20 | 2020-12-16T14:05:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,560 | r | make_chipseq_boxplot_profile.R | require(dplyr)
require(rtracklayer)
require(ggplot2)
require(plyranges)
library("BSgenome.Hsapiens.UCSC.hg19")
seqlens = seqlengths( Hsapiens );
source("src/functions.R")
#Load AsiSI locations
asi = import.bed("/home/rochevin/Documents/PROJET_THESE/CLASSIF_HR_NHEJ/data/BED/ASIsites_hg19.bed")
bless80 = import.bed("/hom... |
cfb765a03524218878728d1c0270c01fc2102670 | 37e0b227d4b478ccf4edd520a1fd1c07ca539000 | /man/style_flatten_to_inline.Rd | b4e51b3f261117068e684f42c1be81b1d7f58314 | [
"MIT"
] | permissive | coolbutuseless/cssparser | 4634e5b072f9fba9f4be134d5f567b2b6c6d2eb8 | a5a3765fd8b058ae82790045b7b2443f5cbf4d8b | refs/heads/main | 2023-08-25T05:18:46.576490 | 2021-11-02T09:25:55 | 2021-11-02T09:25:55 | 411,632,479 | 4 | 0 | null | null | null | null | UTF-8 | R | false | true | 555 | rd | style_flatten_to_inline.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apply-inline-style.R
\name{style_flatten_to_inline}
\alias{style_flatten_to_inline}
\title{Flatten a style to an inline string}
\usage{
style_flatten_to_inline(style)
}
\arguments{
\item{style}{a named list of property/value pairs}
}
\value{
... |
c4f13fde3b7c1d10a9c12d3dd9fb466734feae22 | 3c258c7fe3244f4a41dea7d264098ac614eef19a | /man/parseExcludedControlConditions.Rd | 04fc80dce6b367de5d2871c85150a2f96fdb3159 | [
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | USGS-R/repgen | 379be8577f3effbe7067e2f3dc5b5481ca69999e | 219615189fb054e3b421b6ffba4fdd9777494cfc | refs/heads/main | 2023-04-19T05:51:15.008674 | 2021-04-06T20:29:38 | 2021-04-06T20:29:38 | 31,678,130 | 10 | 25 | CC0-1.0 | 2023-04-07T23:10:19 | 2015-03-04T20:24:02 | R | UTF-8 | R | false | true | 470 | rd | parseExcludedControlConditions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-parse.r
\name{parseExcludedControlConditions}
\alias{parseExcludedControlConditions}
\title{Parse Excluded Control Conditions (VDI)}
\usage{
parseExcludedControlConditions(reportObject)
}
\arguments{
\item{reportObject}{The full report ... |
87eaf6e1d6a856e658abe3e21f50bb8097fe499f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/TrialSize/examples/Cochran.Armitage.Trend.Rd.R | 9e4cdf64d2ec83e7571313639773fc4bbdc2a6f2 | [] | 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 | 375 | r | Cochran.Armitage.Trend.Rd.R | library(TrialSize)
### Name: Cochran.Armitage.Trend
### Title: Cochran-Armitage's Test for Trend
### Aliases: Cochran.Armitage.Trend
### Keywords: ~kwd1 ~kwd2
### ** Examples
pi=c(0.1,0.3,0.5,0.7);
di=c(1,2,3,4);
ni=c(10,10,10,10);
Example.11.5<-Cochran.Armitage.Trend(alpha=0.05,beta=0.2,pi=pi,di=di,ni=ni,delta=1... |
cfa8e9f9b462c48b7f56d66071c10529023fe99f | 6db7e92e04e293a0183e1c9a50cb0862fae41e8f | /plot4.R | 096a189e893fac05c274c917e6b59b8982d89a39 | [] | no_license | smodroni/ExData_Plotting1 | 2da44e7e3482f3184661af34e6a805a2073cc596 | e9ee4f4d1d0732fd460448948688fcdd5219547a | refs/heads/master | 2021-01-15T14:12:07.952221 | 2014-11-06T20:51:47 | 2014-11-06T20:51:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,111 | r | plot4.R | ## Read Dataset
df_all <- read.table("./household_power_consumption.txt", sep=';', header=TRUE, stringsAsFactors=F, na.strings="?", comment.char="", quote='\"')
## Covert date column
df_all$Date <- as.Date(df_all$Date, format="%d/%m/%Y")
## Subsetting the data
data <- subset(df_all, subset=(Date >= "2007-02-01" & Dat... |
c6e25b8daa7c923e28e4ca99106bfb817b4af66e | 2498a6fa69bcbd6dcb20d90b5817602219a818ba | /Physio_parameters_analyses/Chlorophyll/Scripts/Spis.CBASSvsCLASSIC.colony.genotype.corr.ChlA_20200329.R | 71d114d117fa83bd0e342762429354ff59fa6924 | [] | no_license | reefgenomics/CBASSvsCLASSIC | 1a930faba7bb17323f43a414cb0b9188b76ff223 | 832b72e9a2d6e4bad5ddf00fa2d9b13ef7fdecf9 | refs/heads/master | 2022-12-24T21:02:29.959046 | 2020-07-06T05:39:36 | 2020-07-06T05:39:36 | 196,943,004 | 4 | 3 | null | 2022-12-08T05:24:32 | 2019-07-15T07:02:03 | R | UTF-8 | R | false | false | 3,512 | r | Spis.CBASSvsCLASSIC.colony.genotype.corr.ChlA_20200329.R | # Genotype ranking based on Clh A content results
# set working directory
setwd("~/Documents/Barshis-project/03.SUMMER-CRUISE/04.Short-Long.term.heat.stress.experiment/09.Manuscript/Stats_GCB_CBASSvsCLASSIC/Chlorophyll/")
#libraries to load
library(tidyr)
library(tidyverse)
library(ggplot2)
library(ggpubr)
library(gg... |
72e04da34269498876f326f83414d6ed4cd0a2be | 3c7b6c98f274ca4ef939481a04aaf4afaa7126a2 | /R-utils/xy.density.r | 0c481378e6ab61cb7f3ea43b27aeb847b7133a43 | [] | no_license | EDmodel/ED2 | 6c2ad50849739982cbf93798f0aeadb95f9ca540 | 8d4c3aff354ffb8fec57e35b62d1bd3c9e0a671c | refs/heads/master | 2023-07-26T04:36:05.535556 | 2023-06-12T17:20:07 | 2023-06-12T17:20:07 | 19,721,494 | 71 | 110 | null | 2023-06-12T17:20:09 | 2014-05-13T01:21:54 | Fortran | UTF-8 | R | false | false | 23,633 | r | xy.density.r | #==========================================================================================#
#==========================================================================================#
# This function plots a density point cloud that represents the point density at any #
# given area of the graph. ... |
d39f79998e4298671d203448e4a0252e6073e65e | bfaee7d8f67771331470c8272db4bf7f83222cc2 | /man/add_rpgui_deps.Rd | 0021c7ae3061ec975055eb8333ad09ab9237d880 | [
"MIT"
] | permissive | bright-spark/shinyRPG | b6f7a7120fbbc387dbc4fb1322bb0967b7921b38 | a1fe30761ffd6469f28a0f92107d9613e9eccbe7 | refs/heads/main | 2023-06-15T22:41:38.793229 | 2021-07-13T20:00:01 | 2021-07-13T20:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 345 | rd | add_rpgui_deps.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rpgui-dependencies.R
\name{add_rpgui_deps}
\alias{add_rpgui_deps}
\title{rpgui dependencies utils}
\usage{
add_rpgui_deps(tag)
}
\arguments{
\item{tag}{Element to attach the dependencies.}
}
\description{
This function attaches rpgui. depende... |
e8b8df02389a020c51a774e7aef123a77f68335d | fd1b8a12ad1b6c50ccddf45a4b4093337bad8000 | /plot3.R | 2ca39131b35d14ecbd710a554b4b2eb0e6f384fa | [] | no_license | jimhark/ExData_Plotting1 | be0073806d3c2d8d3c854e0fcde7bde8f0ddab59 | d34d217ca54fc6aa2da41322c40b59337a93541f | refs/heads/master | 2021-01-09T09:06:34.026813 | 2015-01-11T21:50:46 | 2015-01-11T21:50:46 | 26,156,231 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 723 | r | plot3.R | power <- read.csv("household_power_consumption.txt", sep=";", na.strings="?")
selPower <- subset(power, Date %in% c("1/2/2007", "2/2/2007"))
dateStrings <- apply(selPower[,c("Date","Time")], 1, FUN=function(s) paste(s, collapse=" "))
selPower$datetime <- strptime(dateStrings, "%d/%m/%Y %H:%M:%S")
png("plot3.png", wid... |
46ccfb1c76dc7cf5349106fcba13420d23281b3d | 48cf403a8eec541960a12c9af81e896f08fcdcc2 | /explAnalyse_pima/global.R | 37ef7724e26171ec9196753074c85d739ba129c4 | [] | no_license | evalehner/shinyStats | 41075f7fce73db031124e9d0e9b3d9aa6dddaa9c | 7c2a243fccaecaacf08926f0c3baeba46eb29c90 | refs/heads/master | 2020-05-31T15:52:42.108781 | 2019-06-27T14:58:07 | 2019-06-27T14:58:07 | 190,367,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,184 | r | global.R | library(shiny)
# Code der nur 1x laufen muss außerhalb ver server Funktion um performance zu verbessern
# Achtung: app läuft nur wenn man pima manuell 'einließt'
pimaTe <- MASS::Pima.te
pimaTr <- MASS::Pima.tr
pima <- rbind(pimaTe, pimaTr)
pima <- cbind(pima[,-8], type = as.numeric(pima$type)-1)
rownames_pima <- row... |
ea264f82d9acc97c0c1e84c07fa5196638a6197b | 716a6f6ca0aa0d939fe3efe8b1018ae096737536 | /R/geohash.R | 501b2235f416574b932a8ab4e76265f5f6ea2db6 | [
"MIT"
] | permissive | harryprince/geohash | 2a476ea620b8a3297ffde7f8d9a54fb0a8e1553f | 4526221ee5e268642c279cdb2c0844bb78ca61ae | refs/heads/master | 2020-03-23T01:22:36.767405 | 2018-11-28T09:13:55 | 2018-11-28T09:13:55 | 140,913,645 | 0 | 0 | null | 2018-07-14T03:44:33 | 2018-07-14T03:44:32 | null | UTF-8 | R | false | false | 453 | r | geohash.R | #' @title Tools for handling URLs
#' @name geohash
#' @description The geohash package provides tools to encode lat/long pairs into geohashes, decode those geohashes,
#' and identify neighbours their neighbours.
#' @seealso the \href{https://cran.r-project.org/package=geohash/vignettes/geohash.html}{package vignette}.
... |
4d39b44e5f17a755b1bbd54173d1468330234780 | 9719ea69f693adfddc62b27eaf948fc7b16f6ad0 | /tests/testthat/test-check_wastd_api.R | 3a95b33ca6bb5911bea69dfd97e3511264697ebb | [] | no_license | dbca-wa/wastdr | 49fe2fb1b8b1e518f6d38549ff12309de492a2ad | 5afb22d221d6d62f6482798d9108cca4c7736040 | refs/heads/master | 2022-11-18T01:00:41.039300 | 2022-11-16T08:32:12 | 2022-11-16T08:32:12 | 86,165,655 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 324 | r | test-check_wastd_api.R | test_that("wastd_works returns FALSE if unauthenticated", {
suppressWarnings(
expect_false(
wastd_works(api_url = "http://httpstat.us/401")
)
)
})
test_that("odkc_works returns FALSE if unauthenticated", {
expect_false(odkc_works(url = "http://httpstat.us/401"))
})
# usethis::use_r("check_wastd_ap... |
fec6ec5987a8cbf7383f366501856706f518dc04 | 79a6beed8e70869b1053cdf85fc13c50c58ffe7e | /MLSplayers-dirty/MLSplayers-majorclusters-63-withtweeners.R | 702117073ec8d8295a1981bc9c661669e0904fa9 | [] | no_license | mimburgi/SoccerStuff | 07cfe200f056d9257d28a2735d68f8ccd6573808 | 5c50a239f4b7f58be7cd0837a378d8e852d2cbee | refs/heads/master | 2022-11-27T21:29:17.312796 | 2020-08-05T01:57:04 | 2020-08-05T01:57:04 | 281,275,496 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,014 | r | MLSplayers-majorclusters-63-withtweeners.R | library(dplyr)
library(ggplot2)
library(factoextra)
library(tidyr)
library(ppclust)
source('soccer_util_fxns.R') #for plotclusters fxn
## concat data across both years ####
curr<-read.table('2019summary.txt', header = T) %>% arrange(Player)
currscaled<-curr %>% select_if(is.numeric) %>% scale() %>% as.data.frame()
# c... |
9eb6ad85d66cc6ce21620160cccde6307b8c08cf | bbfa4b42ae55e599f39892dfd080f1ef790b8e1e | /final_analyses/script/functions/tibble_all_posteriors.R | d031175e8026b44250c8a4fe9d2bd1ffbdaa53f2 | [] | no_license | brophyj/tocilizumab_reanalysis | 67ebe548ecee76c98eff889a75202f2b9092b380 | 09aab5e5212c37fd98a13e196aef3779249a14f4 | refs/heads/master | 2023-04-16T18:49:46.954627 | 2021-05-14T01:09:14 | 2021-05-14T01:09:14 | 354,985,882 | 0 | 0 | null | 2021-04-13T13:25:09 | 2021-04-05T22:10:26 | null | UTF-8 | R | false | false | 1,211 | r | tibble_all_posteriors.R | tibble_all_posteriors = function(
noninformative_object, # Output from noninformative_posterior()
multiple_priors_object # Output from normal_approximation_multiple_priors()
) {
set.seed = 123 # set seed for reproducibility (rnorm())
n = 10e4 # sampling size
tibble(
# This is an output from rbeta() in n... |
33c9d4b6bbf1d6b2437ef46831319cb788d2a0a9 | 4e011e5e2299be4c73542b0aaa035ae05c0b90d7 | /allplayerMLB.R | 7e9ef1deb1f46a4015f5b5449cd4621f96876592 | [] | no_license | renu9826/stattleship | 445b8c73e01de031588cdd6c8194dbb07227efe9 | 0d9d3f014dd5a1ec64c707276e420f9605f39869 | refs/heads/master | 2021-05-11T21:09:49.596281 | 2018-01-15T02:59:26 | 2018-01-15T02:59:26 | 117,462,548 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,219 | r | allplayerMLB.R | # Stattleship data for all the players
set_token('c96b55e55080b317913d10e8ef0565cd')
ep <- "Players"
q_body <- list()
Ply17 <- ss_get_result(sport = sport, league = league, ep = ep, query
= q_body, version = 1, walk = TRUE)
Play17<- do.call("rbind", lapply(Ply17, function(x) x$players))
Play17[... |
2780ee82b9ceb4eaf8844b9a28991bf70c06fdc1 | 4d322b8691d7beb2b3f88a3ba5544be0cf14930e | /cachematrix.R | 7cd0a0eff3b4b6631703db5f0a66f8af55b84b12 | [] | no_license | ricej2/ProgrammingAssignment2 | 44b06d925cb5f5189f98cd92bddc926aea7bb916 | 6aa3d4119aaae8bfa78cf9a4a2f831c07341a656 | refs/heads/master | 2021-01-22T01:18:01.903161 | 2015-09-26T23:21:08 | 2015-09-26T23:21:08 | 43,224,589 | 0 | 0 | null | 2015-09-26T21:57:24 | 2015-09-26T21:57:24 | null | UTF-8 | R | false | false | 1,980 | r | cachematrix.R | # Below are two functions that are used to create a special
# matrix that stores a matrix and cache's its inverse.
##This function creates a special "matrix" object that can cache its inverse
#The function will create and return functions that can:
#set the matrix, get the matrix, set and get the inverse
makeCacheMa... |
5609dbf25320ef1a23e9e806afa47e7d8dcb072f | 38931341c376db16edddc151c9e01d4b7c33ac01 | /cachematrix.R | 1ac29272f9854f59d5a75cb8b3e07aff432bcb46 | [] | no_license | farawayfiend/ProgrammingAssignment2 | 4e182efed467c4440e4a17a00815575f8cdf156b | bd043ac020f7a22d04e9232b27554a6994fb8076 | refs/heads/master | 2021-01-17T04:41:54.435980 | 2014-08-24T18:00:21 | 2014-08-24T18:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,706 | r | cachematrix.R | ## makeCacheMatrix takes a matrix (must have an inverse) as an input
## and stores that matrix for use by the function cacheSolve. It also creates a
## list of subfunctions which are used by cacheSolve.
## cacheSolve takes the matrix stored in makeCacheMatrix and checks to see if an
## inverse has already been calcu... |
37d611eea2b24c2c8ebfc76cbb9fae8d1f885d13 | 8df3086384cee95612be523a7abd36f801ceae51 | /subst_func/make.pps.als.R | a50bdb8649d2f900c805ce8469fe79754ff64630 | [] | no_license | duchene/adequacy_comparisons | e74e2563c2ac78c49a5e61552ae9871996848af8 | 9350ffbbb7250eb294aaca77059ea397096b3346 | refs/heads/master | 2020-12-25T10:41:52.215801 | 2016-07-14T07:36:29 | 2016-07-14T07:36:29 | 59,931,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,502 | r | make.pps.als.R | # This function takes posterior log and trees files. It simulates alignments using the model parameters from the corresponding line in the log file. This function also requires the length of the alignment.
make.pps.als <- function(trees.file, log.file, N = 100, l = 1000, savetrees = F){
trees <- try(read.nexus(tree... |
fec1d42ba674046c7a253ae6660938504d6edd50 | 77157987168fc6a0827df2ecdd55104813be77b1 | /orthoDr/R/predict.r | 98bcea86028b4aa0d6e4aeafef42cd381a84c7d8 | [] | no_license | akhikolla/updatedatatype-list2 | e8758b374f9a18fd3ef07664f1150e14a2e4c3d8 | a3a519440e02d89640c75207c73c1456cf86487d | refs/heads/master | 2023-03-21T13:17:13.762823 | 2021-03-20T15:46:49 | 2021-03-20T15:46:49 | 349,766,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,304 | r | predict.r | #' @title predict.orthoDr
#' @name predict.orthoDr
#' @description The prediction function for orthoDr fitted models
#' @param object A fitted orthoDr object
#' @param testx Testing data
#' @param ... ...
#' @return The predicted object
#' @examples
#' # generate some survival data
#' N = 100; P = 4; dataX = m... |
d6fdf0daee96687428bcce8a1d2ef1f02ad4b03d | 850b3edb028a235685ee07c743cadaeefcc87021 | /man/expectreg.ls.Rd | 750c7ef88c073642f54b4e89b1da6ffd63b2742f | [] | no_license | amadoudiogobarry/expectreg | dbcc6e484b46252b659e76010411bdd2070fbbab | 6e5da23a3b5b4813aad45b6b2344427953f9094f | refs/heads/master | 2022-06-10T07:09:42.532527 | 2014-03-05T00:00:00 | 2014-03-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,423 | rd | expectreg.ls.Rd | \name{expectreg.ls}
\Rdversion{1.1}
\alias{expectreg.ls}
\alias{expectreg.qp}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Expectile regression of additive models
}
\description{
Additive models are fitted with least asymmetrically weighted squares
or quadratic programming to obtain ... |
faaf1607dedf3b477a2ad2cc47b481934d2ef956 | bd9f6c883faec0af6fb2823ba7747710a56a0426 | /comtrade_checks/get_hs_codes.R | 1bb13f1b138391d49929f53339d3cab4539b4b95 | [] | no_license | lauradelduca/s3inventory | 1c12295d6e7e6b293f66a97a942c3994cf0b5158 | 1757bde4d889d9bfae8d96f7f8e90cf36ebc225c | refs/heads/master | 2021-04-06T08:28:38.404735 | 2018-10-21T22:18:22 | 2018-10-21T22:18:22 | 124,647,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,457 | r | get_hs_codes.R | ## Load HS codes from commodity_dictionary from AWS S3 for comtrade_check.R
## Laura Del Duca
## needs to have library aws.s3 and AWS S3 credentials loaded into R
obj <- get_object(object = 'data/1-TRADE/commodity_equivalents_final.csv', bucket = 'trase-storage')
hs <- read.csv(text = rawToChar(obj), sep = ';', quo... |
c32b198c5fc95c4d1531e674db367c0c93ca4ca0 | 6969293bedcc54b489cc1d22ccf38608e6da13a3 | /TitanicSurvivalPredictor.R | 1ad304753c52814b4d15e2f433d3646ec2f7de1c | [] | no_license | qasimir/TitanicSurvivalPredictor | 56848d36d984a0d203eb6dfc9e386a4e7cf61cb3 | 5e09905115f3e99eb6c7e00f7e36c3a646736e67 | refs/heads/master | 2021-07-07T02:06:34.773866 | 2017-10-02T00:42:27 | 2017-10-02T00:42:27 | 104,948,224 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,786 | r | TitanicSurvivalPredictor.R |
# get the data from the working directory
trainingdata = read.csv("TitanicSurvivalTrainingData.csv")
testingdata = read.csv("TitanicSurvivalTestData.csv")
nrow(trainingdata) # number of rows
ncol(trainingdata) # number of columns
dim(trainingdata) # the general case
# a table gets the number of occurances of a parti... |
82da2374ddaa8694ff4b4b7e517bfbdec4815012 | 626b0065fd063ebd9e2f672da57cf5a1e06ff895 | /Codes_R_Programming - Copy.R | bf4b2eab3b806bd5caf9b6de00a882efa128a697 | [] | no_license | Chandankrbharti/DataAnalyticUsingR | 5e615120fbbee61f419ac8cd07141086d25df369 | 8475c6203ff855c68b2a17a3dd896c53e9aa3892 | refs/heads/master | 2020-03-20T20:52:01.431288 | 2018-06-25T09:36:04 | 2018-06-25T09:36:04 | 137,711,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,013 | r | Codes_R_Programming - Copy.R | #Print 1 to 10 numbers
1:10
#Find avg
mean(1:10)
#Variable assignment
a = 5
a <- 5x=
5+2 -> a
a
b <- 4
a+b
# Vector is a 1 dimensional object & it should have same element
x <- 1:10
x
class(x) # Integer
x1 <- c(6.7,4,6,7,8,9)
x1
class(x1) # Numeric
a <- 5L
class(a)
x3 <- c("Guru", "Madhu",... |
baf0fe1d11162fc9d5b72e110bed08b267149e06 | c3e2451daec7c223e6bca5e8ec5d29ea3efa5c6a | /R/util_proposals.R | 4cc34c843ac3bd1f80857af54b3c23409eeca669 | [] | no_license | pierrejacob/bayeshscore | d0336efc16dd0456ffa2c3f6fbe51aabbcf3f3f8 | 8f148f4074e09de4911d5645a9781c8aa844d38d | refs/heads/master | 2021-09-22T10:56:27.652463 | 2018-09-08T18:21:28 | 2018-09-08T18:21:28 | 63,806,619 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,950 | r | util_proposals.R | #------------------------------------------------------------------------------#
#-------------- Some proposals for the rejuvenation steps of SMC and SMC2 ----#
#------------------------------------------------------------------------------#
#'@rdname get_proposal_independent_normal
#'@title get_proposal_independent_n... |
e04126c8f6376f86f708112efb41af8666404277 | a1bb95e9d753981fb44249477d20636ae21369b7 | /World/World/TestsPerMillion.r | 436a18da0dc004e0a4310e6d6cd8eaee26448ffd | [] | no_license | SravanKumar35/Data-Analysis-on-COVID19-Data | 9ac8213a8b13067627865ac543065b378234b1fb | e519df1c84a0ce89ebe596261b491dfba6375dc2 | refs/heads/master | 2022-11-14T07:52:02.792747 | 2020-07-08T12:02:19 | 2020-07-08T12:02:19 | 275,380,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,117 | r | TestsPerMillion.r | df <- read.csv('G:\\Required\\College\\8th sem\\Major Project\\COVID\\World-20200428T111157Z-001\\World\\full-list-cumulative-total-tests-per-million.csv')
library(RColorBrewer)
library(flextable)
library(officer)
# Define the number of colors you want
nb.cols <- 42
mycolors <- colorRampPalette(brewer.pal(8, "Set2"))(... |
2e9a687faaf2830dbf0a82cb673327dcc4f3a253 | 87be5670b9b8a28ea0703b92568031c9a407ab9c | /mixedeffects.R | ea348bf90dff2cdd1cf4247ed9ebbd57c015c3c3 | [] | no_license | dtsh2/JWDReviewSeries | 4777221e31717f484391ed70692cfb8c98b87926 | 3eeb798b6944bec2394fbc3fe69e0ef2e488d0bf | refs/heads/master | 2021-01-18T09:56:13.530218 | 2018-01-31T18:50:41 | 2018-01-31T18:50:41 | 21,152,401 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,885 | r | mixedeffects.R |
######################################################
# captive bat sera anti-LBV analysis ALL POSITIVE ####
######################################################
## clear environment and load package
rm(list=ls())
library(lme4)
### 88 bats from 4 cohorts sampled over 3 years (10 sampling days)
### Age, ... |
7bf40fe408de0d52809764d65219cf0133b8f382 | 5981f1f23d2dfe30894ab46123f1eef916dc1c6a | /class05/class_05 .R | 2aadbfb04788b59567d41965bfa1361244715a31 | [] | no_license | meganmt/bimm143_ | 68bfb6863bac02f4b4239d47d88ff58f1deedfea | 145f33ca29972c2500ea4a81e1fea602670bcae3 | refs/heads/master | 2021-01-03T00:42:52.701414 | 2020-03-10T16:55:41 | 2020-03-10T16:55:41 | 239,841,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,370 | r | class_05 .R | #' ---
#' title: "CLass 5: Data Visualization and graphs in R"
#' author: "Megan Truong"
#' date: "January 23, 2020"
#' ---
#Class 5
#Data Visualization and graphs in R
plot(1:10, col="blue", typ="o")
#Need to import/read input data first
baby <- read.table("bimm143_05_rstats/weight_chart.txt",
he... |
69bf62641eb2345adc671c34c7082814f08b32c0 | 0dff99bef342692fe65bea93c39d5836aea5d862 | /R/PAS-Final/UI/4.3.ui_explsavedmodel.R | fe44d4dc3684346961c7db968f0a46ddeb2d5b15 | [] | no_license | michaeljohannesmeier/coding-examples | e45ff844a20808cb7478ea3751caadf7134547ce | a1a2d54535284169cda51f2705ab77dbf4ec202d | refs/heads/master | 2022-11-25T09:12:14.919019 | 2018-06-20T07:29:29 | 2018-06-20T07:29:29 | 138,684,834 | 0 | 1 | null | 2022-11-22T17:19:21 | 2018-06-26T04:30:07 | JavaScript | UTF-8 | R | false | false | 1,137 | r | 4.3.ui_explsavedmodel.R | tab3save<-
tabItem(tabName = "explsavedmodel",
conditionalPanel(condition = "input.storeReg || input.storeRegAuto", box(
title = "Stored regression model",
collapsible = TRUE,
status = "warning",
solidHeader = TRUE,
width = 15,
... |
f1bef8eabfe96ce70b216d1c9a99f2391290e9d8 | 395daa1ec2a5f403dda8d65cfa88d5280afe2665 | /man/varkernelslice.Rd | a2ecb9fb90543e27a300341d9d2ee35d6454444e | [] | no_license | CWWhitney/uncertainty | 4f0cdc86b453e5fbe48767d34d8db435c6979b63 | 0e6a25ba719a59f3104fd8c716d2aff3923f79be | refs/heads/main | 2023-04-07T22:04:54.398851 | 2022-06-13T20:52:49 | 2022-06-13T20:52:49 | 374,667,187 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,937 | rd | varkernelslice.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/varkernelslice.R
\name{varkernelslice}
\alias{varkernelslice}
\title{Estimated outcome variable values given the influencing variable,
based on a slice of 'z' from the kernel density plot of the variable and out_var data.}
\usage{
varkernels... |
316758156c35b86be8b2ac5d1d4d26cf981fd878 | 8c2f1d0430257cc9386ef2a47e22c46fd5e987da | /chao.R | 4997af2740a5aa72766f097ea67bea95e94129eb | [] | no_license | paseycatmore/ucdbirds | 4355a969bf217a84c75761787f11521435c22030 | 206ca8d93b08f14e28be64f6fff5eaada627e57b | refs/heads/master | 2020-05-06T20:31:17.752762 | 2019-04-17T09:13:59 | 2019-04-17T09:13:59 | 180,242,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,197 | r | chao.R | # script: estimating chao species richness for each year
# plotting / linear regression
#
# input: "final_long_list.csv"
# long format of all data combined (see master_df.R)
#
# output: "chao_*.csv"
# chao species estimator values
# *entries for 1973 - ... |
d26f0ad6bfa81905722fe4eeb847b87a8965755c | 7cb043b3f0b35232b5c16b92c8c7ef9354d20066 | /Salary_hike.R | 1637c7af8ef359916588de4c74a6d2aa33be6197 | [] | no_license | surajbaraik/Simple-Linear-Regression--Salary-Hike-Data--R-code | 3796e08460a09f0c78eb3c7247058f3eba57c463 | bab11c23b4be202c09512b9775d98ba49706fbfe | refs/heads/master | 2022-11-22T02:33:13.303254 | 2020-07-09T07:00:56 | 2020-07-09T07:00:56 | 278,270,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,723 | r | Salary_hike.R | ######
######
##### Assignment Question no 4 , Churn out rate, Predict the churn out rate based on salary hike
###### Y(output) is Salary and X(input) is years Exp
salaryhike <- read.csv(file.choose())
attach(salaryhike)
View(salaryhike)
summary(salaryhike)
plot(YearsExperience,Salary)
### YearsExperien... |
a953ec5e4f5455d2a8f4a2539d8fe1ee2de3e361 | 1eb6887eb32b68af1df571bfa06915609491debf | /man/save_summary.Rd | fe8a5e6afa99d81c8682ea6d268834ad454fc330 | [
"MIT"
] | permissive | PiermattiaSchoch/data.validator | 84c5d0f1421300d1701acc7fea5056bb72e448eb | 9db21c2af724fbcd35b7d41fbed59373dd3d2774 | refs/heads/master | 2022-12-26T00:25:32.179671 | 2020-10-05T09:45:41 | 2020-10-05T09:45:41 | 297,728,214 | 0 | 0 | MIT | 2020-09-22T17:51:42 | 2020-09-22T17:51:41 | null | UTF-8 | R | false | true | 688 | rd | save_summary.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/validator.R
\name{save_summary}
\alias{save_summary}
\title{Save simple validation summary in text file}
\usage{
save_summary(
validator,
file_name = "validation_log.txt",
success = TRUE,
warning = TRUE,
error = TRUE
)
}
\arguments{... |
58d2f14e0bbfddc195fede5e7a650f6231fcf323 | ec2d6f790c243428084c6c8f708955e31129a431 | /R/polyNew.R | 8d3422e7fa246ae17a2f105b34b45fcf900d47f1 | [] | no_license | jaropis/shiny-tools | a221a279c600ca46d3f73620dab80018329579fa | b3d4fdda883585e562d030adf8ac307907d5e8d7 | refs/heads/master | 2023-03-15T03:53:49.461990 | 2021-03-20T12:08:37 | 2021-03-20T12:08:37 | 220,004,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,411 | r | polyNew.R | ### This file is part of PCSS's Run Test suite.
### Run Test is free software: you can redistribute it and/or modify
### it under the terms of the GNU General Public License as published by
### the Free Software Foundation, either version 3 of the License, or
### (at your option) any later version.
### Run Test is di... |
1f2d2331b95b04bfa012569e927d0ee7ba369630 | 96e20fc83c84ee1429f8c7383f1bcc9428a312b3 | /man/PredictDiag.Rd | 7367e34538544d15cae0dc48e0b14f77597c9d2e | [
"MIT"
] | permissive | ManuelPerisDiaz/VariantsID | 61762fa88a81b937c0a3ce74165bfce0eaffe731 | d9b307248162821db2b96116ed255e2326c5d8a0 | refs/heads/master | 2023-08-26T21:26:32.119405 | 2021-11-02T00:35:36 | 2021-11-02T00:35:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 513 | rd | PredictDiag.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PredictDiag.R
\name{PredictDiag}
\alias{PredictDiag}
\title{PredictDiag}
\usage{
PredictDiag(WT, WT_ref, diag_ref, Hbvarinats)
}
\arguments{
\item{WT}{sequence of wild-type(HbA beta) protein .fasta file}
\item{WT_ref}{reference list of fragm... |
bb122d2fe075a376000478ba88f65b0a73d4c5c6 | 490e2f2fbbf6900917b7bc97a1e0ee516b36626e | /src/supply_power.R | 9497b2cce23b49d4d4c5b0c78bc0b31d44697b49 | [] | no_license | ajenningsfrankston/renewable_spot_market | f409f67adcf7bf23581e9aaf7967dbba450fcc5e | f93fefb95ac0734ee04ff8bd59d95cd75eca96b3 | refs/heads/master | 2021-01-20T16:55:15.457229 | 2017-07-03T01:54:07 | 2017-07-03T01:54:07 | 95,732,806 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 570 | r | supply_power.R | supply_power <- function(surplus,storage,hydro,capacity) {
# surplus : supply - demand at time
# storage : energy store
# hydro : last resort energy source (hydro dams )
if (surplus >= 0) {
storage <- storage + surplus
if (storage > capacity ) { storage <- capacity }
}
else {
if (storage ... |
14cb5005f9b8d4f4f4871b1f081137a08f98997b | d765b7e59f28eaed696c959592804b3557a32374 | /cachematrix.R | 94ab9b1dbe9a0b2e7fda5fa1bd024b76cba2f3aa | [] | no_license | DataSciFi/ProgrammingAssignment2 | 8c80fe230e29e9dfc978eeb73c3d8875a100db1c | ca1ce06033814c24b19cc95b49ee3bdbc7001980 | refs/heads/master | 2021-01-19T19:04:57.108208 | 2014-04-15T15:46:26 | 2014-04-15T15:46:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,081 | r | cachematrix.R | ## makeCacheMatrix and cacheSolve allow to reuse calculated inverse matrix
## by means of caching it in a closure
##
## Closure to save matrix along with its inverse
makeCacheMatrix <- function(x = matrix()) {
## Inverse matrix holder
i <- NULL
## Setter for matrix
set <- function(y) {
... |
0323433f96fa1ee44c636b599c12190452745264 | d1d2ff8b8541f500998082424c4b22e9ee586ef0 | /R/UserCommands.R | 6c0dfc7434eba64306f1cf3f3484507f354d527e | [
"Apache-2.0"
] | permissive | rfherrerac/Capr | f0e6741582eac17be1db75effc7dc749fde31660 | 270ec6c47ae921813445f50b639f50be1808f587 | refs/heads/main | 2023-03-05T11:17:20.724152 | 2021-02-03T16:39:25 | 2021-02-03T16:39:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,580 | r | UserCommands.R | # Copyright 2020 Observational Health Data Sciences and Informatics
#
# This file is part of Capr
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENS... |
d256e56331127fbc8b7a236c13944e0f1b587593 | 2732726961436c9d909473a2b1e86844d64c5684 | /day17_pop_culture/Pop_culture_day17.R | 025d76929ecd226f8a0d4f6bad7c414147639a19 | [] | no_license | Fgazzelloni/rstats-chart-challenge-2021 | 5af0828b12b063888478f9bc22d898766fb9e32c | bdcb2ffe77f1cd3fd426cbe4023bb4e62e5cb586 | refs/heads/main | 2023-09-05T14:01:51.009033 | 2021-11-03T09:31:56 | 2021-11-03T09:31:56 | 354,427,714 | 1 | 1 | null | 2021-04-04T01:04:01 | 2021-04-04T01:04:01 | null | UTF-8 | R | false | false | 4,499 | r | Pop_culture_day17.R |
# Pop Culture day 17 - Data for IHME latest Covid19 projections ----------------
# load libraries ---------------------------
library(viridis)
library(hexbin)
library(tidyverse)
# load data <- <- <- <- <- <- <- <- <- <- <- <- <- <- <- <- <- <-
# latest IHME covid19 projections -------------------------------
libr... |
df256b94b66b245c4d3a36dc48ff772554867949 | 582dd488211c6ecb2b5fdb458d916f50017edf34 | /Project_3_Working.R | 20927b468c4845833ef6f1f4d9ec8ee1a595b19c | [
"Apache-2.0"
] | permissive | tash088/Project-3 | 2aae2f1eed783f7a208291bfe59cf72c9b508fc4 | 0c2560ee8f2e188170a2bc998e105bb0b85d0839 | refs/heads/main | 2023-01-09T19:37:47.136543 | 2020-11-17T13:19:52 | 2020-11-17T13:19:52 | 309,998,094 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 598 | r | Project_3_Working.R | library(tidyverse)
library(readxl)
library(caret)
help(predict)
creditData <- read_excel("creditCardData.xlsx",col_names=TRUE)
creditData<-rename(creditData,default=`default payment next month`)
creditData<-select(creditData,LIMIT_BAL,SEX,EDUCATION,MARRIAGE,AGE,PAY_0,default)
creditData$default<-as.factor(creditDat... |
7463d6b00a91130700d9fec6c1ea1d257033b8b8 | 850860fa27a5acc4aa3907c30b95450039157015 | /cachematrix.R | 0a7f5e98c33462cdf8c79380a7d56b15ad87a467 | [] | no_license | pablorodrig16/ProgrammingAssignment2 | f5c5688eae7b4e3d4e175f1ec3c1592ae2156e0b | 2cbd3b87ac51983fd18177a7613d5df2e9b7fc3e | refs/heads/master | 2021-01-21T18:46:34.679654 | 2015-05-14T05:17:05 | 2015-05-14T05:17:05 | 35,403,493 | 0 | 0 | null | 2015-05-11T05:12:59 | 2015-05-11T05:12:59 | null | UTF-8 | R | false | false | 1,922 | r | cachematrix.R | ## These functions calculate the inverse matrix resulting from
## applying solve() function to an square matrix and store both of them in a list.
## Then if that inverse matrix is needed it can be
## get from de cache without needing to perform calculations again.
## 'makeCacheMatrix' function creates a list contain... |
88b128624b8b131022d7107fd0a817997919ffce | 585fa751f775731024cd1cff508cbf2f8fe4cdf4 | /eigen_projection_sample.R | 191ad666915953b46efe260fe6985f5d50956269 | [] | no_license | hataloo/fashion_projection | 479ef453a0749d16e2bdcb8c0adcbfd025104cb9 | 5307461dc5e48fe83b2d1dc5efece164ca76b79a | refs/heads/main | 2023-04-15T14:34:24.320602 | 2021-04-23T08:39:21 | 2021-04-23T08:39:21 | 334,989,563 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,808 | r | eigen_projection_sample.R |
#Run data_preparation.R and eigen_projection_preparation.R prior to running this file.
sample_class <- match("Bag", class_names)
sample_index <- 15
projection_class <- match("Bag", class_names)
eigen_length <- c(3,10,25)
sample_eigen_visualization <- function(sample_class, sample_index, projection_class, eigen_len... |
248a42753329706b5f57f300979287c845f605a5 | 0c2c555accd7311bc988ef87c3093055db4eaf25 | /R/exporting_model.R | 6e335c03da5f0127731da4f5470c174565e117e6 | [] | no_license | Geidelberg/cotonou | 1dc491e8f659ba431d2fbbec43ad19934457e7ba | b0cc0c0afae63bad0e2aeb073c60a60928c51c50 | refs/heads/master | 2021-06-05T09:43:07.530294 | 2020-07-27T11:37:32 | 2020-07-27T11:37:32 | 87,826,062 | 0 | 3 | null | 2020-01-15T10:02:21 | 2017-04-10T15:18:39 | R | UTF-8 | R | false | false | 106 | r | exporting_model.R | #' @title The model in odin syntax
#' @export main_model
#' @rdname main_model
#' @name doesthiswork
NULL
|
b0365ba071d27a09be2b6a7219b6d439240255b9 | 7a0e33100081ba37fb5846ace638d46fd1ea7c7f | /R/plot_mw.r | 02117a339c25b2f02dacb8516e6d4604f5cf198f | [] | no_license | cran/GmAMisc | 4056f56b41747e5758f24b627d641e740f7f412b | 12eb385a69521f9493d658c61ddeb4894483e8ba | refs/heads/master | 2022-03-07T02:52:44.745241 | 2022-02-23T14:20:02 | 2022-02-23T14:20:02 | 145,911,179 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,711 | r | plot_mw.r | #' R function for visually displaying Mann-Whitney test's results
#'
#' The function allows to perform Mann-Whitney test, and to display the test's results in a plot
#' along with two boxplots. For information about the test, and on what it is actually testing, see
#' for instance the interesting article by R M Conroy... |
359368b6d1519120a5a0cf26d2c827b25d445c86 | 90a12049ecc3f402b278294d217969223076f18b | /R/aaa_env_vars.R | 047c4003ab3c1d7baf5a1a2c29d4e83c3c83d7c3 | [] | no_license | muschellij2/templateflow | 5f5f8e2de1499a4c941e59565098b6e530a8a48d | 6dd2ee53ba9f2a1d5bd05c4a4b24b12415cb0124 | refs/heads/master | 2023-03-09T16:18:19.744605 | 2021-02-22T21:30:16 | 2021-02-22T21:30:16 | 341,295,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 210 | r | aaa_env_vars.R | TF_GITHUB_SOURCE = "https://github.com/templateflow/templateflow.git"
TF_S3_ROOT = "https://templateflow.s3.amazonaws.com"
TF_USE_DATALAD = Sys.getenv("TEMPLATEFLOW_USE_DATALAD", unset = FALSE)
TF_CACHED = TRUE |
912fe99c1201f91a0e0154a86e9769c8a0553d06 | 2d9c1336e0159d4790b866b12bc67d96596c88b4 | /R/lightleak_upload.R | 32f8f5b0af18de4ebbd05cfc0b198444710b9ad8 | [] | no_license | JARS3N/lightleak | 0aea53171771bb4f3f1321f0a1a82e7ae9ecdf32 | 4ad91968b59728f34f8995a671c8c79a47f22d7b | refs/heads/master | 2022-08-22T05:50:46.238269 | 2022-08-11T18:15:37 | 2022-08-11T18:15:37 | 105,680,952 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 335 | r | lightleak_upload.R |
#### upload LightLeak Data
upload <- function(LLDat) {
require(RMySQL)
upload_per_file <- function(obj, db) {
not_in_db <- file_query_meta(obj, db) == 1
if (not_in_db) {
process_upload(obj, db)
}
}
my_db <- adminKraken::con_mysql()
res <- lapply(LLDat, upload_per_file, db = my_db)
dbDisco... |
7a70ada5d007d5c6beba48eb4d1dc5f36e4ac8e7 | c7da3c116f3a35c344f7e7a73cd7a09077e3d283 | /man/plot_retweet_count.Rd | 45cb2ea9c625c3a30a49cb31ca5c544f2cea5cbe | [] | no_license | clement-lee/hybridProcess | 882237c0a135b505dce315f2f09ee2c951ef5b2d | ec848f60f5a2dc73b1643781d21f48f805db4768 | refs/heads/master | 2020-04-18T03:12:52.804330 | 2019-01-29T15:47:05 | 2019-01-29T15:47:05 | 167,190,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 465 | rd | plot_retweet_count.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting.R
\name{plot_retweet_count}
\alias{plot_retweet_count}
\title{Plot retweet count}
\usage{
plot_retweet_count(df, t_0, t_inf)
}
\arguments{
\item{df}{a data frame with at least the following variables: id_str and t_ij.}
\item{t_0}{st... |
4ff0f7acd58030b1d530b9025d550cd45778dac4 | fbd822d04d0d8204065c270f98ba688c6639f779 | /data-raw/tidy_save_shapefiles.R | 1379f077663065c44e73f1c37be261f391dd73f6 | [] | no_license | seawaR/colmaps | 86b3079ddc6e45cc47c5015c8146c2eb15243697 | b0b4cc5d083cb5e8e124e2a92a3affb17bbf5a47 | refs/heads/master | 2021-01-17T23:34:45.437918 | 2015-05-24T00:33:36 | 2015-05-24T00:33:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,084 | r | tidy_save_shapefiles.R | library("dplyr")
library("rgdal")
# help("tolower")
capwords <- function(s, strict = TRUE) {
cap <- function(s) paste(toupper(substring(s, 1, 1)),
{s <- substring(s, 2); if(strict) tolower(s) else s},
sep = "", collapse = " " )
sapply(strsplit(s, split = " "), ... |
bf6f2c132f0f6546f06c6ee76806678d0e7e2faf | 2c303bd5f3d712af852dc30176b3358c7de3cc67 | /src code/r/02/post-hazard.R | 3970408d35ad5db164e6273ba803df56bd8efe82 | [
"CC0-1.0"
] | permissive | junchenfeng/thesis | 89e2d02eccd200e8d4da4cb38bbfc48307f63d37 | 456e841a6e6d9a2276b09f4804529ab77bda4fa8 | refs/heads/master | 2021-01-20T15:36:32.185297 | 2017-02-09T21:46:09 | 2017-02-09T21:46:09 | 44,146,208 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,528 | r | post-hazard.R | library(dplyr)
library(tidyr)
complete_likelihood<-function(x,y,h,pi,c,hr){
# P(X,Y,H) = P(Y|X)P(H|X)P(X)
pyx = y*c+(1-y)*(1-c)
px = x*pi + (1-x)*(1-pi)
phx = h*hr+(1-h)*(1-hr)
return(pyx*px*phx)
}
conditional_x_density_xh <-function(pi,l,h0,h1){
# p(X_t=1|H_t-1=0) = p(X_t=1,H_t-1=0)/(p(X_t=1,H_t-1=0)+p(... |
099fc662501e1aa3780f3f03a138d893e321341c | 71efb0e950c7d52e526c5641ebcaa4b60cc2152a | /Starter/mlclass-ex1/gradientDescentMulti.R | 1b8dadc01762a63524718273fd5b64f8fc0c275d | [] | no_license | yc-ng/machine-learning-course | 0c801b0482dd27e358ab36a619d5d5970c004f78 | 2c9643849e07040394e08f0f2b50150384f073dd | refs/heads/master | 2020-03-22T08:01:16.651561 | 2018-07-12T14:38:34 | 2018-07-12T14:38:34 | 139,739,589 | 0 | 0 | null | 2018-07-04T15:31:37 | 2018-07-04T15:31:37 | null | UTF-8 | R | false | false | 1,631 | r | gradientDescentMulti.R | gradientDescentMulti <- function(X, y, theta, alpha, num_iters) {
#GRADIENTDESCENTMULTI Performs gradient descent to learn theta
# theta <- GRADIENTDESCENTMULTI(x, y, theta, alpha, num_iters) updates theta by
# taking num_iters gradient steps with learning rate alpha
# Initialize some useful va... |
7ce526a917b87bb4e094ee8d5a605368568b0cca | 64a91e6762d9e7b8fb4552b7cc07014d73d6b817 | /man/VarReg.control.Rd | 4455a684b4b19369dd1c6564551ef5ebcdbeec60 | [] | no_license | kristyrobledo/VarReg | 95416998b5c012bad00c76bef1fb71c23e94c984 | 1a73ae2fab5e1841f4941c942d20328096b7e6a9 | refs/heads/master | 2023-08-22T02:36:04.857619 | 2023-08-10T12:21:25 | 2023-08-10T12:21:25 | 227,324,209 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,256 | rd | VarReg.control.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/VarReg_control.R
\name{VarReg.control}
\alias{VarReg.control}
\title{Auxillary for controlling VarReg fitting}
\usage{
VarReg.control(bound.tol = 1e-05, epsilon = 1e-06, maxit = 1000)
}
\arguments{
\item{bound.tol}{Positive tolerance for spec... |
58a7ba43d3fb3e65cd03bdd4011d132ef0c85f37 | 49f0605bea382482a028e543cac6e72e3c0335c7 | /man/subbytype.Rd | 63f89a2bf4ef4bda90f5d064a025f31a473c5dff | [] | no_license | cran/cbanalysis | 2993af56c9b1b6809842132e43398207bad61940 | ce00fca11d555c4c251bb44908e0c32f2d33984d | refs/heads/master | 2021-01-19T13:44:33.718634 | 2017-09-04T17:43:49 | 2017-09-04T17:43:49 | 88,104,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,108 | rd | subbytype.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subbytype.R
\name{subbytype}
\alias{subbytype}
\title{Subsets Data frame Based On Variable Types.}
\usage{
subbytype(df)
}
\arguments{
\item{df}{- Input Data frame We Wish To Subset.}
}
\value{
Returns List of Data frames.
}
\de... |
5f947aa37e866506b8d07b65ef6d2db3688f4488 | 35dab897fb9e82c7bf81833b018ae4e483d5e8ef | /fig4/fig4c/plot_all_AP_features.R | 149fe906fd8494d36d5236dd08d5ef8f72170b58 | [] | no_license | grace-hansen/adipose_sex_dimorphism | 48fa0ece2a6e5cf4df6afbc796a0081c2d575ec6 | 6402f5dc152fec241fa07f8f3cd57a8d011a0eb6 | refs/heads/main | 2023-07-24T06:15:18.515680 | 2023-07-18T20:09:50 | 2023-07-18T20:09:50 | 555,140,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,991 | r | plot_all_AP_features.R | #!/usr/bin/Rscript
library(data.table)
library(tidyverse)
library(gridExtra)
setwd("~/medusa/papers/TWAS/lipocyte_profiler/scatter")
pony_colors<-fread("~/medusa/papers/TWAS/pony_palette")
######### Author: Grace Hansen #########
#This script plots adipocyte profiler data along a time course and from different cell ty... |
bd988841c41bde92793141343a648655d3e72e4e | 8f2eca45ca1f659f9574aadbd9c45a25ad5aff83 | /man/prsp_exp_models.Rd | f6e53f893d39844046a51edb27915f31bf21aba8 | [
"CC-BY-3.0",
"MIT"
] | permissive | paride92/peRspective | 652ea09506bc4905fea7edbe0fe82a99101a8c8f | 4373272c66ca5e21c1f209d3a72f7c1c0ac287e2 | refs/heads/master | 2023-06-21T13:12:21.001203 | 2021-07-13T13:41:57 | 2021-07-13T13:41:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 289 | rd | prsp_exp_models.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prsp_stream.R
\docType{data}
\name{prsp_exp_models}
\alias{prsp_exp_models}
\title{All valid experimental Perspective API models}
\description{
All valid experimental Perspective API models
}
\keyword{datasets}
|
c74b5aeb0d6ffe0656cd441a6dce44e303557f47 | 42d4e666f3596a68266249fc0ce38a3f04781a05 | /Rday11.R | 1719de9ca10bbb20290c6a1245351fc6a029974f | [] | no_license | aspaachu/datavisualization | c0474b17c5f38674a2a8b0eadc2e0d40e4ec9aec | 0c84cf81ebdba581ba07eec91bc4f9df300383cb | refs/heads/main | 2023-06-26T20:14:42.451808 | 2021-07-27T14:05:16 | 2021-07-27T14:05:16 | 390,004,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 659 | r | Rday11.R | #1Consider the student data in the marks.csv file. Read it into an R variable, Attach
#additional columns in it to keep student wise and subjectwise totals .
x<-read.csv(file.choose())
x
y<-apply(x,1,sum,-c(2))
y
cbind(x,Studenttotal=y)
z<-apply(x,2,sum,-c(2))
z[1]<-NA
rbind(x,Subjecttotal=z)
#2Let list1 <- list(obser... |
be578c45eebcf1b80a6c1c765bf5d34e605f3bde | ede0a874bad1f7dbb6a3e03ec87ab2c6e215decd | /man/GetRefBatchName.Rd | 68df44e001ad0a6118f7bfbc4b59da9ce06c3622 | [
"MIT"
] | permissive | ddiez/CanekDebug | 26044ade7d0f603c9aeb775bf9d022916aeb9028 | 4625138c482d32db3ab7c05f6b385a2cad03c3db | refs/heads/main | 2023-04-07T21:13:49.973671 | 2021-04-08T10:47:55 | 2021-04-08T10:47:55 | 345,546,436 | 0 | 1 | NOASSERTION | 2021-04-08T09:16:24 | 2021-03-08T05:56:22 | R | UTF-8 | R | false | true | 261 | rd | GetRefBatchName.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Batch.R
\name{GetRefBatchName}
\alias{GetRefBatchName}
\title{GetRefBatchName}
\usage{
GetRefBatchName(x)
}
\arguments{
\item{x}{CanekDebug object.}
}
\description{
GetRefBatchName
}
|
0716b3b5f2ecf59db62530a9975a6e8f475a26ac | 8723f30f8032b801c020267b3d8de10695266ec1 | /shinyProject1/server.R | 7a53ce0bda621fd346f1e658253fbcae0af5a38e | [] | no_license | yiguo-git/shinyProject | e8aa764864c072d4e6facde63394d5a7732fe134 | 68aadd63d20b59439bd38e41f4af336e55d8bda6 | refs/heads/master | 2022-04-26T04:36:45.448724 | 2020-04-26T13:00:18 | 2020-04-26T13:00:18 | 259,013,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 943 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(leaflet)
library(shiny)
# Define server logic required to draw a histogram
shinyServer(function(i... |
3b3aad14475cb0f393e3e43ba5f42f8c25fbb88c | 738234c4084abb8f88a53ebc9ee0fcc574538c05 | /set_1/bt_tuning.R | 89045d035659acff086996811227d86bf7b56b31 | [] | no_license | apoorvashivaram/classification_competition | 408ceff1d96836cb2f5d44ecce270510a655586a | 3152ca3ec13c4a8d947591539197db254db2f664 | refs/heads/main | 2023-05-05T08:36:30.257005 | 2021-05-28T04:39:24 | 2021-05-28T04:39:24 | 362,628,690 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,245 | r | bt_tuning.R | # boosted tree tuning ----
# load package(s) ----
library(tidyverse)
library(tidymodels)
library(tictoc)
# set seed ----
set.seed(3729)
# load required objects ----
load("model_info/loan_setup.rda")
# define model ----
bt_model <- boost_tree(
mode = "classification",
mtry = tune(),
min_n = tune(),
learn_r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.