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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c1c45115390ffa945df678e8069f4747e8af339b | 596b6fa0a1c1f30885c5028527c194a571dab16d | /R/sample_comp.R | 9585f429e4ea508d04a6de5d956ea7cbe8bf05c1 | [] | no_license | realsmak88/ss3sim | 88dd30b688574cce04c591b41eb8b87eb5f4e972 | 50606b75f9486fab62d12c1b7896b78b4191a29a | refs/heads/main | 2023-06-17T13:12:02.912688 | 2021-07-07T16:03:52 | 2021-07-07T16:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,922 | r | sample_comp.R | #' Sample composition data from expected values
#'
#' Apply the multinomial or Dirichlet distribution to sample
#' composition data, creating a data frame that mimics
#' observed composition data.
#'
#' @details
#' Sample size, i.e., 'Nsamp', is used as a measure of precision,
#' where higher sample sizes lead to simul... |
9a2ec7e77e9f1e0a0a66ca3725e044ebf395333a | 3255e1bf30d9e05b3ecf38c785d5d4186840db65 | /run_analysis.R | 920351a9edacbb1cf14d485569dc06413f84c5e8 | [] | no_license | jradick/coursera-getdata-013-project | 2b5cfa46d68e511b4f6bff015bf21fe954d9ebb4 | ad877ca9b15d35f4f55162e1b757a898dd2607da | refs/heads/master | 2020-06-03T05:13:42.743703 | 2015-04-26T23:16:58 | 2015-04-26T23:16:58 | 34,584,436 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,083 | r | run_analysis.R | #
# Coursera course "Getting and Cleaning Data"
# April 2015, session getdata-013
# Part of Data Science Specialization
#
# Jeffrey Radick, student
#
#
# Code for course project
#
# As specified for the assignment, the requirements for this program
# are as follows:
# 1. Merges the training and the test data sets to cr... |
ba531482325f757ec8c8b24ace743c032033d307 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/BETS/examples/report.Rd.R | 19481757f0ae0b5da3ebd860a08420200e52c639 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,450 | r | report.Rd.R | library(BETS)
### Name: report
### Title: Create dynamic reports with a full analysis of a set of time
### series
### Aliases: report
### ** Examples
##-- SARIMA
# parameters = list(lag.max = 48, n.ahead = 12 )
# report(ts = 21864, parameters = parameters)
# report(ts = 4447, series.saveas = "csv")
# series =... |
1cca3934057856b7adbd99db2d2a8c9c846db8f7 | e8d4d0a7f118e0ea854a9e2908797140d1e1106b | /plot4.R | 84e8f21838ceaeca1f2ca22d784f52942e05044e | [] | no_license | sammnoh/ExData_Plotting1 | a5397f1483e28c1f42eb7f7a1c78fdcc7b8621c5 | bbd8d8593ded2e8b8afa6ae94c4c4d279d8d0c15 | refs/heads/master | 2021-01-21T02:03:11.607987 | 2015-10-11T23:34:03 | 2015-10-11T23:34:03 | 42,377,367 | 0 | 0 | null | 2015-09-12T23:51:52 | 2015-09-12T23:51:51 | null | UTF-8 | R | false | false | 1,628 | r | plot4.R | library(datasets)
URL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(URL, destfile="./data4-1.zip", mode = "wb" )
unzip("./data4-1.zip", exdir= "data4-1" )
list.files("data4-1")
full <- read.table("./data4-1/household_power_consumption.txt", header = TRUE, sep ... |
241a6b7867e596826a2ad6e875044eea8dc33e01 | 29585dff702209dd446c0ab52ceea046c58e384e | /cricketr/R/batsman4s6s.R | 66dbe20d1dd69b05856e04be5dfbcdb2bf0f81aa | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,670 | r | batsman4s6s.R | ##########################################################################################
# Designed and developed by Tinniam V Ganesh
# Date : 2 Aug 2015
# Function: batsman4s6s
# This function computes and plots the percent of 4s,6s in total runs
#
##############################################################... |
a65eaea3c29c6c60860f82b9db9a802435fbdea8 | 36e74e19edbb1edcf45af968fb8dc57353532507 | /schollbucks.R | b44fd17d30c0065ee9fb3aa21bff58e49212d509 | [] | no_license | LazerLambda/Schollbucks | 688d630935b5e241939fb38dcabe047b44e7a63d | 734e8760f4a659212f3c0201c8865bee693e6ab7 | refs/heads/master | 2023-01-24T12:51:32.828478 | 2020-12-03T10:20:54 | 2020-12-03T10:20:54 | 293,352,526 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,386 | r | schollbucks.R | library(checkmate)
library(data.table)
library(dplyr)
library(ggplot2)
library(gridExtra)
library(stringr)
library(telegram.bot)
readNames <- function() {
count <- NA
name <- NA
repeat{
#check condition
if (!is.na(count)) {
break
}
# get input
input <- readline(prompt=writeLines(c("... |
f3bb349c904205b232e5bd3f5f4ceb5382d1b108 | 7036b9ff62f3a30dd79558df2435d3b4c53f6fd0 | /man/game_file.Rd | b900da3a7fedf29a4b6758b23e83f2b5cf216b84 | [] | no_license | jalapic/quacklr | 906ef35729c47747481bcbccd727787f77d752f4 | 2ca89141f54fc8c28dd4899e97b9dea194c21e46 | refs/heads/master | 2021-09-09T19:10:38.163750 | 2018-03-19T04:27:23 | 2018-03-19T04:27:23 | 125,799,655 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 659 | rd | game_file.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/game_file.R
\name{game_file}
\alias{game_file}
\title{Get raw game text data from a quackle or cross-tables game number or link or filepath.}
\usage{
game_file(v)
}
\arguments{
\item{x}{a quackle or cross-tables game number or link, ... |
957d62772c70c9d523ebe4dceaba730482d4d748 | 2aa3b7455f3e17c8dbdc938f3386dae46a12bb99 | /man/gs_auth_revoke.Rd | 0f7efcdb2f84d44576f56fb350806e186206fe0c | [
"MIT"
] | permissive | dennistseng/googlesheets | 5fd4d78994251df7703754375d5aab1a21686a7a | 8471679c621c8b5d43679cf4b9598cba2f6a3560 | refs/heads/master | 2021-01-18T02:17:34.149067 | 2015-06-02T06:36:06 | 2015-06-02T06:36:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 361 | rd | gs_auth_revoke.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/gs_auth.R
\name{gs_auth_revoke}
\alias{gs_auth_revoke}
\title{Revoke authentication}
\usage{
gs_auth_revoke(rm_httr_oauth = FALSE, verbose = TRUE)
}
\description{
This unexported function exists so we can revoke all authentication for... |
68d30c64e8df1fda6c5a480689023901b5c1e960 | 5cfcd8980a97d63c97eb2bba6b662e8278c901e9 | /test_simon/test_kai/inst_test/server.R | 2d7a789a2dc9671b4b654a5e5a937850e8ea3dfb | [] | no_license | lubrunn/DSP_App | e040de46407515c4cdfad50c9706d405b111a0d6 | e477454e59d90749d3af203ba4b1a3ddb7e7946e | refs/heads/main | 2023-03-21T13:02:01.383511 | 2021-03-17T23:50:35 | 2021-03-17T23:50:35 | 348,858,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,378 | r | server.R | server <- function(input, output, session) {
############################################################# Stocks
# load stock dataset
stockdata_DE <- reactive({
req(input$Stock)
stock_dataset_DE(input$Stock,input$dates[1],input$dates[2])
})
# reset button for stock selection
observeEvent(input$reset... |
12a3e4f8e60e168134fac16e5bf1f2f8948c434a | 9b63de8e769a0cfaf0e6345687a3c814ebcbccfd | /translation/utils.R | 9fc55fa72aea8ab9f56c3735e097d159aadf5d0b | [] | no_license | PFA-WebApp/App | 928b3721cd3ecda1d583335950c93f79ba5f7e38 | 219f748acb4508075a0cdfce3e95c360acb6146d | refs/heads/master | 2023-04-22T19:56:24.761176 | 2021-04-30T07:52:01 | 2021-04-30T07:52:01 | 313,712,163 | 2 | 0 | null | 2021-02-10T17:54:29 | 2020-11-17T18:47:40 | R | UTF-8 | R | false | false | 1,023 | r | utils.R | sort_translation <- function(path = "translation/translation.json") {
x <- jsonlite::read_json(path)
x <- purrr::map(x, function(el) {
el[order(names(el))]
})
check_names(x)
jsonlite::write_json(x, path, auto_unbox = TRUE, pretty = TRUE)
}
check_names <- function(x) {
nms <- NULL
for (i in seq_alo... |
6a5fe8ea4b94bcbe5220ec76031a3ec12aba49fb | 7d0f25a190e97e0d2714c43a57a017eaf093ecd5 | /man/computeBaseNetBenefit.Rd | 848415cf1452c1950aa1974f08207c25fb0556e1 | [
"MIT"
] | permissive | mikeniemant/nbs | f192f6d6ce16d725dc0985d6f505666c2c785020 | 3d82fd553c58ea5941d5dfa60cfaefa95df76121 | refs/heads/master | 2022-07-03T11:21:21.170515 | 2022-06-15T08:51:37 | 2022-06-15T08:51:37 | 142,566,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 568 | rd | computeBaseNetBenefit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/computeBaseNetBenefit.R
\name{computeBaseNetBenefit}
\alias{computeBaseNetBenefit}
\title{Compute base net benefit}
\usage{
computeBaseNetBenefit(
y,
xstart = 0.01,
xstop = 0.99,
step = 0.01,
type = "treated"
)
}
\arguments{
\item{y... |
d0459f49eff4f8ea19b677fc3deff334a617fc79 | 3faad8949a4e9712e242f9b978eb5ad25006af98 | /climateR/man/createBarChartYearsLeft.Rd | cb2fc5b9413d9a19427520c1d41f8ea327f063b8 | [] | no_license | danielwiegand/climate-justice | bdeb6cb9ee64a8fa134db65b689501faac94f39a | ea21b5d742393c90447c676450d6db7ff3c5db16 | refs/heads/master | 2021-06-23T03:50:32.021557 | 2021-05-29T15:03:35 | 2021-05-29T15:03:35 | 220,316,020 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 519 | rd | createBarChartYearsLeft.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/createBarChartYearsLeft.R
\name{createBarChartYearsLeft}
\alias{createBarChartYearsLeft}
\title{Bar chart: Years left per country}
\usage{
createBarChartYearsLeft(data, base_year, theme, cols)
}
\arguments{
\item{data}{Data frame with data to... |
ba215d0a0b93c559b0f8b0111fe284f7035e2981 | a7c4723087d16f75add07061726058060008c74e | /pattern.r | b66e4cdd84ef3f4c1864463237fd6891d60db9fd | [] | no_license | c-zhong/TriageBehaviorGraphAnalysis | 29c37aff35af2b9518c53e384c0c1188d58f6f4f | 25a492e5ab6253e1559946835f4a9f03255ba60c | refs/heads/master | 2021-05-28T21:01:06.651241 | 2015-02-25T19:16:21 | 2015-02-25T19:16:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,057 | r | pattern.r | #define patterns
#get.subisomorphism is not related to $label $name
getPattern_Condition=function(pattern_id, hypo, nfound, edgetype){
#definition2
if(identical(pattern_id,"1")){
#pattern1: issub issub
pattern <-graph.formula( "B"--+"A")
if(hypo)
V(pattern)$Hypo=c("1","0")
if(... |
347ec16c560691e6a4927599c4cdc3a425f8db38 | a443c2760bdf5064189fff633cf4752367b88f4e | /plot1.R | 80527b7571ab236204df69313c222d0ce3afed4e | [] | no_license | nsrepos/ExData_Plotting1 | ba9e6f91a24a97eabc573a535082a8568fa54623 | 7e4e6e3d94e6f02eb63a24c14e28f36877a92429 | refs/heads/master | 2020-12-26T20:15:13.606361 | 2015-04-08T15:23:38 | 2015-04-08T15:23:38 | 33,613,199 | 0 | 0 | null | 2015-04-08T14:50:09 | 2015-04-08T14:50:08 | null | UTF-8 | R | false | false | 473 | r | plot1.R | plot1<-function(){
library(data.table)
hpc<-fread("household_power_consumption.txt",header=T,sep=";",colClasses = "character")
hpc<-as.data.frame(hpc)
hpc.sub<-subset(hpc,hpc$Date=="1/2/2007" | hpc$Date=="2/2/2007" ,select=c(Global_active_power))
png(filename = "plot1.png",
width = 480, height = 480, un... |
62ce81f556ff42322db6c84a0e2b28c81d4a9111 | bb9140e05d2b493422d65084bc9df4fb6ae88ba9 | /R/R_language_definition/functions/missing_arguments.R | a23c7d41d8e3c6c8f703833d27578990073628e6 | [] | no_license | 8589/codes | 080e40d6ac6e9043e53ea3ce1f6ce7dc86bb767f | fd879e36b6d10e5688cc855cd631bd82cbdf6cac | refs/heads/master | 2022-01-07T02:31:11.599448 | 2018-11-05T23:12:41 | 2018-11-05T23:12:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 343 | r | missing_arguments.R | cylinder.volume.2 = function(height, radius) {
if (missing(height))
stop("Need to specify height of cylinder for calculations.")
if (missing(radius))
stop("Need to specify radius of cylinder for calculations.")
volume = pi * radius * radius * height
volume
}
# cylinder.volume.2(3)... |
73a393210155862c07bfee4e342874df51fe4f95 | beb59ae4fb30f320baa5ce1b31ae539868d640bd | /R/00jmv.R | 365ccb66631cfa70e00e949484722b7d170e2e11 | [] | no_license | jamovi/walrus | efae8d4b09dc19c0229459521926388977775ed6 | ef1a8baea2eb28d7d058ed37689fd25071be7f6a | refs/heads/master | 2023-07-06T18:47:40.499457 | 2023-07-03T07:25:42 | 2023-07-03T07:25:42 | 92,730,294 | 4 | 3 | null | 2023-07-03T07:25:44 | 2017-05-29T10:38:57 | R | UTF-8 | R | false | false | 932 | r | 00jmv.R |
# This file is automatically generated, you probably don't want to edit this
.jmvrefs <- list(
`w`=list(
`authors`="Love, J., & Mair, P.",
`year`=2017,
`title`="Walrus: Robust Statistical Methods",
`publisher`="[jamovi module]",
`url`="https://github.com/jamovi/walrus/"... |
e96ef75bb467b71a249b6a89a7ecd85ae89b03aa | 94d0c518d47965692f57c4e1c8ee94d81301444c | /man/fuzzy_join.Rd | 80c8522314016983565ea0f6e714d1a19f58bf86 | [] | no_license | thelayc/laycUtils | 5179c2c3448d8186e5a973a5a9dd072492db2d3a | 06d16592631f22eea242cf9a46c8734422cdfa63 | refs/heads/master | 2021-01-18T21:29:11.119308 | 2016-04-19T20:15:06 | 2016-04-19T20:15:06 | 29,616,776 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 529 | rd | fuzzy_join.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fuzzy_join.R
\name{fuzzy_join}
\alias{fuzzy_join}
\title{fuzzy_join()}
\usage{
fuzzy_join(x, y, by)
}
\arguments{
\item{x, y}{dataframes to merge}
\item{by}{a character variable to join by. This variable is generally the output of the create... |
28d1271bce9fbfddb84b420f29261d4b9f47a2bc | e90d32ae525367861f469481f94df3c3118b1c6d | /animalShelterScript.R | 9e831dac2cb83430a9f3891eb1e1628a2fbd1508 | [] | no_license | HenryDMcGee/Data-Science-What-Predictors-Have-The-Greatest-Effect-On-Dog-Adoption-Rates- | 177598dc328fe8c454cdff69295c784015625032 | e976ceec7e6bd15d2dcc07140907b237b02141f0 | refs/heads/master | 2020-09-27T05:26:44.784079 | 2019-12-17T00:43:04 | 2019-12-17T00:43:04 | 226,440,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,917 | r | animalShelterScript.R | # Henry McGee
# 10/26/2019
# Animal Shelter
#tricks
#############
# class("MonthYear") check parameter type
#write.csv(dataset, "filename.csv", row.names = FALSE) make csv file in documents for windows
#############
#read the csv
#############
animalShelter <- read.csv("C://Users//Henry//Desktop//Sc... |
4e75fc13277cfc074fde410c68be6bfd74f12309 | 19de4c75841d53d7109c58893c47567faaa3d387 | /meta_analysis.R | ae24785e8071757b409f50459aaf653bd842bb73 | [] | no_license | congca/mrlocusSlides | 41b22fbf1c53d86700575ee4b8867aeafa3d2b02 | 2b4a24498d2efb2d8f88376a78eed84220032bf8 | refs/heads/master | 2023-07-08T16:10:58.834004 | 2021-08-10T01:23:26 | 2021-08-10T01:23:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 678 | r | meta_analysis.R | meths <- c("causal","twmr","ptwas",
"mrlocus","ecv-mrl")
cols <- unname(palette.colors())[-c(1,5)]
cols <- cols[c(1,3:5,5)]
names(cols) <- meths
shps <- c(24,17,15,16,10)
names(shps) <- meths
dat <- read.delim("paper_results.tsv")
library(ggplot2)
png(file="sim_perf.png", width=1200, height=500, res=150)... |
b5be1d7c22df97dcf43b6452deffe80ecb5e7bc8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/simecol/examples/fromtoby.Rd.R | 3eed8f464de5364c63cecaf6e8e1403b1267fee1 | [] | 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 | 210 | r | fromtoby.Rd.R | library(simecol)
### Name: fromtoby
### Title: Create Regular Sequence from 'from-to-by' Vector
### Aliases: fromtoby
### Keywords: manip
### ** Examples
times <- c(from=1, to=5, by=0.1)
fromtoby(times)
|
8da4443653c061e0219aedfc03b6315acc659912 | 612bef993f50416ed14b8faebb8af8256a5a208e | /R/NPVI.init.R | ce25c926799b22ec1705a9a6240c6075790844b9 | [] | no_license | achambaz/tmle.npvi | 64bd665fe246052974b6947a32bde3be0c93101b | 85431f25daa2bf213bff9bde40e486c46dcd6f22 | refs/heads/master | 2021-07-12T19:38:11.862665 | 2017-01-18T12:14:30 | 2017-01-18T12:14:30 | 70,006,254 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 4,578 | r | NPVI.init.R | setMethodS3("init", "NPVI", function(this, flavor=c("learning", "superLearning", "h2oEnsembleLearning"),
cvControl=NULL,
learnG=NULL,
learnMuAux=NULL,
learnTheta=NULL,
... |
7f3d2ed0091afac5d45f8f414a05734c4b2c9af3 | 8e39c4708b3b5eecdfa2daf699d36c1cc9423312 | /Courses/Fall term/Machine Learning/1. Logistic regression/Homework 1/Homework1.R | 3d5be36ddd27c0d97c6a46529f6658001a2dbf8a | [] | no_license | geo539/CMF | 636f988ce16870ebda54b7812b2c5ce9e688cde0 | d5a250dfb6a41023ea282f97538ea41f343f09eb | refs/heads/master | 2021-05-31T21:45:34.499027 | 2016-06-03T16:50:48 | 2016-06-03T16:50:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,209 | r | Homework1.R | ##### Initialisation #####
setwd("~/CMF/Courses/Machine Learning/1. Logistic regression/Homework")
library(ggplot2)
Sys.setlocale("LC_ALL","English")
# library(caTools)
# set.seed(123)
# split = sample.split(data$target_variable, SplitRatio = 0.7)
# train = subset(data, split==TRUE)
# test = subset(data, split==FALSE)... |
2f6d38c247298f8836910417640a2078b1227898 | 13db5b908ee53411fca6a45c0a7d93de9cc4e3a9 | /man/babble_ratio.Rd | 6d9214d95405ac2765fad734c272cd3517c3dd65 | [] | no_license | LAAC-LSCP/avutils | 67cb1d7cd41bd7bafa03cdfeec677f7951bd2f66 | 3fa75f5f7447df5a5534486cc6c19428f9509dab | refs/heads/master | 2022-07-18T05:47:25.732313 | 2020-05-05T15:50:11 | 2020-05-05T15:50:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 840 | rd | babble_ratio.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/babble_ratio.R
\name{babble_ratio}
\alias{babble_ratio}
\title{canonical babbling ratio}
\usage{
babble_ratio(xfile)
}
\arguments{
\item{xfile}{character, file path to rttm generated by
\code{\link{divime_classify_vox}}}
}
\value{
a list with... |
c8bd03cf98b286a3ba33360f2bc7cf4dd9d8bcfc | 91e6816d28d46a5e1eabbc3224a7fbafc122c745 | /inst/apps/myFirstApp/global.r | a537acdd596a283595f65a9b4c649c579cd25422 | [] | no_license | RachelRamirez/NPS | b5da5a71f95511d217800cfd4184ac39b3a00751 | 15f35aab2d517fad3381e2659e92b0abc335b35a | refs/heads/master | 2021-09-09T14:04:42.337793 | 2018-03-16T20:12:59 | 2018-03-16T20:12:59 | 117,839,404 | 0 | 2 | null | 2018-03-16T20:13:00 | 2018-01-17T13:23:30 | R | UTF-8 | R | false | false | 503 | r | global.r | # global.r is evaluated using the source() function and stored as global objects in the parent environment
# This is a good place to call libraries
# NEVER NEVER NEVER INSTALL.PACKAGES() IN THE GLOBAL.R
# because someone using this on the web will fail
# you can also call custom-functions here
library(shiny)
libra... |
8929cf316992ec2a6e44fea0f3e5a874233e922f | 3f9db7481425c63a1fd9078c2583d096287df74f | /man/generate_branch_changes.Rd | 47b94893e5f536e12943d24e22e48b0ac126fcb9 | [
"MIT"
] | permissive | ethanmoyer/ICCE | 2f8442a1afc3b66c0bb9c0bb8958c2bf5f3d0f02 | 0f23dc13b51e35b1a387f42a2e2ddc984ee991f9 | refs/heads/master | 2022-12-06T14:44:16.564361 | 2020-08-20T01:23:11 | 2020-08-20T01:23:11 | 278,681,090 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,476 | rd | generate_branch_changes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analyze.R
\name{generate_branch_changes}
\alias{generate_branch_changes}
\title{Generate list of relevant probes for gain, loss, and change in methylation
status}
\usage{
generate_branch_changes(icceTree)
}
\arguments{
\item{icceTree}{icceTr... |
56f09101b3402045fa11bc1814173ad13bc08a92 | 13dfdb1b95a769b214c10608459a2f4687d5fba3 | /man/run_cyclone.Rd | 4c178408720c684715c9082f4628bea150bebf00 | [
"MIT"
] | permissive | kwells4/mtec.10x.pipeline | 79e4c9267f70af6a793e48502070f35cee74c1e5 | 19a7fdcc3a6ba4f3beda7af06cf925a3b6b97369 | refs/heads/master | 2023-01-28T00:57:24.550595 | 2019-04-03T17:22:10 | 2019-04-03T17:22:10 | 179,329,659 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 776 | rd | run_cyclone.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cell_cycle.R
\name{run_cyclone}
\alias{run_cyclone}
\title{Runs cell cycle analysis on cells}
\usage{
run_cyclone(mtec, conversion_file, seed = 0, add_to_obj = TRUE)
}
\arguments{
\item{mtec}{a Seurat object}
\item{conversion_file}{a file to... |
77d6a18ab831a7d40ca249a0a3cc1f0d188f9558 | f6310abd48d653e92b055a624d791397ba4d457b | /scripts/city-by-works.R | 3064072bb74a4ec0eddf2bbf3b0fdbbb593eef79 | [] | no_license | akisery/patterns-of-translations | e21f75d9e680f4a60aa022c1abe2f9dc8db6d575 | c33f5c14fdff364b88fefeb23552a70f5d311b88 | refs/heads/main | 2023-04-03T10:01:30.515457 | 2021-04-17T17:37:42 | 2021-04-17T17:37:42 | 352,882,235 | 0 | 0 | null | 2021-04-17T17:37:43 | 2021-03-30T05:35:42 | null | UTF-8 | R | false | false | 2,953 | r | city-by-works.R | library(tidyverse)
df <- read_csv('data/demeter.csv', col_types = 'dccccccccccccd')
# df %>%
# filter(grepl('U.S.A', normalized_city)) %>%
# view()
df %>%
select(normalized_city) %>%
mutate(
count = 1.0,
cities = (str_count(normalized_city, '−') + 1) * 1.0) %>%
separate(normalized_city, c("A","B... |
dce869d2561c9b1195b7a09fe616447442035407 | 31260f945c350bfd1aec4cad7d8d18088335d9b7 | /man/read_fam.Rd | 178a70960c0e9257178299980fa968198154c1b3 | [
"MIT"
] | permissive | signaturescience/skater | 1c793c012f1b250ef6c3b45455e6277573053a55 | 97c2ba52c68fc1c744f778069938afc4862671c6 | refs/heads/main | 2023-04-15T03:27:13.724196 | 2023-01-31T14:48:43 | 2023-01-31T14:48:43 | 339,462,170 | 8 | 5 | NOASSERTION | 2023-01-31T14:48:45 | 2021-02-16T16:36:39 | TeX | UTF-8 | R | false | true | 679 | rd | read_fam.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.R
\name{read_fam}
\alias{read_fam}
\title{Read PLINK-formatted .fam file}
\usage{
read_fam(file)
}
\arguments{
\item{file}{Input file path}
}
\value{
A tibble containing the 6 columns from the fam file.
}
\description{
Reads in a \href{h... |
8c060118d1483816766da0b139e08143ac1cfe67 | 6d8572fb50a9ba39e6372ff0de70aac877d50ec7 | /R/extract_cycle_timing.R | 16e1ceffba6cfc73ae26a86d0dd264cce7705aeb | [] | no_license | erikerhardt/isogasex | aed346bf689f28dce3d8500dc799e80b7354c037 | 2e3fc9c21c1d3d8e2348b7bff28954b5a169b0e8 | refs/heads/master | 2020-05-22T00:32:30.670300 | 2019-07-16T04:43:20 | 2019-07-16T04:43:20 | 186,173,267 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,523 | r | extract_cycle_timing.R | #' Cycle timing
#'
#' Write cycle timing to the timing file.
#'
#' @param TDL xxxPARAMxxx
#' @param TDL_cycle xxxPARAMxxx
#' @param TDL_site_timing_filename xxxPARAMxxx
#'
#' @return NULL xxxRETURNxxx
#'
extract_cycle_timing <-
function# Cycle timing
###
(TDL
###
, TDL_cycle
###
, TDL_site_timing_filename
###
)
{
##d... |
abb33c6eecd026542e7415296d5ec3d377c14613 | 907af44f17d7246e7fb2b967adddb937aa021efb | /man/fslmerge.Rd | 35c1572b17d340164f622f1712734441e75cb863 | [] | no_license | muschellij2/fslr | 7a011ee50cfda346f44ef0167a0cb52420f67e59 | 53276dfb7920de666b4846d9d8fb05f05aad4704 | refs/heads/master | 2022-09-21T07:20:18.002654 | 2022-08-25T14:45:12 | 2022-08-25T14:45:12 | 18,305,477 | 38 | 23 | null | 2019-01-10T20:57:47 | 2014-03-31T19:35:03 | R | UTF-8 | R | false | true | 1,285 | rd | fslmerge.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fsl_merge.R, R/fslhd.R
\name{fsl_merge}
\alias{fsl_merge}
\alias{fslmerge}
\title{Merge images using FSL}
\usage{
fsl_merge(..., outfile = tempfile(fileext = ".nii.gz"), retimg = FALSE)
fslmerge(
infiles,
direction = c("x", "y", "z", "t"... |
de33f86cab8512c0393f721f34e1e213cc4a1aab | 88863cb16f35cd479d43f2e7852d20064daa0c89 | /Winton/analysis/match-test1-test2.R | 1ff9c381f33fa7946d228f31012cce4923bba216 | [] | no_license | chrishefele/kaggle-sample-code | 842c3cd766003f3b8257fddc4d61b919e87526c4 | 1c04e859c7376f8757b011ed5a9a1f455bd598b9 | refs/heads/master | 2020-12-29T12:18:09.957285 | 2020-12-22T20:16:35 | 2020-12-22T20:16:35 | 238,604,678 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,089 | r | match-test1-test2.R |
TEST1.FILE <- "../data/test.RData"
TEST2.FILE <- "../data/test_2.RData"
SCALE.UP <- 1000*1000
MERGE.KEY.COLS <- c("Ret_MinusOne", "Ret_MinusTwo")
KEEP.COLS <- c("Id", MERGE.KEY.COLS)
getTestData <- function(fname) {
cat("reading data from:", fname, "\n")
test.data <- readRDS(fname)[,KEEP.COLS]
te... |
48264c1dcb731a843d5ac8094a994c1093c6b45a | 07fb621480b38025144d5dccfbd1056ca0af9495 | /workout1/code/make-shots-data-script.R | 40cb9604bbb9cfcc8e661747d7a141b2b0818b02 | [] | no_license | Agatemei/hw-stat133-Agatemei | 8132467d8e5d551d8435e5a7fb8f1b6250a9e068 | 8a245238b6cf067b62be0bedfddc0147fb36c60b | refs/heads/master | 2020-05-18T10:04:34.794720 | 2019-03-13T17:22:14 | 2019-03-13T17:22:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,216 | r | make-shots-data-script.R | # title: make shots data
# description: create a csv data file shots-data.csv that will contain the required variables to be used in the visualization phase.
# input(s): five csv data files (raw data)
# output(s): summary of five players respectively and totally
library(readr)
# Read in the five data sets, using rela... |
f78664444dea10ea2ea40cbbad8a77a7d063190a | d14bcd4679f0ffa43df5267a82544f098095f1d1 | /R/fx.ADDT.life.quantile.gamma.R | 5f34755f8be22c67d30daff1c9e1e9d892ea751d | [] | no_license | anhnguyendepocen/SMRD | 9e52aa72a5abe5274f9a8546475639d11f058c0d | c54fa017afca7f20255291c6363194673bc2435a | refs/heads/master | 2022-12-15T12:29:11.165234 | 2020-09-10T13:23:59 | 2020-09-10T13:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 464 | r | fx.ADDT.life.quantile.gamma.R | fx.ADDT.life.quantile.gamma <-
function (gamma.hat, p, distribution, FailLevel, xuse, transformation.response,
transformation.x, transformation.time, model, trans.of.quantile = F)
{
theta.hat <- f.ADDT.origparam(gamma.hat, model)
return(fx.ADDT.life.quantile(theta.hat, p, distribution,
FailLevel,... |
b2c6d9064f81366496d493c467bc0290cfd55f98 | d46af12402c6f9e83ad322d777d7db1b6bfe3706 | /R/03_figures/10_figure_XX_03.R | 06be48d8f2f166fa5974f24bb4c0403b9e49e47d | [
"CC-BY-4.0",
"MIT"
] | permissive | cbig/japan-zsetup | 569ab4a3fc514d9da5d7dba2d6832c767b5f0d36 | 30b0e22602849815f5fded8ac0eeb9211408c144 | refs/heads/master | 2020-04-20T02:31:55.663618 | 2019-01-31T18:31:10 | 2019-01-31T18:31:10 | 168,573,921 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,042 | r | 10_figure_XX_03.R | # Figure XX: Hex-grid priority pattern maps
library(dplyr)
library(tidyr)
library(sp)
library(raster)
library(rgeos)
library(rgbif)
library(viridis)
library(gridExtra)
library(rasterVis)
set.seed(1)
study_area <- getData("GADM", country = "LKA", level = 0,
path = "tmp/hexagonal-grids/") %>%
d... |
43f0d28f0b6b2fa70223fee1c560267e8cc9f7a8 | 87f1d6db8735e3223d5f0418a2c19c185145fc96 | /Rcode/dev.new.R | c2a0c8bed6a8d729b6066f4428fb94df2d7f2493 | [] | no_license | marmundo/TouchAnalytics | a07c1b884da4015b509bd21c476fa1018ca4f93f | feea9d9e265c3d64b055494c34c5d826a3b122e8 | refs/heads/master | 2021-01-18T22:51:31.345382 | 2017-11-23T12:31:12 | 2017-11-23T12:31:12 | 9,913,965 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 309 | r | dev.new.R | dev.new <- function(width = 7, height = 7) {
platform <- sessionInfo()
if (grepl("linux",platform)) {
x11(width=width, height=height)
}else if (grepl("pc",platform)) {
windows(width=width, height=height)
} else if (grepl("apple", platform)) {
quartz(width=width, height=height)
}
}
|
6b0d998b26fefa7f028f0512e6b484098d921633 | 58cc8d3e92854e81ba82379429b261f076af5a4a | /EnsANN.R | 759599a1e73f254fa5d045dcbe854d40170cef5b | [] | no_license | SWoOvOo/EnsembleLearning | 5398af11212784f74831d22f644575aa39b5819e | 294764360d964e10e25a6212b9b6bfcaeddbd77a | refs/heads/main | 2023-01-01T20:56:45.282589 | 2020-10-26T04:18:05 | 2020-10-26T04:18:05 | 307,029,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,171 | r | EnsANN.R | ###Ensemble ANN function
#'based on R package "neuralnet"
#'
#'Siwei, 20201023
#load packages
library(neuralnet)
##Part 1
##Average ensemble of neuralnets trained with identical hyperparameters and different random starting weights
#Training function
ensANNa_train <- function(nNN, seed=1, formula, data... |
dc891ee16e493f83d4f23ed557c8a582df93ab73 | f9b5963321f1387041da217634906671eac336b9 | /Plot3.R | 2a5a3ea804fc5ac1ba24db3e31b2095e0133d539 | [] | no_license | naciselim/ExData_Plotting1 | 129610797d403a861ae5704e776454f705bec47d | 98f90db02c566c2aaf681f0b7e8bdaefb12872a2 | refs/heads/master | 2020-12-26T11:15:44.573636 | 2015-12-11T06:30:56 | 2015-12-11T06:30:56 | 47,783,831 | 0 | 0 | null | 2015-12-10T19:49:12 | 2015-12-10T19:49:11 | null | UTF-8 | R | false | false | 1,241 | r | Plot3.R | # This program draws the Plot 3 mentioned in
# https://github.com/rdpeng/ExData_Plotting1
setwd("d:/Coursera") # not this is correct on my laptop only
# I convert them to POSIXct so that I can compare dates.
firstDate <- as.POSIXct("2007-02-01")
endDate <- as.POSIXct("2007-02-03") # exclusive
# my laptop memory and... |
62891e5adfdb03f09393298dc5136621a368143f | 014d7e2d3618180e4f0c626385f728858d304d39 | /man/compute_lppd.Rd | 4d9497fd8ea2d6deac8d8a08b2ebe935aee1657e | [] | no_license | StrattonCh/msocc | a4d9818d4e87c061f8d11f68f89d9791c3bd0eca | 0180cb0489da46208079ae31aac46f6d83c3e058 | refs/heads/master | 2021-06-24T13:08:17.677146 | 2020-12-21T08:05:08 | 2020-12-21T08:05:08 | 173,383,551 | 2 | 1 | null | 2020-01-27T20:27:55 | 2019-03-02T00:00:45 | R | UTF-8 | R | false | true | 548 | rd | compute_lppd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_lppd.R
\name{compute_lppd}
\alias{compute_lppd}
\title{Compute log pointwise predictive density}
\usage{
compute_lppd(msocc_mod)
}
\arguments{
\item{msocc_mod}{output from \code{\link{msocc_mod}}}
}
\value{
numeric value that is the l... |
9e51b69d9be61b11d23791994545247fe2ec8d0d | 387cef68bd1759aa02bffe9c097d45787e862106 | /man/plot.mHMM_gamma.Rd | b72c3f8692ad4ffc345d8f607cddc3c42c907f1a | [] | no_license | emmekeaarts/mHMMbayes | 85c1f2cbe7c34e94f6b9c463f673007db5d575a2 | 0222eb41d7e143eae02a33199c93364fabd07b13 | refs/heads/master | 2023-08-31T01:12:49.606904 | 2023-08-14T12:01:50 | 2023-08-14T12:01:50 | 167,544,703 | 11 | 10 | null | 2023-07-25T22:37:58 | 2019-01-25T12:33:24 | R | UTF-8 | R | false | true | 5,172 | rd | plot.mHMM_gamma.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.mHMM_gamma.R
\name{plot.mHMM_gamma}
\alias{plot.mHMM_gamma}
\title{Plotting the transition probabilities gamma for a fitted multilevel HMM}
\usage{
\method{plot}{mHMM_gamma}(x, subj_nr = NULL, cex = 0.8, col, hide, ...)
}
\arguments{
\it... |
a8e5acc4967201413ba6fae500226ac429d4b7c3 | ca0a9f8dfa1487adaf9ba2f8d21d0d06dddd79dc | /man/detectGlobal.Rd | f13ff0ef72b0b69e3e6efd18ccee7d58ac8d6dab | [] | no_license | cran/packS4 | c964c29f4e9e2c1f18bdcbbd91e3257f5ca15296 | 2c3a7206237f28672987275ef5696d66bb5ded34 | refs/heads/master | 2021-03-12T23:57:06.953797 | 2015-05-27T00:00:00 | 2015-05-27T00:00:00 | 17,698,171 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,457 | rd | detectGlobal.Rd | \name{detectGlobal}
\alias{detectGlobal}
\title{
~ Function: detectGlobal ~
}
\description{Detect if there is some global variable in a function.}
\usage{
detectGlobal(realResult, tolerance = 0, theoResult = "", result = TRUE)
}
\arguments{
\item{tolerance}{Some keyword are detected as global varia... |
a5229815cf52e926ac88385cf112296bbcc8bd28 | e639b03c2c5db80538dc4b3ab22e094e3eeddb8e | /hw4.R | e2fbaa2ac1dc3afef28e7199d6ecaa05f1e07940 | [] | no_license | ramenkup/370HW4 | 3f2d1efb591a229cfc82ad1c735300bfcf268036 | 4b812343fc9d47ffb3a485c08c44ebe1a11e01bc | refs/heads/master | 2021-01-10T05:00:46.387451 | 2016-01-13T22:38:00 | 2016-01-13T22:38:00 | 49,603,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,080 | r | hw4.R | #Spencer Klinge
#Sunday Nov 1th, 2015
#ISTA370 - Prof. Kumar
#Homework #4
#*************************************************************
#1
sex_lies <- read.table("~/Downloads/sex_lies.txt", header = TRUE, sep = "")
sex_lies
gender.lies.aov<- aov(count~gender*lies, data=sex_lies)
summary(gender.lies.aov)
print(model... |
d32e68721ca2ed3914b26f54c39dca5c5c825969 | 13004837fb945fc180867a47cf03600484b2c071 | /_site/lessons/dplyr_tutorial_lesson_20190123.R | 31c69c9086f57f022578781cdcab6630e4bd6b48 | [
"Apache-2.0"
] | permissive | UBC-R-Study-group/studyGroup | 89a1cd77c7b8a6d760939e356e75b942e5de7001 | 37d7c51b7bff3315ea02273492db969bd09348f1 | refs/heads/gh-pages | 2022-05-04T20:58:28.439487 | 2022-04-22T21:20:51 | 2022-04-22T21:20:51 | 148,341,456 | 24 | 16 | Apache-2.0 | 2021-03-24T19:58:59 | 2018-09-11T15:47:08 | HTML | UTF-8 | R | false | false | 4,891 | r | dplyr_tutorial_lesson_20190123.R | # Intro to Data Manipulation with dplyr!
# Here we will cover some of the most commonly used dplyr functions, using one
# of dplyr's practice datasets. Specifically, we will be looking at five
# functions used to manipulate dataframes (tables):
# 1. select() - extract columns based on name or index
# 2. filter() - ex... |
7ae3b324fbad4e57802e584b67deada7bb8f9114 | e36d726cb49640d4dfb56103bb5e76bf46e82034 | /HW6.R | 0ba0f96c3f3b013689b4f40b0aa2d88a3094413a | [] | no_license | nickfrasco/CSCI-365 | 10552d188d90fafb927807d846acd4a0a33559c1 | dc182f8b0754891bdcadab61d4b0e9d5cefa67dc | refs/heads/master | 2022-11-27T07:43:01.993652 | 2020-07-21T15:13:19 | 2020-07-21T15:13:19 | 281,430,806 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,185 | r | HW6.R | #Nicolo Frasco
#nfrasco@iu.edu
#Question 1
#A.
data = read.csv("~/Desktop/Vocab.csv", sep = ",", stringsAsFactors = FALSE);
x = as.vector(data[,4]);
y = as.vector(data[,5]);
n = length(x);
x = cbind(x,rep(1,n))
#print(as.matrix(x));
#B.
xbar = sum(x)/n; #from example
ybar = sum(y)/n;
xybar = sum(x*y)/n;
xsqbar ... |
15e7685f1d4ebbc57010488ab9d9d44561792fe2 | 1fc489e086a1d0e1d25d84f37e550193d47bf6c4 | /plot4.R | b60c57a07ca8779e166f375de30d7cc06e99d54d | [] | no_license | nadiapavlova/Exploring-Data--Project-1 | 07ef2afbc261e7ce985e8eda20019519b57f7e20 | 1dea432b840ce218969346b066b273477a9b9266 | refs/heads/master | 2021-05-04T14:47:10.647608 | 2018-02-04T19:25:05 | 2018-02-04T19:25:05 | 120,210,716 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,647 | r | plot4.R | # Coursera Data Science: Exploratory Data Analysis
# Course project 1: plot4
# load the data
rm(list = ls())
if(!file.exists("data")) {dir.create("data")}
fileurl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileurl, destfile = "./data/c4project1.zip", method... |
ba5f7069ac54092f35a5b9eb184f38155402db35 | 880100a71e2ddee1a893599e0d0008acda6b0bd4 | /R/DNEbar.R | f8a409168d6a82f9c4f7951a85be9af82828385f | [] | no_license | cran/molaR | e3ebbfd4d2c9a641871e7a94b461434df1ea0f79 | 4fdd31517ba9593284f4e0678756a1c0b34775df | refs/heads/master | 2023-02-09T01:03:05.551332 | 2023-01-26T23:30:02 | 2023-01-26T23:30:02 | 48,084,328 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 4,103 | r | DNEbar.R | #' Plot advanced results of a DNE surface analysis
#'
#' a molaR plotting function
#'
#' @param DNE_File An object that stores the output of the DNE()
#' function
#' @param main User's title for plot.
#' @param convexCol Color for the convex DNE total. Default='hotpink'
#' @param concaveCol Color for the concave DNE... |
23490aba8c50c5588b477d1f498eed232ee5a229 | 19749d7a0180996920b35ffb4aae218ea6f36975 | /scriptR/src/functions.R | b6a041a30c25656c5e336d8588d7273848cfb938 | [
"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 | 7,989 | r | functions.R | #Functions
#For HiC
loadRData <- function(fileName){
#loads an RData file, and returns it
load(fileName)
get(ls()[ls() != "fileName"])
}
get_sub_matrix_Hic <- function(file,bed,binsize){
HTC <- loadRData(file)
rows.chr <- x_intervals(HTC)
val1 <- HTC %>% intdata %>% sum
# HTC <- normPerReads... |
51120e6eb4d328bd4539e1988a5cbc2983f1d0ba | 7fddad3797bd8df11c687a71c77293be3719efce | /clusteringBasic.R | 900c6916946475fb08e74ba69daf735c3a5537fc | [] | no_license | DenaliCarpenter/gradientMetricsM1 | 063acd301f9624e1915ab0feb1a5090c172e2362 | 6df5349f7e37446416f54bf5f40d49cf5853a946 | refs/heads/master | 2023-01-24T01:41:44.214813 | 2020-12-04T05:24:06 | 2020-12-04T05:24:06 | 316,644,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,268 | r | clusteringBasic.R | library(tidyverse)
library(cluster)
library(factoextra)
library(haven)
library(fclust)
library(ggplot2)
library(readr)
library(Rtsne)
library(sjlabelled)
library(fpc)
library(reshape2)
library(dendextend)
library(klaR)
library(radiant)
# Data Cleaning -----------------------------------------------------------
survey... |
06d2cf8fff3c0d26e6dd04b6689a7a9e0f4caecc | e17c6aec7115cb53939b784a87f5909be5fff032 | /Matrix on a Plot.R | e20cd49eeb5d2c9a586bb901d9840a1478371b72 | [] | no_license | fawnshao/rexamples | 801ca734159a46ac67ed03b578001529563d3142 | 8e61d423237da5cb409f032dd896903fe8ac68c4 | refs/heads/master | 2021-01-18T05:46:15.505501 | 2013-06-11T01:26:21 | 2013-06-11T01:26:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 196 | r | Matrix on a Plot.R | library(gplots) #after install.packages("gplots")
m <- matrix(sample(9), 3)
matplot(m, type='l')
par(fig = c(0.5, 1, 0, 0.5), new = T)
textplot(m, show.rownames = F, show.colnames = F, cex = 0.9) |
7a7be563fb7282a9a6c57c3c055a23caaaa73520 | 3e19721d348058ca7f56660d06b9873e3110b161 | /analyze text.R | c0388e8a8e81a1d3b225e9f543db12bdd8d01386 | [] | no_license | dhicks/NVIC-analysis | 1928f1ffda0e56bfdea2bd03442ce592b96fa07f | 4bdd7f0bfb65b5bbcd882435a4009ca18e30b2b5 | refs/heads/master | 2021-01-02T09:15:16.651118 | 2017-01-11T17:02:47 | 2017-01-11T17:02:47 | 78,681,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,112 | r | analyze text.R | library(tidyverse)
library(tidytext)
library(stringr)
load('www.nvic.org.Rdata')
## Remove empty documents
parsed_site = parsed_site %>%
filter(!is.na(title), !is.na(text))
## For development purposes, work with a much smaller set of documents
# parsed_site = parsed_site %>% sample_frac(size = .25)
## The simples... |
b5ce3ab65e710e76d1c162403c9c2b29131d8423 | fa2be78cc25d98d6d5dd2a1456104dea264ef5a8 | /R/imports.R | 92d75c7a443a62c03353b28ed02aa8d473abbee8 | [] | no_license | sponslerdb/hivescaler | 5929018d70f8277c663c0a5a62a743fd004a6a8f | 3643fdaf79515fc8b9a8d744810ead9ee79f4ccf | refs/heads/master | 2021-06-09T06:31:43.212438 | 2019-12-02T04:06:57 | 2019-12-02T04:06:57 | 140,870,760 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 311 | r | imports.R | #' @import ggplot2
#' @import dplyr
#' @import tidyr
#' @import readr
#' @import purrr
#' @import tibble
#' @import stringr
#' @import forcats
#' @importFrom magrittr %>%
#' @importFrom zoo rollmean index
#' @importFrom timetk tk_xts
#' @import xts
#' @import dtwclust
#' @import harrietr
#' @import rnoaa
NULL
|
7fa781fa611c2065bdc30674f9505cffcc47cab6 | 2f33e51b4937b0c5b9ed6ef12e60ce1d38f254c6 | /R/2019/2019_Week47_NZBirdsOfTheYear.R | 1299fc7ea23112c17e465b937a6081904b72a534 | [] | no_license | MaiaPelletier/tidytuesday | 54c384d5a631957e76af83ac9f734f87638536e6 | ed25cf98fbafaaedc76df729d6170f143d7ddc5e | refs/heads/master | 2021-10-12T00:13:01.730556 | 2021-09-27T20:28:35 | 2021-09-27T20:28:35 | 219,841,220 | 15 | 7 | null | 2020-12-04T14:23:40 | 2019-11-05T20:10:06 | R | UTF-8 | R | false | false | 7,877 | r | 2019_Week47_NZBirdsOfTheYear.R | # Week 47 - NZ Bird of the Year -------------------------------------------
library(tidyverse)
library(tidytuesdayR)
library(Cairo)
## Get data from tidytuesdayR pagkage
tuesdata <- tt_load(2019, week = 47)
nz_bird <- tuesdata$nz_bird
## A little bit of tidying
nz_bird <-
nz_bird %>%
mutate(
vote_rank ... |
dfc9d73029a00f3dedb9ef39eb8485072f6397c1 | b49c539a9b70f493c3f20b07fc087318b22ad0da | /man/new_factor.Rd | fea1bf4d9d47c2b376338865c1305e36137aab89 | [] | no_license | Tangjiahui26/foofactors | 5f3c753752ead478542f9b128b248e3698a994e6 | 574c5e41179cb867901c021ee974894cb94dda1b | refs/heads/master | 2021-08-21T20:31:18.865133 | 2017-11-29T01:05:06 | 2017-11-29T01:05:06 | 111,994,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 427 | rd | new_factor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/new_factors.R
\name{new_factor}
\alias{new_factor}
\title{Set levels of a factor to the order appeared in data}
\usage{
new_factor(x)
}
\arguments{
\item{x}{a factor}
}
\value{
a factor with levels in the order appeared in x.
}
\description{
... |
6bb56de4db9634569b2468ed5b69f9a9f9955f4c | cbd70b829a3dffc23bffe01929d7732f2df815f5 | /temp.R | 7d0d98058b4c840694b3761cea9efd449a661950 | [] | no_license | kimberlyroche/ROL | 603ac7a71a0487b1ff999a14cc34681090e299fc | d33c8f63c692a55cdca9c551b718f1c04929d6f8 | refs/heads/master | 2021-02-18T23:58:43.631388 | 2020-12-08T23:47:55 | 2020-12-08T23:47:55 | 245,254,434 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 839 | r | temp.R | rm(list = ls())
library(ROL)
d1 <- load_Johnson_2D_summary(); summarize_all_pairs_2D(d1)
d1 <- load_Caporaso_2D_summary(); summarize_all_pairs_2D(d1)
d1 <- load_David_2D_summary(); summarize_all_pairs_2D(d1)
d1 <- load_DIABIMMUNE_2D_summary(); summarize_all_pairs_2D(d1)
d1 <- load_McMahon_shallow_2D_summary(); summariz... |
c5e160a6b8449eda694eeada6b2f1472e54610f9 | 0dc7121ee1e033ffca6575849e7ce9bed2c7d0c2 | /man/get_append_weekly_log_returns.Rd | 73eb27eaa3fe1a1c9f70f5b4aeb9c3097a590d4b | [] | no_license | gmahjub/steal-basis-r | 156341e2812eaf721890ad25c2dc2fc304130242 | 67d3db66adb1b3aeb91a167b00220a02afe50502 | refs/heads/master | 2021-03-31T01:11:27.351523 | 2018-08-05T03:13:19 | 2018-08-05T03:13:19 | 125,122,687 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,455 | rd | get_append_weekly_log_returns.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/returns.R, R/zscore_stats_funcs.R
\name{get_append_weekly_log_returns}
\alias{get_append_weekly_log_returns}
\alias{get_append_weekly_log_returns}
\title{get_append_weekly_log_returns}
\usage{
get_append_weekly_log_returns(tibble_obj, fill_in... |
e0aaf0ef501c85771ce432f7bd1ca55d39155dbd | 3b8e2dedcbf2774585962bc163ddaaf8eef36076 | /man/MLEp.bsci.Rd | e5d19e4cf0f2693037cb3f27c8895a3e79c2fd1b | [
"MIT"
] | permissive | ville-kinnula/SPEC | 76d4eab4aaa2dc3408816b4f3abdd31f1a90a40e | f3705f38520c6678bcd38efd94cad5143919e561 | refs/heads/master | 2023-06-17T17:14:56.124246 | 2021-07-08T13:22:21 | 2021-07-08T13:22:21 | 357,901,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 786 | rd | MLEp.bsci.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Parameter_estimation_and_hypothesis_testing.R
\name{MLEp.bsci}
\alias{MLEp.bsci}
\title{Bootstrap confidence interval for the MLE of psi}
\usage{
MLEp.bsci(x, level)
}
\arguments{
\item{x}{A data vector.}
\item{level}{Level of confidence int... |
7836cd6977df1b0fd90be54ca1468875cebf7a3d | 0a906cf8b1b7da2aea87de958e3662870df49727 | /ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1609955670-test.R | 61a70c77811e90594e7cbb5aeaf94e4ae65afe8b | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 796 | r | 1609955670-test.R | testlist <- list(id = integer(0), x = -Inf, y = c(1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, 1.42602581597035e-105, -5.0497568280... |
bb39c16a6cc4e07523f8fabcfafdd4e1217db624 | d09bd36acdde95c8596287fbcebb89dd4c7fb906 | /R/plotfuns.R | 7011f9470c2a139884874f1688b1c5a72d496737 | [] | no_license | MingweiWilliamTang/phyloInt | de68a79de30880573527de3ff0700ab3cd2b9f0e | 504b651261ed6edc5aedca4c48b656fe401f52c5 | refs/heads/master | 2020-04-25T14:42:46.085222 | 2019-07-29T19:11:35 | 2019-07-29T19:11:35 | 172,850,819 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,262 | r | plotfuns.R | #Rcpp::sourceCpp('src/SIRS_period.cpp')
#Rcpp::sourceCpp("src/SIR_BD.cpp")
#source('~/Dropbox/Research/GP/code/LNAPhyloDyn/R/coal_simulation.R', echo=TRUE)
#source('~/Dropbox/Research/GP/code/LNAPhyloDyn/R/SIR_LNA_standard.R', echo=TRUE)
plot3 = function(traj){
dev.off()
par(mfrow = c(2,2),mar=c(4,4,1,1))
plot... |
51268d4e2a11990e34b61fb457d333b72c5e5fef | 751cb702d367147470470838c89b6eff530d899e | /seatrackR/R/listFileArchive.R | e0f5761d699736a93256bd22a4c1c9b82682e011 | [] | no_license | NINAnor/seatrack-db | 30877c9483b08f824fc2e717f44f4379e76ba35b | e07284fb970fb82ba922c8703cd938bfa1da384e | refs/heads/master | 2023-08-16T09:44:50.246576 | 2023-08-16T09:09:22 | 2023-08-16T09:09:22 | 89,018,319 | 0 | 0 | null | 2023-08-16T09:09:02 | 2017-04-21T19:45:42 | R | UTF-8 | R | false | false | 1,754 | r | listFileArchive.R | #' Retrieve info on the status of files in the file archive
#'
#' This function checks which files are stored in the file archive, which files that are missing from the archive
#' (listed in the database but not present in the file archive), and which files are in the archive but not listed in the database (should be z... |
8d5c7c80874437a993b5f7ec0027a4d65b076b9e | f41039eccb1f5c667927166664a30a224cbae2b8 | /code/conditional_analysis/plots/ca_upset_plot.R | 8967f113871d56899ec70b4f15053be7049cd6e1 | [] | no_license | brycerowland/UKB_BCT_TWAS | 959f5e9508a708b70c1d77bba10c73357b559327 | 938866c51765e025b8b05894306af5d217dd1814 | refs/heads/master | 2023-09-03T00:15:45.191129 | 2021-11-16T16:19:58 | 2021-11-16T16:19:58 | 205,016,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 864 | r | ca_upset_plot.R | library(tidyverse)
library(UpSetR)
library(fastDummies)
ca_results <- read_tsv("../../../data/conditional_analysis/REGENIE/analysis_results/UKB_BCT_TWAS_CA_results.tsv") %>%
filter(log10_conditional_p > -log10(0.05/11759)) %>%
select(gene_name,
phenotype)
fromList(ca_results)
p_dat <- ca_results %>%... |
f1a6b8b70238c1cc545b40ea720a7b487ffc3540 | e7fac3e63d4df0a4910ef5849d84f1ab7fc290d7 | /CombineFiles.R | f2d4adb219aea929b077594e1754471c659f4326 | [
"CC-BY-3.0"
] | permissive | l3atbc/verbcorner_data | f238e7ad01219801b4ac6eb66ca435b9b725e2ea | dbc3c66e7da0112c71dc7c2ee397b31d23ce1ebd | refs/heads/master | 2020-03-10T02:54:03.102058 | 2018-04-11T19:31:33 | 2018-04-11T19:31:33 | 129,149,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,039 | r | CombineFiles.R | #combine files from database
combine_files = function(file1, file2){
a<-read.csv(paste("Downloaded/",file1,sep=""))
b<-read.csv(paste("Downloaded/",file2,sep=""))
lena1<-length(a[,1])
lenb1<-length(b[,1])
a<-unique(a[,c("question_id","question","answer","user","oversampled","comments")])
b<-unique(b[,c("question... |
9b45a775454f8397e242fc1ffeab62c51520b92a | 711be6aefd3d76739908e06c091cef714052ec09 | /test.R | ce8f65a92eba818ee8e33ec2591c254fcd202897 | [
"MIT"
] | permissive | louissutter/fun | 33716c8da507084fe4142da960f65e2b31df8f6e | dd636dc4ecc5fcb6039cf6b0c7a1ef699658e2e7 | refs/heads/master | 2020-05-17T19:44:17.104920 | 2015-08-24T12:40:30 | 2015-08-24T12:40:30 | 41,141,676 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 105 | r | test.R | version control system:
###something else
# edit it here online
# hoi tschumi
|
5ed017dbd757662535f001d0113543cbf1635c89 | 8e5c3a50a9d0826de579e9d54f3b67ba7e1c7bf5 | /Analise/R/distribuicaoDosDados.R | f8bbc8a393f0af55109d74683c85909dee75d7ea | [] | no_license | GIlGoncalves/BI2Semestre | 5a1e62dd564181709034196bb4ec3fe96494faa1 | 7660a33567e3e89a72fef89f0758b65b5bb4ddf8 | refs/heads/master | 2021-03-16T08:41:06.113074 | 2017-07-01T09:14:27 | 2017-07-01T09:14:27 | 84,658,813 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 13,561 | r | distribuicaoDosDados.R | setwd("cadeiras/bi/analise de dados/trabalho/")
ficheiro<-read.csv("outMovieFinal.csv",header = T)
for(i in 29:length(ficheiro)) {
ficheiro[is.na(ficheiro[i]),i]<-0
}
ficheiro<-ficheiro[,c(-4,-16,-17,-18,-22,-27,-10)]
array<-which(ficheiro[2]=="", arr.ind = T)
ficheiro<-ficheiro[-array[,1],]
#fit0 <- lm... |
e93865a1d08b9edc7a2235e9e4777217da6b136d | 66fc06eafc6e93e3720334251874e5ee4195d6f7 | /man/TF_to_posneg.Rd | ecf9402aba77ffb48b2f32426bfa038d06f54808 | [
"MIT"
] | permissive | ianhandel/epidemr | 44361127850aebeab12e870c70486c16fc520f26 | ce4077d5dadf0edb9225b3eaef6331dbd82fcb70 | refs/heads/master | 2022-05-24T11:47:03.202447 | 2022-04-13T08:17:24 | 2022-04-13T08:17:24 | 114,266,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 334 | rd | TF_to_posneg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{TF_to_posneg}
\alias{TF_to_posneg}
\title{Utility function to convert TRUE/FALSE to positive/negative}
\usage{
TF_to_posneg(x)
}
\arguments{
\item{x}{Input vector}
}
\description{
Utility function to convert TRUE/FALSE to positi... |
2b7ac43383cdc804dadfdf1a2fdb0e071248694c | 83e19da2b2847b36f2a82e8bf7f38108a4286974 | /man/pyFunction.Rd | 427d147d03fb95b041986d7710670f941669f72c | [] | no_license | cran/PythonInR | dc710e7c21e3d67bee9644517a2fa9c138ee62cd | 064930845cbab2e05bd25ed17a270547521b2a6f | refs/heads/master | 2021-07-13T05:33:42.412009 | 2020-06-21T19:50:06 | 2020-06-21T19:50:06 | 38,826,198 | 12 | 1 | null | null | null | null | UTF-8 | R | false | true | 745 | rd | pyFunction.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PyObject.R
\name{pyFunction}
\alias{pyFunction}
\title{creates a virtual Python function}
\usage{
pyFunction(key, regFinalizer = FALSE)
}
\arguments{
\item{key}{a string specifying the name of a Python method/function.}
\item{regFinalizer}{a... |
839884354642288bb6e158d3ae83937ed0842fa8 | 6e47ec86ea307588d08a9bbc3094e729bea70966 | /R/db_execute.R | 378eaddcb3866202db647d2ed47ebf0d22341ac3 | [] | no_license | MohoWu/databaser | 8baa7bdfb82671f8d5da359c519abbfc145dda90 | 4d80aeba7bfa8635d245abd1e0dff7b3ce8b5562 | refs/heads/master | 2021-07-12T22:25:14.590383 | 2017-10-18T13:51:05 | 2017-10-18T13:51:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 675 | r | db_execute.R | #' Function to execute statements on a database.
#'
#' \code{db_execute} is a wrapper for \code{DBI::dbExecute} but is vectorised
#' over \code{statement}.
#'
#' @author Stuart K. Grange
#'
#' @param con Database connection.
#'
#' @param statement Statement to send to \code{con}.
#'
#' @param ... Other parame... |
321dbcb65548de539a9d849392aac0ec10dc4dfd | b9e54258e540f0a0447045729bb4eecb0e490426 | /Bölüm 23 - Makine Öğrenmesi VI - Neural Networks : Yapay Sinir Ağları/25.11 - Neural Network - Model Eğitim İşlemleri.R | 5b428a8569a60d18563b2daf3f243ba336968579 | [] | no_license | sudedanisman/RUdemy | b36b67b9e875206a5424f33cc784fd13506f8d8d | 28a9814706873f5d2e5985e4ba795354144d52c4 | refs/heads/master | 2023-01-30T01:54:26.321218 | 2020-12-14T11:36:00 | 2020-12-14T11:36:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,417 | r | 25.11 - Neural Network - Model Eğitim İşlemleri.R |
### Neural Networks - Yapay Sinir Ağları
install.packages("neuralnet")
library(neuralnet)
diabetes <- read.csv("diabetes.csv")
View(diabetes)
modelData <- diabetes
modelData$Outcome <- as.factor(modelData$Outcome)
library(caret)
modelScale <- preProcess(modelData , method = c("center" , "scale"))
modelDataScale... |
b568314766f0df4710bf4e4a7ead4edeeae5a156 | 40c40770f7ff82c30fa6e58d948f9b90508758c8 | /man/MP_treeplot.Rd | 1a15da74a82fda39df0f5eb0b3cf46f6db837a5d | [] | no_license | NatalieKAndersson/DEVOLUTION | c61a5ff65d1322f1ec4794435d2c17bf6f2e65fa | 7ec9cec2ef04cdacb47db6413b41c352b0460d7f | refs/heads/master | 2023-08-09T20:13:18.565107 | 2023-07-12T13:05:39 | 2023-07-12T13:05:39 | 297,145,258 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 523 | rd | MP_treeplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DEVOLUTION.R
\name{MP_treeplot}
\alias{MP_treeplot}
\title{Visualising the MP-tree.}
\usage{
MP_treeplot(MP_tree, limitmp, col)
}
\arguments{
\item{MP_tree}{The MP-tree object obtained from mp_tree()}
\item{limitmp}{The size of the plotting... |
2eba7008528434f9571717ed9b79aad28760e060 | 1dc583069d13fa3f4b8f3894d9cc8aecae3fecac | /taxonomy_wrangling.R | 212ee438736e3d54c4ec4a5ec40c96ff3526eb2a | [
"MIT"
] | permissive | xxz19900/Schloss_PacBio16S_PeerJ_2015 | 3122bc35f8129b9f02afd1f6cc1533103c5f5d76 | 65432c7c55ea39e19109bec51ddc07e482aae9b0 | refs/heads/master | 2021-07-21T18:53:09.734364 | 2017-11-01T11:24:48 | 2017-11-01T11:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,562 | r | taxonomy_wrangling.R | regions <- c("v4", "v13", "v35", "v15", "v16", "v19")
# this will go through each vector of taxnomic levels and extract
# bootstrap value. It returns whether a taxonomic level had a bootstrap
# valu over the cutoff (80%)
countGoodBootstraps <- function(nameConf, cutoff=80){
bootstrap <- gsub(".*\\((\\d*)\\).*", "\\1... |
504dc4b5d4fd8ef3a29a36637e7d726c3254b6b7 | c9b151232ad188a38469473ec765c0f7a1defe7c | /R/entropy.R | d85b74e8a063bbadf9aad42240dee4afed3ebffe | [] | no_license | obreschkow/cooltools | 3b2c46ac539962153c3a9aa8fbeaeee185455015 | 3b212d077537220aec5b8162f04ed85f7f0af996 | refs/heads/main | 2023-08-15T02:14:07.742064 | 2023-07-24T08:47:36 | 2023-07-24T08:47:36 | 184,692,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 760 | r | entropy.R | #' Information entropy
#'
#' @description Computes the information entropy H=sum(p*log_b(p)), also known as Shannon entropy, of a probability vector p.
#'
#' @param p vector of probabilities; typically normalized, such that sum(p)=1.
#' @param b base of the logarithm (default is e)
#' @param normalize logical flag. If ... |
a81e3d8aebc905bb74a15d831801ca4dba720729 | 753e3ba2b9c0cf41ed6fc6fb1c6d583af7b017ed | /service/paws.lambda/man/get_function.Rd | 132f8417042ad4bdc0eabcfe228541206cc9e10f | [
"Apache-2.0"
] | permissive | CR-Mercado/paws | 9b3902370f752fe84d818c1cda9f4344d9e06a48 | cabc7c3ab02a7a75fe1ac91f6fa256ce13d14983 | refs/heads/master | 2020-04-24T06:52:44.839393 | 2019-02-17T18:18:20 | 2019-02-17T18:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,549 | rd | get_function.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.lambda_operations.R
\name{get_function}
\alias{get_function}
\title{Returns information about function or function version, with a link to download the deployment package that's valid for 10 minutes}
\usage{
get_function(FunctionName, Qu... |
29f7145d559d98ed60fd65656397946fa047bf2f | 5fcdd3a20bf19b949f1eda484d5af0b35df7a8de | /2022_mlb/R/standings.R | e12b3ea5f672045d83d4268d542b817530efa255 | [] | no_license | TK2575/threeIdiots | e28c5c2dc1837320342c682e45416bdffa3b5d3e | 11b0fb512326a2c6a413bccb94798bbfa48934cc | refs/heads/main | 2023-08-24T15:15:19.182497 | 2023-07-23T06:30:47 | 2023-07-23T06:30:47 | 178,906,282 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,375 | r | standings.R | library(baseballr)
library(tidyverse)
library(janitor)
library(magrittr)
library(purrr)
library(rvest)
get_weekly_standings <- function(date=Sys.Date()) {
map(.x = sundays(),
.f = get_standings,
from = FALSE) %>%
bind_rows()
}
get_standings <- function(html_file, date=Sys.Date(), from=FALSE) {
di... |
12d4881ef1a1b2857db51a1f011c7994f0be6382 | fe612f81a3118bf3ebef644bae3281bd1c156442 | /man/H2OSegmentModelsFuture-class.Rd | bb3bc19c94da78d8423d1a34031c8545eb67db1c | [] | no_license | cran/h2o | da1ba0dff5708b7490b4e97552614815f8d0d95e | c54f9b40693ae75577357075bb88f6f1f45c59be | refs/heads/master | 2023-08-18T18:28:26.236789 | 2023-08-09T05:00:02 | 2023-08-09T06:32:17 | 20,941,952 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 591 | rd | H2OSegmentModelsFuture-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\docType{class}
\name{H2OSegmentModelsFuture-class}
\alias{H2OSegmentModelsFuture-class}
\title{H2O Future Segment Models}
\description{
A class to contain the information for background segment models jobs.
}
\section{Slots}{
\des... |
b28a25cabca4ab1beac67dcbe6cc82a983ca6fb5 | 8864d28e6a3c8188f353702e64077c49f1fce412 | /man/compute_mad.Rd | 65b570083865419e0d843aba8fc1a49746f27d8f | [
"MIT"
] | permissive | biosurf/cyCombine | 8e63e800dac9784a017bccf198af645a5f4ce0f3 | 58f4dc5771e2fdb85a8b5675ef68ce9101d8b7c5 | refs/heads/master | 2023-08-27T03:56:14.451540 | 2022-11-11T07:16:29 | 2022-11-11T07:16:29 | 291,703,738 | 11 | 6 | null | null | null | null | UTF-8 | R | false | true | 752 | rd | compute_mad.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/evaluate_performance.R
\name{compute_mad}
\alias{compute_mad}
\title{Compute MAD}
\usage{
compute_mad(df, cell_col = "label", batch_col = "batch", markers = NULL)
}
\arguments{
\item{df}{Dataframe to compute the MADs of}
\item{cell_col}{Colu... |
359a37b93d43650f545b7cac3d46bb32f84bc3a9 | 5769b1d819612c1a7bd53fbdcde1419a57b263f4 | /Day 5/DataStructures, DataTypes and Coersion.R | c14adb44ca50dda392b8d719182267e097d4c4e6 | [] | no_license | Nashie-R/100DaysOfCodingR. | b41420a78f4b68420d650a72be466106fc6efbf8 | 7148008f794c97410169f4de0c849c4ad434b616 | refs/heads/master | 2020-12-13T07:00:11.255074 | 2020-05-13T11:38:35 | 2020-05-13T11:38:35 | 234,341,986 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,234 | r | DataStructures, DataTypes and Coersion.R | ---
title: "Day 5"
author: "Nashipae Waweru"
date: "15/JAN/2020"
segment: "Accessing Data".
---
#DATA TYPES####
#Numeric: integer,single,double
#Character
#Logical
#Complex numbers
#Raw
#DATA STRUCTURES###
#Vector: one or more numbers in 1D array
#Matrix: Two dimensions... #Array: 3 or more dimensions... |
faee4dd3fbee920a60df0a2c2023f159fd22b553 | 486012a2ab88a1c34f00687f37454b9b71c7315e | /tests/testthat/helper-functions.R | 7a415718190cd80906e38520599a70ad8ba5bf75 | [] | no_license | DivadNojnarg/periscope | fd61f3f23f1bf9a89288245623d37e9a57641cc0 | e3c76bf51a565e35df7924c6a319336fbda8736f | refs/heads/master | 2023-02-17T14:44:40.637555 | 2021-01-14T17:44:17 | 2021-01-14T17:44:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 244 | r | helper-functions.R | # helper functions for tests
library(shiny)
source_path <- "periscope/R"
if (interactive()) {
library(testthat)
library(periscope)
invisible(lapply(list.files(source_path), FUN = function(x) source(file.path(source_path, x))))
}
|
3d1ae5dc854c2b29e0d5a96e265406e442e1f65e | 593d4718f37df669f0e67c94b68c554a94eab19c | /01 Data/Titanic Analysis_GP1.R | a521f782743a850687f1e8d28a15a143339b64f8 | [] | no_license | juanitotaveras/DV_RProject1 | da80697027d6c8723f7d80dc715c720ce8b59903 | b326d49e53cba0a67ffc97848d175b4910501781 | refs/heads/master | 2021-01-19T08:54:59.388573 | 2015-09-16T03:07:00 | 2015-09-16T03:07:00 | 42,364,371 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,896 | r | Titanic Analysis_GP1.R | require("jsonlite")
require("RCurl")
# Change the USER and PASS below to be your UTEid
df <- data.frame(fromJSON(getURL(URLencode('129.152.144.84:5001/rest/native/?query="select * from titanic where sex is not null and fare>100"'),httpheader=c(DB='jdbc:oracle:thin:@sayonara.microlab.cs.utexas.edu:1521:orcl', USER='C##c... |
9cc7a28c2a14fe63d7febd0a4c5a1e57cf4b9611 | 3bef70f4b3d6283f2b2bfb44ccdfbf9b28c6429d | /man/read_ms_access.Rd | 04c9ac9c3ee8ded70b358003153145306cc068d9 | [
"MIT"
] | permissive | KWB-R/dwc.wells | 4c1594ea66b1792c6c955b98418982edf80675c1 | 45e8670647c4771fe70d59db0f7cfd1e80242361 | refs/heads/main | 2023-04-10T01:24:40.973815 | 2022-07-12T13:42:20 | 2022-07-12T13:42:20 | 351,021,733 | 0 | 0 | MIT | 2022-10-16T09:17:19 | 2021-03-24T09:35:15 | R | UTF-8 | R | false | true | 457 | rd | read_ms_access.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepare_functions.R
\name{read_ms_access}
\alias{read_ms_access}
\title{read table from MS Access data base via odbc connection under 64-bit-R}
\usage{
read_ms_access(path_db, tbl_name)
}
\arguments{
\item{path_db}{full path to database}
\it... |
83f46fcc5c8303c49938e0087c72f35d51263d84 | 05a5a1f17f5df9fe295b616fb8d3c2427b2430ac | /tests/testthat/test-return-data.R | 35c9c238cf368e69ecebf44010d9ac6f44c9928a | [] | no_license | AntiportaD/hrcomprisk | 20a0961bdf986414b7c1f2a8a2a23f9c93573d8d | c72ae62e96d05a585575a7ae8ea8c4952f03fce5 | refs/heads/master | 2020-09-27T04:53:26.499249 | 2020-01-23T14:35:03 | 2020-01-23T14:35:03 | 226,434,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 319 | r | test-return-data.R | context("Test hrcompet estimation and data return")
test_that("Wheter return gives desired data dimensions", {
set.seed(1)
data <- hrcomprisk::dat_ckid
dat_final<-npcrest(data, exit, event, exposure=b1nb0, entry, eoi=2)
expect_equal(nrow(dat_final$cuminc), 187)
expect_equal(ncol(dat_final$cuminc), 11)
})
|
d130049ed4b8216daa880f989cbab4d00f9c140a | c194c5236006a758b29bd4d530ad563dc9ecab7e | /inst/apps/acceptance_testing_mtbf/ui.R | 86ba992062cf8e1017d6cdd5ae7252567e8a7e9c | [] | no_license | Auburngrads/teachingApps | 1087c20a21992433a2f8451db7b1eaa7d1d2cb89 | b79c192e5f74c5e8376674d4fb9e0b95a426fe03 | refs/heads/master | 2021-03-16T07:49:56.579527 | 2020-06-14T12:10:12 | 2020-06-14T12:10:12 | 51,677,745 | 15 | 7 | null | 2018-03-01T03:44:58 | 2016-02-14T03:22:47 | R | UTF-8 | R | false | false | 1,179 | r | ui.R | ui = fluidPage(theme = add_theme(getShinyOption('theme')),
add_css(),
sidebarLayout(
sidebarPanel(width = 3,
sliderInput('ttt',
'Available Test Time',
min = 100,
max = 1000,
step = 10,
val... |
febc2b30b33cb4dd0de473b118eabab7cba51fd2 | 9d0e613597f8829edb92d69aa7edff3a2d403ecc | /tests/testthat.R | e2bd7c4eb964f4993e027e83294eb54c49c3ec5d | [] | no_license | cran/tfestimators | 52d81322245381915ac74c556c17f5032defe2f6 | 2daf8fc062f8288fea6a05a5d56b62804fa79e33 | refs/heads/master | 2021-08-27T16:24:09.668239 | 2021-08-09T21:30:02 | 2021-08-09T21:30:02 | 114,889,826 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 121 | r | testthat.R |
library(testthat)
library(tfestimators)
if (identical(Sys.getenv("NOT_CRAN"), "true"))
test_check("tfestimators")
|
f9d39d71e2cf1c454d2bf8c020918d3ad9bd3718 | e4345153bb30035fcde8709ffb3d1ab22dc6aa43 | /plot4.R | 7c1a92d9c177dff3a58e0ba6f411fe87b95c0976 | [] | no_license | nizamo/ExData_Plotting1 | bcaf137cf8bfc9935ef3ee4a68e57ec66ca24a4c | 852e5397129bbbed08ca94dc1c6669af43e6ff87 | refs/heads/master | 2021-01-18T12:33:28.478696 | 2015-08-09T15:56:22 | 2015-08-09T15:56:22 | 40,430,143 | 0 | 0 | null | 2015-08-09T08:26:52 | 2015-08-09T08:26:50 | null | UTF-8 | R | false | false | 1,415 | r | plot4.R | #project 1, plot 4
# read table from the folder
data<- "./exdata-data-household_power_consumption/household_power_consumption.txt"
data1<-read.table(data,header=TRUE,sep=";", stringsAsFactors=FALSE,na.strings="?",
dec=".")
#Subset the date to Date/Time classes
data1$Date<-as.Date(data1$Date, format="... |
8402fc25eac4426ac67202cc844dd70f4eb80e1d | 0877d83cdf78f6e3bb122c7d2c031791684506d3 | /R/attach_files.R | ff18ba1921a9b76b95e12ff0de825bc339d0560f | [] | no_license | BWAM/BAP | fec1dbe4475f3869f8007894e9ad9a5581cb1277 | 9dd041516b2f4c8a2269516c57d7ade41746d7e9 | refs/heads/master | 2023-04-30T00:25:15.586434 | 2023-04-26T16:17:49 | 2023-04-26T16:17:49 | 180,187,817 | 0 | 1 | null | 2023-04-17T16:54:43 | 2019-04-08T16:18:52 | R | UTF-8 | R | false | false | 1,347 | r | attach_files.R | # Import PMA Table
#setwd("C:\\Users\\Owner\\Desktop\\NYSDEC")
#pma.model <- read.csv("PMA_MODEL.csv")
#setwd("C:\\Users\\Owner\\Desktop\\NYSDEC.BAP\\nysdec.bap")
#devtools::use_data(pma.model, overwrite = TRUE)
# Import PMA Table
#setwd("C:\\Users\\Owner\\Desktop\\NYSDEC")
#pma.ponar <- read.csv("PMA_PONAR.csv")
#set... |
8727544a6affa5c346784287e72a44e01a911559 | 07d5d1cb4633a2b23ad1e7a787694e0ac83391f8 | /R/suitable_model.R | 7be0add8c5651bd94b19c2645572f550049de92d | [] | no_license | gouthaman87/av-gt-bigmart_sales_predictions | 4950b5087268b567b5c53d4fbc6d25fa1c247383 | c483e6289308c52df547177c642bd176653a927d | refs/heads/master | 2023-06-30T07:59:04.321661 | 2021-08-07T05:33:38 | 2021-08-07T05:33:38 | 392,631,344 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 669 | r | suitable_model.R | #' Title
#'
#' @param list_of_model
#' @param new_data
#'
#' @return
#' @importFrom magrittr
#' @export
#'
#' @examples
suitable_model <- function(
list_of_model,
new_data
) {
foreach::foreach(mod = list_of_model, .errorhandling = "pass") %do%
{
mod %>%
predict(new_data) %>%
dplyr::bind_... |
fe185a36aca04d2cab8786c066efa4d48a05f7fe | 3b4c731c68e20eb4beb8a6859fb5a124cea9189a | /run_analysis.R | 323bb5cf5eccf4b68c461ef324c5af9ecf60d3a5 | [] | no_license | placeacall/datasciencecoursera | 8020cfeacc2a879fb030d3f9fc5d6d0db47a5fdd | a0e32dfe4c9bebc29de2025ccf6aaf3dc1ffbc77 | refs/heads/master | 2020-04-01T10:22:40.756053 | 2014-05-10T17:19:54 | 2014-05-10T17:19:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,403 | r | run_analysis.R | ##load reshape2 library
library(reshape2)
##get a list of all feautures
features <- read.table("features.txt", header=FALSE, stringsAsFactors=FALSE)
##load activity label
activityLabel <- read.table("activity_labels.txt", header=FALSE)
##load the y training predictor value
y.train <- read.table("./train/y_train.txt"... |
c970e680293a025411ce3a7ccf3ed3e8cc5fdae7 | 9bd5a5ab85e68040bc9a8694692ef3dfdea3d713 | /man/zone_sum.Rd | 374c3466570e6ac3f17461918931f620df257851 | [] | no_license | rfsaldanha/scanstatistics | 578e9c8eaefa9ce4823dc5dac72e1168e4034b0d | 652f027f40928b776e01373a191e05101bd8f841 | refs/heads/master | 2021-01-13T16:47:38.434417 | 2017-01-04T15:28:38 | 2017-01-04T15:28:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 588 | rd | zone_sum.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aggregation_functions.R
\name{zone_sum}
\alias{zone_sum}
\title{Sum columns over all location in each zone, for each duration.}
\usage{
zone_sum(table, sumcols)
}
\arguments{
\item{table}{A \code{data.table} with columns \code{zone, location,... |
23bf5177d7351373859f16f84777c1503e33cb3b | 78889997af8cc4faa5430bffe3addc552095e172 | /man/convert_image.Rd | afc430b0826aa00a6e67999da70f899ee007f001 | [] | no_license | kmezhoud/papSmear | a289df9cb4bf0b9ae88086251258a864fe3ed50f | 1e75e74e71add31b5e0458ccc280400ff49cb590 | refs/heads/master | 2021-04-26T23:06:05.609315 | 2018-10-26T14:03:42 | 2018-10-26T14:03:42 | 123,825,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 748 | rd | convert_image.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convertImage.R
\name{convert_image}
\alias{convert_image}
\title{Convert image to jpeg or png}
\usage{
convert_image(inputFolder, outputFolder, type = ".jpeg")
}
\arguments{
\item{inputFolder}{Folder that content the subfolders of images with... |
25b8209edd4876c4975275da6e42f5fc5f7f20f9 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8694_2/rinput.R | 5d44dd4fd7969badbd3a7c1bf2142d063783301f | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("8694_2.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8694_2_unrooted.txt") |
6c522010792414274d9806c97d0b2cd92f3a05b2 | 61c1c745e9ad59814f1206f611c7ae2a1847b599 | /R/vcov.Tenv.R | 94014f91434912574c2dbc894919a6d988385164 | [] | no_license | jingzzeng/TRES | 4fe57d3bdb406503f4a357dbfa30f3dac13de197 | 8e1def6faba478821588a74b09d9baa55a043bdf | refs/heads/master | 2023-08-25T13:53:09.847317 | 2021-11-12T00:30:57 | 2021-11-12T00:30:57 | 211,178,926 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 190 | r | vcov.Tenv.R | #' @method vcov Tenv
#' @export
vcov.Tenv <- function(object, ...){
stop("The vcov method is not available for Tenv class. Refer to std_err function if the standard error is desired.")
}
|
4913463563a1afa7e3bb12d89dedcabc843ada48 | b73ba9d91f872931cbf88d50999411c0bb7c211e | /man/download-archive.Rd | baaf0e0b8463f71f5fa61225bef1fd94a17fae62 | [
"MIT"
] | permissive | weecology/portalcasting | 73347ce66f8c1e5c080a1f1029ec17026c912588 | a35a77214d41dbdaa50bb39452b5fe49c3763a83 | refs/heads/main | 2023-08-20T12:48:59.392495 | 2023-05-23T01:16:33 | 2023-05-23T01:16:33 | 129,144,321 | 8 | 12 | NOASSERTION | 2023-05-23T01:16:34 | 2018-04-11T19:34:03 | R | UTF-8 | R | false | true | 2,356 | rd | download-archive.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download.R
\name{download archive}
\alias{download archive}
\alias{archive}
\alias{download_archive}
\title{Download the Portal Predictions Repository Archive}
\usage{
download_archive(
main = ".",
resources_sub = "resources",
version =... |
7c69adeeeaa525125167ade9ffdb5a9c8fa4d98b | 25da8623c40cabf5ff4b85c12a171d0441912fb9 | /man/center.Rd | 6d846530ca224219995ce4eabd63e48750c5012f | [] | no_license | VIKASMAGGO/centering | 1f3a205b0b19ff3067557093bab3a8cb1dbf9e8a | 2ddc0857c44df519e703c6d1a4c0355d3de4f9be | refs/heads/master | 2020-06-28T20:55:58.873256 | 2016-11-22T13:34:30 | 2016-11-22T13:34:30 | 74,471,070 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 231 | rd | center.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/center.R
\name{center}
\alias{center}
\title{Title}
\usage{
center(x)
}
\arguments{
\item{x}{}
}
\description{
Title
}
\examples{
a <- 1:10
center(a)
}
|
41f87bb23e79c4cadcc5df77a4794e4b71ca7649 | 500304e5273d8efa0319ccc986caecbafcdbfc15 | /test.R | 9f916b244ec734ea91a7c77418175d88a47670fd | [] | no_license | NIVA-Denmark/WATERS | e3e3ba549169726430cba7a801cd87cae4f9ccce | bace89323005902d63fc2b48de434bcb8187f874 | refs/heads/master | 2021-01-19T02:33:17.251145 | 2017-09-06T15:13:54 | 2017-09-06T15:13:54 | 87,289,842 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,469 | r | test.R |
rm(list=ls())
source("IndicatorFunctions.R")
source("ReadIndicatorType.R")
source("CalculateIndicatorSupport.R")
source("Assessment.R")
source("ReadBounds.R")
source("ReadIndicatorParms.R")
source("ReadMonitoringData.R")
library(tidyverse)
library(haven)
library(lme4)
library(lubridate)
library(shiny)
library(dplyr... |
516ce5cb454407a4940c8487b22e31fe4c51a110 | 27e565d716f3df661b6b042c8b7d9b3e96e13f4d | /lib/R/clean_descr_col.R | 124781bd959afc4ef70b7ffd5122b15d2e7fd6af | [] | no_license | webbedfeet/USRDS2015 | 7ab1104fc50d2d19d96b766429686251558cb704 | bcda102f430f5c0f6af32915f2582ac9448490e8 | refs/heads/master | 2021-05-20T18:09:40.406445 | 2020-02-28T21:21:08 | 2020-02-28T21:21:08 | 95,592,749 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 103 | r | clean_descr_col.R | clean_descr_col <- function(x){
u <- unique(x)
for(n in u){
x[x==n][-1] <- ''
}
return(x)
} |
ac870089c4f0c92ecb463a42ed0eb9038d7d4240 | b4c0c88b54ffd8772bcc6a2f4cb3ad5c6eb1bd30 | /coin_table.R | 94ffbe9b0c0d54f495abcb171a7c8ef9eafa3f32 | [] | no_license | bluefoxr/COINrDev | 4b7ef140e7af1597e535f38b3619d2e7dd0ce934 | 7c78352f13e50a877d81880b47085f3e544c3076 | refs/heads/main | 2023-01-30T13:57:03.441180 | 2020-12-16T19:48:43 | 2020-12-16T19:48:43 | 306,949,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,533 | r | coin_table.R | #' Generate table to visualise results
#'
#' Uses the reactable package to build interactive tables
#'
#' @param country The country/unit to build the doc for.
#'
#' @examples
#'
#' @return Tables
#'
#' @export
coin_table <- function(COINobj){
# get data and reverse so that index is first
tabledata <- rev(COI... |
db9c310bd53e37ec0829530b19565d659fae3298 | fd2d3a6815f76b43d983cff88fb870419bee0cfe | /man/isOverlap.Rd | 2e2c39c7f83afa5c719c28b59fa93131e5cbf69a | [] | no_license | PatrickEslick/CWQkitr | 15c20b8f94a6156071037647f622869620912956 | fcf767047f838d048c32bc537fddeb1f1c7612fe | refs/heads/master | 2020-06-13T16:00:31.381308 | 2019-12-11T22:16:21 | 2019-12-11T22:16:21 | 187,235,755 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 555 | rd | isOverlap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/corrections_grades_gaps.R
\name{isOverlap}
\alias{isOverlap}
\title{Determine whether two intervals overlap}
\usage{
isOverlap(start1, end1, start2, end2)
}
\arguments{
\item{start1}{the start of the first interval}
\item{end1}{the end of th... |
164e7f9572bfe43cf7c442a572e030b5abbc2504 | 94b1616a96ce7e3386d95dcbbdb8531e736164f4 | /R-prog/ProgrammingAssignment1/pollutantmean.R | 7ff87aab6ccb7949aa50dfb300c260ed5fe44124 | [] | no_license | ronnyma/DataSciSpec | babe1ef19bbdf3afd542e74987162eb71134764c | f4aebcaec38ecb3d141322854f6874fb213c3dd0 | refs/heads/master | 2020-06-01T16:00:27.657438 | 2014-12-21T16:28:19 | 2014-12-21T16:28:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 687 | r | pollutantmean.R | intToFile <- function( num ) {
paste( sprintf( "%03d", num ), ".csv", sep='' )
}
pollutantmean <- function( directory, pollutant, id = 1:332 ) {
alldata <- c()
# go to working dir
setwd( "/home/ronnyma/development/DataSciSpec/R-prog/Assignment1" )
# Determine which... |
817657d9728c1c50a5cb368b351ee1379873eed2 | 8dc49fa3abdb6462cfb5019f731d1c9fe994ba2c | /R/wiki.R | 43bf30f2ddd57257163a398849aa539fd3983b91 | [
"MIT"
] | permissive | ropensci/wikitaxa | afe1679d406e32e935aeddb77fdfbafe95139d45 | 263de52d2dcef8762fe458894744cb183cbed86f | refs/heads/master | 2023-05-24T02:58:05.108537 | 2023-01-10T17:45:58 | 2023-01-10T17:45:58 | 61,314,596 | 19 | 4 | NOASSERTION | 2018-10-19T19:11:11 | 2016-06-16T17:56:58 | R | UTF-8 | R | false | false | 3,472 | r | wiki.R | #' Wikidata taxonomy data
#'
#' @export
#' @param x (character) a taxonomic name
#' @param property (character) a property id, e.g., P486
#' @param ... curl options passed on to `httr::GET()`
#' @param language (character) two letter language code
#' @param limit (integer) records to return. Default: 10
#' @return `wt_... |
2a269406213e9291009e20a4877fe97aed715d12 | e2f2a73b7acf00f738450670a5f15117fb76fec2 | /R/analise.R | cd98ba0ab360eeaab231b729b1b7982663a0919a | [] | no_license | dadoscope/lulalivre | 481e59728c7177985cb80f8f647f158b3df02042 | 76df4b2bacec0ff2f4a5e50acb0493cdb2156b67 | refs/heads/master | 2021-08-08T01:02:08.719661 | 2020-09-19T09:22:21 | 2020-09-19T09:22:21 | 220,492,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,121 | r | analise.R | library(tidyverse)
library(lubridate)
setwd("/Users/isiscosta/RScript/lulalivre")
files <- system("ls data/*.rds",intern=TRUE)
df <- data.frame()
for(f in files){
termo <- unlist(strsplit(f,"_"))[2]
lang <- unlist(strsplit(f,"_"))[3]
aux_df <- readRDS(f)
aux_df$termo <- rep(termo,nrow(aux_df))
df <- rbi... |
d32893dbf09d094410e435e48da5bcbf64d834df | 145c4690c0c34318c809fe43ce17eb0cc915d062 | /HW0.R | 3b0ddcf2c0825ba86b4dfaee58c01fd5b6302621 | [] | no_license | gopalmenon/Probabilistic-Modeling-HW0 | 16ac944c64c433c709c5fca68daed1c3b94fd6fc | dc8dfc1dd3ff38ea5016030379d39553a06cd95b | refs/heads/master | 2021-05-12T09:22:08.025979 | 2018-01-23T05:03:55 | 2018-01-23T05:03:55 | 117,317,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,528 | r | HW0.R | # Return the pth quantile for distribution of Y
get_Y_quantile <- function(quantile_value, exponential_rate) {
return(sqrt(-1* log(1 - quantile_value) / exponential_rate))
}
# Random number generation function
generate_random_number <- function(how_many, exponential_rate) {
# Uniform distribution between 0 and ... |
4c102dfc53006f18229b4a456a8e309c35f6ad6d | f646afb72c41940b1d31dec7ed33a68f87aa6b72 | /man/qCal.Rd | b1c9e95444cbebaab4bd364a3d82d293cc103759 | [] | no_license | ahb108/rcarbon | 4a9272513d6b6d904ff72c8e32ab0063f91acea9 | 995e5a947ff8f84bd904765df66275bf1f7d4223 | refs/heads/master | 2023-07-21T17:13:45.291818 | 2023-07-07T19:19:43 | 2023-07-07T19:19:43 | 73,347,130 | 44 | 32 | null | 2021-07-07T16:32:05 | 2016-11-10T04:28:18 | R | UTF-8 | R | false | true | 607 | rd | qCal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calibration.R
\name{qCal}
\alias{qCal}
\title{Computes the quantile date of calibrated dates}
\usage{
qCal(x, p = 0.5)
}
\arguments{
\item{x}{A \code{CalDates} class object.}
\item{p}{A numeric value of probability. Default is 0.5 (median).}... |
392cb98cc854c2820e69968bf2867dd7aca86ae8 | e0577625c1b2d02dc7ba7fac3a6a0083573a1669 | /man/decisionTable.Rd | 2b1b5fedb78879f8f075ff872c04ea007bc62328 | [] | no_license | albhasan/RoughSetKnowledgeReduction | 516ac345757a11d2703f1fc54f47fadd30045002 | 0f0d909d9cde587519c41e50d12a721acf3aa55e | refs/heads/master | 2016-09-05T20:57:09.358622 | 2014-12-18T08:58:13 | 2014-12-18T08:58:13 | 15,021,715 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 784 | rd | decisionTable.Rd | \name{decisionTable}
\alias{decisionTable}
\title{DECISION TABLE}
\description{User friendly constructor of an instance of the class Decision Table.}
\usage{
decisionTable(theDecisionTable)
}
\arguments{
\item{theDecisionTable}{A numeric matrix representing a decision table}
}
\value{It returns a Decision Table objec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.