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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0e1f74cdd307c6ccd87e538db29462fa6eca8df7 | 417b44d377cc158e86bfd65830da272169672512 | /Assignment 2/Xiaocheng-Song/cachematrix.R | d96d301d7a493a41c1bf755870434abab3c61aec | [] | no_license | hanxu-ust/R-Programming-Assignments | a6cdc7a0bdcdffbde324d1c2e613fd31af5955f1 | 4b7db24572ec8fda359ca31e51df30977297e58e | refs/heads/master | 2022-08-11T13:34:41.594744 | 2014-07-14T01:54:37 | 2014-07-14T01:54:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,149 | r | cachematrix.R | # This .R file contains the code that improves the efficiency of matrix inversion
# by caching the inverse of a matrix rather than compute it repeatly.
# This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
inver <- NULL
set <- function(y) {
... |
f58b3e4afee920637532e1f80d888e1ea5038d3f | 495f786e2661b3e9e2174210ab0567dfc91b4629 | /carTools.R | afde7b6f0ac08c10e002f678dd3333ad49459133 | [] | no_license | jlisic/simCrop | c1dd543f766e9f092eec0f5a321ec796f67c64a8 | 8b45f6c954168e499bb9a14368287e9f73a9c15b | refs/heads/master | 2016-09-06T13:04:48.101659 | 2014-01-01T18:19:07 | 2014-01-01T18:19:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,229 | r | carTools.R | ########################################## carTools.R ###############################################
# A set of tools to simulate CAR models
########################################## LIBRARY ###############################################
library(msm) # for rtnorm
library(mvtnorm)
library(Matrix)
###########... |
86f4a0f62eed695b07d9febbebd3fc0f0d9a1b64 | 58a7deca4d7fba2d98adb6fc392057627e08a3e6 | /Main.R | 769c1c20a8d6bb84b426a38119dcdbc842683ee8 | [] | no_license | priyankaghule/LegalNLP | 0d97fa501f756e7ed1be31e7a14ec18ad5953250 | 1a0e6fd0b0a2e358de67225872c25b52e4146c84 | refs/heads/master | 2021-05-16T11:53:27.688526 | 2017-09-28T11:13:35 | 2017-09-28T11:13:35 | 105,138,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,618 | r | Main.R | source("NLPFunctions.R")
library(XML)
# 1. Get the Text :: Converting pdf to text file
pdfToText <- pdf_text("Docs/ordjud.pdf")
# 1.2 Preprocess the text
sentence <- preprocessText(pdfToText)
words <- getSplitWords(sentence[1])
# 2. Get Court Name
matches <- which(words=="bombay")
if(!is.null(matches)) {
courtName... |
c27934973b75f44ef120af205bbe2e65c2eaf72d | db371233a68bafec28889de24dd7a847b0847121 | /cachematrix.R | d9d5c0eb2415d2cc01b9c1bbc24f073439b98d0a | [] | no_license | vvazquezcardenas/ProgrammingAssignment2 | be2875c32110594620656a6e7c3a2c165a3db456 | e8a3c64c86c80c59c8ab58ba440293ab5f91c60e | refs/heads/master | 2021-01-18T03:51:59.678376 | 2016-01-24T16:24:42 | 2016-01-24T16:24:42 | 50,271,336 | 0 | 0 | null | 2016-01-24T04:00:47 | 2016-01-24T04:00:43 | null | UTF-8 | R | false | false | 1,396 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
##Function “makeCacheMatrix” creates a special matrix object that can cache its inverse.
##makeCacheMatrix contains 4 functions: set, get, setInverse, getInverse.
##get is a function that returns the vector x stored in the main functio... |
49788d7bbcdeb4237abdbcb7ace03cabf72d9708 | c49dcdeaf949f17f4db52cb123fabb1dc2951997 | /codigo/0-sintaxis-elemental.R | 73b22ac5805992aa3c37f816ce61f89c75826ef4 | [] | no_license | rcontreraso/intro-R-CCSS | 3b69b3276d562d76cf42d79687dc245aa93ada88 | 82f5d1e2bd3e06757d4bac8f59a3b81a34816f71 | refs/heads/master | 2022-11-16T06:17:38.434015 | 2020-07-17T21:00:46 | 2020-07-17T21:00:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 828 | r | 0-sintaxis-elemental.R | # INTRODUCCIÓN A R PARA CIENCIAS SOCIALES
# ESTACIÓN LASTARRIA - JULIO 2020
# PROFESOR: FELIPE RUIZ
# Signo gato permite incorporar comentarios.
# Botón "run" o ctrl+enter ejecuta línea en donde esté el cursor
X <- 5 #asigación básica --> Aparece en entorno.
X # Muestra su contenido
X <- 1455 #Se puede sobreescribir... |
4a99cbb856a574065c4663cbd6de300d737332f6 | 63ea46174c3632dee435d1d740ef6ee1ba6f612a | /R/MS_STX.R | aa56e6b44496403809d53db56a564a56eaf610fa | [] | no_license | ZhuLeZi/leplant | 17844e1d591d0f8a01de43571e5e921bdfa09133 | 31cfa55929503ac84b5c7f3f604702d84131cb45 | refs/heads/master | 2022-01-17T08:30:08.986475 | 2019-06-24T13:22:08 | 2019-06-24T13:22:08 | 168,328,516 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 237 | r | MS_STX.R | MS_STX<-function(sp){
mt<-SHX(sp,by='stx',out='table')
mt$ms<-paste(mt$水分生态类型,"植物有",mt$种数,"种,占总物种数的",mt$百分比,"%",sep="")
jg<-paste(mt$ms,collapse = ";")%>%paste(.,"。",sep = "")
jg
}
|
c1e49a20f97a2122ef8f08d48d98247cdc0e6a75 | cf7315014b033ca6eb334eeb79595dab09a7b9ee | /man/plot_exposure.Rd | 842811dc5d3802839adf63eb2edecb0c39ee3244 | [] | no_license | yoshi-ra/purexposure | cbcb97a323b90365ba5115dc2846240ef456e94d | 0183ba40b0df4fb03fb4303a788bc1304587e30d | refs/heads/master | 2023-08-23T02:07:31.140582 | 2021-10-21T04:16:44 | 2021-10-21T04:16:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,605 | rd | plot_exposure.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/05-plot.R
\name{plot_exposure}
\alias{plot_exposure}
\title{Plot exposure to applied pesticides at a location.}
\usage{
plot_exposure(
exposure_list,
color_by = "amount",
buffer_or_county = "county",
percentile = c(0.25, 0.5, 0.75),
... |
c23ae0a3d6ecb5651946917a1c9e84c7f2e94092 | 9dcfe093f403265baceeb60711ab2b8d948a149a | /FStests/false_discovery_rate_package.R | 42d48f27ca3f1fec67cd656c48c9a80d40142a83 | [] | no_license | ruthlorenz/stat_tests_correlated_climdata | c326adf115816d73cace13a7a6330cd09936c9c2 | 9297a3b12d994c0058f6e65611edb2cac207620c | refs/heads/master | 2021-01-10T04:34:00.992103 | 2016-02-24T13:26:25 | 2016-02-24T13:26:25 | 51,578,030 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,287 | r | false_discovery_rate_package.R | # function to check field significance with False Discovery Rate
# Wilks 2006, J. of Applied Met. and Clim.
# p_val = P-values at every grid point, h_val = 0 or 1 at every grid point,
# depending on significance level
# K = total number of local t-test, nlon*nlat if all grid points included,
# otherwise sum(!is.na(data... |
889e7b38a8aebbf898e7e021a666dd8cce7a3f11 | c77912aed1bf388876c8a973857be340d76466fb | /apps/dashboard/ui.R | ad6f0f759305e234a600e9ecb267b3993c92f9e4 | [] | no_license | global-trade-alert/ricardo | 12f09219694e84466008726c76d3add6c11797be | 6382834205e0655603171ec65438aee51e0a2f11 | refs/heads/master | 2023-03-23T02:09:17.363763 | 2021-03-17T15:32:02 | 2021-03-17T15:32:02 | 254,600,436 | 0 | 0 | null | 2021-02-03T11:01:58 | 2020-04-10T09:52:03 | R | UTF-8 | R | false | false | 353 | r | ui.R | # Module UI function
dashboardui <- function(id) {
# Create a namespace function using the provided id
ns <- NS(id)
tagList(
tags$div(class="removeui",
tags$div(class="dashboard pad-container",
tags$div(class="panel-grid",
uiOutput(ns("appPanelsOutput"))
... |
3c21d664bba7a9c8c94fe7e7113f618132164ad6 | e81fb6deb4465df65a96be76218f08bb65f2abab | /R/cov.remover.R | 52f0e46b75cb1f18d3f319fec5e50ec2183ba484 | [] | no_license | akivab2/Analyze4CPackage | 2f62edfc79592d4be88b7cfff560c85ccd3fc1c0 | a232d4fb7b027d330eb48530db724fbe63300c08 | refs/heads/master | 2021-03-24T12:35:28.346212 | 2018-07-09T16:39:22 | 2018-07-09T16:39:22 | 95,444,706 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 930 | r | cov.remover.R | #' @export
cov.remover <- function(data,remove)
{
data_pos <- data[which(data[,3]>0),]; #getting the positive REs
probs <- 1-(data_pos[,3]/sum(data_pos[,3])); #getting the relative part of reads for each RE site from sum of reads. we do 1 minus this number since we want those with less reads to get a higher sco... |
ab6ffefbc53cafe98453168fc5399079237bf7a4 | e8bd387242529cdc6484013f91e2671c4da69036 | /man/EquityPtf.Rd | 90919083fd79e310ff9d5df619c99c389f5c20b1 | [] | no_license | jianboli/RBacktesting | 82e333add7a2e95ef96e86ae5ff64741e0daa1fb | f258be48c08a962b660337c861cef706563d1411 | refs/heads/master | 2016-09-06T10:03:50.862755 | 2015-10-23T19:27:51 | 2015-10-23T19:27:51 | 25,362,815 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 354 | rd | EquityPtf.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/EquityPtf.R
\name{EquityPtf}
\alias{EquityPtf}
\title{EquityPtf Class (S3) Constructor: this is a portfolio of equities}
\usage{
EquityPtf()
}
\value{
Generate empty EquityPtf object
}
\description{
EquityPtf Class (S3) Constructor: t... |
1839db7e30d34fbe5c4eaa2ef0272246ae6cd8f9 | c5e562151f1725747a233647570b758066f12165 | /pop2.R | 20bc96903a6e046e9daa02f5be8042ef5e048804 | [] | no_license | kmcguire2/chem160module13 | ba515ed1b29fa773be7c83465c6bb5da1a53e0d8 | b8857a91078bfd844158cd87c685e4a8ed8f9369 | refs/heads/main | 2023-01-10T00:40:22.192413 | 2020-10-31T19:56:21 | 2020-10-31T19:56:21 | 308,961,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 330 | r | pop2.R | #Logistic model, Mathiusian model up to a carrying capacity
pop <- 100 #initial population
pop.hist <- c() #empty vector
r <- 0.05 #growth rate
K <- 1000 #carrying capacity
#changes over 150 time steps
for (i in 1:150) {
pop.hist[i] <- pop
delta.pop <- r*pop*(1-pop/K) #change in pop
pop <- pop+delta.pop
}
plot... |
9215498b856755eed214d749a99082193574689a | 2cdb135e648cbf6f78a5b55b424f8bdb13f5c140 | /scripts/Sortingattempts 7-27-16.R | b81c3977a7d1824b73e62f752b3fac6c04625f3e | [] | no_license | Fairlane100/SOTL-project | 89c234d5078ea1b9d110791cd688aafb99f9d150 | 1ea832f0e39b96836c2e916a16ffa43bc11a574c | refs/heads/master | 2021-01-20T19:42:02.219274 | 2016-12-01T20:15:57 | 2016-12-01T20:15:57 | 46,145,850 | 0 | 0 | null | 2016-09-16T18:46:47 | 2015-11-13T20:35:12 | C# | UTF-8 | R | false | false | 534 | r | Sortingattempts 7-27-16.R | #sorting corpus based on word frequencies
# need to have word.freqs file loaded
#do two sorts based on term frequency and doc frequency
str(word.freqs)
str(termfreqs)
sorted.wordfreqs.termfreq <- word.freqs[order(-word.freqs$term.freq), ]
write.csv (sorted.wordfreqs.termfreq, file ="sorted.wordfreqs.termfreq.csv",)
s... |
dccf3af9dbd819ee19b678d57982e0dfa8e52f61 | c19c05198442c22aace62cd1c8177adb6533da6d | /temperatureAnalysis.R | e604f262eba33c86cef593ca132f1a4ffb5014f2 | [] | no_license | pinskylab/NJNC-Larval-Analysis | 17e9f1411a52aed0d8cdae8420b95f32b140b258 | 23d76306d877babffa8ae3a2f8efbdcffc1b15fd | refs/heads/master | 2020-03-19T02:26:22.658104 | 2019-02-20T20:14:24 | 2019-02-20T20:14:24 | 135,628,617 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,569 | r | temperatureAnalysis.R | setwd("~/Desktop/Analysis/TemperatureAnalysis")
library(ncdf4)
library(raster) #manipulation
library(rgdal) #geospatial analysis
library(ncdf4.helpers)
library(abind)
library(ggplot2)
library(dplyr)
library(gridExtra)
#This is the data from the daily time-series (NOAA 1/4° x 1/4° resolution)
NJNCtemps1 <- nc_open("198... |
170e4fa98e7c9ce2383246480e055463aa89d63d | 0cf8414c923f5b7d611502211915118ed19b3697 | /lib/train_final.R | 3f0c06db000fd9e81521034aed06f3871d7af3f1 | [] | no_license | xiuruoyan/Dogs-Fried-Chicken-or-Blueberry-Muffins- | 5228954a095f1ff815fc836f54cbf3184ede2b41 | 0bfd382bd46aac8dd3fdd8daf132ef2f1f00cf2d | refs/heads/master | 2020-04-17T15:02:28.353551 | 2019-01-20T20:26:00 | 2019-01-20T20:26:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,268 | r | train_final.R | #########################################################
### Train a classification model with training images ###
#########################################################
### Group 7
### ADS Project 3 Spring 2018
train <- function(dat_train, label_train, params=NULL,
run.gbm = F, run.svm.lin = F,... |
02380f2d8036159fd090377aabd671242e132583 | 7dbddae9e805bfa528d282c2174e3d7b75b43dbb | /man/sigma.blblm.Rd | 154623737c9aa9dc7babf116fa286bf8dca09c16 | [
"MIT"
] | permissive | ggsmith842/blblm | 945f64f6a9434fa149a32ea70793100ada08da6e | 7d9386f8e91d2a7b1480bd4d790b41d74707ea87 | refs/heads/master | 2022-10-17T17:23:31.830568 | 2020-06-08T19:38:42 | 2020-06-08T19:38:42 | 267,986,434 | 0 | 0 | null | 2020-05-30T01:16:59 | 2020-05-30T01:16:59 | null | UTF-8 | R | false | true | 460 | rd | sigma.blblm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/blblm.R
\name{sigma.blblm}
\alias{sigma.blblm}
\title{calculates sigma from the blblm}
\usage{
\method{sigma}{blblm}(object, confidence = FALSE, level = 0.95, ...)
}
\arguments{
\item{object}{a blblm result}
\item{confidence}{creates a confi... |
d651904f9019c1aca9ba35ac6cca771383b4ba43 | 51b0a4aa4fe3b603f897724be6294169f0561557 | /R/extent.R | 95b1baf719e33fb499693341baf69cb98dca41ca | [] | no_license | saraorofino/climate | 06053015f01699901fe89a939877aa2d9fafb68c | 9018ee28d1f219e6665b553773c495e03d9cf48c | refs/heads/master | 2021-03-05T04:40:35.630480 | 2020-03-16T02:53:55 | 2020-03-16T02:53:55 | 246,095,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,177 | r | extent.R | #' Describe rate of change in sea ice extent between two years
#'
#' Calculate rate of change in monthly sea ice extent in the Northern Hemisphere
#' @param year1 the earlier year of interest, four digit format (i.e. 1985)
#' @param year2 the later year of interest, four digit format (i.e. 1990)
#' @param ext data fram... |
e1d1ae9239250d42dcf33a8c23494a6934bb142d | 5a8f1569a8101e49749305939805a60144cca82b | /man/write.tree.string.Rd | 58ce5b1c93d0582ec7d79a46c08785a5acaf4b16 | [] | no_license | cran/phybase | 306986ccdc165a62ac56b190d9884f68712b1264 | d8ea06b72e176a07c0164e7e9f7ea66966b9f467 | refs/heads/master | 2016-09-10T00:59:33.002810 | 2008-03-25T00:00:00 | 2008-03-25T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 960 | rd | write.tree.string.Rd | \name{write.tree.string}
\alias{write.tree.string}
\title{ Write a tree file }
\description{
The function writes tree strings to a file in NEXUS or PHYLIP format.
}
\usage{
write.tree.string(X, format = "Nexus", file = "", name = "")
}
\arguments{
\item{X}{ a vector of tree strings }
\item{format}{ tre... |
0bcbe854708f97acdf9d2f7b370b0e53212ce870 | 9952bbc11691a7c0c505bba4a4513610d8a542ad | /man/prox_multilevel_ridge_nuc.Rd | 5a8e3e804185e6154d428de4ae53f9001506c803 | [] | no_license | benjilu/balancer | 9a6cbc24f4a4f87d2c9053791f0ce6befab09bd4 | 8af3cd9151c3d5156b6ee44b1252f86e16d489d9 | refs/heads/master | 2022-12-03T02:55:10.339926 | 2020-08-08T05:10:48 | 2020-08-08T05:10:48 | 274,989,853 | 0 | 0 | null | 2020-06-25T18:39:35 | 2020-06-25T18:39:34 | null | UTF-8 | R | false | true | 624 | rd | prox_multilevel_ridge_nuc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{prox_multilevel_ridge_nuc}
\alias{prox_multilevel_ridge_nuc}
\title{Squared L2 Prox for global parameters, nuclear norm prox for local parameters}
\usage{
prox_multilevel_ridge_nuc(x, lam, opts)
}
\arguments{
\item{x}{Inpu... |
ad838e8fc3c1362c026ff37d83d118ae3d655b26 | 46133a4c161f7153b4087aa67aa529621cfa2e3b | /analyses/DNR_SRM_20170902/2017-09-06-NMDS-for-Technical-Replication.R | 701027da9916e4405de84bdeecf685efcc09cc4c | [] | no_license | RobertsLab/project-oyster-oa | 8d245ba45ebdce9eb4b4914febd65406e2a06de7 | d0ec0ed733414b7d5e1e2eb489fa75c03bc3335a | refs/heads/master | 2023-06-26T12:59:03.306502 | 2023-06-18T22:09:35 | 2023-06-18T22:09:35 | 68,737,231 | 2 | 4 | null | 2017-04-28T21:04:28 | 2016-09-20T17:38:13 | Jupyter Notebook | UTF-8 | R | false | false | 13,410 | r | 2017-09-06-NMDS-for-Technical-Replication.R | #In this script, I'll use an NMDS plot to see if my technical replicates are similar.
#### IMPORT DATA ####
SRMAreas <- read.csv("2017-09-12-Gigas-SRM-ReplicatesOnly-PostDilutionCurve-NoPivot-RevisedSettings-Report.csv", na.strings = "#N/A") #Specify Skyline's special way of designating N/A values
head(SRMAreas) #Con... |
6559ca132806366ad0fd7706f88ccd8592e3e28f | c5252a2e4fb25661599f0c514460166eac7af645 | /src/tutorial_bnlearn.R | bee50c3799e57d0cfc24c557cb8684f8d087e70e | [] | no_license | top-on/bayesian-nets | ce74d4a8df65970d40fee5235e76454f76a0dad3 | 49fd6e0091823c360713c0b1f9a9fab897449bf0 | refs/heads/master | 2021-10-08T08:35:54.189469 | 2018-12-09T21:39:34 | 2018-12-09T21:39:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 825 | r | tutorial_bnlearn.R | # TURORIAL ON BAYESIAN STATISTICS WITH R
# source: https://www.r-bloggers.com/bayesian-network-in-r-introduction/
library(bnlearn)
library(dplyr)
data(coronary)
# greedy learner of network structure
bn_df <- data.frame(coronary)
res <- hc(bn_df)
plot(res)
res2 <- mmhc(bn_df)
plot(res2)
# remove selected edge
res$ar... |
50e70cea9a1ede1c57cadf3106746c13363bca65 | eeb7441d2acd69b0db318b4d0ec9458675b0f418 | /ch3.R | 1e5d9cac599cfc8af0d864fa095e9c513ef98c93 | [] | no_license | yakneens/pagdur | 01d5adff619ddb2b3784dd6286c31ce0c4e5d0db | 58ed05d3415374120eed00fee1a007f0dab4e7a4 | refs/heads/master | 2022-02-09T12:28:41.647702 | 2016-04-28T14:40:03 | 2016-04-28T14:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,063 | r | ch3.R | library(RSQLite)
con=dbConnect(dbDriver("SQLite"), "SNPsmall")
animids = dbGetQuery(con, "select distinct animal from snps")
animids = as.vector(animids$animal)
hold = dbGetQuery(con, paste("select * from snps where animal = '", animids[1], "'", sep=""))
snpids = as.vector(dbGetQuery(con, "select distinct name from... |
8b6c2a6293b2520dd3db938055ef480a2fb5e03e | 79956e33b152bbdf55e631b31eeb375f268976b6 | /global.R | ba5f63d6a58474396dcf34a2540047d4305a3cd8 | [] | no_license | sakthivelan89/RShinyTwitter | 834544e6f1d5bcaeab652f8186684f97021ce890 | 9ed54e42ce4e33c752d8a216072ebf1e81f1bb32 | refs/heads/master | 2020-07-22T01:20:16.020519 | 2017-06-14T14:49:05 | 2017-06-14T14:49:05 | 94,339,936 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 169 | r | global.R | library(shiny)
library(xtable)
if (!require(twitteR)) {
stop("This app requires the twitteR package. To install it, run 'install.packages(\"twitteR\")'.\n")
}
|
b022c5c82f4466a501b9021eccade80baeff8188 | b1c0f88b081a05d267e9570f264fda772546d879 | /lib/Optimization/Algorithms/MetaHeuristics/GeneticAlgorithm/JSSOperators/HeuristicChromosome.R | 7c03e09737f0153e7fe739acf810727c88f8a5a5 | [] | no_license | pedabreu/OptimizationFramework | 71adf7f46025069b08b8187ca144038a2c464d6b | d04fc81eebdfd9e2cceb6d4df98d522161ba7ebb | refs/heads/master | 2020-12-31T07:19:00.219609 | 2017-03-29T00:07:20 | 2017-03-29T00:07:20 | 86,566,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 939 | r | HeuristicChromosome.R | setConstructorS3("HeuristicChromosome",function()
{
extend(Chromosome(),"HeuristicChromosome")
})
setMethodS3("calculateFitness","HeuristicChromosome", function(this,instance,...) {
## sched <- Schedule()
## sched <- sched$setInstance(instance)
heuristicPL <-this$genes
sched <- heuristicPL$genera... |
5c47c23b52636358d03865a8024b8a0bb60514ef | 5a23bf3c360eba7ab72e4f2584a1dccbb8eb6243 | /Figure_3.R | 65c0cdb0c40ac838342ac699a21e501d9ae7554d | [] | no_license | QYD720/Colonic-microbiota-is-associated-with-inflammation-and-host-epigenomic-alterations-in-ibd | 24b215ea27523ae3fe92c7c7982bbb0195367687 | 218c3286f0c8e3e08977916ca981d5c86f5c62c1 | refs/heads/master | 2022-04-09T14:34:49.955390 | 2020-02-19T15:09:50 | 2020-02-19T15:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,226 | r | Figure_3.R | library("ggplot2")
library("plyr")
library("ape")
library("ade4")
library("made4")
source("heatplot_generic.R")
library("reshape2")
library("gridExtra")
library("phyloseq")
library(dendextend)
library(phyloseq)
library(xlsx)
## GGplot Colors
gg_color_hue <- function(n) {
hues = seq(15, 375, length = n... |
ddb0bd511a298c281ae84716b6d25c019774fe80 | 8750116c64b8d9c6c0f4fba163f0a1fd31fa56c9 | /R/helpers.R | 920ac76007d3ed90044e02398b491c5c31bc8639 | [
"BSD-2-Clause"
] | permissive | statunizaga/isotree | ead2e9b97a21ff50cbac9b4df1af777093c577a4 | d4dca4e77f69a5f9018d0a13cdfa1ad29dae1f82 | refs/heads/master | 2023-06-13T23:25:53.690208 | 2021-07-17T15:00:25 | 2021-07-17T15:01:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 34,688 | r | helpers.R | check.pos.int <- function(var, name) {
if (NROW(var) != 1 || var < 1) {
stop(paste0("'", name, "' must be a positive integer."))
}
}
check.str.option <- function(option, name, allowed) {
if (NROW(option) != 1 || !(option %in% allowed)) {
stop(paste0("'", name, "' must be one of '", paste(al... |
f6e5ae634df8663a5a54442f440d004bf08fcfdf | 8d895fac78ba3472f622cccdc14a14877e312e07 | /GHCN/sept24.r | de8fb2c099e55c860136d2ebfcf4dc9288594275 | [] | no_license | ibrahim85/Cohen-McCreight | 4373cf29502b50bde2e5a8c33f60a0853f5a3ef7 | 578c8dc1f71f29f5c517cc913cdeed7270e71372 | refs/heads/master | 2021-01-18T05:19:19.804226 | 2015-04-06T21:26:28 | 2015-04-06T21:26:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,793 | r | sept24.r | require(reshape2)
require(plyr)
load("Stationwise.rsav")
load("CGSmeta.rsav")
str(Stationwise)
Stationwise$Stn_code <- as.character(Stationwise$Stn_code)
# ## fix DADRI
# whDadri <- which(Stationwise$Stn_code=='DADRI')
# Stationwise$Stn_code[whDadri] <-
# paste(Stationwise$Stn_code[whDadri],
# Stationwise$Pl... |
8461391ce249f6f6fdd2880fa0c202c82d38b4b3 | f5cbf4947775bb092220711eb5bd07befb34dd50 | /man/ScatterBoxplot.Rd | adcdd9bffecc89064c5b91861b3647446698edf4 | [] | no_license | stork119/SysBioSigTheme | b85fc96e1255a23d9aed0afe2f141cf140fb6314 | 0b541d31bde078ee5512dbb752f9049167e790ff | refs/heads/master | 2022-02-17T08:07:42.664487 | 2019-09-09T10:08:52 | 2019-09-09T10:08:52 | 188,425,237 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,122 | rd | ScatterBoxplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graphics_plots_ScatterBoxplot.R
\name{ScatterBoxplot}
\alias{ScatterBoxplot}
\title{ScatterBoxplot}
\usage{
ScatterBoxplot(data, x_, y_, point.size = 0.5, point.alpha = 0.1,
point.scale = 0.25, point.color = NULL, ...)
}
\arguments{
\item{x... |
e04e657a7ef2467fe50257f6883f029e680fa808 | 20506b0b407a133682e8c731e08f4530dcbf2c06 | /data-raw/robas_2_data.R | 819baea7a9b4a86fdb6aa40a264d4348d5f98f5a | [
"MIT"
] | permissive | ROBAS-UCLA/ROBAS.2 | df50542603318b2144e1e3b4cd8addaaa12b44c3 | 99af6935ab2432b1a8e388287842cf7820e98d8b | refs/heads/master | 2023-04-07T11:29:07.466782 | 2022-05-24T02:13:40 | 2022-05-24T02:13:40 | 439,480,289 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 168 | r | robas_2_data.R | library(readr)
library(dplyr)
robas_2_data = read.csv("inst/extdata/robas_2_data.csv", row.names = 1) |> as_tibble()
usethis::use_data(robas_2_data, overwrite = TRUE)
|
c34d4a8d21c6d077aa61523ec5436bb15741b9d5 | 8218c5e8a362673882278bbf58e42ebcd937dc86 | /rfp6/S01_code.R | 69e565a23364434b36ec1821dd97b7b0db7134ee | [] | no_license | Sjan1/r-for-proteomics-tsl | 276fb78c84d82f89f1e5f17080c19c04bd2fa196 | 24a8e08ca3e00f8e73089755aaa00694d5d83a01 | refs/heads/master | 2021-05-04T13:58:42.792222 | 2020-05-11T18:40:21 | 2020-05-11T18:40:21 | 120,327,192 | 1 | 2 | null | 2018-02-05T16:00:33 | 2018-02-05T16:00:33 | null | UTF-8 | R | false | false | 5,975 | r | S01_code.R | source("S00-env.R")
library("rtslprot")
library("dplyr")
library("msmsTests")
## READ THE EXPERIMENT TABLE that describes:
## (i) samples
## (ii) measurements
## (iii) searches
## (iv) experimental factors
mzid <- "msgf"
mzid <- "mascot"
mzid <- "mascot_fdr1pc"
exp <- readSampleExperimentTable("SampleExperimentTable.c... |
d73d5fbafe80a3c9cf563c67ef1458e8242d1f23 | a00b6cdccf670efc7be5a9f7f2dfa6072551f22c | /man/sortNetwork.Rd | a50e2c6e2a4913487afb6fa2cf968e77a79e10ea | [] | no_license | uc-bd2k/SigNetA | 5f20a069f8b4ac053a0d2f6d1bba1964df06444a | 7dee256c6fb404ac6e50e478673c002ba0cc2dbe | refs/heads/master | 2021-01-03T13:01:28.720095 | 2019-05-28T08:51:11 | 2019-05-28T08:51:11 | 124,279,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 404 | rd | sortNetwork.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sortNetwork.R
\name{sortNetwork}
\alias{sortNetwork}
\title{Sort Network Function}
\usage{
sortNetwork(x)
}
\arguments{
\item{File}{? Defaults to NULL.}
}
\description{
This function allows you to sort top 100 genes from a signature
}
\exampl... |
a721e7ad328c37933bb39eda1e440cfe49854eac | 39099fc3d58b960454cf5c576493ab60449064c8 | /man/condor.plot.communities.Rd | 4f4e4618dd1f93724feeab5bc994bfcf8f1cb2d1 | [
"MIT"
] | permissive | ayoung01/condor | 5ecc7dbeddacea87bd0b23ce4d9ba8922134da1e | 0ad46102f6fd85341e11537a106da99efde4dc71 | refs/heads/master | 2020-12-26T03:56:05.135723 | 2019-07-05T18:20:12 | 2019-07-05T18:20:12 | 43,075,151 | 0 | 0 | null | 2015-09-24T15:22:12 | 2015-09-24T15:22:12 | null | UTF-8 | R | false | true | 1,632 | rd | condor.plot.communities.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/condor.plot.communities.R
\name{condor.plot.communities}
\alias{condor.plot.communities}
\title{Plot adjacency matrix with links grouped and colored by community}
\usage{
condor.plot.communities(condor.object, color_list, point.size = 0.01,
... |
96b1eff7926eaf69bb0a4664cf658e217495e83c | 22540d050618fa7c69c40c89d1397609e2f39936 | /R/sanitize_for_DiagrammeR.R | 2c7162ecce9234bb553275d45bbfbda30f2528c3 | [] | no_license | cran/psyverse | 8d3e6723d66c292f02a4d0b8978d85f868ca52b9 | d1e2dc7f6be23f674f7b6cc1d21089995a331ba0 | refs/heads/master | 2023-03-17T00:04:47.391838 | 2023-03-05T21:00:07 | 2023-03-05T21:00:07 | 250,514,413 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 323 | r | sanitize_for_DiagrammeR.R | sanitize_for_DiagrammeR <- function(x,
regExReplacements = list(c("\\\"", "`"),
c("\\'", "`"),
c("\\\\", "/"))) {
return(sanitizer(x, regExReplacements));
... |
320a43c0f92223d5af6ead6a9fc6221c3bb023e7 | 8e44344e387cc42b4243b0b1f42fb21f5525c0f6 | /maskTrackll.R | 0ae6331ef56d027f94847599990ca7c0c9c301c9 | [] | no_license | snjy9182/Kernel-Density-Clustering-Mask | b78014b545fa1fab690e7d5ba990feef9acd67c9 | fa9fe2f7fe13db8613d0508a2d11b02bfd48bb6f | refs/heads/master | 2021-01-01T15:58:23.706212 | 2017-07-24T21:29:55 | 2017-07-24T21:29:55 | 97,748,895 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,100 | r | maskTrackll.R | #### maskTrackll.R
#### Wu Lab, Johns Hopkins University
#### Author: Sun Jay Yoo
#### Date: July 21, 2017
## maskTrackll-methods
##
##
###############################################################################
##' @name maskTrackll
##' @aliases maskTrackll
##' @title maskTrackll
##' @rdname maskTrackll-methods
#... |
57012ee092f67b8186c4e5ff3fdf9344f732e119 | d96d7a5cf83350a650fbc94bc71ffebdb745c876 | /R/ISLR.r | 415e1369803a2602ae66f41a91742b2ea94fc583 | [] | no_license | ssh352/random_snippets | 26e3eed7c11a46ddf1c88bb6668f57ab90a75263 | e973eeb55a6de98026024a84091601b6a08c73ae | refs/heads/master | 2021-06-01T01:57:24.514710 | 2015-12-25T03:53:41 | 2015-12-25T03:53:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,280 | r | ISLR.r | # regression
library(MASS)
library(ISLR)
fix(Boston)
names(Boston)
lm.fit=lm(medv~lstat, data=Boston)
summary(lm.fit)
names(lm.fit)
confint (lm.fit)
predict(lm.fit, data.frame(lstat=(c(5,10 ,15))), interval="confidence")
plot(lstat, medv)
abline(lm.fit)
par(mfrow=c(2,2))
plot(lm.fit)
plot(predict(lm.fit), resi... |
c8638fe1be36c62b54c45003ea4e92c7df4b78e8 | eac571af0e203a6f0f98a859140559db9d500fd3 | /pca_assets.R | 9ec385abb45d1ece75af4c1448c29402a2c3f1f5 | [] | no_license | tardelr/censo-analysis | 8d2633f0cb8b2f6306f9f43a5298eaa2edd37cfb | 7aba39ef5f0b46ed96b120c8f55f12c527230da0 | refs/heads/master | 2020-09-06T09:54:03.144622 | 2019-11-10T21:14:38 | 2019-11-10T21:14:38 | 220,392,534 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,055 | r | pca_assets.R | library(dplyr)
library(tidyr)
library(plyr)
library(ggplot2)
library(factoextra)
datasets.path <- '~/Desktop/datasets/censo_assets'
assets2000 <- read.csv( file.path( datasets.path, 'sp00.csv' ), colClasses = c( areap='character' ) )
assets2000 <- assets2000 %>%
subset( v0103 == 3550308 ) %>%
select( "areap", ... |
9ecba26f0a2bd531213edef8cefda8c4c280ef00 | 85d34e7ab8ba5d409ff8f6136c91de786647b168 | /analysis/preprocessing_exp2.R | d09a1bbcdcabc94c4050cefc9e7f771585b0bd6d | [] | no_license | thegricean/RE_production | 1b7aa6029c7810e857ad1d6a1c3bfb8ac2a79ba5 | 435419e7c68dd58fc1082602365a1a05e587aafd | refs/heads/master | 2022-12-04T23:57:38.193570 | 2021-05-06T22:54:42 | 2021-05-06T22:54:42 | 126,399,878 | 3 | 6 | null | 2022-11-21T23:58:33 | 2018-03-22T21:59:27 | HTML | UTF-8 | R | false | false | 11,450 | r | preprocessing_exp2.R | this.dir <- dirname(rstudioapi::getSourceEditorContext()$path)
setwd(this.dir)
library(tidyverse)
library(here)
source(here("analysis","helper_scripts","helpers.R"))
# Read raw data
d = read.table(file=here("data","raw","production_exp2","rawdata_exp2.csv"),sep="\t", header=T, quote="")
nrow(d)
head(d)
# unique(d$ga... |
e6901f920fa622551ef769f9f0bfaabfe36d3587 | cc4f45030d429982d7f1f060a64a12b21bfb557d | /R/construct-hospital-hhi.R | f293c8e5e6c4996f18dad0f3a70e967f4bbb16bc | [
"MIT"
] | permissive | anobel/health-care-markets | ec96238a6ed587253ab2a45b49541e5b06a77519 | 6fdbd9f6a15f8b05a01b8b5e162b239c614b294d | refs/heads/master | 2020-04-21T05:33:49.869901 | 2019-02-05T15:54:30 | 2019-02-05T15:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,450 | r | construct-hospital-hhi.R | #' ---
#' output: github_document
#' ---
# The objective of this file is to make comparisons of Hirschman-Herfindahl Indexes across alternative
# geographic market definitions.
# To Do:
# [] TK NOTE THE COUNTY to RATING AREA MAPPING WILL MISS LA COUNTY AS WELL AS ALL COUNTIES IN NE, AK, AND MA.
# Need to use ge... |
7bceda6f763cef21b6ccfb00596db9ebed083df9 | 01268eb0bf732962393a588fa474c97ee026230a | /man/validate_table_names.Rd | b6a69ffdbdd66176f69e44712c8c8def2eed6d9e | [
"CC0-1.0"
] | permissive | karlbenedict/ecocomDP | 6466fcfed490f138873d7275807b083341852a4a | 0dcd2b1d00ebcf5c0a63ff88ed2589bfffe59e66 | refs/heads/master | 2020-03-25T16:23:30.026001 | 2018-07-16T20:55:23 | 2018-07-16T20:55:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,403 | rd | validate_table_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_validation_criteria.R,
% R/validate_table_names.R
\name{validate_table_names}
\alias{validate_table_names}
\alias{validate_table_names}
\title{Load validation criteria}
\usage{
load_validation_criteria(data.path)
validate_table_names(... |
13b287422990d4a1b8024b394df2145a7bf79b84 | 74923b9335356d7ddea1264932bad0d4851181a9 | /R/tagtools/man/sens_struct.Rd | 2b9b9ea96620d0502e21b85dc72da12dc1be77f5 | [] | no_license | FlukeAndFeather/TagTools | 29e491898266bf82edf436674beb7d82f78724c2 | a6f3fd4eab0ddaef79cc9f1718f2801b30c67971 | refs/heads/master | 2020-08-04T03:07:00.111174 | 2019-07-17T18:37:20 | 2019-07-17T18:37:20 | 211,981,790 | 1 | 0 | null | 2019-10-01T00:15:49 | 2019-10-01T00:15:49 | null | UTF-8 | R | false | true | 2,165 | rd | sens_struct.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sens_struct.R
\name{sens_struct}
\alias{sens_struct}
\title{Generate a sensor structure from a sensor data vector or matrix.}
\usage{
sens_struct(data, fs = NULL, T = NULL, depid, type, unit = NULL,
frame = NULL, name = NULL, start_offset =... |
40b76fd00092101f4fb7ac884b58b0fb910ffe1b | 3592992affcd4c2a766464be007060e5fc7e7eee | /SeedBankInfo.R | 40187c22c6c03f5588b327fa64db18a4e3e509c5 | [] | no_license | mathgenome/SeedBankInfo | 56ecf629b0b47113a3a9d92d132ffd52842e872e | f166a656bfc26fd705d8db64eef609626a1f2a68 | refs/heads/master | 2020-07-06T10:17:21.447909 | 2018-02-16T23:33:05 | 2018-02-16T23:33:05 | 74,046,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,470 | r | SeedBankInfo.R | #Project:
#Accession rareness, allele specificity and core set selection with an information theory approach: application to wheat marker data
#Theory is in publication process
########
#Functions to calculate entropy
MyLog2p<-function(x){if(x==0) 0 else x*log(x,2)} #Defining x logx
entropy<-function(x){-sum(sapply(x,M... |
9f1c885bdfbad5ccac057045ccd539dd17d91bac | b67b1035dd4123756e6436dc34919bc90937fcbe | /R/15_estatistica_1/script118_medidas_de_centralidade.R | b221241f8e585313f11419e3bdeee87e110cde14 | [] | no_license | frclasso/Formacao_Cientista_de_Dados_Python_R | d6695b5dcf3d0dffcf4e2e4c66b7d3d37b1eabcb | 6786004827c52b5e2e48495944839ac69076e119 | refs/heads/main | 2023-08-12T17:01:34.498259 | 2021-10-12T17:59:38 | 2021-10-12T17:59:38 | 383,260,177 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | script118_medidas_de_centralidade.R | # Medidas de centralidade e variabilidade
# salario dos jogadores
jogadores= c(40000,18000, 12000, 250000,30000,140000,300000, 40000,800000)
# Media
mean(jogadores)
# Mediana
median(jogadores)
# Quartis
quartis= quantile(jogadores)
quartis
# Acessar apenas um quartil, utilizamdo o indice
# terceiro quartil
quarti... |
1a85892e08cfba2f83add7a3a89947e86177ce89 | ac0c4a863fbd1c0f395c1f84a19a2efb214c284e | /R/ggSmoothScatter.R | 888ce13db7cac9576f664731cb41452ee495786e | [] | no_license | bedapub/ribiosPlot | 6e9b8630ec0fae86046ac9f8c2653d9b439b76ac | 54b1e1a47bc5501ae0d514cf98912d524c7b3782 | refs/heads/master | 2022-11-24T18:55:00.961522 | 2022-11-09T08:03:56 | 2022-11-09T08:03:56 | 253,518,540 | 1 | 1 | null | 2021-04-07T08:02:21 | 2020-04-06T14:15:55 | R | UTF-8 | R | false | false | 2,270 | r | ggSmoothScatter.R | #' Mimicking the graphics::smoothScatter behaviour for GGally::ggpairs
#'
#' @param data Data to be visualized, normally not directly set by the user
#' @param mapping Data mapping, normally not directly set by the user
#' @param colours Colours to be used
#' @param xlim NULL or a vector of two numbers
#' @param ylim ... |
59cdee251f9234f974c21271090e2246a04cecfb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ggiraph/examples/dsvg_view.Rd.R | 10656a46782e098ebc1014d047ab2a7f111077a3 | [] | 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 | 238 | r | dsvg_view.Rd.R | library(ggiraph)
### Name: dsvg_view
### Title: Run plotting code and view svg in RStudio Viewer or web broswer.
### Aliases: dsvg_view
### ** Examples
## No test:
dsvg_view(plot(1:10))
dsvg_view(hist(rnorm(100)))
## End(No test)
|
b6012a2cf41aa072c211d5af326bde6dd3f419d5 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sfsmisc/examples/KSd.Rd.R | 8f6e238c9049f87181526317df7aa73da2846874 | [] | 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 | 352 | r | KSd.Rd.R | library(sfsmisc)
### Name: KSd
### Title: Approximate Critical Values for Kolmogorov-Smirnov's D
### Aliases: KSd
### Keywords: distribution
### ** Examples
KSd(90)
KSd(1:9)# now works
op <- par(mfrow=c(2,1))
plot(KSd, 10, 150)# nice
abline(v = c(75,85), col = "gray")
plot(KSd, 79, 81, n = 1001)# *very* tiny... |
f659472c60b9c1577070a057aca0421282b1c999 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MSnbase/examples/averageMSnSet.Rd.R | 1dcee2943f28362a7e8bfcfa1b25ddd342a021be | [] | 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 | 913 | r | averageMSnSet.Rd.R | library(MSnbase)
### Name: averageMSnSet
### Title: Generate an average 'MSnSet'
### Aliases: averageMSnSet
### ** Examples
library("pRolocdata")
## 3 replicates from Tan et al. 2009
data(tan2009r1)
data(tan2009r2)
data(tan2009r3)
x <- MSnSetList(list(tan2009r1, tan2009r2, tan2009r3))
avg <- averageMSnSet(x)
dim(av... |
a1bb99000589aded76e97b1b441860dafdf9aa51 | 5a345571b8855ed9c95c2a42021f6b9125817830 | /R/src/packages_reshape2.R | e3afcc143c5f64d29e1da29b8e9bbbdbd0e95525 | [] | no_license | HaYongdae/TIL | 6eb9db589b5425bec0ff5afad9c5c003b954dd63 | 175368f4930a3339b9cc823f43ef7d12da8c108b | refs/heads/master | 2021-06-17T11:46:45.485585 | 2021-03-23T08:16:06 | 2021-03-23T08:16:06 | 188,196,967 | 0 | 0 | null | 2019-08-30T04:21:18 | 2019-05-23T08:52:37 | null | UTF-8 | R | false | false | 2,684 | r | packages_reshape2.R | # DataFrame 적용 방법
melting_DF <- melt(데이터, id.var = "기준 col", measure.vars = "변환 col")
# EX_
head(airquality)
# ozone solar.r wind temp month day
# 1 41 190 7.4 67 5 1
# 2 36 118 8.0 72 5 2
# 3 12 149 12.6 74 5 3
# 4 18 313 11.5 62 5 4
# 5 NA NA... |
69d01d521149f17a8badd47f2f22ba8626f37f67 | d43f78178d466325732bc88914d307bda7b03eb8 | /Business.R | 16435a0f1c8b8bb1b57fe98f270005b3e24a04c1 | [] | no_license | gabrielpaesb/R-Finance | 5c3a9769b9e4f60fb42a700dde0ee1c2593b9498 | ff143324e959acc6d2934c49b3eda293c4fe960c | refs/heads/master | 2022-11-28T21:04:51.805399 | 2020-08-06T02:19:25 | 2020-08-06T02:19:25 | 285,451,103 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,244 | r | Business.R | 2+2
help(mean)
example(mean)
help(package = "ggplot2")
install.packages(c("stringsr","lubridate"))
library(stringsr)
library(dplyr)
library(lubridate)
aula_r <- 2
aula_r
"XYZ"==toupper("xyz")
hoje<- Sys.Date()
hoje
amanha<- hoje+1; print(amanha)
log(10)
log(10,10)
#Criando primeiro vetor
idade<- ... |
fb1757a81fd5e51544b24c257885e82b8dce96bf | bfedefc238eb8525235af99bcf007c8488b9ba11 | /src/utils/file.utils.R | 0c8deaea1c33e3ea76f0298029b2a98d9f9a1784 | [] | no_license | nvthao-math/rainfall-v3 | a94358ade5404708c4dd7d01f5dcc70f47ecf52c | d17fe7c0f441b7c20b1c999536865d4d3e244589 | refs/heads/master | 2020-03-19T05:42:22.901822 | 2018-06-04T01:25:31 | 2018-06-04T01:25:31 | 135,955,009 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 424 | r | file.utils.R | # write line to file safe mode
file.safewrite <- function(line, file.path, is.append){
if(!file.exists(file.path)){
parts <- unlist(strsplit(file.path, "/"))
# file.name <- parts[length(parts)]
folder <- paste(parts[c(1:(length(parts) - 1))], collapse = "/")
if(!dir.exists(folder)){
dir.create(f... |
41675adcfdb1d43d6e57b7a5390d221bc9e07ce6 | 8a29dbd1eda2a23c7a4f96b6c8fa143347ae3710 | /tests/testthat/test-baad-data.R | 46ab34d0444d9e3afa8dcc12edfb212985b87ef7 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | traitecoevo/baad.data | cc71539344edbae3b7fd0b28229d1b04811101c3 | b81e1e981bb4ce6e020b3f0f0e161c8284968b5f | refs/heads/master | 2021-06-28T18:08:35.390843 | 2016-08-23T23:12:54 | 2016-08-23T23:12:54 | 35,264,277 | 5 | 3 | NOASSERTION | 2020-11-04T16:27:15 | 2015-05-08T07:12:18 | R | UTF-8 | R | false | false | 1,783 | r | test-baad-data.R | context("baad.data")
test_that("versions", {
v <- baad_data_versions(FALSE)
expect_true("1.0.0" %in% v)
expect_equal(match("1.0.0", v), 4)
curr <- baad_data_version_current(FALSE)
expect_true(numeric_version(curr) >= numeric_version("1.0.0"))
expect_true(curr %in% v)
})
test_that("ecology version", {
p... |
dd7793530d4cc728bdede889faf1f88702fc16ad | c666e0234b33f0d34088b2b3486f58bbeb9988be | /global.R | 1743a6faac4ac15739734ec76ac07f748b498851 | [] | no_license | joebragg/DataProducts | ca3844a4c8ded2e36bb04c4b6a78ab7d1675e346 | 4f0d679245892634ea0d0eedb79a746ddd9f178c | refs/heads/master | 2020-05-19T13:29:16.382321 | 2015-02-21T03:25:41 | 2015-02-21T03:25:41 | 30,756,381 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,170 | r | global.R | library(shiny)
library(ggplot2)
if(!file.exists("data/vehicles.csv")){
download.file("http://www.fueleconomy.gov/feg/epadata/vehicles.csv.zip",
destfile="data/vehicles.csv.zip")
unzip("data/vehicles.csv.zip",exdir="data")
}
vehicle.data<-read.csv("data/vehicles.csv")[,c("year","make","model","VC... |
b43db5a1442a31983e540f1be889ce37e2a3a1a0 | 3c2c46d70fda776fe6b361b235be15fceb570e1c | /InProgress/Boundedness /RandomGuessing.R | b3a498a1732072623a45065dcf46d826ab03d79a | [] | no_license | brctzcn/BDA2014 | 3f26e867ee08d5b2d1b44df5b125db226affdf7e | 0f41dc7c5d46e0f4ad77734fa09c249223d93a0f | refs/heads/master | 2021-06-07T03:00:14.588099 | 2015-06-17T16:03:06 | 2015-06-17T16:03:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | RandomGuessing.R |
df1 <- replicate(10000, floor(runif(21, 1, 4)))
df2 <- replicate(10000, floor(runif(21, 1, 4)))
checkAnswers <- function(x){
sum((df1[1:21, x] - df2[1:21, x])==0)
}
df3 <- lapply(1:10000, checkAnswers)
df3 <- sort(unlist(df3))
(10000 - which(df3 == 7)[1])/10000
(10000 - which(df3 == 8)[1])/10000
df1 <- repl... |
cefc7b1113fc53d1359fae6661713b558afb8d4e | 049c8b4125b4e0a787161d0c28b1d7999351bd5b | /cachematrix.R | c1ecdf08d65be0ae39d6ff0e09470c658523c9d0 | [] | no_license | speedsterfinn/ProgrammingAssignment2 | c2e55620d5d97715dd63f88fc87a44eca6449d92 | 3e3bc64af26d3bdcbc7680b97e323ed22ec7340e | refs/heads/master | 2021-01-24T00:53:27.706786 | 2018-02-24T22:46:57 | 2018-02-24T22:46:57 | 122,783,434 | 0 | 0 | null | 2018-02-24T21:58:40 | 2018-02-24T21:58:40 | null | UTF-8 | R | false | false | 844 | r | cachematrix.R | ## These two functions allow the user to cache the
## inverse of an invertible matrix.
## Function makeCacheMatrix returns an object
## that will hold an invertible matrix, mat, and
## its inverse, inv.
makeCacheMatrix <- function(M = matrix()) {
inv <- NULL
set <- function(m) {
M <<- m
inv <<- NULL
}
get <- ... |
40fbf67b97caa9aae0df5880ad43177981e24b6b | 777c57e70fd5de57b4ac46d4a869fb2e9f96ba39 | /Delousing-initiate.R | 0b00d8a5c414b3a5a5268ed9e79e869bf7b07df9 | [] | no_license | adamaki/DelouseR | 6bced3d85455210e3c709409a89e501ce4af90a2 | b6e53e0177d5d9d6e56b37f32bef03dca016a702 | refs/heads/master | 2021-10-28T09:01:47.126145 | 2021-10-25T09:59:07 | 2021-10-25T09:59:07 | 203,556,671 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,128 | r | Delousing-initiate.R | # Cleaner fish tank delousing
# Adam Brooker 29th August 2019
library(ggplot2)
library(plyr)
library(dplyr)
library(reshape2)
library(data.table)
library(stringr)
library(colorspace)
#library(grImport)
#library(grImport2)
library(devtools)
library(cowplot)
#library(Cairo)
library(magick)
library(colorRamps)
library(f... |
48597739f10fa20ece16ca0c690f051ab7de2946 | 0f8e7a7c47440422243ae3afbf0eb26799a3db1e | /run_analysis.R | 1ddd8dd0279b5ffc8e70822b88c33e6ef2175163 | [] | no_license | angra311/GCDP | 0b3ad76a4922f27b4e08e92ca102896a1e0b7a39 | 42478f5772603f5b45b9cf020d095aee73300009 | refs/heads/master | 2021-01-23T17:19:22.208220 | 2015-08-14T23:50:22 | 2015-08-14T23:50:22 | 40,625,794 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,194 | r | run_analysis.R | ## Read the feature names from file
feature_names <- read.table ("UCI HAR Dataset/features.txt", as.is=TRUE,
row.names = 1)
feature_names[,1] <- make.names(feature_names[,1])
## extract the indices of the ones we want to keep
mi <- grep ("mean\\.",feature_names[,1],ignore.case=TRUE)
si <-... |
73b8733a49ed95233fcc8af8b44791fa241214cc | f534c8c8712dc39b27c296e0f00994f49100d692 | /xdate_spp_site_subset.R | c535ae98103c44a0bf3ef54a6045b5d329973fc4 | [] | no_license | jam2767/dissertation_code | 9082068966875951fa5174a598243a3d912f9ee7 | d71c16f35a03211c5d30da4da714bb2bb1654fd0 | refs/heads/master | 2021-01-18T08:42:58.920570 | 2017-07-16T03:55:51 | 2017-07-16T03:55:51 | 53,062,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,682 | r | xdate_spp_site_subset.R | #subsetting data by species and reordering folders for xdating
#crossdate species at each site individually using cofecha
#create species folders within sites
#identify missing trees from census data and tucson file matches
#match tucson files and adult data for each site
#Read all inventory data
trees.xdate <- read.... |
07ab80d8b9fa5b7569529cd2cf3351dfa7f85204 | e5fcf1aeff9cbfab3f19a862c7d80145ce68dbe4 | /man/kfolds2CVinfos_glm.Rd | f39f0f05e4b054c6201484eebdee5344bf235478 | [] | no_license | fbertran/plsRglm | 7d7294101829065f4d1672d26af42b09b577464a | 058296cd0c1e1488265b87573d524a61f538809b | refs/heads/master | 2023-04-08T02:43:19.921763 | 2023-03-14T22:28:43 | 2023-03-14T22:28:43 | 18,454,150 | 16 | 6 | null | 2021-03-14T15:41:24 | 2014-04-04T22:09:56 | R | UTF-8 | R | false | true | 3,294 | rd | kfolds2CVinfos_glm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kfolds2CVinfos_glm.R
\name{kfolds2CVinfos_glm}
\alias{kfolds2CVinfos_glm}
\title{Extracts and computes information criteria and fits statistics for k-fold
cross validated partial least squares glm models}
\usage{
kfolds2CVinfos_glm(pls_kfolds... |
dc49be7356110c71793c0f6bcd97d4df4e3fef5f | 5e605fdb3bd68987f776b0121f950a7aee1ccbb9 | /man/fit.nb.glm.1u.Rd | 9e6bceff5f67d70b9303cc245646533e8c188b52 | [] | no_license | diystat/NBPSeq | f150da798677a3c27dc27cee916f960f66af149d | 358f095f4846476c7c9ffe720b502899ea18affb | refs/heads/master | 2021-01-01T16:19:01.230766 | 2014-05-18T00:19:07 | 2014-05-18T00:19:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,580 | rd | fit.nb.glm.1u.Rd | % Generated by roxygen2 (4.0.0): do not edit by hand
\name{fit.nb.glm.1u}
\alias{fit.nb.glm.1u}
\title{Fit a single negative binomial (NB) log-linear regression model with a common unknown dispersion paramreter}
\usage{
fit.nb.glm.1u(y, s, x, phi = NA, beta0 = rep(NA, dim(x)[2]),
kappa = 1/phi, info.kappa = TRUE, ...... |
26df858bdaebde887e724211dc1e3cc22e2cd1a1 | f5faeeb7362ac4a97a4a4d61d8320ff9079e2dd0 | /modules/benchmark/R/load.csv.R | 6d86799bde9090a2b108706ea49fd07fd47bd9e8 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Viskari/pecan | 0b1793d2994afac9f312369880862a2d3a408dc3 | 7489a97ef4d3deaf5b62a10a86a5ae14f859aaa8 | refs/heads/master | 2021-01-17T21:16:08.800080 | 2016-10-03T20:23:28 | 2016-10-03T20:23:28 | 28,244,459 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 964 | r | load.csv.R | ##' @name load.csv
##' @title load.csv
##' @export
##' @param data.path character
##' @param format list
##' @param start_year numeric
##' @param end_year numeric
##' @param site list
##'
##' @author Betsy Cowdery
load.csv <- function(data.path, format, site, vars=NULL){
if (format$header == 0 | format$header == 1... |
ad32fc4e05e33c97cef4e40961bd42b8c2f4154e | 2253c85e1c90b54df4b69ad40b6ce9b207c76415 | /R/shortcode.R | 2d8426665d4a344cccf64d00182140463517d435 | [
"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 | 4,112 | r | shortcode.R | #' Generate a hugo shortcode
#'
#' @description
#' Generate a hugo shortcode with appropriate pandoc markup to preserve it as
#' is when embedded in an R markdown document.
#'
#' Generally, I don't recommend calling this function directly; instead
#' use it inside a function with the same name as the shortcode you want... |
eee63866fa0ca2b1010b4a00d3b1bbeec57cb99d | 3873c2e97422f403482a440b7501f031c5e7ab28 | /AnalisarSelicIsoladamente.R | 9f98e662a3b78d9ec45656b09762b6cc434378e0 | [] | no_license | EderCamposRibeiro/TCC_BigData | 2996a9f83e8a8f6d31d0ea5f351f090058481916 | 46b5d1d1df3c4a30fbceb008c8d8c48ab7c1c9da | refs/heads/master | 2021-01-09T18:19:09.005571 | 2020-02-22T20:45:48 | 2020-02-22T20:45:48 | 242,404,913 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 3,453 | r | AnalisarSelicIsoladamente.R | library(forecast)
library(ggplot2)
library(seasonal)
library(seasonalview)
library(urca)
#Ler o arquivo com os dados da taxa selic ao mês(03/1999 - 01/2020 Mensal)
arq = read.csv(file.choose(), header = T, sep = ";", dec = ",")
print(arq)
#Transformar o arquivo em uma série temporal
selic = ts(arq$meta_selic,start = ... |
1f131c9d2a14aca5d24cc93a0980d2d10a7d9e42 | 8ab442dab9bc83efc145f8ed756f071eaaaaa041 | /run_model_opti.R | 9381795b217e3abdff95791bef3b0bc36a8343aa | [
"MIT"
] | permissive | sidorowicz-aleksandra/GrapeReception | a2d71d481ad32e0a62309ee54e5544358390bd9b | 4889ff28938efee2f18d69824ab6cd71a79a590d | refs/heads/master | 2020-05-15T19:06:45.940499 | 2020-02-11T14:59:14 | 2020-02-11T14:59:14 | 182,447,222 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,613 | r | run_model_opti.R | source("functions_model_opti.R")
library(xlsx)
T_horizon <-32
T_expand <- 2
#---- RUN MODEL FUNCTION ----
run_model<- function(Queue,Prob_TR, V_TS_all_n, V_TB_all_n){
# Initiation of presses ----
Presses <- InitiatePresses()
# Initialize profit and costs ----
V <- 0
C_degr <- 0
C_wast... |
6b51374ee18f56b9e4352d3b5343ec706ce40041 | c7428f526a66ad30c5d4a723908026279e0e6f94 | /server.r | 3f0bfa8815bda0d71618d51ebcd193544e456cb2 | [] | no_license | carly-levi/Scraping_and_Interactive_Visualization | 69d842948f362f0ed1eb2f07a234219de6602502 | dd627c5becbe102959febfc2d2ee98fa3cc23530 | refs/heads/master | 2021-01-19T05:41:42.180186 | 2017-04-06T15:01:55 | 2017-04-06T15:01:55 | 87,442,224 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 514 | r | server.r | library(ggplot2)
library(dplyr)
shinyServer(
function(input, output, session)
output$graph <- renderPlot({
graph_name = switch(input$year,
14-15 = "14-15",
13-14 = "13-14",
12-13 = "12-13",
11-12 = "... |
31aaae8cf13c280590955a27b33a8d5c2bc5a41f | 0032cae2e393d94cd1d621dcf7b45ce917a68f26 | /My Elo Tennis.R | fd03ae98edebef359cdb4c6a4d2bb95f764051b9 | [] | no_license | Reinaldodos/Tennis | abc4a50eb929c4448e8539f49ff45cd4f9a87f1d | ccf0d582657966592c34868decd22eaad9286725 | refs/heads/master | 2020-04-17T12:24:51.770317 | 2020-01-21T10:02:04 | 2020-01-21T10:02:04 | 166,578,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,141 | r | My Elo Tennis.R | library(data.table)
require(tidyverse)
library(PlayerRatings)
library(RSelenium)
rD <-
rsDriver(
# port = 4567L,
browser = "chrome",
version = "latest",
# chromever = "latest",
# geckover = "latest",
# iedrver = NULL,
# phantomver = "2.1.1",
verbose = TRUE,
check = TRUE)
remDr <-... |
c7856db84c2bbd3960c6352f2527ae8ae3d78868 | 1022c0957e291e6c545e2db89715a74d7c1a509d | /tbsim_app/man/plotBactSplit.Rd | b12b7485b146fc30bebbc927d8cbd912245a0f9b | [] | no_license | saviclab/TBsim | ace67165891836c8c11af2c80868131914bdfc95 | d30f62d809e4d807a88f585a306e251b63213892 | refs/heads/master | 2021-07-11T19:06:27.401669 | 2020-08-18T22:41:05 | 2020-08-18T22:41:05 | 192,394,874 | 2 | 1 | null | 2020-01-22T16:59:57 | 2019-06-17T18:02:43 | R | UTF-8 | R | false | true | 264 | rd | plotBactSplit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plotBactSplit}
\alias{plotBactSplit}
\title{Plot Bacterial load split by compartment}
\usage{
plotBactSplit(res)
}
\description{
Plot Bacterial load split by compartment
}
|
139e8db22d9f6b0333e1c610c10e8e1762cc7ad6 | f5ebce9efe0b955e0fe556a790e6e108b4864cfc | /man/get_user_mode.Rd | 6eae81ec9f58f6129dad457100beaf5784a97e8f | [] | no_license | gidonc/durhamevp | 6da21bbc5cf4470ef7f58d637a105dbed8aa81b2 | 42c62034c61d76a66ad7fc6d5c7d25d7d5db5ef2 | refs/heads/master | 2022-05-03T11:30:02.920215 | 2022-04-02T20:15:07 | 2022-04-02T20:15:07 | 134,703,200 | 0 | 0 | null | 2018-07-26T13:22:23 | 2018-05-24T11:04:32 | R | UTF-8 | R | false | true | 417 | rd | get_user_mode.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/database_interactivity.R
\name{get_user_mode}
\alias{get_user_mode}
\title{Returns table of current user modes}
\usage{
get_user_mode(user_id = "all")
}
\arguments{
\item{user_id}{Id of the user whose mode to check or a vector of user ids. Th... |
eeb50983581f36a1d978804ca727c23657c45320 | 125af6bd1dedd45089b3d5c95e0a4691e1fe715b | /R/hysplit_dispersion_plot.R | c9d90222bf17e96e853b92e9367bb349f329cafe | [
"MIT"
] | permissive | envhyf/SplitR | b068a2997d20831281a6f210801cc6b0b2a40265 | 386c65067c6ad62bcec442fabe7f93c81826f495 | refs/heads/master | 2021-01-18T10:30:53.412897 | 2015-01-24T10:03:04 | 2015-01-24T10:03:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,500 | r | hysplit_dispersion_plot.R | #' Plot HYSPLIT dispersion model output onto maps
#' @description The function plots hourly outputs of dispersed particles onto maps.
#' @param hours specification of hours of dispersion data to plot.
#' @param dispersion_df optionally specify a data frame with dispersion data as an input.
#' @param df_folder_path abso... |
3ee69c10a0e5abba8479f208ab01686c33292ab3 | 57e1744a36c84af152a2ac4aff6889222138790d | /VM_PLS/plsregress.R | 79773ca7c94d2b4a00c6a656f6bf022044e64d33 | [] | no_license | JamesShieh0510/bpm | 0852fc0d40b7c09bfd4d4bd0483af21e922f16de | 98c9d50e767fc95e6f0693433c2dc403df958fb7 | refs/heads/master | 2020-03-19T17:15:45.470972 | 2018-06-10T12:04:25 | 2018-06-10T12:04:25 | 136,750,693 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,003 | r | plsregress.R | plsregress <- function(X, Y, ncomp){
#X = read.table("C:/Users/Horace/Desktop/BPM_R/VM_PLS/XF.txt", header = FALSE)
#Y = read.table("C:/Users/Horace/Desktop/BPM_R/VM_PLS/YF.txt", header = FALSE)
#ncomp = 3
n = nrow(X)
dx = ncol(X)
maxncomp = min(n-1,dx)
if (ncomp > maxncomp)... |
d49f7fece8e0fbe4895be04a28c8483304123ac1 | 55c59b150b49de2123191bbd9e62cc5baed5c52b | /man/pc.sel.Rd | aa9ee5ca0b345258385cd9a9bfed560995537e04 | [] | no_license | RfastOfficial/Rfast2 | b45c43d627571f5f1c5bbf293454d92643853146 | 23c639c345d526ac05ce8b1613d9671975a8402b | refs/heads/master | 2023-08-08T01:15:34.684148 | 2023-07-21T10:48:12 | 2023-07-21T10:48:12 | 213,210,384 | 27 | 4 | null | 2023-01-20T11:23:56 | 2019-10-06T17:14:37 | C++ | UTF-8 | R | false | false | 1,709 | rd | pc.sel.Rd | \name{Variable selection using the PC-simple algorithm}
\alias{pc.sel}
\title{Variable selection using the PC-simple algorithm
}
\description{
Variable selection using the PC-simple algorithm.
}
\usage{
pc.sel(y, x, ystand = TRUE, xstand = TRUE, alpha = 0.05)
}
\arguments{
\item{y}{
A numerical vector with continuo... |
8aff69051d40aa274f8dfb9b7051df164b37c965 | 5eb6f3b5c61391ec1a8662c06f2199fb532bcc6f | /R/ropenaire-package.R | 23d28bba3db4fc9a791fec18b029aeba5bcd1751 | [
"MIT"
] | permissive | njahn82/ropenaire | 9e45c4405bee3693c535d7deb231259cf7db4a36 | af0ea1564595229fa0f7dda06b6e063fe8313837 | refs/heads/master | 2020-05-17T00:51:58.767820 | 2018-05-16T11:06:37 | 2018-05-16T11:06:37 | 38,446,170 | 7 | 3 | null | 2018-05-14T17:35:46 | 2015-07-02T17:12:25 | R | UTF-8 | R | false | false | 397 | r | ropenaire-package.R | #' **Client for the OpenAIRE API**
#'
#' @importFrom readr read_csv read_tsv
#' @importFrom xml2 read_xml
#' @importFrom jsonlite fromJSON
#' @importFrom crul HttpClient
#' @importFrom tibble as_tibble
#' @name ropenaire-package
#' @aliases ropenaire
#' @docType package
#' @author Najko Jahn \email{najko.jahn@@uni-biel... |
14d5a3db7f8a04e915ba2a064d31006b8dd5a48a | 8f9a7f8a781e030178239e0153387f75ae1582f9 | /man/gs_append.Rd | 7f7ebb8a14038ddb60e735741052903b1b605f53 | [] | no_license | meerapatelmd/gUnit | fefe35524a76779a5fd24586d73f05f177b2d1ab | cbfe7309ceee4a7f30a4519f9fbffa910ec0ea65 | refs/heads/master | 2023-01-21T03:38:09.108929 | 2020-11-29T09:25:36 | 2020-11-29T09:25:36 | 211,777,544 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 564 | rd | gs_append.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gs_append.R
\name{gs_append}
\alias{gs_append}
\title{Adds a dataframe to a Google Sheet tab by doing a dplyr::bind_row on the data downloaded as a tmp csv and completely rewriting the appended data to a new tab and deleting the old tab}
\usa... |
2c2c2b46672fe02061074c3db797b4d39b968c95 | 3a2a577056e53a6455c02256df5015ee0053904b | /man/wm_records_name.Rd | 97de3ff70fc0bd8630a430ad3aea55111c8fa1df | [
"MIT"
] | permissive | cran/worrms | 5f6b0d1b3f53504121da7f91ea5828d056e16ceb | fa3382eb254ef5e5cfa08e26d6e10a1db8ed0286 | refs/heads/master | 2023-07-07T06:28:32.608109 | 2023-06-20T13:00:02 | 2023-06-20T13:00:02 | 101,341,532 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,210 | rd | wm_records_name.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wm_records_name.R
\name{wm_records_name}
\alias{wm_records_name}
\title{Get records by single name, optional fuzzy matching}
\usage{
wm_records_name(name, fuzzy = TRUE, marine_only = TRUE, offset = 1, ...)
}
\arguments{
\item{name}{(... |
3561f7ce128c5a84df7fbd849b3723b0d020fb80 | af742a4b76c1b4f69b806d09f8808cdb4eb5ee0c | /global.R | 7cb924bf700cff543a19f97e25551bdcacebd3c2 | [
"MIT"
] | permissive | wangjs/BibeR | 774b18daacbcb8a85b49ec22b968efcd265b77db | 197d62b952b8d3613ccdc2d19053d9296d468b7d | refs/heads/master | 2020-03-10T22:35:20.267249 | 2017-01-24T04:24:36 | 2017-01-24T04:24:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,635 | r | global.R | library(shiny)
library(gsubfn) # strapllyc to get time cited from citation
library(ggplot2)
library(DT)
#library(d3heatmap)
#library(igraph)
library(countrycode)
library(rworldmap)
library(networkD3)
library(dplyr) # filter function
library(pheatmap)
# a new parser to parse plain txt
require(stringr) # str_extract()
re... |
cb382aafabbfc7098ddef1827be8200b0cc3cf68 | e3b617e3c82c650f08a005141f09e62d8d283897 | /README.rd | f680277194a8c349343709f84ac5ec7306e367a3 | [] | no_license | myokoym/rabbit-slide-myokoym-sinatrasapporo-20150919 | 4438c27e7f96f490a053002e37f87ef44eed61f7 | 188d7926e77f5c7c76106ee7169190f638bbacf8 | refs/heads/master | 2021-03-12T23:33:31.270214 | 2015-09-18T18:27:44 | 2015-09-18T18:27:44 | 42,400,037 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 435 | rd | README.rd | = Sinatra w/ Bower
Sinatraアプリのフロントエンド用パッケージ(JavaScriptやCSSなど)の
管理を楽にするためにBowerやアセットパイプラインを使う話。
== 作者向け
=== 表示
rake
=== 公開
rake publish
== 閲覧者向け
=== インストール
gem install rabbit-slide-myokoym-sinatrasapporo-20150919
=== 表示
rabbit rabbit-slide-myokoym-sinatrasapporo-20150919.gem
|
021d4fc47b601de6cc2e7cbea4bd7134b9c7ed27 | a600cc438eb46c15f9bc7715827d6a5feac74684 | /man/essSurv.Rd | c282aa1f8ca92927e6f5ff26932fba970c9cee74 | [] | no_license | github-js/ess | 8bc0d7d3561f90163cf50b375314deef05d1ce46 | 4d96e63e7bd536e0af26fda48d4af1047f7fc42d | refs/heads/master | 2021-09-04T09:45:10.617072 | 2018-01-17T19:16:36 | 2018-01-17T19:16:36 | 114,037,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,397 | rd | essSurv.Rd | \name{essSurv}
\alias{essSurv}
\title{
Calculating ESS for time-to-event outcome
}
\description{
Calculates ESS for right-censored time-to-event outcome
}
\usage{
essSurv(shapeParam,scaleParam,m,nsim)
}
\arguments{
\item{shapeParam}{Shape parameter of the inverse gamma prior}
\item{scaleParam}{Scale parameter of th... |
bf134dbf0aad47307eab3ceca67bd2170394137a | eacd12b7b1b2893d18848100b8244123c7468a41 | /man/random_rna.Rd | 39aba4fa11d10bfc1b2028d766647e9e713cb1f9 | [] | no_license | rforbiodatascience21/2021_group_14_rpackage | 20696e27447b6002adceb89cb7e71dcae22f0c1b | 7da213080d7b5c13c539ef6bd754dc509a1bea58 | refs/heads/main | 2023-03-25T16:52:28.777955 | 2021-03-22T10:41:02 | 2021-03-22T10:41:02 | 350,264,000 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 264 | rd | random_rna.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/random_rna.R
\name{random_rna}
\alias{random_rna}
\title{Create a random RNA sequence}
\usage{
random_rna(l)
}
\value{
random RNA sequence
}
\description{
Create a random RNA sequence
}
|
93a0708d149255e605c5abc3db8610dc1e183e80 | b1cfb0ebaad846c04424aaa122ec712c7a22ac08 | /daCosta_and_Benucci_etal_2021_SwithgrassMicrobiome/PRJ_SwGreenhouse_Rcode.R | a5654784b255a182091bf234924e18ca2d763c1d | [
"MIT"
] | permissive | Gian77/Scientific-Papers-R-Code | ce3091fc06045c01539f1680bf0409274e62345d | ae6970047bf7fde2d9795b836a3522e597713d61 | refs/heads/master | 2023-03-18T23:28:50.037605 | 2023-03-13T15:12:28 | 2023-03-13T15:12:28 | 189,509,215 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 180,224 | r | PRJ_SwGreenhouse_Rcode.R | # Project: GLBRC greenhouse Pedro
# Aithors: Chou Ming-Yi, Benucci GMN, Beschoren da Costa P, Bonito G (preliminary order)
# Institution: Michigan State University
# WORKING ENVIRONMENT SETUP --------------------------------------------------------------------------------
options(scipen = 999)
options(max.print = 10... |
3d55e51eff94a96714e52b15686c716aa2242162 | 16206bf1a9ef3e0591b9aa5b25ec04cbbde2ce29 | /tcga/mutations.r | 20ef89d4b6620f6af5ef366b09c746cbe54bcb98 | [] | no_license | ipstone/data | 73227781f3f65dfeee7aa2c552c6488fef742859 | 0f7606d5790a340d93a6d04eb2b929340603e782 | refs/heads/master | 2022-06-10T04:02:05.207453 | 2022-01-22T18:54:36 | 2022-01-22T18:54:38 | 270,737,979 | 0 | 0 | null | 2020-06-08T16:18:17 | 2020-06-08T16:18:16 | null | UTF-8 | R | false | false | 617 | r | mutations.r | `%>%` = magrittr::`%>%`
.map_id = import('./map_id')$map_id
#' Get a data.frame listing all mutations and types
#'
#' @param id_type Where to cut the barcode, either "patient", "specimen", or "full"
#' @return A data.frame with data for all the simple mutations
mutations = function(cohort, id_type="specimen",... |
a9fb833bf990ea1d46ef43853fe5015698374383 | 790bd50934037b9d5c44373151f9a442774a818b | /example02.R | 77fb6b269da0e0fb59df15fce323b3317e545620 | [] | no_license | jamespaul007/iotoolsExamples | a2bfa3df6e21a3f017d7fedd4a4054d10c774f3a | 15c26841dc42573b5a96ebbc821f59191c4704cb | refs/heads/master | 2021-01-15T22:56:49.653817 | 2014-07-16T22:48:33 | 2014-07-16T22:48:33 | 22,072,342 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,168 | r | example02.R | #!/usr/bin/env Rscript
#
# Name: example02.R
# Date: 2014-07-16
# Author: Taylor Arnold <taylor@research.att.com>
# Purpose: Show a more involved example using the hmr function
# in the iotools package to merge two datasets on a common key.
# Assumes that create_data.R as been run to create the data, and
# exampl... |
87550a12810f8754944989296cbf20beb1de5671 | c1140c29282b6135c1c828196d7245972c018de7 | /TwoLassoCpp/R/GriffingsBrown.R | 844531c3a48791ce41670035ee199b151779fbb9 | [] | no_license | lenarcica/SimulationStackForBayesSpike | 467835d2cac63099c357ceb3f29b0e641d806965 | 3a54f517a835a094b60f9fba20efa7b760949e3f | refs/heads/master | 2020-04-15T19:01:25.806506 | 2019-01-09T18:36:48 | 2019-01-09T18:36:48 | 164,934,682 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,773 | r | GriffingsBrown.R | #############################################################################
## 2009-2011 Alan Lenarcic
##
## Implementation of this alternate estimator as requested by a suggestion
## from outside request, did not quite achieve what it was hoped to.
## Using Coordinate descent against an integrated penalty pro... |
ac71e5f3d2979cda17993abeea01523a35789c6b | a5bdae6a6d80f6cfb4fbf4a22869cc59fe1bfaa9 | /portfolio_optim.R | f4190263ff044848a6c8e81bbea49e02a1ef51ab | [] | no_license | K-Schubert/R_Programming_For_Data_Science | c223a7a1c7320718b580c594b57c356c8a94669f | c8003dc7b6033d3c125ab78b101a3e65202d391f | refs/heads/master | 2020-06-13T10:28:08.075762 | 2019-07-05T09:26:57 | 2019-07-05T09:26:57 | 194,627,385 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,443 | r | portfolio_optim.R | install.packages('quantmod')
library(quantmod)
library(magrittr)
library(tidyr)
library(dplyr)
library(ggplot2)
symbols <- c("AAPL", "GOOG")
getSymbols(symbols, from = "2018-01-01", to = Sys.Date(), src = "yahoo", adjust = TRUE)
AAPL.ret <- dailyReturn(na.omit(AAPL$AAPL.Close))
GOOG.ret <- dailyReturn(na.omit(GOOG... |
8830315ef934997c949ef331433295ee64d99d3b | 285274eae7ac53e41fb660d5b5d147dc15042362 | /tests/testthat/test_read.bed.R | c31dca101c48800410dd9e13f011c17493b01e5d | [] | no_license | cran/chicane | ebea6d449d21ccfa9a74aa8a4c86a5ad49e77a45 | a6c7fced08336275e6c339192518e05af0954c7a | refs/heads/master | 2023-03-20T07:55:49.276385 | 2021-11-06T14:00:16 | 2021-11-06T14:00:16 | 146,753,580 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 972 | r | test_read.bed.R | context('read.bed');
baits <- system.file('extdata', '2q35.bed', package = 'chicane');
test_that('Throws error on bad input', {
# file doesn't exist
expect_error( read.bed( tempfile() ) );
# not a single character string
expect_error( read.bed( as.factor(baits) ) );
expect_error( read.be... |
4a115cf838a974853d1b05bbbcc079338ed31f22 | 71b54ce8c696f37bc7674bdc3ff4c57f8b400342 | /components/Pflege.R | f48d61cbe6455ea4f1855da06b2ce6a42cb8353a | [] | no_license | wolass/dermiantor4 | 634b33b530a80837ae29b6c7a2e0e051083e353c | 7c217f1f086b996735ce8b09f2a037ec6463320b | refs/heads/master | 2023-08-28T13:15:08.751895 | 2021-10-08T16:28:26 | 2021-10-08T16:28:26 | 413,715,889 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 161 | r | Pflege.R | Pflege <- c("Excipial U10 Lipolotio",
"Cetaphil® Feuchtigkeitscreme",
"5% Polidocanol in Mischsalbe und Basiscreme DAC",
"") |
829d387aded989e4ab3dcbaefd1df834d6af51f7 | d1dcf5b0b158603b82dae6b9eaef1a67395e8442 | /kribb-r-script4.R | f51b2542a7730221fededa4228b6b7b94b433def | [] | no_license | greendaygh/KRIBBR2020 | c3c84cef745319634e99e9accbd75d620610f4a9 | 14ef98253f196b593df4628d8506c2e9879703dd | refs/heads/master | 2022-12-31T03:33:36.420181 | 2020-10-16T14:26:18 | 2020-10-16T14:26:18 | 303,541,581 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,131 | r | kribb-r-script4.R | ## https://greendaygh.github.io/KRIBBR2020/
library(tidyverse)
library(Biobase)
library(ALL)
library(hgu95av2.db)
data(ALL)
ex_data <- exprs(ALL)[1:30,]
ph_data <- pData(ALL)[,c("cod", "sex", "BT")]
ph_data %>% head
ph_data <- ph_data[complete.cases(ph_data),]
feature_names <- rownames(ex_data)
gene_names <- unli... |
67954d90059c241d42372fa1dee17c551ae302a8 | ab53f25f227a5e5108a862556916f8fd748cd606 | /R/fs_download.R | 9420cf4ff22c61aa7fffc459ec2fe0f1f97b476b | [
"CC0-1.0"
] | permissive | cran/rfigshare | cf0188e3edd618810eae7343438d6601a31993d4 | 2de78690a7f7d509ef7b66aacbc64f9afa86f97d | refs/heads/master | 2022-05-12T18:50:09.881487 | 2022-05-09T18:40:02 | 2022-05-09T18:40:02 | 17,699,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,765 | r | fs_download.R | #' Get details for an article
#'
#' @author Carl Boettiger \email{cboettig@@gmail.com}
#' @importFrom utils download.file
#' @importFrom utils select.list
#' @param article_id number
#' @param urls_only logical (default TRUE) to only return the URLs to the
#' downloadable objects but do not call download.file. If FAL... |
a4c4886fd61eabf0a19b3189122891fc3a0f7d28 | 6a99a74b47d04da0e74111b37dcac005d98e547e | /Feno.R | 68fca330c68eb662dfbaaf9773a3693710d33ab9 | [] | no_license | NtsoaBe/Anah | 265b044e3dc5314592d7361b4312e02049fcfce0 | 52c199bd1695597f9d12eaf173e47d0237048eeb | refs/heads/master | 2022-06-15T23:32:41.929305 | 2022-06-03T09:16:26 | 2022-06-03T09:16:26 | 218,938,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,169 | r | Feno.R | library(rvest)
library(tidyverse)
link="https://duproprio.com/fr/quebec-rive-sud/levis/maison-a-vendre?pageNumber=2"
page=read_html(link)
adresse<- page %>% html_nodes(".search-results-listings-list__item-description__address") %>% html_text()
adresse<-str_replace_all(adresse, "\n","")
metadata_aire_terra... |
ad9bc030b93c2c5642535adcec9097872d18354a | 1afe352deb16399782ba31511f70ccb4bf584314 | /Routines_Package/Rpu2.Rcheck/00_pkg_src/Rpu2/man/resume.motif.Rd | 64fbd3a084e059557244b45741794720cd7b0877 | [] | no_license | jcrb/RPU_Doc | 8b5a5915aa0afc3d5c11d94cb22469b5e714f9a6 | cccef7acd34406a51bc7db18a43c6d6408f94d4f | refs/heads/master | 2021-01-17T09:25:11.745058 | 2016-10-03T08:34:33 | 2016-10-03T08:34:33 | 22,011,440 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 442 | rd | resume.motif.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rapport.R
\name{resume.motif}
\alias{resume.motif}
\title{analyse un vecteur de MOTIF}
\usage{
summary.motif(vx)
}
\arguments{
\item{vx}{vecteur de Char (motif)}
}
\value{
vecteur nommé: "n.na", "p.na", "n.rens", "p.rens"
}
\description{
ret... |
700024a1d14f9ae094c30ad3ed6249d59359e098 | cd5b9ad17f02006367fd52a8b06d2c36b647b12d | /test_boot.R | 79e772b2baf3c4e57673580ed571de0deed40eb5 | [] | no_license | aaamini/GMarkov-sampling | 9f404846a9ac803f2ed8072915083b2e22fc26fb | c3c6c06d4a3bd74f58900786f9ae1af3bd16084a | refs/heads/master | 2023-04-18T10:19:05.798792 | 2022-02-18T21:00:03 | 2022-02-18T21:00:03 | 434,848,180 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,089 | r | test_boot.R | library(clime)
library(glasso)
library(tidyr)
library(dplyr)
library(tibble)
library(ggplot2)
source("viz.R")
source("utils.R")
# This is assumes Gam_seq exists in the environment -- e.g. run test_rand_sampling.R
source("test_rand_sampling.R")
# This is just the vector of lambdas for computing the regularization pat... |
2ca6aa32519a080fa393c4a82db251c109273377 | 6b955291e90d4097e13c3808523e2d20b3a71398 | /man/S.value.Rd | 515dfc6080d7cc635dd89fc8b6867f5c07a13245 | [] | no_license | cran/shipunov | 640f34408ae65c59a8fa655c23d01e5e86af38bc | 8cd6acac881f048a17ddafcfc414a4894fa02f63 | refs/heads/master | 2023-03-16T23:19:10.341396 | 2023-02-05T13:42:56 | 2023-02-05T13:42:56 | 185,279,307 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,166 | rd | S.value.Rd | \name{S.value}
\alias{S.value}
\title{S-value}
\description{
\code{S.value} returns S-values, Shannon information transforms of p-values.
}
\usage{
S.value(x)
}
\arguments{
\item{x}{Either numerical vector of p-values, or list where at least one element has the name similar to "p.value".}
}
\details{
Greenla... |
db9aa07b6e4074cf1073e9c3b39a553489ccbc49 | 87ecd00409f3e509080a7b1471f4903b08c1ae09 | /From-the-older-website/geometric_growth.R | 3e0f2a17e4f0ec8e6fa5e9843545413d8ae2e0b5 | [] | no_license | markjuhn/UCLA-Bootcamp | 6fb7046836114b5a773af4aee618930db1dfecd0 | 2b1a5b0e2320846cd66e0bc335fce7943e9e3f21 | refs/heads/master | 2020-04-18T02:56:05.738659 | 2016-09-22T18:19:24 | 2016-09-22T18:19:24 | 67,103,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 702 | r | geometric_growth.R | #Geometric growth
#geometricGrowthScript.R
#A script to simulate and plot the discrete logistic model
# Setup
# none needed, since program is so simple
# Set parameter values and initioal conditions, and initialize variables for output
NO <- 25
RR <- 1.05
ttMax <- 100 #total number of timesteps to simulate
NN <- mat... |
0973f079c8140c923441d83169224022912da018 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/grattan/examples/prohibit_vector_recycling.Rd.R | 9f29223d6e7cd58bfd34d641389269ec38d8f1e3 | [] | 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 | 549 | r | prohibit_vector_recycling.Rd.R | library(grattan)
### Name: prohibit_vector_recycling
### Title: Prohibit vector recycling
### Aliases: prohibit_vector_recycling prohibit_vector_recycling.MAXLENGTH
### prohibit_arg_recycling.MAXLENGTH
### ** Examples
## Not run:
##D # Returns nothing because they are of the same length
##D prohibit_vector_recyc... |
58e86de414d24f0dc01a4881f0bcc069d6d39e71 | 01fee130f72e10e8976c2d5b40cfd411844d119c | /Map.R | f721924f9ab91971c38d7ec3c751bf5fe82159eb | [] | no_license | SOLV-Code/Shiny-App-for-Synoptic | 648de8818e4f0b1ae115310c62ee451fb6f1cb89 | 02de6349d47c66ec84afd9a289d9e9c947ddd6e5 | refs/heads/master | 2021-07-13T02:08:49.349805 | 2020-06-25T22:04:03 | 2020-06-25T22:04:03 | 173,374,340 | 0 | 0 | null | 2020-06-25T22:04:05 | 2019-03-01T22:07:04 | R | UTF-8 | R | false | false | 55,283 | r | Map.R | #-------------------Leaflet Map for CU and Population Selection ------------------
# state information for controls; can't use shiny inputs directly for these,
# because the inputs don't exist until modal menus are opened
mapCtrl.isVisible <- reactiveValues(CUMarkers = TRUE, CUPolygons=FALSE, PopMarkers=TRUE, Stream... |
75f06d7aa46bca7547d6457e3337d175d9bd4f69 | de4acdac5c354f7cd15168f85e3e7b3bae4571ab | /R/utility.R | e77ebdcdc43d59ac18b48e83f4c1bebd44eb67d2 | [] | no_license | hyanworkspace/rangerts | 00f0027610ff9286f1190a83d0c843eec415730c | d0dd2806fbe2d32775414c22f1685a81ae65818c | refs/heads/master | 2021-12-15T21:02:07.729899 | 2021-12-06T17:39:06 | 2021-12-06T17:39:06 | 235,093,218 | 5 | 3 | null | 2021-12-06T17:39:07 | 2020-01-20T12:10:09 | C++ | UTF-8 | R | false | false | 2,779 | r | utility.R | # -------------------------------------------------------------------------------
# This file is part of rangerts.
#
# rangerts is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License... |
dfd44d1a5823805a906732a317d119b9da6f2332 | 2b7696de761986e7c295da36201f06fca701f059 | /man/hs4_sitc4.Rd | 2734394551570748958a4aa930dc630906d410b8 | [] | no_license | cran/concordance | 130b5cadccfce9cc5ef98432fc2f938c75eebd93 | b8d1e592399f05941ce24a4afd96007b8dae0ec5 | refs/heads/master | 2021-05-04T11:23:30.586684 | 2020-04-24T15:10:08 | 2020-04-24T15:10:08 | 49,413,285 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 746 | rd | hs4_sitc4.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{hs4_sitc4}
\alias{hs4_sitc4}
\title{HS4-SITC4 Concordance}
\format{
A data frame with 5205 rows and 8 variables:
\describe{
\item{HS4_6d}{6-digit HS4 Code}
\item{HS4_4d}{4-digit HS4 Code}
\item{HS4_2d}{2-digi... |
887e007b0039e9a6265fa241eeeb9a1508f02780 | 0491dccb3c67f76ff36f648b6689183d995b33c7 | /man/autoxgboost_space.Rd | 66ae365a9cf46a25d27742ced8630404d50de5c8 | [] | no_license | mb706/autoxgboost3 | 104b113f54da8eac3e31c88d0be6ab9acccd3dce | 16faaf2b7dda6300f090aefe55ded394c980a984 | refs/heads/master | 2020-08-09T19:40:16.126360 | 2020-04-08T10:32:15 | 2020-04-08T10:32:15 | 214,157,414 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,352 | rd | autoxgboost_space.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/autoxgboost.R
\name{autoxgboost_space}
\alias{autoxgboost_space}
\title{Get an xgboost Search Space and Learner}
\usage{
autoxgboost_space(
task,
predict.type = "response",
max.nrounds = 1e+06,
early.stopping.rounds = 10,
early.stop... |
86a20a9aab54a7494d4e2fc5a062358bdae26cbb | 3affbc5578f00b4c432152dd5ddb6cc83cf96b1b | /R/query_endpoint.R | ce11711368f7fa142cb3f0a5f07cd47811129f5e | [] | no_license | INyabuto/dhis2r | 1ab080cb71f646d692fe5410466f2e6aaeb5bdaf | c973a2bc1d85c431a8c7f3fb2349fc1325e55817 | refs/heads/master | 2021-06-25T04:19:06.983910 | 2021-06-13T14:29:31 | 2021-06-13T14:29:31 | 208,319,417 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,814 | r | query_endpoint.R | #' Parse DHIS2 endpoint fields
#'
#' This function parses DHIS2 endpoint fields into a character string.
#'
#' @param ... DHIS2 query parameters.
#' @return A character string.
#'
#' @export
#' @examples
#' # select all the fields
#' api_fields("*")
#' # select only name, id, shortName and code
#' api_fields("name", "i... |
63434f258072fbce34923dc10a172b66331642f5 | af4ec6a193335e8bd4361de465f775f7ff3a398b | /yscripts/R_scriptsb/VoCCPrioritizr_04b_RunPrioritizr.R | 8244978010d6d419263bcc4acc76f5307f9f5787 | [] | no_license | IsaakBM/VoCC_Prioritizr_global | 6cc6ff32054546a736f17d718e830916816d5726 | eedac4db9af04a38c8feed8e72c0bf2821024c58 | refs/heads/master | 2023-04-16T19:27:01.452057 | 2022-04-04T19:27:16 | 2022-04-04T19:27:16 | 271,407,011 | 10 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,474 | r | VoCCPrioritizr_04b_RunPrioritizr.R | # This code was written by Isaac Brito-Morales (i.britomorales@uq.edu.au)
# Please do not distribute this code without permission.
# NO GUARANTEES THAT CODE IS CORRECT
# Caveat Emptor!
pzr_function <- function(path, outdir, cost, blm_df, sol) {
library(raster)
library(sf)
library(data.table)
library(dplyr)
... |
cb85a7047b7c25f2c6017dea6d88d4fb6ecd2ba9 | 5d9b5489a4d130398f2ce46524b940cfff04dd3f | /man/sv_required.Rd | 6d77e94fa45cab4447ff59dd9aaea4c54b9b90f6 | [
"MIT"
] | permissive | SamanthaToet/shinyvalidate | 7677acd3f62ba5df30dca8373b8b84a3fe842698 | 2ed1b47657c5d3ebedfca247d92a0d731b02a83d | refs/heads/master | 2023-06-07T03:57:53.286677 | 2021-06-29T16:43:19 | 2021-06-29T16:43:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,446 | rd | sv_required.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rules.R
\name{sv_required}
\alias{sv_required}
\title{Validate that the field is present}
\usage{
sv_required(message = "Required", test = input_provided)
}
\arguments{
\item{message}{The validation error message to be displayed if the test d... |
d5f0bb50328b0038899f16b86d896c18641e3600 | 13db5b908ee53411fca6a45c0a7d93de9cc4e3a9 | /R/combine_rttm.R | 57822d2232a5bf9181376d7f4934316f0e25e2bc | [] | no_license | LAAC-LSCP/avutils | 67cb1d7cd41bd7bafa03cdfeec677f7951bd2f66 | 3fa75f5f7447df5a5534486cc6c19428f9509dab | refs/heads/master | 2022-07-18T05:47:25.732313 | 2020-05-05T15:50:11 | 2020-05-05T15:50:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 777 | r | combine_rttm.R | #' merge rttm file sequence
#'
#' @param rttm_files character, paths to rttm files to merge
#' @param split_dur numeric, the duration of the underlying split audio
#' @param basename character, the name of the file (unmerged)
#'
#' @return a data.frame that can be written as rttm file
#' @export
#'
combine_rttm <- fun... |
7b17e949b8344d5bf0691d8849ef65e7045e4254 | 0f9d44b238c97d9df67a59cb9071ecc667d60abf | /R/print.summary.dbplsr.r | 30e42895f7afa3bd443a7909b433bd7f746ca91d | [] | no_license | cran/dbstats | 4ec407eb23d6eca92323a3755b7e2fe0de279aa5 | af4e78823b3e83652cf5c45127dfec1df1cc0c43 | refs/heads/master | 2022-12-10T13:26:37.539231 | 2022-12-07T14:40:06 | 2022-12-07T14:40:06 | 17,695,407 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,201 | r | print.summary.dbplsr.r | print.summary.dbplsr <- function(x,digits=4,...){
# print the call
cat("\ncall: ")
x$call[[1]]<-as.name("dbplsr")
print(x$call)
ncomp <- x$ncomp
# print the Weighted Residuals
cat(gettextf("\nWeighted Residuals using %i components: ",ncomp),"\n")
print(format(summary(as.numeric(x$residuals[[nc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.