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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3277a208a70a815fc401ab911ff060fc22bcff1b | c88b0cbeda0edf9e745e324ef942a504e27d4f87 | /Yerkes/Drew version/make data.R | 6ce7cc64c5f4642ccbcfbdeb92f448fd260e5538 | [] | no_license | Diapadion/R | 5535b2373bcb5dd9a8bbc0b517f0f9fcda498f27 | 1485c43c0e565a947fdc058a1019a74bdd97f265 | refs/heads/master | 2023-05-12T04:21:15.761115 | 2023-04-27T16:26:35 | 2023-04-27T16:26:35 | 28,046,921 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,596 | r | make data.R | ### Don't run this!
### final_data.csv has had post script fixes made
setwd('C:/Users/s1229179/Dropbox/R/blood chemistry/Drew version/')
#setwd('C:/Users/Diapadion/Dropbox/R/blood chemistry/Drew version/')
options(stringsAsFactors = FALSE)
# merge 2 personality datasets together and generate avg item scores for i... |
4c5c51243e62d6579ea00ef85b3eb0a7a1d13758 | e3c9a5bec7c4a595506b5181848628187126aca0 | /man/ndex_update_network.Rd | 9361990be90d0a09ee30864040bcad02f03a2139 | [
"CC-BY-NC-4.0",
"BSD-3-Clause"
] | permissive | frankkramer-lab/ndexr | d1d26a9abeb4e688319d8fd78cc0f1b15c084bbc | 949bffcc7f89ca319925d1c752be26ca94abef33 | refs/heads/master | 2023-04-06T15:42:35.464578 | 2023-03-23T09:57:09 | 2023-03-23T09:57:09 | 68,606,558 | 8 | 2 | BSD-3-Clause | 2023-03-23T10:08:03 | 2016-09-19T13:04:57 | R | UTF-8 | R | false | true | 1,636 | rd | ndex_update_network.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ndex_networks_simple_operations.r
\name{ndex_update_network}
\alias{ndex_update_network}
\title{Update an Entire Network as CX}
\usage{
ndex_update_network(ndexcon, rcx, networkId)
}
\arguments{
\item{ndexcon}{object of class NDExConnection l... |
5468002612bbde3c2c5170b6bf43b21bbefd07b9 | 9777d178fb0545428077345b06bce98605a4bd1c | /EconAnalysis/R/HRQoL_cea.R | da8ecbb61673e6418c8658f48f604fe4d1ce0078 | [] | no_license | ejanderson1/EconAnalysis | c9ff12997a9044d1ae1f90e7c743fd1f7ed0f065 | 79cf171d0d752316c1427d79507c856b5a776dba | refs/heads/master | 2021-01-25T08:19:30.621315 | 2017-07-12T18:47:20 | 2017-07-12T18:47:20 | 93,753,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,311 | r | HRQoL_cea.R | #' @title Health Related Quality of Life Module (HRQoL)
#'
#' @description Calculates the total HRQoL accumulated from
#' person-time spent in each relevant health state,
#' with a final output of total quality-adjusted
#' life years (QALYs)
#'
#' @return This function returns an ... |
02ae4bc67f5cefaa38f7fac2c7ebef9d3f2c17af | 143881b207e34ff3531b04797b5624e772b89313 | /proyecto3.R | c20bc240845d06ea5bfb99025a7c5babf2535627 | [] | no_license | seherrera/Proyecto3 | d6f113327ab5761a320fb02e48e4a6060a67b744 | 0fbb2fd65cbd2dcbff25a3a510e28e398862e8a8 | refs/heads/main | 2023-06-11T02:21:41.857685 | 2021-06-25T17:20:34 | 2021-06-25T17:20:34 | 380,308,801 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 7,658 | r | proyecto3.R | # Análisis de deportes de resistencia
#librerias
```{r librerias}
library(tidyverse)
library(tidymodels)
library(pROC)
library(e1071)
library(dplyr)
library(cluster)
```
## Cargar datos
el data frame consta de 167615 datos con 17 variables los cuales seran almacenados en data.
```{r cargando datos}
getwd()
setw... |
e4a6e86a75a8ac0b46e5b37a0f808ac24cc7422a | 639eed947fe7315626bf13a1b9391229b9e9c22f | /figures01/carsPriceVsWeight/carsPriceVsWeight.R | 79cb0dac26444e8f6b45ff273fde93cc93a6f9a7 | [
"CC0-1.0"
] | permissive | Cstats-learner/statistics | 8bcdcbb92239f75a58cbe691b4e05484a422cda9 | dc75b9de0c331acee8d4ea8d6fce33c3b4ed897d | refs/heads/master | 2022-12-25T02:42:49.088456 | 2020-09-30T18:50:49 | 2020-09-30T18:50:49 | 300,021,890 | 0 | 0 | CC0-1.0 | 2020-09-30T18:50:50 | 2020-09-30T18:44:24 | HTML | UTF-8 | R | false | false | 530 | r | carsPriceVsWeight.R | library(openintro)
data(cars)
data(COL)
myPDF("carsPriceVsWeight.pdf", 5, 3.3, mar=c(3.6,3.6,1,1), mgp=c(2.5,0.7,0))
plot(cars$weight, cars$price, xlab='Weight (Pounds)', ylab='Price ($1000s)', pch=19, col=COL[1,2], ylim=c(0, max(cars$price)))
w <- seq(1000, 5000, 100)
# Rough Model
g1 <- lm(price ~ weight, cars, w... |
3d5d0797427b6907479e3aed8656ff6c16b89c95 | 22b6f9c00d3d00be67f8d960b807f3a51cb4a63a | /man/store_micro.Rd | 0e4437048b861002888e58db011b668e964211f5 | [
"MIT"
] | permissive | llrs/integration-helper | 244fa55cd7ae4e33cea54248b9536851bb3c415b | bd6b13bb125ea63e78fb57336adca9f9cbb88bfb | refs/heads/master | 2021-09-23T21:18:08.426431 | 2021-09-21T08:53:54 | 2021-09-21T08:53:54 | 141,977,937 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 360 | rd | store_micro.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/correlations.R
\name{store_micro}
\alias{store_micro}
\title{Store result by microorganism}
\usage{
store_micro(x, o2, label)
}
\arguments{
\item{x}{Name of microorganism}
\item{o2}{Filter samples}
\item{label}{Label for the files}
}
\descr... |
77e0ec2b09cc2aafafb8a9df23887040a3036568 | 0000272576e5af458ea4c7b5beb5ce9a5aeb8351 | /AutoDetectionExocytosis_JCB_current/Analysis_rfiles/fit_fusion_exp_line.R | 18b8ebd0aae79f51dfc18e85d53ff957dc138066 | [] | no_license | GuptonLab/Automated-Exocytosis-Detection | f0a2c2469863784fb404e3b8d1e1958c3e7f2479 | 97751721e2ea7ae1a8c14f72bbc5ae590dd70d4d | refs/heads/master | 2021-06-05T03:46:17.665003 | 2020-08-19T14:39:07 | 2020-08-19T14:39:07 | 115,131,614 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,256 | r | fit_fusion_exp_line.R |
#You have to individually change the file paths for this piece
#code. I had to fidget a bit with it and dropped the automation, and for time this is the non-automated.
#This is the final code and your output file name should be/contain the detected events.
file_path_name = "E:/Libraries/Documents/SCIENCE_GUPTO... |
46058d8cc9599a502020317c4b06b80984a772bb | 9e059240cb494f4b43868fac4f6c0416411139a1 | /man/Coordinate_Covnerter6.Rd | e5fd03aa6be17ad6a6de4a26b985292eb4597ec6 | [] | no_license | kingyang728/genomicCoordinateConverter | b161448b4d595069aa30d12f6ea1921c661ef583 | 66ac990688137b89c8431b3c91e37adfc572f5fb | refs/heads/master | 2022-10-24T05:09:52.679835 | 2020-06-16T08:56:52 | 2020-06-16T08:56:52 | 272,298,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 922 | rd | Coordinate_Covnerter6.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Coordinate_Converter.R
\name{Coordinate_Covnerter6}
\alias{Coordinate_Covnerter6}
\title{Coordinate Converter 6}
\usage{
Coordinate_Covnerter6(
chromosome,
genomic_start,
genomic_end,
genomeVersion,
targetGenomeVersion
)
}
\argument... |
55d457d033ab1332f49c0ad0d5fa10353fa728ee | f58a1c8b5043afb99cfcb386dbddc30fb43becf5 | /tests/doRUnit.R | d481b74b95480dd931e0a56c3e7a0d548bf44993 | [] | no_license | MassBank/RMassBank | b00fe69f7c0026c13b7fe337522ceaa469ee8340 | 3b61006a1a4bac9c94e780ad82834a1dae9ce417 | refs/heads/main | 2023-08-16T18:02:42.074467 | 2023-05-04T09:51:53 | 2023-05-04T09:51:53 | 9,348,686 | 12 | 15 | null | 2023-07-28T09:20:16 | 2013-04-10T15:01:01 | R | UTF-8 | R | false | false | 956 | r | doRUnit.R | #### doRUnit.R --- Run RUnit tests
####------------------------------------------------------------------------
### Structure borrowed from rcppgls:
### https://github.com/eddelbuettel/rcppgsl/blob/master/tests/doRUnit.R
if(require("RUnit", quietly = TRUE)) {
if(require("RMassBankData", quietly = TRUE) && !(c... |
8af53100368f66b60e100df7d9052328819c36fb | 6832cf147e551caf2ab219357549b1af2584c3fb | /TN_SoIB_list.R | 500c1aafac39f20be8e4f9007967482dbe048904 | [] | no_license | ashwinv2005/analyses-for-policy-eBird-SoIB | 0561a6ee5a7923d721f6bc9be76f667a1301c2bb | ca8bf423f000366e72b48fd54dbf86f0e6904024 | refs/heads/master | 2022-07-19T09:16:44.114826 | 2020-05-28T19:11:16 | 2020-05-28T19:11:16 | 261,872,950 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,343 | r | TN_SoIB_list.R | ##################################
load("data.RData")
load("maps.RData")
load("clips.RData")
require(tidyverse)
require(rgdal)
require(sp)
require(sf)
require(rgeos)
require(extrafont)
soib = read.csv("stateofindiasbirdsfull.csv")
map = read.csv("Map to Other Lists - map.csv")
map1 = map %>%
filter(!eBird.English.... |
4fdc2c3630e122b7d8dee27d4bb4f59f90780f14 | fb1be7d45fa43eea1c6c455fd2cb8bd25e49bccb | /man/PSU_strat.Rd | 2235eca30e3e1a0fdee0f293e65c69912169d7ab | [] | no_license | cran/R2BEAT | c0ada01d1b238fd6dd2cea3b678bc2e9b19b6690 | 2dce446a7971399e1a1eb131930bc9d1d54b3be3 | refs/heads/master | 2023-06-17T21:51:57.676157 | 2023-05-25T09:20:06 | 2023-05-25T09:20:06 | 236,877,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 850 | rd | PSU_strat.Rd | \name{PSU_strat}
\Rdversion{1.0}
\alias{PSU_strat}
\docType{data}
\title{
Information on Primary Stage Units (PSUs) stratification
}
\description{
Example data frame containing information on Primary Stage Units (PSUs) stratification.
}
\usage{
data(beat.example)
}
\format{
The PSU_strat data frame con... |
f0084efc80a1c9015adb4e3ffede926d9f625c5f | 82ebc73dc6869319a2bf47f57ac41fe306dc12f2 | /R/calcSig.R | 6a94f26ec6bcb71211426f82ae542d67b4843c44 | [] | no_license | Sage-Bionetworks/snm | d5418b0f989089e342f7505756c2c304101f80c9 | 1ef4124d2819577b4428ffd13a25c443f71cf916 | refs/heads/master | 2021-01-01T18:49:14.757942 | 2012-08-24T22:30:22 | 2012-08-24T22:30:22 | 5,533,556 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,038 | r | calcSig.R |
calcSig <-
function(Y=NULL, bio.var=NULL, adj.var=NULL, df.full=NULL, df.null=NULL) {
if(!is.matrix(Y)) {
stop("Y must be a matrix.")
}
if(is.null(adj.var)) {
adj.var = cbind(rep(1,ncol(Y)))
} else if(!is.matrix(adj.var)) {
stop("adj.var must be a matrix.")
}
if(is.null(bio.var)) {
stop("bio.var must... |
9bdd1e5feb00648936af5d516e16149a8527fa1c | 99db43ee4d48db933031e6765d17a25287c20e13 | /Point-raster specific extent.R | 05fed110579f7b4ff98d8537342be80f87c59503 | [] | no_license | FrankGuldstrand/point-into-raster | 035f38cd5e7118e9601b9c68dd46711a42c31eae | 35023c23fb1ccfecd9b01d6e0bb626fc76cab677 | refs/heads/master | 2021-11-03T13:14:41.749566 | 2019-04-26T08:55:10 | 2019-04-26T08:55:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,157 | r | Point-raster specific extent.R | pointtorasnter=function(df=df,shapeData=Lux_shapeData){
spg = na.omit(df)
# coerce to SpatialPixelsDataFrame
coordinates(spg) = ~ x + y
proj4string(spg) = CRS("+proj=longlat +ellps=WGS84")
#extend the SpatialPixelsDataFrame into the regular box
spg@bbox=shapeData@bbox
# Create an empty grid wh... |
38d2d79feb4c77cfb82a8a60e876857cf5993873 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/OCA/examples/Risk.Rd.R | b9f3da5e11b946d7ff47787b2dfc2de721223cb9 | [] | 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 | 824 | r | Risk.Rd.R | library(OCA)
### Name: Risk
### Title: Risk measures suchs as Value at Risk (VaR) and Expected
### Shortfall (ES) with normal and t-student distributions.
### Aliases: Risk
### Keywords: manip
### ** Examples
# Reproducing Table 2.1 in page 47 of
# McNeal A., Frey R. and Embrechts P (2005).
alpha <- c(.90, .95... |
62a3c13fd5b06bf7938fba1a6d372ba5e9c8eeeb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/paramlink/examples/transferMarkerdata.Rd.R | 952f66f80e5231ccc83d43e584370018020c9968 | [] | 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 | 388 | r | transferMarkerdata.Rd.R | library(paramlink)
### Name: transferMarkerdata
### Title: Transfer marker data
### Aliases: transferMarkerdata
### ** Examples
x = list(singleton(id=5), nuclearPed(noffs=2))
x = markerSim(x, N=5, alleles=1:5, verbose=FALSE, available=4:5)
y = nuclearPed(noffs=3)
y = transferMarkerdata(x, y)
stopifnot(all.equal(x[... |
ce9294990980c2b6aacf7a630efff37a59aa38ee | d99c8aec01078fddf9de2cb530ab76584f876812 | /R_Code/plot_top10.r | e8b66d0fb09deda42597d9cefaf9db8093fd4342 | [] | no_license | jdreed1954/MWA-Tools | d6ffc43dec3f6f75b02daccc5c821629ffcb05ef | e68299b2401190c60b738a1cd0feae0483bd0a2a | refs/heads/master | 2020-07-03T11:53:26.110317 | 2016-11-24T05:07:45 | 2016-11-24T05:07:45 | 74,175,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,432 | r | plot_top10.r | #
# <plot_top10.r> - R script to produce pdf plot file of the top ten in each of ten metrics.
#
# Example execution:
#
# > source('C:/Users/jxreed/Desktop/MyProjects/bin/load30.r')
# [1] "sea-hp03"
# [1] "sea-hp04"
# [1] "sea-hp11"
# [1] "sea... |
3bd31badfdf513dc03202becf10ffc500ef5d491 | 19b3810cc477ab0c049095d2cb55a7af3f321b64 | /R_visualisations.R | 2d52afaa83f8d7cc88662ab225de4a2f04c61543 | [] | no_license | avinash2692/R-visualizations | 4910a22c4995f3a2a6bdb3efae22f72f4a7e636a | 650f9afed346572ddda3a2884578b0e126d56f22 | refs/heads/master | 2021-01-18T14:05:18.052847 | 2015-06-10T19:57:40 | 2015-06-10T19:57:40 | 37,219,072 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,314 | r | R_visualisations.R | #STAT 430 : Homework 5 ----
#### Avinash B
pckgs = c("dplyr","treemap","streamgraph","ggplot2","babynames")
pkgs_loaded = lapply(pckgs, require, character.only=T)
data(Titanic)
d <- Titanic
d <- as.data.frame(d)
# Excercise 1 =====
# A) By Sex ####
by.sex<-as.data.frame(d %>%
group_by(Sex,Survived) %>%
summar... |
0ed6500aeb015a376aa3566b52aa90033b44a364 | 1dc04dd6b686e6540b7dc8bcd402c5a7624389c4 | /man/term_install.Rd | e9a2fff0186e94c55850662803f8c5a4284604d2 | [
"MIT"
] | permissive | jeksterslabds/jeksterslabRterm | f870e87393739676e96299224dd8cafe313d80b2 | 7703a4217be4968aae64d5718b16e1fb3c41e98a | refs/heads/master | 2022-11-15T13:05:29.892668 | 2020-07-08T19:13:25 | 2020-07-08T19:13:25 | 257,536,009 | 0 | 0 | NOASSERTION | 2020-04-22T12:40:22 | 2020-04-21T08:52:20 | R | UTF-8 | R | false | true | 794 | rd | term_install.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/term_install.R
\name{term_install}
\alias{term_install}
\title{Install Terminal Tools}
\usage{
term_install(packages, ...)
}
\arguments{
\item{packages}{Character vector.
Packages to install.}
\item{...}{Arguments to pass to \code{\link[=ter... |
30ba9c187c97424ee4a2d2ff95bf0f0125ba3dfd | 34cc9dcaba027079ae08e441f6b1ee0c46432a93 | /doc/intro-to-lau2boundaries4spain.R | 9099fc5e5f7cb33fbfd8456f667bc148edcb45d7 | [
"MIT"
] | permissive | rOpenSpain/LAU2boundaries4spain | d471d1356e5a43125b0ac93fdf14a105ef00a815 | e07fdc690186b63d1792485054d295c17a1679c7 | refs/heads/master | 2023-04-02T06:37:04.917731 | 2021-04-14T21:01:20 | 2021-04-14T21:01:20 | 125,485,567 | 3 | 1 | MIT | 2021-04-14T20:36:48 | 2018-03-16T08:19:50 | null | UTF-8 | R | false | false | 5,143 | r | intro-to-lau2boundaries4spain.R | ## ----setup, include = FALSE---------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- echo = FALSE, message = FALSE, warning =FALSE---------------------------
#- ok Granada se lleva la palma con 6 alteraciones municipales
library(LAU2boundaries4spain)
li... |
3f996b98dae39c459524e1cf6018710d57887fa1 | 7b2f383b7c97a7a2ec734cb824e4bb71525d3f94 | /Kaggle_SF_submit.R | 886e919493d4eee11db0d34c6f644ef65f84bc59 | [] | no_license | FaguiCurtain/Kaggle-SF | 61341d0a1c5ba4cff5aa301f569a11b04e44bff5 | 3add8b57a0ab124d96aca2a704849a6207aa6235 | refs/heads/master | 2021-01-21T14:40:50.965126 | 2016-06-11T15:48:39 | 2016-06-11T15:48:39 | 57,424,481 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 807 | r | Kaggle_SF_submit.R | submission <- read.table("/Users/francois-guillaume.rideau/Documents/Kaggle/samplesubmission.csv", header=TRUE, sep=",",na.strings = "NA",check.names=FALSE)
head(submission)
# RANN with traindata_NN=traindata[,c("X","Y","hourslice","DayOfWeek")]
submission[,2:40]=predRANN_test[,1:39]
write.csv(submission,"/Users/fr... |
00d6ab203aea3292354577fc95a3bc689616b1dc | 0e0fb77df671d38ab424ac14d9fc91b7fd0d1318 | /R/aprot.R | cb75fa2ae8f9907033eb85f49e89df9e28ea9e7a | [] | no_license | giraola/taxxo | 7d30f52474d6113e288dfa42297365c0e5ecd5ef | ba9a33a357b6267e11857659b28156f7540d92b1 | refs/heads/master | 2021-01-13T16:56:52.251231 | 2017-09-13T20:58:41 | 2017-09-13T20:58:41 | 77,538,782 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,365 | r | aprot.R | #' aprot
#'
#' Identifies and extracts a set of 37 archaeal universal proteins used as phylogenetic markers.
#' @param path is the full path to where genome annotations in fasta format are placed.
#' @param pattern a pattern (like '.faa') for recognizing the annotation files.
#' @param outdir a name for the output dire... |
9f06e57ad7a6916b2785dcc7f08b0124e24afc6b | 1f4a9b9632b4384cabe391ee547eb7bfd760148f | /Plot_Flux.Comp/Plot_Flux_Comp.R | fc4094de18c4c04aa83090cd17f09a4823d5fd7d | [] | no_license | LunaGeerts/Public-scripts-Luna | ed4b121111e4ea31f13c7b4a9864d3a11110ca84 | ff581f7fb2d1b4da49c9f6f2dce30c6edb1cf195 | refs/heads/master | 2023-01-10T19:51:35.957753 | 2020-07-15T09:03:45 | 2020-07-15T09:03:45 | 214,964,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,159 | r | Plot_Flux_Comp.R | #########################################################
#Personal use scripts to quickly plot results of a list of compared fluxes
#########################################################
##########################################################
#Needed liberaries
################################################... |
99269d3cde74f6b744d23fd0b56386b3e1f94180 | bace4a42aa4e1b4e11b620ada6aecc5ab19b1b34 | /R/analysis_of_posterior.R | fbaf7f5159c1843c253183f66cfdd3f596213f43 | [] | no_license | mtrachs/stepps_full_prediciton | 5eb529c362847c925e93f9f728dd49b3f5ca8bb4 | 16b80a0785d8b9e9b061ac4499e7c8a3ca59a6d9 | refs/heads/master | 2020-03-28T17:45:15.105031 | 2018-10-03T19:56:00 | 2018-10-03T19:56:00 | 148,819,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,184 | r | analysis_of_posterior.R | ########################################################################################################################
#
#########################################################################################################################
library(rstan)
library(RColorBrewer)
library(fields)
setwd('~/workflow_step... |
f0f62d94e8fdbe6c38d8b9d1d300eb3e9900ad02 | bfb4ca3eb464a7b79ef991a3ccfb832aca6cb7f2 | /R/logbook.R | d09b3442dcd47eada9d43f88b6cd8daa3af2dc46 | [] | no_license | fornasaros/hyperSpec | 82f8768201d166ebbd8f98f789a4641793e2c756 | f52ffdb180e6e9bd425dc776847f48ecf9426e50 | refs/heads/master | 2020-12-31T03:26:02.535398 | 2014-05-23T00:00:00 | 2014-05-23T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 787 | r | logbook.R | ##' Logging the processing ot a hyperSpec Object
##' Extracts the slot \code{@@log} of a \code{hyperSpec} object.
##'
##' A \code{data.frame} in slot \code{x@@log} keeps track of the changes done to
##' the \code{hyperSpec} object.
##'
##' If option \code{log} is \code{TRUE}, entries will be generated
##' automatical... |
4877ec740f0569b973f79f08fa6a0de0a6a1cdde | c7a9c08588eb4c11173bba92f3958cd12410dd66 | /man/poisson.glm.mix.Rd | 9a27cee45309ce6c38526b7094e455edd0e83597 | [] | no_license | cran/poisson.glm.mix | b3fc1706efdf46f8d647844bd60f4c2453189f8f | a24cc684d6707e1a6ccc87716a4bcf447f3644a5 | refs/heads/master | 2023-09-04T09:39:40.162672 | 2023-08-19T08:10:02 | 2023-08-19T09:30:46 | 17,698,628 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,647 | rd | poisson.glm.mix.Rd | \name{poisson.glm.mix}
\alias{poisson.glm.mix}
\alias{poisson.glm.mix-package}
\docType{package}
\title{Estimation of high dimensional Poisson GLMs via EM algorithm.}
\description{
This package can be used to cluster high dimensional count data under the presence of covariates. A mixture of Poisson Generalized Li... |
c1d1621c6baa9a10e05513252780e83c33f7bcdf | 866176711469f9dbdd375aff30116d8785af021e | /man/ped_build.Rd | 2c9d0975bf3d41379643dd406f56c3a1f627ab0d | [] | no_license | funkhou9/breedTools | 5aa9686e1cd87c61111eff17549a9847d12e4749 | db737bc2b612bda06a32f7e270328839ad377c73 | refs/heads/master | 2021-05-01T00:27:02.028991 | 2017-02-26T20:28:42 | 2017-02-26T20:28:42 | 49,148,734 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 538 | rd | ped_build.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ped_build.R
\name{ped_build}
\alias{ped_build}
\title{Constructs pedigree information for select individuals}
\usage{
ped_build(ids, ped, gmax = 1000)
}
\arguments{
\item{ids}{character vector containing individuals of interest}
\item{ped}{d... |
b8822d7f49f971b1549d5bef7a04c065ff75f997 | f366c79ee2557e887030dd0fd892f7692e25bf81 | /R/countPerm.R | 82d05c7a591d6fe2cf4d59cde2bd2775533938f5 | [] | no_license | SchroederFabian/CVOC | be365dd0492cfe03d8230f3e3033dc91cec598f8 | 662bdbcad7e180dfc503204fc92abe03207d5ebe | refs/heads/master | 2021-01-12T00:04:09.463130 | 2017-01-13T16:01:12 | 2017-01-13T16:01:12 | 78,667,263 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,614 | r | countPerm.R |
countPerm <- function(left, tp, fn, tn, fp, c0, c1, pi0) {
rnd <- 5
n1 <- tp + fn
n0 <- tn + fp
n <- n0 + n1
sum.fp <- gmp::as.bigz(0)
sum.fn <- gmp::as.bigz(0)
# number of permutations of false positives
# starting values
level.init <- fp
mnpsr <- ifelse(left, min( which( round((c(1:n)*c1... |
54257cb3350d8a00b600f6fc4c824b77d3ef0b01 | 6b4d4fc90123de9fe306de142843e0fbc8555418 | /run_analysis.R | f1c3928fdafd76b03d8960a9bd232d2d2e34252f | [] | no_license | bartaelterman/datasci_getting_and_cleaning_data | 1899dfa3d2f51508b857687b0eba4e1e9e3cc446 | b3222cdb95d1fb4e7343122225fac8e3013d3e87 | refs/heads/master | 2016-09-11T10:26:05.360133 | 2014-07-15T14:35:52 | 2014-07-15T14:35:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,322 | r | run_analysis.R | library(plyr)
# Read feature names
featurenames = read.table("features.txt", row.names=1, col.names=c("id", "feature"))
# Create logical vector for 'mean' and 'std' feature names
meansAndStds = sapply(featurenames$feature, function(x) {
l = strsplit(as.character(x), "-")
"mean()" %in% l[[1]] | "std()" %in% l[[1]]... |
141823149d255c4c8ea7cc00ff5b3a6f12e13ecd | c60643059742dc5407c7c706b53ee9351060ec04 | /R/ITN_make_plot_function.R | 7ff52c17a892ba2c1418522df116cd60514051cf | [] | no_license | MatthewSmith430/ITNr | 3cfa84c24d4be4b7db6697ad8f302c8371ed0c56 | ebd5b715210c6e036b30fc789aee0028d8430edc | refs/heads/master | 2023-04-08T18:38:57.906451 | 2023-03-31T16:01:12 | 2023-03-31T16:01:12 | 116,069,028 | 42 | 14 | null | 2021-07-09T18:42:43 | 2018-01-02T23:44:29 | R | UTF-8 | R | false | false | 2,328 | r | ITN_make_plot_function.R | #' @title Single Clean ITN Plot
#'
#' @description This function plots a single/clean ITN
#' @param gs International Trade Network - igraph object
#' @param LABEL Should labels be present - TRUE/FALSE
#' @param REGION Should nodes be coloured on the basis of region TRUE/FALSE
#' @export
#' @return Panel of ITN p... |
b3e72aaf31e2d4463b8d36125b5a956eb5c3afa5 | ec2b9803a923d928751c76bbf1c31227928bffc9 | /man/get.chain.Rd | 982f52983f89fab06a236bf919fa2dfb360ef33d | [] | no_license | cran/BRugs | a5106711a3f8d3fa0adb91465df235e0f27a1b18 | acafa2035e6ef39e566085026eeabf67cd1361cd | refs/heads/master | 2023-05-27T11:23:45.986896 | 2023-05-15T05:52:29 | 2023-05-15T05:52:29 | 17,677,954 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 334 | rd | get.chain.Rd | \name{getChain}
\alias{getChain}
\title{Current chain to be initialized}
\description{This function is intended for internal use only.}
\usage{
getChain()
}
\value{Number of the chain to be initialized next.}
\seealso{\code{\link{BRugs}}, \code{\link{help.WinBUGS}}}
\keyword{interface}
\keyword{internal}
\co... |
4aec1605643b8f6dea77854a15d959c734473ac9 | f94f0132bf3b4bcae8ddb0a24220c17e8438b889 | /src/training.R | 5259e2918230dd15ba3ca3db962dc4264d86e87c | [] | no_license | EricLiuCY/Stat_306_Project | 22c6efb7001abfbef0130bd8cb304b348aa8bd61 | eceb6f6d6ffc6e782f7c4cfa5f427bc445d4f857 | refs/heads/main | 2023-08-18T07:36:00.581508 | 2021-04-14T05:04:25 | 2021-04-14T05:04:25 | 351,658,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,657 | r | training.R | library(arrow)
library(dplyr)
library(leaps)
library(caret)
# __________________________ FUNCTIONS ______________________________
getMSE <- function(model, data) {
actual <- data$SalePrice
pred <- predict(model, newdata = data)
return (mean((actual - pred)^2))
}
bestModelVanilla <- function(data) {
model <- ... |
e6787c1aeb1b63f54e04e273fe8cea762d565634 | 90098066ddb7d5356b109769126d766b0afd56aa | /Earthquake_v4/ALL_FUNCTIONS/02_13_Plot_Mw_Raster.R | fcfc9862752f29697ae7cf26d5854f091968203b | [] | no_license | PeterHedley94/Earthquake_Analysis | a8a8136d557787775dea0ce832dda191da473bc0 | 4bcca87de0fbcaff70f0e58a0a25717aca0cca81 | refs/heads/master | 2020-03-20T00:30:24.628030 | 2018-06-12T09:27:40 | 2018-06-12T09:27:40 | 137,046,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,867 | r | 02_13_Plot_Mw_Raster.R |
plotMw_Raster2 <- function(Population_Data, Map,Dissipation_coeff,Distribution){
setwd(workingdir2)
Olddir <- getwd()
Newdir <- paste(getwd(),'/',Distribution,'/FL_DISS_RASTER/',Dissipation_coeff,sep = '')
dir.create(Newdir)
Newdir2 <- paste(getwd(),'/',Distribution,sep = '')
Mw_Raster_file <- paste... |
6a74dd63a78bd2ef983c482a5a634fe8a312b031 | f6bea793577a664d4af83c45ac12381a68927084 | /Injectivity MA(2).R | 5bd0a20c1db2437159ed3a95659a3121e1009920 | [] | no_license | NTomasetti/ABC-Project | d79608a10a631e7d429c4351c57a19a312837359 | 414562b71317c3c871cd1233984fd38c4c8d4123 | refs/heads/master | 2020-07-02T08:15:27.613115 | 2016-08-22T00:47:23 | 2016-08-22T00:47:23 | 66,228,164 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,214 | r | Injectivity MA(2).R | source("bindma2.R")
##Step One - Initialise theta grid##
T <- 15000
d_t <- 2
d_e <- 4
theta1 <- seq(-0.95, .95, .5)
theta2 <- seq(-0.95, .95, .5)
theta <- expand.grid(theta1, theta2)
##Step Two - Generate errors##
eps <- rnorm(T)
##Step Three - Calculate numerical partial derivatives##
h = 0.0000001
score <- arr... |
1ef1d509c014a5f1bb0386e782492c379ae5efd6 | 4b3987493fc49d6a55b948a7cca5c0e89d801020 | /06_API_Webscraping_Workshop_Sep18/exercises_1_API.R | 6444fc5522fbd5a5b484cad66531c63fc0f27971 | [] | no_license | rladies/meetup-presentations_brussels | 4f342c3caf6a080808eeab586d34acf3003a1a05 | 5778c852463e3a897ce81baed0829fd1d2dd1413 | refs/heads/master | 2021-09-27T01:28:31.184367 | 2018-11-05T10:44:10 | 2018-11-05T10:44:10 | 113,076,048 | 2 | 5 | null | 2018-03-19T09:03:11 | 2017-12-04T17:55:36 | HTML | UTF-8 | R | false | false | 2,534 | r | exercises_1_API.R | # API exercises
# --------
# number 1
# --------
library(httr)
# url
url_ex1 <- "http://api.open-notify.org/iss-now.json"
# GET request
response <- GET(url_ex1)
#show content as json data
content <- content(response, as = "text")
#prettier
jsonlite::prettify(content)
#parsing json to R
content_jsonlite <-... |
b400f56e5b2155399a9dc50571cb1203a76ac91e | bc8856849b443540778cd8a99a4424538bd0e87f | /plot4.R | 3f4a5fc4b2d075d73678566f5f49529b52df1403 | [] | no_license | yykhoo88/ExData_Plotting1 | 298dbf130aaa91a3b1ae4bfe35cf035eecca1245 | d23ec6e19da63fa637c6ed12fabf197d9269ae0f | refs/heads/master | 2020-03-12T09:07:46.049029 | 2018-04-22T10:00:19 | 2018-04-22T10:00:19 | 130,545,251 | 0 | 0 | null | 2018-04-22T07:30:27 | 2018-04-22T07:30:27 | null | UTF-8 | R | false | false | 1,540 | r | plot4.R | #cleanup, change local working directory
rm(list=ls())
getwd()
setwd("/Dropbox/Dropbox/Codes/Rstudio")
#file handling: downloading dataset and unzip if not yet!
filename <- "dataset.zip"
filenameUnzipped <- "household_power_consumption.txt"
if (!file.exists(filename)){
fileURL <- "https://d396qusza40orc.cloudfront.... |
66ae0ce1406988094d5e8d91a050a1a1a9e71b33 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/prioritylasso/tests/test-cvmpl.R | 28a62761c03d50d5540ad05ac8a07fbfc7a9e047 | [] | 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 | 3,802 | r | test-cvmpl.R | # gaussian
cvm_pl1 <- cvm_prioritylasso(X = matrix(rnorm(50*500),50,500), Y = rnorm(50), family = "gaussian", type.measure = "mse",
blocks.list = list(list(block1=1:75,block2=76:200, block3=201:500), list(1:75, 201:500, 76:200)),
block1.penalization = TRUE, lambda.type... |
7c600bbd1913fbf3e6dbf83f4eb64aef76f63011 | af8592801abaa039f133dc618359e813519eb6de | /functions/danielfun.R | 558a2a63df15480a05603acd2383a6e711343fce | [] | no_license | alex-cernat/MTME-MM | 100fd72b4a07cca7043a1c299fe0b19184ad6ff7 | 378039d60c9c8bef265bc21b7d37546c821d13fc | refs/heads/master | 2020-07-30T10:36:45.073627 | 2019-09-30T08:51:02 | 2019-09-30T08:51:02 | 210,194,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,976 | r | danielfun.R | create_table_varcomps <- function(df_tab) {
if("label" %in% names(df_tab)) df_tab <- df_tab[, names(df_tab) != "label"]
df_tab %>%
mutate_each(funs(round(., digits = 4)), -lhs, -op, -rhs) %>%
filter(op == "~~" & lhs == rhs & # Select variances
grepl("^[TASP]", lhs) & # Select la... |
67da2b87e09b20375a6360e99bb061626eeb0ee2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/photobiologyFilters/examples/clear_filters.Rd.R | c28c7e3e0fa03ed63feebebd3f1a29f997a97092 | [] | 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 | 449 | r | clear_filters.Rd.R | library(photobiologyFilters)
### Name: clear_filters
### Title: Spectral data for filters of different 'colors'
### Aliases: clear_filters colors neutral_filters uv_filters blue_filters
### blue_green_filters green_filters yellow_filters orange_filters
### red_nir_filters heat_filters
### Keywords: datasets
### ... |
b138c5c6c1fafe21b89bbcf8a07a6741a6f06c36 | e9435f9fa958237832141e9b64b72f3464ac71ef | /plot1.R | 6a728278934ba27e3f330a16c6b3dc604ebf3f2b | [] | no_license | pjpjean/ExData_Plotting1 | d841c85e0a90bf3ed83bd23dc5eb84e6e46d75fc | 74f2e8f384da63e7028c2aa6387569dfba27a7a5 | refs/heads/master | 2021-01-15T10:41:45.142832 | 2014-05-11T00:30:47 | 2014-05-11T00:30:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,366 | r | plot1.R | # ---------------------------------------------------------------------
# Reading household data only from dates 2007-02-01 and 2007-02-02.
# ---------------------------------------------------------------------
cat("Reading household data...\n")
# check if file exists
filename <- "household_power_consumption.txt"
sto... |
069c1f23d1bb659e151b254faac62abddeee7b07 | 2ee837abeb354e7cc882a35110198f1715db93c7 | /code/ChartMockups/percentChart.R | b358df55ed0548b922309b5600956269d06ec721 | [] | no_license | timothydobbins/drug-trends-deaths | 8f8b1d2edeb8895c8891855ed693664be92cd57f | b8b509cb4b3619e95926e4a225700289348ac121 | refs/heads/master | 2020-03-26T10:09:23.759840 | 2019-07-17T00:24:21 | 2019-07-17T00:24:21 | 144,783,593 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,507 | r | percentChart.R | library(readr)
library(janitor)
library(dplyr)
library(ggplot2)
library(plotly)
df <- read_csv("data/Transformed/Deaths_Pop_CI.csv")
sub <- filter(df, drug %in% c( "Exclusive illicit opioids",
"Exclusive pharmaceutical opioids",
"Heroin/Opium with pharma... |
0399af5d538d594760f0e888b6f3cde2493d6b35 | 12ef479f127f10ad72943976678e0e27622eef4c | /Demo_Simulation.R | bb71f6f011558e3a9b6643a349b3629e708daa7a | [] | no_license | bandyopd/Skewed-Matrix-variate-Graphical-Modeling | 71d28dfa1c078f805b3b9b3a3f29bc515217a3b6 | c18b832820437711a5242eb353456126dcb401d2 | refs/heads/master | 2020-03-19T10:37:16.400441 | 2018-06-19T14:50:58 | 2018-06-19T14:50:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,910 | r | Demo_Simulation.R | # use simulated data to demonstrate the codes
# set working directory the path to the directory of 'demo_files'
setwd('demo_files')
# load required library for data generation
library(plyr) # split 3D array to list of matrices
library(expm) # calculate square root of a matrix
# load all R function codes... |
961cad68c4a9ab8a27d176f5ccd01fea74ae02c2 | 9b29a93d4aa6679d2e9d2ecc65b324fcaa8d7328 | /MT_plots/Chapter 5 - Modification of Depth Functions/outlier_detection_BR_ET_EVT.R | 1d83ac5fc5ac2165c3e8e9f232663fea84c49a9c | [] | no_license | Gordon90s/R_codes_master_thesis | 850fded79d15404bc5c65456b0e1b78035576604 | e1ad7792c13f729babf7e45d13a169b7140bfe66 | refs/heads/master | 2021-01-01T16:02:14.626557 | 2017-08-08T15:19:03 | 2017-08-08T15:19:03 | 97,760,988 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,820 | r | outlier_detection_BR_ET_EVT.R | # MT_MAIN_outlier_detection
#=============================================================
# ------------- load MT_MAIN_most_extreme_depths_comparaison.R ---------------------
source("./MT_functions/MT_MAIN_depth_function_for_analysis.R")
print = T
BR.data <- readRDS("./MT_functions/Comparaison_data_simulations/BR_a... |
238612f6ba01b0c2b55f7d3b395d9292f05d660c | dd693c1387e8eb1afd5ffb13c7f8736f8b1fac22 | /code.R | 1b89852222950d5c22dbbbd897a353ee75818a8e | [] | no_license | jbajo09/covid19-severity | fade054b99087a71e65ca133bcd6d12134484859 | feb6b5d38327696bfc49c64238037c2ecbeec2dc | refs/heads/main | 2023-08-31T19:37:48.095188 | 2021-10-19T17:29:59 | 2021-10-19T17:29:59 | 364,891,870 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,590 | r | code.R | require('KnowSeq')
require(caret)
require(dplyr)
require(ROCR)
require(limma)
require(readxl)
require(GEOquery)
require(class)
set.seed(50)
# PREPROCESs.
# GSE156063
GSE156063 <- getGEO("GSE156063", destdir = 'GSE156063')
GSE156063_age <- round(as.numeric(GSE156063$GSE156063_series_matrix.txt.gz$`age:ch... |
558307b8502985d02da0de8711be39df0745585e | 2253c85e1c90b54df4b69ad40b6ce9b207c76415 | /R/utils.R | 8e67918a2337da33ef3b8fbe4a1aa417fde8df85 | [
"MIT"
] | permissive | djnavarro/hugodown | a204e1709df31ac1dae81f895bf3e89191f93e39 | 168a361518f5450e498d0fa9e34eea93f0aa677d | refs/heads/master | 2023-07-02T11:17:59.870024 | 2021-07-04T23:50:13 | 2021-07-04T23:50:13 | 270,511,218 | 0 | 0 | NOASSERTION | 2020-07-10T05:29:44 | 2020-06-08T03:15:26 | R | UTF-8 | R | false | false | 1,036 | r | utils.R | first_path <- function(paths) {
for (path in paths) {
if (file_exists(path)) {
return(path)
}
}
abort(c(
"Can't find any of the following candidate paths",
paths
))
}
# copies from withr
set_envvar <- function(envs, action = "replace") {
if (length(envs) == 0) return()
stopifnot(is_... |
ec05ec08f08fe016b5ea35f8e8a598e254e6ae43 | a7ea6a245d9bd4d8b80fbd1705b1d33f191697aa | /man/make.all.bedassle.plots.Rd | 7dc3bfcbe341b35ebe3a0ffa7175ab3eef79543d | [] | no_license | gbradburd/bedassle | 9cd49d60fc9ff28bcb02806e1f3336ba54f80423 | 42551fe501ac4cca9d7570dd7028a912672267d2 | refs/heads/master | 2022-06-03T11:45:12.335260 | 2022-05-17T15:44:54 | 2022-05-17T15:44:54 | 195,564,476 | 4 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,477 | rd | make.all.bedassle.plots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.output.R
\name{make.all.bedassle.plots}
\alias{make.all.bedassle.plots}
\title{Make output plots}
\usage{
make.all.bedassle.plots(
results.files,
data.block.file,
prefix,
chain.cols = NULL
)
}
\arguments{
\item{results.files}{A \... |
ca01ecee14e0a03674bf456b7ab8f79acb5f5781 | dba28fe9f7195183874b2a14d546709a272031bb | /R/ped_subgroups.R | b6ccd4eb9f0c1a23eceb3497902c42bd55e1e0b8 | [] | no_license | cran/pedtools | f7cee3bd85e75eafa30d8a4ff093747219160187 | c943d35b91832c11c181a8e2840e126fe4abf269 | refs/heads/master | 2023-09-01T08:51:40.932153 | 2023-08-24T12:30:02 | 2023-08-24T13:32:08 | 236,637,879 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,226 | r | ped_subgroups.R | #' Pedigree subgroups
#'
#' A collection of utility functions for identifying pedigree members with
#' certain properties.
#'
#' @param x A [ped()] object or a list of such.
#' @param id,ids A character (or coercible to such) with one or several ID
#' labels.
#' @param inclusive A logical indicating whether a... |
693c4780ef7b4324ea6dac6fd7626527f884e1c7 | 6d17f3cead3800a97a190d764322a5c5383b5b62 | /ejercicio1.R | 4c786bff83f1c2b910023d0b100a6ce4b12be305 | [] | no_license | axelmora/ejercicios-svm | e472f34a04b91a9c6a37a7100de6608196c8ef36 | 289eb1ac87a040bd6dc13ebf949b9b1b1fef99b9 | refs/heads/master | 2021-01-20T07:03:21.447132 | 2017-05-01T19:07:45 | 2017-05-01T19:07:45 | 89,951,582 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,099 | r | ejercicio1.R | install.packages("e1071")
library(e1071)
#Creacion de 10 datos, clasificados como a y b
data <- seq(1,11)
classes <- c('b','b','b','b','a','a','a','a','b','b','c')
#definicion del modelo svm con los datos creado, kernel del tipo lineal y clasificacion C
mysvm <- svm (data, classes, type='C', kernel='linear')
#predic... |
b8d281682f566635c3357b67334e954fcffded63 | bfed60614ab34dbf78d3c26b3006151377c42881 | /NF-downstream_analysis/bin/not_used/monocle3.R | d150367ec2963d38e45b23af41ad10c80eb6db86 | [] | no_license | alexthiery/10x_neural_plate_border | 862976d73ced5a3532e937414ef276493dc94247 | 2ad231c54882b7eecdec264969f1588a858a014a | refs/heads/master | 2023-08-10T12:34:30.329161 | 2023-08-07T13:25:36 | 2023-08-07T13:25:36 | 292,818,769 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,276 | r | monocle3.R | library(Seurat)
library(scHelper)
library(monocle3)
library(igraph)
seurat_data <- readRDS('./output/NF-downstream_analysis_stacas/filtered_seurat/seurat/state_classification/rds_files/contamination_cell_state_classification.RDS')
gene_annotation = seurat_data@assays$RNA@meta.features
gene_annotation$gene_short_na... |
f8fc2f488ce63d68edf2b6cf34e2c31b740b666d | 3d9984199a5760d9f7b935c6805a625c5f086c3f | /R/RcppExports.R | 9d5c6e7c6b9a44dea88fd4ff72e4661bf610bebb | [] | no_license | TomMayo/M3Ddevel | c8e374c6fe70f77da27472e278e2531407cc899a | 28c6f5d1d7e2939a652948d80d7dc6c134a7c62e | refs/heads/master | 2021-01-18T21:36:18.847724 | 2016-06-12T15:44:59 | 2016-06-12T15:44:59 | 48,060,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 724 | r | RcppExports.R | # This file was generated by Rcpp::compileAttributes
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' Finds the median
#'
#' Returns the median of a list of values with corresponding frequencies. This
#' is not intended to be called directly by the user.
#'
#' @param values A vector of the unique values tha... |
bbe731a570666ce3096bfbb573b8bf58b468a9d8 | ebe0a4b323f2e17dca808583da2363e4d6efbd7e | /R/fitCircle2D.R | 4a7cd07add82a7bea9126fba5448bab9716358d1 | [] | no_license | aaronolsen/linkR | 7aeeb924b209cdf8d3e58f488d7d04af505d899a | 6a9a40888fda73171372aee85f9b410068f0169e | refs/heads/master | 2021-01-10T22:50:07.336303 | 2019-06-13T14:45:28 | 2019-06-13T14:45:28 | 70,348,665 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 861 | r | fitCircle2D.R | fitCircle2D <- function(mat){
# MATH SOURCE: www.dtcenter.org/met/users/docs/write_ups/circle_fit.pdf
# NUMBER OF POINTS
N <- nrow(mat)
# POINT MEAN
xb <- mean(mat[, 1])
yb <- mean(mat[, 2])
# CIRCLE CENTER IN TRANSFORMED COORDINATE SYSTEM
u <- mat[, 1] - xb
v <- mat[, 2] - yb
Suu <- sum(u^2)
Suuu <- su... |
e2257d95df7ed110a17114c75d3f25f803614a30 | e9c88d14708d65f1793d8203b813d3cdab348942 | /evalforecast/R/apply_corrections.R | 054052bac6228460685838586e7d1e484b376baf | [
"MIT"
] | permissive | brookslogan/covid-19-iif-blog-post-code | 1127d91468e407556a28b99c9f8422d705b8ffc4 | 643c4e2ffed1b7723b70cf19e62aabb852f31832 | refs/heads/main | 2023-04-09T10:31:03.842876 | 2021-04-02T20:52:46 | 2021-04-02T20:52:46 | 309,191,333 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,869 | r | apply_corrections.R | #' Apply corrections, if available, to upstream data frame
#'
#' Corrections data are collection of replacement records for the
#' original data. This means that the variables appear exactly in the
#' same order as in the original record and only the `value` of a
#' variable is potentially different. The replacement pr... |
6fa06aa1a7f24c29ad7d510a32be2d82efd323d9 | d55c03b0f4a1a8a7c757ee653198d28b62f43f41 | /specificCR.R | 8b780ac93e6825e0c268fbd1ab8b0f523703b653 | [] | no_license | fataltes/herRingShiny | 58c4aa251ea9d57546622ef9c6d657b288d2ef66 | 049fa42b3a81d2224a5b7049960d7d29e912bc18 | refs/heads/master | 2021-07-24T01:03:41.327790 | 2017-10-09T05:35:29 | 2017-10-09T05:35:29 | 96,694,420 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,293 | r | specificCR.R |
selectBuilder <- function(input, output, session) {
crType <- reactive({
# If no file is selected, don't do anything
validate(need(input$crType, message = FALSE))
input$crType
})
getSelects <- reactive({
ns <- session$ns
if (crType() == 'CC') {
renderedPanel <- selectInput(ns("Propc"... |
79edbbf22e7eb6d4fb46ee504f0b2ca45c8950e1 | 9980ef61e7d5e8c6e6acee034230ba807b2e83e0 | /R/imd_postcode_lookup.R | 8ec4389d922c770aef3cc65504c0d19e584f1f73 | [] | no_license | northernjamie/imdr | ee6295bc3ad947baa5bb9618c64e084387054071 | 67908c73f780b7a938848c218ffb771585f4fcef | refs/heads/master | 2021-05-06T11:12:13.668272 | 2018-02-18T13:12:53 | 2018-02-18T13:12:53 | 114,245,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,573 | r | imd_postcode_lookup.R | #' Lookup IMD Using Postcode
#'
#' Function for looking up a column of postcodes and returning information about the
#' indices of deprivation about that area.
#'
#' Uses the SPARQL endpoint at Open Data Communities - The Ministry of Housing, Communities and Local Government in the UK.
#' Coverage - England only.
#' @t... |
9a41f22750ee0491250cc2d68b2d7cf48684e2c2 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Countr/inst/examples/example-data-fertility.R | 2df42ca85777d3b8a9a3047354ea5947d7086edf | [] | 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 | false | 1,440 | r | example-data-fertility.R | ## make sure the countr pkg is loaded first, then load the fertility data
data(fertility)
## specify the model as in McShane(2008)
form <- children ~ german + years_school + voc_train + university + religion +
year_birth + rural + age_marriage
## fit the weibull model
wei <- renewalCount(formula = form, data = f... |
4a2830483ac4fa359d41e12faddd2fda3de5afbd | f249db6d617a9e49bd0f6c651c381856810a232a | /tests/testthat/test-utils-ui.R | e14098a3aad6a5cba755e0aed3c8b14ce68b34b1 | [] | no_license | cran/googlesheets4 | 043cd153df6d4c0e2644ab063a20fcd67ede336c | 6c30c0777e26beb747a1a54559931587aa21d1e4 | refs/heads/master | 2023-06-23T09:54:39.732668 | 2023-06-11T03:00:02 | 2023-06-11T03:00:02 | 236,607,618 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 693 | r | test-utils-ui.R | test_that("gs4_quiet() falls back to NA if googlesheets4_quiet is unset", {
withr::with_options(
list(googlesheets4_quiet = NULL),
expect_true(is.na(gs4_quiet()))
)
})
test_that("gs4_abort() throws classed condition", {
expect_error(gs4_abort("oops"), class = "googlesheets4_error")
expect_gs4_error(gs4... |
69156e134274d353c0f322bd20280afafeb927a6 | 41038c49343ee37cb91348fc007fc88457a1ab9d | /3.4.2 Removing Colinear Variables.R | 495c1b69aa475abaeb31539304db0947b8007989 | [] | no_license | ahmeduncc/Data-Statistics-and-Data-Mining | 460577cd52690bf7c9bab99d0794d864ab745126 | bbca512c856489654a411f0173ec7b59956c882d | refs/heads/master | 2021-06-13T15:08:08.448070 | 2017-04-04T17:38:25 | 2017-04-04T17:38:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,759 | r | 3.4.2 Removing Colinear Variables.R | # See https://beckmw.wordpress.com/2013/02/05/collinearity-and-stepwise-vif-selection/
# http://blog.minitab.com/blog/understanding-statistics/handling-multicollinearity-in-regression-analysis
require(MASS)
require(clusterGeneration)
#create fifteen 'explanatory' variables with 200
# observations each
set... |
01945fcec6cc27b6b0848b372686e573e14b15e6 | e2cf03cc7bf8f207d389b3a0a4149de0ba3c7c33 | /covid_chiba_deaths_v2.R | 531c72567f36b051cd2fb7e744f8a6af03d5e186 | [] | no_license | fusion0202/RScript | 1abb4c2d73ba3db35cb734697c273a66ff593f3f | 842775a6b0e589aa924ed8f6ddf32b08a25c7008 | refs/heads/master | 2021-12-10T09:10:15.888686 | 2021-11-26T09:23:40 | 2021-11-26T09:23:40 | 1,852,999 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,239 | r | covid_chiba_deaths_v2.R | library(ggplot2)
library(ggthemes)
library(scales)
library(openxlsx)
library(tidyverse)
mdf <- data.frame(date = seq(as.Date("2020-02-01"), by = "day", length.out = 365 * 2))
#
# Deaths
#
URL1 <- "https://raw.githubusercontent.com/fusion0202/RScript/master/covid_chiba_deaths.csv"
d <- read.csv(URL1)
df <- data.fr... |
483b6839ee767f32fa913621da76b3ec81f8a5fa | f40094eefe2f20d87522264f16b727a208fdfa4e | /Biol300Demo.R | 070e5aa16a753ac573ddf26b6c28af0c9ebe0fc0 | [] | no_license | rylanmcc/rootdata | 5ef503b5ccd47b68452b2e95c1b43b7015222467 | d1d94d679d1e2191c2638fcb14f4227fd65455bb | refs/heads/master | 2022-11-06T05:10:44.717320 | 2020-06-25T15:54:58 | 2020-06-25T15:54:58 | 259,134,194 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | Biol300Demo.R | ### Root Study R-Script - Angert Lab
### Directed Studies by Rylan McCallum
### Simplified for Biol 300 2-way ANOVA
### load in packages
library(tidyverse)
library(ggplot2)
### load in csv with raw data
dat <- read.csv("RootData_Biol300.csv")
### Histogram displaying raw data
hist(dat$total_root_length)
#### Explo... |
9e2b319b7a76e405a311c2b699a03168bc612395 | 9219ee8b398e5c891a99d87ecbf8e86dccdd4d26 | /qplot.r | f07c4d964ee9b3e4f8b58ac5af4d4091d7e965a1 | [] | no_license | stuti24m/R-Basics | 7752ac1aa0b4ab7a094739a79519ad593906db8b | 8e39090a162cf64538a5d1e7caba62a7e6b79cc9 | refs/heads/master | 2022-11-22T19:42:23.166736 | 2020-07-13T15:39:29 | 2020-07-13T15:39:29 | 278,013,680 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 139 | r | qplot.r |
library(ggplot2)
?diamonds
# quick plot
qplot(data = diamonds, carat, price, colour=clarity,
facets =.~clarity)
|
e5b3e91d93d64ecac271edae4e22e903ca69d9fb | b25934d0200b909e9be4e0759ab6f1f88d659087 | /Discrepancy/R/discrepancy.R | 640db2e9918893fda14757b81192877280589a0e | [] | no_license | shahar-siegman/old_projects | 8a94d67f2fd6f6f861fc903ac246b4d468395998 | 411756f7ae03e798a8376a41ce1ec57b9eda520f | refs/heads/master | 2021-10-19T04:59:14.538249 | 2015-12-22T15:18:26 | 2015-12-22T15:18:26 | 171,240,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,057 | r | discrepancy.R | library("RMySQL")
# get the placement data
plcmnt_chain_date <- read.csv("data_300_placements.txt")
plcmnt_chain_date$Date <- as.Date(plcmnt_chain_date$Date)
# get the website per placement
plcmnt_id_vec=unique(plcmnt_chain_date$placementId)
con <- dbConnect(MySQL(), user="komoona", password="nvlvnjfwe",
... |
b330169c2622f9ce0391641e044bf02f97f2f8ee | 728cd257953b215978c76b696ee9de95058ee040 | /npdi.gas.R | 362eaa1746005b5eab1f1b5f9088babc787da821 | [] | no_license | AVKorytin/Tax-Revenue-Prediction | 2e01176f2a3ca4f8f3ea862b7e6822eed665f7fe | 3a5b6c33b0fa9256a44b1b72e3f9a784e4c9069d | refs/heads/master | 2016-09-14T04:05:47.613469 | 2016-05-10T15:36:11 | 2016-05-10T15:36:11 | 58,470,742 | 0 | 0 | null | null | null | null | WINDOWS-1251 | R | false | false | 1,955 | r | npdi.gas.R | # Settings
#path = "C:/Users/Administrator/Dropbox/IPython/TaxesForecast/! НДПИ/"
path = "./"
setwd(path)
library(forecast)
library(tseries)
twoyaxisplot <- function(x1, x2, title=NULL, ylab=NULL){
par(mar=c(5,4,4,5)+.1)
plot(x1, col="blue3", xlab="", ylab=ylab); grid()
par(new=TRUE)
plot(x2, xlab="", ylab=""... |
fb00273ee83d8fb9b5fc547ed6d1c8759e07fc5e | a59b4bd2769af0a269be375c9e0e4b5ce716a915 | /MatchupScript.R | 36da23ce11f7c2aa8d52fa2a62e7bcaa12c62fd5 | [] | no_license | Henryjean/Matchups | 995a4e8a3dae4c5f1f29a2bfa51712f4e91461de | 185ab1281b920bfb2dd4adb1ee75b1e9bfef733f | refs/heads/master | 2020-06-07T07:46:50.981999 | 2019-06-20T18:17:41 | 2019-06-20T18:17:41 | 192,964,849 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,484 | r | MatchupScript.R | #Load packages
library(tidyverse)
library(nbastatR)
library(jsonlite)
library(data.table)
library(extrafont)
#set theme
theme_owen <- function () {
theme_minimal(base_size=10, base_family="Gill Sans MT") %+replace%
theme(
panel.grid.minor = element_blank(),
plot.background = element_rect(fill = 'fl... |
58c05f1e6f7fd9ca82079a33f75302885facc5cc | cc29b6c355435e6a63cd30bd1b3901d73381dc96 | /man/clean.Rd | 61d902020d5c050c2289cd575c6844c18a02828f | [] | no_license | jimsforks/subtools | ebd718edbf8374b9175c67e9bf3dcec0ea78cae7 | dd4a4254b3e300b78ac2bebd281e177ca04b6060 | refs/heads/master | 2022-03-18T09:14:10.753045 | 2019-11-29T15:00:57 | 2019-11-29T15:00:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,029 | rd | clean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clean_subtitles.R
\name{clean_tags}
\alias{clean_tags}
\alias{clean_captions}
\alias{clean_patterns}
\title{Clean subtitles}
\usage{
clean_tags(x, format = "srt", clean.empty = TRUE)
clean_captions(x, clean.empty = TRUE)
clean_patterns(x, p... |
e41b388f41a0e5ad9a8181fdc465ff2179d5d67c | 8d8d1d24986dce6b8a56ed8bcb71ada4b4eeb2bd | /man/surfersc.Rd | 35be66271c3fc7502adf250f7b459deaf34f9d50 | [
"MIT"
] | permissive | schochastics/networkdata | edaed94b788dcd925f55ae07f8a2d8b58d45ae8e | 535987d074d35206b6804e9c90dbfa4b50768632 | refs/heads/master | 2023-01-07T07:20:41.475574 | 2023-01-05T18:54:17 | 2023-01-05T18:54:17 | 226,346,857 | 142 | 17 | null | null | null | null | UTF-8 | R | false | true | 1,573 | rd | surfersc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-freeman.R
\docType{data}
\name{surfersc}
\alias{surfersc}
\title{Windsurfers (Closeness)}
\format{
igraph object
}
\source{
http://moreno.ss.uci.edu/data.html#beach
}
\usage{
surfersc
}
\description{
This was a study of windsurfers on a ... |
70b2c2ada428f2f450083d85b607c645269e6454 | 205a269537cc4bfbc526da048db8d185e1e678c9 | /man/girafe_css.Rd | 4fba36e38179e01fcd35e232c9bc5edf0b36ec40 | [] | no_license | davidgohel/ggiraph | bca2fc5c61ef7cbeecc0a0d067f7479822117ab0 | b3ce2998b57d8c8b63055499925fd9fe99f4d1a7 | refs/heads/master | 2023-09-03T00:06:10.817100 | 2023-08-30T14:35:40 | 2023-08-30T14:35:40 | 40,061,589 | 735 | 86 | null | 2023-09-03T09:50:54 | 2015-08-01T22:17:06 | R | UTF-8 | R | false | true | 1,093 | rd | girafe_css.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_css.R
\name{girafe_css}
\alias{girafe_css}
\title{CSS creation helper}
\usage{
girafe_css(
css,
text = NULL,
point = NULL,
line = NULL,
area = NULL,
image = NULL
)
}
\arguments{
\item{css}{The generic css style}
\item{text}... |
dac1c10cc347f9e51638b412b65555bd89a85066 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/splusTimeDate/examples/holnrwkd.Rd.R | 2a9befdaf4fe6a8f6241bc48a6c948f820782630 | [] | 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 | 232 | r | holnrwkd.Rd.R | library(splusTimeDate)
### Name: holiday.nearest.weekday
### Title: Holiday Generating Functions
### Aliases: holiday.nearest.weekday
### Keywords: chron
### ** Examples
holiday.nearest.weekday(holiday.Christmas(1994:2005))
|
15287699f5f2e06681675ceb2e7950138f3d05ff | 0c071eb08b13a0e1d44b5eb76fa413f5758a5443 | /01_Scripts/01_data_wrangling_functions.R | 2d8d9036039cc7534672f8dff195fda66c016fb8 | [] | no_license | chrisselig/ClusteringStates | 8847f3f80c700bf7dfca04317e0c88b57eb46606 | d73848aa4a16484ce74386408565e654d1d32a68 | refs/heads/master | 2020-06-12T20:38:17.306777 | 2019-06-29T15:12:34 | 2019-06-29T15:12:34 | 194,418,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,368 | r | 01_data_wrangling_functions.R | # Script is used to create functions for data wrangling ----
# Create the arrests_tbl ----
arrests_tbl_function <- function(data = arrests_raw_tbl){
arrests_tbl <- arrests_raw_tbl %>%
select(state,Murder:Assault,Rape,UrbanPop) %>%
rename(
murder = Murder,
assault = Assault... |
ecb2029042f896a861533d6aed85ba8e2b550a80 | d3d0c8fc2af05f1ba3ed6d29b9abaaad80b0ca33 | /R/pi.object.R | 9b1def20b9dd1151b7dc510d60ec9a8ccaa399b6 | [] | no_license | natehawk2/NateUtils | 2e5e16cb244f52e8ebf53b9ee751bb33550cc20d | 5e4991c35e5ee5d9479b23763183a2aafc026b8b | refs/heads/main | 2023-01-13T10:06:18.617234 | 2020-11-13T16:23:43 | 2020-11-13T16:23:43 | 309,730,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 987 | r | pi.object.R | #' pi.object
#' @param df Dataframe
#' @return Object suitable for IBM Personality Insights pull
#' @import utils
#' @export
pi.object <- function(df){
content <- "content"
qj <- "\""
space <- " "
comma <- ","
sqj <- "\'"
capture.output(as.character(
cat("{"),
#cat("\n"),
cat(qj,"contentItems",... |
f4617ede81de3cae930d3cf77774f46855077e02 | 5ab2f745bef6ed1c6bb7f8bd08a94296cb611833 | /man/DiffExp.Rd | 91f507599bccbd24493168292c4e4a7a0475fd79 | [
"MIT"
] | permissive | XQBai/CCNMF | f447426c6269921d110c7bd247a170ff4a9e5d88 | ac503d7dac205d4a275a4b809ddc22fb2aef258b | refs/heads/master | 2023-05-26T01:19:26.462686 | 2023-05-24T19:17:44 | 2023-05-24T19:17:44 | 237,326,870 | 10 | 2 | null | null | null | null | UTF-8 | R | false | true | 716 | rd | DiffExp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analysis.R
\name{DiffExp}
\alias{DiffExp}
\title{Differential expression for different clusters in scRNA-seq data
Selct the differential gene among clusters by t test}
\usage{
DiffExp(Data, label)
}
\arguments{
\item{Data}{the scRNA-seq matri... |
52b78263621409c44e817f2425119c4375fa0002 | f5e66f86b5e89c21a54cd8a095de5752018a549e | /R/Kendall_Lag.R | bb939a96f85e03c14b2d3110361210d476ca2ee9 | [] | no_license | rjaneUCF/MultiHazard | 5279e4efc869e8745818fe62b37ce1d35534114c | 334b0e1aa6bd5f4dbd68876221fad3c499e691a2 | refs/heads/master | 2023-07-29T15:04:55.523801 | 2023-07-11T20:46:42 | 2023-07-11T20:46:42 | 239,541,679 | 11 | 4 | null | null | null | null | UTF-8 | R | false | false | 5,949 | r | Kendall_Lag.R | #' Kendall's tau correlation coefficient between pairs of variables over a range of lags
#'
#' Kendall's tau correlation coefficient between pairs of up to three variables over a range of lags
#'
#' @param Data A data frame with 3 columns, containing concurrent observations of three time series.
#' @param Lags Int... |
cb09fc2c1a119b84814d910137198119fd1c4924 | c4773c9870ce6f02b90cf6c814fa81ad5a7a200c | /R/physical.R | b5324b124b3b8557371aecaae04798d73e709e13 | [] | no_license | RL31/30DayChartChallenge | f3664cd73d45b0f177bfa4cda57fb903bdfa4a10 | d6d7aa017a1e303ef69e6188e5c190f317c0102b | refs/heads/main | 2023-04-06T03:26:46.322866 | 2021-04-19T13:26:03 | 2021-04-19T13:26:03 | 354,943,510 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,122 | r | physical.R | install.packages(c("httr","jsonlite","directlabels"))
library(jsonlite)
library(httr)
library(directlabels)
library(tidyverse)
library(extrafont)
library(viridis)
loadfonts(device="pdf")
parametres<-tribble(
~nom,~lat1,~long1,~lat2,~long2,
"Séponet",44.846361 , 4.173152,44.846376 , 4.179418,
"Sépoux",44.838313, ... |
756740a4fbc0bbf9a052639bc93de6fd98e9a569 | 9744a36f5ea7115ec422468bd065d2a09ec8099d | /tests/testthat.R | ae6eb7e9c15e69d28b8061050aefede0285331d9 | [] | no_license | JWiley/multilevelTools | 75554ad502e09bf686180c875f6b82c44cb3fecd | 40e5d3b9859ba1053189ea63628233cdcb41dd88 | refs/heads/main | 2023-03-01T06:15:16.620585 | 2023-02-14T23:10:31 | 2023-02-14T23:10:31 | 227,281,974 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 99 | r | testthat.R | library(testthat)
library(multilevelTools)
library(JWileymisc)
test_check("multilevelTools")
|
aef9831ec80c73fb5934a1b1a221691337f5af9f | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.customer.engagement/man/connect_create_contact_flow_module.Rd | 5a9c351b353d434fc23825488325fee33e08d931 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,534 | rd | connect_create_contact_flow_module.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/connect_operations.R
\name{connect_create_contact_flow_module}
\alias{connect_create_contact_flow_module}
\title{Creates a flow module for the specified Amazon Connect instance}
\usage{
connect_create_contact_flow_module(
InstanceId,
Name... |
c7ac4ca3a959fc9aebdc901b67524a4bcbdb1329 | b570e60c0609c5d9eeb04a99e9d4a8c58b039717 | /paper_supp_files/my_affy_tool.R | 1f0aa54905725de3ec5503a720075cf12a5d95fa | [] | no_license | nturaga/bioc-galaxy-integration | 836087c81934e3e833f6be87471aed3b99fb0144 | 4627dc20cce1cf45909b084804db126f6dba2af9 | refs/heads/master | 2021-01-24T22:02:19.347806 | 2016-10-28T19:45:52 | 2016-10-28T19:45:52 | 55,623,322 | 9 | 9 | null | 2016-10-27T13:25:19 | 2016-04-06T16:42:40 | R | UTF-8 | R | false | false | 1,268 | r | my_affy_tool.R | ## How to run tool
# Rscript my_affy_tool.R --input input.CEL --output output.txt
# Set up R error handling to go to stderr
options(show.error.messages = F, error = function(){cat(geterrmessage(),file=stderr());q("no", 1, F)})
# Avoid crashing Galaxy with an UTF8 error on German LC settings
loc <- Sys.setlocale("LC_M... |
c966406cceb06e97a10c8893be32cc6c14206b63 | 348ee19bc3b203fffae9f51b4e9ca8f3337bfdd5 | /R/is-started.R | 58b91c75a4d4abe2ebe888b328426d267b5edcfe | [
"MIT"
] | permissive | poissonconsulting/hmstimer | cc160318ebb0a54dbc227767bc7a36d6677f3488 | 2c88234eec969b82b1d8e826954bad20a6a5029e | refs/heads/main | 2022-09-27T07:20:10.863266 | 2022-09-21T14:28:16 | 2022-09-21T14:28:16 | 186,044,769 | 3 | 0 | NOASSERTION | 2022-09-16T23:02:54 | 2019-05-10T19:38:48 | R | UTF-8 | R | false | false | 427 | r | is-started.R | #' Is hms Timer Started
#'
#' Tests if a [hms_timer()] is started (as indicated by the
#' presence of an attribute named start).
#' @inheritParams params
#' @return A flag (TRUE or FALSE).
#' @family start_stop
#' @export
#' @examples
#' tmr <- tmr_timer(start = TRUE)
#' print(tmr_is_started(tmr))
#' tmr <- tmr_stop(tm... |
0de289ef9017e87b5a2808db880226678188bf38 | 9dba985428dc786b3e8d3db5fbab770add8dbe8b | /dataStructures.R | 1d0229455fea0380ebe0888f2f0a690031e0ffa1 | [] | no_license | arunatma/LearnR | 8475cbd89b22afe0d85e48508debd47f5e4c1b50 | f4d1ee2cc1f52c1721d62b8e6a5b9e542ea3a262 | refs/heads/master | 2021-01-25T03:54:41.611352 | 2015-12-09T18:27:06 | 2015-12-09T18:27:06 | 13,169,038 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,625 | r | dataStructures.R | ###############################################################################
# data_structures.r
# - Explains basic data structures in R
# - Scalars, Vectors, Matrix, Data Frame, List
#
# Author : Arunram A
# Creation : 26th Sep 2013
#
# Revision History:
#
#
###############################################... |
3fcf7cea467f4b5f47f0f2d98cdc5fdcba8b4299 | 120fe4aea288aa38b8d8596b6deb4bc35a3f5850 | /R/C3RuBPCaboxy.R | 563023b3312f512e4e68b0e9a85702de903cf306 | [] | no_license | zhouhaoran06/C3C4OptPhotosynthesis- | 9eb01609e16d8fdf3e35d32840e95be5baae385d | 74a788a75cd54a45f973858bf3d0cfc9d5ce7d1d | refs/heads/master | 2020-03-18T05:13:53.903546 | 2018-05-21T22:25:00 | 2018-05-21T22:25:00 | 134,331,577 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,265 | r | C3RuBPCaboxy.R | #' Calculate C3 RuBP carboxylation photosynthesis rate
#'
#' Calculate C3 RuBP carboxylation photosynthesis rate using Farqhuar photosynthesis model for C3 pathway (Farquhar GD, Von Caemmerer S,Berry JA,1980, Planta ) with optimality to stomatal resistance and energy allocation to leaf. The use of the function is as fo... |
1f9e2d64f094499fe5ff9e729eb3c72b48ef2aa4 | b67efc385e4d9757ef654e0b2d2f7393bb4e1f0d | /inst/examples/example-pattern.R | f5fda2d3a33b8fcdc6c4210cc949ae379707c48b | [] | no_license | cran/surveydata | e095b07fa8457d1ef2e9087e74e404eb5cc5a2a6 | f8e430ad3ae63e94798ed6c7a3b0b69d5a95c69a | refs/heads/master | 2023-03-16T04:05:17.109698 | 2023-03-12T17:00:02 | 2023-03-12T17:00:02 | 17,700,241 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 441 | r | example-pattern.R | # Extract the pattern from membersurvey
oldptn <- pattern(membersurvey)
oldptn
# The pattern is used to extract columns
names(membersurvey)
grep("Q20", names(membersurvey), value=TRUE)
head(membersurvey["Q20"])
head(membersurvey["Q20_other"])
# Define a new pattern
pattern(membersurvey) <- list(sep... |
c1c40f0697669ae5f3be2c353cb04a735ffa7737 | a8fd5e3c0fff11859ba09fedabc8b07d25f96dc2 | /man/col2transp.Rd | 7a871c6fb27131e422b495d4339ecaac9911b1f8 | [] | no_license | lauratboyer/ltb.utils | c4444841936a173eb98c42b743b7d2e8a2c7f6e4 | 50fbeab0ffd77ca565c33dccd3b7c671151155b9 | refs/heads/master | 2021-04-30T16:37:51.321598 | 2017-05-13T02:16:01 | 2017-05-13T02:16:01 | 80,087,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 459 | rd | col2transp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/col2transp.r
\name{col2transp}
\alias{col2transp}
\title{col2transp}
\usage{
col2transp(col, tlev = 0.5)
}
\arguments{
\item{col}{colour vector to add transparency to}
\item{tlev}{transparency level desired, higher level means more transpare... |
0669c981bc7895090b63763546723f1bff52b6af | 9bdef83f28b070321ba27709d2c7ec028474b5c3 | /R/nlp.R | acefdfeb9525b7f05af15cc748ef186c655741f6 | [] | no_license | antagomir/scripts | 8e39ce00521792aca1a8169bfda0fc744d78c285 | c0833f15c9ae35b1fd8b215e050d51475862846f | refs/heads/master | 2023-08-10T13:33:30.093782 | 2023-05-29T08:19:56 | 2023-05-29T08:19:56 | 7,307,443 | 10 | 15 | null | 2023-07-19T12:36:45 | 2012-12-24T13:17:03 | HTML | UTF-8 | R | false | false | 1,851 | r | nlp.R | # Natural Language Processing in R
# http://lincolnmullen.com/projects/dh-r/nlp.html
library(rJava)
library("NLP")
library("openNLP")
library("RWeka")
library("qdap")
library(magrittr)
if(!require("openNLPmodels.en")) {
install.packages("openNLPmodels.en",
repos = "http://datacube.wu.ac.at/",
... |
e1557f57317bda0aa4b9c958f5d97d254e4f8dd1 | 67853b49895b7f4286e0932212d24c509fe08f9e | /man/select_degree.Rd | 7aed9e6d8c234c0fdc3fde2d8ee7810935db4e43 | [] | no_license | sere3s/takos | c2b44cd5319f1d8df60f06fda5a704905ae19cec | 002527891952b99044c577a9f0393f3057502e3b | refs/heads/master | 2021-07-24T12:16:44.269021 | 2021-07-15T15:32:59 | 2021-07-15T15:32:59 | 147,636,829 | 3 | 2 | null | 2021-05-21T09:54:31 | 2018-09-06T07:45:14 | R | UTF-8 | R | false | true | 512 | rd | select_degree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/selectDegree.r
\name{select_degree}
\alias{select_degree}
\title{Title}
\usage{
select_degree(mat, degree = seq(0.01, 0.99, by = 0.01))
}
\arguments{
\item{mat}{matrix of the all the thermograms checked using the functiom mat.check}
... |
d63dfbf6e0de121fa74c90737856c967b831d5ea | 05f59cd61540ce4c9961d91377cff9008b78c009 | /man/generate_train_test_split.Rd | 948794233dc26712f42fb2c7399bee75622c87b7 | [
"MIT"
] | permissive | rzgross/uRbanmatching | e3abddab1946e2f84c32378820585b96abe4840d | 356b3d1ac10d72e3c5a20de08903f137c2c22965 | refs/heads/master | 2023-04-12T21:20:24.938362 | 2021-05-09T19:04:41 | 2021-05-09T19:04:41 | 355,984,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 553 | rd | generate_train_test_split.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generate_train_test_split.R
\name{generate_train_test_split}
\alias{generate_train_test_split}
\title{generate_train_test_split}
\usage{
generate_train_test_split(match_list, train_fraction = 0.7)
}
\arguments{
\item{match_list}{\code{match_l... |
661f7fbf5760fc6494f5cb65c10075df4c3b8b17 | 666442d86a618b4f0b5160255c13019185d10264 | /tests/testthat/test-1-tomarkdown.R | 72ba61c52f799d5bd62d571c493f1527e0be4c88 | [
"MIT"
] | permissive | jimsforks/testdown | a776faaeb4d22728a1c6f91f21fccb726acddb01 | d111da2ef8a6d122e720b02d5b19290da372791a | refs/heads/master | 2023-03-17T07:21:18.095907 | 2021-03-04T18:20:16 | 2021-03-04T18:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,090 | r | test-1-tomarkdown.R | withr::with_dir(pkg, {
test_that("testdown works", {
# browser()
# oldir <- setwd(pkg)
res <- test_down(
project_name = "testthat testdown",
author = "Colin Fay",
pkg = pkg,
open = FALSE
)
#' @description Checking that the report is created
expect_path_exists(
dir... |
afdac8292a2e5ea1c49856f4e76f6cb3ab367d44 | 93550a01d89c03b1c7fd7d71c183c1c0abc64a25 | /CompareFiles.R | 0da77ba59cf58c9fdaa6872aad495eae0f940299 | [] | no_license | genepi-freiburg/ckdgen-annotation | c363685a5f00c0a2ef837caac40808af9ef320ff | 3ae43e8fe86b4a3d9ff94d198d133898402f31a7 | refs/heads/master | 2021-05-23T05:42:40.066723 | 2017-12-08T09:29:54 | 2017-12-08T09:29:54 | 94,869,971 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,128 | r | CompareFiles.R | args = commandArgs(trailingOnly=TRUE)
if (length(args) != 6) {
print("Usage: inFile1 chrColName posColName inFile2 chrColName posColName")
stop()
}
d1 = read.table(args[1], h=T, sep="\t")
d2 = read.table(args[4], h=T, sep="\t")
d1x = data.frame(CHR=as.factor(d1[,args[2]]),
POS=as.numeric(d1[,args[3]]))
d2x = da... |
9082b12a062d0a5f165f3c1a7b9204fe07ab138a | 4b80c97c193bec524a24c1df7aba3af037660db8 | /R/plot_bland_altman.R | 9587a3d21546ce37802a28c1a0febe720b408f6c | [] | no_license | cran/lvmisc | 39ce176be2c08be16b5d09cbf8feba08c5a6747a | 738fa1a1f295a508764102c7bdda46c9945b2a92 | refs/heads/master | 2023-04-01T01:52:11.303753 | 2021-04-05T14:20:02 | 2021-04-05T14:20:02 | 341,248,797 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,183 | r | plot_bland_altman.R | #' Create a Bland-Altman plot
#'
#' Create a Bland-Altman plot as described by Bland & Altman (1986).
#'
#' @param x An object of class \code{lvmisc_cv} or an object containing a model.
#' @param ... Additional arguments to be passed to \code{ggplot2::aes()}.
#'
#' @return A \code{ggplot} object.
#'
#' @references \ite... |
e92e4422d3afd15dccdfe6ecea2a548cfc7d30bd | 1c75a24c37c82eb57a1e94d483ab241289b9c352 | /Shmueli resources/RCode_by_chapter/Ch9_0.R | 11f38ff79c3433ad16884bad361f5fa80b1ac8f5 | [] | no_license | IBSBigData/BUS212_Spring2018_Pub | e7e6bf250d56f2ae35ead1de792472deaa22aacf | 09b30d86b79b5e05c6188957b2877a22aebf9b82 | refs/heads/master | 2021-05-13T14:31:28.905257 | 2018-08-29T19:48:09 | 2018-08-29T19:48:09 | 116,742,943 | 2 | 31 | null | null | null | null | UTF-8 | R | false | false | 4,017 | r | Ch9_0.R | #### Figure 9.7
library(rpart)
library(rpart.plot)
mower.df <- read.csv("RidingMowers.csv")
# use rpart() to run a classification tree.
# define rpart.control() in rpart() to determine the depth of the tree.
class.tree <- rpart(Ownership ~ ., data = mower.df,
control = rpart.control(maxd... |
676de2baca89995279a74bb65e89148f13a39b96 | 4b6f1e3b54c0473e159b411ff6766201ac6d3b08 | /genscen_titecrmmcLIK.R | e930088e00bf190ba5d88e84ec2c3cc65c87cff0 | [] | no_license | moreno-ursino/TITECRMMC | 2a6bb0baf893804ecea48c696882bd1af9cc27e0 | 736fabc0b1c5b063a1504485f138b71304483823 | refs/heads/master | 2021-07-02T06:46:51.803467 | 2017-09-20T15:52:59 | 2017-09-20T15:52:59 | 104,068,197 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 41,965 | r | genscen_titecrmmcLIK.R | #################################################################################################
##
## First part: generating scenario's clinical trials
## Second part: run clinical trial using TITECRMMC-likelihood (probit and empirical)
##
###################################################... |
6ebd461176a3270140051611e2c76d28e394930c | 989126aab750905787fd6bfddbd4f16fdbaec5e4 | /man/Indian.Rd | 90d8bfefb85b5b856ab92177bd9a630197eda0b6 | [] | no_license | johnsonjc6/BSDA | 86447864cfaaf6aa4ce6191898d1fe2cc5824fd0 | 563b15d83ec66d5be94a491d883a18179f6fc5f6 | refs/heads/master | 2020-12-11T07:26:16.236991 | 2016-04-25T23:13:40 | 2016-04-25T23:13:40 | 55,450,475 | 0 | 0 | null | 2016-04-04T22:38:42 | 2016-04-04T22:38:41 | R | UTF-8 | R | false | true | 1,082 | rd | Indian.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BSDA-package.R
\docType{data}
\name{Indian}
\alias{Indian}
\title{Educational attainment versus per capita income and poverty rate for
American indians living on reservations}
\format{A data frame with 10 observations on the following 4 varia... |
5c57863466430810c89d49a359c3e04399ac5c86 | e855a5b2db6fa230fc9cf4527c9076f4295ad779 | /scripts/getdata.R | 8c83aa81ae0c6522ce1d5a9832600a31a2b78832 | [
"MIT"
] | permissive | jasonrwang/oecd_insights | 55c93db989150c01a8869311d34b01dcc09fff4f | 019be94abd394981a8829ef42c7414ad3db478fa | refs/heads/master | 2020-04-02T07:10:05.264136 | 2018-11-09T12:45:01 | 2018-11-09T12:45:01 | 154,184,272 | 0 | 0 | MIT | 2018-11-09T12:45:03 | 2018-10-22T17:15:15 | R | UTF-8 | R | false | false | 3,801 | r | getdata.R | getdata = function() {
### getdata.R
##
## This file imports and cleans the data for all the variables and indicators we aim to examine.
## It then considates all of the data in one dataframe with rows sep
library(reshape)
# Import data, which is all from the World Bank Indicators database
... |
e7252bee5116a7a9ded7b55d1af68b73eea6a5ed | 893e5cd93fb10d65ea087050d46b9d5d130d102e | /R/cluster_vcov.r | 40af32098a414589e8d4d09ccd8fe6d6b04d1c91 | [] | no_license | kendonB/multiwayvcov | 30a9c1a40a6b454836739405f8b0c7e28d9437b6 | a7ff0079c6731c4842dcf6b78656dcef347cc3ca | refs/heads/master | 2021-01-15T17:37:22.055091 | 2015-09-08T23:53:42 | 2015-09-08T23:53:42 | 41,392,443 | 0 | 0 | null | 2015-08-25T23:08:59 | 2015-08-25T23:08:57 | R | UTF-8 | R | false | false | 11,263 | r | cluster_vcov.r | ######################################################################
#' @title Multi-way standard error clustering
#'
#' @description Return a multi-way cluster-robust variance-covariance matrix
#'
#' @param model The estimated model, usually an \code{lm} or \code{glm} class object
#' @param cluster A \code{v... |
55b953c796f7ff3807cdd14d8faedfc55939dd8f | e32b67f35e2972f6c1f50b322471ca89292d8aa9 | /MadModules/lib/rlib/bcp_detector.R | 573d5211379d5a10e102bf502318f28a13212420 | [
"Apache-2.0"
] | permissive | HappyFaceGoettingen/HappyFace-MadMask | f6d6d4ccb5d7c859e1b0fa342c0b047d07bc7f1e | adb50ff87d68d5f6f31e51f8e5289620abacdf81 | refs/heads/master | 2018-09-20T16:49:43.396891 | 2018-07-26T12:42:04 | 2018-07-26T12:42:04 | 118,455,364 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,697 | r | bcp_detector.R | require(rimage)
require(bcp)
require(entropy)
require(xts)
##-----------------------------------------------------------
##
## Functions
##
##-----------------------------------------------------------
check.jpeg <- function(filename){
res <- .C("get_imagesize_of_JPEG_file", as.character(filename),
widt... |
b70ff12c40bfc93a43ef721df68b83ba6300a4fe | ad243eefefbd85b5cb94d8b4125ce7b92d0d4786 | /Sleep timing and duration.R | 636d0fa892a65a2ce35a6605e3f7620152a8a5e1 | [] | no_license | khrisyu9/atus | a178efc8e3a0742479ed24390b5ba081b699ffe2 | fa3dafcc88ba315c1f68aa1b7934191f12837b49 | refs/heads/master | 2023-02-09T08:52:07.230451 | 2020-12-27T04:42:30 | 2020-12-27T04:42:30 | 310,483,056 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,504 | r | Sleep timing and duration.R | library(dplyr)
library(tidyverse)
library(ggplot2)
library(data.table)
library(GGally)
library(gridExtra)
library(grid)
library(latex2exp)
library(weights)
library(scales)
library(stats)
# library(SDMTools)
library(knitr)
options(scipen=999)
#############################################################################... |
be59c1c2fac904409935fcbb171bf01bdb299a0d | 24a3984ba7d969cfa33e6a0280f4a25ccc641c68 | /man/remove_jira_credentials.Rd | 476da4b01ecc29b9485a75e83a1b78c1d487b464 | [
"MIT"
] | permissive | amishakov/JirAgileR | eeafffd1e7696748e773d6eec0e6029eebeeccbd | 7626a419f8f9e19aa6d73bb65e7a5c1c7c4da26e | refs/heads/master | 2023-05-17T07:29:26.773829 | 2021-06-08T19:12:22 | 2021-06-08T19:12:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 702 | rd | remove_jira_credentials.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exports.R
\name{remove_jira_credentials}
\alias{remove_jira_credentials}
\title{Removes previously saved JIRA credentials}
\usage{
remove_jira_credentials(verbose = FALSE)
}
\arguments{
\item{verbose}{Optional parameter to remove previously s... |
3fca22b941acc171433a1359874e64ca1f2e2a4b | 73b7cfcdc5e5de2709dfa7c329b0502a846c6f9b | /src/05load_io.R | 56a5f3791eada5b40b287593e5cc7a868e415770 | [] | no_license | akanarek/garber_vp | 67049c052adcabe3ed2848eac27e2b36b4a702f5 | d319f42129253d7cc9ec325811839853d61e4f81 | refs/heads/master | 2021-04-15T14:19:02.070249 | 2018-01-31T16:56:58 | 2018-01-31T16:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,877 | r | 05load_io.R | #load output files
#CONTROL
load(paste(vpdir_out_control,"tdarray_control.RData", sep = ""))
dim(tdarray_control)
#FOLIAR
load(paste(vpdir_out_foliar,"tdarray_foliar.RData", sep = ""))
dim(tdarray_foliar)
#SEED
load(paste(vpdir_out_seed,"tdarray_seed.RData", sep = ""))
dim(tdarray_seed)
#SOIL
load(paste(vpdi... |
3af9d6cd680ab49be04983944caec39366644ab8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/registry/examples/registry.Rd.R | 90742e14cbd3cbe535fdd88a7d684c5030f8e174 | [] | 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 | 570 | r | registry.Rd.R | library(registry)
### Name: registry
### Title: Registry creator
### Aliases: registry
### Keywords: data
### ** Examples
R <- registry()
R$set_field("X", type = TRUE)
R$set_field("Y", type = "character")
R$set_field("index", type = "character", is_key = TRUE,
index_FUN = match_partial_ignorecase)
R$se... |
5b4b7e8c6426d27ee603bbb19c51e203c537c5fd | 371289feb46d718787561fae2092e4686ca96843 | /intermediate_files/nfl_538_team_codes.R | 4d5212cf0df261494c358d9a36dc3daabbdc0b73 | [] | no_license | SDS410-Spring2020/NFL | 75f732882443987ce8f02e9945a0fab82eb7c7e8 | 7c084b2c914235afacdc5c10ca3a5faf20c2389c | refs/heads/master | 2022-08-22T03:03:29.587450 | 2020-05-27T17:32:10 | 2020-05-27T17:32:10 | 237,068,115 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,098 | r | nfl_538_team_codes.R | #editing team codes in 538 data to match the team codes in our data
#reading in nfl elo data from FiveThirtyEight
nfl_elo_2019 <- read.csv("nfl_elo_latest.csv")
nfl_elo <- read.csv("nfl_elo.csv")
#wrangle nfl elo data
nfl_elo <- nfl_elo %>%
filter(season >= "2010") %>%
mutate(date = as.Date(date, "%Y-%m-%d"))... |
734ef59943e1712b46c26b3231e719fae66c9bcb | c3c7f2a54c4f56e8f6fdc0b34ce8915fe460d96f | /man/get_banocc_output.Rd | 487f60e97e24492d1178bd631ca934b5ce7ee330 | [
"MIT"
] | permissive | biobakery/banocc | 620b6dde0e7f6d41864b0aa411b6e0db1cf282a6 | e619c80fe49f13d50fefb6f021d672f84235b7ea | refs/heads/master | 2023-08-22T18:26:58.587398 | 2023-08-04T15:53:41 | 2023-08-04T15:53:41 | 70,067,537 | 6 | 2 | null | null | null | null | UTF-8 | R | false | true | 2,708 | rd | get_banocc_output.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_banocc_output.R
\name{get_banocc_output}
\alias{get_banocc_output}
\title{Takes a model fit from BAnOCC, evaluates convergence and generates
appropriate convergence metrics and inference}
\usage{
get_banocc_output(banoccfit, conf_alpha ... |
ea199ea85b76b419662e57fba7b965c2d0d14b6a | 6765bbb6278f5e971c4a6d528a95753610b1d158 | /ilab part C data prep.R | 634afaf55a693fa817cbc39e2779d6aa955762d7 | [] | no_license | CorinnaMM/ilab | e11c2d00f915b7a73b603823fc94f1d826c0131b | 180dca7a0bb7a9c62b7dae9db09ba59aedc1f862 | refs/heads/master | 2020-04-02T01:31:31.407654 | 2018-10-20T09:36:34 | 2018-10-20T09:36:34 | 153,859,900 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,181 | r | ilab part C data prep.R | ####
# ilab part C data prep
####
library(lme4)
library(magrittr)
# ======= Person table
fnl_p_review_df <- readRDS("/Users/Corinna/Desktop/corinna - temp/income_imp_review16/fnl_p_review_df.rds")
# ======= trip table
trip <- read.csv("/Users/Corinna/Desktop/corinna - temp/iLAb project/ilab data/hts_hts_trp_odmatrix.cs... |
25e1ec814e7b5983759cbefc1be93977aada9222 | de8a72d48bd61f94fb81712408822aa2c0fef16d | /cachematrix.R | eabc3a995c2496d9d36c811b6d1a29fc3953e5c8 | [] | no_license | parscran/ProgrammingAssignment2 | 63a2f0ccbc8a7fd7be10d82b3a6c6714c7e04748 | 28c7e910e43c65334c5061ce7f19bcf31cd8a74f | refs/heads/master | 2021-01-19T07:07:30.283762 | 2015-01-21T08:04:26 | 2015-01-21T08:04:26 | 29,571,563 | 0 | 0 | null | 2015-01-21T04:38:29 | 2015-01-21T04:38:28 | null | UTF-8 | R | false | false | 2,719 | r | cachematrix.R | ##
## Coursera - Data Science Specilization : 2. R Programming
## Week 3 : Programming Assignment 2
##
## Author :
## parscran (parscran@gmail.com)
##
## This programming assignment is about to write an R function is able to
## cache potentially time-consuming compuatations like a Matrix inversion.
## T... |
5d0475e8b590bb5c5393b491144ad3af4a95e4bd | 788ec189c5c9d78b1e8a702a47821ca42adab401 | /man/get_locale.Rd | 532f012280a9256376f9e8cfb7a85561db7167c7 | [] | no_license | conjugateprior/rjca | e50b5c85513907a01fb96fff4879d982594c9261 | 76ac58e45684e638b337723156804ad42b41a31e | refs/heads/master | 2016-09-06T20:18:55.315629 | 2015-05-29T12:30:09 | 2015-05-29T12:30:09 | 35,891,350 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 316 | rd | get_locale.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/rjca.R
\name{get_locale}
\alias{get_locale}
\title{Determine default locale}
\usage{
get_locale()
}
\value{
ISO string representation of a locale
}
\description{
Determines default locale by parsing the LC_COLLATE locale value
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.