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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b681bac38aae37d3fc344ed360267ad426fb98b6 | 2b2ccfa703130414be1e04797c0e9c4adfed2cd3 | /mtic.R | 82722ef6548d69fa971e00beccae3f439631a79e | [] | no_license | slfan2013/MetNorm | 957fd7f48b33e6679cb74a7198a2b270be66424f | 9822a8fa338094b3225799be31536eb67f1e2f34 | refs/heads/master | 2023-05-03T18:12:58.711736 | 2021-05-24T05:27:19 | 2021-05-24T05:27:19 | 273,600,656 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 708 | r | mtic.R | cat("<!--------- mTIC --------->\n")
norm_skip = FALSE
if(!'compoundType' %in% colnames(f)){
cat(paste0("warning: 'compountType' is not in the dataset. mTIC skipped.\n"))
norm_skip = TRUE
}else{
mTIC_column = f[['compoundType']]
if(!'known' %in% unique(f[['compoundType']])){
cat(paste0("'known' (case-sensit... |
49d8c32a3872d115ee849fb12e368d0b758cb8b8 | 5e6caa777731aca4d6bbc88fa92348401e33b0a6 | /man/data_justifications.Rd | 24090e8b00d307005c423bb035803ae7950334c7 | [
"MIT"
] | permissive | metamelb-repliCATS/aggreCAT | e5c57d3645cb15d2bd6d2995992ad62a8878f7fb | 773617e4543d7287b0fca4a507ba4c94ee8f5e60 | refs/heads/master | 2023-05-22T19:51:20.949630 | 2023-03-31T05:21:39 | 2023-03-31T05:21:39 | 531,484,296 | 6 | 1 | NOASSERTION | 2023-03-31T05:03:05 | 2022-09-01T11:15:36 | R | UTF-8 | R | false | true | 1,205 | rd | data_justifications.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{data_justifications}
\alias{data_justifications}
\title{Free-text justifications for expert judgements}
\format{
A table with 5630 rows and 9 columns:
\describe{
\item{round}{character string identifying whether th... |
24863be783aadc06f8d194d32b6682ed58c89f36 | caca7203b28507ec914b0be0042f96eb66db71ab | /code/model2_interaction.R | 61d2a3166cfb1bbe750c0a7094f550b4fe606d6b | [] | no_license | boulbi777/returns-to-schooling-on-earning | e74e86ef94e8e7439a329f5239648746c8b67c6e | b9a64399e0cdf6ccc743276e30c99a59d81d58d0 | refs/heads/master | 2022-12-19T21:53:07.746490 | 2020-09-04T14:55:51 | 2020-09-04T14:55:51 | 293,286,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 266 | r | model2_interaction.R | mod2 = lm(logsal~age + age2 + female + for. + reg1 + reg2 + reg3 + reg4 +female*for., data=data2)
mod2_results = lm_analysis(data2,mod2,p=9)
print("Model with White method robust covariance :")
mod2_rob = commarobust(mod2, se_type="HC0")
print(summary(mod2_rob))
|
1543ab0551215ac6417f41d467f70b93aeb3fc23 | 8cb5580776ef5384e86e2a6f41d1a9e5cb52dc47 | /script/script_raw/Caret/BIC/9_SM_Full_BIC.R | 0e402d6f3c7e3aae653a86a4397c7b2bdb76411a | [] | no_license | MikyPiky/Project2 | 00836c6a00b2a2c57fb030ffe5111352b5dbe5ff | 1e4b14dbcff75af095acdd2afd4126f3410d1fb7 | refs/heads/master | 2021-01-23T12:38:37.942441 | 2017-06-16T17:11:14 | 2017-06-16T17:11:14 | 93,184,104 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,292 | r | 9_SM_Full_BIC.R | #################################
#### SiloMaize in September ####
#################################
'
######################
## File Discription ##
The purpose of this script is to estimate the impact of weather fluctuations in the month mentionend above on yearly crop yield.
This is done by the following the step... |
4f2d2084d614b13c006e06a5597377f2630a0a00 | f8072ec717f72b2afa71c730ee2a8a7f6532fe22 | /KPMG data insights.R | 32e2c965941addd7a26e7069a2fb661fbc078689 | [] | no_license | eamonnadams/KPMG_Data_Consulting_Data_Analysis | bed4e991fcf04abd6c5734e5792f7adeb8ba62b0 | f5b397237b05e69c1913742c54e02597fea5df61 | refs/heads/master | 2022-12-28T10:37:30.745625 | 2020-10-13T09:24:47 | 2020-10-13T09:24:47 | 281,916,403 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,914 | r | KPMG data insights.R | #Install and load all necessary packages and libraries
install.packages("DataExplorer")
install.packages("magrittr")
install.packages("lubridate")
install.packages("e1071")
install.packages("rfm")
install.packages("caret")
install.packages("pROC")
library(readxl)
library(dplyr)
library(ggplot2)
library(DataExplorer)
li... |
8051c6e258f01f5a73131f4080afffeb53251b39 | 47a8dff9177da5f79cc602c6d7842c0ec0854484 | /man/CaseMatch.Rd | ecec3a405d0b7a9c5a68b7b7fefcb67ed4d8c6fb | [
"MIT"
] | permissive | satijalab/seurat | 8949973cc7026d3115ebece016fca16b4f67b06c | 763259d05991d40721dee99c9919ec6d4491d15e | refs/heads/master | 2023-09-01T07:58:33.052836 | 2022-12-05T22:49:37 | 2022-12-05T22:49:37 | 35,927,665 | 2,057 | 1,049 | NOASSERTION | 2023-09-01T19:26:02 | 2015-05-20T05:23:02 | R | UTF-8 | R | false | true | 602 | rd | CaseMatch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{CaseMatch}
\alias{CaseMatch}
\title{Match the case of character vectors}
\usage{
CaseMatch(search, match)
}
\arguments{
\item{search}{A vector of search terms}
\item{match}{A vector of characters whose case should be matche... |
79d7a4972615183e22a104e0e3a345238720d3db | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/NISTunits/examples/NISTnanometerTOangstrom.Rd.R | 097005a1cd108a2daaced3e0fd47b73ebee087bc | [] | 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 | 208 | r | NISTnanometerTOangstrom.Rd.R | library(NISTunits)
### Name: NISTnanometerTOangstrom
### Title: Convert nanometer to angstrom
### Aliases: NISTnanometerTOangstrom
### Keywords: programming
### ** Examples
NISTnanometerTOangstrom(10)
|
85e75668aa93bc1a32262e492dd5412b04089e09 | cf606e7a3f06c0666e0ca38e32247fef9f090778 | /test/integration/example-models/ARM/Ch.6/6.7_MoreComplexGLM.R | dcfc0d6a3f69317b8ad1e77607a827608ac683b2 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | nhuurre/stanc3 | 32599a71d5f82c759fd6768b8b699fb5f2b2d072 | 5612b357c1cd5a08cf2a57db97ce0e789bb87018 | refs/heads/master | 2023-07-05T02:27:08.083259 | 2020-11-12T15:37:42 | 2020-11-12T15:37:42 | 222,684,189 | 0 | 0 | BSD-3-Clause | 2019-11-19T11:50:39 | 2019-11-19T11:50:38 | null | UTF-8 | R | false | false | 730 | r | 6.7_MoreComplexGLM.R | library(rstan)
library(ggplot2)
source("earnings1.data.R", echo = TRUE)
## Mixed discrete/continuous data
# Logistic regression with interactions (earnings1.stan)
# glm (earn.pos ~ height + male, family=binomial(link="logit"))
dataList.1 <- c("N","earn_pos","height","male")
earnings1.sf1 <- stan(file='earnings1.... |
5b98dfe56b10485a85c162852a29bde38fdf9672 | f67f13d5025accaa03855b00bada13e558636e71 | /Code/R/plotting.R | f3de1efa1be851e2f52d7dab54d276576f6e92cc | [] | no_license | ajanigyasi/master | 97f818bc5140ad109f739310cae8746df08ef11c | ec255bc4c3436742f89a71557d00e685355aafe7 | refs/heads/master | 2020-04-11T08:43:22.047156 | 2015-05-24T11:54:20 | 2015-05-24T11:54:20 | 61,918,256 | 1 | 0 | null | 2016-06-24T23:43:37 | 2016-06-24T23:43:37 | null | UTF-8 | R | false | false | 322 | r | plotting.R | source('dataSetGetter.R')
firstDay = getDataSet('20150129', '20150129', '../../Data/Autopassdata/Singledatefiles/Dataset/raw/', 'dataset')
firstDay$dateAndTime = strptime(firstDay$dateAndTime, format='%Y-%m-%d %H:%M:%S')
plot(firstDay$dateAndTime, firstDay$trafficVolume, type='l', ylab='', xlab='Time of day', main=NULL... |
ba4a648934d435717a114ca6d9829a2973f6d3b1 | 210683b5347b6f584b258f26c7d48ab51a518fe3 | /man/Reduce0exact.Rd | cfca82f4e3ac2e25fb3c0d509fde12b1d0576b63 | [
"MIT"
] | permissive | statisticsnorway/SSBtools | 6b95eab7f46c1096cd7d6ee3f61d3898150d49d0 | aa2728571e0840e1965f3e7ed0f1984c818ca7a1 | refs/heads/master | 2023-06-24T02:48:17.178606 | 2023-06-23T08:05:58 | 2023-06-23T08:05:58 | 137,074,899 | 5 | 0 | Apache-2.0 | 2023-06-23T08:06:00 | 2018-06-12T13:21:36 | R | UTF-8 | R | false | true | 4,389 | rd | Reduce0exact.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Reduce0exact.R
\name{Reduce0exact}
\alias{Reduce0exact}
\title{Reducing a non-negative regression problem}
\usage{
Reduce0exact(
x,
z = NULL,
reduceByColSums = FALSE,
reduceByLeverage = FALSE,
leverageLimit = 0.999999,
digitsRound... |
fd6337f4cf3f30a59ceccab54d7370f2dc745403 | 7b102f9c8f2e3f9240090d1d67af50333a2ba98d | /gbd_2017/mortality_code/mortality_estimation/shared_functions/ltcore/R/lx_to_qx_wide.R | 38ac0da7dffe16381829a9bff3f4247314f74c63 | [] | no_license | Nermin-Ghith/ihme-modeling | 9c8ec56b249cb0c417361102724fef1e6e0bcebd | 746ea5fb76a9c049c37a8c15aa089c041a90a6d5 | refs/heads/main | 2023-04-13T00:26:55.363986 | 2020-10-28T19:51:51 | 2020-10-28T19:51:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,044 | r | lx_to_qx_wide.R | #' Convert a dataset of person-years lived (lx) to probabilities of death (qx)
#'
#' Given a dataset with columns named lx# where # is a numeric age (e.g. lx0, lx1, etc.), convert to qx.
#' Modifies the existing dataset, adding variables qx#.
#' qx_current_age = 1 - (lx_next_age / lx_current_age), e.g. qx5 = lx10 / lx... |
8acb217ffa7658c6a20a28ce46e5736482f14099 | c2a575de83e16caad042dfd38c705014cafe2abb | /R/app_ui.R | 851d2b56709d736505d42026fe5feb713a912d27 | [
"MIT"
] | permissive | laurabiggins/ShinyProteomics | b5275d51cfbe11ea2ca7b65b1f7b986d19a78b9c | c96978758be4011c78facaad0f15d8042e2ff080 | refs/heads/master | 2023-01-05T18:06:36.427931 | 2020-11-06T11:32:03 | 2020-11-06T11:32:03 | 206,538,346 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,485 | r | app_ui.R | #' @import shiny
app_ui <- function() {
tagList(
golem_add_external_resources(),
fluidPage(
br(),
withTags(
div(class="title_block",
h1("Cell surface proteome of human pluripotent states"),
br(),
h4("Plasma membrane profiling identifies differences ... |
06ef27e8636b6d273ca8044dc4fb4fd1f5037e59 | 8b5df82132ab2643d855efe2767e829b490ad7f8 | /caret-methods.r | 0f1762c7d39042c0049667d9722579ec6dee1d94 | [] | no_license | anton-rusanov/kaggle-titanic | 6e400cb4939b34dfae3772eda5030549862af705 | f1cdf28f9733944c7c83482c18a39b8363be2997 | refs/heads/master | 2020-05-07T17:09:39.775468 | 2015-08-20T08:09:21 | 2015-08-20T08:09:21 | 37,762,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 518 | r | caret-methods.r | library(gbm)
source('commons.r')
## Trains the Support Vector Machine model and predicts 'Survived' for the test set.
predict_with_caret_svm <- function(training, test, formula, label) {
train_and_predict_with_caret('svmRadial', training, test, formula, label, prob.model = TRUE)
}
## Trains a Stochastic Gradient B... |
c28b1afd697459cc4c8921c1dce108c91e3a23c0 | 57474b3df08d704fa651998d3a381609d884f3b8 | /pollutantmean.R | 1771ad8421222f6c53985ca6ab9a95725de77add | [] | no_license | AudiencePropensities/ProgrammingAssignment2 | d0c4fc5960df193c3b8bf879409a218e4480f883 | 2d73655c4f242e2fd2072565a479f880b12a2000 | refs/heads/master | 2021-01-17T19:12:51.239513 | 2014-07-27T22:04:23 | 2014-07-27T22:04:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 798 | r | pollutantmean.R |
pollutantmean <- function(directory, pollutant, id= 1:332) {
name<-list.files(directory)[id]
data.name<-lapply(paste0("specdata/",name),read.csv,header=T)
total<-do.call(rbind, data.name)
a<-mean(na.omit(total[[pollutant]]))
print(round(a,digits=3))
}
pollutantmean("specdata... |
8b90ecea3eed6218aef599c6c3aa4cfb777e916f | 09c95562e72ddbc816cfcede64a5892bc339f954 | /man/calc_combo.Rd | 7686109b97d669d7a6641a09713939ea22cbfa20 | [] | no_license | jhchou/medianeffect | 00445fb273ef84de5546785169672421ef1b54c1 | 08cb14dda118f79cc5aeaa0094c750cfffef8049 | refs/heads/master | 2021-02-05T10:39:27.438120 | 2020-03-03T18:32:13 | 2020-03-03T18:32:13 | 243,771,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 859 | rd | calc_combo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/medianeffect.R
\name{calc_combo}
\alias{calc_combo}
\title{Drug combination calculations}
\usage{
calc_combo(drug_combo, ..., fa = double())
}
\arguments{
\item{drug_combo}{Drug effect fixed-ratio combination object}
\item{...}{Drug effect o... |
b587615ee5a7865cb0e5a588483b58ab795ae564 | 9d3e3c3950c4101bc863a90e69606d7c7d03a4e9 | /chilling/04_make_figures/color_code_all_locations.R | e19bae714d64721058d3bc8fbff27bfc1d0c14a8 | [
"MIT"
] | permissive | HNoorazar/Ag | ca6eb5a72ac7ea74e4fe982e70e148d5ad6c6fee | 24fea71e9740de7eb01782fa102ad79491257b58 | refs/heads/main | 2023-09-03T18:14:12.241300 | 2023-08-23T00:03:40 | 2023-08-23T00:03:40 | 146,382,473 | 3 | 6 | null | 2019-09-23T16:45:37 | 2018-08-28T02:44:37 | R | UTF-8 | R | false | false | 16,296 | r | color_code_all_locations.R |
rm(list=ls())
.libPaths("/data/hydro/R_libs35")
.libPaths()
library(data.table)
library(dplyr)
library(tidyr)
library(tidyverse)
options(digit=9)
options(digits=9)
source_path_1 = "/Users/hn/Documents/GitHub/Ag/chilling/4th_draft/chill_core.R"
source(source_path_1)
###################################################... |
ac514150d45f1d48ecab6cd358dad493b748bfb0 | f8c9804e50a61d544250ecf5a1a03b357819a23a | /man/mrds-opt.Rd | 8410d301230b3e45952b03a720e971cbd1bb134a | [] | no_license | cran/mrds | c086ead932cd9e39c9aa7ee734bc55f0d2e8d425 | dfa8dff4d44565c0123ef6f3f1e9f0b152b6155c | refs/heads/master | 2023-07-27T08:16:08.397331 | 2023-07-06T10:30:15 | 2023-07-06T10:30:15 | 17,697,669 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,898 | rd | mrds-opt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mrds-package.R
\docType{methods}
\name{mrds-opt}
\alias{mrds-opt}
\title{Tips on optimisation issues in \code{mrds} models}
\description{
Occasionally when fitting an `mrds` model one can run into optimisation
issues. In general such ... |
d7c05d8043e8a716e637c89fcc9da0f28cd48905 | c0936db82e1500f9e5721414305b110587029449 | /plot4.R | cae26c96343c0ca8e404e4286735b4cda24e1368 | [] | no_license | mgiusto/ExData_Plotting1 | 8702d58d1a0bca69128cc7096b3169c9a739d069 | 4e11dd5808591c505e35eae923065884ec3afa65 | refs/heads/master | 2021-01-16T22:03:36.588240 | 2014-05-08T20:26:20 | 2014-05-08T20:26:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,243 | r | plot4.R | #general configurations
Sys.setlocale("LC_TIME", "C")
#load data
data=read.csv(file="household_power_consumption.txt",colClasses=c(rep("character",7)),header=TRUE,sep=";",nrow=70000)
data = data[data$Date %in% c("1/2/2007", "2/2/2007"),]
for (i in 3:dim(data)[2]){
data[,i] = as.numeric(data[,i],dec=".")
}
data$datet... |
85d42319c60ffc2977afc8b5649a4beb36cb1529 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Introductory_Statistics_by_Sheldon_M._Ross/CH7/EX7.5/Ex7_5.R | 607fbb90ac01c574361f621ce4faef881676b47c | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 153 | r | Ex7_5.R | #Page No.313
n=900
left_handed=60
p=left_handed/n
print(p)
px2=400/1000
print(px2)
px2x1=399/1000
print(px2x1)
px2px1_0=400/999
print(px2px1_0) |
adf21904c3e7c7a02710f7f10f96008fc721fc6b | 8f549e33631a13e2b3c05fd02605f31a6f5c079c | /R/OnlyBluntTraumaPatients.R | 11649824a8340d5aa7da7d07a7002fffa9950248 | [
"MIT"
] | permissive | martingerdin/bengaltiger | 07e60275560af5ed3c6df090f94a8d427796e29e | 2662bb36540699a51e6558b542008d07035a98e1 | refs/heads/master | 2021-07-03T12:29:20.911428 | 2020-02-25T11:45:47 | 2020-02-25T11:45:47 | 144,838,020 | 3 | 4 | MIT | 2020-09-02T10:24:17 | 2018-08-15T10:12:31 | R | UTF-8 | R | false | false | 2,520 | r | OnlyBluntTraumaPatients.R | #' Only patients with blunt trauma
#'
#' Keeps only patients with blunt trauma in the sample.
#' @param study.sample Data frame. The study sample. No default.
#' @param injury.type.variable.name Character vector of length 1. The name of
#' the age variable. Defaults to "ti".
#' @param blunt.value Character or numer... |
4a080e4bcda716b4b24659a786d3224b5596d86f | 870e79c2458d684f512a6613a61a71222341eab4 | /R/zzz.R | cd03109b0f60dcd933e5cf4c9a4e0ae8c1db45f0 | [] | no_license | bbuchsbaum/pronouncingR | ec38b5c1f1a1979855c588864e3e41b4a34b2ee2 | e0a62c15593a29df28612703be46c3beaab989fc | refs/heads/master | 2021-01-16T08:51:35.016279 | 2020-02-26T21:38:42 | 2020-02-26T21:38:42 | 243,048,648 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 321 | r | zzz.R | pronouncing <- NULL
pincelate <- NULL
pin <- NULL
.onLoad <- function(libname, pkgname) {
# use superassignment to update global reference to scipy
pronouncing <<- reticulate::import("pronouncing", delay_load = TRUE)
pincelate <<- reticulate::import("pincelate", delay_load = TRUE)
pin <<- pincelate$Pincelate()
... |
bb7c17caabf8815746c68c72921f516d195f948c | 154f590295a74e1ca8cdde49ecbb9cbb0992147e | /R/dh5.R | 6071103daa277b5e67d364e65a6722da59537c87 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer",
"CC0-1.0"
] | permissive | klingerf2/EflowStats | 2e57df72e154581de2df3d5de3ebd94c3da0dedf | 73891ea7da73a274227212a2ca829084149a2906 | refs/heads/master | 2017-12-07T10:47:25.943426 | 2016-12-28T20:52:42 | 2016-12-28T20:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,455 | r | dh5.R | #' Function to return the DH5 hydrologic indicator statistic for a given data frame
#'
#' This function accepts a data frame that contains a column named "discharge" and calculates
#' DH5; Annual maximum of 90-day moving average flows. Compute the maximum of a 90-day moving average flow for
#' each year. DH5 is the ... |
b674930e222fd44678bd0026e2a628df18e176b6 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /B_analysts_sources_github/Ironholds/dalit-dash/utils.R | 9ce22e91d50a55533ff89476e1447d7d849c4cd3 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 371 | r | utils.R | library(httr)
library(ores)
# Handles the actual querying logic
query_wp <- function(params, error_message){
result <- httr::GET("https://en.wikipedia.org/w/api.php",
query = params,
httr::user_agent("Dalit Dashboard service"))
if(result$status_code != 200){
stop(err... |
22a1747a7b35dc0ad5afe617c7aae2cf06de3a12 | ef424746a3ea4ed6e167f03d359b39da48a0fc21 | /R/DEPRECATED/MICRO-Tile-Parameters.R | 77de0e448a8282c2fc4f4d678d0e58ce9fff65c0 | [] | no_license | smitdave/MASH | 397a1f501c664089ea297b8841f2cea1611797e4 | b5787a1fe963b7c2005de23a3e52ef981485f84c | refs/heads/master | 2021-01-18T18:08:25.424086 | 2017-08-17T00:18:52 | 2017-08-17T00:18:52 | 86,845,212 | 0 | 3 | null | 2017-08-17T00:18:52 | 2017-03-31T17:42:46 | R | UTF-8 | R | false | false | 4,097 | r | MICRO-Tile-Parameters.R | # ####################################################################################
# #
# # MASH
# # R6-ified
# # MICRO Tile Class Parameters
# # Hector Sanchez & David Smith, Hector Sanchez, Sean Wu
# # May 31, 2017
# #
# ####################################################################################... |
2ee279906a14c7e419e2586dd9b3e9caf91edd8f | 315e6d13054a86421cfee1c7c9d9c90c180795f7 | /plot1.r | 17216ca93578235d4b9f1e575e2d65c8897d83b0 | [] | no_license | pengguo-01/EPA-National-Emission-Inventory | 63acc865c763516a14dc1336d5b95b9cc878e580 | beee028128353d6af1b3502f6a64372c149e0b5c | refs/heads/master | 2021-01-02T05:33:47.579903 | 2020-02-10T13:10:31 | 2020-02-10T13:10:31 | 239,511,878 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 580 | r | plot1.r |
setwd("C://Desktop//Download")
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
##head(NEI)
##head(SCC)
#summary(NEI)
##names(SCC)
str(NEI)
str(SCC)
## total emission from PM2.5
## creat the plot of emisson ans save it
TotalNei <- aggregate(Emissions ~year, NEI... |
bdf3a05fb728b5cc1d8bf9ac8ca5221eadbddbbc | e9b52725874e941de0f94be1cf1ddb3b3f7b04c7 | /docs/stimuli/csvtojson.r | 53b87edc27379582c092af0e0375b86d61f430c9 | [] | no_license | bwaldon/probmust | 528019e835795920e0f77eea34acfad9cfe75fea | 0f9bab75cf2f12f2de33b3d302f04aca9087456d | refs/heads/master | 2020-09-06T02:11:09.156280 | 2020-06-17T15:39:26 | 2020-06-17T15:39:26 | 220,283,294 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 320 | r | csvtojson.r | library(tidyverse)
library(jsonlite)
setwd(dirname(rstudioapi::getActiveDocumentContext()$path))
stims <- read.csv("inposition.csv")
stims_json <- toJSON(stims)
write_file(stims_json, "inposition.json")
stims <- read.csv("completestory.csv")
stims_json <- toJSON(stims)
write_file(stims_json, "completestory.json")
|
9df42a139197f07ac2593cfebe4c91e3933c09ae | e508c618f5f5b63540af455e1e38a2adfae03811 | /plot2.R | dead769645f320434d4222b126c48d91b006b72f | [] | no_license | mtiberi/ExData_Plotting1 | 872092367f879cebecb008edae0dc1b7dc0d2225 | 85118109d7eeebbc3f45222fddda9ae98672f528 | refs/heads/master | 2020-12-14T09:02:15.308200 | 2015-12-12T08:17:41 | 2015-12-12T08:17:41 | 47,864,111 | 0 | 0 | null | 2015-12-12T04:26:11 | 2015-12-12T04:26:10 | null | UTF-8 | R | false | false | 1,001 | r | plot2.R | load.data<- function() {
section<- "section.csv"
if (!file.exists(section)) {
if (!file.exists("household_power_consumption.txt")) {
zipfile<- "household_power_consumption.zip"
if (!file.exists(zipfile)) {
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_powe... |
d49e3d99bc4507bac30d010eab35a666665d9219 | 03e8e288378284cd3c8f467fc09b55e93c4ee605 | /chart/pie_chart.R | 989e3ea60eb23044a3031f2e040da4dfe802fea6 | [] | no_license | JijoongHong/Business-and-Economics-Data-Analysis | eb2dbee6e9bbcdfe92d26f81f57903b1d0484a82 | 97f9dbddf0593179400756dfb58d88cd34cd38a6 | refs/heads/main | 2023-04-18T19:34:25.735952 | 2021-04-26T18:57:54 | 2021-04-26T18:57:54 | 361,833,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | r | pie_chart.R | install.packages("RColorBrewer")
library(RColorBrewer)
greens = brewer.pal(7, 'Greens') #색의 수, 팔레트 유형
city = c("seoul", "busan", "daegu", "incheon", "gwangju", "daejeon", "ulsan")
pm25 = c(18,21,21,17,8,11,25)
pct = round(pm25/sum(pm25)*100.0)
city_label = paste(city, ",", pct, "%", sep="")
pie(pm25, labels=city_labe... |
51054c9759c4a0953beac38b8e6fa79118ed7b96 | 31d01cb6fd40ae946822160aa67153026421cc8f | /ipmu-talk/pdc-betadens-setup.R | 98be373ce108148e0c995009fa361887dc10da40 | [] | no_license | geeeero/boatpaper | 3dd66b634c2e28c078eee8ab1a94af1be6596f75 | 20eaf20706b66bdca088ceef2284d413c263eaee | refs/heads/master | 2021-01-21T04:54:48.995452 | 2016-06-20T23:39:53 | 2016-06-20T23:39:53 | 19,751,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,856 | r | pdc-betadens-setup.R | library(ggplot2)
library(reshape2)
library(grid)
library(gridExtra)
library(luck)
source("../../lund_1512/lund-1512/course/04-01_BinomialData.R")
source("../../lund_1512/lund-1512/course/04-02_Binomial.R")
tuered <- rgb(0.839,0.000,0.290)
tueblue <- rgb(0.000,0.400,0.800)
tueyellow <- rgb(1.000,0.867,0.000)
tuegreen <... |
4f3ccd4d9cd6c1b8b4afab22f038ae7c49e2e252 | 2d88e86736d81b32e957b62bd8b0041e2a9778ad | /man/plotEnsembleMean.Rd | 33819b2cc8b169c0ce9b180941066734e2526054 | [] | no_license | cran/amber | c1659595049f230f54db3893704fc67ddb2429ed | e6ef59a25270413a1875c84feac786551bf69315 | refs/heads/master | 2021-07-23T06:25:02.408885 | 2020-08-28T10:20:02 | 2020-08-28T10:20:02 | 212,134,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,837 | rd | plotEnsembleMean.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotEnsembleMean.R
\name{plotEnsembleMean}
\alias{plotEnsembleMean}
\title{Ensemble mean plots of AMBER results (bias, bias scores, etc)}
\usage{
plotEnsembleMean(long.name, metric, mod.path.list, modelIDs, myVariables,
shp.filename = syste... |
5047b2e3eb7beca15b0417e7fb540e5e17d5eca7 | 0de0b6edf603c9a99da5bd21afae8bd3e5d2f4c0 | /man/ARCoeffMap.Rd | 49533e71e352de788c832f449f0092f65f4c6407 | [] | no_license | cran/cope | 17b0f7581865c589331602fd3097d02d6b65341f | c8fc20648160175ebd66885be31d98292608213c | refs/heads/master | 2021-06-26T12:34:32.065985 | 2017-02-13T11:57:47 | 2017-02-13T11:57:47 | 29,903,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 514 | rd | ARCoeffMap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ToyExamples.R
\name{ARCoeffMap}
\alias{ARCoeffMap}
\title{Generate the AR coefficient map.}
\usage{
ARCoeffMap(Ns = 64)
}
\arguments{
\item{Ns}{Number of pixels of the result in one direction. The resulting
picture will have Ns x Ns pixels.}
... |
7b2a584172d5c4bf3f46b17b85d181c7cf364f33 | ffb2418b096271c5b29821344e47269d6fe4d192 | /man/inspect.Rd | 2e8664b3d133e64799a84591cb5b666924910aa3 | [] | no_license | hadley/pryr | ed001475a186a0125136d40fd2ecaace230ae194 | 860500b7ff9951441822bf046b2b8665113f2276 | refs/heads/master | 2023-04-05T06:00:42.153084 | 2023-01-18T13:54:12 | 2023-01-18T13:54:12 | 7,491,765 | 188 | 35 | null | 2023-03-18T16:58:03 | 2013-01-07T23:19:25 | R | UTF-8 | R | false | true | 1,389 | rd | inspect.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R, R/inspect.r
\name{sexp_type}
\alias{sexp_type}
\alias{inspect}
\alias{refs}
\alias{address}
\alias{typename}
\title{Inspect internal attributes of R objects.}
\usage{
sexp_type(x)
inspect(x, env = parent.frame())
refs(x)
add... |
5248d93d27368c40000e5b9285cb5a68825faf5c | 1c9dc6b031f967801c894344893285542a7becae | /man/post_clean_chance.Rd | 8194875316bd21d5063d770894f2b6c5af679f44 | [
"MIT"
] | permissive | Mattlk13/aceR | 0a67f1fbc197781bd3417b4da63b02429b16a797 | c9c11f9bfd60df6c24ce5fff6a8e2b04aebade5a | refs/heads/master | 2022-06-30T03:13:27.428067 | 2022-06-20T20:38:31 | 2022-06-20T20:38:31 | 147,976,156 | 0 | 0 | MIT | 2020-06-30T16:20:36 | 2018-09-08T23:04:05 | R | UTF-8 | R | false | true | 1,957 | rd | post_clean_chance.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/module-post.R
\name{post_clean_chance}
\alias{post_clean_chance}
\title{Scrub processed data with below-chance accuracy}
\usage{
post_clean_chance(
df,
app_type = c("classroom", "explorer"),
overall = TRUE,
cutoff_dprime = 0,
cutoff... |
baaa82317dc45f808b27689fde9f87db5e154c07 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/nxquery_query51_1344n/nxquery_query51_1344n.R | 6f5c64e76dfeb0ee26d3ad2f3409667b4fae8fb2 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 70 | r | nxquery_query51_1344n.R | 3e0c03874c515f36571a2460e1729f16 nxquery_query51_1344n.qdimacs 335 925 |
b18e77e9b6e6620b26dd1a46231f225f48371003 | 5a208336d315d316a493c85b39da5b0df010cfc6 | /covid_project.R | cbb2d66894ab7b7cecc3855d840cd76f9c7cba5b | [
"Apache-2.0"
] | permissive | stevenwortmann/CCAC_R | e440e341d59b71e3cbaf6d5f7cf7cd66a7c7d166 | 7313409add110b64e8d50f3b562c3d776ab4e7df | refs/heads/main | 2023-05-20T13:04:09.777936 | 2021-06-11T15:28:06 | 2021-06-11T15:28:06 | 354,147,367 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,827 | r | covid_project.R | library(tidyverse)
library(plotly)
url <- 'https://raw.githubusercontent.com/owid/covid-19-data/master/public/data/owid-covid-data.csv'
data <- as_tibble(read.csv(url)) %>% select(-iso_code,-continent)
data$date <- as.Date(data$date, '%Y-%m-%d')
colnames(data)
unique(data$location)
continents <- c('World','North Ame... |
21e5d74fc025256edc7670d09b2f066e30d7273d | 361954cc1036c8e77f6410e5c63955260375f071 | /man/mxnt.c.Rd | ec2c23353c1e8a1e155b4fc71bcf5e7e1d28bb7d | [] | no_license | HemingNM/ENMwizard | a4d8f883560e0a5d34c12507489d51e057640f30 | b8f30a1e7c255ce43c2f45541e418f06879dbc74 | refs/heads/master | 2023-06-21T20:25:35.622227 | 2023-06-12T12:36:24 | 2023-06-12T12:36:24 | 104,896,526 | 17 | 3 | null | null | null | null | UTF-8 | R | false | true | 423 | rd | mxnt.c.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/xx.Deprecated.functions.R
\name{mxnt.c}
\alias{mxnt.c}
\title{Calibrate MaxEnt models based on model selection criteria}
\usage{
mxnt.c(...)
}
\arguments{
\item{...}{additional arguments}
}
\description{
This function will read an object of c... |
d2fa72c5eaf762ec6fa6a0a6e6f4419c91e0817a | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_PenmanMonteith/AFL_ET0_PenmanMonteith/ET0_PenmanMonteith_valgrind_files/1615841609-test.R | 250899f6316f736fb405fb1316c8a0d102162cf8 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 698 | r | 1615841609-test.R | testlist <- list(G = numeric(0), Rn = numeric(0), atmp = numeric(0), ra = numeric(0), relh = numeric(0), rs = numeric(0), temp = c(3.97819720707908e-140, 2.93002458225603e-103, 5.4110925816528e-312, 6.11701179667664e-231, -4.51958902583875e-52, NaN, -1.68828440347651e+89, -1.07039890209705e+91, 4.66... |
c478fbab169700420000020d53137f385610c886 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /biwavelet/inst/testfiles/rcpp_row_quantile/libFuzzer_rcpp_row_quantile/rcpp_row_quantile_valgrind_files/1610555794-test.R | 87bde6ca1c15b4d7144fd7b2d674298676fc14ed | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 182 | r | 1610555794-test.R | testlist <- list(data = structure(c(2.12199591744608e-314, 4.46108960268127e-140, 0), .Dim = c(3L, 1L)), q = 0)
result <- do.call(biwavelet:::rcpp_row_quantile,testlist)
str(result) |
50234040df1f27bf324efb6c91968db683238cad | 3890b1c631f1b774821dedbb7afdcd3256dd5565 | /Script.R | 1d5e0489dd3017aac19704beb20b112bc95ba1f7 | [] | no_license | britbrin/Vireo-olivaceus | 46bbcf4ac97d418aafa73b31bc5b7fde5e784998 | ec98cf2dccbad0c86d0f33af21aaa5cd926b432f | refs/heads/master | 2021-09-06T00:03:17.078623 | 2018-01-31T21:09:01 | 2018-01-31T21:09:01 | 119,094,101 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,654 | r | Script.R | library(readr)
library(raster)
library(rgdal)
library(ggplot2)
# download packages
hurliang <- read_csv("~/Desktop/SeniorSpring/BIOL395/GitHub/Vireo-olivaceus/uniq_ads_CI_grid_ids_tmin.csv")
View(hurliang)
# import HurlbertLiang2012 dataset
myspecies = hurliang[hurliang$species == 'Vireo olivaceus', ]
View(myspecies... |
86d8e0ba1bb1c783dfcaff6d35db9aff5f0b29c6 | 75333bb9412ac97c7afd7fea3361ab885ea7d844 | /RPackage/R/onLoad.R | 551c9e5c3339f73fe4d2416c23e7a68db5a1f16f | [] | no_license | rohan-shah/networkReliability | d463ffa4bc0857fb663ba4323aeae2bd743fbd61 | 0ba88a99e0d8af9d310b00e78171f09e9d356059 | refs/heads/master | 2020-12-21T20:59:36.962538 | 2020-06-04T03:21:11 | 2020-06-04T03:21:11 | 57,937,725 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 139 | r | onLoad.R | .onLoad <- function(libname, pkgname)
{
library.dynam(package="networkReliability", chname="networkReliability", lib.loc = .libPaths())
}
|
9d1d159ad4686f2ae7e218f430fb661dab3ba35f | eca4448cb4f62c18e13daa14bbad5a1ccfcf11b2 | /R code for gwas/multippleqqplotfun1.r | 2eacafe0504cc1be06ca063506f69925006de787 | [] | no_license | wzxsoy/R-and-Python-code-for-GWAS-and-Genomic-selection | 911273101adbaad9fa2859849fc736ab70dd5962 | 0f6b38db7f4d48df1ac6cc449e5438b9588e6f16 | refs/heads/master | 2020-07-02T00:56:39.578287 | 2020-03-05T15:21:56 | 2020-03-05T15:21:56 | 201,365,912 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 761 | r | multippleqqplotfun1.r | # umesh rosyara 8/23/2012
qqplotfun <- function (x1, x2) {
if (!is.numeric(x1)) stop("D'oh! X1 P value vector is not numeric.")
x1 <- x1[!is.na(x1) & x1<1 & x1>0]
if (!is.numeric(x2)) stop("D'oh! X2 P value vector is not numeric.")
x2 <- x2[!is.na(x2) & x2<1 & x2>0]
x <- c(-log10(x1),-log10(x2))
qx <- ... |
3b8c731553ddf0f2b9bb9dcea3baa5fdfbabda2e | a6f13f78977d956f7f1b9c69e46dbef641fd7bd5 | /Project_2.R | 6ed62f77d8a1a3e4c1a7fcbf5d425aa6eb43b3ad | [] | no_license | sarang125/ML_Project2_UB | eee354bf36134cf10e971887030860f987614bc6 | 2ca6b8896eb9bc6096e98394d9787821d56db60d | refs/heads/master | 2020-05-21T02:58:04.993948 | 2019-05-10T00:11:23 | 2019-05-10T00:11:23 | 185,888,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,433 | r | Project_2.R | "This is the code for extracting the UB related tweets from tweeter
and performing a class prediction task based on its emergency(1) or no-emergency(0) nature
"
# Step 1 : Installing the necessary packages for extracting..
#...and cleaning the tweet data using twitteR and tm package in R
#install.packages('twit... |
e0fbf3df1aa6493de740b6d6559fb4e732103cd2 | 732a300fdab998d0aa2e55f7284a94b901f8164c | /repro_research/peer_assessment_1.R | 273c16890569740cf24ad920b2d4d0f36731fb0b | [] | no_license | brobinso/datasciencecoursera | aa5000f0654cef5d312ce76a4b7fe989ecad83a2 | 6ec93e817497a35fdf030294853b20c50e8a56ea | refs/heads/master | 2021-01-01T20:00:50.209253 | 2015-08-17T02:11:25 | 2015-08-17T02:11:25 | 26,337,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,203 | r | peer_assessment_1.R | #setwd("./ML/repro_research/RepData_PeerAssessment1")
sessionInfo()
packages<-c("lubridate","dplyr","lattice")
lapply(packages,require,character.only=TRUE)
# read and preprocess
x<-read.csv("./RepData_PeerAssessment1/activity.csv",header=T,stringsAsFactors=F)
x$date<-ymd(x$date)
x<-mutate(x,dow=ordered(wday(x$date)))
... |
2f06f0b935788445111192ef3169156ed07d824b | 75b6573d973c8a037e20647947176fb3a79c7acd | /R/aggregate_OCN.R | 1ffe5e5d9d68f2f9e76940484f3d855aa68a1440 | [] | no_license | lucarraro/OCNet | e6cb08b6fbb154719b8e18ad6ccdac7be3eca8f5 | 2a2789678c3d5ddcbe49bf8e90b3f73920feb273 | refs/heads/master | 2023-08-03T04:34:23.223279 | 2023-07-20T12:54:16 | 2023-07-20T12:54:16 | 219,014,909 | 5 | 4 | null | 2023-05-16T09:10:36 | 2019-11-01T15:43:08 | HTML | UTF-8 | R | false | false | 18,487 | r | aggregate_OCN.R |
aggregate_OCN <- function(OCN,
thrA=0.002*OCN$FD$nNodes*OCN$cellsize^2,
streamOrderType="Strahler",
maxReachLength=Inf,
breakpoints=NULL,
displayUpdates=FALSE){
if (!("slope" %... |
81ff7a8901902b2b238479969d2d58271430b9ca | f095c50e1d1d8a7bb2229c5e4d101912c44aae10 | /man/average.Rd | ced69253f7d8b1e0c77add5c00005811d8de1d4e | [] | no_license | stla/ocpuHello | d5a7cbee6428df1c428dbbc0d254ff90da4a727c | 7ab6966cdbea06ae13f314ab753dc8b0c7623281 | refs/heads/master | 2020-09-13T17:40:22.609150 | 2016-09-14T11:25:50 | 2016-09-14T11:25:50 | 66,934,325 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 210 | rd | average.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hello.R
\name{average}
\alias{average}
\title{Average}
\usage{
average(x)
}
\arguments{
\item{x}{vector}
}
\description{
Average
}
|
7ee11874302cca238cda60752174a0761533f0db | 909157178ed55cf23adbd5b835012f78f510669e | /Basic data/dataframes.R | 51301d1ea5dc4bbb87e5b872673ea40550647f39 | [] | no_license | tomscott1/R-notes | d7e4c0e45497c02e88b7bfe4fbbecd8cea811d58 | d890a5432acddd3618fa7ce1b11aa45b7c0ef3d4 | refs/heads/master | 2021-01-12T10:52:27.142033 | 2016-12-04T21:35:53 | 2016-12-04T21:35:53 | 72,739,973 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,395 | r | dataframes.R | empty <- data.frame()
c1 <- 1:10
c2 <- letters[c1]
df <- data.frame(col.name.1 = c1, col.name.2 = c2)
# import / export .csv
write_csv(df, file = 'saved.csv')
df2 <- read_csv('saved.csv')
# get info on DF
nrow(df) # number of rows in dataframe
ncol(df) # number of cols in dataframe
colnames(df)
rownames(df)
str(d... |
afff1a8a4ea7a4666891dc52edc9934c732369df | 169a6494a475f42d0452d3ade4622bde1eb939cc | /R/tax_agg.R | 91a4c8dfb4d75fd8daa639368949cc7f699a1ae7 | [
"MIT"
] | permissive | ropensci/taxize | d205379bc0369d9dcdb48a8e42f3f34e7c546b9b | 269095008f4d07bfdb76c51b0601be55d4941597 | refs/heads/master | 2023-05-25T04:00:46.760165 | 2023-05-02T20:02:50 | 2023-05-02T20:02:50 | 1,771,790 | 224 | 75 | NOASSERTION | 2023-05-02T20:02:51 | 2011-05-19T15:05:33 | R | UTF-8 | R | false | false | 4,594 | r | tax_agg.R | #' Aggregate species data to given taxonomic rank
#'
#' @export
#' @param x Community data matrix. Taxa in columns, samples in rows.
#' @param rank character; Taxonomic rank to aggregate by.
#' @param db character; taxonomic API to use, 'ncbi, 'itis' or both, see
#' [tax_name()]. Note that each taxonomic data source ha... |
cddf7d68a965d5840c4599f5af088156d867cd16 | 19519ca0e33425ee70663568855cad34b22b36d0 | /plot1.R | d9cb672c25f57363bcc2a054ea33effe4282e11a | [] | no_license | dmdata101/ExData_Plotting1 | 36c508b51427d5ab7735f347c9211dadcfcc50d4 | 3756a88144c843e35d3475f4d81c3a6f4859fce1 | refs/heads/master | 2021-01-18T10:48:12.050466 | 2015-03-07T16:58:12 | 2015-03-07T16:58:12 | 31,813,760 | 0 | 0 | null | 2015-03-07T14:03:45 | 2015-03-07T14:03:44 | null | UTF-8 | R | false | false | 704 | r | plot1.R |
# PLOT 1
# File 'household_power_consumption.txt' is a subset of the complete data.
# It only contains data for Feb 1 2007 and Feb 2 2007
# Because it is a 'write' of a previous data.frame, no need for the specific
# header, sep and na.strings functions any more because
# See source file '0-subset full data.R' for p... |
1a794b97562a097ec82535e3cfaedc2b4f80fb2c | 436f71883853fe2a9e48086718bcdefa32ced7b7 | /kmeans.R | e2a69030379dcb4e1fb49fb22927b02de8bc7fe9 | [] | no_license | yayitsnaomi/Algorithms-in-R | 2cc1a53083f30dc0eb34b25a2f9326f733961e87 | 1aaf41ab4feed94080e3eb21c88cf95d452481b4 | refs/heads/master | 2020-04-19T06:49:14.799401 | 2019-03-01T04:56:32 | 2019-03-01T04:56:32 | 168,029,191 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,125 | r | kmeans.R |
library(stringr) #Regular expression leveraged in feature engineering
library(dplyr) #data transformation
library(tidyr) #data transformation
## Kmeans
# Cluster analysis steps
# variable constrction/feature engineering
# consider initial splits
# variable/feature selection - good clusters are actionalble... |
df6c31c292b11024a4c63b0a5812017b56f5190f | 6d9b097cef9ce745ed5232b4f99bbbd3a65df770 | /man/selectContrast.Rd | 68c0e587471c4e6feaa0df1aeb5b52c2bc82c730 | [] | no_license | arturochian/MRIaggr | e4bcb4c933a7d728259b7cfba967f27948c5516e | 9091de45d349ccad0eabc7e2f99edd56f9874cff | refs/heads/master | 2021-01-16T19:40:08.102222 | 2015-02-27T00:00:00 | 2015-02-27T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,609 | rd | selectContrast.Rd | \name{selectContrast}
\title{Extract contrast parameters}
\alias{selectContrast}
\alias{selectContrast,Carto3D-method}
\alias{selectContrast,MRIaggr-method}
\description{
Extract the contrast parameters from a \code{\linkS4class{Carto3D}} or a \code{\linkS4class{MRIaggr}} object.
}
\usage{
\S4method{selectCont... |
8bd4134a97f9aa5590d82696ac574f4006301417 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.application.integration/man/sqs_get_queue_attributes.Rd | e9a32c711505455ca3df2a7a777761bebdc34024 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 9,743 | rd | sqs_get_queue_attributes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sqs_operations.R
\name{sqs_get_queue_attributes}
\alias{sqs_get_queue_attributes}
\title{Gets attributes for the specified queue}
\usage{
sqs_get_queue_attributes(QueueUrl, AttributeNames = NULL)
}
\arguments{
\item{QueueUrl}{[required] The U... |
6f7dbdd7bf33247877cd1a6e033bb7af9e750d77 | 706f4099360932a2c1d8e672e9369cf6bcfb8274 | /trade.r | e98d310c3e6896bdfdc271048cd1b442bb80db2e | [] | no_license | belmount/tmpy | 579794d047f5eaa97a48e16b8fa3dd89c57a3d7e | 321726b725decd55e3337a38936a0d6718066b50 | refs/heads/master | 2021-05-04T11:09:19.355153 | 2019-03-26T10:27:42 | 2019-03-26T10:27:42 | 45,916,807 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,426 | r | trade.r | library(quantmod)
rm(list=ls())
data <- getSymbols('600660.SS', auto.assign = F) # 福耀玻璃
data2 <- getSymbols('002022.SZ', auto.assign = F) # 科华生物
data3 <- getSymbols('000001.SS', auto.assign = F) # 上证指数
data4 <- getSymbols('600754.SS', auto.assign = F) # 锦江股份
data5 <- getSymbols('000568.SZ', auto.assign = F) # 泸州老叫
# ge... |
e041154540ddbc7878e770ca56d81e3433a64d16 | c3026ac4a49b0ff3361cf925a49965bf26ef6bf5 | /R/ggirl.R | eef47771f0f366f9ad8f7bea75dd478222fb6631 | [
"MIT"
] | permissive | keyegon/ggirl | d85e806c326a3688483949465cafd628ba60a5e6 | 7e042953dcacf6c569a3c31afe672a5b97456dbf | refs/heads/master | 2023-07-03T01:17:04.654516 | 2021-08-10T12:37:23 | 2021-08-10T12:37:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,624 | r | ggirl.R | #' Create an address object
#'
#' This function takes string inputs and converts them into an address object that can be used to send irl art (or as a return address).
#'
#' @param name The name for the address
#' @param address_line_1 The first line of the address
#' @param address_line_2 (Optional) A second address l... |
e1d036ee3dd4df7d402d45b4c41cde42df1f8ea6 | e86a5cc90c25ae4ecb1238ff31df11eba7120f4e | /MechaCarChallenge.RScript.R | 73692ef9007fe0c5bbc7b1ee4feb47c147fbe278 | [] | no_license | markeiabc/R_Analysis | 6ece6900e551510e3f3da4f1dd7ce1dc360395a6 | c2c7e156b1f1f7dcf3f2b0c99feba4ec744cc569 | refs/heads/main | 2022-12-31T21:19:06.027867 | 2020-10-25T01:37:35 | 2020-10-25T01:37:35 | 306,980,020 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,207 | r | MechaCarChallenge.RScript.R | setwd("~/OneDrive/Data Analytics Bootcamp/R_Analysis")
library(tidyverse)
#Read CSV Files for Challenge
MechaCar_table <- read.csv(file = 'MechaCar_mpg.csv',check.names = T,stringsAsFactors = F)
Suspension_Coil_table <- read.csv(file='Suspension_Coil.csv',check.names = T,stringsAsFactors = F)
View(MechaCar_table)
#P... |
b1fa86c30244462756d7228657c0496d8551a42c | f09c5a76157b7f608dcd00cd7a33e57cff8e5d41 | /brook90Run.r | ce8bb49bdb9dd0aa4b6baf673d4b56c503563994 | [] | no_license | GeorgKindermann/Brook90_R | 09347146f366388e3bb7c848ef8563d140ed3f75 | fd6f8760516f891879faa281aff157e88d2ae488 | refs/heads/master | 2020-08-03T22:12:27.825987 | 2019-10-01T14:24:57 | 2019-10-01T14:24:57 | 211,901,507 | 0 | 0 | null | 2019-09-30T16:12:28 | 2019-09-30T16:12:28 | null | UTF-8 | R | false | false | 8,621 | r | brook90Run.r | if((runflag == 0) || (runflag == 1)){
DAYMO[1] = 31
DAYMO[2] = 28
DAYMO[3] = 31
DAYMO[4] = 30
DAYMO[5] = 31
DAYMO[6] = 30
DAYMO[7] = 31
DAYMO[8] = 31
DAYMO[9] = 30
DAYMO[10] = 31
DAYMO[11] = 30
DAYMO[12] = 31
IDAY =1
IInterValDay=1
NDAYS=length(MData[[1]])
NITSR = 0
NITSY = 0
NITSM = 0
Y... |
06a5d8cf9e6022740c6f539b1dd5042b3e897030 | 36ed93e0ab7767d73262bd38374d97e549f0b5f1 | /inst/doc/DMRP_Paper.R | 771ccbc21ed48b18d2244fa1c1c02483c9e386c3 | [] | no_license | cran/HMP | 16678dbeb20fdda6fcf5422a7047c3c89f4af0ce | 30dadecea268319438aeb41a23441535624d247c | refs/heads/master | 2021-01-21T01:53:01.212756 | 2019-08-31T10:00:06 | 2019-08-31T10:00:06 | 17,679,740 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,904 | r | DMRP_Paper.R | ### R code from vignette source 'DMRP_Paper.Rnw'
###################################################
### code chunk number 1: initializing
###################################################
library(HMP)
data(dmrp_data)
data(dmrp_covars)
###################################################
### code ... |
adc56c453ab023619fce3fd91430a4e53fd6f142 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/agridat/examples/stirret.borers.Rd.R | 31b377d6a596b3e7a09691aa8f480eb561f4c9e6 | [] | 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 | 633 | r | stirret.borers.Rd.R | library(agridat)
### Name: stirret.borers
### Title: Corn borer control by application of fungal spores.
### Aliases: stirret.borers
### Keywords: datasets
### ** Examples
data(stirret.borers)
dat <- stirret.borers
require(lattice)
xyplot(count2~count1|trt,dat, main="stirret.borers - by treatment",
xlab="E... |
983c27674c953239015043424ec16565e62daf17 | 0423e43b4580047768bfc72a1f32f39ed5f25d9a | /R/checkexperiment.R | 865d678894fc23667ea70cebeced235266baa8a1 | [] | no_license | cran/drfit | ed43c44d5b42fa298710741443e2abed1cc367da | c00ca373d91c6a62a3d1235424e1714ea8babff5 | refs/heads/master | 2021-01-20T21:00:18.313000 | 2018-10-11T15:00:07 | 2018-10-11T15:00:07 | 17,695,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,757 | r | checkexperiment.R | utils::globalVariables(c("type", "conc", "substance"))
checkexperiment <- function(id,
db = c("ecotox", "cytotox", "enzymes"),
endpoint = "%")
{
db = match.arg(db)
databases <- data.frame(
responsename = c("viability", "activity", "raw_response"),
testtype = c("celltype", "enzyme", "organism"),
ex... |
6536bf639a9721b156eb9162587c4f1c724f5d65 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/ISOpureR/man/ISOpure.util.matlab_less_than.Rd | 02a07f2b32182c2e65d27aad9d9aadf0180e28a2 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 833 | rd | ISOpure.util.matlab_less_than.Rd | \name{ISOpure.util.matlab_less_than}
\alias{ISOpure.util.matlab_less_than}
\title{Less than operator}
\description{Less than function that matches Matlab behaviour when one of the arguments is NA (i.e. returns FALSE instead of NA)}
\usage{
ISOpure.util.matlab_less_than(a, b)
}
\arguments{
\item{a}{A numeric value (in... |
d17aabd45638d2417cddbd2696f30f3970af61c3 | 0b61fdadaaafb28829e1d7eccc07972f53f3aa3d | /man/plot_elevation_gradient.Rd | 93db9f0c1ff9d6603ace2a6e3d89d05818cc6d4a | [] | no_license | mhhsanim/LandClimTools | 1e165ae435d4e4e043866bfc054b9fa8d651464d | 6c1a3c782990e2b4ebda51b0d37396f8868b2fe6 | refs/heads/master | 2020-12-11T09:04:07.487287 | 2016-04-26T19:05:51 | 2016-04-26T19:05:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,944 | rd | plot_elevation_gradient.Rd | \name{plot_elevation_gradient}
\alias{plot_elevation_gradient}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~
Plot elevation gradient
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
Create standart figure for elevation gradient f... |
346d47812db02daea60d5738bc342f146430690d | 158af6c29d41ba5f5b38cd19133de5d73d9065c2 | /plot4.R | 469c7021d2e26c093d9f9c928328bfab6855c4d9 | [] | no_license | Nicolas-Perrin/ExData_Plotting1 | 5c229f5b22932265ea71fa9374ed99fc98ef0e4b | 40c8660bbdd42fda7224fd44ff5e962552b16028 | refs/heads/master | 2020-03-13T17:50:13.436798 | 2018-04-27T00:35:57 | 2018-04-27T00:35:57 | 131,224,822 | 0 | 0 | null | 2018-04-27T00:33:04 | 2018-04-27T00:33:03 | null | UTF-8 | R | false | false | 2,088 | r | plot4.R | #LOADING OF DATA AND FORMATING
#-------------------------------
# define column names of the data set
header <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3")
#load the data set
power_consumption <- read.table(file... |
44b078ceb9152e85de0b7a6ecdecf4b2aa97c3aa | ef1d6fa0df37fa552c4c4625e6e9cb974e8482f0 | /R/ovcYoshihara.R | 354ebcb538cd0e8131a19b1b427afed5d780c40f | [] | no_license | bhklab/genefu | 301dd37ef91867de8a759982eb9046d3057723af | 08aec9994d5ccb46383bedff0cbfde04267d9c9a | refs/heads/master | 2022-11-28T09:22:02.713737 | 2022-05-30T15:35:53 | 2022-05-30T15:35:53 | 1,321,876 | 17 | 15 | null | 2022-11-07T11:52:05 | 2011-02-02T21:06:25 | R | UTF-8 | R | false | false | 4,887 | r | ovcYoshihara.R | #' @title Function to compute the subtype scores and risk classifications for
#' the prognostic signature published by Yoshihara et al.
#'
#' @description
#' This function computes subtype scores and risk classifications from gene
#' expression values following the algorithm developed by Yoshihara et al,
#' for p... |
fbc8b88c192357f66cf7bd800cf106de53de6326 | 00b9933806fdd54e30ff8700a49503c07da7e977 | /Scripts/analysis.R | 7fe5156351d7985b75175afd1722682a0376cb5d | [] | no_license | tommymtang/Predicting-the-Hugo-Awards | a428a241abcaad941210d94d019e7c77515e3917 | 787a7c23cf5e616a58d0790116260afaa8e224f0 | refs/heads/master | 2021-08-28T11:15:03.038089 | 2017-12-12T03:12:43 | 2017-12-12T03:12:43 | 113,901,085 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,368 | r | analysis.R | # Library, and setting the seed
library(randomForest)
set.seed(100)
#attach probabilities[,2] vector to test before using predictWinners
predictWinners <- function(data) { # data assumed to be from roughImplementation
year <- data$Year[1]
winners <- logical()
yearDat <- numeric()
for (i in 1:dim(data)[1]) {
... |
c107e8b5438559b8eb4a9b70b5fb76a1d9015f17 | 361045b8660071fc6bc9bf1d5d5727632dc8235d | /LTRE_data_prep.r | f8cd7232b86a14f58bff51d69d8b829d5120338b | [
"CC0-1.0"
] | permissive | steffenoppel/TRAL_IPM | 61a46a30fd64611cc3af86dda2e4c1b3316c1b9a | cbe939f7234b4ced1f50fa2492cc6c0b42222c71 | refs/heads/main | 2023-04-08T03:45:08.927110 | 2022-05-12T06:59:28 | 2022-05-12T06:59:28 | 198,238,566 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,410 | r | LTRE_data_prep.r | # DATA PREPARATION FOR LTRE ANALYSIS ###
## prepare output data from IPM saved as individual csv files
## convert into a single table with years in rows and cohorts in columns
library(tidyverse)
library(data.table)
filter<-dplyr::filter
select<-dplyr::select
### for most parameters the years are in separate rows
set... |
acf1281141b40fdf307a0a2261a02125de6ebbb3 | 377b1ebf3f53e04cecc6e93fe88703f52421d06c | /code/worker.R | 2a55f10adcbbafeebc3db59bd021bdef7686490d | [] | no_license | Bin-Chen-Lab/biomarker_curation | c953adfb73d999d8907c6a735c528e72374e595e | 2ce42e221f1eb38def2a60abcb2409bf992f684a | refs/heads/master | 2021-02-19T07:03:18.641244 | 2020-06-30T17:57:29 | 2020-06-30T17:57:29 | 245,288,124 | 0 | 1 | null | 2023-09-07T14:13:12 | 2020-03-05T23:23:51 | HTML | UTF-8 | R | false | false | 1,807 | r | worker.R | setwd("~/Documents/stanford/grant/2019/ot2/work/")
##
#parse curation. have to specify file every time
#name convention: output file name starts with curator name.
input_file = "data/curation/FDA-drug_biomarkers-v9_BC_cleaned.xlsx"
output_file = "data/parsed/Ben_FDA-drug_biomarkers-v9.csv"
input_file = "data/curation... |
0498c2b182d8bf0c6b25cee76f402dd29e8df271 | e7b352cdbccc680d50c589cc469af18dd8db53be | /inst/scriptsR2.15.0/Ch08.R | 0e0da7e3cf4137c7eb8f380cc1477dd8eeb6ddda | [] | no_license | cran/nlmeU | 6c14c211a7b6526d586979a96f56fc0852340531 | 6a642dabc3b2a3a6dbf7b7078bfa794377a876b0 | refs/heads/main | 2023-06-22T21:25:12.144953 | 2022-05-02T14:40:02 | 2022-05-02T14:40:02 | 17,697,875 | 0 | 7 | null | null | null | null | UTF-8 | R | false | false | 2,342 | r | Ch08.R |
###################################################
### code chunk: Chap8init
###################################################
options(width = 65, digits = 5, show.signif.stars = FALSE)
date()
packageVersion("nlmeU")
packageVersion("nlme")
sessionInfo()
data(armd, package = "nlmeU")
## lm1.form was defined in Chap... |
a0c3e5a6daf98ddd574af8e7e1dcc83158fd4dc2 | 88f75b3d6e11c51a0ca6ead5b34e0ebbfcc12a3f | /SOLUSv2/misc-list.R | 0f2167b044f578761423347a3b643591a249bc4b | [] | no_license | ncss-tech/gridded-comparisons | 35d6472fc4e13b650ccf9620d6cf0c4b50423c03 | 678f328d74c18268e85d2b9b37b1e8e05cdfface | refs/heads/master | 2023-07-09T11:51:27.860439 | 2023-06-30T06:14:39 | 2023-06-30T06:14:39 | 189,273,682 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,697 | r | misc-list.R | x <- list(
list(
bb = '-87.7152 37.8206,-87.7152 37.9503,-87.4826 37.9503,-87.4826 37.8206,-87.7152 37.8206',
caption = 'Evansville, IN',
url = 'https://casoilresource.lawr.ucdavis.edu/gmap/?loc=37.88549,-87.59889,z13'
),
list(
bb = '-98.5020 37.9187,-98.5020 38.2026,-98.0846 38.2026,-98.0846 37.9... |
ec425e04a5b10e7a5824f10ea35d9a4f1c737ffb | f3fb7f95a12a14a5cc8931bb60759e94b449c57b | /man/getZoteroBib.Rd | f3814011067d0da398a07a231fc26581576f5776 | [] | no_license | patzaw/bibeatR | eb8a9c4201118a7950f604c02d9fbefb111a6b36 | f45f3d75083bae71d3723b0759e9c941775da6a8 | refs/heads/master | 2020-09-16T23:39:53.470319 | 2019-12-04T05:24:15 | 2019-12-04T05:24:15 | 223,922,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,481 | rd | getZoteroBib.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zoteroBib.R
\name{getZoteroBib}
\alias{getZoteroBib}
\title{Get Zotero bibiliography from cloud}
\usage{
getZoteroBib(
baseURL = "https://api.zotero.org",
userID,
key,
latestVersion = NA,
excludedTypes = "attachment",
by = 100,
... |
79a8bdedc0150562464644642191ce63c22173ef | b06a44444664a09816ae2570900366bcccd3e96d | /plot1.R | dfe676cdefcab1e0b10f9789a8130159af47122e | [] | no_license | kataletho/ExData_Plotting1 | 322b09a98e316251d73c675c0af5bcd12f7fec99 | 6f1ce36b1d8adae7e384cf02761b30a334e08c3a | refs/heads/master | 2021-01-18T12:31:01.553675 | 2014-09-07T19:44:54 | 2014-09-07T19:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,143 | r | plot1.R | # Plots a histogram of the household global minute-averaged active power
# (in kilowatt) for the 1st and 2nd of February 2007 based on data from
# the UC Irvine Machine Learning Repository at
# https://d396qusza40orc.cloudfront.net/
# exdata%2Fdata%2Fhousehold_power_consumption.zip
library(dplyr)
library(data.tabl... |
1be21fb66085830136291d075e2edac6d8578d49 | 94ff26a01bd3aed034b2ecef75c793782d42e8f3 | /plots_from_data.R | 63d579c2fd0abf7bb3b09541ffc12ee291bbe8a2 | [] | no_license | CarolineNM/stochastic_vs_deterministic | 2b42d2bb093dc8abea5fa33de099287ae1fd9516 | b0a09a9b6b7f954559e066487767792df0782460 | refs/heads/master | 2021-09-08T18:04:53.728484 | 2018-03-11T17:33:39 | 2018-03-11T17:33:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,621 | r | plots_from_data.R | # Making plots from saved data
setwd("C:/Users/Janetta Skarp/OneDrive - Imperial College London/MRes_BMR/Project_1/Work_folder/Data")
re_bootstrap <- read.csv("re_betagamma_bootstrap_27.01.18.csv")
re_point <- read.csv("re_betagamma_point_27.01.18.csv")
stoch_mcmc <- read.csv("stoch_mcmc_betagamma_25.01.1... |
1fba521ff57cd8db69128fb423c3bbb86941cbae | 689a1102732f036813cc946e84f823c4d6e05f4a | /KOD Bubbelplot + stapelplot.R | b3187c57a72f8caa568759a0037a18e11903308d | [] | no_license | westbergss/R-Code-Bachelor-Thesis-Statistics | 4b2c8a9c15918cf704a743f526834016cda2a0b0 | b368ebe8aaf67577d322f63cb592b27ea4d19116 | refs/heads/master | 2022-07-26T05:40:27.378813 | 2020-05-15T10:13:34 | 2020-05-15T10:13:34 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 5,654 | r | KOD Bubbelplot + stapelplot.R | #######################################
# Boxplot av medelvärden med errors
#######################################
Boxplot1 <- data4 %>%
group_by(lannr) %>%
summarise(mean_PL = mean(Vardkostnad),
sd_PL = sd(Vardkostnad),
n_PL = n(),
SE_PL = sd(Vardkostnad)/sqrt... |
abfd04c23e3eec4e702f588e5a8f0f9d3bf8c4cd | 5148465eb3d690d04d38f8888fe8b930a1cbdeae | /Make3DScatterplot.R | 73b219dccb0af80144defa11c06128cbf25723cc | [] | no_license | onlineclass/DevDataProducts-Shiny | ba3ad696b72c6c7101e2423c33224065d7555815 | 331d2fb7fa5d96ab0602b2694e9b5fae852828c7 | refs/heads/master | 2020-05-16T15:11:58.619169 | 2014-08-19T15:14:56 | 2014-08-19T15:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,669 | r | Make3DScatterplot.R | ## This script contains only one function - plot.3D.data - which creates a 3D
## scatter plot of the 3D data points in the provided data set.
## The data set must contain a total of 4 columns: one column for each of
## the cartesian coordinates x, y and z and one column for the class value
## (outcome or label) of ... |
47ec691a42971ae5941b8fddbece7a631a1b2cd9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Compounding/examples/pgfIpolyaaeppli.Rd.R | aae779403f26153952e937ba5697a129b00752ea | [] | 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 | 722 | r | pgfIpolyaaeppli.Rd.R | library(Compounding)
### Name: pgfIpolyaaeppli
### Title: Function pgfIpolyaaeppli
### Aliases: pgfIpolyaaeppli
### ** Examples
params<-c(5,.4)
pgfIpolyaaeppli(.5,params)
## The function is currently defined as
pgfIpolyaaeppli <- function(s,params) {
k<-s[abs(s)>1]
if (length(k)>0)
warning("At least one ele... |
e34cf1ea26593de1093277f12eb3f7f36ce07eaf | ecfc1abfa8563404def7598044847d2a824f84b2 | /SpyPlanes.R | d4ec3f7917e4e35ee928cbc53f0c462d65345eca | [] | no_license | qrm2228231/Spy-Plane-Finder | 3e1e445c3b07db6d64c55416d9b6c8d54c316357 | 937436b1036a561a20a9eeb3d728d5db2ccef202 | refs/heads/master | 2022-04-11T17:38:15.287548 | 2018-05-20T20:17:26 | 2018-05-20T20:17:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,346 | r | SpyPlanes.R | #Spy Plane finder
#Loading libraries for reading data from CSV files
library(readr)
library(dplyr)
library(Amelia)
#loading full registration data of the planes
registered= read.csv('faa_registration.csv',header=T,na.strings=c(""))
#plotting missing values plot
missmap(registered, main = "Missing ... |
aedfd4854d86bf47d0981e946fa7edaf212fa7ad | a0d169245ddf5c247463fe926acb142adc7b485f | /R/widget.R | 9a275deb21856ff8a397016951951d90e3e12856 | [] | no_license | ggobi/qtbase | 87b5f838c3e4171fbefe7a64194d229aea3967a9 | 16afbafff319b5a6f7bf8d82e6751aee217d181e | refs/heads/master | 2021-01-01T20:10:54.612110 | 2019-03-01T17:13:56 | 2019-03-01T17:14:36 | 954,675 | 16 | 3 | null | 2014-10-21T14:15:11 | 2010-10-01T16:41:44 | C++ | UTF-8 | R | false | false | 109 | r | widget.R | ### Conveniences for widgets
print.QWidget <- function(x, ...)
{
x$show()
NextMethod()
invisible(x)
}
|
b31882ca97b62eef0f44f948ec9e150a35c9953c | 6f10771dc8f681b4731e0816318e6abce938c04a | /Data_Visualisation/Global.R | 58875d7beb5857b9df2e8242d5c536b5f1c5cbdf | [] | no_license | sagidavid/Affordability | 9205bc8f8c86fde56fea7b7528a4319f90a4f2f1 | 70b9a18c584a899e6fc440071bf6c3b7e8014819 | refs/heads/master | 2020-04-01T21:02:22.044222 | 2018-10-23T12:49:44 | 2018-10-23T12:49:44 | 153,634,399 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,149 | r | Global.R | library(rgdal)
Cities <- readOGR(dsn = "Deploy", layer = "Cities", GDAL1_integer64_policy = TRUE)
Filter_Coastal <- readOGR(dsn = "Deploy", layer = "Filter_Coastal", GDAL1_integer64_policy = TRUE)
Filter_Inland <- readOGR(dsn = "Deploy", layer = "Filter_Inland", GDAL1_integer64_policy = TRUE)
Filter_Rural <- readOGR(d... |
ac78957f54219da3c2c92d82a6df27184a45feea | adac781cc6578798e356c2ec594fad7d45bca9ab | /man/predict.enetLTS.Rd | 1f714d4ff0c718131449688f7d0fb8e205d80fda | [] | no_license | VincentWtrs/enetLTS | db66a581dc2cdc4379ba8f64bfcb23c3ab886cdc | bef548043a51c17e3bd593049e0e9fce6d03328e | refs/heads/master | 2021-12-26T11:33:34.270040 | 2019-03-26T13:47:59 | 2019-03-26T13:47:59 | 177,792,321 | 0 | 0 | null | 2019-03-26T13:18:26 | 2019-03-26T13:18:26 | null | UTF-8 | R | false | false | 5,209 | rd | predict.enetLTS.Rd | \name{predict.enetLTS}
\alias{predict.enetLTS}
%-------------------------------------------------
\title{
make predictions from the \code{"enetLTS"} object.
}
%-------------------------------------------------
\description{
Similar to other predict methods, this function predicts fitted values, logits,
coefficients and... |
04fcb8af2b8b48ccc944fac7e3ecb6b3b7fae3c8 | c0fd5a7cebb44b61640f8550b82a3e5fe4e37d7e | /cachematrix.R | dcc01dc3a4cac527d4f931e9945368655525ad55 | [] | no_license | Diceman01/ProgrammingAssignment2 | 1cb91c4fb8b2d282c5912fbdc7ba4310e36a5c44 | 447e57cd8089cd251530e67eb8c0a501c90dcc53 | refs/heads/master | 2021-01-09T05:34:56.382290 | 2015-02-15T05:28:06 | 2015-02-15T05:28:06 | 30,817,368 | 0 | 0 | null | 2015-02-15T04:04:38 | 2015-02-15T04:04:38 | null | UTF-8 | R | false | false | 2,865 | r | cachematrix.R | ## since the only difference between a vector and a matrix are the number of dimensions,
## I reason that the same code should work. So, I have basically just copied the example
## given verbatim, except I changed m to i, mean to inverse and, in cacheSolve, I changed the
## call to the mean function to be a call to t... |
7cf0dbaac5b2c4469ef5711285c0d7cce57e4a54 | 7b47cf68919d2f6592a185298bc951397cd2279d | /man/Plot.Rd | f790491d7f039380cb83d4a212a754d53769a472 | [] | no_license | d3v3l0/xda | 16e808b4cf30426f6e8abd75f2af61c3e5dc1b92 | 86cf14dbfaa96b805a702261e2b078052ccbab70 | refs/heads/master | 2021-09-04T15:43:02.930410 | 2018-01-20T00:48:44 | 2018-01-20T00:48:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 623 | rd | Plot.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/Plot.R
\name{Plot}
\alias{Plot}
\title{Plots all variables of a data frame against the specified dependant variable}
\usage{
Plot(df, dep.var, range = "all")
}
\arguments{
\item{df}{name of the data frame}
\item{dep.var}{name the dep... |
2aa1d798840632e6ab20bedf43715e2545cbd0d6 | 042de20ce89f4ee0781d2cc6fb4e5aed44260049 | /Books_Apriori1.R | bbb63b9367f718e6cab0a83af8184c9a2ba6335c | [] | no_license | neeraj2296/Asscociation-Rules-ExcelR | ea6c25081cc42e59adcd285a564306742fc7a6dc | 23a3b63f47060873dedc0f1d13fe0bd9c7a4ebe1 | refs/heads/master | 2022-07-05T23:28:45.645248 | 2020-05-15T17:15:37 | 2020-05-15T17:15:37 | 262,978,331 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,185 | r | Books_Apriori1.R | #Including the necassary Libraries
library(arules)
library(arulesViz)
#Loading the data set
book <- read.csv(file.choose())
#Factorising the data for better classification
book$ChildBks<-as.factor(book$ChildBks)
book$YouthBks<-as.factor(book$YouthBks)
book$CookBks<-as.factor(book$CookBks)
book$DoItYBks<-as.f... |
9107e541cc2c15faa4623322f5160adcb71d2c8f | 52694abcc9168ef0ffcd6a428382102c521278f8 | /SKRYPTY/MODELING/scripts/fcu/scripts/dist_alert_check.R | 79eec7ef0fe56397d6a4bef520fa8d557234f0b7 | [] | no_license | MMandziej/magisterka | 7d18fa0e1a9a437c4235a912aa0733530fb45e3f | 33453fbbd7ede2e5ccb2771e8a3029a927a844c5 | refs/heads/master | 2023-02-13T04:44:41.581638 | 2021-01-21T23:37:26 | 2021-01-21T23:37:26 | 322,721,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,569 | r | dist_alert_check.R | dist_alert_check <- function(results,
dataset,
time_feat='BackupTime',
time_frame='days')
{
unique_intervals <- sort(unique(results$pqc_timestamp))
mean_lastn <- mean(results[results$pqc_timestamp == unique_intervals[length(... |
c0afdc757b830e7f7ab3b4e493f2491a1eaf6a6e | 151db985686c4db43f0b910b1b17694a62be5f00 | /man/peak_type-set.Rd | ece85505fb77b7891fe9b3a1f594bf52862c49d7 | [] | no_license | SPKorhonen/rnmrfit | e58c331ccaa707a9666735cb6a8b5cd124c73e0e | 6bcd1b815924cf042e4abb51d8079f7b6ede6b7a | refs/heads/master | 2021-02-21T22:53:15.977807 | 2019-05-15T14:07:56 | 2019-05-15T14:07:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 753 | rd | peak_type-set.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NMRScaffold.R, R/NMRScaffold1D.R, R/NMRFit1D.R
\docType{methods}
\name{peak_type-set}
\alias{peak_type-set}
\alias{peak_type<-,NMRScaffold-method}
\alias{peak_type<-,NMRScaffold1D-method}
\alias{peak_type<-,NMRFit1D-method}
\title{Replace the... |
b7c790e474d8dfcecf9d8ba19861cf437c4ae0af | 34658f9b94484ac01746700eab7935cc2299e2da | /plot2.R | 0bef2b28a574f751a4f65e7651cf25fa25cbc597 | [] | no_license | mshonman/ExData_Plotting1 | f47c377f1c81b8ca9d8f18f6cd3b0218773eea1a | c789b755afef262cdc552f968fe715cca3119dd3 | refs/heads/master | 2020-12-11T09:08:18.162882 | 2016-03-07T22:31:00 | 2016-03-07T22:31:00 | 53,270,460 | 0 | 0 | null | 2016-03-06T18:51:10 | 2016-03-06T18:51:09 | null | UTF-8 | R | false | false | 491 | r | plot2.R | setwd("data")
power <- read.table(file = "household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?")
power$Date <- as.Date(power$Date, format = "%d/%m/%Y")
power <- power[(power$Date == "2007-02-01" | power$Date == "2007-02-02"), ]
power$datetime <- as.POSIXct(paste(power$Date, power$Time), format = ... |
9395489bbe43787717a5fac7ba0d2020fbd388d7 | d43b33efc250140edd1c59a1050ef587921f49e6 | /man/analysis-methods.Rd | f3725cb72a04bc1fa4f118695e9cf02409476b2f | [] | no_license | nealrichardson/rcrunch | 0ab449afb433e29771d82d9ce493a4c324fe7cba | 6cfa14655a05d80baa793e204f22b9388243bfc0 | refs/heads/main | 2023-02-11T03:16:07.684934 | 2020-09-30T17:22:12 | 2020-09-30T17:22:12 | 328,219,695 | 0 | 0 | null | 2021-01-09T18:25:03 | 2021-01-09T18:25:02 | null | UTF-8 | R | false | true | 2,838 | rd | analysis-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenerics.R, R/decks.R, R/slides.R
\name{filter}
\alias{filter}
\alias{filter<-}
\alias{filter<-,CrunchDeck,ANY-method}
\alias{analyses}
\alias{analysis}
\alias{analysis<-}
\alias{query<-}
\alias{cube}
\alias{cubes}
\alias{analyses,CrunchSl... |
ea72371a817e72a95f19dbdaf6d8c2304294693b | 9e1a1205a77b27a9ce8c607734ae0d63acdee1fe | /cachematrix.R | 3fa3fd6b3f07370341e86daee58230e6b05c0756 | [] | no_license | ccharles/ProgrammingAssignment2 | e4d34d0281984af49824ed53749b837e3e2456fe | d9380932e4deb9b187ca6bbcef327aff3564c99f | refs/heads/master | 2021-01-14T14:22:55.124471 | 2014-12-03T00:39:58 | 2014-12-03T00:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,922 | r | cachematrix.R | #
# This package defines "cache matrices", matrix-like objects that wrap around
# a native R matrix and can cache their computed inverse.
#
# The cacheSolve() function defined below should be used in place of solve()
# when working with cache matrices.
#
# ---------------------------------------------------------------... |
89bd981161f26bc72b5972dd555d9d35c4fc5414 | 154f590295a74e1ca8cdde49ecbb9cbb0992147e | /man/dh20.Rd | 38a37d339d4433eef13b67575c07026761a986be | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer",
"CC0-1.0"
] | permissive | klingerf2/EflowStats | 2e57df72e154581de2df3d5de3ebd94c3da0dedf | 73891ea7da73a274227212a2ca829084149a2906 | refs/heads/master | 2017-12-07T10:47:25.943426 | 2016-12-28T20:52:42 | 2016-12-28T20:52:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 876 | rd | dh20.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dh20.R
\name{dh20}
\alias{dh20}
\title{Function to return the DH20 hydrologic indicator statistic for a given data frame}
\usage{
dh20(qfiletempf)
}
\arguments{
\item{qfiletempf}{data frame containing a "discharge" column containing daily flo... |
3d6e8f41bbbc8c7ee4dc3ba1c454b2e7a8ef05ba | 1fe137d59453126db52cbdc39ac68c5c6c3719fa | /Boxplot_nb.R | df356acfa3edd67d2a601d62364c5d9d6a7caa30 | [] | no_license | nbumkim/R_import | 672325d8d5922e0357f30215cfb245df4b1fc1aa | c5a27bbbe9dad01cb99c78c60e0635922dd6d562 | refs/heads/master | 2020-03-21T12:38:50.856743 | 2018-08-03T09:25:21 | 2018-08-03T09:25:21 | 138,564,319 | 0 | 0 | null | null | null | null | UHC | R | false | false | 1,661 | r | Boxplot_nb.R | ## Data import
###########################
# setwd("D:/kmong/Pointcc/R")
# mydata <- read.csv("type_R.csv", header = TRUE, stringsAsFactors = T) # read the csv data
# mydata <- mydata[complete.cases(mydata),]
# > head(mydata)
# 배열타입 각도 측면부 대상종 소요시간 이동거리
# 1 A 45 개방 무당개구리 43 54... |
607cc9e4cb76d81963806d987b6d1a4174b7cf1a | 1e5fc0d317afb80ae142116af31b8c181e0bd71b | /Course Project 2 - Week 4/plot1.R | 8bedf38cc440df5dc91b24bbf4294909954effaa | [] | no_license | anjanaxramesh/Exploratory-Data-Analysis-by-JHU | 0f5c5242f71a51c208f39439db78d424b6cf190a | a025e219ae6050a08a6b2c280bba4a9abc60dfca | refs/heads/master | 2022-11-18T22:12:32.062867 | 2020-07-20T17:36:04 | 2020-07-20T17:36:04 | 278,869,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 710 | r | plot1.R | # Plot 1
path <- getwd()
unzip(zipfile = "exdata_data_NEI_data.zip", exdir = path)
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# Have total emissions from PM2.5 decreased in the United States from 1999 to 2008?
# Using the base plotting system, make a plot showing the tota... |
6a2965f16bec2754e283751633e96e4d4ee1245c | c66ba8cdf2085e958bed5c9f6fc2d01993c3dd7d | /R/lvclpm.R | de776d81e0ea7ebdac3e0544b0478589069a2fbd | [] | no_license | mkearney/ijpp_osror | 40d3ace6aa445d367a90b02d55cf064cf81e7d72 | 050c287c818c619982aae553b23af71a74d2b99b | refs/heads/master | 2021-01-21T22:14:51.217323 | 2019-04-25T16:02:55 | 2019-04-25T16:02:55 | 102,139,225 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,997 | r | lvclpm.R | names(Pnl3)
Pnl3$PressA <- (Pnl3$PrintA + Pnl3$DigA + Pnl3$CableA)/3
Pnl3$PressB <- (Pnl3$PrintB + Pnl3$DigB + Pnl3$CableB)/3
Pnl3$PressC <- (Pnl3$PrintC + Pnl3$DigC + Pnl3$CableC)/3
describe(Pnl3$PressA)
describe(Pnl3$PressB)
describe(Pnl3$PressC)
Pnl3$PTA <- (Pnl3$PT1a + Pnl3$PT2a + Pnl3$PT3a)/3
Pnl3$PT... |
4fa94be3da41ab0dc1e1cdc6b9452fb45fe8715d | 49a72feeac20b3ae91b2d06f81fa6e0c4070cd75 | /R/sphere.R | 5c3686aaff227a08c2f643122579ba21530d4326 | [] | no_license | euctrl-pru/pruatlas | 7056e83dad4a3b080795ebd00105752114bc6c29 | 6cea86782ba0f7c06dde0e8ecf0042043f9fb833 | refs/heads/master | 2023-06-25T21:30:46.605603 | 2023-06-14T16:15:53 | 2023-06-14T16:15:53 | 90,118,166 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 461 | r | sphere.R | #' Return the polygon represent the spherical Earth.
#'
#' @param crs a `proj` projection string
#'
#' @return A Simple Feature representing the spherical contour of the Earch in the relevant projection.
#' @export
sphere <- function(crs = pruatlas::pru_laea_proj) {
sf::st_graticule(ndiscr = 10000, margin = 10e-6) %>... |
0892678d3baa0caf02748adafdc5a25986376d95 | bc2371d173306023c5c766fbbb56b6d5c0de2631 | /tests/testthat/test_stopping_conditions.R | 2c241ad38f01967066dfa75b913c5da9d41f47a9 | [] | no_license | cran/cmaesr | 83d63af1701ba8f2b74549638fd5818ac2fa552d | 0bbe56aba78455d341fab5aec38eef4b5c9706d2 | refs/heads/master | 2020-04-06T06:55:04.276297 | 2016-12-04T16:21:54 | 2016-12-04T16:21:54 | 49,934,313 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,522 | r | test_stopping_conditions.R | context("CMA-ES stopping conditions")
test_that("CMA-ES stopping conditions work fine", {
# test everything on sphere function here
fn = makeSphereFunction(2L)
# stop on maximum iterations reached
max.iters = 50L
control = list(stop.ons = list(stopOnMaxIters(max.iters)))
res = cmaes(fn, control = control,... |
f1e2d5bd4af28c4faa684e4e90249049a722d14c | 8e94f2b785062eb5042a536615a5d5cd204c48cc | /DiamondPrices/ui.R | 16df4d31e2dfb1a54d8b196d2da3d41836f70733 | [] | no_license | shibashismukherjee/ddp | 2c45fb070f6723eb9ca0a01a7dafa34536541ae2 | 4fca2a9d0faf0ace595d6dba95dc2e12596e7751 | refs/heads/master | 2021-01-13T02:44:37.495725 | 2016-12-25T20:49:26 | 2016-12-25T20:49:26 | 77,340,565 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,128 | r | ui.R | #
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
shinyUI(fluidPage(
# Application title
titlePanel("Diamonds Pricing Data Analysis"),
# Sidebar with a slider input for nu... |
69a00983fa2cd7534cf699a39be5216021456db4 | 38f004dc32a78e058728250e965adfda049f7da7 | /man/fars_read.Rd | a160a04248dc15ee2bf19f06ec402b782dcf8de2 | [] | no_license | RedTent/farsfunctionsJT | 40e8209a14c2d7f9962dc997235157c0fd581bec | cbab36bd8d530192dad15644b4c10372ba126706 | refs/heads/master | 2021-01-01T16:36:39.300693 | 2018-03-24T10:36:40 | 2018-03-24T10:36:40 | 97,868,964 | 0 | 0 | null | 2018-03-24T10:36:41 | 2017-07-20T18:58:47 | R | UTF-8 | R | false | true | 791 | rd | fars_read.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions_package0.1.R
\name{fars_read}
\alias{fars_read}
\title{Read a datafile from the Fatality Analysis Reporting System}
\usage{
fars_read(filename)
}
\arguments{
\item{filename}{A character string with the filename. The file should... |
966896a404c922a574b295c14592ee0edd6dab36 | c3d2fb0a02e5eabbd0234860186f246651c9fb39 | /R/Archive/R_Coding_Common_Usage/textmining.r | 2b9d6678fbeb4d1ed20d38c43da4b8bbce5849f8 | [] | no_license | ppbppb001/Snippets | 09216417c52af40c947114bc106aee97776674f7 | 49e254eecd55f5e777d87c3f06c720cb881fb2dd | refs/heads/master | 2023-08-14T08:16:07.814866 | 2023-08-07T11:57:15 | 2023-08-07T11:57:15 | 93,360,154 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,796 | r | textmining.r | setwd('../projects/r practice/r_coding_common_usage')
rm(list=ls())
library(tm)
library(SnowballC)
library(wordcloud)
library(ggplot2)
# load files into a Corpus object
docs <- Corpus(DirSource("textmining_data"))
# inspect a particular document
writeLines(as.character(docs[[30]]))
# function that replaces a specif... |
650e056d56982207af371f1a3f6b71c02ba07f75 | 558cbef99ead5c7712cbeacca5f01afc8ba59922 | /Code/FeedForward/FeedForwardTrain.R | 9ce58a84f6ecba9de4e28d68659cadde21dfd4e7 | [] | no_license | rPromptt/Neural_Networks_R | 3ab19c01a5e67bb8ff3cebb3fbe546c750b56fdd | 3bb99272f344f4b9f4f4cb41b1c303744f445c8f | refs/heads/master | 2020-03-17T05:33:23.482864 | 2017-10-20T08:30:48 | 2017-10-20T08:30:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 663 | r | FeedForwardTrain.R | NN_classification <- function(T_input, T_output, nodes, learning_rate = 0.3, reg_type = "None", reg_factor = 0.0, epochs = 7000)
{
#T_input,T_output represents training data, X are inputs (matrix, #Samples by #featsTypes), Y is output (matrix, #Samples by #Classes )
# T_input == Feature set
# T_output == expecte... |
7a90513f19da91b5f5b8f024919b3a5730999858 | 159fd40a1ccc4dc373fa258c4950605bcb8918fa | /12_map_per_capita_stop_rates_by_race.R | 8b368b1114b28ab07114809e900461206d19d69b | [] | no_license | greatjack1/stop-question-frisk | e55cf9433356dada5547e48ff93a22a031ef0c13 | 4e0887b7ba00d41ed27028ab99bd3878727eefdc | refs/heads/master | 2020-09-23T03:13:02.716740 | 2019-11-28T02:36:10 | 2019-11-28T02:36:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,808 | r | 12_map_per_capita_stop_rates_by_race.R | library(pacman)
library(here)
library(tidyverse)
library(leaflet)
library(tigris)
library(tmap)
library(maptools)
library(tmaptools)
library(sp)
library(webshot)
library(htmlwidgets)
# Load stop and frisk data for 2003-2013
load(here("clean_data", "sqf_03_13.RData"))
# Load census data with race distributions on the... |
2f23da8b8f2e3ddc3217eb691e79e3b6ae52761a | c416b94f77e5d3f52d1cf4231136e31a3ca3e514 | /cachematrix.R | 1175bee7a80218512bb2bbd583554b52745f7beb | [] | no_license | zlamp/ProgrammingAssignment2 | 2e3bdf6ec8c2af34ef118e55f9dd9c20d4e0368f | d7e7ac32895b0e7793042f1ede161f423ee91e9d | refs/heads/master | 2020-12-11T09:03:42.848492 | 2017-03-14T09:54:11 | 2017-03-14T10:39:19 | 53,131,078 | 0 | 0 | null | 2016-03-06T09:58:42 | 2016-03-04T11:31:52 | R | UTF-8 | R | false | false | 1,130 | r | cachematrix.R | ## The first function, makeCasheMatrix creates a list containing a function to
##set the value of the matrix
##get the value of the matrix
##set the value of the inverted matrix
##get the value of the inverted matrix
makeCacheMatrix <- function(x = matrix()) {
m <- NULL
set <- function(y) {
x <<- y
m <<-... |
0941773b3b5096bde9db0098528356380f316df3 | 213a7c7b301537e173bb099e58799a3caf46ec53 | /R/airflow.R | 0774d3f3448d899fb00b859e8ebb7ea0da451bde | [
"MIT"
] | permissive | misha-lisovich/laminar | 07c2ff105f613cd4cb80fdcce2d90291e81666b6 | b0a04c601ff09c236f8ae5fbc53dca5c2b75a806 | refs/heads/master | 2020-04-20T17:21:13.369235 | 2019-02-10T16:45:52 | 2019-02-10T16:45:52 | 168,986,398 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,040 | r | airflow.R | #' Get Airflow csrf token
#'
#' Get csrf token by scraping Airflow's queryview page
#' @param airflow_url base url for airflow instance
#' @return csrf token string
#' @export
get_csrf_token <- function(airflow_url){
airflow_url %>%
paste0("/admin/queryview") %>%
httr::GET() %>%
httr::content() %>%
xm... |
cf598cf416490d95fff32a385e3d7e99031b78c4 | 8866b741411e2edfa61972369143de26fde5f821 | /man/CheckInput.i_MMC.Rd | 36413749fde8ff3253fbbd2858b54015dfdda5f7 | [] | no_license | cran/queueing | 6232577c0eb67cae7c716ef1432cc54194fb26d4 | 7712782a0d82d73599f128f68e94536b0cf8d4e5 | refs/heads/master | 2020-12-25T17:36:19.513391 | 2019-12-08T21:10:02 | 2019-12-08T21:10:02 | 17,698,913 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 998 | rd | CheckInput.i_MMC.Rd | % File man/CheckInput.i_MMC.Rd
\name{CheckInput.i_MMC}
\alias{CheckInput.i_MMC}
\title{Checks the input params of a M/M/c queueing model}
\description{
Checks the input params of a M/M/c queueing model
}
\usage{
\method{CheckInput}{i_MMC}(x, \dots)
}
\arguments{
\item{x}{a object of class i_MMC}
\item{\dots}{ad... |
4fc616d851b922b2bd2f356f37da0f9d1b48093d | 97aa63070e0046ce8812afad052fd03dfb8bc72a | /server.R | 20326eb864ed4534e51326e7455d6e30318a0a25 | [] | no_license | caniraban/Coursera-Trees | 183b2ed9ebc4ab912af2c71c137f30dae428c777 | f926e88ae2561d128a4249431a469504e9830dee | refs/heads/main | 2023-01-22T09:16:44.906227 | 2020-12-02T14:30:02 | 2020-12-02T14:30:02 | 317,887,922 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,022 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define server logic required to draw a histogram
shinyServer(function(input... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.