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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20a56f06559b40e6a9d2571819ae62dc16185a5f | 79083a001c5cbeb6ed35dd9c5812a7a5dbd6e4d9 | /R/plot_posterior_prior.R | 0e1cf3660309a3cfe9c5c78be84e879dc7195c38 | [] | no_license | vsrikrish/IAMUQ | d0958841e36441225890312515803aefe96fd7d3 | a21e7c539c045e734f96e923bdb0277a28dcf90d | refs/heads/master | 2021-08-15T01:02:10.066475 | 2021-08-05T20:17:08 | 2021-08-05T20:17:08 | 167,974,974 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,324 | r | plot_posterior_prior.R | library(reshape2)
library(ggplot2)
library(IAMUQ)
source('R/calib_priors.R')
nsamp <- 1e5 # set desired number of samples
mcmc_out <- readRDS('output/mcmc_base-gwp-co2-pop.rds')
mcmc_length <- nrow(mcmc_out[[1]]$samples)
burnin <- 5e5
post <- do.call(rbind, lapply(mcmc_out[1:4], function(l) l$samples[(burnin+1):mcmc_... |
05d85c3e0d5f70ca0d0ba3fe64b38f6bfb228286 | 169271965877a4e2fdc148de2e2d6cc73117b695 | /revisions/code/figures/fixed_effects/Fig6_drivers_fixed_vs_random_effects.R | 50bdccc6a7f635a2f56f709fc0be2960c9b20e92 | [] | no_license | cfree14/sst_productivity | 0eeacf540538aab9df0acf55b992590e290b7306 | cd1d12abe291da2748d7bc76e69b7a182651ba11 | refs/heads/master | 2021-10-21T15:10:32.142668 | 2019-03-04T18:05:27 | 2019-03-04T18:05:27 | 142,471,993 | 6 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,084 | r | Fig6_drivers_fixed_vs_random_effects.R |
# Clear workspace
rm(list = ls())
# Setup
################################################################################
# Packages
library(mblm) # For Thiel-Sen slope
library(plyr)
library(dplyr)
library(freeR)
library(reshape2)
library(quantreg)
library(RColorBrewer)
# Directories
datadir <- "/Users/cfree/Dropb... |
bf6bf070d323684e34091bcd7dd9c715c1f292c6 | e08feba647b37a30417755c52c8cb7971d92036d | /man/str.combine.Rd | 5a2690797e4f7415ca41e127d14d1d7e88d88aad | [] | no_license | skranz/YamlObjects | 17e984850a7c0acba003916503c211d3e3c9014d | 295eb4fa8db053df10e29362535f629e006cc309 | refs/heads/master | 2021-01-10T18:58:09.827847 | 2015-10-17T03:45:59 | 2015-10-17T03:45:59 | 26,432,913 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 309 | rd | str.combine.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{str.combine}
\alias{str.combine}
\title{Like paste0 but returns an empty vector if some string is empty}
\usage{
\method{str}{combine}(..., sep = "", collapse = NULL)
}
\description{
Like paste0 but returns an empty vector if some string is empty
}
|
df4e9a10739c8f1d270044815b2ca23e9b6e0301 | 9775c80596a7d0c57aee2cea47885cf886e36745 | /inst/shiny/ui.R | d2c8b9b4cc050a621887ce63c98029a0dfc6593d | [] | no_license | OJWatson/scraper | 20ec12f84809c11a919b60e8f1b8aa3fe339bba7 | c8e8b00aff76c26e4fe8ef9d84a09052798d85c6 | refs/heads/master | 2020-04-13T17:09:11.527436 | 2016-12-12T09:28:05 | 2016-12-12T09:28:05 | 61,437,777 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 509 | r | ui.R | library(shiny)
library(shinyjs)
library(scraper)
tagList(
useShinyjs(),
tags$head(
tags$script(src = "shorten.js"),
tags$link(href = "style.css", rel = "stylesheet")
),
div(id = "loading-content", h1("Loading...")),
navbarPage(
title = 'Mendeley DataTable',
tabPanel('Imperial', DT::dataTabl... |
2f7e754559c5ba7a50d4410268c11491f7944e20 | 84b6750d3884251925ee54c3a0bd9f4f094cae0a | /man/plot-methods.Rd | a15a458c677a22a15b712b6ce61ebb3225d993cc | [] | no_license | Nth-iteration-labs/ofmlr | c82c94549fa2d38cfd6ec99a36beeccaa6853e08 | ab51ccb94cff96226d44263a80e0c2c7fc9d7490 | refs/heads/master | 2022-12-16T20:32:32.384286 | 2020-09-23T06:28:44 | 2020-09-23T06:28:44 | 74,559,669 | 4 | 1 | null | 2020-09-23T06:28:45 | 2016-11-23T09:09:59 | R | UTF-8 | R | false | true | 2,185 | rd | plot-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/1-onlineLogMixture.R, R/2-multiMixture.R
\docType{methods}
\name{plot,online_log_mixture,missing-method}
\alias{ANY-method}
\alias{plot,}
\alias{plot,multi_online_log_mixture,missing-method}
\alias{plot,online_log_mixture,missing-method}
\tit... |
d8e68439196f72ac4f5394a9c9dc726fcd5c8983 | d354983f75228b3aa82eea518f42de95e3fa32f7 | /functions/lapply.R | c2721c1ac889b7008a96b3bb23b9988b98af2567 | [] | no_license | ReneNyffenegger/about-r | f1f1d1f6c52f0446207978e78436ccbd91b89d20 | ae511ae632e1f8827cab91d4e36c1a9349fda5ab | refs/heads/master | 2022-01-14T10:19:45.230836 | 2021-12-27T19:50:37 | 2021-12-27T19:50:37 | 22,269,629 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 261 | r | lapply.R | func <- function(x) {
if (x < 0.25) {
return (1-4*x)
}
if (x < 0.50) {
return (-1 + 4*x)
}
if (x < 0.75) {
return (3 - 4*x)
}
return (-3 + 4*x)
}
x <- 0:20/20
y <- lapply(x, func)
X11()
plot(x, y)
lines(x,y, col='red')
locator(1)
|
139b266303a34747563843982964aa16daa89d33 | 24fcc7a9446871f5affbc82d3ae1ed20d6a7c8aa | /man/peak_season_offset.Rd | e0fd6f6fb18ab7074dacad2597c868208acfa908 | [
"MIT"
] | permissive | mrc-ide/malariasimulation | 3188657f6ff9da4ea35646189d0bd75d6e35aa52 | 397a7b7efe90958dd01f97110a1d16c71d041f33 | refs/heads/master | 2023-08-23T11:29:10.050424 | 2023-07-03T15:58:32 | 2023-07-03T15:58:32 | 233,609,741 | 10 | 10 | NOASSERTION | 2023-08-17T15:48:41 | 2020-01-13T14:06:17 | R | UTF-8 | R | false | true | 405 | rd | peak_season_offset.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mosquito_biology.R
\name{peak_season_offset}
\alias{peak_season_offset}
\title{Calculate the yearly offset (in timesteps) for the peak mosquito
season}
\usage{
peak_season_offset(parameters)
}
\arguments{
\item{parameters}{to work from}
}
\de... |
21ce1416abf270850f6e040768de40eed01cec5f | 0e00ed988bbb9c9ba18c0cfb2784699bad141e51 | /R/get_images.R | 59e5a95224c59d08827b38178144639ae9adb0d1 | [] | no_license | databrew/traveldash | 58e3148e48ac32bd460d68fd8bae750772b4adaf | 563558f83cc602dba6c3808acb07db28871e9faa | refs/heads/master | 2021-05-14T06:14:33.273018 | 2018-11-20T09:22:12 | 2018-11-20T09:22:12 | 116,237,230 | 2 | 3 | null | 2018-04-09T13:05:12 | 2018-01-04T08:52:16 | PLpgSQL | UTF-8 | R | false | false | 631 | r | get_images.R | library(openxlsx)
library(RPostgreSQL)
library(yaml)
library(pool)
library(lubridate)
library(magick)
get_images <- function(pool){
conn <- poolCheckout(pool)
start_time <- Sys.time()
images <- dbGetQuery(conn,paste0("select person_id,short_name,image_data from pd_wbgtravel.people where image_data is not ... |
ab25ce2fbb3864382400a3c660df9af1db58e776 | e3b939c09405131064b8c4195fca87cb5a8f023b | /experiments/code/theory_brier_score.R | b15774d42367b3afc458a80e30c4ae48df9d7449 | [] | no_license | PhilippPro/ntree_randomForest | 2da543e893610aefd6debe5dfd91b3b8723a3247 | 5053fcb50a98a27e58082e5a774ca308a6cc2a81 | refs/heads/master | 2020-06-14T23:19:02.123493 | 2017-05-10T08:43:35 | 2017-05-10T08:43:35 | 75,399,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,522 | r | theory_brier_score.R | # R-Code for the Brier-Score
# Vergleiche Brier Score für randomForest nach 50 und nach 1000 Bäumen
library(mlr)
library(OpenML)
lrn = list(makeLearner("classif.randomForest", id = "50_rf", par.vals = list(ntree = 50), predict.type = "prob"),
makeLearner("classif.randomForest", id = "1000_rf", par.vals = list(ntree... |
8305c0bdc3c944d386c07a4c775df9663699bf9c | 4697292c821029c438d7f3675f3d5e69867d3c15 | /intrinsic-rank/code/elbows.R | 1e982c0b2bb3984688fde1e7c63b3f35de48cb17 | [] | no_license | varun-projects/PhD-Thesis---Cross-Validation-for-Unsupervised-Learning | f2f1f89305def2e4dde9a9d710649c958f6ae264 | 7e3fe78b8826d231d849c3c0785e58949447416b | refs/heads/master | 2022-04-17T18:14:55.817601 | 2010-01-29T17:31:00 | 2010-01-29T17:31:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,085 | r | elbows.R |
source( "../../common/code/spiked-data" )
plot_scree <- function( d.est, frob2, spec2, elbow=NA ) {
np <- length( d.est )
kmax.f <- length( frob2 ) - 1
kmax.2 <- length( spec2 ) - 1
frob2.min <- which.min( frob2 ) - 1
spec2.min <- which.min( spec2 ) - 1
frob2 <- frob2 / min( frob2 ... |
1f52dcee96b97c478903b0f7a26dbd720a34ef7a | f1871c39a0ec5d66a1e002bee8433e19de369da7 | /R/utils-data.R | 1f2ae5d072164872c1ccc3a1b54d85938a998bf9 | [
"MIT"
] | permissive | turgut090/torch | 00adc4c63ed10240cd943693379b6cfe6ee3f0a1 | 0b2e04a0d82cd3649aa0ab8de48bdd42c9cff7bf | refs/heads/master | 2023-03-30T13:40:19.939616 | 2021-04-02T13:16:57 | 2021-04-02T13:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,284 | r | utils-data.R | Dataset <- R6::R6Class(
classname = "dataset",
lock_objects = FALSE,
public = list(
.getitem = function(index) {
not_implemented_error()
}
)
)
is_map_dataset <- function(x) {
inherits(x, "dataset")
}
get_init <- function(x) {
if (!is.null(x$public_methods$initialize))
return(x$public... |
7f7f0ab09f08648d848148d29c18fc4d5182e8dd | 2724f6e874c9500b0df726c2d6903fe486b8cc84 | /man/get_irefindex_list.Rd | 88e94510053080cce0b414e85e0a9498b489dc03 | [
"MIT"
] | permissive | lagelab/Genoppi | 62006e9f123a1857580e5ebd88885c945483f6e3 | f78e7b3e523650e7ae211fc93b79dff3e28dd03f | refs/heads/master | 2023-08-31T09:51:59.007937 | 2022-10-12T14:17:17 | 2022-10-12T14:17:17 | 83,465,982 | 23 | 10 | null | null | null | null | UTF-8 | R | false | true | 803 | rd | get_irefindex_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_irefindex_list.R
\name{get_irefindex_list}
\alias{get_irefindex_list}
\title{Retrieve irefindex for a given bait}
\usage{
get_irefindex_list(bait, n = 1)
}
\arguments{
\item{bait}{string. name of bait protein}
\item{n}{numeric. Minimum n... |
172db70323cc325ff2c1485ceafcf42c23ee781c | 0c20139f2d1a741a3105fce10a38a883263054cb | /gradmcmc-1.0/models/wildflower_nc/run_model.R | 8bb5c34ea103eb274a0432ca051619314f17e3e5 | [
"MIT"
] | permissive | caimiao0714/HMC_ECS | 53b8e4cfdda6f444dd5e274453abb7fd7f9beeac | fa67e1ff9589d8c496ab5ad4c2af07517294b288 | refs/heads/master | 2020-06-30T07:35:32.221038 | 2019-12-12T06:29:45 | 2019-12-12T06:29:45 | 200,453,626 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,673 | r | run_model.R | ## Sourcing this file will run everything for this model, given the MCMC
## arguments are in the global workspace.
setwd(paste0('models/',m))
## Load empirical data and inits
data <- readRDS('data.RDS')
params.jags <-
c("yearInterceptSD", "plantInterceptSD", "plantSlopeSD", "intercept",
"slope", "yearInterce... |
24e3975d282e677768d8b2c659b110db5340078a | 1da1269745b6ce6806ffd7a15668fc27470cd921 | /man/rcrainfo_rcr_ca_authority.Rd | ebe2317082d84debdd5711d75f7d0965ad869720 | [] | no_license | markwh/envirofacts | d0c3bb7495060fd00b825c1e72602479f8a92b72 | 815ba95808a37f552d9a7041be532817e4766b90 | refs/heads/master | 2021-01-10T07:14:32.874354 | 2019-03-27T02:28:15 | 2019-03-27T02:28:15 | 50,798,175 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,341 | rd | rcrainfo_rcr_ca_authority.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rcrainfo_rcr_ca_authority.R
\name{rcrainfo_rcr_ca_authority}
\alias{rcrainfo_rcr_ca_authority}
\title{Retrieve rcr ca authority data from rcrainfo database}
\usage{
rcrainfo_rcr_ca_authority(HANDLER_ID = NULL, EFFECTIVE_DATE = NULL,
RESPONS... |
54e7869e76c179dd98b451d7dc57b6987121dfdb | 79bf7255ac2d8dd2f23345cc0ba2fbffffb77f74 | /Estrutura condicional.R | f07c094f55e0d38c362e56adf2b9835a8f96adf9 | [] | no_license | pburil/ETL_eletiva | 17abae1aba58ea027e46493bc79c98a2e7e31fec | 1260cebf8f1ace139c05b9f2b6426181eda05f05 | refs/heads/main | 2023-05-15T05:14:30.347723 | 2021-06-14T15:35:49 | 2021-06-14T15:35:49 | 357,028,647 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 200 | r | Estrutura condicional.R |
#Estrutura condicional
Sport <- 1 # Number of goals scored by Team A
SantaCruz <- 3 # Number of goals scored by Team B
if (SantaCruz > Sport){
print ("Santa Cruz maior de Pernambuco")
}
|
3976cbf7646af88aa0140d5388795956b5baa5c7 | ae30c1c5c87f2055b5917555086992ea7bb08bb1 | /clustering.R | 39020bc52e8b888243fc3970d05395e8827fd94b | [] | no_license | CaoCharles/Multivariate-Analysis- | 48bbfdd9eadd76fb2e92e89fc01fb71e0b2809a7 | a74501e5e420cd4c5d19f1f8243538839aa8f79f | refs/heads/master | 2020-03-18T11:13:41.701713 | 2018-06-04T09:34:19 | 2018-06-04T09:34:19 | 134,658,294 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,104 | r | clustering.R | olive <- read.table("olive.txt",h=T)
newolive <- olive[,3:10]
# agnes
# Let us try first standardize the variables and use the “single” linkage:
library(cluster)
x <- daisy(newolive, stand=T)
agn<-agnes(x,metric="euclidean",method="single")
# Use the following interactive command for both the “dedrogram” and “banner p... |
e66ad9177f1d0fad3cae571a73eb5b5c9d0898d7 | 29585dff702209dd446c0ab52ceea046c58e384e | /CPHshape/R/find.hazard.R | f39141e418994eb4d263cfe83f90b8e5ad886841 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 538 | r | find.hazard.R | find.hazard <- function(t, h.val, h.ranges, type, mode){
if(type=="increasing"){
h <- find.h.up(t, h.val, h.ranges)
}
if(type=="decreasing"){
h <- find.h.down(t, h.val, h.ranges)
}
if(type=="unimodal"){
if(t<mode){
h <- find.h.up(t, h.val, h.ranges)
}
if(t>mode){
h <- find.h.down(t, h.val, h.range... |
bd3520c5a0f585729e862e7a94065fbcb0d82a1f | 43c2f40d81d771c66b8043c6798e5af6b0f6feee | /FY2017/Scripts/tbl_6.8_DOD.BA.By.Title.R | 076288b24363a7cac9af67956ed963e52bc4747e | [] | no_license | ctmann/DOD-Green-Book | 218cc006581cb6c9e7e70f349eabee51061bbb6c | f4ce1281c4f73df29d39fd04386444d158caa37e | refs/heads/master | 2021-08-30T01:49:14.457647 | 2021-08-12T18:48:54 | 2021-08-12T18:48:54 | 71,018,063 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,297 | r | tbl_6.8_DOD.BA.By.Title.R | #' Original DoD Comptroller zip file downloaded here:
#' http://comptroller.defense.gov/BudgetMaterials.aspx
#' To View as pd:
#' http://comptroller.defense.gov/Portals/45/Documents/defbudget/fy2017/FY17_Green_Book.pdf
#'
#' Table 6.8 DOD BA By Title
#'
# Libraries ----------------------------------------------------... |
26d1dd01fe050cd12137e09fd1b44e5d1bb2edf2 | 29585dff702209dd446c0ab52ceea046c58e384e | /DDIwR/R/getMetadata.R | e1a9b1f7304658eaa8ca5e7119be7351e39b94ef | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,625 | r | getMetadata.R | require(XML)
getMetadata <- function(xmlpath, OS = "windows", saveFile=FALSE, ...) {
# TODO: detect DDI version or ask the version through a dedicated argument
other.args <- list(...)
enter <- getEnter(OS=OS)
fromsetupfile <- FALSE
if ("fromsetupfile" %in% names(other.a... |
a36ed6e97eee4a954319660cd8b33e6ad2c330ca | ce68a85c4a6c5d474a6a574c612df3a8eb6685f7 | /src/book/R with application to financial quantitive analysis/CH-11/CH-11-02.R | 2704d04acba75f62da507bcece6133196d479e3b | [] | no_license | xenron/sandbox-da-r | c325b63114a1bf17d8849f076bfba22b6bdb34a3 | c217fdddc26ed523b3860e2000afc699afac55a2 | refs/heads/master | 2020-04-06T06:58:17.049181 | 2016-08-24T06:16:32 | 2016-08-24T06:16:32 | 60,466,314 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,577 | r | CH-11-02.R | ########################################################
# Description:
# 1.for Book 'R with applications to financial quantitive analysis'
# 2.Chapter: CH-11-02
# 3.Section: 11.2
# 4.Purpose: herd behavior through quantile regression
# 5.Author: Liu Xi, polished by Qifa Xu
# 6.Date: Apr 03, 2014.
# 7.Revised: Aug 31, ... |
847015aade5d9f6dc68e9ef8aa616d34a681c4af | f80d13fa51bf10e3c4af2fd45423647600ad5117 | /man/stageRunner__run.Rd | 114d24263210bb42fc015c1b3cfb138e83b0479a | [
"MIT"
] | permissive | tonglu/stagerunner | f3e33930f6f8aa8fbc59fd89195403539bd758f8 | 18af11683334d6cb046ca63f1ba274b9c9adb52e | refs/heads/master | 2021-03-12T22:48:01.676590 | 2014-02-18T05:21:02 | 2014-02-18T05:21:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,526 | rd | stageRunner__run.Rd | \name{stageRunner__run}
\alias{stageRunner__run}
\title{Run the stages in a stageRunner object.}
\usage{
stageRunner__run(stage_key = NULL, normalized = FALSE)
}
\arguments{
\item{stage_key}{an indexing parameter. Many forms are
accepted, but the easiest is the name of the stage. For
example, if we have \code{sta... |
4af7f76afba0646be07ae9a56b25bb0f84075f95 | b37e06b480d4f6bebddd98c1eb28eeba191ad641 | /scripts/r/counts_lowplex.R | 3f6247458702955a1897bef5b58269b59a205158 | [] | no_license | hrk2109/barcoding | b33f0efa721e26437a9149990c592fe7a7300707 | 72a5cd20fe72dd1eb846de9c60b93a408f117f47 | refs/heads/master | 2020-03-27T03:53:29.481291 | 2018-08-07T09:40:19 | 2018-08-07T09:40:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,064 | r | counts_lowplex.R | library(ggplot2)
library(Biostrings)
library(dplyr)
library(tidyr)
library(viridis)
library(data.table)
plot.counts = function(counts, barcodePath, grouped = FALSE) {
ds = data.frame()
i = 0
for (l in counts) {
d = as.data.frame(fread(l,stringsAsFactors=FALSE))
d = cbind(d,l)
i = i + 1
ds = rbind... |
d4350374a4af58bbbbf7642ab2ade0cace79439e | b53b817f7025ba2f479fb0e2fd56a49f3ff42c60 | /prcc.R | fe8d60c1d4e2b0ba034b69cbbafc13660defcc09 | [] | no_license | NPSDC/Cross_Cancer | 1ebc51d6dedae9822a2de91c6b8e979e9b0fed18 | 7cbffc262a6a9fa26d6996e727347280e32af565 | refs/heads/master | 2021-09-06T01:39:18.641322 | 2018-02-01T10:43:27 | 2018-02-01T10:43:27 | 118,959,710 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,819 | r | prcc.R | library(DESeq2)
library(pamr)
library(biomaRt)
mart=useMart("ensembl")
ensembl=useDataset("hsapiens_gene_ensembl",mart=mart)
load('~/Honours/Stage-Prediction-of-Cancer/papillary/environment/dds.RData')
load('~/Honours/Stage-Prediction-of-Cancer/ccrcc/environment/kirc_data.RData')
met.genes.df <- read.csv('metabolic_ge... |
345c1f3c9dd6d715210344b54ff78ba8a6d90639 | d1c93472455db0f0c6c5a9353888b75c5fc209dd | /Apostila 01 - Capitulo 06.R | 559cd0427987eca51a6117976cb718c946b23371 | [] | no_license | mariruggeri/IGTI_Bootcamp | 2b7a9356962cfae9d8332baf18ebcca0d8aa150e | 7896d488cb0d900899c560c52700fb8e612735f8 | refs/heads/master | 2023-05-14T14:42:40.092479 | 2021-06-02T21:03:33 | 2021-06-02T21:03:33 | 371,125,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,423 | r | Apostila 01 - Capitulo 06.R | ###########################################################
####### Regressao Logística #######
## AED - Capitulo 06 - Prof. Máiron Chaves ####
###########################################################
rm(list = ls()) #Limpa memória do R
#install.packages('pROC')
#Instala e carrega biblioteca para gerar a curva... |
5fb86d006c94f76c47f8b2fbae8d090c6fa10c19 | 5ff77f4b5eecf33f4fda9028e0875d9048d7684b | /R/eurusds.R | 7a66d63bc3ae1e556b0cc7a94e9bffda2737a38d | [] | no_license | szigony/xchangeR | 4ebb42260efe1ca009bca61b269fd72ac6629602 | b3003accdbbc448a42d0a92fdcf9528872a13037 | refs/heads/master | 2020-05-27T06:36:28.723627 | 2019-06-06T05:29:43 | 2019-06-06T05:29:43 | 188,524,286 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,646 | r | eurusds.R | #' USD/EUR exchange rates
#'
#' Looks up the daily USD/EUR exchange rate via an API call for the specified date range.
#'
#' @export
#'
#' @importFrom httr GET content
#' @import dplyr
#' @importFrom data.table data.table as.data.table
#'
#' @param date_from The start of the range.
#' @param date_to The end of the rang... |
6b2ef79a57ddc2c4553190dce8669aba8a7ccc03 | 884e1fa9b78a77b81c1bc963d839667ac276fab8 | /Exploratory_Data_Analysis/week_4_assignment/plot2.R | 32ec34c8532a89344621164a028c89dbe761e263 | [] | no_license | guy6400/Data-Science-Specialization-John-Hopkins-Coursera | d97ec07c603aeb38dcd7ccc959139d8b4524e9e9 | 53002aece812c225b9803d728445a1266cea2fe4 | refs/heads/master | 2022-12-03T05:04:11.198251 | 2020-08-03T13:02:57 | 2020-08-03T13:02:57 | 283,740,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,156 | r | plot2.R |
#####libraries
library(dplyr)
library(ggthemes)
library(ggplot2)
#####download files####
setwd("G:\\Scripting\\R\\John Hopkins Data Science\\Exploratory Data Analysis\\week 4 assignment")
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
path<- getwd()
download.file(url,file.path(path,... |
68735bec8371547e0a07370de4d3d40874159664 | 3fc5b02bdc700c9b1d4fee77d41f50c28eb79cfa | /munge/02-B_split_training_in_column_types.R | 5265b855bfdf26a4e5e147226526ca6346fe6bdb | [] | no_license | Ruud-Janssen/hp2 | 34de5021c81ebc3ca807b41729b5bd307602c82c | 938eea7c64bfc5f8437e87d50696a669824a9108 | refs/heads/master | 2021-09-09T09:28:42.554222 | 2018-03-14T20:17:17 | 2018-03-14T20:17:17 | 119,682,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,864 | r | 02-B_split_training_in_column_types.R | namesTrain <- names(House.Prices.Kaggle.preprocessed)
#indicator columns
#train_ind <- House.Prices.Kaggle.preprocessed[, sapply(House.Prices.Kaggle.preprocessed, function(vec) length(unique(vec)) == 2 & ifelse(class(vec) == "integer", sum(unique(vec)), 0) == 1)]
namesTrain_ind <- colnames(House.Prices.Kaggle.prepro... |
979909ab1170e4bc54ef8e4c6b3953a70943d9d4 | 09257aaa16f79444f0f56abf1e94f0aade6b69bd | /man/merge.Rd | 1d4615508d4d4612f8c4ee0c72fd3d67d39957c2 | [] | no_license | aaronpeikert/semtree | 1023f61be1e63258cc3d45388c5c69861f54e176 | bd92e8522a62026b9ac5050c0b8f5a7ff58e9cb7 | refs/heads/master | 2020-06-12T09:07:51.598586 | 2019-06-25T09:41:24 | 2019-06-25T09:41:24 | 194,253,753 | 1 | 0 | null | 2019-06-28T10:17:18 | 2019-06-28T10:17:18 | null | UTF-8 | R | false | false | 672 | rd | merge.Rd | \name{merge}
\alias{merge.semforest}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Merge two SEM forests
}
\description{
This overrides generic base::merge() to merge two forests into one.
}
\usage{
\method{merge}{semforest}(x, y, ...)
}
\arguments{
\item{x}{A SEM Forest}
\item{y}{A ... |
8c805ed2758c528b0b1db952a57ee52343381bad | 81688ef29b9e2780f94c60cb423e2cc2a365a49c | /src/helpers/date_helper.R | b448c2313fe055e32f51f0160195a354d889dd5d | [] | no_license | misharigot/socialcharging | 66eee84f7ee36ba903bdbc78e94eaa138ee42031 | 8411797650d976519f1429058d5cd097d08a2ef3 | refs/heads/master | 2021-03-19T18:48:32.097759 | 2018-03-19T22:23:37 | 2018-03-19T22:23:37 | 105,770,840 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,582 | r | date_helper.R | # This class has several helper functions regarding date, containing custom functions that lubridate doesn't provide.
library(lubridate)
# Get weeknumber from date starting on monday
# Created a custom function, because lubridate's week function starts the week on sunday
getWeekNumber <- function(date) {
strft... |
62fe21e1d4b3529f7ea92c7dad74ae28d94efb1e | 44bc24cd738a47bcc2fa0f1272ea231ebdbdb98a | /ui.R | c6fc3f211e3aaa2bbebead087560a8c7014c94c3 | [] | no_license | SFWongBigData/Developing_Data_Products | abf3a1db089a257d8feb083a78bb36aeb6a87e9f | 4febf8c9451dad30ccd2527425395149c0676b3f | refs/heads/master | 2021-01-10T15:32:42.375174 | 2016-01-30T12:32:25 | 2016-01-30T12:32:25 | 50,723,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,172 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel("Predict Ozone"),
sidebarPanel(
h3("Choose one variable for plot"),
helpText("Note: select the factor you want to check,",
"the factor will be shown in the form of histagram."),
radioButtons("plot","Histogram",
... |
93c19313846895696a9250a2d5b2e28af3a519c6 | b5fd00ca0de81c9f532f3aaf2ebfba48dd141e8f | /scripts/tema1/08-remove-duplicates.R | 5bcd51dd549cea893a17e11597c9d3da2f90be5d | [] | no_license | ledvir26/Machine-Learning-with-R | 0e0da68d33f1709bc0d49347c24fdd3986ff01be | fb69d70e76db6be2c4383852806b470dfba9f31a | refs/heads/master | 2023-07-09T21:29:39.283830 | 2021-08-25T01:46:58 | 2021-08-25T01:46:58 | 385,417,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 317 | r | 08-remove-duplicates.R | family_salary = c(40000, 60000, 50000, 80000, 60000, 70000, 60000)
family_size = c(4,3,2,2,3,4,3)
family_car = c("Lujo", "Compacto", "Utilitario", "Lujo",
"Compacto", "Compacto", "Compacto")
family = data.frame(family_salary, family_size, family_car)
family_unique = unique(family)
duplicated(family) |
c2551bebcd35b17f6b2e36de5500d5b561f7efda | df1a5a132abe3ecb3c023514114e8c9b1646dc8d | /man/begin.Rd | 13f4909f9282a8deb3f230d564c922475d07f8d5 | [] | no_license | ari-harmonic/RecordLinkage | 3c22055ce4b0bfa464cb57ba9957ca0835dbebce | fcde6f83eb97b438b56f81979014c20c5067781e | refs/heads/master | 2020-04-25T06:29:40.578522 | 2019-02-27T21:38:54 | 2019-02-27T21:38:54 | 172,583,121 | 0 | 0 | null | 2019-02-27T21:38:54 | 2019-02-25T20:54:10 | C | UTF-8 | R | false | true | 354 | rd | begin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internals.r
\name{begin}
\alias{begin}
\title{Begin generation of data pairs}
\usage{
begin(x, ...)
}
\description{
An SQL statement representing the generation of data pairs, including
the configuration of blocking fields, phonetics etc. is ... |
3021b3879706cca066661933f6853c976cca68f1 | f7d5fcc27ed9cddf4b9f6d42c86f6e1e203a62bf | /utils.R | 34bf14290cb05ebf5e330c6213a58b7509910532 | [] | no_license | 1965aafc/tutorial-spatial-modelling-population-welfare-SCL-SPH | bb4dde6ee396fe7a8f567d492e3ab1a2d93be178 | 71c483267f0b0559ea46e43074e6ef15a0c02ef5 | refs/heads/master | 2023-05-10T23:41:49.855094 | 2021-06-03T00:20:33 | 2021-06-03T00:20:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,626 | r | utils.R | #!/usr/bin/env Rscript
# #####################
# ##### Load
# #####################
options(scipen=10000)
root_dir="~/"
project_dir="data/"
dir_data=paste0(root_dir,project_dir)
#####################
##### Install
#####################
##### Cran
pk <- c("devtools", "stringr", "dplyr",
"car", "plotly", "le... |
a141cbb76892157fbaf9271ff76fbc52153c638c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/FatTailsR/examples/estimkiener11.Rd.R | 6674768378f2b2f4442e17539ea7675c672629ec | [] | 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 | 769 | r | estimkiener11.Rd.R | library(FatTailsR)
### Name: estimkiener11
### Title: Estimation Functions with 5, 7 or 11 Quantiles
### Aliases: estimkiener11 estimkiener7 estimkiener5
### ** Examples
require(timeSeries)
## Choose j in 1:16. Choose ord in 1:12 (7 is default)
j <- 5
ord <- 5
DS <- getDSdata()
p11 <- elevenprobs(DS[[... |
256d35a3e20d533a5a24e33b4b3204ee317bcbc3 | ae0f7c49555c63f93389c0c559f2bb193d1d1a38 | /run_analysis.R | 8903cdcf2d4347d758a0f5c030dae5cd7c8d055e | [] | no_license | luj1985/getdata-008 | b598593ed5bbcdf6bbb4162d37b2ca88e0abe471 | f68e8123dddc34381e8fb62767782db00057d48b | refs/heads/master | 2016-09-08T02:40:03.818313 | 2014-10-26T08:08:10 | 2014-10-26T08:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,587 | r | run_analysis.R | library(dplyr)
readData <- function(type) {
subjects <- read.table(paste("./data/", type, "/subject_", type, ".txt", sep = ""))
measures <- read.table(paste("./data/", type, "/X_", type, ".txt", sep = ""))
labels <- read.table(paste("./data/", type, "/Y_", type, ".txt", sep = ""))
features <- read.table("./... |
df52f1b66016db84a89d0aca6f88e6ab1b9e2b86 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/deldir/examples/plot.deldir.Rd.R | 28dad7e6decf2fbe732b06b9f745d81265de11f1 | [] | 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 | 600 | r | plot.deldir.Rd.R | library(deldir)
### Name: plot.deldir
### Title: Plot objects produced by deldir
### Aliases: plot.deldir
### Keywords: hplot
### ** Examples
## Not run:
##D try <- deldir(x,y,list(ndx=2,ndy=2),c(0,10,0,10))
##D plot(try)
##D #
##D deldir(x,y,list(ndx=4,ndy=4),plot=TRUE,add=TRUE,wl='te',
##D col=c(1,1,2,3,4... |
90ef249de1f0d63373b8973d9441755c636d535c | b7bf62deb228ee72d8ff96205a230575cbdfb51c | /man/amean_byelt_jack.Rd | 8b37012edd38b628ace6bdcb6d17238645a4994a | [] | no_license | BenitoJaillard/combinAna | f48c855ea4b8b2dd22eb58652fa6b87b49c56a4a | 114df1efc319db55c72f3b9bb23095a4345dabbb | refs/heads/master | 2020-04-24T03:05:11.212153 | 2019-03-26T09:57:19 | 2019-03-26T09:57:19 | 171,659,371 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,525 | rd | amean_byelt_jack.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predicting.int.R
\name{amean_byelt_jack}
\alias{amean_byelt_jack}
\title{Arithmetic mean (amean) by motif (bymot) by jackknife (jack)
over several experiments (xpr)}
\usage{
amean_byelt_jack(fctMot, mOccurMot, jack)
}
\arguments{
\item{fctMo... |
4b68d748a0105e635c3bcf53932de4c3adce4934 | 8a483632aada1fea716ed7ddab9ef42b113c413e | /code/scenarios/80_10/evaluations_80_10.R | 1d1823f20eda8c1e713d6639f8da02effba3315f | [] | no_license | ben-williams/parallel_diverge | ea54ca6caee59d321412e088ae57f920850d4464 | 9a0fd91a8e2418bbb0b1f0e7f37ca9b8c66acd7c | refs/heads/master | 2020-07-06T12:56:27.404297 | 2018-08-06T18:44:12 | 2018-08-06T18:44:12 | 66,984,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,282 | r | evaluations_80_10.R | source('code/functions/helper.R')
source('code/functions/cleanup.R')
cq_fed <- read_csv('output/80_10/community_quota_fed_only_80_10.csv') %>%
filter(sim<41)
cq_oa <- read_csv('output/80_10/community_quota_open_access_80_10.csv') %>%
filter(sim<41)
sq <- read.csv("output/80_10/status_quo_80_10.csv")
state_ecs <-... |
7f8c937f00f131f523439903cffe40f436f8dff1 | 210210c8dccad3aad7cfcdeff10f3d814ea3a14f | /install.R | c572ed9f5d998eccabc84f2bcaad15a74ddfee4f | [] | no_license | bas-1994/2D3D | f6596d24a9a7d02f7bfdc9348ca7065ff4d89f71 | d1739ea52c1b5a2612cc590e0acae3222edc9a01 | refs/heads/master | 2023-05-09T02:32:39.336175 | 2021-05-28T10:17:07 | 2021-05-28T10:17:07 | 371,623,939 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 146 | r | install.R | install.packages("readxl")
install.packages("tidyverse")
install.packages("tidyselect")
install.packages("tableone")
install.packages("olsrr") |
c3f91d8a70fcb87261eb81db4f01a9007e02ef7b | 3835d6896cc2193cb9253efb295f5dbf39944274 | /cachematrix.R | 5597a7f768aebfb83e34d7cb899d42d3511df216 | [] | no_license | nchandola/ProgrammingAssignment2 | 233c6350692b1f86290d0cee3c53bfc9f3457e38 | 467dd4d0e18bcdcfc3e660f63cec7876ecd9bfa4 | refs/heads/master | 2021-01-18T02:38:03.224247 | 2015-09-27T18:21:02 | 2015-09-27T18:21:02 | 43,175,882 | 0 | 0 | null | 2015-09-25T21:15:07 | 2015-09-25T21:15:07 | null | UTF-8 | R | false | false | 2,569 | r | cachematrix.R | ## Below are a pair of functions that cache the inverse of a matrix. Matrix
## inversion is a costly computation and there may be benefits to cache the
## inverse of a matrix rather than compute it repeatedly. This benefit may be
## realised if the contents of the matrix are not changing.
## makeCacheMatrix Fu... |
069285f2143382461a9e2cff8b868a436e4b1ce9 | b6492c0a4318047608a36c8df0e59a8830b7a2fa | /161230LoadMLR.R | 88a7b479a2bb94c5d7bf2c4186b01fd713f96d03 | [] | no_license | scfurl/170110 | 4b66a03e61844c27beaedc1b41572d2de3092dd5 | a6403116a508a6d55df78a76d548747fb13a1e2b | refs/heads/master | 2021-04-29T11:01:34.018879 | 2017-01-03T14:16:29 | 2017-01-03T16:43:38 | 77,856,331 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,697 | r | 161230LoadMLR.R |
# -------------------------------------
# specify paths and load functions
# -------------------------------------
DATA_DIR <- paste(ROOT_DIR, "/Analysis/MLR2/WS", sep="") # SPECIFY HERE
PROG_DIR <- paste(ROOT_DIR, "/Analysis/MLR2/prog", sep="") # SPECIFY HERE
RES_DIR <- paste(ROOT_DIR, "/Analysis/MLR2/res/... |
0ff0c79360d1ff1ff2a79ef49a637907a4f9956e | c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab | /man/gtkColorSelectionSetChangePaletteWithScreenHook.Rd | ba10d20a5b3b2bc7a82b5bbe64388a028219d662 | [] | no_license | cran/RGtk2.10 | 3eb71086e637163c34e372c7c742922b079209e3 | 75aacd92d4b2db7d0942a3a6bc62105163b35c5e | refs/heads/master | 2021-01-22T23:26:26.975959 | 2007-05-05T00:00:00 | 2007-05-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 879 | rd | gtkColorSelectionSetChangePaletteWithScreenHook.Rd | \alias{gtkColorSelectionSetChangePaletteWithScreenHook}
\name{gtkColorSelectionSetChangePaletteWithScreenHook}
\title{gtkColorSelectionSetChangePaletteWithScreenHook}
\description{Installs a global function to be called whenever the user tries to
modify the palette in a color selection. This function should save
the ne... |
a349a3c3b9e2eb0336ed05bcdc1ab4af957f3400 | f2f1bdd7d8792dfcf378bb4d6e60fc82c11b5d92 | /scripts/week_5_class_code.R | 7c0c7c21cad01e49987990acd74055e1b45dfa5c | [] | no_license | gge-ucd/r-davis-in-class-caparisek | 897adea352b37c4b5ca98d34e09e914d6019b789 | 69f6e4452950613d75c0e6665a4e67d3fa19b71b | refs/heads/master | 2021-06-30T10:02:16.660017 | 2020-10-15T18:32:37 | 2020-10-15T18:32:37 | 167,059,209 | 0 | 1 | null | 2019-02-19T18:38:46 | 2019-01-22T20:04:25 | R | UTF-8 | R | false | false | 9,272 | r | week_5_class_code.R | # Week 3: February 05, 2019 - R-DAVIS Class Code - Week 5
# GUESS WHAT I FOUND:
# https://twitter.com/mathematicalm3l/status/1090720774464421889/video/1
# https://github.com/melissanjohnson/pupR
# Step 1: install package "devtools" -- for helping develop your own package.
# Step 2: run the line: devtool... |
ab42786fd54cead896870fdd93b7252966a7c897 | 552e7dfdb045f5d775b6c6b36e42bff881ede4d1 | /cachematrix.R | 4bdcfa5baf27797e41b06b6a563442665c2907be | [] | no_license | maulik438/ProgrammingAssignment2 | 4f84eb3cb2fe2d4fc95545acedca81fb4ec27b01 | 8526449a45647eeb2e5a5b928b35748f95ad2456 | refs/heads/master | 2020-09-27T06:31:28.192071 | 2019-12-12T15:42:48 | 2019-12-12T15:42:48 | 226,453,102 | 0 | 0 | null | 2019-12-07T04:03:33 | 2019-12-07T04:03:32 | null | UTF-8 | R | false | false | 932 | r | cachematrix.R | ## Function to store inverse of matrix in cache
## makeCacheMatrix Function to store inverse matrix with getter and setter functions
makeCacheMatrix <- function(x = matrix()) {
# initialize null matrix
invMat = NULL
# setter function
set <- function(y) {
x <<- y
invMat <<- NULL
}
# getter function... |
bfe026e00554ae21922b75ea3e1fe81cea6e2780 | c9fe6fb7f69d6ccc0d281b0e9f8730b6789eb214 | /project_code.R | 59a5a2fff0459c6fbe5ee149e5c57a33db4cbc01 | [] | no_license | Akahdeep-balu/San-Francisco-Crime-Analysis | 99cfd5bc28111493cedb5ebb909c02534a6cfe82 | 17bc66691f679efd9d70bcd76cb026da253ad092 | refs/heads/main | 2023-06-19T05:46:10.053833 | 2021-07-07T03:41:04 | 2021-07-07T03:41:04 | 383,664,328 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,572 | r | project_code.R | library(funModeling)
library(tidyverse)
library(Hmisc)
library(geohashTools)
library(randomForest)
library(class)
library(data.table)
library(kknn)
library(rpart)
library(e1071)
#install.packages("e1071")
library(caret)
require(caTools)
sfc.data <-read.csv(file = 'train.csv')
zip.data <- read.csv(file ... |
7bd86ab4f612784d492319075227e700bd1c6d2b | 6464efbccd76256c3fb97fa4e50efb5d480b7c8c | /cran/paws.end.user.computing/man/appstream_create_image_builder.Rd | b9905b3318ac468d67ebf7e57b6b04008e4b8d33 | [
"Apache-2.0"
] | 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 | 4,587 | rd | appstream_create_image_builder.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/appstream_operations.R
\name{appstream_create_image_builder}
\alias{appstream_create_image_builder}
\title{Creates an image builder}
\usage{
appstream_create_image_builder(Name, ImageName, ImageArn, InstanceType,
Description, DisplayName, V... |
cbf2d243744331672c8106828bc2a708750142b5 | 065a6a5b55a67334fb18460519ac171d7631d789 | /R_scripts/DataPrep.R | 0f998bdbe5e7a4a559a5a7cb3e42a5115d9f059e | [] | no_license | Shrubner/restistutorial | c1add3cca3eb9c631651e6f7ae8df6543c5e5b4b | 243a5c8c22027d596c45745cdd529e77c219b5e7 | refs/heads/main | 2023-03-07T11:29:55.306357 | 2021-03-04T23:17:01 | 2021-03-04T23:17:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,135 | r | DataPrep.R | library(raster)
library(sp)
library(sf)
library(rgeos)
library(rgdal)
library(tidyverse)
hm.us <- raster("/Users/mattwilliamson/Analyses/ConservationResistance/Data/OriginalData/hm_fsum3_270/")
gap.status.WY <- st_read("~/Google Drive/My Drive/Data/Original Data/PAD_US2_1_GDB/PADUS_21_CombFeeDes.shp") %>%
filter(S... |
8a534565c3ea7384bce53f2162090c8f9e2e8ccf | f61064bb7d0013f111123206b230482514141d9e | /R/sis_loglikelihood_complete.R | 5bc6a7eb6bbd9ee08fbac4879838a158f11e8383 | [] | no_license | nianqiaoju/agents | 6e6cd331d36f0603b9442994e08797effae43fcc | bcdab14b85122a7a0d63838bf38f77666ce882d1 | refs/heads/main | 2023-08-17T05:10:49.800553 | 2021-02-18T23:01:47 | 2021-02-18T23:01:47 | 332,890,396 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,051 | r | sis_loglikelihood_complete.R | #' @title Complete Likelihood for SIS model
#' @description computes log-likelihood p(x, y) when agent states and counts are observed
#' @param y a vector of observations
#' @param agent_state binary matrix of size N by length(y)
#' @param model_config a list containing parametesr and network structure
#' @export
sis_l... |
8580886fcb0d215a2e0f4b82964dcb1e06e7f027 | d92752ea41593a0f8965cc10a94a4fe358df9bd0 | /man/multip.Rd | aa73e86896e07c7392ea9299ef3ce9659ad67b3e | [] | no_license | fhernanb/beergame | 13c20c32dcc1718d810dec9eeea3d020bcad21cf | dd7ee8118b25cbed23ca81d831c35abc89d517e4 | refs/heads/master | 2020-12-21T18:15:54.770598 | 2020-01-30T19:48:45 | 2020-01-30T19:48:45 | 236,519,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 464 | rd | multip.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multip.R
\name{multip}
\alias{multip}
\title{Function to multiply two values}
\usage{
multip(x, y)
}
\arguments{
\item{x}{this is the first value we want to multiply.}
\item{y}{this is the second value we want to multiply.}
}
\description{
T... |
fa481a1795005f0927916ca77a7cde0a981976af | 6c1ad9221998bf18a654be33f79b9f5dec8ee0c8 | /R/publish.R | 61397983705e78e5c62eb56d052a3554ac857470 | [
"CC0-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | jzwart/vizlab | 20624542e80589957c5a20619d23f48fe5d90531 | 43c6502dea6c8a7041d87ea0fb3eea126615410d | refs/heads/master | 2021-07-15T05:01:07.756308 | 2017-10-20T21:40:46 | 2017-10-20T21:40:46 | 106,702,748 | 0 | 0 | null | 2017-10-12T14:20:59 | 2017-10-12T14:20:58 | null | UTF-8 | R | false | false | 14,554 | r | publish.R | #' Peform the publish step to ready the viz for hosting
#'
#' Determine the type and dispatch to that method to produce
#' files to serve up as the final viz
#'
#' @param viz vizlab object or identifier
#' @export
publish <- function(viz) UseMethod("publish")
#' publish a given id
#' @rdname publish
#' @export
publish... |
61b79e24426cce7bc14ea20931f2f6f26bf7389f | 357d90c25253b342454d423c24c5ae8df4b7ec92 | /Block4/B4_SEM_mroz.R | fd2e6edeb940bdfb93229a6c4cacbd6597af63e1 | [] | no_license | formanektomas/4EK608_4EK416 | 3bd6740f7beba7f1bb188f0dec57e0be8b041f1a | 5d6dde192123ab3f040773ad033aed756e54b9ec | refs/heads/master | 2023-04-27T14:48:28.817712 | 2023-04-16T14:44:25 | 2023-04-16T14:44:25 | 149,155,768 | 3 | 7 | null | 2020-12-23T08:17:24 | 2018-09-17T16:33:54 | R | UTF-8 | R | false | false | 5,443 | r | B4_SEM_mroz.R | #### SEMs - specification, identification and estimation ####
#
#
#
#
#
#
### Example 16.3 & 16.5: Based on Wooldridge: Introductory econometrics,
#
# Labor supply of married, working women
#
#
# Data
rm(list=ls())
mroz <- read.csv('mroz.csv')
# We limit our data to working women only
mroz ... |
06958f7cbac92dde04d0545963629d024af23616 | 89bfd2ed18de2845834ff4754f3be23bf45352cf | /Fig.2_Correlation_analysis/TMEimmune32.immunePlot.R | b7a2d538fa019ff1347623e420dc0bcc4a5f5c30 | [] | no_license | luyuitng/ICB_projects | 060162beeed03d5aeecf286f53f015483bb6076f | 2966dee54358759f3692a57df0dabb4a842cbc9e | refs/heads/main | 2023-04-22T06:53:22.576300 | 2021-05-08T15:47:34 | 2021-05-08T15:47:34 | 365,549,511 | 1 | 0 | null | null | null | null | GB18030 | R | false | false | 15,646 | r | TMEimmune32.immunePlot.R | #install.packages("corrplot")
library(corrplot) #引用包
setwd("E:\\Lenvatinib\\corroplot") #设置工作目录
#读取免疫结果文件,并对数据进行整理
immune=read.table("Pancancer.txt",sep="\t",header=T,row.names=1,check.names=F)
immune=as.matrix(immune)
#绘制相关性图形
pdf(file="PanCancer.pdf",width=8,height=8)
corrplot(immune,
... |
514d81399f9b8f9ba00344dc1f7b3a5bf3a92628 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Surrogate/examples/AA.MultS.Rd.R | 20f55bee78ee02458de6b913e53a9c0153bce055 | [] | 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 | 879 | r | AA.MultS.Rd.R | library(Surrogate)
### Name: AA.MultS
### Title: Compute the multiple-surrogate adjusted association
### Aliases: AA.MultS
### Keywords: Adjusted Association Causal-Inference framework
### Counterfactuals Single-trial setting Sensitivity ICA Multiple
### surrogates
### ** Examples
data(ARMD.MultS)
# Regress T ... |
7a518fa7b7526e8029fcdf8da4b0eec4b06dd1d1 | 42bfe23f85ead532e6b437c247879123c342878d | /man/plot_structure.Rd | 2636fc9a7bb55dc662f0173bcdf5f41840c5ad8a | [] | no_license | ldutoit/snpR | b858e82e6a94bc3e7d52aef2cd1ae3f83dc93563 | a4a896d0a822f1a1d3c177601ba2620825b0eabf | refs/heads/master | 2023-03-16T22:03:28.929189 | 2021-02-11T01:51:48 | 2021-02-11T01:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 8,359 | rd | plot_structure.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting_functions.R
\name{plot_structure}
\alias{plot_structure}
\title{Create STRUCTURE-like cluster plots}
\usage{
plot_structure(
x,
facet = NULL,
facet.order = NULL,
k = 2,
method = "snmf",
reps = 1,
iterations = 1000,
I ... |
12366208e598ef51f621900b103eced051018dc0 | 98b478b16df3b97d7e7d9b02d94c6f93975ed22d | /sectiopn 3 Matrix operation.R | 6654854d4d65f9a4f7446347aa1543afa53af262 | [] | no_license | nyaundid/R-For-Data-Science-With-Real- | 8ee549322eadc556e839aa7d35c46ec6e45b4957 | 2ffd3e011df69ec8c88e2ae17d8aa90399ad75cb | refs/heads/main | 2023-03-30T18:31:53.914565 | 2021-04-12T03:07:11 | 2021-04-12T03:07:11 | 357,039,462 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 212 | r | sectiopn 3 Matrix operation.R |
Games
rownames(Games)
colnames(Games)
Games["LeBronJames", "2012"]
FieldGoals
#round 1 number after decimal average score per game
round (FieldGoals / Games, 1)
round(MinutesPlayed / Games)
|
054d0a1b767b094c65280043ff3ea56e3edbb43c | ad521cc18a8b05b494ccd0d654a1c50c329c40e2 | /man/uaparser.Rd | 125bc54162485a03d9520381bd7e93c856f704f6 | [
"MIT"
] | permissive | artemklevtsov/uap-r | e79af62da84cd61bbb6d3814e1cd39ba0b6d15ea | b90070e9b68f2820f4e2659d2ae1d842058f78f4 | refs/heads/master | 2020-11-27T08:47:37.183200 | 2017-07-07T02:05:09 | 2017-07-07T02:05:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 290 | rd | uaparser.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/uaparser.R
\docType{package}
\name{uaparser}
\alias{uaparser}
\alias{uaparser-package}
\title{Parse user agents in R}
\description{
this package provides a standardised user agent parser for use in R.
}
|
53d8151056bd070bfd8067f035851db3c21633ab | f69cdfa49008779593b0da4c4b4252f165a73d46 | /R/helpfunctions.R | 58a4ae23f16d135672767fb2e1a685d00051c039 | [] | no_license | MaartenCruyff/mse | dce4e054a27ee0e9c31e95f3bfe19d3444936f8f | 7b3e06ca87767c81c61ff74ae46c9c8d62dfa62c | refs/heads/master | 2021-12-14T21:04:05.253405 | 2021-11-30T13:53:21 | 2021-11-30T13:53:21 | 186,817,076 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,304 | r | helpfunctions.R |
bootx <- function(b0, f, N, f0, d, obs){
d$Freq <- rmultinom(n=1, size=N, prob=f0/N)
mx <- glm(f, poisson, data=subset(d, obs==1), start=b0)
freqs <- predict(mx, newdata = d, type="response")
return(freqs)
}
ci_95 <- function(x){
v <- quantile(x, probs = c(0.025, 0.975))
names(v) <- c("min95", "ma... |
9194c31a99825c00b079bde69fcd9fd6a3bb12f3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/opera/tests/test-oracle.R | 7a4aa9ce35895351dac60f7b8398667e41b52140 | [] | 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 | 5,769 | r | test-oracle.R | # Unit tests of opera package using testhat package
context("Testing oracle function")
# load some basic data to perform tests
n <- 50
X <- cbind(rep(0, n), rep(1, n))
Y <- rep(0.4, n)
X[n, ] <- c(1, 1)
Y[n] <- 1
awake <- cbind(rep(c(0, 1), n/2), 1)
# Test of loss functions
test_that("loss functions return correct ... |
b8ab5f60355a76ecae4f13500e4b190dbca3519e | da3f26feeca261602f9ee43e0d16a8a43c684ba3 | /metric_classificators/parze_window.R | 2cdc1c554216845c9a57a22fa67b6d0631a58f21 | [] | no_license | Goncharoff/SMPR | 706bff4f7285cc24c9c17cab6727115eb90ebcbe | 6c21529c155180583fdabbf31e63d3d040a0489b | refs/heads/master | 2021-09-05T00:03:10.136082 | 2018-01-22T23:12:23 | 2018-01-22T23:12:23 | 112,397,943 | 2 | 9 | null | null | null | null | UTF-8 | R | false | false | 5,649 | r | parze_window.R | v <- iris[, 3:4]
p <- c(3, 1)
avg <- function(x)
{
sum(x) / length(x)
}
colors <-
c("setosa" = "red",
"versicolor" = "green",
"virginica" = "blue")
ax <- avg(iris[iris$Species == "setosa", 3])
ay <- avg(iris[iris$Species == "setosa", 4])
bx <- avg(iris[iris$Species == "versicolor", 3])
by <- a... |
371c171ba4cf6322454b713fb479d635ccea7e25 | 90ce5381487899129e90911cb01a3e83dd9aad87 | /R/InOutBags.R | 31cc0abf36e02b7bbc687b7c77137f1a088350e1 | [] | no_license | cran/rfVarImpOOB | 82274d6af3743d660b6178209e0136f3eb9ba15b | 60b5b1366bc22750cf609eb6c60f78ecb2b5172a | refs/heads/master | 2022-07-08T15:10:24.184676 | 2022-07-01T13:40:02 | 2022-07-01T13:40:02 | 236,881,840 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,419 | r | InOutBags.R | InOutBags <- structure(function#separates data into inbag and outbag
### convenience function to mitigate risk of improperly disentangling train/test
### NOTE: the original row names (too dangerous for repeated rows) are not kept but instead recorded in a separate column
(
RF, ##<< object returned by call to randomFo... |
068151508f963413d6c5b555c7ea944ffaf31bc3 | d3ec31ef9c490eb1360429f9e4c74d82d877b556 | /man/send.down.Rd | fb7bc7bd1d649cb1a90a931fa1dc6f40d6f26174 | [] | no_license | kdoub5ha/rcITR | 44df37807d25fecc7b3c66eb54466b237d69bdfd | 32c3a9a1fd7ebe9d433e44a1848a9f5db06bc2be | refs/heads/master | 2021-05-24T15:08:28.672887 | 2020-08-04T15:23:04 | 2020-08-04T15:23:04 | 253,620,643 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 759 | rd | send.down.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/send.down.R
\name{send.down}
\alias{send.down}
\title{Sends testing data down a tree to obtain terminal node assignments}
\usage{
send.down(dat.new, tre, char.var = 1000, ctgs = NULL)
}
\arguments{
\item{dat.new}{data to be run down ... |
f770713ea6dd670b7f5eb38863d20718d4990078 | 6d817eaea17e676429c2f70eaabde7303ef383ad | /archive/temp_vector_var.R | 455d5b434016ca020333a9f3a99aa393f5d7d3be | [] | no_license | itamarfaran/correlation_glm | f5e84ecd4817c09a478586bae9ba43fc1fe95b3d | 0ba0424d2ef0f2975b80a48c7b84cf992e15659f | refs/heads/master | 2023-08-14T23:37:46.494876 | 2021-10-16T11:24:51 | 2021-10-16T11:24:51 | 151,227,146 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,316 | r | temp_vector_var.R | source("main_work/Code/01_generalFunctions.R")
source("main_work/Code/02_simulationFunctions.R")
source("main_work/Code/03_estimationFunctions2.R")
real.cov2 <- function(i, j, k, l, MATR) {
MATRij <- MATR[i,j]
MATRkl <- MATR[k,l]
MATRik <- MATR[i,k]
MATRil <- MATR[i,l]
MATRjk <- MATR[j,k]
MATRjl <- MATR[j,... |
7ce41c9285c516e283e53f4f33775958f3a5fc84 | 4e9751cc804f4d84b93d72bc57d51f9c112c15c4 | /ui.R | b01a7dd6cd2fc6d2792a732984a16a8c404a7d07 | [] | no_license | RobertoSH/DataProducts | 81934b6b8c22fdfee92e7c7d4343f0c3712d78ca | ecdb17f77c8a0c9e60257b713b88045e97ba90b9 | refs/heads/master | 2016-09-06T09:28:31.798227 | 2014-08-24T19:34:47 | 2014-08-24T19:34:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 934 | r | ui.R | shinyUI(fluidPage(
sidebarPanel(
# Copy the chunk below to make a group of checkboxes
checkboxGroupInput("Variables", label = h3("Noise in Variables"),
choices = list("Flavor" = "Flavor",
"Apperance" = "Apperance",
... |
d128fb5fb11b1fb42313010305d2269d5baa598a | c8494552202bb07e46b3c328e9c503db92fda70e | /man/confint.MxModel.Rd | 062c2f225616cf30e4d401c6b8a9ebff76a77faf | [] | no_license | hmaes/umx | fcc85dc40774552d0f664036404e12bbdd75cc05 | 09b3c0efd4131248e30e67925b7650278ca78ff9 | refs/heads/master | 2021-01-24T20:26:15.667956 | 2014-09-05T09:02:47 | 2014-09-05T09:02:47 | 23,714,644 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,899 | rd | confint.MxModel.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{confint.MxModel}
\alias{confint.MxModel}
\alias{umxConfint}
\title{confint.MxModel}
\usage{
\method{confint}{MxModel}(object, parm = list("existing", c("vector", "of",
"names"), "default = add all"), level = 0.95, run = FALSE,
showErrorcodes = FALSE, ...)
}... |
7378be403ba19fa1842a0c42478fb08fa57e21f8 | 41eba080f03f3beb477bd81b49a5e6024343b36d | /moisture transfer in a box.R | a6cc14b65ae4a4d21cef579fd7963dfdcc0d84dc | [] | no_license | marketresearchru/moisture_transfer | baedc772159d9f5505a26892f97e316b75d3a9ca | f5e00c82abf5dcf7a062e671d57f34360080e981 | refs/heads/master | 2021-01-25T04:09:33.586309 | 2017-06-05T12:54:44 | 2017-06-05T12:54:44 | 93,404,019 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,666 | r | moisture transfer in a box.R | # This program calculates moisture transfer over vertical or horisontal line
# Transfer is based on wind and humidity on 19 levels in the atmosphere stack
# we consider rectangle outside of the border which is researched
# in case of this particular grid, we have only odd degrees, therfore
# actual border is the even ... |
a536545def4547a9eea67d864c8d7b612d174e7a | e4ed8a79d7a1c2eeed9f5c3af6a367fda87aba3b | /server.R | cf6f439fbf4aca6429ace2f9c2f5bba2b83dce63 | [] | no_license | nateao/clt_illustration | def5de99f6b45b965c0156b538801d30800bd808 | 0be59d7ade65b9cf35624d010c84d6bc5e0bf4d1 | refs/heads/master | 2016-09-05T21:00:05.936398 | 2015-02-19T05:49:14 | 2015-02-19T05:49:14 | 31,002,222 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 306 | r | server.R | library(shiny)
shinyServer(function(input, output) {
output$distPlot <- renderPlot({
lambda <- 0.2
set.seed(10413)
sim <- replicate(n = 5000, mean(rexp(n = input$integer, rate = lambda)))
hist(sim, prob = TRUE, main = "Distribution of Sample Means", xlab = "Sample Mean")
})
}) |
30c83e51af854b386a65b2dfa03c436c301f0971 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mvoutlier/examples/mvoutlier.CoDa.Rd.R | fb2de3e701d20443da185725b48a7db6fe886eec | [] | 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 | 280 | r | mvoutlier.CoDa.Rd.R | library(mvoutlier)
### Name: mvoutlier.CoDa
### Title: Interpreting multivatiate outliers of CoDa
### Aliases: mvoutlier.CoDa
### Keywords: multivariate robust
### ** Examples
data(humus)
d <- humus[,c("As","Cd","Co","Cu","Mg","Pb","Zn")]
res <- mvoutlier.CoDa(d)
str(res)
|
98538874e81010e690c3521f158646b4091233f9 | 28300f000bc0fc86fe6559a210b48e6101334ff0 | /R/Rpackage/Testing/functions-autotest-testing.R | c92dc217f5d8c4281b51f966d3bec10638760f36 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | naturalengland/Seabird_PVA_Tool | 64eb4f8e83d1503ced331ea6db1a23541ff8febc | 945a6fdc3e34feff4733a5e90d67418f9a86aeaa | refs/heads/master | 2022-11-15T11:59:52.500835 | 2022-11-04T17:48:29 | 2022-11-04T17:48:29 | 184,424,468 | 9 | 1 | NOASSERTION | 2022-11-04T16:03:00 | 2019-05-01T13:59:28 | R | UTF-8 | R | false | false | 22,576 | r | functions-autotest-testing.R | ## ###############################################################################################
## Created 12 September 2019, last modified 29 September 2019
##
## 21 November 2019: a) including "CompareStructure", from stackoverflow.com/questions/32399843
## b) fixed "autocheck.consistency.nepva" ... |
e222b18e602828390598e85def7d009899c7c529 | 9201c9925feb97530455dcff559e5de0be356c79 | /plot3.R | 3450731b2773bb0d54643ebf8d1c574077e2e3b8 | [] | no_license | henrique1837/Exploratory-Data-Analysis | 151b3a60bb83c1d5f70bae48bcde6cea4ffe6603 | 9aa0a5f24b6be67e534bb11f95053b045c606221 | refs/heads/master | 2021-01-10T10:39:34.257586 | 2016-01-10T21:23:06 | 2016-01-10T21:23:06 | 49,384,018 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,040 | r | plot3.R | #Read Data downloaded
arquivo <- './exR/household_power_consumption.txt'
dados <- read.table(arquivo, header=FALSE, sep=';', skip='1')
#Set colum names
colunas <- readLines(arquivo,1)
colunas <- strsplit(colunas,';',fixed=TRUE)
names(dados) <- colunas[[1]]
#Read only Dates between 1/2/2007 and 2/2/2007 and formating ... |
04781df8211cf29169d1ef4264fcbc93c37a65c9 | e20a0d8db429b9f6905ec962baec713a6a760531 | /R/.Rprofile | 5f64e9bc44fcb86fb10bc37a449ddfb718215792 | [] | no_license | TheSeaGiraffe/dotfiles | e6df811982531eb8ec690665d6f942fc82886f20 | 0a9b0e1a2c3951f078f887c7d0f97af71dec6a88 | refs/heads/master | 2021-04-15T07:55:58.966207 | 2017-10-25T07:32:12 | 2017-10-25T07:32:12 | 126,684,712 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,704 | rprofile | .Rprofile | # Include local R library in library path
.libPaths(c('~/.Rlibs', .libPaths()))
#Load packages
#library(pacman)
#p_load(ggplot2, gridExtra, grid, reshape2, dplyr, utils)
#library(utils)
# Set install.packages to install to ~/.Rilbs
options(lib='~/.Rlibs')
# Don't automatically convert strings to factors
options(stri... |
486ad12bbbb611e6228447642339a502fc9509d9 | d81656c6ee1d317722ef878ac3c8184825b342e3 | /R/clustView.ui.R | cc7d6dbc696e7dc70cad84e4026482157bb71f51 | [] | no_license | plger/clustView | d9c5540320716f0eefb4b667bf67d0fb30fe7835 | 3addd521ceaf57ec0cf4125d1ae107c3a714a464 | refs/heads/master | 2020-04-08T15:55:19.505780 | 2018-12-18T11:33:04 | 2018-12-18T11:33:04 | 159,497,315 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,181 | r | clustView.ui.R | #' clustView.ui
#'
#' UI function of `clustView`.
#'
#' @export
clustView.ui <- function(){
library(shiny)
library(DT)
library(shinycssloaders)
library(shinydashboard)
dashboardPage(
dashboardHeader(title="clustViewer"),
dashboardSidebar(
sidebarMenu(id="tabs",
... |
19167571fe2878f64ae7d892e1b65e21eaf41b0a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/reconstructr/examples/time_on_page.Rd.R | f6f350a9dc6b4175cec47db8b8d84470864aadda | [] | 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 | 500 | r | time_on_page.Rd.R | library(reconstructr)
### Name: time_on_page
### Title: Calculate time-on-page metrics
### Aliases: time_on_page
### ** Examples
#Load and sessionise the dataset
data("session_dataset")
sessions <- sessionise(session_dataset, timestamp, uuid)
# Calculate overall time on page
top <- time_on_page(sessions)
# Calcul... |
3702b2b731d85ce2609bd5059c0f71ded595c14c | ed2e3edc0b4cbf668cef83d1caab49a842ab3595 | /man/groc.Rd | c03b1cb1556019adf7c1034c6f7277b4d8b4fbb8 | [] | no_license | cran/groc | 9ed7bd0b43120ef08fabe0412d2b0f4c7a939ea6 | bd7e2c009b82e964f1d4aa28159e3f87ef9eed37 | refs/heads/master | 2021-01-25T08:28:37.222742 | 2020-12-18T06:30:16 | 2020-12-18T06:30:16 | 17,696,513 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,414 | rd | groc.Rd | \name{groc}
\encoding{utf8}
\alias{groc}
\alias{groc.default}
\title{groc method}
\description{
Generalized regression on orthogonal components.
}
\usage{
\method{groc}{default}(formula, ncomp, data, subset, na.action, plsrob =
FALSE, method = c("lm", "lo", "s", "lts"), D = NULL,
gamma... |
10203986ea99360d1eb7078b1a60d0b81a364298 | dd380873cfb9355a760260f16bdc08e3f4a7550d | /data_analysis/compare_beta_omega.r | c00cff733f7d08b8532a86e43156be154b4cafa7 | [] | no_license | gerbiljames/swin | 59977af61dc1ec843088d91664660c70d3916e24 | 6db6773a0befde74dcec71fad257d537cc005a69 | refs/heads/master | 2021-01-01T16:06:42.840237 | 2015-06-28T17:26:24 | 2015-06-28T17:26:24 | 29,692,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,591 | r | compare_beta_omega.r | #!/usr/bin/env Rscript
library(stringr)
library(gtools)
library(effsize)
colours <- c("blue", "green", "orange", "purple", "yellow",
"black", "red", "pink", "brown", "lightblue")
logs_dir <- "../src/PiSwarmSimulator/logs/"
beta_file_paths <- list.files(path=logs_dir, pattern="^adv_beta", full.names=TRUE)
omega_fi... |
ddccdcde5be5a47bcccd9f68bceb11e6d7be8f9f | 9c53f6a0e7c059f46c9e446e1396ede06d4a0958 | /Week4/Code/HO-17.R | 064b08ee25b135d4c7c960a31743b343d18205ea | [] | no_license | tisssu/CMEECourseWork | 9f5dd832b7d227fccd85ea27199953858428d2ae | 31482f38cb0fe0a60025ce864f59a1372e583f32 | refs/heads/master | 2020-03-30T19:31:48.387316 | 2019-08-29T13:02:41 | 2019-08-29T13:02:41 | 151,547,136 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 434 | r | HO-17.R | rm(list=ls())
graphics.off()
hairEyes<-matrix(c(34,59,3,10,42,47),ncol=2,dimnames=list(Hair=c("Black","Brown","Blond"),Eyes=c("Brown","Blue")))
hairEyes
rowTot <- rowSums(hairEyes)
colTot = colSums(hairEyes)
tabTot<-sum(hairEyes)
Expected<-outer(rowTot,colTot)/tabTot
Expected
#calculate X^2
cellChi=(hairEyes-Expected... |
6f10eb586dad05b3cc9dda74703fbdee8e4eae67 | 3c3b9355189c483b1a6d13cc4a7a3c1ba3c66842 | /inst/templates/GOMFOFFSPRING.Rd | e7918fb3962e1feb771ab85143e8de8d014fbac1 | [] | no_license | SiYangming/AnnBuilder | 69cedc909988ca4323015ab34e80bc0f33bc0c1d | a353c7f1f6434233f9511b0e35b8b0928689734c | refs/heads/master | 2023-03-01T01:00:15.232713 | 2021-02-05T14:10:21 | 2021-02-05T14:10:21 | 336,283,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,408 | rd | GOMFOFFSPRING.Rd | \name{GOMFOFFSPRING}
\alias{GOMFOFFSPRING}
\title{Annotation of GO Identifiers to their Molecular Function Offspring}
\description{
This data set describes associations between GO molecular function (MF)
terms and their offspring MF terms, based on the directed acyclic
graph (DAG) defined by the Gene Ontology Co... |
82b14d1b2093526be817b4a2a8caa1a03c444c10 | 463ee9b27bfa20430e7b1589109b45b6dc5e0528 | /man/mpm.Rd | 0e682d92eb891560f394d989e2353369d996680f | [] | no_license | ianjonsen/mpm | c01c18e6b58deb7026cc8e13df3196e00b38e902 | 9b6cee656c99e30d9561a5c21685eb0ff79a83a0 | refs/heads/master | 2021-01-24T09:31:14.129774 | 2019-09-27T20:53:35 | 2019-09-27T20:53:35 | 123,017,931 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 957 | rd | mpm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mpm.r
\name{mpm}
\alias{mpm}
\title{Move Persistence Model}
\usage{
mpm(data, optim = c("nlminb", "optim"), verbose = FALSE,
control = NULL, inner.control = NULL)
}
\arguments{
\item{data}{a data frame of observations (see details)}
\item{... |
283f2fb0bcf53727d19a6f909b5c87640722ad04 | 1cce9f907f8b22ccb57303b4e7d419e8d4ffe3cd | /R/plotOneFit.R | cf70373060a6aa807d16ee93cbcd70699cd8201b | [
"BSD-3-Clause"
] | permissive | timpeters82/consensus | 81d39b8a27c8191e3bf8e2c43df9a88d008cd10d | 80e938a71d85efe500ad55fe09bcdbbff662b079 | refs/heads/master | 2021-05-10T15:51:40.417398 | 2020-05-22T02:49:49 | 2020-05-22T02:49:49 | 118,564,547 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 939 | r | plotOneFit.R | plotOneFit <- function(multimeas, idx, pal=palette(), ...){
if(length(pal) < length(multimeas@data)){
stop("Palette size must be at least the number of platforms/conditions")
}
if(!idx %in% rownames(multimeas@data[[1]])){
stop("Gene ID is not recognised. Check rownames of the data you passed to Mult... |
89b686932761d61dcb724918a1a1c7297aaab6c1 | c1b923adaaa7eea133eca4eaa065ab0c8bb3e36d | /server.R | 85bff08683b045639b00a40eaa031d203fc994de | [] | no_license | Silvosus/DevelopingDataProducts | d939404542b3547f16165e1680d1f4694ed5c733 | 11cd32cd4ce673ea9710f8580a74664212a80f3d | refs/heads/master | 2021-01-22T22:13:10.893677 | 2017-04-02T16:29:38 | 2017-04-02T16:29:38 | 85,518,908 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,930 | r | server.R | # This server.R file is part of the fourth Developing Data Products' assignment
library(shiny)
#library(ggplot2)
function(input, output) {
output$distPlot <- renderPlot({
if (input$dist == 'bern') {
#bernoulli
set.seed(428)
p = seq(0 , 1, length = 1000)
y = p * (1 - ... |
cb9fdc361da22e2e89b641d1970737810f3796b7 | 7d5d8492c2d88b88bdc57e3c32db038a7e7e7924 | /R-packages/GapAnalysis/R/gapAreas.R | 86eb6c849be34ade4e94bbef59303f366102fbe0 | [] | no_license | CIAT-DAPA/dapa-climate-change | 80ab6318d660a010efcd4ad942664c57431c8cce | 2480332e9d61a862fe5aeacf6f82ef0a1febe8d4 | refs/heads/master | 2023-08-17T04:14:49.626909 | 2023-08-15T00:39:58 | 2023-08-15T00:39:58 | 39,960,256 | 15 | 17 | null | null | null | null | UTF-8 | R | false | false | 1,814 | r | gapAreas.R | # Author: Julian Ramirez, dawnpatrolmustaine@gmail.com
# Date : December 2009
# Version 0.1
# Licence GPL v3
gapAreas <- function(pointdens, gthresh=10, evdist, ethresh=10, outfile='') {
if (outfile == '') {
stop('Please provide a valid name for your output file')
}
if (class(gthresh) != "numeric"... |
6f91961ccd621b934b60b688e6326492db4f078c | 9cfbc60f6152a3cd9399eeb4b913f2b6dbe5a86e | /agentmodel/man/novel.modi.Rd | ca0317f32f232fb326335cda28607068a7807188 | [] | no_license | joannasimms/peatlandagentmodel | 5d9bccdb355f535a8b33a9afce88aa1dab811f8f | a58b832ecfb2eb6fe452439c4be31606e40b11da | refs/heads/master | 2023-07-25T02:35:16.323792 | 2021-09-06T19:35:35 | 2021-09-06T19:35:35 | 401,614,130 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 237 | rd | novel.modi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coefficients.R
\name{novel.modi}
\alias{novel.modi}
\title{Novel crop modifier}
\usage{
novel.modi(pop)
}
\description{
Demographic changes taken from LUKE.
}
|
a8e7877ef5d003e89319595c907fbd0c482975df | e031ec65e8c0648ca1a0cf41279a9e405d34ebf6 | /man/r.auc.gini.Rd | 089dcf478ae4563aa0f5ed52b623f2b9b82e6fa3 | [] | no_license | rocalabern/rmodel | f77486fd914941e939ff2e57f143c3e453277c0b | c0e663746d97a2a42237861ad90eeb73e2312b45 | refs/heads/master | 2020-04-06T06:49:26.113322 | 2016-09-05T14:11:06 | 2016-09-05T14:11:06 | 15,023,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 196 | rd | r.auc.gini.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rmodel_modelevaluation.R
\name{r.auc.gini}
\alias{r.auc.gini}
\title{r.auc.gini}
\usage{
r.auc.gini(score, target)
}
|
d4cdf3a86cd3993d9c70288a222d5d8c92936297 | c0c01af0eb7874f9b49f9e8bc6b7f1002ffcf254 | /cachematrix.R | d65abcf40df1f2b1612102b327050f58c8525bfe | [] | no_license | helixstring/ProgrammingAssignment2 | da06435f3f41568ecc91bb560d15d34eb44a29c6 | fb5a48238ca04aea499dd361f80602e04a6ed199 | refs/heads/master | 2021-01-19T11:28:58.078288 | 2017-04-11T21:30:50 | 2017-04-11T21:30:50 | 87,969,487 | 0 | 0 | null | 2017-04-11T19:03:53 | 2017-04-11T19:03:53 | null | UTF-8 | R | false | false | 1,957 | r | cachematrix.R | ## This is a function containing two subfunctions. The 1st one is called makeCacheMatrix.
## It basically is like makeVector in the example of the assignment, which creats a special
## matrix containing functions to: 1 set the value of the matrix 2 get the value of the matrix
## 3 set the value of the inverse 4 get th... |
ee00fbc3be63435209438a07ed1956caaa89899e | 2632c34e060fe3a625b8b64759c7f1088dca2e28 | /man/comp_choirbm_glm.Rd | 4ba0c3bbca3565178df09fdc9d62d91bebbd161f | [
"MIT"
] | permissive | emcramer/CHOIRBM | 0319103968ac662cbec472585b9b2accfdea96b1 | 178c6833e1235c8d7f4d0fae9f550860eb7f36a3 | refs/heads/master | 2022-11-25T08:12:15.576043 | 2022-10-28T19:57:40 | 2022-10-28T19:57:40 | 329,775,974 | 5 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,053 | rd | comp_choirbm_glm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/comp_choirbm_glm.R
\name{comp_choirbm_glm}
\alias{comp_choirbm_glm}
\title{Examine the effect of a continuous variable on CBM location endorsement}
\usage{
comp_choirbm_glm(in_df, comp_var, method = "bonferroni", ...)
}
\arguments{
\item{in_d... |
a2f473c63366824b8d768a67ae5ea192d5a014e6 | 7594a119bfad01361c95676992b597f0e8619414 | /data/taxi_trip_demo.r | 6ce5419fa2229efa9c0803f1e336f4fca05c1647 | [] | no_license | DeMoehn/Cloudant-nyctaxi | 1a026a55ca77255d90fc1104d80dc2e9f75ebb0f | ad6352218e80c5636b97133bc5a5d27603dc92d3 | refs/heads/master | 2021-01-17T07:33:46.669560 | 2016-06-14T09:30:15 | 2016-06-14T09:30:15 | 40,601,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,849 | r | taxi_trip_demo.r | library(ibmdbR)
#Init
library(ggplot2)
#Connect to the database
idaInit(idaConnect("BLUDB","",""))
q <- ida.data.frame('"NYCTAXIDATA"')
names(q)
#Select only trips from Madison Square area to JFK
bdf <- q[(q$PICKUP_LATITUDE>40.759988)&(q$PICKUP_LATITUDE<40.765693)&
(q$PICKUP_LONGITUDE>-73.976693)&(-73.967... |
ad6e471c53f441ef96798720716c47a3647d75fb | 14e847798b6f1fe97a563a7fd899576235d03acd | /server.R | a91f43bbe9a6e49eaf99cb250567b2dc2b1dc654 | [] | no_license | matschmitz/MREG | 17b2f2d2dd83fc67fe395826f76d92770372beff | 04cab2fabd6c711f611787ef1929459ecb2de068 | refs/heads/master | 2022-12-30T07:44:07.135046 | 2020-10-21T18:31:31 | 2020-10-21T18:31:31 | 306,112,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,542 | r | server.R | library(shiny)
function(input, output) {
getb0now <- reactive({input$b0})
getb1now <- reactive({input$b1})
getb2now <- reactive({input$b2})
getb3now <- reactive({input$b3})
output$mainPlot <- renderPlotly({
b0 <- getb0now()
b1 <- getb1now()
b2 <- getb2now()
b3 <- getb3now()
# b... |
e4a99c7c3269c2ac2da750add6cf3c4377d0df7e | 7b842e47b36c5eccaee6b71c77e22519b49c0168 | /R/07-datagroup-obj.R | 059e7d2e39776582b2e42b46374744cd2c162bbb | [] | no_license | cran/geoknife | 5dc92ca0aa7e7afe2afac3fd848e3b7fc99c07c4 | e6dba004a958f5954317cfcd7faaec1d8d094ae9 | refs/heads/master | 2023-07-20T09:34:10.506446 | 2023-07-06T07:00:12 | 2023-07-06T07:00:12 | 48,080,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,152 | r | 07-datagroup-obj.R | #' datagroup class
#'
#' contains collections of webdata that can be processed with
#' \code{\link{geoknife}}
#'
#' @slot group a list of webdata compatible elements
#' @rdname datagroup-class
setClass(
Class = "datagroup",
representation = representation(
group = 'list')
)
setMethod(f="initi... |
c759fea39ff7c70e4fe8c269e8b7774c2c674c40 | fc35a2c3874c7a710154772e56fecac1ff379a6d | /CleanCode.R | 63718851f658e8af6d266ed886b39d2f61f98500 | [] | no_license | busatos/DSPG | ad107859d12588688e72d7b42216dc65e5a73c23 | cfe091e90e912eb9e75c1d9dcde6ed29b52fdb22 | refs/heads/master | 2022-12-09T22:07:07.741404 | 2020-08-19T23:55:11 | 2020-08-19T23:55:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,884 | r | CleanCode.R | library(plyr)
library(tidyr)
library(naniar)
library(ggpmisc)
library(tidyverse)
library(lubridate)
library(RColorBrewer)
library(directlabels)
library(gridExtra)
library(gtable)
library(grid)
library(lubridate)
library(readr)
library(broom)
library(hydrostats)
library(stargazer)
library(GGally)
library(zoo)
library(ka... |
a53d394ca1d87a30009b5ab968b1991e7ae060d3 | 8fa0976a8976d738b9ce034717c357d31ff7d261 | /utilities/house/nytimes.R | ed3394ff8b7058909e1abfef4d870a2d654607d3 | [] | no_license | USStudiesCentre/115th-senate | ef63d83692c173559193c071ba9aeb9dceb5d790 | d37df5e62a182844fcde6bedddadb3b5841ed372 | refs/heads/master | 2021-01-21T12:27:31.071960 | 2017-09-11T05:55:02 | 2017-09-11T05:55:02 | 102,070,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 881 | r | nytimes.R | ## loop over the unique entries in member data base
## get NYTimes bio info
## loop over ids in h112Member
## member info
source("processMemberData.R")
legisData <- getMemberData()
counter <- 1
library(RMySQL)
for(id in legisData$nameid){
out <- extractNYTimesMemberData(id,congress=112,chamber="House")
if(!is.nul... |
8812936c3668b81932e6f32ca5315e5d694d2d8e | 4fda4291ed5f30c9110866db54d966766dd27a56 | /man/pnsdrm.Rd | 96e0f512b5ceb74d185dcd90ad136b9f1781bc04 | [] | no_license | cran/mrdrc | ad24d0609eecf34b926c70415a3125453425958b | 3dc543f1ebc5a45c676cb748c003fe4c2ce60484 | refs/heads/master | 2021-01-22T07:32:24.973345 | 2011-04-12T00:00:00 | 2011-04-12T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,681 | rd | pnsdrm.Rd | \name{pnsdrm}
\alias{pnsdrm}
\alias{pnsdrm.calc}
\alias{pns.plot1}
\title{Parametric, non-parametric or semi-parametric dose-response modelling}
\description{
Parametric, non-parametric or semi-parametric dose-response modelling of both continuous and quantal data.
}
\usage{
pnsdrm(predictor, respo... |
110e4e4b2c57f4c6e58a8923152dc3e77b3ee023 | dcdce563dc89b47cea2bcfee8ee608c291fdc2e9 | /man/sgnf.Rd | 2a6476a0da6d183522cb987d5ba14c1238673874 | [] | no_license | cran/CombMSC | cb4412f580013286fb28a69303cc8077be926476 | b17252d5f1924a5a7122fb20c6b9e307b41c80cc | refs/heads/master | 2021-01-22T05:15:50.935459 | 2019-01-04T17:23:10 | 2019-01-04T17:23:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 615 | rd | sgnf.Rd | \name{sgnf}
\alias{sgnf}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{ Significance of an msc object }
\description{
A convenience function which calculates, for each summary function of the msc object,
the difference between the best pure MSC and the best combined MSC (i.e., how much... |
d99446646119e2b876d0607316bfbfc538f5e0e0 | 7c45e9b0e2c61db6eb6774575c1b879a5b899d2e | /exportando/matrizConfusion_to_matrizDiferencias.R | 784b5f664a7c28f77fe6850c155a2193408bf4fd | [] | no_license | danyche2005/clasificadoresJerarquicosAddClass | d6a88d4d5a67182440022dd6f224a4833a524273 | c135fc8028c670c296c4c415bbd984c12f0cb4be | refs/heads/master | 2021-09-15T04:41:16.092429 | 2018-05-26T09:54:31 | 2018-05-26T09:54:31 | 109,820,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,680 | r | matrizConfusion_to_matrizDiferencias.R | mconfusion2oMDiferencias <- function(tablaConfusion,metodo="chi"){
tablaConfusion<-t(tablaConfusion)
#Metodo Propuesto
# 1
if(metodo=="propio"){
#Genero la matriz Totales:
nrocolumnas<-ncol(tablaConfusion)
nrofilas<-nrow(tablaConfusion)
... |
df46df9362747254413f4db69da888f15abd72a1 | dabbcf74c9ab630c9946091d1cd964ffceff1a62 | /Datacamp_Sandbox/ImportingData_Sandbox.R | f6e4dfeb43b109b824166f3da50d809773386152 | [] | no_license | FilipRychnavsky/SandBox_for_R | 9afb3d4c8c4c9b5398bc84cfbc3336ebc7298c44 | b53c2a5c6cc81e8253b149fd984ccb262def5349 | refs/heads/master | 2023-02-17T21:24:17.362750 | 2021-01-19T20:46:07 | 2021-01-19T20:46:07 | 81,656,191 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 42 | r | ImportingData_Sandbox.R | #install.packages("readr")
library(readr)
|
8baf006a03a957ec498a14969eef6f269c194205 | 0ee28ea496025a24b5a91af6bbdc93bb3d24a179 | /gRumble/man/RotData.Rd | b43bda1f46071a159766dd378d092fa1202f3c26 | [] | no_license | MBayOtolith/gRumble | 43c2142ae9f3f26baa3d39b4c23afd09c22795d0 | e0bb07972a37a55f25ef85de46d090aa3bec6d19 | refs/heads/master | 2021-06-19T02:56:12.168349 | 2020-04-21T20:54:42 | 2020-04-21T20:54:42 | 90,801,975 | 4 | 0 | null | 2019-01-15T19:23:49 | 2017-05-09T23:50:57 | R | UTF-8 | R | false | false | 763 | rd | RotData.Rd | \name{RotData}
\alias{RotData}
\title{
Rotate XYZ data
}
\description{
Rotate a series of XYZ data points by an equal number of XYZ rotation angles
}
\usage{
RotData(xyz,Xr,Yr,Zr)
}
\arguments{
\item{xyz}{
3 column XYZ data to be rotated
}
\item{Xr}{
rotation around X, roll
}
\item{Yr}{
rotation around Y, pitc... |
2c2aa655bd97a981e8ee43eea7b27213a1900550 | f99e6d183f97de1bae65a24d15738b1fae956398 | /man/parse_section.conduit_surcharge_summary.Rd | 37170a6d04c9163a9d1a1f9191b9d8d0be795384 | [] | no_license | dleutnant/swmmr | 30b985d4f14adadc432f7aac4fae57e3bf29a006 | 820fe76a47cf7a0ca2547ce35920aa30de94207b | refs/heads/master | 2023-05-25T21:32:34.072990 | 2022-02-02T09:43:32 | 2022-02-02T09:43:32 | 42,933,610 | 39 | 16 | null | 2023-05-11T03:50:29 | 2015-09-22T12:56:05 | R | UTF-8 | R | false | true | 328 | rd | parse_section.conduit_surcharge_summary.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse_section.R
\name{parse_section.conduit_surcharge_summary}
\alias{parse_section.conduit_surcharge_summary}
\title{import helper}
\usage{
\method{parse_section}{conduit_surcharge_summary}(x, ...)
}
\description{
import helper
}
\keyword{in... |
b5595805497183368e255454a20bb18a045db2cd | d62c4ae3e2b435d543d256cd639395a7c2649c39 | /3def5bca-443c-4104-943e-e6412c443d5e/R/Temp/aLvZUWYvpFt86.R | 988ebc0824bf3645ae4bcf46fd259ad6e9735095 | [] | no_license | madhurashah/semoss-school-management | 635e544db2d7405a646dec17e6318f5cb8a26755 | 823238f46ea33672aabfac524767245b80e3c72d | refs/heads/master | 2020-08-24T07:47:17.347343 | 2019-10-22T10:34:56 | 2019-10-22T10:34:56 | 216,787,720 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 234 | r | aLvZUWYvpFt86.R | with(a86a739866fef48508e1c741e5aa12857, {ROOT <- 'D:/xampp/htdocs/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/School Management__02a1ac40-a208-4774-ad41-b2882fed4529/version/3def5bca-443c-4104-943e-e6412c443d5e';rm(list=ls())}); |
47b332c5215368a1ae4206fc0ed585c48cc3383b | 4bd7b025698ca334c8cbb1e9af78f3cec0c5580b | /intror/hw2/complete.R | 173d27ffaee1ff22f275d105bb6deaef94e53ac6 | [] | no_license | adithep/datasciencecoursera | 6eded7bf28272bf5b4fb5b633cad890cf43d0ec5 | a3dfa78cae0d0c5d0e164953af7fc81109c174da | refs/heads/master | 2021-01-01T19:51:31.727759 | 2014-10-27T11:11:20 | 2014-10-27T11:11:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 451 | r | complete.R | complete <- function(directory, id = 1:332) {
if (missing(directory)) {
stop("need directory!!")
}
if (missing(id)) {
stop("need id!!")
}
kd<-do.call(rbind, lapply(id,function(fn) {
filenam<-sprintf(fn, fmt="%03d.csv")
filename<-paste(directory, filenam, collapse = NULL, sep="/")
m<-read.c... |
a25ade6b449747805beae89e6fd26997c1d0f840 | e8aa3475ff59827015f6e319e07452e26bc7ebfc | /extras.dse4KSS/check.dse2.R | ee9ba1ecad482d2ce3d714ba018e8592e5f952dc | [] | no_license | zejiang-unsw/esd_Rshiny | 76bc8c387f233ff6bf4f4dfeb9fda02ba7b98924 | 65ad96bbd4ce4b03f5d5b29255f12fb033e525f5 | refs/heads/master | 2020-12-22T19:45:20.233992 | 2019-02-08T13:08:52 | 2019-02-08T13:08:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 649 | r | check.dse2.R | ## Test the downscaling for wet-day frequency
library(esd)
param <- 't2m'
i <- 1
ip <- 1
files <- list.files(pattern='dse.kss',path='~/R/Rshiny/dse4KSS/data',full.names=TRUE)
files <- files[grep(param,files)]; files <- files[grep('eof',files)];
print(files[i])
load(files[i])
pca <- zoo(Z$pca[,ip])
print(Z$info); pr... |
1a822022f2101eeb03a1af8bf13e76291f2ec60f | 27881be50d11de35841e83342a5df3ee355c17fc | /R/fit.gam.R | afb9c7424f20c658547cee267173a04b68697ee9 | [] | no_license | cran/robustgam | 6c6b28e19020725f7b18980656d9ea2b0b8c5b2b | d7237e085bfedf13586a8a3681729f071f003dd7 | refs/heads/master | 2016-09-06T18:19:32.482474 | 2013-05-07T00:00:00 | 2013-05-07T00:00:00 | 17,699,303 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 117 | r | fit.gam.R | fit.gam.sp1 <- function (Ry, RB, RrS, Rfamily)
.Call("fit_gam_sp_cpp", Ry, RB, RrS, Rfamily, PACKAGE = "robustgam")
|
8b7d358d0d0a0bb614a455154c1fbf3f8eb22b73 | 2193494cca453ee22ef9e5e42f87bcd2c28e435b | /CRISPRi/Guide_design/Step2_Get_All_potential_CRISPR_guides.R | 20e1c5fd07be985898fe2d99454969392ed8e995 | [
"MIT"
] | permissive | Christopher-Todd/Todd-eLife-2019 | 63f527dbfc44e4b19d7cc83c37e196be7927f92a | b928214cd4862d11a013c6ea32cebff3198060fd | refs/heads/master | 2020-05-18T16:55:15.591713 | 2019-05-31T07:16:52 | 2019-05-31T07:16:52 | 184,538,582 | 5 | 2 | null | 2019-05-23T12:45:08 | 2019-05-02T07:25:22 | R | UTF-8 | R | false | false | 2,426 | r | Step2_Get_All_potential_CRISPR_guides.R | #### User Inputs ####
#Set working directory
setwd("~/Guide_design")
#path to input fasta file
repeat.fa.file="~/Guide_design/RLTR13D5.fa"
#set output file name
output.name = "all_guide_hit_mat.txt"
#### Script ####
##getting and formating guides from fasta file
fasta = scan(repeat.fa.file, sep='\n', characte... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.