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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d8f70b34a6ecbc47d4220f9c287f1786017ac9ac | 8c4a746ea10217b868480b1937e48c02c8a75ac7 | /Exascalar Power and Efficiency Trend Plot.R | 4347ad964fbc0a0205cd05be0729ec60819d151d | [] | no_license | ww44ss/Exascalar-Analysis- | 2d6bbf4ae786a811b4b9463965fa2cb56badeaa8 | c418446080ebefc3ec045bde96ff776cce72a532 | refs/heads/master | 2020-04-12T01:48:45.515884 | 2019-08-11T21:37:54 | 2019-08-11T21:37:54 | 21,465,360 | 5 | 13 | null | null | null | null | UTF-8 | R | false | false | 10,284 | r | Exascalar Power and Efficiency Trend Plot.R | # Exascalar Data Trend Plot
# This program pulls in all the data and then plots a trend of the top, mean, and median exascalar.
# plan to update to pull big exascalar file
## This program imports cleaned data from the Green500 and Top500 lists
## GET THE CLEANED DATA
##check for Exascalar Directory. If none exists... |
d3deb55cf47dcca0062f2a736206182eb568754d | 131aab8b543b599c798443c022a61ce0d095dbce | /server.r | 5f81a5334589dc3fb29b3ab0b617c2da025ed3a3 | [
"MIT"
] | permissive | mkuzak/atmap-shiny | ff837c630b98c986dad080b003558aafbe500051 | f8fba74e6e7c732fd16cb1db260406bc6e68d3d0 | refs/heads/master | 2021-01-01T19:39:22.377517 | 2014-09-23T20:29:25 | 2014-09-23T20:29:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 668 | r | server.r | library(shiny)
library(ggvis)
library(leaflet)
library(maps)
# load versaille stock accessions
accessions <- read.table("data/versaille_stock.csv",
sep="\t", header=TRUE)
shinyServer(function(input, output, session) {
accessions$id <- c(1:nrow(accessions))
# render leaflet map
map <- c... |
3cb8b509165c1abb5cd30390466ee692e99b68db | 57e77ea9dfe2ce75d4c7e69490901d21059bd410 | /20200930_workshop_code.R | 45ef427ca419cfd051fd8609b486863485e693e4 | [
"CC-BY-4.0",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | oulib-resdata/repetitive_r | 74bfb32b5787be06f6448eaf6be3b2013e741d42 | 5163f4bd30620d0802cf4396c2876aac4f22817a | refs/heads/main | 2023-05-29T23:35:59.193119 | 2023-05-17T17:59:02 | 2023-05-17T17:59:02 | 188,274,852 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,590 | r | 20200930_workshop_code.R | #Welcome! We'll begin a little after 3pm once people arrive.
setwd("~/Desktop/20200930_repetitive_r")
#test for loops
# for (iterator in setofvalues){
# do a thing
# }
output_vector <- c()
for(i in 1:5){
for(j in 1:5){
print(paste(i,j))
output_vector <- c(output_vector, i*j)
}
}
output_vector
output_ma... |
68a1fe4d947c6dcebb047317f8f121dbfb7ec145 | eae6125fa496e9c6e2a260ec6a4fe00084203910 | /man/effectSizeCI.Rd | 73b366256be62ec2f69166f343a3ec3b499dbb22 | [] | no_license | cran/reproducer | 196c5cbd2c9fb5b62be07994d7fd4089c13e7373 | 613330ca8689417e39982f6732e233bd7d79b96e | refs/heads/master | 2023-07-19T19:16:50.012059 | 2023-07-08T09:40:10 | 2023-07-08T09:40:10 | 29,832,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,824 | rd | effectSizeCI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MadeyskiKitchenhamMetaAnalysis.R
\name{effectSizeCI}
\alias{effectSizeCI}
\title{effectSizeCI}
\usage{
effectSizeCI(
expDesign,
t,
n1,
n2,
r = 0,
epsilon = 1e-10,
maxsteps = 1000,
stepsize = 3
)
}
\arguments{
\item{expDesign}{... |
175e697137d9dfa6fd752964b5394959dd70e9eb | 7612408d3e43aa59d066c0a5797446ec8c675694 | /SchoolsGraphs.R | fb87d0a56ce3bb07ff5d9081acd44700069ab3fc | [] | no_license | julesbeley/datathon | 2512a96478a25fa3ce5c382482070e5940239402 | ff42508a10019585039bba3c6631036a99e9e508 | refs/heads/master | 2020-04-18T04:01:08.590283 | 2019-01-24T14:26:13 | 2019-01-24T14:26:13 | 167,222,742 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,342 | r | SchoolsGraphs.R | library(tidyverse)
install.packages("rio")
library(rio)
edu <- import(.)
library(readr)
read_csv("data/Education.csv")
table(edu)
head(edu)
View(edu)
edu <- edu[-1,]
head(edu)
names(edu)<- c("Libellé","Population légale 2016","Lycée 2017","École maternelle 2017","École élémentaire 2017",
"Collège 2017")
headers<- c("De... |
ce3c80908693273c8755aff0f035d3c0dc5fce58 | f34493e0d59b888650383b66ec095bbb71359c00 | /man/show-methods.Rd | f8f26d4fdcc12dd4e5cafe3e31dc4e4dd92673e4 | [] | no_license | neuroconductor/aws | f3c4a23034343a3f53ae3a668bcf456324c32af2 | fea929ff0ef19cc27459489626541b67245fdcb5 | refs/heads/master | 2023-01-19T22:39:10.633488 | 2023-01-18T16:40:12 | 2023-01-18T16:40:13 | 238,157,999 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,739 | rd | show-methods.Rd | \name{show-methods}
\docType{methods}
\alias{show-methods}
\alias{show,ANY-method}
\alias{show,aws-method}
\alias{show,awssegment-method}
\alias{show,ICIsmooth-method}
\alias{show,kernsm-method}
\title{Methods for Function `show' in Package `aws'}
\description{
The function provides information on data dimensions, data... |
7035ee4eeecd16edb14b590f9ab9bc2226dbc2f5 | 64b0d18eb0e78a963ef19599c2dec448da6603d3 | /man/test_resource.Rd | 7d80eab53c5841b03150422a913f288f3939cb01 | [
"MIT"
] | permissive | Chicago-R-User-Group/2017-n4-Meetup-Syberia | 0bb8cf04112ba236e373e89b01db8f92b857b000 | dc248c8702fc851ae50335ad6406f14e414c0744 | refs/heads/master | 2021-01-01T04:22:57.806786 | 2017-07-14T04:19:50 | 2017-07-14T04:19:50 | 97,166,590 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 760 | rd | test_resource.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/test.R
\name{test_resource}
\alias{test_resource}
\title{Run the tests for a single resource.}
\usage{
test_resource(engine, resource, setup, teardown, reporter)
}
\arguments{
\item{engine}{syberia_engine. The engine to run the test on.}
\it... |
928fddef382ef0fd2fa19c98d90be9617de71c03 | b25b4b8d51e279a196b1dddf1606400445d0072c | /bayesrate/r_functions/BiSSEBMA.r | da1012a36e141ae2289d958077d6294316f9065e | [
"MIT"
] | permissive | schnitzler-j/BayesRate | 86bf7deae6a2f64deeac68df9f323d56d9ed6fc8 | 86fb252df8589c89fce1c42699c69c5e2bbccb6f | refs/heads/master | 2021-01-20T20:28:57.517417 | 2016-08-10T09:55:11 | 2016-08-10T09:55:11 | 65,297,633 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,966 | r | BiSSEBMA.r | #!/usr/bin/Rscript
# version 20130821
arg <- commandArgs(trailingOnly=TRUE)
mcmc_BiSSE <- function(
infile1, # tree
infile2, # trait table
wd="default",
TDI=0,
out_file_stem="default",
rho0=1,
rho1=1,
BD_model_0=1,
BD_model_1=1,
Trait_model=0,
link_speciation=0,
link_extinction=0,
link_trait=0,
prior_r... |
6bd10c63d70393c2cfd5134b735e594beb7f2446 | b69b106037370ef128b294ea2c82b7afa0817c66 | /inst/financialPlots/shiny app.R | 22d6ab495b2bcb180d9ef182aa7fd4d184054c70 | [
"MIT"
] | permissive | DrRoad/financialStatementPlot | 2a14f71c51fe4df8b28e0b97bb84650659bd7a8e | cb528a47c2aeef00e97a89c35c724f0bd3e99a35 | refs/heads/master | 2021-09-05T13:02:28.554149 | 2018-01-27T21:39:14 | 2018-01-27T21:39:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,975 | r | shiny app.R | library(shiny)
library(DT)
library(plotly)
library(rvest)
#require create.data()
#require comparisonPlot(), or:
devtools::install_github("ryanvoyack/financialStatementPlot")
library(financialStatementPlot)
#######app code########
hello1<-c("\r\n Sales/Revenue\r\n ","Sales Growth"... |
09b50e0991cd66c5a0967c0a147c46cb4ae1840f | 3a0df2539e8e38b207c845b97bca1e0b5478ce88 | /data_preprocess.R | 1b185a0e043f992f311ec8cf4246d77540b10f47 | [] | no_license | Caiwei-Zhang/UserPersona | 2c080440e1cd8c2e5e5cc4d2fb9934deb99b9136 | c6c877646bacb388f997cea526e6f0a71798f82a | refs/heads/main | 2023-07-11T00:22:40.797740 | 2021-08-21T09:13:27 | 2021-08-21T09:13:27 | 398,218,348 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,938 | r | data_preprocess.R | setwd("E:/Competition/xf/UserPersona/")
t0 <- Sys.time()
train <- fread(input = "./data/train.txt", sep = ",",
header = FALSE, encoding = "UTF-8") %>% as_tibble()
test <- fread(input = "./data/apply_new.txt", sep = ",",
header = FALSE, encoding = "UTF-8") %>% as_tibble()
t1 <- S... |
18a174fb86150ca56e42c74b34ac93ab5de3d677 | dc7169116a18420ba27791d1ae937519cd3b7028 | /man/modeLogitnorm.Rd | 70ae89c09df78220598d5edd701c37011a67e693 | [] | no_license | bgctw/logitnorm | 1ee55f1f36a4700f276b8c0ed3bde4b199e2215b | 527a5cf52b8d8a17b48ad9b5a2cfb3042e6093f6 | refs/heads/master | 2022-01-01T21:00:59.761492 | 2022-01-01T11:57:05 | 2022-01-01T11:57:05 | 73,286,222 | 1 | 1 | null | 2018-07-30T12:01:11 | 2016-11-09T13:25:06 | R | UTF-8 | R | false | false | 397 | rd | modeLogitnorm.Rd | \name{modeLogitnorm}
\alias{modeLogitnorm}
\title{modeLogitnorm}
\description{Mode of the logitnormal distribution by numerical optimization}
\usage{modeLogitnorm(mu, sigma, tol = invlogit(mu)/1000)}
\arguments{
\item{mu}{parameter mu}
\item{sigma}{parameter sigma}
\item{tol}{precisions of the estimate}
... |
0440507fea0de716719c1706e7eeb4dccedfbc30 | 8ab10cc30485d724a9fffda8471e96a38f8f9801 | /functions/AxiomUKB.R | 779c058b4fccd6e2ca211cecf3eb6c345f1ae737 | [] | no_license | tgerke/AffyAnnotScrapeR | efa9e9b2ff298c96660b4664c0a968e857f7c305 | 84fb86d9b142feae6d329e54932ea8317c744dd3 | refs/heads/master | 2021-01-11T21:26:30.149002 | 2017-01-13T20:53:17 | 2017-01-13T20:53:17 | 78,784,769 | 0 | 1 | null | 2017-01-13T17:43:29 | 2017-01-12T20:36:39 | R | UTF-8 | R | false | false | 1,906 | r | AxiomUKB.R | #######################################################################################
# load and clean affymetrix transcript cluster annotation for Human Gene 1.0 ST array
#######################################################################################
# set directory, load libraries
# Mac
setwd("/Volumes/La... |
6191640855f1bcd01661c61334130cb3c6100479 | 67d2e379f1df737a20c0741a8df88fb78b55c056 | /date.R | c66971ff3adc3c1d4072a8f2fb41174bcd422840 | [] | no_license | kaiyu33/R_Repository | 0313ff0d2a023f26262bb8cdb8c3549dcec6c573 | d3c29756fbd37468b314d0ffafff170f0f3f9745 | refs/heads/master | 2016-08-10T12:53:15.229999 | 2016-04-26T09:30:29 | 2016-04-26T09:30:29 | 54,948,219 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,881 | r | date.R | #time
format(Sys.time())
# [1] "2016-04-13 05:06:05"
format(Sys.time(), "%x %A %X %Z %z")
# [1] "2016/4/13 星期三 上午 05:04:58 CST +0800"
format(Sys.time(), "%Y/%m/%d")
#[1] "2016/04/13"
############################################################################################
Sys.time()
#[1] "2016-04-04 20:05:03 CS... |
677c5cb48be59fb54691f23f72a8e91c4dc0d0d7 | 13a88b7fe9ee099862e961e8d4b58bc293703545 | /R/tv-delay.R | 4995d1ce6a4c69a331a29aecaea6928c314549e8 | [] | no_license | cran/gpDDE | f2986d78f08fa2586253fef8dbcc08219012fa8b | b7a8d145cba6808ad047242ebc8407c283e7e6d5 | refs/heads/master | 2016-08-11T15:20:58.948341 | 2015-12-16T23:25:34 | 2015-12-16T23:25:34 | 48,164,930 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,295 | r | tv-delay.R | ##' This function runs generalized profiling for DDE models with time varying coefficients.
##' This function carry out the profiled optimization method for DDe models using a sum of squared errors criteria for both fit to data and the fit of the derivatives to a delay differential equation with time varying coefficien... |
c75f659f1ddd4c93a2a68a0db92c2bc55e1020a5 | cf7df86691b86344df40a2cb1a188c189536ac29 | /Normal/Algo8_Norm.R | 0f866ff3b7f7e4238319b3d64da9998b6e92944d | [] | no_license | pasudyan/RNeal_MCMC_DPMM | c1d6308d16441916cfe77c8c06c7283c0098d3c3 | 31a01ccafbd5bb2beb522c8aedb00faf5033f315 | refs/heads/master | 2021-04-29T17:25:18.301869 | 2018-02-15T19:12:28 | 2018-02-15T19:12:28 | 121,668,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,711 | r | Algo8_Norm.R | ##MCMC methods for parameter estimation (Algorithm 8)##
#######################################################
test_phi.8 = numeric(numIter)
#initialize number of clusters
K = floor(alpha*log(num_cust))
#initialize cluster assignment
phi.8 = numeric(xtraSpace)
phi.8[1:K] = rnorm(K, mu_base, sd_base) #for ... |
28c882ec0f0c8f8cd0abe1a34c9a526f2f4ea57e | a329d887c850b4dabe78ea54b8bf3587136f7571 | /man/boostLinear.Rd | c677e109b1756adb2319bf3608aa550222311be9 | [
"MIT"
] | permissive | mllg/compboost | 2838ab72b1505305136fa8fbf752a62f886303ec | f493bb92050e27256f7937c82af6fa65e71abe67 | refs/heads/master | 2020-04-06T09:45:45.958662 | 2018-11-13T09:53:05 | 2018-11-13T09:53:05 | 157,355,755 | 0 | 0 | NOASSERTION | 2018-11-13T09:39:14 | 2018-11-13T09:39:13 | null | UTF-8 | R | false | true | 3,044 | rd | boostLinear.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/boost_linear.R
\name{boostLinear}
\alias{boostLinear}
\title{Wrapper to boost linear models for each feature.}
\usage{
boostLinear(data, target, optimizer = OptimizerCoordinateDescent$new(),
loss, learning.rate = 0.05, iterations = 100, tra... |
e9f73be1dfa8e5a0c0446c57980bae04619a0316 | 5dd95e1685c24227627d86fac4e828140b88b2f7 | /code/corellation_DF.R | e8854ea6757829e93fc9b8e8b06a90d3e84ab061 | [] | no_license | NOAA-SWFSC-ERD/BREP | b39e7305b4766fe40bb8624584d2fc85532bf34d | 8356fca506a16cb70ffac8a3e7776d6fc5f5a28b | refs/heads/master | 2022-09-24T13:39:27.332691 | 2022-09-21T17:54:07 | 2022-09-21T17:54:07 | 92,861,834 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,702 | r | corellation_DF.R | #### code to run ts correlations
## follows NC_batch_SST_SSTANOM.R
#### load libraries
library(raster)
library(ncdf4)
library(maps)
#### load global objects
load("/Volumes/SeaGate/BREP/BREP/brep_scb_CC_pts_enso34.RData") ## attach turtle citings time-series
netcdf=list.files("/Volumes/SeaGate/BREP/jplmur",pattern="*... |
0a6a26a2ae080bbcb76f832883dc975f55443414 | 28c27fbecd9dc8d075b772c01bf793f83bacf8bd | /plot.R | b4b211a24a31386ceeecd807dcdd696e04605289 | [
"MIT"
] | permissive | titou26140/bnn | dc29e254746c3e16879ebf7ea3645cd32c0e6fa6 | cafab2f9a1bde2dfdb737310cbb823338e987a2b | refs/heads/master | 2020-04-24T03:33:53.471337 | 2019-03-11T14:22:16 | 2019-03-11T14:22:16 | 171,673,960 | 0 | 0 | MIT | 2019-02-20T13:01:11 | 2019-02-20T13:01:11 | null | UTF-8 | R | false | false | 566 | r | plot.R | library(ggplot2)
library(lubridate)
df = read.delim("/home/mat/dev/bnn2/predict.out", h=F,
col.names=c("idx", "img_name", "count"))
df$idx = NULL
head(df)
df$dts = ymd_hms(gsub(".jpg", "", df$img_name))
df$date_str = as.factor(sprintf("%4d%02d%02d", year(df$dts), month(df$dts), day(df$dts)))
df$time_o... |
2f20a727450813634647bc7071dc4b1c68f066fa | 131c83453196969874b2eebc65b0c12e98bb00dc | /reresearch/processstormdata.R | 695a9e4685eb4a63018206691c1327bc51b03127 | [] | no_license | david-c-street/datasciencecoursera | d3cb4fc25c2f50d85d3610dd0806cabda94648cc | f63fe5f72d5429ba4abecbb4f71ccccb13e95491 | refs/heads/master | 2021-05-29T17:43:58.973159 | 2015-04-26T18:17:34 | 2015-04-26T18:17:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,166 | r | processstormdata.R | #script to process storm data and do some analysis on it
library(ggplot2)
library(data.table)
library(dplyr)
#file and data processing
originalfile <- 'StormData.csv'
cleanfile <- 'stormdataclean.csv'
#make a nice CSV file and save it
if (!file.exists(cleanfile)){
rawstormdata <- read.csv(originalfile)
rawstormdata ... |
8dbfcb209834abbfbcb5229c84dbbdc99f714c1d | 4951e7c534f334c22d498bbc7035c5e93c5b928d | /sourcecode/select_nesting.R | d34e2aa07733ae5526e88487443fca1f55efd605 | [] | no_license | Derek-Jones/ESEUR-code-data | 140f9cf41b2bcc512bbb2e04bcd81b5f82eef3e1 | 2f42f3fb6e46d273a3803db21e7e70eed2c8c09c | refs/heads/master | 2023-04-04T21:32:13.160607 | 2023-03-20T19:19:51 | 2023-03-20T19:19:51 | 49,327,508 | 420 | 50 | null | null | null | null | UTF-8 | R | false | false | 1,350 | r | select_nesting.R | #
# select_nesting.R, 16 Jan 20
# Data from:
# The New {C} Standard: {An} Economic and Cultural Commentary
# Derek M. Jones
#
# Example from:
# Evidence-based Software Engineering: based on the publicly available data
# Derek M. Jones
#
# TAG C selection-statement_nesting source-code_C
source("ESEUR_config.r")
plot... |
a3fadcf98d9345965301233360ba63bdcd27189b | 5675371ff792c9e1e80a3b7e0c1884093c41b5ac | /PlotAll.R | 1de83670f2bf37fe6cc41bb24c360af248271ebc | [] | no_license | jacosmuts/exploratory1 | f959109c7aaf0e65e9a5fd6202d675c4ae1547c5 | d526dde265ac5218e08cd942b613504f6608891f | refs/heads/master | 2021-01-25T09:53:27.471482 | 2015-06-07T23:37:43 | 2015-06-07T23:37:43 | 37,015,841 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 213 | r | PlotAll.R | source('DataPrep.R')
source('plot1.R')
source('plot2.R')
source('plot3.R')
source('plot4.R')
data <- get_data()
write_all <- function() {
write_plot1()
write_plot2()
write_plot3()
write_plot4()
} |
e34dd419e0214b20e5b6c295fe65c73d0aff8a05 | 2171f3867747a89929b1ad396afb855b09896309 | /man/example_dr1.Rd | 53f5f53bca44bcfbc7d547f0d6d5dfd05ab0f9c5 | [
"MIT"
] | permissive | aelhossiny/rDeepMAPS | 4c1a0a0bcdad4bf6240984b9a47da55250c1fa8e | ec6b742f9f42dc4f1a40a392ddfe8d3610ab9e63 | refs/heads/master | 2023-06-09T20:02:19.866887 | 2021-07-07T02:56:57 | 2021-07-07T02:56:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 261 | rd | example_dr1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/regulon_service.R
\name{example_dr1}
\alias{example_dr1}
\title{Run DR}
\usage{
example_dr1(tf = c("CTCF", "DEAF1"), ct1 = c(0, 1), ct2 = c(2, 3))
}
\value{
}
\description{
Run DR
}
|
57e402030c38086bdb8c781e7c47e95925f2ab04 | 8c9cb896a089216b204a7de405011f43a52eae87 | /src/functions/gc_content.R | ea0c735135adac0d3e62e506f36fbd2b3649eb92 | [] | no_license | timchisamore/rosalind_problems | 5c6912ff36d294eb9b75a64ad921f0061937be5c | b0a4cccfcd15ec7cee14503008df0fc90e744397 | refs/heads/master | 2021-01-02T11:17:08.403280 | 2020-02-12T02:12:30 | 2020-02-12T02:12:30 | 239,597,664 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | gc_content.R | #' Finding the GC Content
#'
#' This function determinees the proportion (%) of a DNA string that is
#' either G or C.
#'
#' @param s A DNA sequence
#'
#' @return A numeric bounded between 0 and 1
#' @export
#'
#' @examples
#' gc_content("ACTG")
#' gc_content("ACCTGTTGACCAA")
gc_content <- function(s) {
return(100 * ... |
a7f6376121a4961dac616d34293846107cfffed3 | 8a87ac5a13ed42ef99a7f0e566e07e32207c885a | /refm/doc/download.rd | c09860b4c0b40433f6c20f26d73c0f0d3b5fc18b | [
"CC-BY-3.0"
] | permissive | mrkn/rubydoc | cf096e253afbe11d94a7b390645f18872754e5f1 | dff08665e8c537073d3ebab5b98d4bcd175055b5 | refs/heads/master | 2021-01-18T14:54:27.743911 | 2010-08-15T06:15:58 | 2010-08-15T06:15:58 | 876,651 | 1 | 0 | null | null | null | null | EUC-JP | R | false | false | 1,650 | rd | download.rd | = マニュアルダウンロード
この[[unknown:リファレンスマニュアル|Rubyリファレンスマニュアル]]は以下からまとめてダウンロードできます。
HTML 形式 (2005-11-29版)
* EUC
[[m:tar.bz2]],
[[unknown:zip|URL:http://www.ruby-lang.org/ja/man/archive/ruby-man-ja-html-20051129.zip]]
* UTF8
[[m:tar.bz2]],
[[unknown:zip|URL:http://www.ruby-lang.org/ja/man/archive/ruby-man-ja-utf8-html... |
32fc13dc2024665850c8c9f2dd88554ebe8b4754 | b264dc5e70fbceb7322690bdb2065b330d94b644 | /R_code/all_pdbs.R | 64f8dddf895b23b8dcbcc6c4fe3e6c4d14923b1e | [] | no_license | yobi-livingstone/Analysis-of-Antibody-VH-VL-Packing | 6d2c930301d0c2759107623be904dbed30dfe0fb | b43db1a7ad224fac2a9d5e5fb141fdad41055498 | refs/heads/master | 2022-02-16T14:15:01.281607 | 2019-09-12T13:59:01 | 2019-09-12T13:59:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 117,798 | r | all_pdbs.R | all_pdbs<-c(-39.828697,
-43.822898,
-42.917285,
-43.350009,
-47.443229,
-45.313827,
-44.448832,
-52.831369,
-48.487318,
-42.713188,
-46.496476,
-48.549944,
-53.084738,
... |
6d11d4bba4a2029d807d3e6900679848d0e9b596 | 2bfd2b59474b38750f91807f42f91453406c2429 | /tes_drought/Draft code/FTICR_tes_drought_code_VanKrevelenPlot_only.R | a57c3bb21bf3677cb755436dd31814cf7b19d612 | [] | no_license | kaizadp/suli2021 | 94ac3da36b35ac4033ca77517b41662d5f03b60e | 3b058ac1743c70921b3a4effe49436ae8471779b | refs/heads/master | 2023-06-25T15:02:41.437285 | 2021-07-28T18:46:46 | 2021-07-28T18:46:46 | 373,258,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,690 | r | FTICR_tes_drought_code_VanKrevelenPlot_only.R |
# 3. Van Krevelen Plot ----
gg_vankrev <- function(data,mapping){
ggplot(data,mapping) +
# plot points
geom_point(size=1, alpha = 0.5) + # set size and transparency
# axis labels
ylab("H/C") +
xlab("O/C") +
# axis limits
xlim(0,1.25) +
ylim(0,2.5) +
# add boundary lines for Van K... |
813499d47933f34885af4d553eee15f075efa9c2 | 81498a41a2c4c01b6005aa45847770a72cd2f84c | /man/ontTermAgg.Rd | 6bf74e1dca3522bf9632b61fc3d11cff44b9d25b | [] | no_license | KrishnaTO/OntologyTermAggregator | 8ccee7e553dcef94e7782524a2190a3868761819 | 4c71ac664e720d3dae159a0d9958ab1370e3c95d | refs/heads/main | 2023-01-10T19:00:24.360047 | 2020-11-14T03:29:47 | 2020-11-14T03:29:47 | 312,690,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 557 | rd | ontTermAgg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ontTermAgg.R
\name{ontTermAgg}
\alias{ontTermAgg}
\title{Get all results of term}
\usage{
ontTermAgg(searchTerm, yourAPIKey, format = "json")
}
\arguments{
\item{searchTerm}{Enter the term you want the combined data for}
\item{yourAPIKey}{ma... |
21ed86cfc2a1ce66c76178150a6f46563fde774d | 6ad152f997c2c64e341ac07feef7aea472e6c12e | /MCCauchy.R | 42607a4e1dba9ca31cff62e75546bb5106fb1aa3 | [] | no_license | cynesthesia/DistributionsR | 3d966db662fab1a769f0203eb793ab837cbc817f | 0375709aed23e9554510286b1764db4f0170f2ef | refs/heads/master | 2021-01-20T05:48:48.892002 | 2017-03-06T03:48:44 | 2017-03-06T03:48:44 | 83,864,291 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,513 | r | MCCauchy.R | # Problem 2 F(x): cdf of the standard Cauchy distribution (t-dist with df=1)
# (A): For x = 1, 2, ..., 10, compute a MC est of F(x) using Unif(0,x).
# Compare the results with pcauchy function
# Estimate the standard error and give 95% CIs
x <- seq(1, 10, length=10)
m <- 10000
cdf.U <- numeric(length... |
de30e4f940c8fc77f64416dfe422f9223a92be1e | 98550ab8b21f1d86f5954886911fc01498ef7699 | /R/utilities.R | 7b3dd521636f64fad169c79212276c576d6266aa | [] | no_license | lindbrook/packageRank | a68ee94e0ed3621e7f10239f1eb2d12dbb7c6530 | a83ebfaa05f6ee82b7e5ae76cf0b8a4c296b4dfb | refs/heads/master | 2023-08-04T21:18:01.261280 | 2023-08-01T22:00:29 | 2023-08-01T22:00:29 | 184,319,415 | 27 | 1 | null | 2023-08-01T22:00:20 | 2019-04-30T19:25:45 | R | UTF-8 | R | false | false | 9,944 | r | utilities.R | #' Extract Package Logs.
#'
#' @param lst Object. List of logs.
#' @param i Numeric. Day/ID.
#' @param pkg Character.
#' @param clean.output Logical.
#' @noRd
pkgLog0 <- function(lst, i = 1, pkg = "cholera", clean.output = TRUE) {
cran_log <- cleanLog(lst[[i]])
tmp <- cran_log[cran_log$package == pkg, ]
tmp$t2 <... |
6dc65d9b0a4b75dd760cd05c4e4037dfa6bc5797 | a6a058f6cb3b62c520c527fcaf67f95b3ce87491 | /CDBcleanup_fullpar_phone_match_upd.R | 99a656a621eda9ecf379e8ee50f54bcf76be7002 | [] | no_license | rvsreeni/R_customer_tagging | 1f407438a5d3ddc7528e71134be530b3f4e8d05f | 66d94a6ea1edef20a9a40390eed6852a5aa28c5c | refs/heads/master | 2020-04-07T01:43:24.385588 | 2018-11-17T04:46:14 | 2018-11-17T04:46:14 | 157,949,516 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,398 | r | CDBcleanup_fullpar_phone_match_upd.R | #Load Phone boundary check code
#Check boundaries of chunks to see if records (with same Phone#) spanned across 2 chunks, and if so, move them to 1 chunk
if (exists("ParFn_phone_bndchk", mode="function"))
source("./src/CDBcleanup_par_bndchk_func.R")
bdwlist <- NULL
bdwlist <- c(basedatawrt12, basedatawrt22... |
f8fe58e7429ee203ed4ee00baef08a7c73fc16b4 | bbb686ee52e305f066b38178cb9d098f8d5c4c63 | /ui.R | b6bde70e9a6a2647d3ae3986a3b20e3635d83d80 | [] | no_license | multipass/epascore | 15ae958a0031b56b070538d9b8e10b4bf22d6a2e | 60d0d8ea5b33898e828b31edba089ab83ac75a80 | refs/heads/master | 2020-12-24T20:52:18.853946 | 2016-05-08T22:26:00 | 2016-05-08T22:26:00 | 58,307,336 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,204 | r | ui.R | library(shiny)
library(readr)
#Local copy of vehicules data
#Source http://www.fueleconomy.gov/feg/download.shtml
archive.loc <-"feg_vehicules.csv"
df <-read_csv(archive.loc)
df$cylinders<-as.factor(df$cylinders)
df$drive <-as.factor(df$drive)
df$feScore <-as.factor(df$feScore)
df$fuelType <-as.factor(df$fuelType)
... |
e7d0231dd1ba79aef98b71f30e592dbda6a5c57b | 2b5895474a98cca1d0d41e7f44a21b28ac07aee6 | /ad_hoc_analysis/win_rate_x_goalkicker.R | c7f2b5e34b9308d36220c45c01ac37f833990b12 | [] | no_license | insightlane/score-progression | 7666c36ebdeaf1ac346e1da4982208ab92371a7a | ecf24455dcdb46ff149a3bbccaf33806bfb02755 | refs/heads/master | 2023-05-07T20:19:04.581541 | 2021-06-06T10:37:16 | 2021-06-06T10:37:16 | 288,646,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,694 | r | win_rate_x_goalkicker.R | library(extrafont)
library(dplyr)
library(ggplot2)
library(tidyr)
library(ggrepel)
score_progression_worm %>%
mutate(totalgoals = Team1CumGoals + Team2CumGoals) %>%
filter(Event == "G" & Team1 == Teamscore) %>%
##filter(Round == "EF" | Round == "QF") %>%
group_by(totalgoals) %>... |
a2b973d44bbecc890c2a9048e143f0ef8c34dfec | 77157987168fc6a0827df2ecdd55104813be77b1 | /onlineforecast/R/rls_predict.R | 4726cef9299a42298536529b4d50490f71cea7d1 | [] | 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 | 3,393 | r | rls_predict.R | #' Use a fitted forecast model to predict its output variable with transformed data.
#'
#' See the ??ref(recursive updating vignette, not yet available).
#'
#' @title Prediction with an rls model.
#' @param model Onlineforecast model object which has been fitted.
#' @param datatr Transformed data.
#' @return The Yhat f... |
690b52c80176371fb89815b938e2fa2bff3875ba | 8a3635f03033b6f29a1572ccfd63c215e58ad31f | /03_R_100_knocks/Questions/Week-06.R | df0c6267d37f0f15af4da711f034a5bda67f9b5a | [] | no_license | rekkoba/100_knocks_challenge | 232ee3a58c7e6bb3a67721d17f2878d369d18d86 | 5e2155834f11d93ac849f4b959efaf5da0e95b87 | refs/heads/master | 2023-07-16T18:26:24.767125 | 2021-09-04T00:14:33 | 2021-09-04T00:14:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,688 | r | Week-06.R | # Week-06
getwd() #ディレクトリ確認getwd() #ディレクトリ確認
setwd("C:/Users/iiats/OneDrive/デスクトップ/100本ノックチャレンジ/03_R_100_knocks/Questions/data")
getwd() #ディレクトリ確認
# DataFrameの準備
df <- read.csv("titanic3.csv", header=T)
df2 <- read.csv("data1.csv", header=T)
df3 <- read.csv("data1_2.csv", header=T)
df4 <- read.csv("data1_3.c... |
1f61afb98a90a541b80ca656d21f5cc8c9ae7d89 | f9e0b8d507319ae144d17729b520388137e27c35 | /CleanData/PerceptionAnalysis.R | b0104c0c24b5bfb9be63c3355c237741c7ce8822 | [] | no_license | meumesmo/Evaluation | 6381262ded042bff84c88ef3b3030919076df706 | a4ea35f9cd43fd97f09aa00ed04a552264769302 | refs/heads/master | 2021-01-11T23:01:00.402265 | 2017-03-20T11:37:16 | 2017-03-20T11:37:20 | 78,534,689 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,471 | r | PerceptionAnalysis.R | ##PERCEPTIONS ANALYSIS
##Install packages
install.packages("devtools")
library(devtools)
##Likert Packages
install_github('likert','jbryer')
library(ggbiplot)
##RUSSIA NUMERIC VALUES: LETI, KAI, OMSU, TVER, NNSU Only questions
Rupeold <- rbind(LETIpeold[,8:35], KAIpeoldfirst[,8:35], KAIpeoldsec[,8:35], OMSUpeold[,8... |
0ab7f327bc34db7c2331f2d9f9812cbd2d235c17 | 911ca0cc0da0e0405b6e7ba5765d5c8c25077810 | /1_summary.r | 7984854c5378710808c17c30453f9cf667395c09 | [] | no_license | sardormirzaev/-measuring-volatility-spillovers | de0d331c60c1a431ee05b892974f8c1e17523fce | 442fb958997440a7c1badff9cc88c8d9bbf83ac2 | refs/heads/master | 2022-08-29T00:20:08.932304 | 2020-05-31T07:41:48 | 2020-05-31T07:41:48 | 268,231,853 | 12 | 6 | null | null | null | null | UTF-8 | R | false | false | 2,165 | r | 1_summary.r | library(moments)
library(tseries)
library(reshape2)
#### table generator funtion for latex
plot.tab.tex <- function(data){
data <- as.matrix(data)
c <- ncol(data)
r <- nrow(data)
cat("\\begin{tabular}{l")
for(j in 1:c){cat("r")}
cat("} \n")
cat(" & ")
for (j in 1:c){
... |
7a705b1f335117e765c42cd704091b281664108a | 66ccb8012097d72c6bc3b0c24aae556b986c4b2c | /plot3.R | f0bb12e847862222d01d88d98556b0d11c1a31cb | [] | no_license | chahidazarkan/ExData_Plotting1 | 367297718c17073347f27fdd6bd7d701584ed321 | d45859703860b2316b61f4178aa87762d6583888 | refs/heads/master | 2020-12-11T08:07:12.259604 | 2016-03-11T14:45:01 | 2016-03-11T14:45:01 | 53,565,900 | 0 | 0 | null | 2016-03-10T07:54:48 | 2016-03-10T07:54:48 | null | UTF-8 | R | false | false | 1,577 | r | plot3.R | #load the libraries
library(dplyr)
library(lubridate)
# set the download location
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata/data/household_power_consumption.zip"
#create a temporary file
temp <- tempfile()
#download the file
download.file(fileUrl,temp, method="curl")
#read the data
hpc <- read.csv(un... |
bc053e84c9b64530a381120f95c337d203bb510e | 7a29163ac6095d3edac155de544a58b8dd23f07c | /plot4.R | 393506e62e75403d6867b76ef5b56779c4dc8b99 | [] | no_license | suppletree/ExData_Plotting1 | c5a3460882bab085895cea97201d1966c261c7e5 | edbd7dc9de8d072bc8eb961e9ec45569cac55c33 | refs/heads/master | 2021-01-16T20:32:29.835350 | 2016-02-28T05:39:27 | 2016-02-28T05:39:27 | 52,700,604 | 0 | 0 | null | 2016-02-28T02:26:14 | 2016-02-28T02:26:13 | null | UTF-8 | R | false | false | 1,699 | r | plot4.R | ## setwd("~/cr3wk1")
## Read data and set "?" as NA
pconsumeData <- read.table("./household_power_consumption.txt", sep = ";", na.strings = "?", header = TRUE)
## Subset the dataset to only 2007-02-01 and 2007-02-02
pconsumeData <- subset(pconsumeData, Date %in% c("1/2/2007","2/2/2007"))
## Create a "DateTi... |
0cd6cd02c219afd19def834b6a8042fa5a224df4 | 4cf6b39f7078a8ae7791d0334eb0f3edcd80750c | /R/linux_clipboard.R | 96416e8321adbc094a51fd40a107f2e498831b3d | [] | no_license | lmmx/clipr | a8573d5dbd43cdccdd502d848fa7a23f571372cc | f70db7a9456a0e131296a5b23ed4bb9501892b20 | refs/heads/master | 2021-01-15T17:37:01.659399 | 2015-08-31T01:39:15 | 2015-08-31T01:39:15 | 41,516,479 | 1 | 0 | null | 2015-08-28T02:37:57 | 2015-08-27T23:32:42 | R | UTF-8 | R | false | false | 2,077 | r | linux_clipboard.R | # Function to stop the read/write and return an error of missing clipboard software.
notify_no_cb <- function() {
stop("Clipboard on Linux requires 'xclip' (recommended) or 'xsel'. Try using:\nsudo apt-get install xclip",
call.=FALSE)
}
# Helper function to read from the Linux clipboard
#
# Requires the Linux... |
ce4544638797e2c3e4de906052837c2813e40af5 | d171f25da232e963dd938b64b5159aab13c32da2 | /Keloid_main/rna_seq_qa_2.R | 0aacfb03f6560053709789d4195f5997a3cebfb7 | [
"MIT"
] | permissive | uhkniazi/BRC_Keloid | bac8b972a5def699da2afa676026aa51b48958e1 | 57032328576d24948a611f5c6fe1ee7193cd5b05 | refs/heads/master | 2020-04-12T06:23:18.075595 | 2017-11-23T11:34:13 | 2017-11-23T11:34:13 | 65,537,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,512 | r | rna_seq_qa_2.R | # File: rna_seq_qa_2.R
# Auth: uhkniazi
# DESC: quality checks on the rna-seq data
# Date: 23/08/2016
## set variables and source libraries
gcswd = getwd()
setwd('Keloid_main/')
library(downloader)
url = 'https://raw.githubusercontent.com/uhkniazi/CFastqQuality/master/CFastqQuality.R'
download(url, 'CFastqQuality.R')... |
ab2ba60e2c2935260d7c43d295ea9671c907143f | a18c2a7cf79b96fd50d45dab7493a482d37eddb0 | /data/cellrangerRkit/man/load_cellranger_analysis_results.Rd | b36e789a6fe761edab4bf1dca3cd413adedae83a | [
"MIT"
] | permissive | buenrostrolab/10x_scRNAseq | b6514c07873ae2a9c8959498234958fb833db568 | 8e65ceffd8a7186d0c81b159e6b316bc2bfdc6bf | refs/heads/master | 2021-01-11T01:53:54.856901 | 2016-11-21T03:41:37 | 2016-11-21T03:41:37 | 70,646,869 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 878 | rd | load_cellranger_analysis_results.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/util.r
\name{load_cellranger_analysis_results}
\alias{load_cellranger_analysis_results}
\title{Load Cell Ranger secondary analysis results}
\usage{
load_cellranger_analysis_results(pipestance_path)
}
\arguments{
\item{pipestance_path}{Path to... |
d7d40aed6e0448c451bde0a1f3d34f0061e59eec | a4bf8ea2ca052a6ebaa8d32ea427eb4f747e3b67 | /R/getWM.R | fa08ffea1cc3aa0fcc58f29d57584f5e9fe41a2e | [] | no_license | cran/edl | 941498a8f2b8d8df00ffa7c317d707ff25c189f9 | c40160df056e31bfafda4197405bddf89158d4b4 | refs/heads/master | 2023-08-11T09:11:13.818275 | 2021-09-20T06:40:05 | 2021-09-20T06:40:05 | 357,249,841 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,208 | r | getWM.R | #' Retrieve all cues from a vector of text strings.
#'
#' @export
#' @param wmlist A list with weightmatrices for each learning event,
#' generated by \code{\link{RWlearning}}.
#' @param event Numeric: for which event to return the weight matrix.
#' Defaults to NULL, which wil return the last weight matrix.
#' @retu... |
7eaed443734730c76b00b3b18d061ccf0be50a01 | bb7a9c7a631393e10a83ccc55febf06526f0265a | /sentiment_analysis/visualisation.R | 6976e1d16e841ab9b685331ebe94958bb9591350 | [] | no_license | thalvari/SpamReviewGenerator | ebe8442104c38b7aeaf2570ed9c371dbd0fa1ce8 | e5dad6fe5a13e898bdc15cd9a09ad972c3d5c571 | refs/heads/master | 2020-03-28T23:09:09.999711 | 2018-10-29T21:34:31 | 2018-10-29T21:34:31 | 149,278,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,118 | r | visualisation.R | library(tidytext)
library(dplyr)
library(stringr)
library(ggplot2)
library(gridExtra)
#the input file should have all 6 different review categories in it and the columns should
#consist of 'rating', 'text' and 'category', rating should have a numeric rating of a review
#'text' should contain the review text itself, an... |
bb094b75550f761cc387cf1cc426f5bfa8e75bec | 1cd2b7d5a6af6717509c2a2ad7a6c07b707f6900 | /2021/laboratorios/LAB02/utiles/chi2test_multiples_atributos.R | b870e562fe61818ab5ade16bd21381cb7ddb372e | [] | no_license | dm-uba/dm-uba.github.io | 38531b23957d25e5295ab79f588a7ade94191b76 | 9ae84d6be651333aee5cac823e2784c8d8d6f492 | refs/heads/master | 2023-06-11T01:43:27.390649 | 2021-07-10T01:17:59 | 2021-07-10T01:17:59 | 343,927,914 | 2 | 10 | null | null | null | null | UTF-8 | R | false | false | 517 | r | chi2test_multiples_atributos.R | data = data.original
for (i in 1:(ncol(data)-1)) {
if(is.factor(data[,i])) {
cat('Es factor: ', names(data)[i] ,'.\n', sep="")
for (j in (i+1):ncol(data)) {
if(is.factor(data[,j])) {
cat('Vamos a calcular chisqtest entre: ', names(data)[i] ,' y ', names(data)[j], '.\n', sep="")
tbl_con... |
0fbeb3eec6e971c0fc0aebd2b7fe9da8e484bbd0 | e9f1f3b80d0978c3377997e8abed43230cb6380e | /R/listToParams.R | 1d091651e297414b217ae4623cbe0fb1a537ff84 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | fcocquemas/rtumblr | d3faed61a3a4d14e0f8305a6efd86af312d4c7cf | c80cd6ed0392dfc76d9d7f4b163846bb185d4180 | refs/heads/master | 2021-01-23T04:10:05.901064 | 2012-10-11T11:44:16 | 2012-10-11T11:44:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 573 | r | listToParams.R | #' Collapse a single-level list to URL parameters
#'
#' @param par list of parameters
#' @return character vector of URL parameters
listToParams <- function(par) {
if(length(par) > 0) {
par <- sapply(1:length(par),
function(n) {
if(!is.null(par[[n]]))
... |
81e8cfaf71d8b9101d1266545a2a1bc5813cf4d0 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/NAM/inst/testfiles/emBL/emBL_output/log_3dfa95c4118fdc8e3ae8e28437698d9ba853e18f/emBL-test.R | 2c09d04d2ebb77fc9926fd3b97e28fe64ac8d0a9 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,835 | r | emBL-test.R | testlist <- list(alpha = -1.86578883789805e+256, gen = structure(c(3.51717968818147e+276, 1.26217642061503e+303, 2.16951552437276e-50, 1.42775424140385e+29, 7.43166794673685e+217, 5.50634782850172e+131, 1.99823208614144e-124, 4.48183848947735e+207, 2.01264058748702e+121, 6.01202720326984e-103, 6.83795161186921e+36,... |
d4662eaf303d059348fd8eb9ae36b7aa19c75750 | 7c6b5502b56e7be64f87dcb474f5f01ac88992a5 | /man/nwt.Rd | a19e8e65721c3f48aaec0dae6dd2951187481985 | [] | no_license | rxmenezes/rscreenorm | c4cc575c3c5c1f05aec3d7c14448a13452a7c310 | 88c8abca441fd8894d026a351c232ae832d5b228 | refs/heads/master | 2020-03-24T17:21:31.899634 | 2018-08-05T06:43:08 | 2018-08-05T06:43:08 | 141,115,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 457 | rd | nwt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aux_functions.R
\name{nwt}
\alias{nwt}
\title{Extracts the number of well types}
\usage{
nwt(data_rscreen)
}
\arguments{
\item{data_rscreen}{an rscreen.object}
}
\value{
A numeric value.
}
\description{
To be used internally, this function ex... |
670211c5cd6f8cf7479eec73a697971e51da23ce | 134aa45491390c876501c9d0d9930b561bd91db6 | /Problem_4/rkhinda_prob_4.R | a5d0d29e98ed1636dbaa42cb60770b2c0b912691 | [
"Apache-2.0"
] | permissive | ramanpreetSinghKhinda/CSE_587_Statistical_Analysis_Using_R | a9ba73fbaf71fb49500985dcca49db297b26e4cc | 5a0c0a354303d92c6cc49f3908e0d81a7d3ef709 | refs/heads/master | 2021-01-16T23:22:25.612730 | 2020-08-10T15:53:47 | 2020-08-10T15:53:47 | 59,958,879 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 41,519 | r | rkhinda_prob_4.R | install.packages("rjson")
library(rjson)
library(streamR)
setwd("/Users/raman/Documents/SUNY_BUFFALO/DIC_CSE_587/Project_1/Problem_4")
tweets_manhattan <- fromJSON(file = "Tweets_Manhattan.json")
df_manhattan <- data.frame(tweets_manhattan[[1]]$id_str, tweets_manhattan[[1]]$created_at,
t... |
7d7eb8e6d12509c97debfb791c666291e5ab8ff7 | 208b25a80840f5c1ef3c82db6014abbc47502387 | /src/ISLR_10-4-Lab.R | 56a6bc4dda681a6dcdb9024ec37ec4285f50de0f | [] | no_license | arnold-c/stat508 | 44a200c7bbbaacd65c8e8a0eb5fbac9ec109b6f0 | f8d94d678efde328d671c894b9a197ca8b4e2fa7 | refs/heads/master | 2023-01-13T21:33:23.476942 | 2020-11-24T17:03:55 | 2020-11-24T17:03:55 | 294,135,318 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 999 | r | ISLR_10-4-Lab.R | # Set Up ------------------------------------------------------------------
library(ISLR)
library(glmnet)
library(tidyverse)
RNGkind(sample.kind = "Rounding")
set.seed(1)
# Q1 ----------------------------------------------------------------------
states <- row.names(USArrests)
states
names(USArrests)
apply(USAr... |
c9c1c5b5c965e7bbc1f7498165de3b1b9654cf81 | 9a35b9d1e53d6dc65700076c2e7ab286b98cdeb7 | /.#Extra/Kdi.R | 209e0a2780705811aac729a4569cbd80f50d82f7 | [] | no_license | minghao2016/dbmss | 7b042a6a91d58dc55179c3e2692683593ff8f6c0 | 2344071e57ff392c18c28a2b7822db3f41f02dc7 | refs/heads/master | 2023-01-03T13:33:27.042091 | 2020-10-31T09:32:19 | 2020-10-31T09:32:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,421 | r | Kdi.R | data(paracou16)
X <- paracou16
ReferenceType <- "V. Americana"
NeighborType <- "V. Americana"
plot(X[X$marks$PointType=="Q. Rosea"])
# Vectors to recognize point types
IsReferenceType <- X$marks$PointType==ReferenceType
IsNeighborType <- X$marks$PointType==NeighborType
# Eliminate useless points
X <- X[IsReferenceType... |
3870db2d251adb6d5ae34ccf66278962890c2738 | 374d430ce30df66160db33e260579a26a8b143f0 | /Accuracy.R | fd3373bf4df86ce3225639645ea83ee0aae23194 | [] | no_license | TBKelley/PredMachLearn_PeerAssessment_01 | 47e3f9488eccb1cfaaacaa46b460b880eead4c83 | 05df0b7589b17c6080b4ea2408ab5e713bda404f | refs/heads/master | 2020-05-29T13:18:08.815704 | 2014-06-21T04:36:41 | 2014-06-21T04:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 354 | r | Accuracy.R | # Accuracy.R
#
# Print the fitted model accuract
#
library(caret)
Accuracy = function(fit, strDataType, df){
pred <- predict(fit, df)
pred.Correct <- pred == df$classe
accuracy <- sum(pred == df$classe)/length(pred)
modelName <- class(fit$finalModel)[1]
sprintf("%s %s Accuracy = %3.1f%%", modelNam... |
847202cfb6aff5ff01ce2e2abee737c9c153b88e | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /ALassoSurvIC/R/log_penlikelihood.R | 32bf5e9029dc20273f4046d0c8202de713d44be5 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,015 | r | log_penlikelihood.R | log_penlikelihood <- function(b, arglist) {
n <- arglist$n
npmle_set <- arglist$set
u <- npmle_set[,2]
l <- arglist$l
r <- arglist$r
r_cen <- is.infinite(r)
lr <- cbind(l, r)
z <- arglist$z
trunc <- arglist$trunc
tol <- arglist$tol
niter <- arglist$niter
distance <- tol + 1000
iter <- 1
ol... |
cf2bb1389409ef4d790264b2ae7c5c97e96c0b24 | c20f6eb14009096caff968b1d80e06fb25bf583d | /man/to_numeric_vector.Rd | dbe7d980e5c42a2bd4c5180dca2daa91bca13d16 | [
"MIT"
] | permissive | YanVT/MATSS | b11b1eb33e893d06acfbf94bcd68d1405b7abb99 | 75940bdc39883081b6253c7a1e9a7052853f92de | refs/heads/master | 2023-05-21T16:49:55.800479 | 2020-05-13T05:22:12 | 2020-05-13T05:22:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 353 | rd | to_numeric_vector.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-data-summarize.R
\name{to_numeric_vector}
\alias{to_numeric_vector}
\title{Extract a numeric vector}
\usage{
to_numeric_vector(x)
}
\arguments{
\item{x}{the input data}
}
\description{
Extract a numeric vector from a data.frame or a mat... |
3df759e20c0cdfe0d990e941a18560ab99914fc9 | 49df0f3d24cc70379c144ef1ae5cd120bec114b3 | /capitulo_01/exercicios-1.3.R | 0725abfbee70c10af1462f6e3611968917aebfc9 | [] | no_license | lidimayra/bayesian-analysis | 40a9babb01525be3c6a25ae9e0557a7e73d207cb | 32abea22693c355fa9e72c0e679e9b236c7732f1 | refs/heads/master | 2021-01-16T18:26:55.699963 | 2017-08-12T16:28:11 | 2017-08-12T16:28:11 | 100,082,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,327 | r | exercicios-1.3.R | #!/usr/bin/env Rscript
# Exercícios
# 1.3 Estimativa dos parâmetros com o uso de um modelo de regressão linear.
# No exercício anterior, fizemos uma simulação simples de uma amostra de
# relação entre comprimento (objeto comp) e peso (objeto pr). Vamos fazer uso
# desta "amostra" para tentar estimar os parâmetros α e ... |
9ec4da28006be6322440ea78198fe5b3dfbeedc4 | b58ef6361161adfad9bdc7cc1b23c4988030fbe3 | /stuff/cf_resources_geocode.R | 960b8135ccd719d7964ef5f3cab0544ded5738f0 | [
"MIT"
] | permissive | DSPG-ISU/DSPG | 01b9ec9a3dd02cd2ee7e52a28ba22f6d312ad2f8 | c20b50c1dd28eedd879a9226b5f6511a0471c870 | refs/heads/master | 2023-02-26T12:54:52.616558 | 2021-02-05T05:44:04 | 2021-02-05T05:44:04 | 277,006,430 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 543 | r | cf_resources_geocode.R | library(tidyverse)
library(ggmap)
library(ggplot2)
library(dplyr)
library(sf)
library(leaflet)
cf_resources <- readr::read_csv("cfrhelp_scrape.csv")
cf_resources <- cf_resources %>% mutate(
search_address = paste(Address, City, State, Zip, sep = ", ")
)
register_google(key = "your api key", write = TRUE)
cf_resourc... |
5f3b6a7246ce68c3427eca973330defed3df2e3e | 8f1d12e7ed4f9d726a7b30ba939210e3254c41ea | /log scale IS.R | 911a007b5b9ef75d53eec00e069790d6aa5de7ea | [] | no_license | Mckzz/Ionic-Strength | 4d3c02fce33400fd6d04c69ef9b40c7ffaf28450 | 4cba788420a53222dab84429565ad3a19c6663ea | refs/heads/main | 2023-05-30T06:09:58.976135 | 2021-06-10T07:44:16 | 2021-06-10T07:44:16 | 375,593,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,195 | r | log scale IS.R | library(tidyverse)
library(ggplot2)
IS_NaCl <- read_csv("~/student documents/UBC/Research/chaoborus imaging/Square capillary/2021_06_08 IS using NaCl/IS_NaCl.csv")
view(IS_NaCl)
ISlong <-
pivot_longer(
IS_NaCl,
cols = c(`1`, `2`, `3`, `4`),
names_to = "larva", values_to = "area")
#mutate(larva = as_f... |
b261faf006dfa34cbe8f485eba240315413eb838 | 34863e69f7bf6fdc9e5726f3ccc8eb2bec63c14a | /R/resp_styles_to_mplus.R | 4d4286d6243518ece9cc2ca7dfbf438f8a43df44 | [] | no_license | tzoltak/rstyles | b9d2bf5c1ba0e0265ed57c85795b48e4b7b8d6a0 | 6d8150632c8267786d9f406a65ad5267c4cccee3 | refs/heads/main | 2023-04-17T18:43:03.038970 | 2023-02-09T13:53:14 | 2023-02-09T13:53:14 | 312,404,647 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 41,868 | r | resp_styles_to_mplus.R | #' @title Preparing Mplus code to estimate RS models
#' @description Prepares components of Mplus model description syntax for
#' IRTree model.
#' @param data a data frame
#' @inheritParams make_mplus_gpcm_vmmc_syntax
#' @param output optionally a character vector of Mplus options defining what
#' type of results shoul... |
c70982c78e48ab0d44831409eeb45049e0dfef1c | d86722c152f1db122d4f5c88d15964399c19ed4b | /run_analysis.R | 35ae16bc1ef192904a1af62b2283ef5615995543 | [] | no_license | alexanderAnokhin/GCD_course_project | 318ad58e4a9175e70904c9a835ab10c6897e4dc1 | 9992b077cc62d3d1cad6df486accace15d144d50 | refs/heads/master | 2020-12-25T16:47:45.994538 | 2016-08-22T09:05:12 | 2016-08-22T09:05:12 | 66,199,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,739 | r | run_analysis.R | ## Read train dataset
train <- read.table(file = "UCI HAR Dataset/train/X_train.txt")
train.labels <- read.table(file = "UCI HAR Dataset/train/y_train.txt")
train.subjects <- read.table(file = "UCI HAR Dataset/train/subject_train.txt")
## Read test dataset
test <- read.table(file = "UCI HAR Dataset/test/X_test.txt")
t... |
df39e576d738d38193f71ab61d92c5744a2cf2d7 | 31dad25f94ca56b17eb851b49017dc6d32b51918 | /src/viz/barplot_of_intersected_chromHMM_states.R | d759af612405800a169e3e8de662a0673f952045 | [] | no_license | Adrien-Evo/CM-IPS_maturity | bbcd25f044e22d5a004b1f16a1663e59be5d6b03 | e70a2e95db2b48a72dd2dfa1021431cc7a99dba6 | refs/heads/master | 2022-12-19T19:27:54.552748 | 2020-09-25T14:59:41 | 2020-09-25T14:59:41 | 273,013,309 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,982 | r | barplot_of_intersected_chromHMM_states.R | library(yaml)
library(ggthemes)
library(tidyr)
require(scales)
#library(GenomicRanges)
#library(bedr)
library(reshape2)
library(ggplot2)
library(dplyr)
radio = read_yaml("/home/itx1433/Documents/PROJ/CM-IPS_maturity/data/radiofile.yml")
outDir=paste0(radio$viz,"/barplot_of_ENCODE_states_for_each_CMIPS_chromHMM_states... |
7eaada12717ed78ed8aba17545d27f338a927b6b | f491d752d4d79cd5f739d74c4b169a88a5eb0f25 | /run_analysis.R | 5af40474757a5c00f85b7da2ca08b52ba8fe187e | [] | no_license | arsenitheunicorn/getting_cleaning_data_R | 53391b9d58db6cb7d288a2d34821c7237794b39c | cff0df17953e7df00afd36ea33501950ab903a3c | refs/heads/main | 2023-04-06T14:16:42.427996 | 2021-04-07T14:57:17 | 2021-04-07T14:57:17 | 355,579,283 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,208 | r | run_analysis.R | #setwd('../desktop/study/getting_cleaning_data')
# here is the data we work with
zipURL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
# create a folder for this project
if (!file.exists("project_data")) {
dir.create("project_data")
}
# download required .zip ... |
0f0bc135b8f56ffa99ea7d10fc45ae156979a99e | 54267662dca87e5964e8c9fbaf57167ad6a50817 | /man/calculate_E_blouin.Rd | f45083c5658c614ea106f26cffa73c2f030795aa | [] | no_license | wouterbeukema/ectotemp | 1e219d448c593622adfaddefad7237b9756a4e21 | 540fe25c03751320cb38584eea2275effc985c23 | refs/heads/master | 2021-07-06T07:32:47.455691 | 2020-07-27T13:36:05 | 2020-07-27T13:36:05 | 150,030,342 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,281 | rd | calculate_E_blouin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calculate_E_blouin.R
\name{calculate_E_blouin}
\alias{calculate_E_blouin}
\title{Thermoregulation effectiveness sensu Blouin-Demers & Weatherhead}
\usage{
calculate_E_blouin(te, tb, tset_low, tset_up)
}
\arguments{
\item{te}{A vector... |
f4213d7692c0efe953322b10f2e074c810029568 | 586b69ecc99fc3854b5eb5f7d4ad5c400c1612db | /graphs.R | a4585798a8e55b920c0145165b5b4c2ad047d71f | [
"Apache-2.0"
] | permissive | mfarr76/WellTabls | ef971e2734bbe663d972daee577e19b3522ba22d | 08bc09108701acead18d31d199ea886a44b080d7 | refs/heads/master | 2020-03-26T00:21:25.285765 | 2018-08-10T17:52:49 | 2018-08-10T17:52:49 | 144,316,707 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,773 | r | graphs.R | rm(list = ls())
# Library
library(dygraphs)
library(xts)
# Create data
trend=sin(seq(1,41))+runif(41)
data=data.frame(time=seq(from=Sys.Date()-40, to=Sys.Date(), by=1 ), trend=trend, max=trend+abs(rnorm(41)), min=trend-abs(rnorm(41, sd=1)))
data=xts(x = data[,-1], order.by = data$time)
# Plot
dygraph(data) %>%
... |
60141ae75e7a673c73b848dae1ecb036406d9568 | 5df4be881c178d95869a8ee8dcb12c03f52b743c | /R/getMetricData.R | a0dffb1ffbcf3f9ab754c22abe07441a8241e4e0 | [] | no_license | cpanse/MSstatsQC | a6672e2bd04379a683ed6473aad5b96bfaafc736 | 648c909e35b0935bea51177db41bb1da5d05300d | refs/heads/master | 2021-01-22T18:08:31.692764 | 2017-03-10T15:48:26 | 2017-03-10T15:48:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 662 | r | getMetricData.R | getMetricData <- function(prodata, peptide, L, U, metric, normalization) {
precursor.data<-prodata[prodata$Precursor==peptide,] #"Precursor" is one of the columns in data that shows the name of peptides
metricData <- 0
if(is.null(metric)){
return(NULL)
}
metricData = precursor.data[,metric]
if(normali... |
59834293a3677adef8ee5c13b54ba729a674a519 | 9a36b5e45fcd42b93365bd7f420b619195b87064 | /man/TsnePlot.Rd | 09ad4c01bf4517214f255368f7d5ddd65116b09a | [] | no_license | uilnauyis/homosapien-DEE2-data | 89adff0de09a7da6527e17b6e69689b8a5595523 | 89e9f5561103154ac8282073cd65523ff4f34fce | refs/heads/master | 2022-12-28T20:01:26.099631 | 2020-10-09T01:00:46 | 2020-10-09T01:00:46 | 260,235,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 483 | rd | TsnePlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TsnePlot.R
\name{TsnePlot}
\alias{TsnePlot}
\title{tsne analysis of the count data}
\usage{
TsnePlot(sExpr, plot = "3d")
}
\arguments{
\item{sExpr}{a SummarizedExperiment object that contains count data along
with gene information and sample... |
f3fcddddc7d822b4f1832ca803acbc71f91ca3ff | 288b4b6998906714ab368e0ee14c70a4059be4ab | /man/dat.nielweise2007.Rd | 6f7d958d6c5ee5686605d9a1995eca604e133030 | [] | no_license | qsh7950/metadat | f6243a382c8c0e3f4c9a0e2cd657edb0ffa3e018 | 5c70fa63d7acfa1f315534fb292950513cb2281e | refs/heads/master | 2021-02-26T06:42:18.937872 | 2019-10-21T21:58:33 | 2019-10-21T21:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,811 | rd | dat.nielweise2007.Rd | \name{dat.nielweise2007}
\docType{data}
\alias{dat.nielweise2007}
\title{Studies on Anti-Infective-Treated Central Venous Catheters for Prevention of Catheter-Related Bloodstream Infections}
\description{Results from 18 studies comparing the risk of catheter-related bloodstream infection when using anti-infective-treat... |
99ed84a5b7adf6fcb9152d0bb9ad175404bec029 | c48f2a584ba20fab90aaeab28b575e180a276928 | /R/GFORCE.R | dc4eba27d3a7b4fd7cab10a75ea8dd35da9e2123 | [] | no_license | cran/GFORCE | 3a2fab8e3cf3d07c18427332985d0901c00c17d7 | 1c89579c5ecce1e8aef93bd7d2854986b835454a | refs/heads/master | 2020-03-20T11:15:14.741926 | 2019-04-07T08:42:42 | 2019-04-07T08:42:42 | 137,397,785 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 811 | r | GFORCE.R | # Package level documentation
# FOR TESTS -- LOADS C SYMBOLS TO USE WITH TESTTHAT
#' @useDynLib GFORCE kmeans_dual_solution_primal_min_R
#' @useDynLib GFORCE kmeans_pp_R
#' @useDynLib GFORCE test_daps
#' @useDynLib GFORCE test_dsmtd
#' @useDynLib GFORCE test_dvexp
#' @useDynLib GFORCE test_dsumv
#' @useDynLib GFO... |
eb9ceae5c26d609430f94aeff68adf2f61e036f1 | 023267839ada61c94515f24ae2b782d2b844194e | /midtermExam/createDataset.R | 3b4de8db63516cf1fd36d05c7be81e87172b969f | [] | no_license | DarioBoh/ISDS3105_fall18 | 303399915687750d93e1d850d2fd07eb5870a2bd | 23bc7e464091e1641efec084c4803c612edebf0f | refs/heads/master | 2021-07-12T12:50:06.424984 | 2021-07-04T09:46:36 | 2021-07-04T09:46:36 | 145,449,465 | 0 | 25 | null | 2018-08-24T17:02:20 | 2018-08-20T17:28:20 | null | UTF-8 | R | false | false | 1,756 | r | createDataset.R | library(tidyverse)
library(lubridate)
library(chron)
dt <- read_csv('midtermExam/Baton_Rouge_Crime_Incidents.csv')
names(dt) <- names(dt) %>% tolower() %>% gsub(' ','', .)
select(dt, filenumber, offensedate, offensetime, crime, committed, zip, district, zone, subzone) %>%
mutate_all(tolower) -> dt
dt %>% filter(nch... |
86bdeee46a025021897d889c927938b30449c52b | 0284d04bccac0b83ff441b80574cf7874234724c | /R/RcppExports.R | e6f6183593155cef3c90811339cc78f772d68c91 | [] | no_license | kasparmartens/mixtureModels | 9555443bc52f13bc38f6bb369669874804a5fe22 | 1c29d3a50dda68395a173a6018e193909bc59263 | refs/heads/master | 2020-04-05T14:08:29.281121 | 2018-04-04T11:41:20 | 2018-04-04T11:41:20 | 94,789,309 | 8 | 1 | null | null | null | null | UTF-8 | R | false | false | 522 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' @export
chol_update <- function(LL, xx) {
.Call('mixtureModels_chol_update', PACKAGE = 'mixtureModels', LL, xx)
}
#' @export
chol_downdate <- function(LL, xx) {
.Call('mixtureModels... |
65f6c01f568c06424d838e957c872b845da2d59c | e54aaf041aef5c27670836bf47376b6fffb23474 | /man/single.boot.Rd | cfa1965a7c15b46f61d266e7568e56014ce74e31 | [] | no_license | cran/iDINGO | 70de597af0ff96a7c802713c0d6b7f07d6c40ffb | f0805797098590fe3e2b5168dafe72a2849c1f46 | refs/heads/master | 2021-01-19T17:49:52.398014 | 2020-07-30T13:00:02 | 2020-07-30T13:00:02 | 101,089,173 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 929 | rd | single.boot.Rd | \name{single.boot}
\alias{single.boot}
\title{
Calculating differential score for a single bootstrap
}
\description{
This function calculates the edge-wise partial correlation difference for a single bootstrap.
}
\usage{
single.boot(i, z, n, tY.org, P, levels.z, w.upper)
}
\arguments{
\item{i}{iteration n... |
3db107f6014c9d604b164f17760096378b10dbfa | 5d090e950f10f89b2e3df2acfd9a2aad4a5c91b1 | /Mod14/Projeto/07-ScoreModel.R | 5af9ed7866c308958f5df9fa6b8b3511be7724a3 | [] | no_license | mneresc/formacao_r_azure_machine_learning | db7542ed24a9577bfbd6763f92734e38c6066202 | 147237e1fd4ab26d3aa6d5d25ba4392cd79206b7 | refs/heads/main | 2023-05-12T08:35:26.965443 | 2021-05-19T00:25:58 | 2021-05-19T00:25:58 | 334,229,847 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,460 | r | 07-ScoreModel.R | # Score do modelo preditivo com randomForest
# Este código foi criado para executar tanto no Azure, quanto no RStudio.
# Para executar no Azure, altere o valor da variavel Azure para TRUE.
# Se o valor for FALSE, o codigo será executado no RStudio
# Obs: Caso tenha problemas com a acentuação, consulte este link:
# h... |
c15575d3480997cb7e237728749fcf72af31f73e | 583726d46d9f0cd8759027daf6fafc9f47f3640f | /ModelForQ7.R | 8cfbd4ed1dd09ce115efc1e7f52f639d80669561 | [] | no_license | agyurov/Gymnasium2 | c825d59b5c6aadbfd45d4901cc5ec371b995bfdf | a9e4b587ed715f3913764a93d509c63c317fb804 | refs/heads/master | 2021-01-20T01:13:29.148727 | 2017-07-07T10:17:05 | 2017-07-07T10:17:05 | 89,238,382 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,215 | r | ModelForQ7.R | dff = fb
names(dff) = gsub("^.*?_","",names(dff))
# ------------------------------------------
cat("\014")
str(dfu)
# Q7 only for fbook
# binary ------------------------------------------------------------------
mf0 = glm(edit ~ 1,
data = dff, family = binomial())
goodness(mf0)
summary(mf0)
mf1 = glm(edit ... |
d96a63192a2b2b12b8b081fca1661fba67b10010 | c3e693beafe67e6fb20afd158e9876770a3d3d3c | /Exhaustive-search/fixed-length/k_node_viz_unibi.r | f588679b613ce37304d5936a8534b1a408d9de2a | [] | no_license | rmuraglia/Schmidler | 8fd307f7393283d454c38600c29cc8f0adce6279 | 3026a84bf56da1477e2bf7f78d20c0f752de82cb | refs/heads/master | 2020-12-25T17:01:08.116539 | 2016-08-11T23:55:41 | 2016-08-11T23:55:41 | 57,866,522 | 0 | 0 | null | 2016-06-15T17:44:25 | 2016-05-02T04:44:07 | R | UTF-8 | R | false | false | 2,837 | r | k_node_viz_unibi.r | # k_node_viz_unibi.r
# import libraries
options(warn=-1)
suppressMessages(library(ggplot2))
suppressMessages(library(grid))
suppressMessages(library(gridExtra))
options(warn=0)
# set working directory
switch(Sys.info()[['sysname']],
Windows = {setwd('D:/Dropbox/pathsearch-exhaustive/uni-bi-symmetric/')},
Darw... |
dc31f9c4496090698d174c546fcee45931d4e2b9 | 5f82d1bc22e4ef72a63c58852a2d035e124f1a37 | /R/bupar.R | 5497db8012a7fcc41515eb5faf12797d4e91b950 | [] | no_license | cran/bupaR | 75608804ef045f678821740aaff123991d5d36b5 | ef020af22301e7aa8c82d62e4d01dd5aebaea99e | refs/heads/master | 2023-04-20T17:49:49.645967 | 2023-04-02T21:00:06 | 2023-04-02T21:00:06 | 86,215,725 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,302 | r | bupar.R | #' @title bupaR - Business Process Analysis in R
#'
#' @description Functionalities for process analysis in R. This packages implements an S3-class for event log objects,
#' and related handler functions. Imports related packages for subsetting event data, computation of descriptive statistics,
#' handling of Petri... |
c97d4a5cbfb73654c5c124d6b58f2040b18cfbb8 | fcd0086fde639019405c6cbebc382a03c09eeae9 | /tests/testthat.R | d259a7cdfc9317d527abaa3f56e77fd13a55a789 | [
"MIT"
] | permissive | amarsee/andrewacct | 5068c88e75662ee02cb08af1ff15124f071ae82d | 4158093f1b91ac0f95333336f97914577c27945d | refs/heads/master | 2020-06-03T16:35:46.768882 | 2020-02-18T20:02:15 | 2020-02-18T20:02:15 | 191,651,682 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 64 | r | testthat.R | library(testthat)
library(andrewacct)
test_check("andrewacct")
|
32a62ebd9b57bf69af71a8f16b55a4057b88a411 | 57f780626d36e07c5a824b9e24e092d6110a12c9 | /tools.R | 7a617a65b45ec69077529cbb9ad105be8a2bcb5d | [] | no_license | phanhung2/rps10_barcode | d173676fd7aed616bdbd3aca1c9bc280c17e759a | 76a5cb1a251df62363202f9593cd731515a5d7a4 | refs/heads/main | 2023-08-18T21:10:26.027377 | 2021-09-23T18:23:06 | 2021-09-23T18:23:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,249 | r | tools.R |
#' @keywords internal
parse_ft <- function(text) {
text <- gsub(text, pattern = "\n\t\t\t", replacement = "\t", fixed = TRUE)
parts <- strsplit(text, "\n\n", fixed = TRUE)[[1]]
part_data <- lapply(parts, function(x) {
first_line <- sub(x, pattern = "\\n.+$", replacement = "")
acc <- stringr::str_match(... |
98d7ba3f1c64b9c622a5e36b5c73ac16833908d8 | 3e522bd2b18d0e9fab5ae19a614ec2a86c91c64a | /R/app_args.R | f0def9082276b6f938c18ec1d327b9ddda3d6cd3 | [
"MIT"
] | permissive | yonicd/reactor | 1cf3f1c66bef851fc85fe74cdd456d85276b38dc | 4aa03f687b80c8b8b9e35cd37eba7c8543b891c7 | refs/heads/master | 2021-08-22T07:03:19.569947 | 2021-01-20T02:36:38 | 2021-01-20T02:36:38 | 219,646,466 | 60 | 2 | NOASSERTION | 2023-01-12T15:15:15 | 2019-11-05T03:06:54 | R | UTF-8 | R | false | false | 4,682 | r | app_args.R | #' @title Arguments to pass to a Shiny App in a child process
#' @description
#'
#' - runApp_args: Arguments that populate a [runApp][shiny::runApp] call
#' that will be run in a child process.
#'
#' - golem_args: Arguments that populate an app run via the golem package.
#'
#' The command is appended pre... |
2364f4d9cf72411924a60311a2ae049b8d432042 | c5dd7d41b2dce010e9d80d8121ce6bf1a884abdf | /src/Analysis.R | 9535b09851125077040baa7c19edab434fa229e9 | [] | no_license | DarioTrujanoOchoa/ArticleCitizenCandidate | 23d6f74523a5ccdde5d486a657fe2d9c1bdbf241 | 47d97c7e709a051212540b55adb2308b28813d3e | refs/heads/master | 2021-04-29T20:28:00.549324 | 2018-03-15T16:37:20 | 2018-03-15T16:37:20 | 121,596,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,157 | r | Analysis.R | rm(list=ls())
#setwd("C:/Users/dtruj/Dropbox/Citizen-Candidate/ArticleCitizenCandidate")
library(pacman)
p_load(dplyr)
p_load(tidyr)
p_load(foreign)
source("src/QRE_functions_2.R")
source("src/VotingRules.R")
source("src/functions_CitCand.R")
#Import raw data ####
## Merge data bases with the games of in... |
f4cd38b734e39ba4466512fe9190e91385a2672c | 9283b2a903149cc4cf33d4ece839a3aab9a73065 | /man/read_feats.Rd | 5faeab4bedc2a2731cb778c7032cfda5b97e99d3 | [
"MIT"
] | permissive | quanrd/gggenomes | 4193542dc3a8cc416f9dcd2774718ac0c918b49b | 1bfbdfe2a6f5b4c48b59cb3d2298be178fb3e2d1 | refs/heads/master | 2023-03-01T09:31:22.231667 | 2021-02-01T23:00:53 | 2021-02-01T23:00:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,412 | rd | read_feats.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_feats.R
\name{read_feats}
\alias{read_feats}
\alias{read_subfeats}
\alias{read_links}
\alias{read_sublinks}
\title{Read features and links from common file formats}
\usage{
read_feats(files, format = NULL, .id = "file_id", ...)
read_sub... |
45070f7b2d691c12c5752b05c5b593cd44c1a066 | 0002ad451346d510edbeb27d14ce213402f09b34 | /ClimatePackge/R/Hot_years.R | d7bdf39d438faa44fd828a7c83bc9fff2c1ed6ab | [] | no_license | Ebuciobustos/ESM262_Homework5 | fed6f0c946417d22ed77f970e173a064ffd39715 | 34dd970bd3dae07fe438b5140af91c8a47c3e6e8 | refs/heads/master | 2020-06-03T18:22:14.376635 | 2019-06-14T04:36:37 | 2019-06-14T04:36:37 | 191,680,924 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 968 | r | Hot_years.R | #' Summary information about the warmest years in Mexico from 1901 to 2016
#'
#' computes summary information about maximum temperature registered by year
#' @param TempMX_df data frame with columns temperature (celsius), year, month, city
#' @return returns the next information,
#' \describe{
#' \item{Temperature}{T... |
8aaed5df8d507c59fee5d696065479a76335cd75 | 23e3dc95a3a8be963267e3d7b65c1f61bc88d039 | /code/functions/fcn_implied_rho_phiphihat.R | d3980b617af034f89988fe594110f4aaf26b5cff | [] | no_license | jamesyae/LTY-JFE-2016 | 50f1bbcdc558f5bd8eba8c82cdb382dfb8b392d8 | 24d33babd663826971a9853b9f9e5a260ad37937 | refs/heads/master | 2022-12-06T06:31:04.755912 | 2020-08-12T18:52:01 | 2020-08-12T18:52:01 | 287,076,577 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,708 | r | fcn_implied_rho_phiphihat.R | fcn_implied_rho_phiphihat<- function(theta) {
# Global variables.
# true.sigma.a
# true.sigma.e
# true.sigma.n
true.phi = theta[1]
est.phi = theta[2]
est.Kx = theta[3]
## computation
true.w = 1/true.sigma.n^2/(1/true.sigma.n^2+1/true.sigma.e^2)
est.w = true.w
true.pis2... |
3f0a2dcec5769d554c7d5dcc1c91c4f74cce5cb2 | f70e46bce9bb8a5dd5c1701456f5478259cf2a36 | /R/doji.R | ebf7b645e89c43c95d6c29fac971ff4d51ce585f | [] | no_license | Roshan2540/CandleStickPattern | 9a038d928d6b41ae08d4c1aaec4142127cec2668 | f4211077891b9231d2d34dcf0118676825fb7c00 | refs/heads/master | 2023-06-25T05:13:26.809779 | 2019-04-19T14:26:27 | 2019-04-19T14:26:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 357 | r | doji.R | #' Determine Doji Pattern using a OHLC price series
#'
#' @param x OHLC prices.
#' @param delta sensitivity parameter
#' @return TRUE if Doji pattern detected
#' @export
doji <- function(x, delta = 0.1) {
WC <- CandleStickLength(x)
BL <- CandleBodyLength(x)
result <- xts::reclass(delta * WC >= BL, x)
colnames(... |
de7808c9c1afc2ea90fd5e8936393f4601146203 | 05c7279b7779f67294adf57caecdc5a4e69846c8 | /cachematrix.R | b82ba4645fbbc74065ae45a4c840aab0a405e4ec | [] | no_license | UHWesley/ProgrammingAssignment2 | 634c01a019af8d32ffad6f9d917ae541d86280ff | 1d607e9ccf3b415f8b715c9b5dfbf44112c0eae4 | refs/heads/master | 2021-01-14T14:29:00.930350 | 2014-11-23T09:33:34 | 2014-11-23T09:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,422 | r | cachematrix.R |
# This is not a beginners course in R
# This is a data container holding a matrix and optionally its inverse.
# There is no validation, you can add wrong values.
# The function will return a list of 4 functions that sets or gets the matrix
# or the inverse matrix. No computation, only data storage.
makeCacheMatrix <- ... |
bef46d6c0f92a66e4b7e68b306c0db665583924f | d896dd61719b72892fefa9d0bc5d8a26ab692123 | /cachematrix.R | 1a1f9c4cb6c0cbbc882b352b5df378bba2127c2b | [] | no_license | joycecc/ProgrammingAssignment2 | 55abdb5de2511028291636bf5bb84d86df2ecb69 | dd6b932c6c142668400ba60cad5821c014a00fe4 | refs/heads/master | 2021-01-18T02:26:42.773551 | 2015-09-27T07:08:07 | 2015-09-27T07:08:07 | 43,235,315 | 0 | 0 | null | 2015-09-27T05:13:47 | 2015-09-27T05:13:47 | null | UTF-8 | R | false | false | 1,859 | r | cachematrix.R | ## makeCacheMatrix creates a list of 4 functions, set(),get(),setinv(),getinv(),
##cacheSolve() can call the functions created by makeCacheMatrix()
## Test Example:
## > x <- makeCacheMatrix(matrix(c(1,2,3,4), nrow=2, ncol=2))
## > cacheSolve(x)
## .. calculate inverse and output
## > cacheSolve(x)
## ... |
b551c93457d6bd79194a335c8f8d176102e33d6c | e060df826f64d3f850b113182bfd254eab4bdfa5 | /docs/Notes.R | 7e226433d52775b2f1b8db5182e64f365903bee4 | [] | no_license | UCSBaporter/geog-176A-labs | 6afaa19e1bc0187170bb942ae338677daf24eae2 | defa2a21af3fa6a92ed8a5cbfea713e45ebe5a6d | refs/heads/master | 2022-12-06T20:14:36.849686 | 2020-08-25T18:49:41 | 2020-08-25T18:49:41 | 287,131,235 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,526 | r | Notes.R | pop = readxl:::read_excel("data/populationEstimates.xls", skip = 2) %>%
select(pop2019 = POP_ESTIMATE_2019, State = State, fips = FIPStxt)
pop_ca2019 = pop %>%
filter(State == "CA") %>%
slice_max(pop2019, n = 1)
cases = covid %>%
filter(state %in% c("California")) %>%
group_by(county) %>%
mutate(newCases ... |
a876ddf9c4c285d85fa7a01bc82e83331dbc6098 | 534391940f301b49ea1f0ec4607ede26864a8ceb | /Shiny Dashboard/R/monetizationData.R | f3231064d200932bb157ea56114ce3e6b9bb0f69 | [] | no_license | dmullen17/work-samples | d2a7ff211d7d56f5090ea9b11852cc4638d90241 | fff28bf0ff9c628e3119e8e3a5ffe361097aefef | refs/heads/master | 2021-04-03T09:13:20.742952 | 2018-06-27T22:38:54 | 2018-06-27T22:38:54 | 124,466,426 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,944 | r | monetizationData.R | ## Dominic Mullen
## 7/14/2016
#Monetization Data and SQL queries
# library(data.table)
# library (RPostgreSQL)
# library(plyr)
driver <- dbDriver("PostgreSQL")
conn <- dbConnect(driver, host="superevilmegacorp.redshift.amplitude.com",
port="5439",
dbname="superevilmegacorp",
... |
b008f208773269422115ae08bc5ee9672f774df9 | bf1d8cc5cda83091f948e5e02041abb24b471955 | /shiny_OSM_AusTiles/global.R | 0532aa8fe458fc4d618332510a5c131eccc9ea3f | [] | no_license | Lakminikw/aus_cloropleth | b43ce979f56a2f420b49f846bc669fe49bbcf536 | bacd0ccc1a40f5d6b6cc99d9a33ea4e18ea939ce | refs/heads/master | 2021-06-01T00:58:44.750173 | 2016-06-16T04:38:06 | 2016-06-16T04:38:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 480 | r | global.R | library(shiny) # web framework
library(leaflet) # map interactivity
library(rgdal) # spatial data processing
library(jsonlite) # read json files
# read geojson
gdal.states <- readOGR("maps/au-states-density.geojson", "OGRGeoJSON")
# cloropleth aesthetics
colors <- c("#FFEDA0", "#FED976", "#FEB24C", "#F... |
ab5aeaef2fb293ad5be199da0d05d53144b29f4f | 0574647f4c0678d6073d64511ce04e5fcecb28b4 | /ML_Pipeline/Generate_Results_CSV.R | dc1d02c1aa1c8ee341a6e74daa0425b1ead626db | [] | no_license | atifghulamnabi/frAmework-clouD-bAsed-buG-predIctiOn | 516502a3dda6d4875b83df64e5e235a3b5e589c1 | bd18ce5e3632dd76ba4147af296f9db40ee7f5e2 | refs/heads/master | 2023-04-19T23:05:27.440786 | 2020-09-03T13:52:19 | 2020-09-03T13:52:19 | 230,427,835 | 1 | 2 | null | 2021-04-26T20:34:59 | 2019-12-27T10:57:29 | Java | UTF-8 | R | false | false | 1,878 | r | Generate_Results_CSV.R |
### Generate CSV files for each dataframe (J48 and Logistic models) also add average Precision and Recall values(Excluding cases: yes-yes=0)
generateResultsCSV<-function(releasenames, J48Results.df, logisticResults.df, CKMetricsFilesList, j48ResultsFileName, logisticResultsFileName){
## Calculate Average of Preci... |
56eca11d5f869d964509e187158980e13243ce09 | 2517225bcb19eeaf579aff46017b99de8d760546 | /R/3-pegar_dados.R | 21791e0cf7f62999a9a0316202e08616fd51ba61 | [] | no_license | cadutargino/ControledoControle | e25db594a5bc6bd8c358ce985d04621198f79cda | 0ed98b870089f30da0584c48ca79b869a6774255 | refs/heads/master | 2023-04-09T11:24:35.388026 | 2021-04-17T13:02:21 | 2021-04-17T13:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,555 | r | 3-pegar_dados.R | ##### Monitor do Controle Concentrado no STF ######
### Rodrigo Dornelles
### dezembro/2020
library(magrittr)
## As funções aqui vão servir para baixar os dados das partes e os andamentos
# e para ler os arquivos baixados
# garantir que existem as pastas
fs::dir_create("data-raw/partes/")
fs::dir_create("data-raw... |
0a6686d8a3eeb475d52c57e18d5506609ef0bef2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/iFad/examples/tau_g_chain.Rd.R | 9e2d29806e0c80235e3ec9f0fc85927842ef0c0f | [] | 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 | 184 | r | tau_g_chain.Rd.R | library(iFad)
### Name: tau_g_chain
### Title: The updated tau_g in the Gibbs sampling process
### Aliases: tau_g_chain
### Keywords: datasets
### ** Examples
data(tau_g_chain)
|
ec4cb43d80676d2e8ff8ffc64be8e92d05b48ffc | 7cf3e05301d18dcea90c275f5afd05250c4f4fa4 | /plot2.R | 188086624e92040e846457d40357d94bc8739f36 | [] | no_license | jcassiojr/ExData_Plotting1 | cbe30440438b47c5bb1c723b25ef872aa5b4c559 | 56515debbb77c2a9131893215102ad7d9ed0ad5a | refs/heads/master | 2021-01-20T15:51:23.976143 | 2015-02-05T19:23:16 | 2015-02-05T19:23:16 | 30,312,939 | 0 | 0 | null | 2015-02-04T18:00:43 | 2015-02-04T18:00:43 | null | UTF-8 | R | false | false | 1,120 | r | plot2.R | ##########################################################
# PLOT 2
## Exploratory Data Analysys
### Project 1
### Author: Cassio
##########################################################
### Loading libraries
library(lubridate)
library(dplyr)
### Loading the Data (avoiding factors)
## put the file on a subfolder n... |
27c261189d5b584717eb64f2a8628b7bc0be5b91 | 820f8aca9a690688cd5a48caa9038fbeff6ba971 | /man/write_las.Rd | 42605903485e518e97deca1ec9e3395f47c91f29 | [] | no_license | jkennel/transducer | 07374d4967498762cb692e71068bf89b6f026bc3 | 881ae6eb2570a15c6dc6aa91a69308183c3023f2 | refs/heads/master | 2021-06-11T18:14:03.474803 | 2021-06-04T12:22:17 | 2021-06-04T12:22:17 | 195,269,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 281 | rd | write_las.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/las_header.R
\name{write_las}
\alias{write_las}
\title{write_las}
\usage{
write_las(dat, fn_las, gravity = 9.80665, density = 0.9989)
}
\arguments{
\item{fn_las}{}
}
\value{
}
\description{
write_las
}
|
03e4b84942752d1b157e2c49d40bed0eb7afb0fb | 9e107db0f73b03c91354550e5b1d6d77fef90775 | /api-json.R | cfc2c83dd3017405bac313a40434e410ae4f4024 | [] | no_license | ignputraa/data-acquistion | 411d8aec9999891205d838b7a0b33796b1291c92 | 706b94c0e9fba5f32606f924f0e1f12587bdffb4 | refs/heads/master | 2021-01-16T03:15:42.175899 | 2020-02-24T12:26:36 | 2020-02-24T12:26:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 291 | r | api-json.R | #httr
#jsonlite
urlapi <- "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2020-02-22&endtime=2020-02-24"
getreq <- httr::GET(urlapi)
getcontent <- httr::content(getreq,"text")
datajs <- jsonlite::fromJSON(getcontent,flatten = TRUE)
dfgempa <- datajs$features
|
7a553bdd96784ef9cd80b0c36dbff816033cb183 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /wk/tests/testthat/test-wksxp-translate.R | 0d58a6a78c5d4537d6c0ef0a12f0db56f8b59b08 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 13,869 | r | test-wksxp-translate.R |
test_that("basic wksxp translation works to WKB", {
expect_identical(
wkb_translate_wksxp(wkt_translate_wkb("POINT (30 10)")),
list(
structure(matrix(c(30, 10), ncol = 2), class = "wk_point")
)
)
})
test_that("basic wksxp translation works on non-empty 2D geoms", {
expect_identical(
wkt_t... |
77cd78de6c58c321d636280ad7c56cbbecd7e21a | 5de182245498aa1e32d8db7d1c4664b8d6e05ae8 | /hangboard_timer/app.R | 8424d5e6af65bd348342b7f0a6302c6997229ba8 | [] | no_license | danielward27/climbing_app | 063a7f4c479b161a7fbdb887fbd76006eaaaa55f | cc88518c08f1cdcbe9aaa91135cbd101c035a079 | refs/heads/master | 2022-07-17T08:00:25.696135 | 2020-05-22T11:02:16 | 2020-05-22T11:02:16 | 246,267,859 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,870 | r | app.R | #
# This is a Shiny web application for training climbing using a hangboard
#### Imports ####
library(shiny)
library(lubridate)
library(beepr)
library(tidyverse)
library(googlesheets4)
library(googledrive)
theme_set(
theme_bw(base_size = 25)
)
sheet_URL = "https://docs.google.com/spreadsheet... |
b3650a0ba631ebeb40993e39cbe895ee80f19219 | fb079c2261f5d9e886a2b069ea45f66271f6abd2 | /scripts/r/analysis_tech.r | 3d193033f6022f58544d841d814a99bd975dbcb1 | [] | no_license | wdoyle42/diagnosis | 8de29ec2062f829f2fd085780872b3567601816b | 4e9a767f61695196117d65c2b87369a37ce51125 | refs/heads/master | 2020-04-06T03:48:32.983189 | 2018-02-16T21:11:51 | 2018-02-16T21:11:51 | 56,604,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,976 | r | analysis_tech.r | ################################################################################
##
## <PROJ> National Afforability Report: 50 States
## <FILE> analysis.r
## <AUTH> Will Doyle and Benjamin Skinner
## <INIT> 1 8 2016
##
################################################################################
## PURPOSE
## This... |
546f4d7125bc86f24251a5cc4c313311a12bcfb1 | f1ad76fa058a2235d3adb05ccefc6b262570478e | /man/cut_seasonyear.fun.Rd | a260f835f9d03d052c0057ee74d1f66c0795962a | [
"CC-BY-3.0",
"MIT"
] | permissive | Ostluft/rOstluft.plot | 863f733b949dd37e5eaf1d8c1e197596242ef072 | fbed7ce639ae6778e24c13773b73344942ca7dc2 | refs/heads/master | 2022-11-16T12:56:44.199402 | 2020-03-23T11:12:02 | 2020-03-23T11:12:02 | 180,803,285 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 789 | rd | cut_seasonyear.fun.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cutfuns.R
\name{cut_seasonyear.fun}
\alias{cut_seasonyear.fun}
\title{Partial function constructor for cut_season}
\usage{
cut_seasonyear.fun(label = c("yearseason", "year"), labels = NULL)
}
\arguments{
\item{label}{choice between \code{c("y... |
e68c89ffcb8d49a2f4518519991f0bf00227afc6 | 7a0e657bbb60cc1bea50a1cb9c9222adc5c6aa4f | /mapped/R_filter_by_genome_location.R | d12c169af8fe677d89dccbaf8552f1854ef71a37 | [] | no_license | twpierson/nres721_genome | 7d6ebd7bc4fce044a1403a244275eccc9d17db94 | 179d756751343b2bd3e9064377d7dd02eb94324a | refs/heads/master | 2020-07-13T22:32:54.163749 | 2019-10-30T18:41:36 | 2019-10-30T18:41:36 | 205,169,158 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,343 | r | R_filter_by_genome_location.R | # navigate to directory
setwd("/Volumes/G-DRIVE/Dropbox/Teaching/2019_NRES_721/nres721_genome/mapped")
# read in BAM files
Brid_R1R2_BAM <- readLines("Ubrucei.txt")
Cala_R1R2_BAM <- readLines("../mapped/Cala_R1R2_mapped.txt")
Cala_male_R1R2_BAM <- readLines("../mapped/Cala_male_R1R2_mapped.txt")
# mine useful informa... |
a70bf11cc1cfa4605422fc4138afb65b91cfd953 | 6fd5933e6ebe6240d05d37d45bb12f1e6ce7dc24 | /scripts/make_node_table.R | 77c45628686bbc146e72b16b2679f58e709a2ea8 | [] | no_license | mjfritz/TilS_RNAseq | cf3c637dd7e17901e8bd77ab41ebee1395cfe849 | 3bec75757ce3f49070c518d6d6659ea0810f8bf4 | refs/heads/master | 2022-11-10T05:21:53.249176 | 2020-06-17T21:19:27 | 2020-06-17T21:19:27 | 271,975,274 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 608 | r | make_node_table.R | library(igraph)
make_node_table<-function(edgetable){
#make new nodes table from edges
nodes<-unique(c(edgetable$source,edgetable$target))
nodeIDs<-c(1:(length(nodes)))
nodetable<-data.frame("label"=nodes,"id"=nodeIDs)
#add network stats
mynet <- graph_from_edgelist(as.matrix(edgetable[,c('source','targ... |
ca56c8fea8eb2505f4d17c258d2d0c6006eeb227 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/QRM/examples/Credit.Rd.R | 1219713eb6f571711890ce2e5d439aa7b3bbfedf | [] | 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 | 2,808 | r | Credit.Rd.R | library(QRM)
### Name: Credit
### Title: Credit Risk Modelling
### Aliases: Credit cal.beta cal.claytonmix cal.probitnorm dclaytonmix
### pclaytonmix rclaytonmix dprobitnorm pprobitnorm rprobitnorm
### rlogitnorm rtcopulamix fit.binomial fit.binomialBeta
### fit.binomialLogitnorm fit.binomialProbitnorm momest r... |
c32a1d9357a7cbd68bbbdcdf0416d07f5aadb540 | 5202f628f698231d18bf70fc5fcb148842551398 | /RDataTools/dplyr/tutorial/Joins.R | 9798f180ba799cf7017211046bc45d5a0852d4ac | [] | no_license | statisticallyfit/R | 16d956c64b8abf0f4ef0840e97d13e772f70cbb3 | 06cd723eaf374af1b6846f10abd3440100607671 | refs/heads/master | 2020-12-14T18:11:58.430436 | 2018-11-23T08:01:24 | 2018-11-23T08:01:24 | 39,065,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 330 | r | Joins.R | # https://cran.r-project.org/web/packages/dplyr/vignettes/two-table.html
library(dplyr)
library(nycflights13)
# Drop unimportant variables
flightsOriginal <- flights
flights <- flights %>%
select(year:day, hour, origin, dest, tailnum, carrier)
flights %>%
left_join(airlines)
names(flights)
names(flights... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.