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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
511124e5c9061dbd6ffed97ad37ba65a1b768161 | 2f0816e6c17f2286aee8eeacead002ac9434621e | /man/ts.sum.Rd | 45207593a6111d8122a965e61347226afe1168a9 | [] | no_license | DanielOllech/dsa | d0b6a5aeff09c1fa88246005079dcff55cfbe035 | 76eadbcf3325c815c27c3061f835fae5ae7ce07e | refs/heads/master | 2020-04-14T16:17:54.568443 | 2019-01-03T09:00:46 | 2019-01-03T09:00:46 | 163,948,049 | 4 | 2 | null | 2019-01-03T08:58:54 | 2019-01-03T08:58:53 | null | UTF-8 | R | false | true | 480 | rd | ts.sum.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ts_sum.R
\name{ts.sum}
\alias{ts.sum}
\title{Add time series}
\usage{
ts.sum(...)
}
\arguments{
\item{...}{list of ts time series that are added together}
}
\description{
Sequentially add a set of time series
}
\details{
This f... |
bddcb0da3c7dc3a44ccd07b1fccb1a9112426a31 | d48b835b2f129026bfb6fcab4f21a11c4d6bdc47 | /aoc_22.R | 17f73af4949437b28594357d499d3ccf66c5ca35 | [] | no_license | alex-raw/adventofcode_2020 | 075c37d0eb78c54a64e3d851a3b8cd0cd6b1bf48 | d366405006a63bfe7c2b218d63def8e25fef83a6 | refs/heads/master | 2023-05-28T09:59:28.881114 | 2021-06-18T10:15:21 | 2021-06-18T10:15:21 | 318,232,713 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 530 | r | aoc_22.R | parse_cards <- function(x) {
d <- scan(x, comment.char = "P", quiet = TRUE) |> matrix(ncol = 2)
list(d[, 1], d[, 2])
}
combat <- function(a, b) {
n <- seq_along(b)
ans <- cbind(a[n], b)
win <- ans[, 1] > ans[, 2]
list(a = c(a[-n], t(ans[win, ])),
b = c(t(ans[!win, 2:1])))
}
play <- function(x) re... |
90fae57a6a2a8c3f9379a68ed5030d1dd21984c8 | e555d5b2e5eaa8476fff16131f6671c46ed946d6 | /R programming/corr.R | 37a02ffae00fa925e0d8b4b97d5f30a37a399f0e | [] | no_license | ahsanGoheer/datasciencecoursera | 2eac3cfa9da1c68117ead40beca6e84e44de32c4 | b9cabf0bcf182f0eba35cc7b288d4503d1ceb46a | refs/heads/master | 2022-11-23T17:44:35.503204 | 2020-07-21T22:46:03 | 2020-07-21T22:46:03 | 280,212,832 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 670 | r | corr.R | corr<-function(directory,threshold=0)
{
currentWorkingDirectory<-paste('./',directory,sep="")
filesInDirectory<-list.files(currentWorkingDirectory)
complete_cases=complete(directory)
complete_cases<-complete_cases[complete_cases$nob>=threshold,]
result<-numeric(0)
if(nrow(complete_cases)>0)
{
for(i in... |
2e8d5b77cf4ad96c827f0e6b8a8c014bd339e684 | fcd23fcee0a3db07627bc2edf6ccb9fb8503661c | /R/kcsmooth.R | f95749e285139c7c6f22e04695710486f7a79fd0 | [
"MIT"
] | permissive | arnijohnsen/arjtools | 1bacb9df0095dad157d575e5df921890192bd52f | a92fbd868961f5ea1155c9a458000b241b995a11 | refs/heads/master | 2021-01-10T13:58:55.279889 | 2017-04-17T10:32:16 | 2017-04-17T10:32:16 | 51,922,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,446 | r | kcsmooth.R | #' Smooth samples with KCsmart algorithm
#'
#' Wrapper to smooth aCGH data with algorithm from KCsmart.
#'
#' @param dat data.table with aCGH data. First two colums should be names chrom and pos
#' and contain information about the location of input probes. Chromosomes should be
#' names "1", "Y", etc.
#' @param mi... |
f5a3e3d2bc8708d6f55ab6fc8dd42aaa315f0c1e | c65c0bab4d633385efa249e38cf45818754afaff | /shinyapps/app27/app.R | a84c87519f0f73bca4fdfe9e34da8695196c854d | [] | no_license | imcullan/Shiny-Tutorial-Rgitbook | 06762c2ea4cf9900401f68a0c3a9964615376b93 | 1db7814f45b5e10846876a493d4946c73d270aa3 | refs/heads/master | 2021-01-22T18:32:35.081445 | 2016-08-26T17:40:30 | 2016-08-26T17:40:30 | 66,667,107 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 370 | r | app.R | library(shinyjs)
server <- function(input, output, session) {
observeEvent(input$button, {
toggle("myslider")
})
}
ui <- fluidPage(
useShinyjs(),
h3("A quick demonstration of shinyjs functionality"),
actionButton("button", "Toggle slider"),
sliderInput("myslider", "A slider:", min=0, max=1000... |
f2841e5ac9de3dea5455906c90469ebda9247453 | 8b78eb1725b05a9fb8edd97d65efef62c22e4c4a | /perf_tests/indelible/indelible_configure.R | fcb6a0f2292ede183d37f0250f44c09c6a0aec1c | [] | no_license | lucasnell/jlp_ms | e728f5cf5eca69dc4ffdb43480e4fba7e71f1377 | 07328fa914397390f42e55f238c6bc4024bc6513 | refs/heads/master | 2020-04-30T18:41:41.268084 | 2020-04-17T14:43:21 | 2020-04-17T14:43:21 | 177,016,376 | 1 | 0 | null | 2020-02-28T14:54:16 | 2019-03-21T20:08:34 | TeX | UTF-8 | R | false | false | 3,126 | r | indelible_configure.R |
#'
#' This script is used inside `test.R` to make the trees and `configure.txt`
#' for indelible.
#' It's not meant to be run directly.
#'
#' The objects gsize, mdepth, and dir should exist in global environment before
#' running this script.
#'
stopifnot("gsize" %in% ls())
stopifnot("mdepth" %in% ls())
stopifnot("... |
a0452007300c6d34a809f76617b234bf3447d513 | c5c37812cb4d710bee0ff3b95a92cb43cba074a1 | /combined_gsea_plot.R | 0c06350d49751b36c7a2c7d02804472dca41a673 | [] | no_license | almreis/PTSD_RNA_mods | 954f4872d3f3f44ba944ff2ac236b2c3dda2208b | 2c929000847c16b184f41753f6cf0bd1ffc4097a | refs/heads/main | 2023-04-16T22:01:07.695615 | 2022-06-30T07:29:03 | 2022-06-30T07:29:03 | 508,541,223 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 975 | r | combined_gsea_plot.R | library(data.table)
library(readxl)
library(reshape2)
male <- data.table(read_excel("/Users/andre/Documents/GenomeTech/PTSD_experiment/gsea_analysis_biological_process.xlsx",sheet = "Male"))
female <- data.table(read_excel("/Users/andre/Documents/GenomeTech/PTSD_experiment/gsea_analysis_biological_process.xlsx",sheet ... |
cea313598caecb2b970993902f5e18c5207991e0 | 3080a9517c95a23265a3cb5f5eb477cf8eb4bfae | /WeekendGraphs.R | a1be58671dbefc0b1708bff34d85db7c085973a8 | [] | no_license | MGreels/RepData_PeerAssessment1 | a93584f219a4d60ba064dbb4b67252c945758a0e | 336768fc6c8b8195758bec463d70276c212863a3 | refs/heads/master | 2020-07-06T07:45:08.804073 | 2019-08-20T11:20:02 | 2019-08-20T11:20:02 | 202,944,756 | 0 | 0 | null | 2019-08-18T00:50:19 | 2019-08-18T00:50:18 | null | UTF-8 | R | false | false | 500 | r | WeekendGraphs.R | library(ggplot2)
library(chron)
ImpIAWE <- aggregate(ImpDat$steps,
list(Interval = ImpDat$interval,
weekend = is.weekend(as.Date(ImpDat$date))),
mean)
ImpIAWE$WE <- factor(ImpIAWE$weekend, labels = c("Weekday", "Weekend"))
WEplot <- ggplot(data=Im... |
8026ac7465b2f871ed5f0141a3121055e967883b | d1be2734671691af7f260664d9a546f69440886f | /ReadFCS.R | 59c07887ebd78d68ad80ef3ef1be1433489c59fb | [
"MIT"
] | permissive | nrweir/FCanalysis | b73d5f0193dba223d25930b0420aff172e300635 | 56704c053978c55c15693921ea4703f659990f51 | refs/heads/master | 2021-01-15T15:31:04.012290 | 2016-06-27T02:03:22 | 2016-06-27T02:03:22 | 40,327,807 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 540 | r | ReadFCS.R | ReadFCS <- function(path){
# Loads an FCS file as a data.frame with measurements as headers.
#
# Args:
# path: The file path containing the FCS file to be read.
#
# Returns:
# A data.frame with columns being the different measured parameters and
# rows being individual measured events.
requi... |
b4b9816c3271ae429bc205a34d5b87a9d72811b6 | a37a96762298b306925e151679d7ab660a773aa0 | /R/archive/test_refDmati.R | d43ed21e4380af8bc9778e0e3191ae3ccc5524a3 | [] | no_license | chrissuthy/telemetry-informed-cost | 59033894593518c0813deab3e59743cc769b018c | 390a46482b7a1f3a98637aafe63137386938742a | refs/heads/master | 2023-06-22T20:23:21.405508 | 2021-07-14T21:48:15 | 2021-07-14T21:48:15 | 277,119,694 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 805 | r | test_refDmati.R | test_sbar_cell <- extract(local_ss_r, sbar, cellnumbers=T)[1]
Dac <- costDistance(
tr1Corr,
c(sbar_x, sbar_y),
local_ss %>% select(x,y) %>% as.matrix())
table(Dmat_i[test_sbar_cell,] - Dac)
ref.Dmat_i <- function(from, to, local_ss_r, Dmat_i){
from_cell <- as.numeric(raster::extract(x = local_ss_r, y = fr... |
3549937db9052e64e61ec84124fd3f676bf46bef | b51dc0b6dfbcbdbc6db973ea26d5483ea6719671 | /R/estimate_Rs.R | 7de5453cccac9e0cc0927122e19fe4bc3c7c7e7b | [] | no_license | Bigger-Physics/EpiEstim | a46ca13e569d1eea8da487c041758ee7bd108c1d | 05ad4b17a9b08764f0af0c9e16280d3246848fd5 | refs/heads/master | 2022-04-26T22:34:03.967862 | 2020-04-28T11:41:39 | 2020-04-28T11:41:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,023 | r | estimate_Rs.R | #' Estimated Instantaneous Reproduction Numbers by distinguishing
#' imported, infected by imported, and infected by local cases
#'
#' \code{estimate_Rs} estimates the reproduction numbers of an epidemic, given
#' the incidence time series and the serial interval distribution. By default,
#' the incidences are divided ... |
575aefeef85f7cb3a19df303b7aa0ba70db1d0be | 8f8eac85cfbf8d3bc768318848ec964cb297b1cb | /casen/r-script/scripts/2_fix_comunas_2.R | c5f53ee109079316e54aa87e6c572eb44a77c1a1 | [] | no_license | jnaudon/datachile-etl | 5231a3762dd32f3f3def4d568fc63934d603cf8b | 8fa577378d38f8d63f6dfdb00ed515bbb439f154 | refs/heads/master | 2023-03-23T00:36:35.698292 | 2019-03-23T03:30:16 | 2019-03-23T03:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,357 | r | 2_fix_comunas_2.R | nomatch_90_03 <- comunas90_03 %>%
left_join(comunas2, by = c("comu2" = "comuna_name")) %>%
filter(is.na(comuna_datachile_id)) %>%
arrange(comu2)
nomatch_06 <- comunas06 %>%
left_join(comunas2, by = c("comu2" = "comuna_name")) %>%
filter(is.na(comuna_datachile_id)) %>%
arrange(comu2)
nomatch_09 <- com... |
ba3ad78eda9c53375dcc075ebd6e9dba010a5a21 | c55a8c78158fe88ee80a8db35bdbaa2e324ed0bb | /cachematrix.R | 1653f10fab1db40f489b7efda4a2c4269641175a | [] | no_license | Mary-Bobo/ProgrammingAssignment2 | c3abe32812315d42172f23b4fef8be0bb9a21375 | 669581a054375ad355709009be97e13c7acd25ee | refs/heads/master | 2021-05-03T05:05:30.911383 | 2018-02-13T13:56:37 | 2018-02-13T13:56:37 | 120,631,851 | 0 | 0 | null | 2018-02-07T15:19:53 | 2018-02-07T15:19:52 | null | UTF-8 | R | false | false | 2,307 | r | cachematrix.R | ## These two functions together serve to store the inverse matrix in cache.
## The first function creates a "matrix" - a list of functions that serve to operate with matrix and with its invertion.
## The second function searches for inverse for a "matrix" specified by argument.
## If the inverse hasn't been calculated ... |
71d85ae1257af62944ec55962202c8d0743e1245 | 2ddd0d8d4fc8f009fa51d0fde61d1d40825d4d2d | /man/glm_poisson.Rd | 2b23d935e741459df39de6d991385bafa22478bb | [
"MIT",
"CC-BY-4.0",
"CC0-1.0"
] | permissive | januz/comsldpsy-1 | 7029dbc5c0dcbe7893ca5ee67c59b1f5f81c0018 | fdf6248c53fdbc7cef4885fb630d5d188d8ff081 | refs/heads/master | 2020-04-10T21:36:55.722283 | 2018-12-12T17:56:54 | 2018-12-12T17:56:54 | 161,301,150 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 569 | rd | glm_poisson.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats.R
\name{glm_poisson}
\alias{glm_poisson}
\title{Poisson regression}
\usage{
glm_poisson(data)
}
\arguments{
\item{data}{Input data}
}
\value{
tbl. A tidy data frame with p-value, coefficients, and CIs for
the model
}
\description{
Compu... |
39f89afaff9380106f1270f43fb7b1a5cd6681e4 | 19145b264472edab8eda2cc85cc93722e4729dee | /Data Manipulation in R_Naveen.R | bb6444b5451598e3950bebd57bcd8858a49c3867 | [] | no_license | geeknaveen/Session-5-Data-Manipulation-in-R | 1b1aa5a06ee6cb7eb2bc63819df69be63a0ec1a0 | 8d1c11e7d0cfd6e45c38ada771acd5fa955389de | refs/heads/master | 2021-01-16T00:03:26.597511 | 2017-08-10T18:17:20 | 2017-08-10T18:17:20 | 99,952,428 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,917 | r | Data Manipulation in R_Naveen.R | # Session 5: Data Manipulation in R::::::::
# Creating col_names array for creating variable names
col_names<-c("Athlete", "Age", "Country", "Year", "Closing Date", "Sport", "Gold Medals", "Silver Medals",
"Bronze Medals", "Total Medals");
View(col_names)
# colnames(olympicdata)
# Reading Olympi... |
d1e5e7e7383956195d8664a65e9cd07b8308323c | d70c3584eef021e768cf745bee36e38724b9a292 | /man/OneWaySurvfitObject.Rd | e156e2583e9c7518d07435cc6bf117c95f2a4899 | [] | no_license | cran/TwoWaySurvival | 4b0aa66db91345c382a9ee5460c1f147cf1c6ebc | f99d15e9cb9eaf9829ce2822821a51b13fe1b5cf | refs/heads/master | 2020-04-20T18:37:26.606415 | 2007-11-26T00:00:00 | 2007-11-26T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,298 | rd | OneWaySurvfitObject.Rd | \name{OneWaySurvfitObject}
\alias{OneWaySurvfitObject}
\title{Fitted one-dimensional Object}
\description{An object of class 'OneWaySurvfit' returned as a list by the 'OneWaySurvfitCreate' function
and representing a fitted one-way hazard model with varying coefficients. It has methods for generic functions print, plot... |
1c4b354edb53fd307eb994edac9d56e3afade318 | 70b77e98bd3c4aaf7dd1d41f1ee027f09f568f90 | /man/prsMultitest.Rd | d0bc345de3722e915adef4d619cbeaacf9771e98 | [] | no_license | andreyshabalin/simPRS | ecc3c590dafa54a075bb93a3def59ea6a2b43ae1 | 8992d040b926e98cb2ac9cfd327cb2fc9b0532ed | refs/heads/master | 2020-03-31T23:10:57.423984 | 2019-02-19T16:45:03 | 2019-02-19T16:45:03 | 152,645,353 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,770 | rd | prsMultitest.Rd | \name{prsMultitest}
\alias{prsMultitest}
\title{
Average Over Multiple PRS Simulations
}
\description{
Perform a number of PRS simulations
with \code{\link{gwasFast}} and \code{\link{prsInf}}
and average over the results.
Supports parallelization on multicore CPUs.
}
\usage{
prsMultitest(signal, N, ... |
07a0138bc864f65aee915b4906c37ce8f98d0f64 | 3120c1ba511efb1181f4a145d41d1a433f7e2de7 | /NextWord Predictor/ui.R | 9136479409eddfc4d92d188f2c0ef3f1cc179c9e | [] | no_license | mehtashubham/Data-Science-Specialisation---John-Hopkins | 38018b9523bae095a4eb51990084f9d4077324a3 | 2f9416f7977fe3e6d2dc48c8e7749144b4ebf18d | refs/heads/master | 2021-06-17T14:12:17.589366 | 2021-05-11T18:42:35 | 2021-05-11T18:42:35 | 205,664,674 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,683 | r | ui.R | ################# ~~~~~~~~~~~~~~~~~~~~~~~~~~ ######## ~~~~~~~~~~~~~~~~~~~~~~~~~~ #################
## ##
## Data Science Capstone Project ##
## ... |
410a53bcd67447ccb31287becd4a9083a6aacd27 | 2fe3f287057a6d92d9c342a0632e3864c43aa49f | /plot3.R | 329a22597a3fc3ba04660439a8fe9ec0951a8363 | [] | no_license | udi-volk/ExData_Plotting1 | 80eee4a8af0a6e8fa51d20ec0756359a0dffdfce | 8ecf04136cd09714498a7c01c51714b74a27e8b7 | refs/heads/master | 2021-01-22T04:56:57.879138 | 2014-11-09T20:15:24 | 2014-11-09T20:15:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 843 | r | plot3.R | plot3<-function(){
## Reads Data and filters the relavant lines from the data table
png("plot3.png")
dt=fread("household_power_consumption.txt",na.strings="?")
dt$Date=as.Date(dt$Date,format="%d/%m/%Y")
relevantDt=dt[dt$Date>=as.Date("2007-02-01"),]
relevantDt=relevantDt[relevantDt$Date<=as.Date("2007-02-02... |
be798bded1cf3b848463cd70669471ea1e8b169b | bb4d685579a3a250eb5da6f9db4b7ffa50fd1b63 | /R/flipstrand.R | 79d8a7a20df4af84d164f8535342f576cae5843b | [] | no_license | drveera/predixcantools | 8b89ed682ace2613dec8f3e1fccc1298176a25d7 | ff01e7516b5884314f2d1cff57fd56e5976471d1 | refs/heads/master | 2021-06-09T05:36:16.218892 | 2016-12-21T12:04:14 | 2016-12-21T12:04:14 | 76,954,201 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 229 | r | flipstrand.R | #' flipstrand
#'
#' flipstrand
#'
#' @param x a vector of alleles
#'
#' @export
flipstrand <- function(x){
if(x == 'A'){return('T')}
if(x == 'T'){return('A')}
if(x == 'G'){return('C')}
if(x == 'C'){return('G')}
}
|
dc9d55f8d0fa5094f070c874849288d184e08fab | 1026b81a7ce98e2cb3ef70543d136d0b532877bb | /3.GettingAndCleaningData/Get-Clean-Data.R | 25099efc9481332b95734ce974cca74f14dc46af | [] | no_license | Fbarangan/Data-Science | 5cf4e00251fa7610e4c1253a7701354ea4e19c14 | ef20283c43e571b9b3c219f73a44015f84f190e5 | refs/heads/master | 2021-01-10T17:15:27.806805 | 2016-02-13T23:45:50 | 2016-02-13T23:45:50 | 51,669,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,047 | r | Get-Clean-Data.R | # Subsetting and Sorting Lecture
set.seed(13435)
X <- data.frame("var1" = sample(1:5), "var2" = sample(6:10), "var3"= sample(11:15))
X <- X[sample(1:5),] ; X$var2[c(1:3)] = NA
X
# Run to see result
X[,1]
X[,"var1"]
X[1:2, "var2"]
#Logical ands and or
X[X$var1 <= 3 & X$var3 > 11,]
... |
e18acb6f7c7ac84ae6b5b517037ae48ea74b558b | 45cbaf5a86a811772d06da092df37229bbcc6af2 | /Filtrando sinais biomédicos.R | 437f068e403093111842c07c0bbc03fee369f3d8 | [] | no_license | kerolaynesilva/PSB | 48038a90ca5f2ecca9d2aa20f0d69789b9331b2a | 068faf55782a67b8539c63e8a81bc48da029c7c4 | refs/heads/master | 2020-05-01T12:34:22.125419 | 2019-03-24T21:11:14 | 2019-03-24T21:11:14 | 171,525,244 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 6,129 | r | Filtrando sinais biomédicos.R |
library(dygraphs)#biblioteca para plotagem de séries temporais (gráfico interativo)
library(signal)
library(ggplot2)
library(REdaS)
# Definição do diretório de trabalho
getwd() # get current working directory
setwd("C:/Users/samsung/Documents/Universidade/PET EngBiomédica/Workshop PET/Programas/")
# Le... |
f997cb5133360ed905a9ce634d43fc4bc88be92e | 7764cb88a1bd855e85f95e9dccd11fa218781a37 | /tests/testthat/test-tttable.R | 23d6ca644b87905e17769fbd353b15815b309873 | [
"GPL-3.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"GPL-3.0-only",
"AGPL-3.0-or-later",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | jalsalam/tttable | b9c750c2d3a6205ae0df0055b2a6a2068c16f329 | 942407c79807b242518090e3fbe4e48cbd38f1e8 | refs/heads/master | 2020-03-22T14:45:06.621032 | 2018-07-21T17:23:45 | 2018-07-21T17:23:45 | 140,202,724 | 0 | 0 | CC-BY-4.0 | 2018-07-08T21:07:10 | 2018-07-08T21:07:09 | null | UTF-8 | R | false | false | 152 | r | test-tttable.R | context("test-tttable.R")
test_that("basic tttable construction and printing 'works' ", {
t1 <- expect_silent(tttable(toy, arr("V1", "V2")))
t1
})
|
0d44b9725b1a0b684e8034cf16a6f8c0929d8392 | 6664dde83396ead890728581a4ff4624ea762f5a | /ncdf4/man/ncdim_def.Rd | fa8d86fe932dd422efaec0f73697c7918324ad3f | [] | no_license | pmjherman/r-ncdf4-build-opendap-windows | c12834081dcb2db2ea127b47716e25c3a3e2abd2 | aa451e9ecb34c072bde96ad3f73d405280dfdd01 | refs/heads/master | 2022-01-22T00:56:39.183344 | 2019-07-15T07:21:05 | 2019-07-15T07:21:05 | 125,648,978 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,977 | rd | ncdim_def.Rd | \name{ncdim_def}
\alias{ncdim_def}
\title{Define a netCDF Dimension}
\description{
Defines a netCDF dimension. This dimension initially only exists in memory.
The dimension is later added to a netCDF variable using a call to \code{ncvar_def()},
and written to disk using \code{nc_create()}.
}
\usage{
ncdim_def( na... |
c2e47355dd814bf180a288a7fa9db2db322bf7d9 | 3af4cf29ebe0b92f6096d2b292ac2f72fbfc3249 | /R/explore_distance_matrix.R | 0c2b9c6413441645aaa6a0f67a2b7a7eb4e2cfcd | [] | no_license | hapebe/Partitioning2D | 64100c58c2680cb644beb49c354f24c4f7087f27 | ff9d5df39de7bf6268e943bb9b20589bc86fb9e2 | refs/heads/main | 2023-06-01T22:46:14.984971 | 2021-06-20T16:39:10 | 2021-06-20T16:39:10 | 347,616,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,605 | r | explore_distance_matrix.R | datafilepath <- "D:/home/hapebe/self-made/coding/Partitioning2D/Data/"
# subject <- "11-square ODD"
# subject <- "30-square ODD"
subject <- "30-square EUC"
# subject <- "HP-Test3 ODD"
# subject <- "HP-Test3 EUC"
# df <- read.csv(paste0(datafilepath, "11-square-oddDistances.txt"), header=TRUE, sep="\t", na="")
# df <-... |
0312e0b361442f8cc3e6b4bcc7556e9de709a84b | 5dad0fbb98b20d4675ef673d26fff97d0da2b725 | /project3/deepbayes/R/num_node_example.R | db609546deb0e9ee9165921b3bde6c11c486263a | [] | no_license | mutual-ai/thesis | 8ded08d18824f4b50da301f12b5097f0acf5c522 | b005fdbc7407ee0ad8de0e10c392d72294eeca78 | refs/heads/master | 2020-12-25T23:18:50.164402 | 2016-04-06T20:58:27 | 2016-04-06T20:58:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,983 | r | num_node_example.R | #####
# This example function is written to demonstrate interfacing BayesOpt as a
# hyperparameter tuning framework for (deep) neural networks with Caffe.
# We take the simple set of nets where we have a 3-d input layer, a hidden layer
# with n nodes where n is the hyperparameter to be tuned, and a 2-d output layer.
##... |
fc417de6864dd14a6a4f2f284e7212dc5e2e1d86 | 6cbb51fe996e65a51a8d9f2f35e3159721933f25 | /man/runSeuratScaleData.Rd | 17dc7d1b6bdb7536eceeddb7e128ac346ec9bdcf | [
"MIT"
] | permissive | compbiomed/singleCellTK | 927fb97e257ba89cddee9a90f9cb7cb375a5c6fb | 990e89e7ccfbf663f23c793454f72fb8c6878a32 | refs/heads/master | 2023-08-11T09:17:41.232437 | 2023-07-26T20:43:47 | 2023-07-26T20:43:47 | 68,756,293 | 144 | 89 | NOASSERTION | 2023-09-06T18:22:08 | 2016-09-20T21:50:24 | R | UTF-8 | R | false | true | 1,457 | rd | runSeuratScaleData.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/seuratFunctions.R
\name{runSeuratScaleData}
\alias{runSeuratScaleData}
\title{runSeuratScaleData
Scales the input sce object according to the input parameters}
\usage{
runSeuratScaleData(
inSCE,
useAssay = "seuratNormData",
scaledAssayN... |
0704cc300c19d94f2c0a8997b26ef4641e717d7d | 6fc9b991042c5719e174fd02a5ebff5cebc38194 | /plot2.r | d0c659aa88872069d7bf17d11148ac117275c2e7 | [] | no_license | cthetford/ExData_Plotting1 | c7bc18128f7136183bdc447f0ebd1aa7c3735563 | 235e780ebe66f652c393b4e7bb45de1733b6cbe8 | refs/heads/master | 2020-12-11T03:34:13.794476 | 2015-04-11T20:50:31 | 2015-04-11T20:50:31 | 33,779,074 | 0 | 0 | null | 2015-04-11T14:38:50 | 2015-04-11T14:38:49 | null | UTF-8 | R | false | false | 499 | r | plot2.r |
h<-read.table("household_power_consumption.txt",
header=TRUE,
colClasses = c("character", "character", rep("numeric",7)),
sep=";",
na.strings="?")
pdata<- h[h$Date %in% c("1/2/2007","2/2/2007"),]
pdata$Time <- strptime(paste(pdata$Date,pdata$Time),format = "%d/%m/%Y %... |
cc6f60e0bdcd6d2976844a08fc55a0a1ea851ac1 | 112664a804d0caaeef62bb432bfe973521c1f100 | /man/validate_age_bp_cp.Rd | 8fbc8c061c6dd54ed444d2d13a107f42984b134f | [] | no_license | ttsukianto/birdproofr | c88737568a06464727e7676676825f90c062e339 | c0b897d13cf705e8b85f8e517641c59d935da5ba | refs/heads/master | 2020-04-12T05:17:50.294351 | 2019-02-03T19:42:39 | 2019-02-03T19:42:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 474 | rd | validate_age_bp_cp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_validation.R
\name{validate_age_bp_cp}
\alias{validate_age_bp_cp}
\title{Check that age and BP/CP match. Age 2, 4, and 0 should always have 0 for both
BP and CP}
\usage{
validate_age_bp_cp(df)
}
\arguments{
\item{df}{bird data frame}
}
\... |
09284389e7685800926721ccb2daccfd5643964a | 4c4b5fbb7f9a0fef790364eba4b92bb7a578c9d5 | /man/OS_type.Rd | 08f2a6624da4da6c2adee3714bf765a0c34bfc58 | [] | no_license | renozao/repotools | b559bca28d571a1310c9ecf77b355010f46eb8cb | 0f76e52253c08063084074061f8ca2c05e8a4818 | refs/heads/master | 2021-05-16T03:08:28.467104 | 2018-11-19T20:20:09 | 2018-11-19T20:20:09 | 18,404,374 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 452 | rd | OS_type.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api.R
\name{OS_type}
\alias{OS_type}
\title{Determinate Type of Operating System}
\usage{
OS_type()
}
\value{
a single character string: code{'unix'}, code{'mac'}, or code{'windows'}
depending on the OS of the calling machine.
}
\description{... |
6e288fc61f67065a3614cd5f5bdfea1a93ccc1a9 | 878aa28161ed778da05902113a9a18fbb2738319 | /Data manage/Make DLM figures.R | a6fd74188d5cbc319f78ecd7c248ab10fc0fdf18 | [] | no_license | klwilson23/Keogh | a6f9f3ccb24d10ce08d694eaa8cdecae8dd06dbf | e499c087c267d3e3a89c8edfe4b088248f6338ec | refs/heads/master | 2023-04-11T02:09:36.009864 | 2022-01-21T21:39:32 | 2022-01-21T21:39:32 | 152,797,463 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,520 | r | Make DLM figures.R | source("some functions.R")
library(reshape2)
library(gridExtra)
library(ggpubr)
library(ggplot2)
library(MARSS)
library(broom)
library(wesanderson)
keoghDLM <- readRDS("Results/keoghDLM.rds")
wesAnderson <- "Darjeeling1"
keogh <- readRDS("Keogh_newJuv_enviro.rds")
keogh_long <- subset(keogh,Year<=2015 & Year>=1976)
ke... |
648b394203cf4b77c5175812d75513ed9e33cdfb | a2b00b021859e3075b7ff8cfb698c797710ada82 | /phylogeny/manipulate_trees.R | 40275f577a6cb3581cc81676b3ad367b7d6ebf50 | [] | no_license | singhal/Spheno_Gene_Flow | fb9fd936a3970b74592ed0be22e28cdc1fc7cdb2 | b0056a3464d4a6cdfffba10037bfa679c3e5dbdd | refs/heads/master | 2020-03-20T22:41:50.035111 | 2018-06-18T22:01:43 | 2018-06-18T22:01:43 | 137,811,166 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,069 | r | manipulate_trees.R | library(ggtree)
# lineage data
d = read.csv("~/Dropbox/Sphenomorphine_Gene_Flow/data/metadata/sphenomorphine_species.csv", stringsAsFactors=F)
s = d[complete.cases(d$sanger_sample),]
# read in tree data
td = read.beast("/Users/Sonal/Dropbox/Sphenomorphine_Gene_Flow/data/phylogeny/beast_ucln_31July17/mtcds_pos1.sub.tr... |
ee161cebf4f5b3cba78def95195611e21a0f0820 | 6401b1aa210eda691262cc363205a8eea01f50f0 | /man/fars_summarize_years.Rd | 6e2007649a3dc563f45f0e37be230b0832420d16 | [
"MIT"
] | permissive | davidrmh/week4DavidMontalvan | 2aae5985d8c88e8c18da0fd0bb1a59c84f3d4d51 | 2b3fd2c6b4ddd98e448f8bd87ff6e15b60bef59b | refs/heads/master | 2022-11-12T23:53:02.214107 | 2020-06-25T00:24:54 | 2020-06-25T00:24:54 | 274,786,386 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 508 | rd | fars_summarize_years.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions.R
\name{fars_summarize_years}
\alias{fars_summarize_years}
\title{Creates a summary for a set of years}
\usage{
fars_summarize_years(years)
}
\arguments{
\item{years}{Numeric (integer) vector with the years
you want to summariz... |
28b39ee98bed9db778ed8852f9c037451d04de42 | 6fd1034c746a1cd5367f17b36c2a90a0c04e9e5d | /man/is_quosureish.Rd | 0b2043c9c993fd2aef5b2f811b9c15ba55c0b1cb | [] | no_license | COMODr/rlang | cdd8ab6bbc50b86c640a66061adf456aa9d13e82 | 2276162a26ba48cf0932fc9514f7d1842d8f44bc | refs/heads/master | 2020-06-03T19:26:52.047101 | 2019-06-12T12:47:05 | 2019-06-12T12:47:05 | 191,701,920 | 1 | 0 | null | 2019-06-13T06:12:58 | 2019-06-13T06:12:57 | null | UTF-8 | R | false | true | 960 | rd | is_quosureish.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lifecycle-retired.R
\name{is_quosureish}
\alias{is_quosureish}
\alias{as_quosureish}
\title{Test for or coerce to quosure-like objects}
\usage{
is_quosureish(x, scoped = NULL)
as_quosureish(x, env = caller_env())
}
\arguments{
\item{x}{An ob... |
8ebfc5d7d59a65a299bd20b3be42cf54a14e541e | 89b8646ff2f9f52549072a733cc0421591b866a5 | /hw/hw01/tests/p16.R | 209e8a6dfdcfd4426730087e625f9d30da2bc1ab | [] | no_license | ph142-ucb/ph142-su21 | 8307f46602223085a106565ed66419b681d36f55 | b172cc932c752aa76daa8aad98a884f698b8b529 | refs/heads/main | 2023-07-02T18:58:41.901353 | 2021-08-10T17:30:27 | 2021-08-10T17:30:27 | 368,049,908 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 674 | r | p16.R | library(testthat)
test_metadata = "
cases:
- hidden: false
name: p16a
points: 0.3333333333333333
- hidden: false
name: p16b
points: 0.3333333333333333
- hidden: false
name: p16c
points: 0.3333333333333333
name: p16
"
test_that("p16a", {
expect_true(is.data.frame(avg_by_vore))
print("p16a: Checking av... |
604bb2fef354c8a511d4295f4d342f751f204592 | f680ff6e25a828bbac8b244f9061a3fa71125836 | /man/commonSamples.Rd | 03c81718bb23b0335cb6eebb5b3f5116af3378b7 | [
"MIT"
] | permissive | isglobal-brge/MultiDataSet | db7348454ffc202469b7354d0b7252eedc7659a4 | c4bea804bd9b8b53b8d96928d9148f09787f475e | refs/heads/master | 2021-10-07T17:58:31.164306 | 2021-10-07T13:34:50 | 2021-10-07T13:34:50 | 80,110,013 | 2 | 0 | MIT | 2021-01-29T10:27:17 | 2017-01-26T11:45:31 | R | UTF-8 | R | false | true | 1,831 | rd | commonSamples.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/1_MultiDataSet-ClassGenerics.R
\name{commonSamples}
\alias{commonSamples}
\title{Method to select samples that are present in all datasets.}
\usage{
commonSamples(object, unify.names = FALSE)
}
\arguments{
\item{object}{\code{MultiDataSet} th... |
0f589da05bd5d17d93c3755debe7c15ae86eeb97 | aa9563fb769372b219e83b53430e0afc65fe02c0 | /factors.R | a67823ee8e5d9bd849dee28f8431bb137c3aaa9f | [] | no_license | peterkabai/dataScience | e357d35b01c610a38488109bb2ef4f197b15286c | 99652c4c05ca8f26df8760c67b5882d13935a324 | refs/heads/master | 2020-04-09T09:54:41.677461 | 2019-05-09T04:33:22 | 2019-05-09T04:33:22 | 152,819,355 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,312 | r | factors.R | # Factors, lists and matrices
# Lets start wuth factors
# Create a vector 'gear' of ordered factor values from the
# column 'gear' of the mtcars dataset.
gear = ordered(mtcars$gear)
# Display the levels of the factor.
gear
# Now let's do some lists
# Create a list x having component 'a' of value "foo",
# componen... |
f4fe739f4341928e92a0d16eb2a3b25452d58e78 | 327be677334f53b4658f33c33e909133e47a0dff | /cachematrix.R | 01d04d4720f07f5a93c4a7f41021f735bb51b7fd | [] | no_license | alishaqazi/ProgrammingAssignment2 | db6d6b719df7f82d87247786d791f0fadb4bdce7 | 9610d3e22e2f862b3040fe5cf2f75e94fd0b154d | refs/heads/master | 2021-05-16T04:00:47.135881 | 2017-10-03T17:50:02 | 2017-10-03T17:50:02 | 105,674,679 | 0 | 0 | null | 2017-10-03T16:25:08 | 2017-10-03T16:25:07 | null | UTF-8 | R | false | false | 1,026 | r | cachematrix.R | ## I have created makeCacheMatrix to make a special "matrix" object, so that cacheSolve can take makeCacheMatrix as an object.
## Therefore, this will lead cacheSolve to retrieve the inverse.
## makeCacheMatrix below will take a matrix as an argument, and will return a list that can be used by cacheSolve.
makeCacheMa... |
81ac423e9fbdff9c6a59e7b13d81ed3f72cad18e | 453f8f4ad202fa9b9fe7da7690781c4b12d45216 | /GSDF.TWCR/man/TWCR.get.slice.at.month.Rd | 887aa7ea8310e4b00ebea7af5c234d8118e60ed6 | [
"Apache-2.0"
] | permissive | oldweather/GSDF | 96c7478c740028a3daac226d33a130811776a3ab | 1f7ae58c9395b96aadea68a2870507bf6cbffe6d | refs/heads/master | 2021-01-17T03:45:42.929022 | 2017-09-07T13:52:32 | 2017-09-07T13:52:32 | 16,053,979 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 958 | rd | TWCR.get.slice.at.month.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GSDF.TWCR.R
\name{TWCR.get.slice.at.month}
\alias{TWCR.get.slice.at.month}
\title{Get slice at month.}
\usage{
TWCR.get.slice.at.month(variable, year, month, height = NULL,
opendap = TRUE, version = 2, type = "mean")
}
\arguments{
\item{var... |
a87c87b718f73ea239ac463948835eacac3b3f7b | 79e00cf80dbbae367df735d746624153f2293895 | /run_genscan.R | 1a25dba8e0ccbe7f5a298dbe82a243ce4366f3f9 | [] | no_license | hippover/GI_a2 | 68a92a7c1a00a56d606ff8422f5067c0bf3b39ff | b24472890e6e52d26d6dfd51ddeb1beffb7d2285 | refs/heads/master | 2020-04-05T09:03:28.684855 | 2018-11-19T13:08:00 | 2018-11-19T13:08:00 | 156,740,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,387 | r | run_genscan.R | # Launch genscan on species chromosomess
library(seqinr)
library(data.table)
Dsim <-'chromosomes/dsim-all-chromosome-r2.01.fasta'
Dmoj <- 'chromosomes/dmoj-all-chromosome-r1.04.fasta'
Dsec <- 'chromosomes/dsec-all-chromosome-r1.3.fasta'
Dere <- 'chromosomes/dere-all-chromosome-r1.05.fasta'
files=list(Dsim=Dsim,Dmoj=... |
3e1d8b44b8d68c79299fca85b41dbb62eb9000e0 | c8d87ef759a18c8eeb1eb2c5a77ea6bb9541df5c | /prob.012.R | 5ccfae940a17f0556c4643e0aa49177b6bfbb631 | [] | no_license | mittens-sk/study.R.euler | 6164a27789a5fa447988986f9ea59d23f8c84fc5 | c0fb2958ac88927bb30d6ca6d968de9e071d91c5 | refs/heads/master | 2020-07-28T18:17:18.280411 | 2019-10-07T07:50:45 | 2019-10-07T07:50:45 | 209,490,592 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 589 | r | prob.012.R | source('functions.R')
d<-0
i<-0
max<-0
find<-500
while(length(d)<find) {
i<-i+1
a<-sum(seq(1,i))
d<-divisors(a)
l<-length(d)
if(max<l) {
max<-l
print(paste0(i," : ",l))
}
}
print(a)
print(d)
#[1] "1 : 2"
#[1] "3 : 4"
#[1] "7 : 6"
#[1] "8 : 9"
#[1] "15 : 16"
#[1] "24 : 18"
#[1] "32 : 20"
#[1] "35 : ... |
699a0760126177d5294e24aa455cdecfff046579 | 2ea5a78617175fb105f825e1be66ea97e69a8eb2 | /CDARS2/R/CDARSMerge.R | 126978c6848920cc46cc1d50c651905eff17b357 | [] | no_license | songssssss/CDARS | 8abe11850c3ccc34151ac5d0edd731ecea49d8c2 | e54849b0f2ed980c0e4d92c0214509ee1f5277f7 | refs/heads/main | 2023-03-20T19:33:33.322844 | 2021-03-18T04:44:06 | 2021-03-18T04:44:06 | 348,942,257 | 0 | 0 | null | 2021-03-18T04:37:01 | 2021-03-18T04:37:00 | null | UTF-8 | R | false | false | 2,221 | r | CDARSMerge.R | #' @title Quick merge CDARS files
#' @description Merge CDARS raw xlsx files of the same types (column names) under the same folder automatically, save to SPSS format
#' @param class classes of files to be combined
#' @param to_csv convert to csv if TRUE, or to SPSS
#' @export
#' @import readxl
#' @seealso \code{... |
061ccc9f58cc528fd2046392f3000d1c5da3e386 | c02038fc9c9c3a0f23a6df73dd220a4384610fcd | /plot4.R | aa8c4f34c91ef30a1b3993437cf2d6ac63c92d59 | [] | no_license | emilyyii/ExploratoryDataAnalysis_Project01 | e92124002f5353a2b42901c36ff67fd6af456a38 | 2b1f8d66f9f32af9d261b4ab934da07770204338 | refs/heads/master | 2021-04-28T20:05:39.347179 | 2018-02-18T20:38:04 | 2018-02-18T20:38:04 | 121,914,853 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 752 | r | plot4.R | # plot 4
png("plot4.png", width = 480, height = 480)
par(mfrow = c(2,2))
# 1
plot(data$DateTime, data$Global_active_power, type = "l", xlab = "", ylab = "Global Active Power")
# 2
plot(data$DateTime, data$Voltage, type = "l", xlab = "datetime", ylab = "Voltage")
# 3
plot(data$DateTime, data$Sub_metering_1, col = "black... |
7c5503d8a5d6a2de3b4192e4e37a61397a9bf17d | 13110ac3fe1f3de135975f586e3b995ecb4588d2 | /man/upmplot.Rd | d1fd745b1eefc75185fa37ca8eec7e0f330bebd6 | [] | no_license | biostata/tpidesigns | e933b32cd99cc522e9afdbdbf09210e1cc5e439b | 215a886f48d0dc7dd3ebd838e3f32fa1e1c73fa1 | refs/heads/master | 2022-03-15T23:15:50.532759 | 2019-12-04T04:07:13 | 2019-12-04T04:07:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,271 | rd | upmplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/upm.R
\name{upmplot}
\alias{upmplot}
\title{Graphical plot of Unit Probability MASS}
\usage{
upmplot(x, n, pt, e1 = 0.05, e2 = 0.05, design = c("mtpi", "mmtpi"),
w, a1 = NULL, b1 = NULL, a2 = NULL, b2 = NULL)
}
\arguments{
\item{x}{Total Nu... |
f0a4c6a5a974e40ff15f6d59a3d341c109c41086 | 6f7a46350db1faad9882ce7cdf4fce12ac9284fd | /R/get_exchange_rates.R | e5948b0786de84b7eaec4d2c39f2c464531c923a | [] | no_license | Deborah-Jia/m_r_skills | 2f28d8b0fa70b058b9b5edf9e998060aac1330f3 | a53658b3181028a32e78ec9e14c5dbade383d946 | refs/heads/main | 2023-05-26T21:40:56.387382 | 2021-06-10T19:36:23 | 2021-06-10T19:36:23 | 366,491,809 | 0 | 0 | null | 2021-05-31T21:30:18 | 2021-05-11T19:27:22 | R | UTF-8 | R | false | false | 1,621 | r | get_exchange_rates.R | #' Look up the historical values of base currency in another currency.
#' @param base currency symbol
#' @param symbols currency symbol
#' @param start_date date
#' @param end_date date
#' @inheritParams get_usdhuf
#' @return \code{data.table} object
#' @export
#' @importFrom checkmate assert_numeric
#' @importFrom log... |
2b142dfb80b12ce23aeb1e160f416685b6398d47 | 08cd2a1676d27ac01291479de37273998d017864 | /00_script_for_rasp.R | ed0bcc3744dd4b912efc97673b4a8f47dd4fb70c | [] | no_license | FDenker/Legacy-patent-crawler | cd45e437a22ce8a6c7fd21f945a21527c31571ee | 2d367f41fd6e37143af5d9026272e1965137654f | refs/heads/master | 2022-04-09T20:17:45.860588 | 2020-03-20T13:09:34 | 2020-03-20T13:09:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | 00_script_for_rasp.R | #### script for raspberry pi###
#rstudioapi::jobRunScript("C:/Users/Frederic Denker/OneDrive - Zeppelin-University gGmbH/Dokumente/Semester 7/clean_patent_project/Patent_project/01_uspto_crawler_full_script.R", importEnv = TRUE)
devtools::source_url("https://github.com/FDenker/us_ger_patent_scraping/blob/master/0... |
5c824ad7b8f1a8443388c7a4f788955250e6c474 | 1fdb812e8be81ba42963e82fff1e9201517c1a12 | /src/setup.R | 0535f91344ec21b665880a2008e76cda1efdc8c8 | [] | no_license | adamstuller/weather-data-analysis | dafe298041ef255de98103b93035b2641a7fb210 | 30e4c588c4e5637b524d6502eddf28f3b6413f75 | refs/heads/main | 2023-05-08T16:58:48.492254 | 2021-05-24T20:08:19 | 2021-05-24T20:08:19 | 345,736,727 | 0 | 0 | null | 2021-05-24T16:14:37 | 2021-03-08T17:21:24 | HTML | UTF-8 | R | false | false | 608 | r | setup.R | library(lubridate)
library(tidyverse)
library(Hmisc)
library(data.table)
library(funModeling)
library(corrplot)
library(tsibble)
library(fable)
library(imputeTS)
library(EnvStats)
library(feasts)
library(factoextra)
library(fpp3)
# mode function
getmode <- function(v) {
uniqv <- unique(v)
uniqv[which.max(tabulate(... |
d0fae484fc75e7c43424bb9ab7f4596c29f19915 | 78feba5ff1ee498c62aa5540e68c7debb9194d82 | /man/cells.Rd | 6f3db83c73bc6e181a52340e5909847fb20d90c9 | [] | no_license | mhpedersen/tblr | 902e25901596beb4fa17ed0cad74f3148c9166c7 | 7c700df2bc30abf774c6cba1855ac5db4d202547 | refs/heads/master | 2021-01-18T18:37:18.662232 | 2016-05-30T21:15:32 | 2016-05-30T21:15:32 | 60,035,934 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 177 | rd | cells.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tbl.R
\name{cells}
\alias{cells}
\title{cells}
\usage{
cells(coords, ...)
}
\description{
cells
}
|
8b87d5ecdf86af54dcefe754d3ce303fac76fb60 | b8088b488a998bff1e92a42ae432e0823b4c3fb1 | /man/nltm-internal.Rd | be7576acaf6746e6f7a0dd2fe4859b2a0b0d72c3 | [] | no_license | cran/nltm | 2b49164db963f6967a8fc0c821e32b54566c6ba0 | ae661486d463b133e4cad46be19dcce0942cc68a | refs/heads/master | 2023-03-16T07:18:48.259534 | 2022-04-11T13:10:09 | 2022-04-11T13:10:09 | 17,719,132 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 716 | rd | nltm-internal.Rd | \name{nltm-internal}
\alias{nltm-internal}
\alias{nltm.fit}
\alias{profileLikR}
\alias{boundary}
\alias{counts}
\alias{eventTimes}
\alias{initSurvival}
\alias{nPredictor}
\alias{reverseCumsum}
\alias{cureModel}
\title{Internal non-linear transformation model functions}
\description{Internal non-linear transformation mo... |
b480d27db7814ddda6a8312808bc87a668c585ac | 5868298703355b6796bfeeb8139ca518428b8d0f | /Print Test.R | dc3f5773c555f090005c4e4933de8e55ee3126b5 | [] | no_license | RayCatNineNine/TestRespo | d24342fd20dc6d397a25ca2e9ec27e61302bf453 | 98b709a36027b0ba521e0c41b76691c8eb0c899e | refs/heads/master | 2023-03-08T00:12:39.812396 | 2021-02-10T03:03:39 | 2021-02-10T03:03:39 | 337,599,894 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 77 | r | Print Test.R | print("This file was created within RStudio")
Print("And now it lives here") |
b45a86eff69ca9ce742d7b2da8dc626214e087c2 | 1ff3a51b463c951aa02ef40a89c5a884c94f9516 | /R/print.summary.covfm.R | 8f08a2dc9970415edc460fbc1ed69826cf2e126a | [] | no_license | cran/fit.models | 3a250a89603637cfd2296b4cf25f6bcc8e38eda6 | 2548545703702dbc11c8a2b9ceda8da77777386e | refs/heads/master | 2021-01-10T01:00:23.547075 | 2020-08-02T13:30:02 | 2020-08-02T13:30:02 | 17,696,066 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,721 | r | print.summary.covfm.R | #' @export
print.summary.covfm <- function(x, corr = FALSE, digits = max(3, getOption("digits") - 3),
print.distance = FALSE, ...)
{
n.models <- length(x)
mod.names <- names(x)
if(!("corr" %in% names(match.call())[-1]) && !is.null(ac <- attr(x, "corr")))
corr <- ac
acc <- i... |
4d9755b48c80464861b74a0925d677c15fc075c2 | 75ec20adb7fc7f8df4bfc2a45a8d45a3da69d857 | /scripts/project/par.R | fdc5776aee70c31c0ad2a895a8bb73539225b7f8 | [] | no_license | dreanod/redseachl | a824ebfe8334b07f5ed7030aeaef486b44b262a0 | e0e89f4210199667740faddb66b85ee3270c4ae3 | refs/heads/master | 2016-09-05T14:47:11.006842 | 2015-05-07T05:53:32 | 2015-05-07T05:53:32 | 25,761,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,394 | r | par.R | library(raster)
library(yaml)
out_dir <- 'data/par/projected'
clusters <- raster('derived/clustering/with_seasonal_filling/clusters.grd')
par <- brick('data/par/aggregate/par.grd')
dir.create(out_dir, recursive=TRUE)
config <- yaml.load_file('scripts/load/config.yml')
ext <- config$red_sea_extent
ext <- extent(c(ex... |
5c01a60f51f985381232f9c93fbf67a17ec6fa5c | d01ef90f1b72ae02ac5055c7c93c69fcf5a7be5c | /pedigree/genotyped.relatives.R | 128ede744249e1f18f2c471bf8328a417f79b1fc | [] | no_license | ngon/LgSm-DataProcessing | 3b8dde9e4e75f1e2e6791ec342cda80b6d54070f | 37c816f5257dcc87802124e87dbd9e445f6d146f | refs/heads/master | 2020-07-04T15:07:14.876067 | 2015-11-21T02:52:33 | 2015-11-21T02:52:33 | 22,928,887 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,194 | r | genotyped.relatives.R | ### PURPOSE: MAKE A LIST OF SIB PAIRS GENOTYPED FROM F50-55, AND MAKE A LIST OF
### TRIOS/FAMILIES GENOTYPED FROM F39-43. THESE CAN BE USED FOR ERROR CHECKING
### FURTHER DOWN THE LINE.
### THIS WAS USED TO CREATE /PEDIGREE/GENOTYPEDRELATIVES.R
load("./pedigree/info.phenoSamples.RData")
info <- info[order(info$gen, ... |
fcfc668b89b70c137a4390a5e8bfb6e7d6fb7d80 | 911fe2b00bd17e220c2116c292fe95603ffe1e7a | /preprocessing/BMIQ.R | 0cc9c7b8ecee0011f24ce63612fcb4da3bdf5b89 | [] | no_license | sunnytien/methyl_age | 3772b4eb1115de4a9697f57e4458b850b0c747ff | 07c35e202d56a06193c2a4270d1c0907e9bb4db0 | refs/heads/master | 2020-06-24T14:32:51.548812 | 2015-06-09T15:14:30 | 2015-06-09T15:14:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,093 | r | BMIQ.R | library("wateRmelon")
library("dplyr")
library(IlluminaHumanMethylation450kanno.ilmn12.hg19)
library("BatchJobs")
data(IlluminaHumanMethylation450kanno.ilmn12.hg19)
bmiq.normalization = function(filename, types, subsample=NULL){
require("wateRmelon")
# filename handling
betas = get(load(filename))
base ... |
211c29a662929aab55c66ba666daa921663f187f | da03bdcef07889532366cdb90c3ea64db0bf8a16 | /man/dfSatterthwaite.Rd | e4db27892c4c75f2138c8424e1f50b4a2768209a | [] | no_license | cran/equivalenceTest | 4e3bb00ded51d5bcb216d9c10d6304297b7cee66 | aae9bb4ee112a8fd7b69dc719e726b82c9ffd16a | refs/heads/master | 2020-04-27T00:02:30.395743 | 2019-03-04T17:30:03 | 2019-03-04T17:30:03 | 173,922,116 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 692 | rd | dfSatterthwaite.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/equivTest_FixedMargin.R
\name{dfSatterthwaite}
\alias{dfSatterthwaite}
\title{Compute the Satterthwaite approximation of degree of freedom for t distribution}
\usage{
dfSatterthwaite(s1, n1, n1s, s2, n2, n2s)
}
\arguments{
\item{s1}{sample st... |
1d175b21842021078478c804243b37f2eae62c50 | 1068d66263215693b773faaa4eda37e8fe733b39 | /make_incr_DEM_from_SRTM.R | fc6e3a8a813c24453b815a63ec80713b273caf3a | [] | no_license | bschumac/Analyse_netcdf_Modeloutput | 3b2794656aa5113ede46b334a240fa1a54274735 | 772fa718af19661fa4cdc85195a21db5a52c1bb6 | refs/heads/master | 2021-01-18T19:34:25.862760 | 2019-10-16T04:06:47 | 2019-10-16T04:06:47 | 72,073,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,002 | r | make_incr_DEM_from_SRTM.R | #### This script will calculate the RMSE of Precipitation of the TRMM Data compared
#### to the real measured data.
if (!require(raster)){install.packages('raster')}
library(sp)
library(raster)
if (!require(ncdf4)){install.packages("ncdf4", type = "source", configure.args="--with-netcdf-include=/usr/include")}
librar... |
0ada7756d0c559b631bb8c16008efe78dbecc5df | 40a4312554df0d1e2e298b3da91612855859c894 | /R/RcppExports.R | 2290a7069c875777df67707cb1c7c2efdc235e63 | [] | no_license | gravesee/spamming | 0aae78201f2faaf2ef6396fc94f54e766fca7da8 | 01399e4ab13ea958c944e71e2146a71247f2bb59 | refs/heads/master | 2021-09-18T02:42:27.942594 | 2018-07-05T12:17:40 | 2018-07-05T12:17:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 831 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
ngCMatrix_to_array_test <- function(obj) {
.Call('_spamming_ngCMatrix_to_array_test', PACKAGE = 'spamming', obj)
}
hamming_ngCMatrix_x_only <- function(obj) {
.Call('_spamming_hamming_... |
18b93c119d7e67f5f96d7895dfad8925869bc2e5 | 1acb22f859b99f7d459730ebe5ffe7cc879ff89f | /tests/testthat/test-areBracketsBalanced.R | b55ddea734051e8a5ac7d98e58a2fd86036021e3 | [] | no_license | sonejilab/FastWilcoxTest | 8f992a592a73dd6318cdac422ff6795c37b98db8 | c9ea65dcc41aa5f3403441899f7e558d2a7cbe7d | refs/heads/master | 2022-11-05T08:36:55.592201 | 2022-10-17T10:46:36 | 2022-10-17T10:46:36 | 173,142,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,283 | r | test-areBracketsBalanced.R | context( 'areBracketsBalanced')
expect_true(areBracketsBalanced("{}"), label="{}" )
expect_true(areBracketsBalanced("()"), label="()" )
expect_true(areBracketsBalanced("[]"), label="[]" )
expect_true(areBracketsBalanced("{{{
[[[
(((
)))
]]]
}}}"), label="{{{[[[((()))]]]}}}" )
expect_true(!areBracketsBalance... |
27826957feeb7e50a54fa9b73e3f6612e5dcadf0 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/rotations/man/maxwell.kappa.Rd | 3c1c4310c44387121ef20019b70f7de301ac0ba2 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,188 | rd | maxwell.kappa.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kappa.R
\name{maxwell.kappa}
\alias{maxwell.kappa}
\title{Circular variance and concentration parameter}
\usage{
maxwell.kappa(nu)
}
\arguments{
\item{nu}{circular variance}
}
\value{
Concentration parameter corresponding to nu.
}
\descriptio... |
238ababf730d1646ca448ed70f1e2ee3d8235d42 | 1dc1a1a4e717c20112517501c43f9a966ab0c0e5 | /tests/testthat/test-calc_catchment.R | 62b67cbd3e75497ca131b0ccef49e96788de36aa | [
"MIT"
] | permissive | Robinlovelace/stplanr | 5d11640b9b644e40d81b97ee1a2debb77ffb4e26 | d1f10fe2335c2494ba153fd09675756e2c1572b3 | refs/heads/master | 2021-01-23T09:02:00.128500 | 2018-09-13T08:19:36 | 2018-09-13T08:19:36 | 30,063,520 | 14 | 4 | null | null | null | null | UTF-8 | R | false | false | 741 | r | test-calc_catchment.R | context("Test the calc_catchment function")
test_that(
desc = "calc_catchment returns a SpatialPolygonsDataFrame",
code = {
data_dir <- system.file("extdata", package = "stplanr")
unzip(file.path(data_dir, 'smallsa1.zip'))
unzip(file.path(data_dir, 'testcycleway.zip'))
sa1income <- readOGR(".","sma... |
7dcfe9bb4e1668789742d5b34778d50226666d91 | ba8c93066b190808f70d54386359ee015639ca33 | /dc/man.r | 8a2e6b59824cb6d72267e44a1fd4d53a22c88fcf | [] | no_license | unix-history/tropix-cmd | 0c0b54ae35b9e48c63aca8a7ac06e7935dd5b819 | 244f84697354b1c0e495a77cdff98549875d1b9f | refs/heads/master | 2021-05-27T22:06:51.390547 | 2014-11-06T17:41:20 | 2014-11-06T17:41:20 | 26,281,551 | 1 | 2 | null | null | null | null | ISO-8859-1 | R | false | false | 1,879 | r | man.r | .bp
.he 'DC (cmd)'TROPIX: Manual de Referência'DC (cmd)'
.fo 'Atualizado em 03.11.04'Versão 4.6.0'Pag. %'
.b NOME
.in 5
.wo "dc -"
Calculador de mesa com aritmética de múmeros inteiros
.br
.in
.sp
.b SINTAXE
.in 5
.(l
dc
.)l
.in
.sp
.b DESCRIÇÃO
.in 5
O programa "dc" simula um calculador de mesa (muito simples) com
... |
229932a924f866a8cfced4fb943719bf0ed93ae5 | 36eda864518a588a51b6de937da4c5f36316943c | /Power Lifting.R | 994e975a79cd0b253b6b6c8f4d323c18d899fd20 | [] | no_license | 26margaretwanjiru/Power-Lifting-Tidy-Tuesday | c85bc7c520d413ab2d54f0e1534c965b4869a4f3 | 269e0e37f93f931e315ff168fece2151910bd640 | refs/heads/master | 2020-08-09T06:41:28.843201 | 2019-10-09T21:11:24 | 2019-10-09T21:11:24 | 214,024,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,593 | r | Power Lifting.R | # Packages
library(tidyverse)
library(lubridate)
library(gganimate)
# Data
ipf_lifts <- readr::read_csv("https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-10-08/ipf_lifts.csv")
# Data Structure
str(ipf_lifts)
summary(ipf_lifts)
#Extracting the year and month colu... |
894e4c303201d8139424d2deb02b424301b277e5 | 47d916b22c5880a6f02cdefc8eb62ce63390564d | /myCBD/ui.R | 3a37c45f9bfaa3b5d9ec2532af1556bee9749642 | [] | no_license | sharygin/CACommunityBurden | 44d0626d49bb43714813d4325c6faefe63bcc7e0 | b94870c60decd83733b959339131c63f00439e16 | refs/heads/master | 2021-06-24T11:07:03.066910 | 2020-02-28T01:10:01 | 2020-02-28T01:10:01 | 123,367,400 | 0 | 0 | null | 2018-03-01T01:55:08 | 2018-03-01T01:55:08 | null | UTF-8 | R | false | false | 13,491 | r | ui.R | # =============================================================================
# "ui.R" file
#
# required file for Shiny Application
#
# sets up user inputs (drop downs, buttons, etc.) and text in side pannels
# sets up tabs and places all maps, charts, images, titles in main pannels
# set all "styles"
#
# Micha... |
6d3106ffe60d29e4ee7e6d2d8d6fea8852196b08 | 41ad0c923f892ae925f4e5a01b50c32f862a55cb | /report.R | 45e0ef11f0d6826e5fdcf0820fca50512bb4f33b | [] | no_license | humana-fragilitas/harvardx-ph125.9x-movielens | 71acfb8987c718c6c8d78814b5a70e646beb7a0c | 22a442218c47f8d46d4da90bdab6f492e37d9bc7 | refs/heads/master | 2021-03-02T23:35:24.538465 | 2020-03-09T01:11:11 | 2020-03-09T01:11:11 | 245,915,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,202 | r | report.R | ################################
# Create edx set, validation set
################################
# Note: this process could take a couple of minutes
if(!require(tidyverse)) {
install.packages("tidyverse", repos = "http://cran.us.r-project.org")
}
if(!require(caret)) {
install.packages("caret", repos = "http://c... |
42be8fb413036efa730d16e42686552dcc48283f | e67620506721117201d8e6ccbe7adc08335c8bd7 | /R/get_page.R | fd4da1da894d215ec4b01928087626ea8e5c285a | [
"MIT"
] | permissive | kwanlin/pendor | 42bb8345ff8e1b1c40cd78e29da5f4a73fc93bb8 | d38332259eec6761f59af615e33869ffad7471ca | refs/heads/master | 2021-05-11T22:04:31.285447 | 2018-02-03T02:30:28 | 2018-02-03T02:30:28 | 117,485,669 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 606 | r | get_page.R | #' Retrieve list of pages from Pendo
#'
#' @param string input character vector
#' @return
#' @seealso
#' @export
#' @examples
#' get_pages_list(some_auth_key)
get_pages_list <- function(auth_key) {
url <- paste0(c("https://app.pendo.io/api/v1/page"), collapse='')
pages_list <- httr::GET(url,
... |
bc52eea0c889c01ef884a652e83592153107f9c2 | 9322baceebe3a9908fe0ea7186567fd7a0868139 | /Writedata.r | d1c745763baa5c532b9818e8d5bed11d6505827b | [] | no_license | ArjenS/GettingAndCleaningData | 3e65d2f9ed475e5c40fcc2ac53e6656b54deada2 | aee00dd36794f265926c796b83e67c3ccc5c2fb9 | refs/heads/master | 2021-01-13T00:53:46.494608 | 2015-11-21T21:16:42 | 2015-11-21T21:16:42 | 46,630,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 132 | r | Writedata.r | #This script assumes the presence of a dataset called 'Dataset2'.
write.table(Dataset2,'OutputCourseProject.txt',row.names = FALSE) |
4313cd7ba0988b22313a903c08199f3228285eb2 | 4ae08acc5e05af8d006756b6d8ce96a72ff23d98 | /R/geo_topo.R | 9f9ebf642ca41ce01129e3018170f4facf587b7e | [
"MIT"
] | permissive | ropensci/geojsonio | 7f33854cce01d4f8b7e0c24cda3c34cb14484f09 | 6202af081025015872345d5a9b8c17caaec54d18 | refs/heads/main | 2023-08-31T15:23:52.949534 | 2023-08-21T15:18:50 | 2023-08-21T15:18:50 | 18,337,862 | 138 | 67 | NOASSERTION | 2023-09-05T16:50:05 | 2014-04-01T17:20:23 | R | UTF-8 | R | false | false | 4,083 | r | geo_topo.R | #' GeoJSON to TopoJSON and back
#'
#' @export
#' @param x GeoJSON or TopoJSON as a character string, json, a file path, or
#' url
#' @param object_name (character) name to give to the TopoJSON object created.
#' Default: "foo"
#' @param quantization (numeric) quantization parameter, use this to
#' quantize geometry pri... |
b645790dc010873de4e16e28d99832777356c14d | c844b3a0ed7e13239dda7c12c606f35e9d05e61d | /counties.R | 2c84c71f17d1b86d66218c08b8cc84301d47a126 | [] | no_license | AdamDS/counties_regions | d766545082ca518b3bac5c9bc3cfe48c3cdf2741 | e37e726bc5f67b46bd5196050a646cbbf0c7e9b1 | refs/heads/master | 2020-12-03T04:03:44.467540 | 2017-06-29T18:53:19 | 2017-06-29T18:53:19 | 95,706,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,608 | r | counties.R | #load packages
library( 'ggplot2' )
library( 'reshape' )
library( 'plyr' )
library( 'grid' )
library( 'gridExtra' )
library( 'scales' )
#get pivot table
data = read.table( file = 'pivot.csv' , header = TRUE , sep = "," , stringsAsFactors = FALSE )
#extract the list of counties
counties = data$Geography[ data$Geograph... |
2f9c2b41bf2f4711856fd23f0c1875df590c1854 | 2b161e485c17614927c847adb74a040d9c0e1129 | /app.R | 87103e0871c9639bc40bc93c96b77e2f1cfde7b8 | [
"Apache-2.0"
] | permissive | aammd/CCISS_ShinyApp | 5bdd1e83b50da266a19e99f9c2d45ec305702fae | 462e25fa032439aec3ff6ad7b85f46dbe24f2bc9 | refs/heads/main | 2023-03-12T11:22:36.863766 | 2021-02-27T04:07:52 | 2021-02-27T04:07:52 | 342,243,789 | 0 | 0 | Apache-2.0 | 2021-02-25T12:52:40 | 2021-02-25T12:52:39 | null | UTF-8 | R | false | false | 1,463 | r | app.R | library(shiny)
library(bslib)
library(thematic)
# ----- non-shiny packages
require(data.table)
require(foreach)
require(tidyverse)
require(DBI)
require(sf)
library(here)
require(RPostgreSQL)
library(raster)
library(matrixStats)
library(Rcpp)
require(tictoc)
require(ggplot2)
require(ggthemes)
require(tmap)
library(leafl... |
c0b600c420cbbd2d352f845a303da65dcd5bf1d1 | 7f006b75626a2cf839c5ec1281ec86cf2cde611b | /man/contains_underscores.Rd | 1a1b1b5282deb194aff5d1d3a2088caaf6e0e19b | [] | no_license | kashenfelter/packageAnalyzeR | 9e299dadfbe244cd1a02fba889438560fa694b74 | 67d9d5b63807dce8774316747cfc8880ca7a1753 | refs/heads/master | 2020-03-13T22:30:32.624372 | 2014-04-30T00:51:42 | 2014-04-30T00:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 223 | rd | contains_underscores.Rd | \name{contains_underscores}
\alias{contains_underscores}
\title{Contains underscores}
\usage{
contains_underscores(funs)
}
\arguments{
\item{funs}{Character vector}
}
\description{
Does the input contain an underscore
}
|
7e07fc81d08c74eae1892249fc8fb90acc6c3cc0 | 175150af7e81f24cd7b15e3e96c9442a1fc4d0fb | /R/data.R | 0bc4a7c3bade5856652ea3f15639c5a1af3caabe | [
"MIT"
] | permissive | TS404/WikidataR | 8c59f843d4d627bc884de7104cf97e6e5edd8607 | c97943349f69633a505029aa64b9f7e791754b3b | refs/heads/master | 2022-12-21T00:20:17.078052 | 2022-05-29T09:25:46 | 2022-05-29T09:25:46 | 249,677,195 | 25 | 5 | NOASSERTION | 2022-12-11T15:17:03 | 2020-03-24T10:24:11 | R | UTF-8 | R | false | false | 664 | r | data.R | #' @name WD.globalvar
#'
#' @title Global variables for Wikidata properties
#'
#' @description A dataset of Wikidata global variables.
#'
#' @format A list of tibbles documenting key property constraints from wikidata
#' \describe{
#' \item{SID.valid}{valid reference source properties}
#' \item{PID.datatype}{req... |
5d43444fb141cfa38f8796323765bd0bacfe0db2 | 24194d2bd6986aeb089e5557158470194923d128 | /man/tangent.Rd | 4b38ce78065fabe223b8a959e5988c21f0a66054 | [] | no_license | shizidushu/fsrs | 35e83a11a77c6110225748b90baf147f030b8ba7 | 32e9ff6e132c3eeee04f2ee9472735f9bdd2fd00 | refs/heads/master | 2021-01-25T14:16:43.047809 | 2018-08-03T03:51:24 | 2018-08-03T03:51:24 | 123,678,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 392 | rd | tangent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trigonometric.R
\name{tangent}
\alias{tangent}
\title{tangent}
\usage{
tangent(y, x)
}
\arguments{
\item{y}{y coordinate in a circle or opposite of an acute angle in terms of a right triangle}
\item{x}{x coordinate in a circle or adjacent of... |
b4d63dc36a600e162f71d885111a7691796ddabe | dd131db159a5d9c28e28f5410d289ffe7a5e9f8e | /distribution/二項分布.R | 72263d47db5f8e372af461d2336412f36479d20b | [] | no_license | oshino-taihei/analytics_selfstudy | b580161d705a09060560c744606de0100dfcccbf | 6f650f1d05968e40e94e710b494035f392aa1219 | refs/heads/master | 2021-01-21T04:51:01.113843 | 2016-07-20T02:34:04 | 2016-07-20T02:34:04 | 54,970,595 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 861 | r | 二項分布.R | # B(n,p)の二項分布に従う試行をしたときの成功回数
bin <- function(n, p = 0.5) {
sum(sample(0:1, size = n, replace = TRUE, prob = c(p, 1 - p)))
}
# B(n,p)のヒストグラムを描画
hist_bin <- function(n = 20, p = 0.5) {
x <- sapply(c(1:10000), function(x) { bin(n, p)} )
main <- paste("二項分布 B(", n, ", ", p, ")", seq="")
hist(x, breaks=0:n, freq=FA... |
b97b0bd84ef911102cb338f1bc7f6d25aa4f71be | 2f94579f26bcbc190a21378221c55d205284e95f | /listings/ex-12.4.R | d5e96df57bbb932fc2bd89a824c551afd458cb5b | [] | no_license | Fifis/ekonometrika-bakalavr | 9fdf130d57446182fcf935e60d9276cc99d89c0e | c2d89a382d3eaf450a8f4f4dc73c77dd7c6eefd7 | refs/heads/master | 2021-01-20T20:42:12.937927 | 2016-07-23T17:14:35 | 2016-07-23T17:14:35 | 63,989,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 146 | r | ex-12.4.R | adfTest(data$CAC40, lags = 5, type ="c")
adfTest(data$DAX, lags = 5, type ="c")
install.packages("egcm")
library(egcm)
egcm(data$CAC40,data$DAX)
|
03969872ffe5633b4fe5072cbe6282243a431ffc | 5eb30613428827b36c74ee9a46ea679b324a6d64 | /plot4.R | acc50a9de829a87eb5bcd2ddc0499a2caedd3523 | [] | no_license | irxum/ExData_Plotting1 | 69fd0e08ac3072ec3df55d5c341b7fd4f7c87a6a | d156dd81090d59d17bde7b0ecfc2c5d2753e4b91 | refs/heads/master | 2021-01-20T10:28:49.885161 | 2015-06-07T06:20:03 | 2015-06-07T06:20:03 | 37,006,663 | 0 | 0 | null | 2015-06-07T06:14:27 | 2015-06-07T06:14:26 | null | UTF-8 | R | false | false | 1,886 | r | plot4.R | #
# plot4.R
#
library(lubridate)
# this script assumes the raw data is in the working directory
dstop <- read.table("household_power_consumption.txt",nrows=25)
dsok_top <- read.table("household_power_consumption.txt",nrows=25,header=TRUE,sep=";")
datetimestart <- dmy_hms(paste(as.character(dsok_top[1,1]),as.character... |
eddb36416da6deebb5698d7dfb17d526de4cc975 | dc4f0aceb5543a8440c173d64acf26c2df996f8f | /plot1.R | 3f712349b9acf5b1af448703ea152161fa7226e0 | [] | no_license | nelson-pedernera/ExData_Plotting1 | 79890911b626ad3deba520a02fa4083394376d85 | 9264cbe27c10ef7ddbeca838c03e9dcee2e1d423 | refs/heads/master | 2021-01-22T12:44:58.667721 | 2016-01-13T00:33:30 | 2016-01-13T00:33:30 | 49,475,597 | 0 | 0 | null | 2016-01-12T04:46:11 | 2016-01-12T04:46:11 | null | UTF-8 | R | false | false | 742 | r | plot1.R | setwd("C:/Users/nelson.pedernera/Desktop/BigData/DataScience/MIV/01/CourseProject/GitHub/ExData_Plotting1/")
#----------------------------------------------------------------------------------------------------------------------------------
# Reading the data
data <- read.csv("household_power_consumption.txt", sep = "... |
0d6e43f3ac17cfeb40d69d0f51206b38ca0fabbc | 5113b035b5e5022e71fb6d065f7033a2ba2c1a96 | /R/data.R | 6fe47abf5ecb07bfaa7a13f98f0f777c556c658d | [] | no_license | cran/glmtlp | 2f9a636f47d3f35c0852608b5d8244aa58030956 | ec957cac73e6c7e82731a5ab6f8665392cf1b4bf | refs/heads/master | 2021-12-25T07:43:50.859511 | 2021-12-17T22:00:02 | 2021-12-17T22:00:02 | 120,621,828 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,581 | r | data.R | #' A simulated binomial data set.
#'
#' A data set simulated for illustrating logistic regression models. Generated by
#' \code{gen.binomial.data(n = 200, p = 20, seed = 2021)}.
#'
#' @format A list with three elements: design matrix \code{X}, response \code{y},
#' and the true coefficient vector \code{beta}.
#' ... |
faf9f7204473fb9dc32e4761a1b2c0573a324226 | 66ee5b9cbe7f6b3a745cc8174deda69ef6b833b8 | /man/readXCI.Rd | 623e72ef9ae4e2ccbefb5dc404128418e5f3739b | [] | no_license | SRenan/XCIR | 5e4d2299ea57edbff200793e8d91f7814b27c79a | 4e51efe9980056e7fe274224da0173fcfaf2edd7 | refs/heads/master | 2021-10-12T07:06:51.967393 | 2021-10-04T20:36:54 | 2021-10-04T20:36:54 | 69,993,016 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,291 | rd | readXCI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{readXCI}
\alias{readXCI}
\title{Read a list of known inactivated genes}
\usage{
readXCI(xciGenes = NULL)
}
\arguments{
\item{xciGenes}{A \code{character} or code{NULL}. By defaults, return a
vector of 177 genes. Other available ... |
502a7c6094985b77e06257d7a8537ee0aff4629e | 82811c38e5f5222327b484edaac06eafe5a7ac59 | /man/cc_crossclustering.Rd | 95da8f8e282e1d06fc02e33081e4d177d9933bd6 | [] | no_license | CorradoLanera/CrossClustering | 36b49c6e7e1391daa4d6d728cbcb6e5d136f0480 | 19c1352b5bc2829eb32ac842b1a8bd9a70ef5893 | refs/heads/master | 2021-03-30T18:16:36.757604 | 2018-07-30T14:40:04 | 2018-07-30T14:40:04 | 114,754,093 | 2 | 0 | null | 2018-07-29T09:40:05 | 2017-12-19T10:54:35 | R | UTF-8 | R | false | true | 5,909 | rd | cc_crossclustering.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cc_crossclustering.R
\name{cc_crossclustering}
\alias{cc_crossclustering}
\alias{print.crossclustering}
\title{A partial clustering algorithm with automatic estimation of
the number of clusters and identification of outliers}
\usage{
cc_cross... |
3e8e13ce425ec4876dbf0dc8726dedede2c5be76 | a21c7571d37d95cd1f826924d623a041c24393f3 | /manuscript/pandoc/bin/render_html.R | fa2e4bb522eb0daf3467352a7f9a372489e53298 | [] | no_license | andrewheiss/covid-derogations | ccd24888d316aa2bb4314f6f1d90089fb36ea225 | 30827292032344fe95b1ce205e8c55bad3f920e2 | refs/heads/main | 2023-03-24T23:14:23.118019 | 2021-03-27T02:15:12 | 2021-03-27T02:15:12 | 348,423,163 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,246 | r | render_html.R | #!/usr/bin/env Rscript
args <- R.utils::cmdArgs()
# Check arguments
stopifnot("Specify an input file using -input\n(e.g. `-input manuscript.Rmd`)" = is.character(args$input),
"Specify an output file using -output\n(e.g. `-output manuscript.html`)" = is.character(args$output),
"Specify a CSL file u... |
66555550321108f4dd4ed2dcb779c050ff47d603 | 5d00314e5a831232aee5b22eff35700154cfbb08 | /man/FLXMCfactanal.Rd | 204c0910d5c8bfcdd0a45df8d99d6610bb832db0 | [] | no_license | cran/flexmix | e60085cbe878fea1e2bfca9e21c74eb42dc3e594 | 79b16f19b9d44c48bd743882b618b3504dd44b31 | refs/heads/master | 2023-04-06T10:14:48.855288 | 2023-03-16T19:50:08 | 2023-03-16T19:50:08 | 17,696,081 | 6 | 7 | null | null | null | null | UTF-8 | R | false | false | 2,390 | rd | FLXMCfactanal.Rd | \name{FLXMCfactanal}
\alias{FLXMCfactanal}
\alias{rFLXM,FLXMCfactanal,FLXcomponent-method}
\title{Driver for Mixtures of Factor Analyzers}
\description{
This driver for \code{\link{flexmix}} implements estimation of mixtures of
factor analyzers using ML estimation of factor analysis implemented in
\code{factanal}... |
1608e375d00c3c5e7136b2c200cea013d2e61331 | e8ab695b941a3a1d9920990ca1f83c498d9abf7c | /hw1.R | 3645f503c7770d22aebf8b075558ac0d6a2050d9 | [] | no_license | broshni/RProgrammingCoursera | 3895946da8a622f053e842320249d6ad67f6a9f7 | ba1aa5f50cb6d508c9a503008e23915b06181f67 | refs/heads/master | 2022-11-18T17:21:41.162534 | 2020-07-04T00:47:06 | 2020-07-04T00:47:06 | 271,906,498 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,248 | r | hw1.R | ## In the dataset provided for this Quiz, what are the column names of the dataset?
data_1 <- read.csv("hw1_data.csv")
names(data_1)
## How many observations (i.e. rows) are in this data frame?
nrow(data_1)
## Extract the last 2 rows of the data frame and print them to the console. What does the output look like?
tai... |
de41be47b25a984f8a5f5abf2ce47d422b578467 | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /paws/man/devicefarm_get_test_grid_project.Rd | fab3fc6d596b818aaada891ee529c7dc19bf1415 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | johnnytommy/paws | 019b410ad8d4218199eb7349eb1844864bd45119 | a371a5f2207b534cf60735e693c809bd33ce3ccf | refs/heads/master | 2020-09-14T23:09:23.848860 | 2020-04-06T21:49:17 | 2020-04-06T21:49:17 | 223,286,996 | 1 | 0 | NOASSERTION | 2019-11-22T00:29:10 | 2019-11-21T23:56:19 | null | UTF-8 | R | false | true | 634 | rd | devicefarm_get_test_grid_project.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/devicefarm_operations.R
\name{devicefarm_get_test_grid_project}
\alias{devicefarm_get_test_grid_project}
\title{Retrieves information about a Selenium testing project}
\usage{
devicefarm_get_test_grid_project(projectArn)
}
\arguments{
\item{p... |
15e72cfb8731157a1d14e9fd253ef58b50872be8 | f9e55b969b7acf64ba5222e4fa665dc0931e35da | /tests/testthat/test-preCheck1.R | b7d581bb9af1c65f111cc34d62928828a1105c3c | [
"MIT"
] | permissive | ntsim/dfe-published-data-qa | 48747772391e64cfc3553dd674fc9d06bd420be2 | 0b558b3fceb4a0ba41ddeffc492bcd4d2314ad23 | refs/heads/master | 2023-07-14T16:52:46.112112 | 2021-07-21T16:10:08 | 2021-07-21T16:10:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,512 | r | test-preCheck1.R | context("preCheck1Functions")
pathStart <- "preCheck1/"
# invalid_meta_cols -------------------------------------------------------------------------------------------------------
test_that("invalid_meta_cols", {
expect_equal(testIndividualTest(pathStart, "invalid_meta_cols"), "FAIL")
})
# meta_to_data_crosscheck... |
66b02482601114832158ab030323cb4c23c49e25 | e0df9b803c7863832d405f47c4272f8b9f1f1c6a | /R/weather_fips.R | ea25a33b4ad5c42fe40da8958922d8021847bb94 | [] | no_license | jferreri/countyweather | 5a3918055daefa2b88af9efedda4dfcae50b4c1c | 3e04af3c6e05e75da0900e0d393e5fae69ad9f9b | refs/heads/master | 2021-01-17T05:18:22.722937 | 2016-04-21T15:21:53 | 2016-04-21T15:21:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,742 | r | weather_fips.R | #' Return average daily weather data for a particular county.
#'
#' \code{weather_fips} returns a data.frame of average daily precipitation,
#' maximum and minimum temperature values for a particular county, date range,
#' and specified "coverage."
#'
#' This function serves as a wrapper to several functions from the
#... |
a029b5747c57370bdf485a4b4feb467606bd2d80 | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/5-cyano-_pyrimidine.R | c942fec3f1eb836ac7d410a1b9a399d058aee6bb | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 270 | r | 5-cyano-_pyrimidine.R | library("knitr")
library("rgl")
#knit("5-cyano-_pyrimidine.Rmd")
#markdownToHTML('5-cyano-_pyrimidine.md', '5-cyano-_pyrimidine.html', options=c("use_xhml"))
#system("pandoc -s 5-cyano-_pyrimidine.html -o 5-cyano-_pyrimidine.pdf")
knit2html('5-cyano-_pyrimidine.Rmd')
|
3290b3b1eb682cf67b9b4c6a982d8fd41decc7fd | ca0a9f8dfa1487adaf9ba2f8d21d0d06dddd79dc | /man/plot-methods.Rd | 1fcc32ac9616ce9f50d2188fc864025a5c895c3c | [] | 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 | 608 | rd | plot-methods.Rd | \name{plot-methods}
\docType{methods}
%\alias{plot-methods}
\alias{plot,ClassU-method}
\alias{plot,ClassV-method}
\alias{plot,ClassW-method}
\title{plot-ClassV ; plot-ClassW}
\description{
\code{plot} for two objects.
}
\section{Methods}{
\describe{
\item{x = "ClassV"}{just plot a point}
\ite... |
413b688c505d91c0fd99ae63088445ff386a69d3 | a937a3eec5f65fcfeab29b9f68ba21a0e6ae0f84 | /R/functions/functions-twitter-fix.R | 86643fb7b504bdcecbf47f6203b0ef0920efc9d6 | [] | no_license | tonyelhabr/twitterbot-ratio | 3e01d484bb0c280600785a59b2604a1a4067fbce | 5964cf4812b2c21aba9fa7939e61e390581e8b18 | refs/heads/master | 2020-04-05T19:26:54.343679 | 2018-11-24T19:41:19 | 2018-11-24T19:41:19 | 157,134,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,878 | r | functions-twitter-fix.R |
.rebind_ratio_log_scrape <-
function(x,
y,
...,
how = "left",
by = setdiff(.COLS_RATIO_BASE_ORDER, setdiff(names(x), names(y))),
verbose = FALSE) {
# Note: This verbose is essentially a replacement for the regular message
# output by `dplyr::*join()` whe... |
498ca7083ffcd17b91f0dc22e904b97826ff8dd2 | 599fbbb368dbfd0b781a855e8a08a86e833ed10f | /ui.R | d127ef86ec5675b315fff4f11fd57e333ec6cc03 | [] | no_license | joshi-v/DevDatProd | 0adeb41059762a469863812949fbefdad3b52a54 | 5556c82cc26c0d88c5a74b7a6c659409d44867b6 | refs/heads/master | 2021-01-20T07:18:03.664132 | 2017-05-05T20:44:25 | 2017-05-05T20:44:25 | 89,988,577 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 944 | r | ui.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
shinyUI(flui... |
029cf0de903fc0173d8a2cdf5822772ae2088c22 | d426aa790bdbeac9a62fc3ad5cbb58d3384bf593 | /R/pslScore.R | 8a5a09dd4100d9dc68a27257dd5c8a2bd0dd3615 | [] | no_license | drmjc/blat | 0977e4ae82ed2751c2f8922b6d79b6ed4607e792 | 84400169501b6f7e4e1e6ec9d88b27a53410f776 | refs/heads/master | 2020-05-31T05:03:53.663159 | 2013-08-29T00:17:06 | 2013-08-29T00:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,099 | r | pslScore.R | ## Code ported from BLAT source code to determine the pslScore for a psl alignment
##
## http://genome.ucsc.edu/FAQ/FAQblat#blat4
##
## Mark Cowley, 12 April 2006
##
#
# colnames and their indices of a psl result table:
#
# [,1] [,2] [,3] [,4] [,5] [,6] [,7]
# "match" "mis-match" "r... |
fe2453285295e03a8bee436374af85a7feae6a4f | b2a62cdfeb43bab828e1243ccb825ca46022b81c | /run_analysis.R | f5827b370203cf60838cca0a61e8ac2e6b8c14e9 | [] | no_license | millette17/Coursera-Getting-and-Cleaning-Data | 0e5b15d019ad01ab1e65356afd7f13ae2ef45333 | f47f2a3f4d11ab3d14b0ed1c5351bb39f3d5297d | refs/heads/master | 2021-01-09T06:34:16.870525 | 2017-02-05T20:56:44 | 2017-02-05T20:56:44 | 81,011,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,592 | r | run_analysis.R | # Coursera Getting and Cleaning Data - Course Project
# 1. Downloading and unzipping data:
# Download File
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl,destfile="./data/Dataset.zip")
#... |
8e0f46324064bbb043dbb5ae122d22d06ad48cb2 | b8e9dd065f9cd0290d3f6a488726c549b852fde1 | /code/fig_4_CA-balance.R | 1e277aeee30e0c817aa6ece46270a34928fa577f | [
"MIT"
] | permissive | graebnerc/disintegrating-europe | af97ee13d91e4db706a86daa5be322a9159e051c | cc46a46e8be2dc8401913e50266b4ecd05f299bd | refs/heads/master | 2020-05-29T09:30:34.121594 | 2019-11-11T21:59:38 | 2019-11-11T21:59:38 | 189,065,776 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,272 | r | fig_4_CA-balance.R | rm(list=ls())
library(countrycode)
library(data.table)
library(eurostat)
library(tidyverse)
library(grid)
library(gridExtra)
library(ggrepel)
library(ggpubr)
library(here)
library(reldist)
library(latex2exp)
if (!require("icaeDesign")){
devtools::install_github("graebnerc/icaeDesign")
}
source(here("code/setup_count... |
2b02129b7dc2cb240b742dcf62827d8dd4689125 | 06d9afe4e9666407ff607b142649d4c6e944d674 | /man/ez-package.Rd | 93e1f4ff304382752ab52039e1b89d25991e3ecf | [] | no_license | cran/ez | fe4ae993c2ed1042d6f84c64e368970c502a5bff | 1d7a35d30f31b1671e7f6548b15864ddfe61c5ef | refs/heads/master | 2021-07-10T23:03:03.489960 | 2016-11-02T18:17:31 | 2016-11-02T18:17:31 | 17,695,925 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,337 | rd | ez-package.Rd | \name{ez-package}
\alias{ez}
\docType{package}
\title{Easy analysis and visualization of factorial experiments}
\description{
This package facilitates easy analysis of factorial experiments, including purely within-Ss designs (a.k.a. \dQuote{repeated measures}), purely between-Ss designs, and mixed within-and-between-S... |
8baf8d773a9f223c5a6ef7442372e5541364360f | 1d6659cebb291872203692da20bcea946c31d0fb | /scripts/ui.R | 60294981b6246a829f3567dbb5d1b54262351f91 | [] | no_license | Talonee/Kickstarter | 704abeac9e3525872164936611c9353967832521 | 556662aef996bcd584d7a9dcb64957d20bc50a1b | refs/heads/master | 2020-06-14T22:33:47.671347 | 2019-12-27T07:03:34 | 2019-12-27T07:03:34 | 195,145,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,681 | r | ui.R | library(shiny)
library(plotly)
library(dplyr)
library(shinythemes)
# reading in the data and munging it as required
data <- read.csv("data/ks-data.csv", stringsAsFactors = F)
data$date <- sapply(strsplit(data$launched, " "), head, 1)
cleaned <- data %>%
mutate(date = as.Date(date, format = "%Y-%m-%d"))
cleaned$y... |
3951879bf2221ade8b19c8582e974ffb07a614ed | fb6d7b0c143c21402400b1c7d79926ab93ec7b46 | /presentation/regressionFunctions.R | 7bd36bd5f4bd00a55c40d2816ac036b550e8f330 | [] | no_license | jonasnick/regression | ecd659591312212565ebf1a2402bfeb06d756264 | cd782af2ba527eabc30a6badbe069c6b7c67dc5b | refs/heads/master | 2018-12-29T19:19:07.211923 | 2013-02-18T15:37:35 | 2013-02-18T15:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,145 | r | regressionFunctions.R | library(vcd)
library(lattice)
library(ggplot2)
g <- function(z) {
return(1/(1+exp(-z)))
}
log1 <- function(x) {
return(-log(x))
}
log2 <- function(x) {
return(-log(1 - x))
}
polynomial <- function(x) {
return(0.5 + x + 2*x^2)
}
J <- function(X, y, theta) {
#X <- matrix(c(c(1, 2, 3), c(1,2,3), c(1... |
d15a209c277da22710842b70b418505996acad63 | 5f33cd50aeadf12308856f26b59aad71c30b64f0 | /exploreData.R | 8ca07ab7de14271129dcd7d4d3f36616e6930143 | [] | no_license | petershahlevlnow/DS450_DetroitBlight | f5f96f00085cc3d0236c67236ec6a5d29f872a34 | d52f8f7b1c992637ba9119ab34f9deeb0d35d368 | refs/heads/master | 2021-08-23T14:06:47.993240 | 2017-12-05T02:56:01 | 2017-12-05T02:56:01 | 110,785,678 | 0 | 0 | null | 2017-11-15T23:04:12 | 2017-11-15T05:00:21 | R | UTF-8 | R | false | false | 3,819 | r | exploreData.R | # explore data
# 1. plot frequencies of incidents on a google map
source("mutationsData.R")
# get google map
library(ggplot2)
library(ggmap)
library(reshape2)
library(gridExtra)
# citation:
# D. Kahle and H. Wickham. ggmap: Spatial Visualization with ggplot2. The R Journal, 5(1), 144-161. URL
# http://journal.r-... |
6ffe0b7e2c39067e79497a56d9d0f2d800555e58 | c2ccb0dd4b55d054784f94d0ee65423e6e2be91e | /man/handle_error_response.Rd | 3220916eb58a73bc14f8e58bc0c4e6f7f4269f26 | [
"MIT"
] | permissive | skvrnami/uwebasr2 | 630e389cebc2e62bca0cc7f8687d2f4e2c1ea78d | fdfed5c89ba33b35016b917cfbf6bd39db259bcb | refs/heads/main | 2023-08-15T00:18:57.557604 | 2021-09-22T11:33:49 | 2021-09-22T11:33:49 | 403,677,917 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 379 | rd | handle_error_response.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funs.R
\name{handle_error_response}
\alias{handle_error_response}
\title{Handle response other than 200}
\usage{
handle_error_response(response)
}
\arguments{
\item{response}{Response from the server}
}
\value{
No return value, called for sid... |
e11de23ea0d37216c8e0812c7300529a9a7d0a13 | fd29d3a4c4edc0ebfe76013d61ca18e7cd7d3fde | /R/packagename.R | dc9fe9eba79a1ccd5ceae00395242ba95b6c1284 | [] | no_license | rui0027/lab03group5 | 48e977f20e9d1fb3d497c3cc34628c91f811ab12 | 6f534b669b52999b882128898854f2b5193702c2 | refs/heads/main | 2023-08-28T02:41:17.763887 | 2021-10-06T15:48:30 | 2021-10-06T15:48:30 | 405,479,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,145 | r | packagename.R | #'lab03:a package to implement Dijkstra algorithm and Euclidean algorithm.
#'
#'The package provides two function:dijkstra and euclidean
#'
#'@section The dijkstra function: This function uses dijkstra algorithms to find
#'the shortest distance between two nodes in a graph. Starting from the
#'init_node,the algorithm c... |
9210addfd0ca1fb9c139df1d09384325f7daf756 | fb7655e2bcfc5ee8c228eed0684e7516eee432f8 | /03_analysis/paper_figures/Science_Brief_Figure.R | 1f13fbced5e829068490c528202bc3d9f88b75c0 | [] | no_license | galsk223/tribalclimate | 738e7ea2e4c74b142d84f3e00f4eb7575e8f89dd | bced46be1953ae06b54a1b7a9bda48523b98fff8 | refs/heads/main | 2023-07-24T07:12:27.477008 | 2021-08-30T20:16:10 | 2021-08-30T20:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,275 | r | Science_Brief_Figure.R |
library(tidyverse)
library(cowplot)
# CI's for Present-Day ----------------------------------------------------
heat_cov <- read_csv("heat_var.csv")
whp_cov <- read_csv("whp_var.csv")
precip_cov <- read_csv("precip_var.csv")
og_cov <- read_csv("og_var.csv")
# Function for SE at T2
se_t2 <- function(cov_matrix) {
... |
97521707ab1c83d1fc2207bf15ce344cec88dbbb | 49d3de427798436e84e461d20040cc1a76d18876 | /EqSimWHM/man/eqsr_plot.Rd | ada3223a9000af515d80e922b6b67370e8fe65e4 | [] | no_license | ices-eg/wk_WKREBUILD | 34ce8d2d5a5d0d9165501523b71944b40a0189bc | 6884f5410b009766f5ddde5262d2d9b24fe01636 | refs/heads/master | 2021-06-19T09:19:58.455078 | 2021-04-14T12:56:07 | 2021-04-14T12:56:07 | 200,839,265 | 0 | 0 | null | 2021-03-03T07:36:31 | 2019-08-06T11:38:17 | R | UTF-8 | R | false | true | 1,322 | rd | eqsr_plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eqsr_plot.R
\name{eqsr_plot}
\alias{eqsr_plot}
\title{Plot Simulated Predictive Distribution of Recruitment}
\usage{
eqsr_plot(fit, n = 20000, x.mult = 1.1, y.mult = 1.4,
ggPlot = FALSE, Scale = 1)
}
\arguments{
\item{fit}{an fitted stock r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.