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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3254abb57e899464f6d03db6fe35a47389c8bbe4 | 33f92c3305ffb0bef2c43777b86d492787e8f9dd | /Classification/Logistic Regression/Lab.R | e41dc1cd2faa6a4957088f74b7c27a8626b2bc88 | [] | no_license | EarlMacalam/Machine-Learning-with-R | cd280bf75c6afaa192ef04d8a9f35b2a7fe2fbde | 0a20590e6f9db22bb4a6aee3663f0c5689563d6a | refs/heads/master | 2023-03-04T07:44:24.563605 | 2021-02-09T08:37:25 | 2021-02-09T08:37:25 | 320,460,993 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,014 | r | Lab.R |
# Data --------------------------------------------------------------------
library(ISLR)
names(Smarket)
dim(Smarket)
summary(Smarket)
cor(Smarket[,-9]) # error when a variable is qualitative
# As one would expect, the correlations between the lag variables and today’s
# returns are close to zero. In other words, ... |
e90a23cd39d360cce318f270301c35ad8a9490d4 | c2ed8635deac21bb431ef27f02b28acc44b958d6 | /ranking_script.R | efdc73cdebf0271650ebf97ae99ca634d1d9ff19 | [] | no_license | David-B-A/Ranking-attriibutes-by-entropy | 53f3b347bc7fbe27a0e498224855695881f5c3f7 | 07eaf2ccef19433f3b3140018ddb7eca91733eaf | refs/heads/master | 2021-04-26T23:10:25.821417 | 2018-03-05T10:54:26 | 2018-03-05T10:54:26 | 123,940,502 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,950 | r | ranking_script.R | entropia <- function(s){
e=0
if(s==0){
e=0
}else if(s==1){
e=0
}else{
e = (s*log(s))+((1-s)*(log(s)))
}
}
entropiaTotal <- function(data,tipos){
et=0
nregistros = nrow(data)
nvariables = ncol(data)
for (i in 1:(nregistros-1)){
for (j in (i+1):nregistros){
sumaSim=0
for (k ... |
ca23d6751ac1a07fb0372a2852335efb344f084f | 060f07fee1aa8e10b9fa83ead06de6e7e4b2b9d8 | /Visualization of car.R | a7f763fd7b8807ebbb81feec9e16477f6b450090 | [] | no_license | ktnchikhalkar/R-code-master | 26cad8d38a64886abf4dd9a29961bb459a66cc3d | 670c84dc9f77efc55d4a3c30b48d1ccd923ece9a | refs/heads/main | 2023-06-08T23:35:31.644966 | 2021-06-26T05:28:03 | 2021-06-26T05:28:03 | 380,420,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,596 | r | Visualization of car.R | ###Perform Basic Visualizations for all the columns(numerical data only) on any
#data set from data set folder make sure it has more data.
#So we can make better inferences for the visualizations(boxplot,histogram)
cars<- read.csv("C:/Users/Ketan/Data science/Assigments/BAsic Statistics 1/Cars.csv")
summary(c... |
5f620737b61b546b726f6c2a4785af818e77418b | 5c5d84b1fe9558ddb35aec40aad8dd70b00696d1 | /man/default_compute_backend.Rd | 8c27afd11983e01ed7090b65adcb0bf46892aba2 | [] | no_license | returnString/cloudburst | 5aadba8bc6b7374524ee9ef3765a8464c665aa4a | ada9ed69099098911d7b79ef0d12afb334ee4544 | refs/heads/master | 2022-01-30T15:16:07.681891 | 2019-08-08T21:27:38 | 2019-08-08T21:27:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 223 | rd | default_compute_backend.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/project.R
\name{default_compute_backend}
\alias{default_compute_backend}
\title{Title}
\usage{
default_compute_backend()
}
\description{
Title
}
|
4a1dac9578b1c1c8b3bb858d45ba0f1e0a01b559 | 804019e5175b5637b7cd16cd8ff5914671a8fe4e | /scenario2b.R | 67e055bb14e16fcddc4392d5dee8490c8459a3b0 | [] | no_license | jejoenje/gmse_vary | dde8573adeff9d9c6736a7a834a0a8942c5fcc5d | 057a36896b3b77a0a3e56d1436abe7a45e38cc2d | refs/heads/master | 2022-11-28T11:31:54.294640 | 2020-08-03T10:12:42 | 2020-08-03T10:12:42 | 197,375,284 | 0 | 0 | null | 2019-12-10T21:08:45 | 2019-07-17T11:21:27 | HTML | UTF-8 | R | false | false | 3,009 | r | scenario2b.R | rm(list=ls())
### Set and create output folder for scenario run:
scenario_name = "scenario2b"
out_path = paste0("./sims/",scenario_name)
library(GMSE)
library(scales)
library(RColorBrewer)
library(doParallel)
library(truncnorm)
source('helpers.R')
source('gmse_apply_helpers.R')
source("build_para_grid.R")
### Overri... |
d1162415e0f3879208c4547e49a56abfe7c96b91 | 26cac7181fcd9cb719a6af31193b141a7028b8b0 | /GCDP/cnv_3.r | 7a2652d6483b1fdb3f1b449b932c0a4309aa6e25 | [] | no_license | shubhambasu/Genome_Compression_Detection_Pipeline | 4f521097e2f6fb6a8905f4b62a20c5ee29bcb3c9 | 9992e0e2b2067481e5b93d0679654aa126b95427 | refs/heads/master | 2021-08-24T05:04:43.490780 | 2017-12-07T19:00:47 | 2017-12-07T19:00:47 | 103,571,387 | 0 | 1 | null | 2017-12-04T20:35:24 | 2017-09-14T19:09:45 | Shell | UTF-8 | R | false | false | 1,307 | r | cnv_3.r | #!/usr/bin/env Rscript
args = commandArgs(trailingOnly=TRUE)
a=read.table(args[1], as.is=T, header=F)
threshold_0=mean(a$V5)+sd(a$V5*3)
y=paste(toString(args[2]),"_single_genes_read_covg_stat_additional.txt",sep="")
write(c("First Mean=",toString(mean(a$V5)),"First SD=",toString(sd(a$V5)), "First Threshold=",toStrin... |
43e5aaa93cf89c33b5bb936068dad7474b57fd24 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RNeXML/examples/add_namespaces.Rd.R | 21c5e7e2909199f775c312c70997be5a972d4f20 | [] | 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 | 1,021 | r | add_namespaces.Rd.R | library(RNeXML)
### Name: add_namespaces
### Title: add namespaces
### Aliases: add_namespaces
### ** Examples
## Create a new nexml object with a single metadata element:
modified <- meta(property = "prism:modificationDate", content = "2013-10-04")
nex <- add_meta(modified) # Note: 'prism' is defined in nexml_nam... |
300b519dd30415057574a4e9ff743d894dfef9ab | 7f2a011b2b2c313468646ac57226ce627d58552d | /code/CompareAgesFossils.r | 9d5b6c93411ba2887646d99225c66c5dd5663a5d | [
"MIT"
] | permissive | spiritu-santi/angiosperm-time-tree-2.0 | 9b707ba380e693dd93e2e3c738f103b3ce785073 | d1a8a14edadd15834ccba052991886853f4c852a | refs/heads/master | 2021-06-17T13:24:28.798500 | 2021-04-27T01:42:59 | 2021-04-27T01:42:59 | 194,142,746 | 1 | 1 | MIT | 2020-02-03T04:55:23 | 2019-06-27T18:13:37 | R | UTF-8 | R | false | false | 5,605 | r | CompareAgesFossils.r | # Compares mean stem and crown ages for dating analyses implementing different fossil calibration sets.
# - SA = Constrained Calibration (CC)
# - SB = Relaxed Calibration (RC)
# - SD = Unconstrained Calibration (UC)
# - phylo = conservative set
# - complete = complete set.
# Uses additional files.
# NOTE TO SELF: thi... |
4b5efdb7f9714bb9d8712344573dc48b9feea476 | bbfe62824b5a017bef3c8d29078a1e26b77c7442 | /plot3.R | 94c1ee10e45c4bc4bfc4cf4edda7de97fdcdfbbd | [] | no_license | Minimalia/ExData_Plotting1 | b77fbfee4849164c936a542869c7f5e1aa01f5c8 | 627468127a8b40a3ace3377960b1aa3cf07d7451 | refs/heads/master | 2020-12-11T06:11:25.695803 | 2016-03-05T00:06:59 | 2016-03-05T00:06:59 | 53,169,809 | 0 | 0 | null | 2016-03-04T22:32:30 | 2016-03-04T22:32:29 | null | UTF-8 | R | false | false | 1,314 | r | plot3.R | # This assignment uses data from the UC Irvine Machine Learning Repository,
# "Individual household electric power consumption Data Set" for dates:
# 1/2/2007: From line 66638 to 68077
# 2/2/2007: From line 68078 to 69517
# Need to Skip=66637 lines and read nrows = 2880
# Load needed libraries
library(plyr)
... |
c0cde1941a1e91bbe7cc9947d74c199a4751fe3a | 7b662d432f1170f066a3b486f9da0fd967935d16 | /plot4.R | 544d20c6873ae6d091507904a47a7ab88e3535b5 | [] | no_license | RuneChess/ExData_Plotting1 | 9ee87d15bd5af65dbc14557837e62d4cd8433b53 | 6e1960639b590b5a1abf84b865360473d3f3892d | refs/heads/master | 2020-12-03T05:31:49.905198 | 2015-05-10T22:09:28 | 2015-05-10T22:09:28 | 33,731,364 | 0 | 0 | null | 2015-04-10T13:59:29 | 2015-04-10T13:59:29 | null | UTF-8 | R | false | false | 996 | r | plot4.R | library(data.table)
data <- fread("household_power_consumption.txt", colClass="character", sep=";", na.strings = "?")
data <- subset(data, Date == "1/2/2007" | Date == "2/2/2007")
data <- cbind(data, strptime(paste(data$Date, data$Time), "%d/%m/%Y %H:%M:%S"))
setnames(data, 10, "DateTime")
png(file="plot4.png", width... |
ac9f57c0a150ea38553a96a1642ca048c0ba5352 | 97edcb6746069b6c6c7facbe82ed9bb4482d6e22 | /eSVD/man/dot-absolute_threshold.Rd | 8a34a4c96f241f79c7cc6f9dc78436f129c84a3b | [
"MIT"
] | permissive | linnykos/esvd | 7e59c5fc50f6e0bd23fcb85f1fa6aa66ea782a60 | 0b9f4d38ed20d74f1288c97f96322347ba68d08d | refs/heads/master | 2023-02-24T23:33:32.483635 | 2021-01-31T21:06:41 | 2021-01-31T21:06:41 | 129,167,224 | 2 | 2 | null | null | null | null | UTF-8 | R | false | true | 715 | rd | dot-absolute_threshold.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/initialization.R
\name{.absolute_threshold}
\alias{.absolute_threshold}
\title{Hard threshold all the entries in a matrix}
\usage{
.absolute_threshold(mat, direction, max_val = NA, tol2 = 0.001)
}
\arguments{
\item{mat}{numeric matrix with \c... |
9bc16854d647939129e6594ae7d6ab0cb2cd9081 | 9bf1d95769a27f4f6e2c56e75f232369f5bca637 | /cw1.R | 23f8569a977578d71d48981a1bd4503d44fc832d | [] | no_license | wiktorbalaban/ElementyStatystki | 981dbed8b4b0adfdda67801e0da57d9b30461b66 | 7c770c03eb32316ae59a0a678c9fae7220043358 | refs/heads/master | 2020-04-05T17:40:13.044433 | 2018-11-19T17:14:21 | 2018-11-19T17:14:21 | 157,070,850 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 1,326 | r | cw1.R | setwd("j://Desktop/elementy statystyki/ElementyStatystki")
#z1
x <- rep(c(TRUE,FALSE,TRUE,FALSE), c(3,4,2,5))
x
#z2
natur <- 1:1000
natur[seq(2, 1000, by = 2)] <- natur[seq(2, 1000, by = 2)]^(-1)
#z3
palind <- c(1:20,rep(0,10),seq(102,140,by=2),
seq(140,102,by=-2),rep(0,10),20:1)
#z4
MojaLista <-... |
e2965613eb91501540f8410ab985308443509424 | a29832f97abdaafd1490ec4e7a38e85505ed3790 | /man/plotSmoothsComparison.Rd | 2e5e6cc1b78d0fad50c086a375b6a901d5caf6e7 | [] | no_license | cran/growthPheno | edfd87b031ff311e8c0bd47da986a7f2ddd2bded | 6bb455e5dac33deb46536a3162238da06e30a508 | refs/heads/master | 2023-08-31T22:58:01.201522 | 2023-08-22T16:00:02 | 2023-08-22T18:31:00 | 196,967,533 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,611 | rd | plotSmoothsComparison.Rd | \name{plotSmoothsComparison}
\alias{plotSmoothsComparison}
\title{Plots several sets of smoothed values for a response, possibly along with growth rates and optionally including the unsmoothed values, as well as deviations boxplots.}
\description{Plots the smoothed values for an observed \code{response} and, option... |
3b42135a20856d5639cf434d0866c33f895b8750 | 44cf65e7ab4c487535d8ba91086b66b0b9523af6 | /data/Newspapers/2001.08.21.editorial.64745.0697.r | 2daf8e441d10440f0052a750bed84dc75e7d5c9f | [] | no_license | narcis96/decrypting-alpha | f14a746ca47088ec3182d610bfb68d0d4d3b504e | 5c665107017922d0f74106c13d097bfca0516e66 | refs/heads/master | 2021-08-22T07:27:31.764027 | 2017-11-29T12:00:20 | 2017-11-29T12:00:20 | 111,142,761 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,304 | r | 2001.08.21.editorial.64745.0697.r | Adrian Nastase , pe urmele lui Emil Constantinescu Adrian Nastase , pe urmele lui Emil Constantinescu CORNEL NISTORESCU Marti , 21 August 2001 Concordia e un vis frumos al politicienilor romani . Sa ne iubim cu totii si sa nu mai aratam strainilor dezbinare , mincatorie , cirteala si combinatii .
pornind de la Apelul ... |
87ba4497fecb2f3114bb4d86c87f6ca8d8fac40b | 594a5c780c6bf31da16e0c29270c74ba6737e842 | /man/JAGS_marglik_priors.Rd | 0079e3dd99411ac18baa894056d8d394aa641f0d | [] | no_license | FBartos/BayesTools | 55faad16c0b3558d519161c33b7cf448a34ca739 | 98fa230cf191b9093fb23f878799367d940b19d1 | refs/heads/master | 2023-07-19T08:40:23.734725 | 2023-07-11T13:16:49 | 2023-07-11T13:16:49 | 363,232,801 | 8 | 1 | null | 2023-07-11T13:16:50 | 2021-04-30T18:57:23 | R | UTF-8 | R | false | true | 1,094 | rd | JAGS_marglik_priors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/JAGS-marglik.R
\name{JAGS_marglik_priors}
\alias{JAGS_marglik_priors}
\alias{JAGS_marglik_priors_formula}
\title{Compute marginal likelihood for 'JAGS' priors}
\usage{
JAGS_marglik_priors(samples, prior_list)
JAGS_marglik_priors_formula(samp... |
3de07d41e5b94dcd07e241bdd1d71bf8c9af92dc | 7019f53c9e7e6705fef0d904338fd0d2f2909823 | /man/KSJMetadata_code.Rd | 1203fc29dd0dbc86c8cf6f03f342825e9fcfbce2 | [] | no_license | natsuapo/kokudosuuchi | 0923d696de49306ed256f262de4f9fbbfaf1f0fa | 0a134ee7348dcd121000f1cc2f82d5af147fdc5c | refs/heads/master | 2020-04-08T10:09:06.790305 | 2018-02-28T13:52:31 | 2018-02-28T13:52:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 711 | rd | KSJMetadata_code.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{KSJMetadata_code}
\alias{KSJMetadata_code}
\alias{KSJMetadata_code_correspondence_tables}
\alias{KSJMetadata_code_year_cols}
\title{Corresponding Table Of Shapefile Properties}
\format{A data.frame with code and na... |
58bde3ca74bfb8df6fe5dad21d17bcc1b8473967 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /biwavelet/inst/testfiles/rcpp_row_quantile/libFuzzer_rcpp_row_quantile/rcpp_row_quantile_valgrind_files/1610555749-test.R | d21323eaa6a48f64f3374955364fe3f9811c9ab8 | [] | 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 | 1,253 | r | 1610555749-test.R | testlist <- list(data = structure(c(7.00072806654748e-304, 3.52953696509973e+30, 3.52983194407979e+30, 3.52998361619794e+30, 3.52981852653518e+30, 3.52548331169398e+30, 1.00891825394848e-309, 4.94065645841247e-324, 4.94065645841247e-324, 4.94065645841247e-324, 9.18962101264719e-322, 3.52953630161737e+30, 1.13963354... |
2b6e9c49dea79d2e3cc78faf8b90350565509d8b | f69138fa69d215b67d8f5ca61a260a19549bf6d4 | /subgroupVecDifferences.r | a5aaf93cef4db1b90de7df1e02b8d3c403a81aec | [
"MIT"
] | permissive | JamesRekow/Canine_Cohort_GLV_Model | 302a6de25897dfd6f038f88def159c8bc4480db3 | b7a3b167650471d0ae5356d1d2a036bde771778c | refs/heads/master | 2021-09-10T06:43:39.086540 | 2018-03-21T19:07:41 | 2018-03-21T19:07:41 | 105,334,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,736 | r | subgroupVecDifferences.r | # James Rekow
subgroupVecDifferences = function(subgroupVec1, subgroupVec2){
# ARGS: subgroupVec1 - a partition of a numeric vector of the form 1:n
# subgroupVec2 - another partition of the same numeric vector
#
# RETURNS: numDiffs - number of elements in subgroupVec2 that are placed in a d... |
4eae9612ddd6d261c1745332968ee1d2139d9c10 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PLMIX/examples/make_complete.Rd.R | ef534b6ef39d1474b3087a7e517030115a90753f | [] | 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 | 554 | r | make_complete.Rd.R | library(PLMIX)
### Name: make_complete
### Title: Completion of partial rankings/orderings
### Aliases: make_complete
### ** Examples
# Completion based on the top item frequencies
data(d_dublinwest)
head(d_dublinwest)
top_item_freq <- rank_summaries(data=d_dublinwest, format="ordering", mean_rank=FALSE,
... |
cae60482a5743eb108fad5f9060235ee76d5afe8 | b8180cbb66ddc84d8960b63c0605d9e57403a5b1 | /package/R/NAMESPACE.R | ea90b12cf81b27b9d4b1fe977dd4709082a439c0 | [] | no_license | compStat/programming-course | 12b41e362391d069914557f1f610af386ab49aae | cf50f8cd69430b071773fd565a0836e460bddafe | refs/heads/master | 2021-01-20T06:43:07.083209 | 2017-05-03T15:10:54 | 2017-05-03T15:10:54 | 89,914,758 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 110 | r | NAMESPACE.R | # Imports:
#' @importFrom magrittr %>%
#' @importFrom purrr map flatten_chr
#' @importFrom dplyr mutate_
NULL |
23918f0f9266515b38a20e6a84168347e1c7ae1d | 23317d77e1557fde63be28f42f4e9e91887a08d5 | /read_ceiling_catch_CheckClb.R | 0a2c5ec3cd62ecd16ad919a484d531b2646f65a3 | [] | no_license | CTC-PSC/ReadCEICatches | fd6990f375810cc62295c012e5815b1f2d883514 | eeb46e8ba6394d23b91c40dc8e5e6f3863117326 | refs/heads/master | 2021-01-18T18:05:17.733462 | 2017-03-31T17:17:03 | 2017-03-31T17:17:03 | 86,841,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,799 | r | read_ceiling_catch_CheckClb.R | ##########################################################################################
## ##
## This script extracts the observed and estimated ceiling fisheries catches from the ##
## Check Clb Out. The data frame "x" contain... |
1fa5433bb52f144aaddb74e039badb9e5db5b05d | 9df0855a52738d76c2f57337f90060e804e47c21 | /04_exploratory_data_analysis/plot2.R | 4a7cb9ee7a95d10dd4b176c48e0756857c9a4f20 | [] | no_license | J-McNamara/mcnamara_coursera_data_science_code_portfolio | 6ae11698e8a7310dd49f3674494dd4d00106f03c | eab6c8044e079b64ba138e9511f3c40804b6a88a | refs/heads/master | 2020-07-22T23:31:25.847930 | 2019-09-09T18:14:03 | 2019-09-09T18:14:03 | 207,367,446 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 726 | r | plot2.R | # Read in data
df <-read.csv('household_power_consumption.txt',stringsAsFactors=FALSE,sep=';')
keep <-as.Date(df$Date,'%d/%m/%Y') %in% c(as.Date('01/02/2007','%d/%m/%Y'),as.Date('02/02/2007','%d/%m/%Y'))
df <- df[keep,]
# Fix classes
df$Date <- strptime(paste(df$Date, df$Time, sep=' '), '%d/%m/%Y %H:%M:%S')
df$... |
c60b51b1a7546eea1a5d4203746de60bbdc1b667 | 8dd3464c72997d1287947c2a5ca96078d93cd7d8 | /ripleys/ripleys_lizards.R | fecf2e36c6afde125048afc0170093c6e47161b7 | [] | no_license | ian-flores/Spatial-Heterogeneity | a6c3e5be39e2da272940f04c15c4540a90730224 | 3c6d42c18f0f77c74d94887cd70e6ceba71d8005 | refs/heads/master | 2021-10-09T15:47:52.064668 | 2018-12-31T09:58:48 | 2018-12-31T09:58:48 | 108,680,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,388 | r | ripleys_lizards.R | #Spatial Heterogeneity Ripley's K LIZARDS
#Sets the working directory (Monophyllus)
setwd("C:/Users/Ian/Dropbox/Spatial Heterogeneity Anoles/Data")
#Sets the working directory (Mac)
setwd("~/Dropbox/Spatial Heterogeneity Anoles/Data")
#loads spatstat
library(spatstat)
#loads the data
anolis <- read.csv(... |
4a4c69e84db3986868c02eb2aa973526ba1cfae1 | c555092c911699a657b961a007636208ddfa7b1b | /man/aes_.Rd | 9bc6fc7a0ecf0cc421f9a054dc0345e8dd3effac | [] | no_license | cran/ggplot2 | e724eda7c05dc8e0dc6bb1a8af7346a25908965c | e1b29e4025de863b86ae136594f51041b3b8ec0b | refs/heads/master | 2023-08-30T12:24:48.220095 | 2023-08-14T11:20:02 | 2023-08-14T12:45:10 | 17,696,391 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 2,156 | rd | aes_.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aes.R
\name{aes_}
\alias{aes_}
\alias{aes_string}
\alias{aes_q}
\title{Define aesthetic mappings programmatically}
\usage{
aes_(x, y, ...)
aes_string(x, y, ...)
aes_q(x, y, ...)
}
\arguments{
\item{x, y, ...}{List of name val... |
71d73c1ca4411a930b33346a73a702e328fb46dd | 431e56dbee349b1ef75b13b65afd25a9c3b75e69 | /thaime_analysis_code.R | d991b4994dadce9144f2071438bcfa50528b4c43 | [] | no_license | chaiyasitbunnag/thaime_analysis | c6bb8450ec9db47c9809aae9264c462594d7b4b9 | 891f03639506adaa3b049d99dec8444fa6f2900e | refs/heads/master | 2022-11-28T23:00:21.062968 | 2020-07-20T06:29:21 | 2020-07-20T06:29:21 | 280,832,731 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,029 | r | thaime_analysis_code.R | library(dplyr)
library(ggplot2)
library(xml2)
library(httr)
library(magrittr)
library(jsonlite)
library(stringr)
library(tidyr)
library(readr)
library(reshape2)
library(ggrepel)
extrafont::loadfonts(device = "win")
# --- set local settings --- #
options(scipen = 999)
Sys.setlocale("LC_ALL", "Thai")
# --- test json to... |
e2c3403be69d4dd08b5e0eab06a866f4600ee091 | 150ddbd54cf97ddf83f614e956f9f7133e9778c0 | /man/svgCubicTo.Rd | 8d0c1c96306825dcafd16c36b2ce197dcccef450 | [
"CC-BY-4.0"
] | permissive | debruine/webmorphR | 1119fd3bdca5be4049e8793075b409b7caa61aad | f46a9c8e1f1b5ecd89e8ca68bb6378f83f2e41cb | refs/heads/master | 2023-04-14T22:37:58.281172 | 2022-08-14T12:26:57 | 2022-08-14T12:26:57 | 357,819,230 | 6 | 4 | CC-BY-4.0 | 2023-02-23T04:56:01 | 2021-04-14T07:47:17 | R | UTF-8 | R | false | true | 460 | rd | svgCubicTo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/svg.R
\name{svgCubicTo}
\alias{svgCubicTo}
\title{SVG Path Quadratic Curve}
\usage{
svgCubicTo(x1, y1, x2, y2, x, y, digits = 2)
}
\arguments{
\item{x1, y1, x2, y2}{coordinates of control points}
\item{x, y}{coordinates of main point}
\item... |
eb15564ca8be9b15900f5776a27610cf81b6cc15 | 4dabda63fe893a6de1bc3f216838e43c41996e21 | /F statistics.R | 704fe61886313f13f271e0a38d2d5d962c6dff54 | [] | no_license | L-Ippel/Methodology | 3f9520b4330da4891d1de332d2ff954aefc1668f | f8773aacc898fb26b6c8022d607515c08ce538fe | refs/heads/master | 2021-01-20T20:42:45.603982 | 2017-05-26T08:53:16 | 2017-05-26T08:53:16 | 62,639,329 | 3 | 3 | null | 2016-11-18T17:04:58 | 2016-07-05T13:33:35 | R | UTF-8 | R | false | false | 2,021 | r | F statistics.R | #########################
## F statistic - ANOVA
#########################
#########################
##generate data
#########################
n_groups <- 3 # number of groups
size_group <- 50 # sample size per group
averages <- runif(n_groups, 0,5) # average per group
std <- 2 # error st... |
3aa59a6fdb7ba39dbb1dc498bfdc810d76514775 | 6af24a8bf64b970b0ac42a94575379c22f0dff9d | /plot4.R | 715ba3816427fb881bd66fee2491a40e71220f75 | [] | no_license | shubh25/ExData_Plotting1 | 1ea5ad876ec81a1539444dc03161edc3961344ae | e91cacac9fdecef073c913b1a03f8e7bb2509c61 | refs/heads/master | 2021-01-24T21:47:41.471384 | 2015-02-08T15:07:14 | 2015-02-08T15:07:14 | 29,101,559 | 0 | 0 | null | 2015-01-11T18:38:16 | 2015-01-11T18:38:14 | null | UTF-8 | R | false | false | 1,209 | r | plot4.R | a<-read.table("household_power_consumption.txt",header=TRUE,sep=";",colClasses="character")
a$Date<-as.Date(a$Date,"%d/%m/%Y")
b<-subset(a,Date >= "2007-02-01" & Date <= "2007-02-02",select=c(Date:Sub_metering_3))
b$Global_active_power<-as.numeric(b$Global_active_power)
b$Global_reactive_power<-as.numeric(b$Global_reac... |
3fc035c4f17d461a2b65d5b34e759d27708b96f2 | c66e9f146c5426947dce20bf597357905942d098 | /man/fo_plot_par.Rd | 4a205bf92b8f4ec4bfa23a6c1b1647eedcc51ec2 | [
"MIT"
] | permissive | spacea/projekt.2019.pacocha | 296d7780d917a4f953ebd2036709660cb1173db2 | 10dd111b0581398db5f6e312ea486e44567a2976 | refs/heads/master | 2021-06-23T09:58:08.883195 | 2021-01-11T13:28:29 | 2021-01-11T13:28:29 | 185,676,363 | 2 | 5 | NOASSERTION | 2019-05-27T23:25:21 | 2019-05-08T20:39:55 | R | UTF-8 | R | false | true | 622 | rd | fo_plot_par.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fo_plotper.R
\name{fo_plot_par}
\alias{fo_plot_par}
\title{Parallelogram plot}
\usage{
fo_plot_par(xs, ys, r1, r2, alpha, beta)
}
\arguments{
\item{xs}{Left down apex on the X axis.}
\item{ys}{Left down apex on the Y axis.}
\it... |
09bf08f00a4a7307965bb4b3ba1e781a1f96b297 | 5f4e6a5cc136cba38e703b4e30055d35a74bb61b | /man/FundCode.Rd | f3b5a040a0dbfcb15731dff555968b6ba729320a | [] | no_license | tcspears/t1Fundamentals | 849deee8e8a68f73de90e350681483482527e610 | fcebd7d0a1ed3ec6b6f2203e916ccae34fc8928f | refs/heads/master | 2020-12-11T08:10:42.633760 | 2015-07-16T11:03:22 | 2015-07-16T11:03:22 | 37,289,528 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 411 | rd | FundCode.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/FundCode.R
\name{FundCode}
\alias{FundCode}
\title{FundCode}
\usage{
FundCode(fundamental.names)
}
\arguments{
\item{fundamental.names}{A character vector of names of fundamentals (e.g. 'Total Revenue')}
}
\value{
A character vector o... |
faf640e6a1915ad9517117fa1a566c476fad0d0d | 6b915ba9db1de8d26bec39589c77fd5d225e1fce | /de_mcmc/profile.R | 3e78ea50e7e159f17e2e2e923e0e79451f006bf9 | [
"Apache-2.0"
] | permissive | bjsmith/reversallearning | c9179f8cbdfdbbd96405f603e63e4b13dfc233af | 023304731d41c3109bacbfd49d4c850a92353978 | refs/heads/master | 2021-07-09T23:42:22.550367 | 2018-12-08T01:40:54 | 2018-12-08T01:40:54 | 100,329,149 | 0 | 2 | null | 2017-09-05T04:27:41 | 2017-08-15T02:21:25 | R | UTF-8 | R | false | false | 5,501 | r | profile.R | version="h_m1"
#our first hierarhical model for the reversal learning dataset.
verbose=TRUE
source('de_mcmc/main_m1_setup.R')
############################################## generate data
source("de_mcmc/raw_data_reward_only.R")
############################################## initialize
#data[[1]]
#NAMING CONVENTION
... |
ad866fa430ede4610ba8afd30baf048625412324 | a98d60bf79067a37feea7dc68f8ec64266dbc6eb | /R/shinyDataFilter_df.R | 87d6c68f89a091bded2fe6e15b9e72168e7a73aa | [
"MIT"
] | permissive | dgkf/shinyDataFilter | 468e0ef002a75daa63f6f61a6337d85626537284 | 68d20f554211e722aafbb8272ccbf8342a0aad10 | refs/heads/master | 2022-07-30T21:06:46.242421 | 2022-07-12T21:46:04 | 2022-07-12T21:46:04 | 248,626,043 | 21 | 13 | NOASSERTION | 2022-07-12T18:09:17 | 2020-03-19T23:31:39 | R | UTF-8 | R | false | false | 310 | r | shinyDataFilter_df.R | #' Handler for retrieving static code for a shinyDataFilter_df
#'
#' A function for scriptgloss::getInitializationCode to dispatch to
#'
#' @param obj shinyDataFilter_df object
#' @param name unused
#'
#' @export
getInitializationCode.shinyDataFilter_df <- function(obj, name = NULL) {
attr(obj, "code")
} |
d71f3c61d35142bec4e4967a624e21f7771d7b70 | a4021a064ad356d5b261ae116eec8d96e74eefb9 | /man/apg_families.Rd | 56cf9a26943262db3c5e20202487918b5406a9e9 | [
"CC0-1.0"
] | permissive | dlebauer/taxize_ | dc6e809e2d3ba00a52b140310b5d0f416f24b9fd | 9e831c964f40910dccc49e629922d240b987d033 | refs/heads/master | 2020-12-24T23:28:49.722694 | 2014-04-01T18:22:17 | 2014-04-01T18:22:17 | 9,173,897 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 170 | rd | apg_families.Rd | \docType{data}
\name{apg_families}
\alias{apg_families}
\title{Lookup-table for APGIII family names}
\description{
Lookup-table for APGIII family names
}
\keyword{data}
|
370ff64556c00fe00f9c3ebd2fe304474166fc87 | 38addc5be370965a7bc881b69a57001869d5e8a0 | /man/dot-runDiscretization.Rd | 52cab7304cc6516634dea315d5f0c4415be6c3e6 | [] | no_license | BMEngineeR/IRISCEM | bcce0310f192917ee7376c900861d1dd351efea9 | 4bded90bb79bd6e3542d5b21f19af9c7ef00fc91 | refs/heads/master | 2022-12-02T17:27:42.841036 | 2020-08-13T04:47:43 | 2020-08-13T04:47:43 | 287,161,759 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 311 | rd | dot-runDiscretization.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Bicluster.R
\name{.runDiscretization}
\alias{.runDiscretization}
\title{run discretization}
\usage{
.runDiscretization(object = NULL, q = 0.06, LogTransformation = FALSE)
}
\arguments{
\item{q}{}
}
\description{
run discretization
}
|
bd7e0517ce3123812b8b31d5d30f871f22523f01 | 2a25d249b634a4bae6e82a23d8e1b7744afadfba | /makeCacheMatrix.r | 7aa062d5657cdb2288c0be4092428a984c8e0284 | [] | no_license | Gavrilo-Princip/datasciencecoursera | 090ce3ede13f2fe203ccbfd0e4c17d861e89c53c | 78a9a397dbe122f19fb45990cb8986629c183485 | refs/heads/master | 2016-09-05T16:04:05.099830 | 2014-12-22T00:22:32 | 2014-12-22T00:22:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 867 | r | makeCacheMatrix.r | ## A pair of functions that cache the inverse of a matrix
## Creates a special matrix object that can cache its inverse
makeCacheMatrix <- function( m = matrix() ) {
## Initialize the inverse property
i <- NULL
## Method to set the matrix
set <- function( matrix ) {
m <<- matrix
i <<- NULL
}
## Method the ... |
5aa12c6e1f660b97e63f1df56c4ed7fcc04470af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/IAPWS95/examples/DTs.Rd.R | 44947b470accc9ec9f18fa7c5fc069ef35b889bd | [] | 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 | 176 | r | DTs.Rd.R | library(IAPWS95)
### Name: DTs
### Title: Density, Function of Temperature and Entropy
### Aliases: DTs
### ** Examples
T <- 500.
s <- 2.56690919
D_Ts <- DTs(T,s)
D_Ts
|
1ed4f3a185c1b377022da3acc66d5346b0a7709d | 7993cc4cdd2d47e2ac627b390482896cb6107c94 | /prelim_analysis.R | 06dc6fd37209d055ce24485b36c49ef9948a2690 | [
"MIT"
] | permissive | iRT-CS/SMDataAnalaysis | edff9c06bdf656e08b12f29ae79e866776bb322e | 5eb4e9a4c2cc8b9f4c07d1f4e247189fbaa4e672 | refs/heads/master | 2021-07-07T22:46:04.052342 | 2021-01-05T20:53:35 | 2021-01-05T20:53:35 | 221,302,691 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,494 | r | prelim_analysis.R | require(ggplot2)
require(tidyverse)
require("mongolite")
#
m <- mongo(collection = "Experiments", db = "ShallowMind", url = "mongodb://rkapur2021:okay4kench635shallowmind.pingry.org:27017")
# datasets <- read.csv(file="C:/Users/emmet/Desktop/NeuralNetworks/datasets.csv")
experiments <- read.csv(file="C:/Users/emmet/... |
37c7a598ca929178ec469bb81d1b66bf1d3a04e9 | 2458226660b0629592674eefb2a595bc3f3a9fbe | /R_script/Prediction_analysis_CA.R | 8d0c78f5afe4120097849627a9a084175a293499 | [] | no_license | amsmith8/A-quantitative-assessment-of-site-level-factors-in-influencing-Chukar-introduction-outcomes | 36db24e2e82456a6986f141a2ff798c3d38ca980 | c7d204e17882d6668d68a42850ae83f33f2ccc7d | refs/heads/master | 2023-02-23T18:45:00.575424 | 2021-02-02T23:46:11 | 2021-02-02T23:46:11 | 253,641,121 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,822 | r | Prediction_analysis_CA.R | # Compute consion mtrix statistics by comparing rasters
library("raster")
library("RColorBrewer")
library("dismo")
library("maptools")
library("raster")
library("rgdal")
library("rgeos")
library("sp")
# Import necesary data
# Step 2 : Prepare data and functions
####### ######## ######## ####### ######## ########
... |
9125c32b4b5b8dd86b1fd532f3528e1c3c3a0b80 | d8f2507d78fc366c416274c1b53ac9acde96ee54 | /Data and Analysis Simulations/Code/Generate Simulated Education Data - v1.3 - Refocused on just data creation (the data dirtying process for CIM data camp has been separated).r | 17cb77e7ac9d93b7d34ba22f885262fa1b3671d1 | [] | no_license | nsmader/Integrated-Evaluation-Code-and-Sim-Data | 080b5c7a31f6542dcf9393ed37fc02222b5f0a33 | 8589f5bed9b7b41a6011d771b569223651bbbc82 | refs/heads/master | 2021-01-01T18:03:37.713282 | 2013-06-07T02:57:03 | 2013-06-07T02:57:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,551 | r | Generate Simulated Education Data - v1.3 - Refocused on just data creation (the data dirtying process for CIM data camp has been separated).r | ####################################################################################
# #
# Develop Simulation Dataset for Analysis Mock-ups in YMCA-Chapin Collaboration #
# ... |
fe32ec0d4de4d8f7046a12411e8aa227176c389d | 6b86ab2ec4bf5ac6e64ec83ad7206afc26b51a5e | /Lessons/Lesson5/DU5.R | 395ab08950fd957377bee5ef2ce27cac08838d3a | [] | no_license | Lulu631/GeneralInsurance_Class | 9c1a7ebabcf2d3edc6a0f7f542ea78b1d462aa3c | 54dee1225524f6c8f67046ef2218f9ec220b7a4f | refs/heads/Class2019 | 2020-04-23T21:10:12.574973 | 2019-04-01T19:51:23 | 2019-04-01T19:51:23 | 171,461,411 | 0 | 0 | null | 2019-03-26T10:43:59 | 2019-02-19T11:25:24 | HTML | UTF-8 | R | false | false | 3,792 | r | DU5.R | install.packages("lubridate")
library(lubridate)
library(ggplot2)
knitr::opts_chunk$set(echo = TRUE)
setwd("C:/Users/userPC/Documents/GeneralInsurance_Class/Data")
dt_Claims <- read.csv("lesson5_Claims.csv") %>% distinct(NrClaim, .keep_all = TRUE)
dt_pol_w_claims <- left_join(dt_Policy,
... |
b6b0f8703ca30e5518815b0d563e62d6517763cf | fcfb3739aa7e701e9b8cb7c76ba5ba213b53f9a3 | /R/summary_dv.R | 9420eacba211ea2e7550d062aaf0c9f5cbaee187 | [] | no_license | rbcarvin/demoPackage | 12b6df3fd04b0cfa8e58a70725651fc77a0002ad | 04176c239e3546757ff9f7a3efab120b7ad7a10e | refs/heads/master | 2021-01-25T06:17:02.327021 | 2017-06-06T16:31:07 | 2017-06-06T16:31:07 | 93,538,522 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,312 | r | summary_dv.R | #' @title summary_dv
#'
#' @description Calculate min max day of year
#'
#' @importFrom dataRetrieval readNWISdv
#' @importFrom dataRetrieval renameNWISColumns
#' @importFrom dplyr mutate group_by summarise
#'
#' @export
#' @param site character USGS site ID
summary_dv <- function(site){
doy <- Flow <- Date <- ".dpl... |
ea3b23e6ca5e7aeee1421f595938e0446fa83880 | 32a3b1ead3c2b172866588dc484cfa4b62b12caa | /R/calcPCor.R | 7d87cffe9da8a40c4a84927223cfee2f12eeab74 | [] | no_license | arcolombo/junk | df08a10503a3fe46674d30fe7f8ee06bc1c18d99 | 5d39a5893bb7dd6328d587791b9735de14b2ff45 | refs/heads/master | 2020-04-13T15:28:36.085665 | 2016-03-31T16:47:00 | 2016-03-31T16:47:00 | 51,175,677 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,059 | r | calcPCor.R | #' A function to calculate the Variance Inflation Factor (VIF) for each of the gene sets input in geneSets This function depends on which method you used to calculate the variance originally. If you assumed pooled variance, then the variance will be calculated using LIMMA's "interGeneCorrelation" method (see Wu and Sm... |
9eb88b7bac180b26bb4041a65168cd0885d865e5 | 4697f98924cc3a8c1b2e5b92656d36374ee2274e | /01_data_preprocessing/data_preprocessing.R | 51c24887fafcc371622ae77ec7aeb134b040ca28 | [] | no_license | rails-camp/machine-learning-immersive | 1362ddf2f481913db73bee4ef7960db38345184a | a89306e76e5a3f23f45350db799ef01230f87bcf | refs/heads/master | 2020-12-02T11:29:33.518558 | 2017-07-13T21:41:03 | 2017-07-13T21:41:03 | 96,644,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 410 | r | data_preprocessing.R | # Import the CSV data
raw_data = read.csv('raw_data.csv')
# Fix missing data
raw_data$Age = ifelse(is.na(raw_data$Age),
ave(raw_data$Age, FUN = function(x) mean(x, na.rm = TRUE)),
raw_data$Age)
raw_data$Income = ifelse(is.na(raw_data$Income),
ave(raw_dat... |
d8971e909438e68fba2a0a7606593be007f69af0 | b725c869e75d12a159e53fbfb45e983a008b6b71 | /cachematrix.R | bd510730ca926e29b093e6dbfbe9a25cc9716f53 | [] | no_license | StSebastian/ProgrammingAssignment2 | 05be8bb95d3df314c39d7b28e24d7c3d0b48d034 | ed0b3d40cfe94301654fc171724e33eeb83dfb86 | refs/heads/master | 2021-01-18T06:32:21.160731 | 2014-05-24T13:31:08 | 2014-05-24T13:31:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,989 | r | cachematrix.R | ## Function 'makeCacheMatrix' takes a matrix as an input argument
## and returns an object of type 'list'. In addition it stores the matrix in
## the variable 'x' and its inverse in the variable 'inv'. The list object
## which is returned by the function is actually a list of four other functions.
## This four functi... |
762bbbc6bd945ea1be0352fb7d8888d6561ccbd1 | a9d8be148a0fcc0d2e950e9bae7c6316a37d5072 | /inchcape.R | 29801148c786ff70562eb773dde9493c03171da6 | [] | no_license | strwyn/AWS | ee3961d4d758dd1eb64d3c1f65bfe7a671148eec | 72295b1207b9e4feae5c26794a3380b73c6532ec | refs/heads/master | 2020-09-12T09:40:18.392390 | 2019-11-18T07:20:54 | 2019-11-18T07:20:54 | 222,383,890 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 35,378 | r | inchcape.R | #read.csv("Inchcape SGS cleanup_0811.csv")
library(plyr)
no.enum<-c('port', 'ports', '[0-9]+', '[ivx]+')
CheckGradeRaw<-function(){
}
CheckPortCityCode<-function(){
#country and city code?
}
CheckQtDrft<-function(){
}
CheckCmdty<-function(){
}
plural<-function(str){
len<-nchar(str)
str.end<-substri... |
9da4345ba274d1a831215424250e209bca0bc3f3 | ef1dba9a14358ff3866b69f9cdab7f00abdefbfc | /rcode/tabular/create_tables.R | 6044d17f495fef7d2eb9283166283ced49f8e287 | [
"MIT"
] | permissive | LindaNab/me_neo_motivatingexample | 52edc72dd62703abda6c09fefb365a91f554c479 | 09fd81f8a24600729615bbfe1f64f637ff0f5435 | refs/heads/master | 2023-04-08T12:58:16.066590 | 2021-03-30T21:53:03 | 2021-03-30T21:53:03 | 253,829,214 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,455 | r | create_tables.R | #############################################################
## Internal validation sampling strategies for exposure
## measurement error correction
## Motivating Example
##
## Tabularise summaries
## lindanab4@gmail.com - 20200303
#############################################################
#######################... |
9dfb57738cda9da78240b3709946d4d4f5114b42 | c58a1595115fea554db8cd6578279f574eabfa0e | /man/chk_multiple_of_n.Rd | 5ec96213c132544469e0c0fd2f01cacbc2daff2e | [
"MIT"
] | permissive | bayesiandemography/demcheck | 129aca86fecda02be83bea73e639fb45d366c651 | c52c3e4201e54ead631e587ebf94f97f9c7a05a0 | refs/heads/master | 2021-12-28T15:40:54.771894 | 2021-12-17T03:10:50 | 2021-12-17T03:10:50 | 200,993,678 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 717 | rd | chk_multiple_of_n.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/chk-composite.R, R/err-composite.R
\name{chk_multiple_of_n}
\alias{chk_multiple_of_n}
\alias{err_multiple_of_n}
\title{Check that 'x1' is a multiple of 'n'}
\usage{
chk_multiple_of_n(x, name, n)
err_multiple_of_n(x, name, n)
}
\arguments{
\i... |
2ab5ef7969436aa9516bd7084845461c5a9c07f9 | 77f3698afbe1b46e0689669d2d25ac569698184e | /start_script.R | 56fa22175eac99e6e01044451ef97421429295fe | [] | no_license | kid-codei/website | af56b1dc8bede643be7418100cf12f8e96fc1606 | b1b2d869212a586d94a0d904c86c725c5389befb | refs/heads/master | 2023-04-27T06:12:08.588894 | 2023-04-18T04:55:26 | 2023-04-18T04:55:26 | 227,481,524 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 122 | r | start_script.R | install.packages("blogdown")
library(blogdown)
blogdown::install_hugo()
blogdown::new_site(theme="nurlansu/hugo-sustain")
|
d2f4f1a2f70530b2a946d8da4fb7b91a852dfc1e | 806d34708c7e3a6fd99d5a626e4e082e4c9d95b7 | /RBD.R | 0670381ce9c1cdb830d7eb7764cd5426efe6ad7e | [] | no_license | andrebuenogama/STA6166material | 0a6423f9e67dc036f165f9362f69405621e063e5 | 4262922abc771c848d03adc531049bb5a30d5033 | refs/heads/master | 2022-10-08T05:15:54.882314 | 2020-06-12T16:59:17 | 2020-06-12T16:59:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,387 | r | RBD.R | ex0603dat=read.table("http://www.stat.ufl.edu/~winner/data/biostat/ex0603.dat",header=FALSE,col.names=c("subj", "intagnt", "thcl"))
head(ex0603dat)
# Create qualitative factor variable for intagnt, and assign names to levels
fintagnt=factor(ex0603dat$intagnt, levels=1:3,
labels=c("Placebo", "Famotidin... |
92318af67ecfc76917f32d76e8a81586fce92485 | bbf82f06ad6eb63970964a723bc642d2bcc69f50 | /R/expressionPlot.R | f9a9403af08b952a98f57fe53e864be65d1c7fd7 | [] | no_license | cran/BiSEp | 60af18b5fefd060e9b77df54ae4d5b169d1f8987 | fc7bae903d881648e84d7b31d20c96b99b529f7d | refs/heads/master | 2021-01-09T22:39:07.127740 | 2017-01-26T11:03:06 | 2017-01-26T11:03:06 | 17,678,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,038 | r | expressionPlot.R | expressionPlot <- function(bisepData=data, gene1, gene2)
{
if(missing(bisepData)) stop("Need to input expression data matrix")
if(missing(gene1)) stop("Need to specify gene 1")
if(missing(gene2)) stop("Need to specify gene 2")
# Extract objects from input + stop if object incorrect
if("BISEP" %in% names(bisepD... |
c92259d4d362fc4d8f1cf42877f926bd9cad896d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/nlme/examples/simulate.lme.Rd.R | 92a6ec1ee898de198a6ee94181b2740be61499d2 | [] | 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 | 404 | r | simulate.lme.Rd.R | library(nlme)
### Name: simulate.lme
### Title: Simulate Results from 'lme' Models
### Aliases: simulate.lme plot.simulate.lme print.simulate.lme
### Keywords: models
### ** Examples
## No test:
orthSim <-
simulate.lme(list(fixed = distance ~ age, data = Orthodont,
random = ~ 1 | Subject), ... |
72bfa77de8964fbf1750476961c9fa8e4a738738 | 9566a11ec3b4b437c2cfc9d2a6816e063d5f7f6a | /R/plot_case.R | 236d7dfcd5be283656234d5b2b3e01566ddef903 | [
"MIT"
] | permissive | EdoardoCostantini/plotmipca | 2d1b67c1b767936775bb74c5d4e55b4c1c2d750f | 7c8e51a1d59e6c3c13b531588a11e7fd84845662 | refs/heads/master | 2023-06-16T11:35:26.587626 | 2023-05-24T22:39:08 | 2023-05-24T22:39:08 | 518,990,480 | 0 | 0 | MIT | 2023-05-24T22:39:08 | 2022-07-28T20:48:20 | R | UTF-8 | R | false | false | 1,215 | r | plot_case.R | #' Plot case study results
#'
#' Generate the main plot for the case study.
#'
#' @param results object containing results produced by the simulation study
#' @param y dependent variable in the substantive analysis model
#' @return Returns the ggplot
#' @author Edoardo Costantini, 2023
#' @examples
#' # Define example ... |
3046510f6b32478d3ee3967b56201e956274e9cc | ad7d43e8486a9548cfa2ee8bd796f785f0d3a6e4 | /man/StrikeDuration.Rd | 80f469e90418c53bc04f43080daa465d85e91fe3 | [] | no_license | arubhardwaj/AER | 2dbc76eed0f6afe509414344e88f425af7f60a02 | 1306cd80cf990b8a87add2484fa2a6fba4095382 | refs/heads/master | 2022-04-01T03:46:48.620767 | 2020-02-06T05:20:52 | 2020-02-06T05:20:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,004 | rd | StrikeDuration.Rd | \name{StrikeDuration}
\alias{StrikeDuration}
\title{Strike Durations}
\description{
Data on the duration of strikes in US manufacturing industries, 1968--1976.
}
\usage{data("StrikeDuration")}
\format{
A data frame containing 62 observations on 2 variables for the period 1968--1976.
\describe{
\item{... |
b44d1a9bef7a494df6009b74085ac810740e64d6 | 37b51ada441c3679a42b82754d0e2f24c3ce70a2 | /man/AFMImageAnalyser-class-initialize.Rd | 76629ef84d2738324ceca4cc53564348b35df448 | [] | no_license | cran/AFM | a01d77751de195ca8a701cdf44ee3134ebaa00b4 | 98e8b5222e078af4d2840a20a2b58ec2196d684d | refs/heads/master | 2021-05-04T11:23:09.648739 | 2020-10-07T07:00:06 | 2020-10-07T07:00:06 | 48,076,498 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,438 | rd | AFMImageAnalyser-class-initialize.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AFMImageAnalyser.R
\name{initialize,AFMImageAnalyser-method}
\alias{initialize,AFMImageAnalyser-method}
\title{Constructor method of AFMImageAnalyser Class.}
\usage{
\S4method{initialize}{AFMImageAnalyser}(
.Object,
AFMImage,
v... |
352b8e890c179691baaa2700a4ad326fefdd9d7e | ee19e49beaea1d5c696dc16fd72a30d5e2343540 | /diff.R | d7bfe07b7de4f7c923b99f9599a73c2394b4ed35 | [] | no_license | GintsB/class_imbalance_for_LR | b471ced23b6c5f2577dc2692fddbb0e129602c39 | 667c4f3486d7c874955288142e9ec9390eacf064 | refs/heads/main | 2023-02-24T16:32:25.051088 | 2021-01-24T18:25:22 | 2021-01-24T18:26:38 | 332,520,920 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,035 | r | diff.R | # This file takes the resulting RDS fails generated by `Real_data.R` and extracts
# the main results (AUC and QS values as well as differences between methods (oversampling, SMOTE) and control).
# Nothing needs to be set manually.
library(tidyverse) # General R work
source("functions.R")
data_id_vec <- c(271, 326, 3... |
f6134d8c65e759de7a54cd013b56cbaefc1fdcac | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.machine.learning/man/rekognition_get_face_detection.Rd | 8f46f9b8a8917102628a94554184de702ac844c7 | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 5,243 | rd | rekognition_get_face_detection.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rekognition_operations.R
\name{rekognition_get_face_detection}
\alias{rekognition_get_face_detection}
\title{Gets face detection results for a Amazon Rekognition Video analysis
started by StartFaceDetection}
\usage{
rekognition_get_face_detec... |
eaa7187072a7080f547ac4ae580b1a890b6b03d4 | f22f6f06e85e6e77b371cc370163013a8049e245 | /Project 2.R | 2c5351a115a60a57ba161b16ae33264177476272 | [] | no_license | stefkaps/F17-eDA-Project2 | fa3c4701605f8459e32dd79993444ae1312255f2 | 11bf1670a64e935b56b25efe60a9c6573d99a444 | refs/heads/master | 2021-07-12T20:13:09.957844 | 2017-10-14T02:41:03 | 2017-10-14T02:41:03 | 106,124,521 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,793 | r | Project 2.R | library(tidyverse)
library(modelr)
require(dplyr)
require(data.world)
require(MASS)
require(ISLR)
require(ggplot2)
data.world::set_config(save_config(auth_token = "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJwcm9kLXVzZXItY2xpZW50OnRhcnJhbnRybCIsImlzcyI6ImFnZW50OnRhcnJhbnRybDo6MDE1OTQxYzQtNTUyZC00YjI3LWIxNGEtYzllN2ExMjYxN2... |
f6a1131bdd8b0bf03b2a9f1eac1023d13db75ed6 | efffa9293c84cbf59a2c5096c816dff6576d0409 | /data-preparation.R | 64ac6abaa55ef5b27ab908d3d6a653de81fb2612 | [] | no_license | RMitra90/covid-tracking | c2111cb8858e22d2a7e437a0bf2715679602fd4e | 7b52bc5e633cea0b012b61beda59c4ab5b4605e0 | refs/heads/master | 2023-04-05T10:02:05.866334 | 2021-04-10T14:47:27 | 2021-04-10T14:47:27 | 276,250,381 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,105 | r | data-preparation.R | # The COVID Tracking Project
# Data Source: https://covidtracking.com/data/download
setwd("G:/Initiatives/covid/covid-tracking")
covid <- read.csv('daily.csv', stringsAsFactors = F)
library(dplyr)
library(lubridate)
library(openintro)
# Remove deprecated columns
deprecated_columns <- c('deathIncrease', 'hos... |
feee2e9aaf8d4d1e7e59ab498d3ab90577980663 | 7f043b1e94f565d92e96e2a7c5e3b0efc8ef141e | /plot1.R | 726e4a83859e3bc91226af4db1d7d012b029971c | [] | no_license | ellieroster/ExData_Plotting1 | 3cbbfe24a6e92a9c32962d5688759fa1622a66cf | 9ea46d0ad085933e3899769d6cfac3d4a59881b4 | refs/heads/master | 2020-12-01T11:50:34.775896 | 2015-07-12T20:39:30 | 2015-07-12T20:39:30 | 38,928,798 | 0 | 0 | null | 2015-07-11T14:39:28 | 2015-07-11T14:39:28 | null | UTF-8 | R | false | false | 637 | r | plot1.R | plot1 <- function() {
## Reads text file of household energy consumption
## Subsets file to include data from 2/1/2007-2/2/2007
## Creates .png of histogram of useage of Global Active Power - color is red
##
## Closes graphic device (.png file)
energy <-read.table("./data/household_power_consumption.txt",sep="... |
479eb2acaf89eb05e1025d87a4c4ba89ec987834 | fd9bb969de48e83e138735c70deae02535d002ad | /R/kmo.R | c4146610c50e62278d55820f3105717d4ee98691 | [] | no_license | storopoli/FactorAssumptions | defe7532dd91adfc3bc225f751ee6cf8287c44b9 | 18115c73a42d249e84c57b15d07ae8ad475d1821 | refs/heads/master | 2022-05-31T14:12:19.821562 | 2022-03-08T08:57:43 | 2022-03-08T08:57:43 | 197,268,919 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,400 | r | kmo.R | #' Calculates the Kayser-Meyer-Olkin (KMO)
#'
#' \code{kmo()} handles both positive definite and not-positive definite matrix by employing the \emph{Moore-Penrose} inverse (pseudoinverse)
#'
#' @param x a matrix or dataframe
#' @param squared TRUE if matrix is squared (such as adjacency matrices), FALSE otherwise
#' @r... |
2cdecfdeb9de9af1f8567a1f4ebf0e0d340e7ca2 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610035595-test.R | f6d81097a2caaa6ff517564427b7cdd2741e9e0d | [] | 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 | 420 | r | 1610035595-test.R | testlist <- list(data = structure(c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(9L, 7L)), x = structure(c(8.42090025536172e-227, 1.88278760074632e-183, 8.4419789... |
0fd1ee80d9e65109fb5a3f0fe9cc4bf0b7bb56a1 | 807a8fb756efda6130a60901f760429708779f80 | /R/save_objects_as_rdata.R | 502f475c87a4ebe4f421426b68e4fbe12ee02bd5 | [] | no_license | navanhalem/dalextutorial | 683b6f4a18d81d01e6325b05e6621492f076490d | 77afa4b56047e9aaa6e9755a670f68e0142f48be | refs/heads/master | 2023-03-01T18:16:19.139180 | 2021-02-07T14:15:29 | 2021-02-07T14:15:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,340 | r | save_objects_as_rdata.R | rm(list = ls())
# Imputed titanic dataset copied from github.com/pbiecek/models/gallery
load(file.path("data", "27e5c637a56f3e5180d7808b2b68d436.rda"))
johnny_d <- titanic[0, c(-5, -9)]
johnny_d[1, ] <- list(gender = "male", age = 8, class = "1st",
embarked = "Southampton", fare = 72,
... |
49c13350f0aa15fc066133cfacac370038ca4b46 | f175009c4c613a87e57a3e6632a8c331821fe3cd | /auth.R | 69cd9781d1ad5d2b0a966f2fb9b8c0353cbbcfe6 | [] | no_license | linlilin/SM-Analytics-using-R | c33862de745fbc9948768a1ccd006d4046e170db | cc5ffbaaa8e292a194135366c34abf0061ae2967 | refs/heads/master | 2021-01-17T06:34:04.932539 | 2016-06-15T05:35:35 | 2016-06-15T05:35:35 | 61,172,568 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 854 | r | auth.R | library(twitteR)
library(devtools)
library(RCurl)
library(streamR)
library(stringr)
library(RJSONIO)
library(ROAuth)
requestURL <- "https://api.twitter.com/oauth/request_token"
accessURL <- "https://api.twitter.com/oauth/access_token"
authURL <- "https://api.twitter.com/oauth/authorize"
consumerKey <- "sAPghZUBAsklj1a9... |
fdc6e2d935a643c8b2177699ff57fc3c378c1fc1 | 56599cad16d944464d64a709bdf98b24a04fceff | /run_analysis.R | 6da9119c5d46289a7ce48545ddd3098f7f8bf927 | [] | no_license | ntdatascience/cleaningdata | f3e3032e4c6ba048df0d4a4e1b2e6ecaf83fa5e8 | eb72ed2529afd82b3e3876d1ffdc977951569366 | refs/heads/master | 2021-01-21T13:07:51.578113 | 2014-09-21T19:43:02 | 2014-09-21T19:43:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,772 | r | run_analysis.R | library(dplyr)
library(plyr)
library(formatR)
library(reshape)
library(utils)
## this function cleans up the feature names to add domain meaning and adjustments to improve readability
getFeaturesColumnNames <- function(features.col.names) {
features.col.names <- sapply(features.col.names, gsub, pattern = "([A-Z])"... |
31e771002e9f948baf8a70f4f39a35cc6a7607de | 4cfcdda656da5db3bcaa87a4869773f3184d660f | /OHT.R | 0720f6dd033b49b45c1c847c2d9a47bd9e581ef7 | [] | no_license | p1org/DMBHGraphs | d4b98bd8218e47c5c93d1ba66eabfcb510c07080 | aceff8bee3712af1a63461661c08597af36f1c80 | refs/heads/master | 2022-10-05T09:18:07.011351 | 2019-09-05T23:58:52 | 2019-09-05T23:58:52 | 58,963,763 | 1 | 4 | null | 2022-09-05T17:47:12 | 2016-05-16T20:08:21 | R | UTF-8 | R | false | false | 3,324 | r | OHT.R | ###########################################################################
## Using R version 3.0.0
## Using igraph version 0.6.5-1 -WARNING do not use an older version!!
## Authors: Despina Stasi, Sonja Petrovic, Elizabeth Gross.
## ... |
61f9ba9577b8932b829b35df90e470a5f9e930f1 | 5b4c00154d71d49ceee250e9ac5cddb2261ab716 | /FFL/FFL_Model.R | d164b310eeadfe6675c9067fa2bc038b30a4a5ad | [] | no_license | mfabla/Kaggle | 3f7ea433dd6a052a8315cc1df3b6aec472df654a | 18edefce828581e4d393388d66592a4353b5fbd9 | refs/heads/master | 2021-05-14T08:36:56.635348 | 2018-01-04T20:27:23 | 2018-01-04T20:27:23 | 116,303,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,729 | r | FFL_Model.R | #### FFL Model #####
# Aug 31, 2017
# set_env -----------------------------------------------------------------
library(rIA)
set_env(clear_env = T, dir = "C:/Users/AblMi001/Desktop/FFL", extra_pkgs = c("caret", "randomForest", "gbm", "xgboost", "xlsx"))
# pull data ---------------------------------------... |
fc5fd4d5719c4b148e941a6e63fb397924c96b3e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/VineCopula/examples/BB7Copula-class.Rd.R | 228d4dda7e6d3da721766588791270ae22285f1a | [] | 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 | 1,052 | r | BB7Copula-class.Rd.R | library(VineCopula)
### Name: BB7Copula-class
### Title: Classes '"BB7Copula"', '"surBB7Copula"', '"r90BB7Copula"' and
### '"r270BB7Copula"'
### Aliases: BB7Copula-class dduCopula,numeric,BB7Copula-method
### ddvCopula,numeric,BB7Copula-method dduCopula,matrix,BB7Copula-method
### ddvCopula,matrix,BB7Copula-met... |
4b3273424e8f6fc1198d2228037e39c824db0fec | 54d0e0b1cfb9935174e0f9907f176e721d6d3bf3 | /9. CH9 - SupportVectorMachines/10. CH9 - - svms problemset/ProblemSetChapter9Solution.R | ae7f1449fda17ecadbb0f91c09c7e7bf204c74f0 | [] | no_license | clairehu9/R_ML_ISLR | 29f16ddcb02d654ae272f06510d85243ea30c68e | 26bce2a45a1037cfbbc64eef4dca0d93ea56f461 | refs/heads/master | 2020-09-12T06:11:09.600859 | 2019-11-18T01:38:55 | 2019-11-18T01:38:55 | 222,336,639 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,371 | r | ProblemSetChapter9Solution.R | rm(list=ls())
installIfAbsentAndLoad <- function(neededVector) {
if(length(neededVector) > 0) {
for(thispackage in neededVector) {
if(! require(thispackage, character.only = T)) {
install.packages(thispackage)}
require(thispackage, character.only = T)
}
}
}
needed <- c('ISL... |
ba49ae65f0d058684056a601cd487275903e47f3 | fa7d14277895cd5982677deb1070b0d0adb7e53c | /Day_3/scripts/05_practice_worsheet.R | 89c8590f0703f773278c41cfa6810c0721b1a5b2 | [
"MIT"
] | permissive | Christian-Ryan/R-A_Hitchhikers_Guide_to_Reproducible_Research | 24a29eafcd640e31f00ed9652316500397266322 | 021a292e76d9f9450fec5d26af8c3a45fcf887be | refs/heads/master | 2020-09-15T23:00:19.182160 | 2019-08-07T10:35:21 | 2019-08-07T10:35:21 | 223,577,660 | 0 | 1 | MIT | 2019-11-23T11:28:13 | 2019-11-23T11:28:12 | null | UTF-8 | R | false | false | 2,164 | r | 05_practice_worsheet.R | ###########################################################################
# 3-day R workshop
# Day 3
# Morning
# 05_practice_worksheet.R
###########################################################################
# 1. Look up the help for functions
help('function')
# 2. Let's attempt to create a function
# Write ... |
6f51d88d6df7b548f89bf836eb3bc788e20cd1da | 08319ef51e3f82bf0c04ea75710cf4f898430875 | /improve-elastic_net/prototype.R | a076eea036e5cbb35250452d56b291c2a39a45e9 | [] | no_license | walkingsparrow/tests | d6a4b36919d6029b898cc3743e4b8e3640371b3d | 2d2490f4d1149f66cf943e5f4b5bb63b097fbe71 | refs/heads/master | 2016-09-05T21:57:12.348291 | 2014-02-26T22:17:03 | 2014-02-26T22:17:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,822 | r | prototype.R | ## Prototype for fast elastic net algorithms
soft.thresh <- function(z, lambda) {
if (z > 0 && z > lambda) return (z - lambda)
if (z < 0 && -z > lambda) return (z + lambda)
0
}
## linear elastic net
el.lin <- function (x, y, alpha = 1, lambda = 0.1, thresh = 1e-6,
max.iter = 1000, use.... |
5a66612bf9745c3329f2ef704fe5bd700bdbc259 | 452b2db9e37c5aeba079c2a5b1b2b05104af5570 | /code/09-db_construction.R | 21282dc0a8068331a4a0099b9cc07e9e4b418b6c | [] | no_license | complexity-inequality/complexity-inequality-app | 9660d97373dade1130e0ba29ba8ceeb9261a6651 | 6bb79c48c3937ba26a5d9278cc5f6e3d25bd6d1f | refs/heads/master | 2023-07-03T13:34:35.942904 | 2021-08-06T08:13:16 | 2021-08-06T08:13:16 | 379,519,828 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,997 | r | 09-db_construction.R | # R-script db_construction.R
# References --------------------------------------------------------------
# https://grapher.network/blog/
# https://pacha.dev/blog/
# https://pacha.dev/
# https://cran.r-project.org/web/packages/economiccomplexity/economiccomplexity.pdf
# Method of Reflections is the one used by Hidal... |
d8dfeb318e9e89561eb49d2c12f2b7632cec9f2f | 84605328adcc79b5af1b8794f09b599e991b2f2a | /Ttest_T.R | 79a1dae849f226a038326fc542b51f7715b56cf1 | [] | no_license | hehuili-XIEG/Projected-Summer-climate-change-in-the-Aral-Sea-region | 1df5561b6bdbc33bd2907d133253c7dd8112ed50 | 18152acacc8112c5c8c3de7ca4295c3f2a6c0752 | refs/heads/main | 2023-07-07T16:14:00.431612 | 2021-08-06T11:10:39 | 2021-08-06T11:10:39 | 393,329,347 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,498 | r | Ttest_T.R | ###########################################################
#
#
# Temperature Annual
#
#
#############################################################
###### CTR and LU2050 #####
module purge
module load R
R
rm(list=ls())
library(Rfa)
inway = '/scratch-a/heheuili/CMIP5_RData/Year_RDa... |
f103453245657197e56f0569c27ba42003b38088 | 551b9335dcc91791535095126beb86b4bd132a06 | /Import/RedditExtractoRTest.R | 1ca28d8fc1a02988b918d71dd443c954838f6fad | [
"MIT"
] | permissive | dungates/ImagePlotting | 214a8d4488327f8e0e6e16c85fd119277c641cf8 | b8bf80a4a086e6938fa0c159147a9822a13d489c | refs/heads/master | 2023-07-15T15:50:44.380292 | 2021-08-11T17:52:30 | 2021-08-11T17:52:30 | 325,050,470 | 1 | 2 | NOASSERTION | 2021-06-25T20:32:55 | 2020-12-28T15:41:32 | R | UTF-8 | R | false | false | 2,124 | r | RedditExtractoRTest.R | library(RedditExtractoR)
library(inspectdf)
library(tidyverse)
library(lubridate)
library(rvest)
library(xml2)
# REDDIT SCRAPE FUNCTIONS AND PURRR LOOP THROUGH THINGS
reddit_links <- reddit_urls(
search_terms = "donald",
page_threshold = 1
) %>%
mutate(date = dmy(date))
show_plot(inspect_types(reddit_links))... |
db1b0883cd498aa8c4275af90539178339928fab | 95c7437be03fca270c4c9bb9ddf8526d5812317d | /tcc_r_files/tcc/app.R | b71ef56ff493778274fff325627611a33a6d176f | [] | no_license | ingoramos/tcc_mort_infantil | 108c3a754b2449bfa7256d06ba79f8ae7496eeee | cc38d1931d263fe2de1de788c54b149698de7c0d | refs/heads/main | 2023-05-08T08:45:24.533714 | 2021-05-26T19:46:50 | 2021-05-26T19:46:50 | 371,109,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,192 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(shinydashboard)
library(ggplot2)
library(ggExtra)
library(d3treeR)
libr... |
8ca92cc6a899775650f2a9a00f2ee4e80fcf57bf | 2dd16401534e83826ef2e1d352d2d51abd78a2a2 | /run_analysis.R | 75618835f136d70ec91d3234c9b81d5f1929827d | [] | no_license | danielmbaquero/Peer-graded-Assignment-Getting-and-Cleaning-Data-Course-Project | f4d87a9f8d11acbb4a134234bbbd585c10bc560c | 46eeb010de799379114a1f04d02e341e862b354a | refs/heads/master | 2022-05-31T22:35:24.378909 | 2020-04-28T00:44:22 | 2020-04-28T00:44:22 | 259,487,028 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,011 | r | run_analysis.R |
## Load the neccesary libraries
library(dplyr)
## Set the paths for all necesary files
## Read the data sets and load them to data frames
trainPath <- "./UCI HAR Dataset/train/X_train.txt"
trainActivityPath <- "./UCI HAR Dataset/train/y_train.txt"
testPath <- "./UCI HAR Dataset/test/X_test.txt"
testActivityP... |
c03d033482a811d8d0e4eba64f36b20f44e6e484 | 67de61805dd839979d8226e17d1316c821f9b1b4 | /inst/models/passing/DogChain.R | f1fe5bb9aee1310ed6ed500fcde2815a05233a28 | [
"Apache-2.0"
] | permissive | falkcarl/OpenMx | f22ac3e387f6e024eae77b73341e222d532d0794 | ee2940012403fd94258de3ec8bfc8718d3312c20 | refs/heads/master | 2021-01-14T13:39:31.630260 | 2016-01-17T03:08:46 | 2016-01-17T03:08:46 | 49,652,924 | 1 | 0 | null | 2016-01-14T14:41:06 | 2016-01-14T14:41:05 | null | UTF-8 | R | false | false | 1,088 | r | DogChain.R | library(OpenMx)
m1 <- mxModel("dogChain",
mxMatrix(name="link", nrow=4, ncol=1, free=TRUE, lbound=-1, values=.1),
mxMatrix(name="dog", nrow=1, ncol=1, free=TRUE, values=-1), # violate constraint
mxFitFunctionAlgebra("dog"),
mxConstraint(dog > link[1,1] + link[2,1... |
6f9b4a8396b916766b0ef05d51d507cfbe17a28d | 18e19488af40a720778965f6445ce21e6da49201 | /cachematrix.R | d867e764f1083a33f785435aab9c0674c47f26c3 | [] | no_license | hschreib/ProgrammingAssignment2 | 26af668070808333a64c12aff4aabe2e5ad7521f | d5329c8b668ea3fc5f04cf0ea985166568836e36 | refs/heads/master | 2021-01-15T15:32:09.768521 | 2015-10-22T09:02:15 | 2015-10-22T09:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,860 | r | cachematrix.R | ## Task Description (from the website)
# Matrix inversion is usually a costly computation and there may be some benefit to caching the inverse
# of a matrix rather than compute it repeatedly (there are also alternatives to matrix inversion that
# we will not discuss here).
#
# Your assignment is to write a pair of f... |
78c5aa4be1675d7331a4a8263e1ec741fcc99d66 | a9c942259f52d03c632369a3ceba3f90a876b0d7 | /GEOG306/LabProblems01.R | e6745131eac2f5c1f682070a25b1acbfbfd29998 | [] | no_license | aKeller25/Coursework | a374aa183d2096f3ae104bf2ca169c27d2d1237d | 1766f02c35cf84d48e33f6afd69aaecf251e6223 | refs/heads/main | 2023-01-24T23:43:00.225065 | 2020-12-08T09:59:54 | 2020-12-08T09:59:54 | 318,409,064 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 584 | r | LabProblems01.R | ########################################
# Author: Alex Keller
# Date created: 11:15 AM 8/29/2017
# Date last edited: 12:00 PM 8/29/2017
# Semester: Fall2017
# Class: Geog306
# Assignment name: LabProblems01
########################################
# Question 1-3
data("faithful")
help(faithful)
View(faithful)
# QUest... |
e8bedc83b35ccac0bfc481e6361d6145dba8069d | 9228ec9bac32fd19ce2115a634a447b931d6e072 | /tests/initialize.R | 43357c7495aafd7f4024b89af982c7bb512e9904 | [] | no_license | TheGilt/UITesting | dc080a1bd00ff9b6328987512f706171dd5dd6a4 | f6312a39ed13c88e09a5505d2eff5e71e6136bcc | refs/heads/master | 2021-06-27T21:40:01.338777 | 2017-09-08T18:40:47 | 2017-09-08T18:40:47 | 101,445,640 | 0 | 0 | null | 2017-08-25T22:10:49 | 2017-08-25T22:10:48 | null | UTF-8 | R | false | false | 4,143 | r | initialize.R | library(methods)
library(RSelenium)
library(testthat)
library(XML)
library(digest)
ISR_login <- Sys.getenv("ISR_login")
ISR_pwd <- Sys.getenv("ISR_pwd")
SAUCE_USERNAME <- Sys.getenv("SAUCE_USERNAME")
SAUCE_ACCESS_KEY <- Sys.getenv("SAUCE_ACCESS_KEY")
machine <- ifelse(Sys.getenv("TRAVIS") == "true", "TRAVIS", "LOCAL"... |
15d1213559fae093161d2c0940dcfc5857a737d2 | 4834724ced99f854279c2745790f3eba11110346 | /man/MDSMap_from_list.Rd | 31dcf18e658f47f61dedb4e3a110f8b878f4a980 | [] | no_license | mdavy86/polymapR | 1c6ac5016f65447ac40d9001388e1e9b4494cc55 | 6a308769f3ad97fc7cb54fb50e2b898c6921ddf9 | refs/heads/master | 2021-01-25T12:37:09.046608 | 2018-02-13T17:07:35 | 2018-02-13T17:07:35 | 123,487,219 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,613 | rd | MDSMap_from_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/exported_functions.R
\name{MDSMap_from_list}
\alias{MDSMap_from_list}
\title{Wrapper function for MDSMap to generate linkage maps from list of pairwise linkage estimates}
\usage{
MDSMap_from_list(linkage_list, write_to_file = FALSE,
... |
09b961d4c74b236eeef0c6408eb090b6ea77b9b8 | 8284b1b45303414dc77a233ea644488b91d9f649 | /R/dbj.R | 9a89c6575422ed825eebe642f117f0513949345d | [] | no_license | hoesler/dbj | b243eaa14bd18e493ba06e154f02034296969c47 | c5a4c81624f5212a3e188bd6102ef61d6057af0b | refs/heads/master | 2020-04-06T06:59:06.471743 | 2016-07-14T10:16:04 | 2016-07-14T10:16:04 | 40,183,942 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 707 | r | dbj.R | #' A DBI implementation using JDBC over rJava.
#'
#' Start with \code{\link{driver}} to create a new database driver.
#'
#' @docType package
#' @import DBI rJava methods assertthat
#' @name dbj
NULL
.onLoad <- function(libname, pkgname) {
.jpackage(pkgname, lib.loc = libname)
# Workaround for devtools::test()
... |
b3254db68b1ae7ab0bb616e1615e96522501c1fa | 3bc70bcc059f3a6f75d56e16cd0c880fb4f1b2ac | /L4.2_combining_predictors.R | 76ef5e667d5dd88ebed4dbed38f086abcd9b51ef | [] | no_license | Priscilla-/practical_machine_learning_course | 531f6d44b99e96e5e490d5eeca1ff4b86721e9ae | 66d21688e558bc88912a184d47a90ff9ef25abb6 | refs/heads/master | 2021-01-18T10:10:25.118726 | 2015-11-26T14:24:02 | 2015-11-26T14:24:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,627 | r | L4.2_combining_predictors.R | # Week 4 Practical Machine Learning
# Lecture 2: Combining predictors
# load packages
library(ISLR)
library(caret)
library(ggplot2)
# get data, subset out the outcome
data(Wage)
Wage <- subset(Wage, select=-c(logwage))
# do the validation, train, test split
inBuild <- createDataPartition(y=Wage$wage, p=0.70, list=FA... |
abe39b12ebf734cd2a95418497249055d6dd5555 | c5f44f6f107d5b83f0de5ac52d0d1972366de327 | /man/formula.xbal.Rd | 54767079257290e387484ee7d039d657907eb345 | [] | no_license | cran/RItools | 0719f0999aa2353cb06270d2b1822d124cc58623 | 97de113c050c20665c4f60290d3f4538dd5c392e | refs/heads/master | 2023-03-15T20:01:04.049134 | 2023-03-10T07:20:07 | 2023-03-10T07:20:07 | 17,692,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 459 | rd | formula.xbal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{formula.xbal}
\alias{formula.xbal}
\alias{formula.balancetest}
\title{Returns \code{formula} attribute of an \code{xbal} object.}
\usage{
\method{formula}{xbal}(x, ...)
}
\arguments{
\item{x}{An \code{xbal} object.}
\item{...}{... |
181fe6f1ea2f467bf06a5da6a1d462427f5ddd8d | ccbb7401341a5755f41a3026ac43bdf0ee8322f1 | /application_code/mfpca_apply_fcns.R | 5de0960c939e1feeae360b93255457c122532df3 | [
"BSD-3-Clause"
] | permissive | TrevorKMDay/mfpca-analyses | d12ff3b15c97d35964c82153f70c8a8f08dfe081 | 74f819d424e6ef6ae25e4b122570403cf6e41e72 | refs/heads/main | 2023-05-07T01:56:18.409248 | 2021-05-28T18:40:55 | 2021-05-28T18:40:55 | 371,776,807 | 0 | 0 | BSD-3-Clause | 2021-05-28T17:41:20 | 2021-05-28T17:41:19 | null | UTF-8 | R | false | false | 33,708 | r | mfpca_apply_fcns.R | #--------------------------------------------------------------------
# functions for MFPCA applications to microbiome multi-omics data
#--------------------------------------------------------------------
#---------------------------------------------------------------------
# transform data for MFPCA
# df_var: data... |
b355c079f6f8fa17601836ebc1b844d752b9e261 | 733378b26fa10e84fa1bfe986d6c27ebe48865ba | /server.R | 30741a069c860bf330360a2deb10e5d93f97804d | [] | no_license | johnpateha/MyShinyAppBMI | ada426c4839b7ee48f548c7ec711d18a281da79c | c12247c2d380692aba83589a496e935dec39671c | refs/heads/master | 2016-08-10T16:15:07.348039 | 2015-11-22T18:52:09 | 2015-11-22T18:52:09 | 46,604,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,252 | r | server.R | library(shiny)
library(mixsmsn)
library(ggplot2)
data(bmi)
calcBMI <- function(height,weight,units) {
if (height == 0) 0
else {
if (units == 1) {round((weight*10000)/(height*height),1)}
else {round((weight * 703)/(height*height),1)}
}
}
shinyServer(function(inp... |
65fb46a36b970284a473cd339f9a8316320a29ba | 9482413d84d3431f986cee3b26ce7b6bfbbd8799 | /man/make.ruleoutTable.FNtime.Rd | 09c4370c8c373b78d94b4e35a67ab3a273536f3d | [] | no_license | n8thangreen/IDEAdectree | d1867f4b6d8d45705d559d9bb26954957ee40540 | cd2ac09ad1142bf089c618bc7a848afe70b3e7bc | refs/heads/master | 2020-12-25T14:24:11.955849 | 2020-02-07T16:19:37 | 2020-02-07T16:19:37 | 67,139,702 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 470 | rd | make.ruleoutTable.FNtime.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_ruleoutTable-bysubgroups.R
\name{make.ruleoutTable.FNtime}
\alias{make.ruleoutTable.FNtime}
\title{Make rule-out table for multiple follow-up times}
\usage{
make.ruleoutTable.FNtime(FNtime.seq = c(7, seq(0, 60, by = 1)), Ctest)
}
\argume... |
305915708bb0d88495a289058db0638fcb187b69 | 3bb5a9d1b56cd683bb1bfc7562c015902b55e3d3 | /tests/testthat/test-addSwitch.R | 4463a146b5623751a7018aba1bab4b6fa70a3909 | [] | no_license | everdark/ArgParser | 216fb8aff0ed55b515e5370d137415b3d86bb43c | 0bf06b093539f21715904e766b7c6be87a19a039 | refs/heads/master | 2021-01-10T12:09:03.337371 | 2015-10-29T06:56:47 | 2015-10-29T06:56:47 | 44,537,262 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,983 | r | test-addSwitch.R |
context("Add switches onto ArgParser instance")
test_that("name definition of length > 1 will be warned, and the first one kept", {
expect_warning(ArgParser() %>% addSwitch(c("--s1", "--s2")))
expect_identical((ArgParser() %>% addSwitch(c("--s1", "--s2")))@switches_logic,
... |
30f533740dd2e79074c657f231797888e134cf2b | 5dc7dc7e33122e8c588eb6e13f23bf032c704d2e | /legacy/R/c20200617_tsy5_vs_realised.R | 7e68ab265efafbca3b64dccef57178e986275756 | [
"Apache-2.0"
] | permissive | brianr747/platform | a3319e84858345e357c1fa9a3916f92122775b30 | 84b1bd90fc2e35a51f32156a8d414757664b4b4f | refs/heads/master | 2022-01-23T16:06:26.855556 | 2022-01-12T18:13:22 | 2022-01-12T18:13:22 | 184,085,670 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 928 | r | c20200617_tsy5_vs_realised.R |
source('startup.R')
source('startup.R')
fed <- pfetch('U@FedFunds')
tsy5 <- pfetch('F@DGS5')
fed_m <- convertdm(fed)
tsy5 <- convertdm(tsy5)
recession <- pfetch('F@USREC')
fed_ma <- MA(fed_m,60)
realised <- lag(fed_ma, k=-60)
realised <- realised["1990-01-01/2015-06-01"]
ser <- tsy5
ser2 <- realised
pp <- ShadeBa... |
7711eebed3d99e79e4292563f2f94fa517e31c55 | a61a45533408be0193bb5a6c1d4db7f227e2186c | /Models/explores.R | 8af2129c86b357083cf0c6a346eb287de82a06bc | [] | no_license | JusteRaimbault/InteractionGibrat-submission | 3403d9b6944df1132abb72747b25edf3f1eb62bd | ae25ae89e42867271903ecc5b8f6213a14878174 | refs/heads/master | 2020-03-31T12:29:58.733711 | 2017-07-28T07:53:24 | 2017-07-28T07:53:24 | 152,218,198 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,242 | r | explores.R |
# analysis of exploration results
library(dplyr)
library(ggplot2)
source(paste0(Sys.getenv('CN_HOME'),'/Models/Utils/R/plots.R'))
#setwd(paste0(Sys.getenv('CN_HOME'),'/Results/NetworkNecessity/InteractionGibrat/calibration/all/fixedgravity/20160920_fixedgravity_local'))
#setwd(paste0(Sys.getenv('CN_HOME'),'/Results/... |
7af8d20bfd2bbf277d0f7ec7e13fc84fcf84b40c | ed0131ae47615ad8c9d455fc031b33c322f460e5 | /rupload.r | 86cd7f7ddd89ec66bd17b775404f9df48f2919a3 | [] | no_license | rmkelley/rmkelley.github.io | d7191aaac5f523673750a399c3cfd0ece4feaf70 | 243ef9997829d300b91be450086884ceaf3362c2 | refs/heads/master | 2020-07-23T18:09:20.906172 | 2019-12-15T15:40:08 | 2019-12-15T15:40:08 | 207,661,231 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,345 | r | rupload.r | ## script to convert an SPSS statistics file into something understandable/uploadable by a database
## We had a SPSS file from a DHS Survey. The Import Dataset feature in R imported the dataset as the name entails.
install.packages("RPostgres")
install.packages("rccmisc")
library(foreign)
library(DBI)
library(d... |
4fff710ee94946b833c31dc174885fa9601684c4 | 29585dff702209dd446c0ab52ceea046c58e384e | /mmds/R/integrate.pdf.R | f5920a22a01a8e9ef6a670fa019accdf6705a4df | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,612 | r | integrate.pdf.R | integrate.pdf<-function(x,width,pars,mix.terms,z=NULL,zdim=0,pt=FALSE){
# integrate the detection function -- ie. calculate overall mu
# grab some pars
got.pars<-getpars(pars,mix.terms,zdim,z)
key.scale<-got.pars$key.scale
key.shape<-got.pars$key.shape
mix.prop<-got.pars$mix.prop
if(pt){
in... |
b92c52a09aa25d784591d7ba7eed5499ad7315fb | 2166f50dab140b8c395ad4acc266430e0f47c921 | /Opposite day3.R | 48e19a223da2d13458bce51bf876ae2c5972e99b | [] | no_license | rosehartman/frog-trap | e101990fd030849d233015ffe07000c71324b880 | 43cce031300b5d4b5a4cf57b376966aa922ae462 | refs/heads/master | 2021-01-22T05:06:53.781155 | 2015-02-08T21:33:45 | 2015-02-08T21:33:45 | 14,573,077 | 0 | 0 | null | 2014-03-05T17:15:08 | 2013-11-21T00:12:05 | R | UTF-8 | R | false | false | 6,346 | r | Opposite day3.R | # Now lets have predation effect the adults AND have the adults be
# the migratory life stage.
source('R/opposite day3 functions.R')
# apply stochastic growth function over all predation levels
resultsSO3 = ldply(pred, function(pred2){
# calculate stochastic growth rates
r.0 = foreach(i=1:21, .combine=c) %dopar% f... |
ec9290154c3c63b0b605ea8bb9edccf8e5c0e591 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/cloudtrail_put_event_selectors.Rd | 89bbb8fcaf6d1799166575c9ad0ebee4b150bcdf | [
"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 | 3,004 | rd | cloudtrail_put_event_selectors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cloudtrail_operations.R
\name{cloudtrail_put_event_selectors}
\alias{cloudtrail_put_event_selectors}
\title{Configures an event selector or advanced event selectors for your trail}
\usage{
cloudtrail_put_event_selectors(
TrailName,
EventS... |
5dfa2fe33b846506708693fab5ab00b09e023aad | 1515e2e409fc02383f6025ed3be4eef138c943c6 | /code/data-prep/build-flight-volume-features.R | 3617d19269c1fe560dfd85c57897f54fca1faf4c | [] | no_license | dgarant/flight-delays | 84f4ffeee438e80ca492ecbf1ae9f5b10af7e745 | 37fc0a11c7487d565beeb0e1fcc540b1e6f65486 | refs/heads/master | 2016-08-11T11:43:03.047151 | 2015-12-18T18:58:06 | 2015-12-18T18:58:06 | 44,618,018 | 0 | 0 | null | 2015-12-15T02:03:40 | 2015-10-20T16:03:04 | R | UTF-8 | R | false | false | 1,428 | r | build-flight-volume-features.R | # This script creates the number of flights arriving and departing from an airport within hourly blocks
library(plyr)
library(RSQLite)
sqlite <- dbDriver("SQLite")
ontimeDb <- dbConnect(sqlite, "../data/ontime.sqlite3")
dat <- dbGetQuery(ontimeDb, "select * from ontime")
dat$departure_dt <- with(dat, ISOdatetime(Year... |
bc292be2525326e1d2f22c90b15ae538de256e50 | 00c728d52337f009c7d4b2780d41ab173e2a527e | /Admin/script/internal/bind_and_hash.R | 7b7f9419822f9870c272c3e46ee6cf7198ef13a0 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | microsoft/vivainsights_zoom_int | add2c3ed2198a327f88fe76d5a42e1a15371038c | d0a9f57519888b06ea64d786931545670c6d524f | refs/heads/main | 2023-08-23T11:33:56.054405 | 2023-08-16T14:35:08 | 2023-08-16T14:35:08 | 368,118,562 | 1 | 2 | MIT | 2023-08-15T16:34:26 | 2021-05-17T08:53:54 | R | UTF-8 | R | false | false | 5,384 | r | bind_and_hash.R | #' @title
#' Read in csv files with the same column structure, row-bind, and hash
#'
#' @description
#' csv files with a matched pattern in the file name in the given file
#' path are read in, and a row-bind operation is run to combine them. Pattern
#' matching is optional, and the user can choose whether to return a c... |
c9fff1527ab1cb8414facf75a902372f864010dc | 9940a0e6f44db27fedce196b657ce30f53fa247e | /figures/figure4_rna.R | 99957094ec23378c0cf7aa2dc74259ff3382fce5 | [
"MIT"
] | permissive | p4rkerw/Muto_Wilson_NComm_2020 | cec71644b51baa3fc45e3c937dfadb20294695e9 | 874e7daa1368f9426cf7d05bdf878f1ca416139d | refs/heads/master | 2023-04-09T13:02:11.347401 | 2023-03-13T13:17:44 | 2023-03-13T13:17:44 | 239,532,534 | 21 | 7 | null | 2021-02-22T15:03:06 | 2020-02-10T14:33:17 | R | UTF-8 | R | false | false | 3,078 | r | figure4_rna.R | library(Seurat)
library(monocle3)
library(ggplot2)
library(dplyr)
library(Matrix)
library(here)
library(BuenColors)
set.seed(1234)
#snRNA-seq data
rnaAggr <- readRDS("cellranger_rna_prep/rnaAggr_control.rds")
new.fig4a <- FeaturePlot(rnaAggr,"VCAM1",order=T) #700x600
new.figS10a_1 <- FeaturePlot(rnaAggr,"TPM1",order=T... |
319c509652355b08441e722a2fe80c1a1253fb95 | ad77cd8d25d727733a70e6783057cb4a9a16ca20 | /data_analysis.R | 20257b5ce94164f78b653ea0ff5d2904ac06e39f | [] | no_license | muuankarski/oslo2013 | 1ae115b9463b1a33fe0a731b7320050191179636 | 7c42d5e6a05b45577c77b5b5935a17c3df9932f4 | refs/heads/master | 2016-08-03T11:44:31.089764 | 2013-10-11T13:32:17 | 2013-10-11T13:32:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,312 | r | data_analysis.R | # Retrevieng data from 2002 census
# http://std.gmcrosstata.ru/webapi/opendatabase?id=vpn2002_pert
# ТЕРСОН Alue + "Город подчинения субъекта РФ"
#
setwd("~/workspace/courses/oslo2013/workspace_oslo/oslo_essay")
## Karelia
raw <- read.csv("data/housematerial_karelia.csv", sep=";", skip=6)
names(raw) <- c("region","... |
afa8b51925218eadf7bc8108b0fd5e7d756cf3d2 | 461580fbd2677d90a6a580b2d00ed5109a71db54 | /phase3.R | 46c6830cae9508b46839edad81f09f53ef1806be | [] | no_license | ahmedsyed584/Survival-prediction | 2490fa7026e1cc6c7ef7fd9905b05c257d6cdd1f | 3b8c1d315ca4b413784bfc330c52e09a36e378e5 | refs/heads/master | 2020-08-27T07:40:04.123436 | 2019-10-31T15:21:58 | 2019-10-31T15:21:58 | 217,287,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 467 | r | phase3.R | #### Logistic regression ###
glm.fit = glm(Survived~ Pclass + Age + SibSp + Parch+SibSp*Parch, data = titanic)
glm.fit
summary(glm.fit)
test = read.csv(file = "test.csv")
prediction = predict.glm(glm.fit, newdata = test, type = "response")
predictions = prediction
for(i in 1:length(prediction))
{
if(is... |
00e93513b58713c69223c88d9f98fd302313a3c2 | f75251c8a1209205ea2dc45241adc2f8f1e24b4c | /cachematrix.R | 1252946c43f7e69ee6b516b586269baa99df1c12 | [] | no_license | isaidi90/ProgrammingAssignment2 | d2dd2fcd7a26bdaebfebd74e0156f423bf8d8725 | 0bf713d2649d9d314a804c148044ac3e871b00fd | refs/heads/master | 2020-12-09T20:02:50.839307 | 2020-01-12T15:05:11 | 2020-01-12T15:05:11 | 233,405,781 | 0 | 0 | null | 2020-01-12T14:32:16 | 2020-01-12T14:32:15 | null | UTF-8 | R | false | false | 1,544 | r | cachematrix.R | #First of all, thank you for the time you're taking for evaluating my work
#As described in the instructions, two functions should be writtent
#The first one "makeCacheMatrix" creates a special "matrix"
#The second one computes the inverse of the special "matrix" returned by makeCacheMatrix.
#If the inverse has already... |
90b1cb663f80bd3638de8ecf2fcdb881aecf9a14 | bce55fe84abe924b59ae71925ac4d413b178eb0a | /R/append_dest_origin.R | db3618ee0020aa22c88969004fac96fd669f7687 | [] | no_license | james-e-thomas/origindest | 7c8556abdeae70509f851509041c3f602d19c188 | 475eb081a972e21e14fe8a0145f0ca8854c926cf | refs/heads/master | 2022-11-30T02:46:01.872946 | 2020-08-15T14:51:44 | 2020-08-15T14:51:44 | 273,926,944 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 343 | r | append_dest_origin.R | append_dest_origin <- function(x) {
x2 <- dplyr::select(x, starts_with("dest_"), starts_with("origin_"))
colnames(x2) <- gsub("dest_", "origindest_", colnames(x2))
colnames(x2) <- gsub("origin_", "dest_", colnames(x2))
colnames(x2) <- gsub("origindest_", "origin_", colnames(x2))
x <- rbind.data.frame(x, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.