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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
85d0d85610f25c8374f8b10204ee616956ccb312 | 60aee3139de2c74fee465fd27c5ae52355b90306 | /code/deseq_to_function.R | 9e5df8bf1fe581391936e8fdc16abeae43cf6fe1 | [] | no_license | jflater/incubation_manuscript | 2f9fc4a35a52f4537a60ffae73383e9b9fb40c87 | 950128b4e1e1d88c9733a260102882378007ae9e | refs/heads/master | 2020-04-11T04:20:00.155974 | 2020-01-13T21:09:07 | 2020-01-13T21:09:07 | 161,508,762 | 1 | 1 | null | 2018-12-12T16:49:34 | 2018-12-12T15:37:50 | R | UTF-8 | R | false | false | 7,571 | r | deseq_to_function.R | library(phyloseq)
library(tidyverse)
library(DESeq2)
inc.physeq <- readRDS("data/RDS/incubation_physeq_Aug18.RDS")
tree <- read.tree("data/tree.nwk")
inc.physeq <- merge_phyloseq(inc.physeq, tree)
#Rename treatments to more informative titles
data <- data.frame(sample_data(inc.physeq)) %>%
mutate(treatment = r... |
a978df24cea4bc9efaaa332dd92e95f2518e09cf | 92e828aeed0eb4203cd1890fbdcee430d6cc9773 | /src/linear_regression.R | 3202120702f6cfab9bcb5c83c5f6f1c76fb3d8fb | [
"MIT"
] | permissive | dy-lin/stat540-project | 46d9ee4f4638dbe933bdb607f3f8232e872a6847 | 20f040d9399ab5b9df0341b317e0f22eefafe5e8 | refs/heads/master | 2022-11-18T03:27:53.049420 | 2020-07-19T22:47:39 | 2020-07-19T22:47:39 | 259,114,940 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,467 | r | linear_regression.R | #author: Almas K.
#date : 2020-04-02
'This script is for linear regression in R'
## Libraries
library(tidyverse)
library(reshape2)
library(stringr)
library(here)
library(lumi)
library(limma)
library(FDb.InfiniumMethylation.hg19)
## Import Data
male_metadata <- read_csv(here("data","processed_data","male_metadata.c... |
c9cf5cff4048d919256b4a0e40508cc4ecc0052e | b4fa3f92a666972e8147eaccc268e775c983df70 | /run_analysis.R | e81bded4ca70c9ca75c3c3c6fa0a252509cf9450 | [] | no_license | mdon89/Cleaning_Data_Quiz_4 | b9bc58deb7301476aed3bc739f041c70b6c708cd | a93831c6ea938f823b0d5084144fec282e7af352 | refs/heads/master | 2021-04-15T17:13:12.353786 | 2018-03-24T00:10:33 | 2018-03-24T00:10:33 | 126,549,024 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,345 | r | run_analysis.R | #Set working directory
setwd("C:/Users/mdon/datasciencecoursera/Cleaning data quiz 4/UCI HAR Dataset)
#list file names
filenames <- list.files()[c(5,6,9,10,11,12)]
#read in all test documents and assign to a dataframe
List <- lapply(filenames, read.table, fill = TRUE)
#Assign names to data frames
newname... |
593ab22daa252c044f13958653419661c3ebd112 | fbff64c4ca06554868cbd7f74fa2c56e9884896b | /cachematrix.R | 05487019eb2724a6d18accaacd5244de35df4541 | [] | no_license | ssuzuki323/ProgrammingAssignment2 | be683ef02ab9454f74427f36368a54e3ec785743 | a80a63079ad0304ab6c3643b49424e30ca58abee | refs/heads/master | 2021-01-22T17:15:06.286648 | 2015-04-12T22:16:38 | 2015-04-12T22:16:38 | 33,834,894 | 0 | 0 | null | 2015-04-12T21:38:00 | 2015-04-12T21:38:00 | null | UTF-8 | R | false | false | 1,407 | r | cachematrix.R | ## makeCacheMatrix creates a special "matrix" that can cache its inverse. cacheSolve computes
## the inverse of the special "matrix" but first checks to see if the inverse has already been
## cached, in which case it would skip the computation and return the inverse matrix.
## Create a special "matrix" object that can... |
954491424980e0b24397c07566cd89cd3c36a183 | 6b78fcf74c68d33be7b52414e273eeeb8eeb2e7d | /01_split_data.R | 81d19ba3238bae1e386671ab7f5a31bd62ed4e90 | [] | no_license | zpeng1989/TCGA_CNV_sumamry_diff | 51189a7427c714c5f22fd696e15a69d714e1c300 | 6a70724709395a4458689669bff90d026778e1a0 | refs/heads/master | 2020-03-25T09:59:19.295740 | 2018-08-14T05:07:18 | 2018-08-14T05:07:18 | 143,681,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 704 | r | 01_split_data.R | args<-commandArgs(T)
cancer = args[1]
##主要目标,分割样本;
input_data_path = paste0('/work/home/zhangp/mission/09_deep_sumamry/data_used/CNV/',cancer,'.txt')
input_data <- read.delim(input_data_path,header=F)
sample_id = names(table(input_data[,1]))
for (one_sample_id in sample_id){
#print(one_sample_id)
one_data_table <-... |
182b9c6221bd71e6d9caa672e37c5e2ce84a5fac | f422c73b787ae891bcc155e3f0867973ef3dc949 | /shiny_weather/server.R | 3e6d43263e6423fd217e0f528d911761d736bd5f | [] | no_license | karafede/WeatherMaps_R | 209510016e88cda99d400543ac50ac06903d4905 | 2d391645d4d0a34ffe20f1ba36c6ff5994956a00 | refs/heads/master | 2016-09-14T01:31:35.262014 | 2016-06-06T16:13:29 | 2016-06-06T16:13:29 | 59,492,926 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,436 | r | server.R |
library(shiny)
library(dplyr)
library(leaflet)
###############################################################
shinyServer(function(input, output) {
finalMap_rain <- reactive({
map_rain <- leaflet() %>%
addTiles() %>%
setView(18, 38, 4) %>%
# addProviderTiles("Stamen.TonerBackgr... |
aeda9596c197c39e640ed0c481fad2605a3c05fb | c1958ff3ca2b10a041fadaaa3503724f194631ae | /plot3.R | e93268d69f2431b6e4a1574dcf82e2b13dfb8e52 | [] | no_license | pbrogan12/ExData_Plotting1 | 63e9c48be8a7937a3b7f33e6a48bc431d1b83f80 | 795a4781855ca302e85774d4a903d8f46cc85181 | refs/heads/master | 2021-01-24T03:11:40.013244 | 2014-06-08T23:23:16 | 2014-06-08T23:23:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,029 | r | plot3.R | data <- read.table("~/Downloads/household_power_consumption.txt",header=T,sep=";",na.strings="?",stringsAsFactors=F)
data <- data[which(data$Date=="1/2/2007" | data$Date=="2/2/2007"),]
png("plot3.png",width = 480, height = 480)
plot(strptime(paste(data$Date,data$Time),format = "%d/%m/%Y %H:%M:%S"),data$Sub_metering_1,t... |
88abfc3a0a0d5a3e141269027e5c0eae8f1db059 | bfec4871cd31a5d5b52bbd1dc22f977724952bbc | /tests/testthat/testMMM.R | edea33435ab092cec653e2bb8ee804c09b1f17ae | [] | no_license | ekstroem/mommix | a51cd361d973616d8b4faef453d92e20f09607d4 | 4b9601ee6e31b97ee4d5a0da274c647b6e4187e2 | refs/heads/master | 2021-05-05T00:57:00.022881 | 2019-01-06T21:16:45 | 2019-01-06T21:16:45 | 119,524,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,325 | r | testMMM.R | context("test results for MMM")
set.seed(1)
p <- 0.7
N <- 100
x <- rnorm(N) ... |
41858f9e70de4799c9f92f4fb9bd0e03c1886d52 | b2360322fc78847770c990a55a2e0859f328c520 | /projects/MachineLearning/code/LinearRegressionForPrediction.R | 942d506b75f56d0c6141e6df2165a7b503077969 | [] | no_license | senthil-lab/RWork | 6739546116a67cd8a6e95d5760d230f3f7432643 | 3754a2c4f50c39b9be189a48c7ee2087ce2e248c | refs/heads/master | 2020-12-18T18:19:09.299030 | 2020-10-04T18:28:28 | 2020-10-04T18:28:28 | 235,481,973 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,064 | r | LinearRegressionForPrediction.R | library(tidyverse)
library(HistData)
galton_heights <- GaltonFamilies %>%
filter(childNum == 1 & gender == "male") %>%
select(father, childHeight) %>%
rename(son = childHeight)
head(galton_heights)
library(caret)
y <- galton_heights$son
test_index <- createDataPartition(y, times = 1, p = 0.5, list = FALSE)
tr... |
09cb736a6407f943b21116021b2e1c57fda5312f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/EMMIXskew/examples/ddmvt.Rd.R | d41a7d1cc276b95110c6645ad8da5076510bb063 | [] | 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 | 311 | r | ddmvt.Rd.R | library(EMMIXskew)
### Name: ddmvt
### Title: The Multivariate t-Distribution
### Aliases: ddmvt rdmvt
### Keywords: cluster datasets
### ** Examples
n <- 100
p <- 2
mean <- rep(0,p)
cov <- diag(p)
nu <- 3
set.seed(3214)
x <- rdmvt( n,p,mean,cov,nu)
den <- ddmvt(x ,n,p,mean,cov,nu)
|
1059ed7919435c56c471f7790539417fa71493cd | 7efa216193f994c69c6566eb6f23418ec3b03706 | /rejection_sampling.R | 430c9d2a4341d12ee2c754a40b533aca5d2ffa5e | [] | no_license | Sirius081/MCMC | bd4952077572de7806c0a0819ea2f2b457f95e36 | 742a96b116c38f8ff7551ec980d6638329bce440 | refs/heads/master | 2021-01-20T02:37:37.086023 | 2017-04-26T02:49:04 | 2017-04-26T02:49:04 | 89,430,292 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | r | rejection_sampling.R | #p is gaussian(0,1)
#q is uniform(min,max)
rejection_sampling_gau=function(mean,variance){
N=100000
x=vector(length=N)
min_v=mean-3*variance
max_v=mean+3*variance
k=max-min
print(min_v)
print(max_v)
i=1
count=0
while(i<=N){
z=runif(1,min_v,max_v) #sample from q
p_z=dnorm(z,mean,varian... |
9a925cc50bb6a3c2520ab0f06a6aa35a7379b9ac | 854175b2bd9411866784aba87b959dad603cf6e9 | /R/capture_ping.R | 7bd790a8d6e31d301d2869148571acc78a67ef0f | [
"MIT"
] | permissive | JesseVent/pingers | e43ddf27c8f8012d3e245982e5771091a3b411be | 1fc9ddaa201de08c1187fa68ee3a3b2f0de04c70 | refs/heads/master | 2021-08-15T20:28:42.676962 | 2018-10-31T12:05:01 | 2018-10-31T12:05:01 | 145,440,455 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,515 | r | capture_ping.R | #' Ping Server
#'
#' Ping a server to capture response details
#' @name ping_capture
#'
#' @param server IP address or URL of server
#' @param count Number of times to ping server
#'
#' @return dataframe with ping results
#' @export
#'
#' @importFrom dplyr "%>%"
#' @importFrom stringr str_replace_all
#' @importFrom tib... |
d9b42af3f4bb3d9aefd4c56d161ba03d8b0bb532 | 737d67e2884b33324003a7303351f5abf2c419e6 | /OutlierAnalysis/outlierMatrixProtein_gluC.R | 793e59f63d6bd1c526b810f501e19eb8dda014f8 | [
"Apache-2.0"
] | permissive | bwbai/ATLANTiC | ad576ec305120a8b5012d08cad7f11a0c4ab217e | c831ac3e0c6ae0ed9be130a1959b50a6bc41ce2f | refs/heads/master | 2022-04-19T18:42:15.671658 | 2020-04-21T11:41:52 | 2020-04-21T11:41:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,257 | r | outlierMatrixProtein_gluC.R | source("https://raw.githubusercontent.com/mengchen18/RFunctionCollection/master/outliers.R")
library(openxlsx)
library(matrixStats)
if (!dir.exists("Res/20180328_outlierAnalysis"))
dir.create("Res/20180328_outlierAnalysis")
t1 <- read.xlsx("../Manuscript/current/supplementTables/table_S3_Intensity_of_proteins.xlsx... |
a9dab08b26c070fb959183717c747c0812d4bccd | d64d88d896260aac75f0ed98a01c7e8e02005063 | /server.R | c0b4322809062589dfdf9499da89314910334e63 | [] | no_license | neeagle/CourseraDDP | 025aa557875e6fa5fb7a865b396cabf0ae93708a | 1f8dd2c9a6f981736f7516c5d2350c38c69537cf | refs/heads/master | 2020-12-25T08:59:40.106663 | 2016-08-15T04:04:27 | 2016-08-15T04:04:27 | 65,699,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 982 | r | server.R | library(shiny)
library(zipcode)
library(ggmap)
data(zipcode)
zip_price_rent <- read.csv(file="Zip_PriceToRentRatio_AllHomes052016.csv")
map<-get_map(location='united states', zoom=4, maptype = "toner", source='google',color='color')
zipmerge <- merge(zip_price_rent, zipcode, by.x="RegionName", by.y="zip")
g <- ggmap(ma... |
08ada3e6f8fe9a9bf6dab1dc608b6114197f2175 | ba094e0fc15739a634ecb3fb7703ab52d0ee1925 | /Mario.R | 7842f2369cd6f9bf8b37c68cd0c27cc97b899f5b | [] | no_license | vina1998/TidyTuesday05-25 | 0951463fe004b3c010211e3c8443b0da6059439a | 098eca6451c87526ac79f6e640abfe09aadcd6a1 | refs/heads/master | 2023-06-19T22:48:38.494303 | 2021-07-19T08:39:16 | 2021-07-19T08:39:16 | 371,938,912 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,672 | r | Mario.R | records <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-05-25/records.csv')
drivers <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-05-25/drivers.csv')
library(tidyverse)
library(ggimage)
library(viridis)
li... |
7d838c2a24fed29632bda716dcb0a45fff268204 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/seasonal/examples/outlier.Rd.R | 6cf16a1805cf69e819406060aa4234966653809b | [] | 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 | 184 | r | outlier.Rd.R | library(seasonal)
### Name: outlier
### Title: Outlier Time series
### Aliases: outlier
### ** Examples
## Not run:
##D x <- seas(AirPassengers)
##D outlier(x)
## End(Not run)
|
cf71f8773ff285b889f877978b110e5a9ec46e0d | 9992af6db68a9d3a92844b83cf992210da05cc32 | /AnalisisRendimientoRiesgo.R | c193d8fd2e09062bbf20ec6dcfcf1bbce89fbc6d | [] | no_license | cristinacambronero/CovarianzaR | bcaa06f763ef13220e1090995f2e989663ebf19a | e899f3234ca19ccff410d838e6ecff81d17bf5bf | refs/heads/master | 2020-04-13T12:53:38.498218 | 2015-07-26T09:42:44 | 2015-07-26T09:42:44 | 39,720,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,317 | r | AnalisisRendimientoRiesgo.R | numAleatorios<-c(round(abs(rnorm(10)*100))) ##10 número aleatorios
CIAleatoria<-CI_Empresas[,numAleatorios] ##Obtenemos los valores close de 10 empresas
CIRend<-(CIAleatoria[2,1:length(CIAleatoria)]-CIAleatoria[1,1:length(CIAleatoria)])/CIAleatoria[1,1:length(CIAleatoria)]
##Calculamos la rentabilidad de cada serie tem... |
696880d105a43c61d27d2b92111eaf40c6f39df2 | 0d93a95face0469ca653511e689738794eed05d8 | /script/ResampledWells.R | e5520cb749dc8b6d8eea69abb64dd7c205a1fd5c | [] | no_license | xxmissingnoxx/As-measurement-code | fefa5b1ad176f1958a7d08686019935a9a760567 | a5325fc5ba5ae2433e27d1e74d88003b5117c593 | refs/heads/master | 2023-02-15T18:07:30.470404 | 2021-01-17T06:47:18 | 2021-01-17T06:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,527 | r | ResampledWells.R | # model for the 271 resampled wells
######################################
library(rstan)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
setwd("/Users/YulingYao/Documents/Research/arsenic")
data_repeated308=read.csv("./data/4. repeated308.csv")
data_repeated14_15=read.csv("./data/2014vs15.... |
086c05399ac8cbd5398a1f7e7251b9db0ac33e05 | 3a5086aa8460c8253cf45a49be933be875bca99f | /cachematrix.R | 5e436983545c201c81758278eae58c34e104af00 | [] | no_license | MarinePGT/ProgrammingAssignment2 | d6d7d882a58b26f92924cf5c7bc5de4a40ecd935 | 659b94f96ee05b69f7afea23a429b2ddac020594 | refs/heads/master | 2020-04-06T04:11:20.435325 | 2015-10-21T17:10:22 | 2015-10-21T17:10:22 | 44,611,405 | 0 | 0 | null | 2015-10-20T14:20:52 | 2015-10-20T14:20:52 | null | UTF-8 | R | false | false | 1,574 | r | cachematrix.R | ### Coursera R programming
##Programming Assignment 2: Caching the Inverse of a Matrix
# ========================================================
# (21st October 2015)
# Author: M Pouget
## functions:
# 1.makeCacheMatrix: fct creates "matrix" object that cache its inverse
# 2.cacheSolve: fct computes inverse of t... |
19e6a33dc6254bab3907f5b92c6605311a07574e | a1d2e832de47d6c00ff49ba47f02a61e9d157210 | /RandomUserTest.R | 0d6a3dff0590a9bc6015d9b1dbac11a295f48d08 | [] | no_license | KelseyChetnik/MigrateTest | 25ee73301ff9aab19f10661683f02ad65701ac87 | 823caa2a0460e4984a775ef5b6a38e0ace6f1295 | refs/heads/master | 2023-01-28T08:33:51.891568 | 2020-12-08T15:24:17 | 2020-12-08T15:24:17 | 318,604,223 | 0 | 1 | null | 2020-12-08T15:13:35 | 2020-12-04T18:32:53 | R | UTF-8 | R | false | false | 78 | r | RandomUserTest.R | # random user test
print("I'm a random user and I want to change your code!")
|
f8d81f316a29cdabbb3a24f82c65aaf10a368781 | 72119643f835f5d00531048b647fe79a581748b3 | /R/summary_stats.R | 2f602694685114c602697a3ff0eb9d890c172020 | [
"MIT"
] | permissive | Diaz-Oscar/tidycyte | e8dd78031569c8451b04bf1bc3fa3c4103654ba7 | 94a4933fefb57846eacc4e8ee0f9541461f5cd46 | refs/heads/master | 2023-08-20T22:38:54.789143 | 2021-10-08T04:29:38 | 2021-10-08T04:29:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,383 | r | summary_stats.R | #' Calculate summary statistics for tidycyte data
#'
#' Gives n, mean, standard deviation, standard error of the mean, and confidence interval.
#'
#' @param .data A data frame containing tidycyte data.
#' @param measurevar <[`data-masking`][dplyr::dplyr_data_masking]> The masked name of the column containing tidycyte v... |
1620d330fc2ece4d3e1d3b84ebd7b46d6d1894a1 | 0d7a326479fbddc1f8405a49fb6dcdd7690e6165 | /file23.R | 09406f069005ff0b081ba9375fb4b5213e1281f3 | [] | no_license | jinishashah1998/R-practice | 0019ba6787f3ebf84a7d9594b7e7cd66ac062145 | 94d726a171c00e1b0c7b2334593883c36cd38528 | refs/heads/master | 2022-10-19T18:52:05.728503 | 2020-06-10T21:28:04 | 2020-06-10T21:28:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,676 | r | file23.R | library(dslabs)
library(tidyverse)
set.seed(1986) #for R 3.5 or earlier
#if using R 3.6 or later, use `set.seed(1986, sample.kind="Rounding")` instead
n <- round(2^rnorm(1000, 8, 1))
set.seed(1) #for R 3.5 or earlier
#if using R 3.6 or later, use `set.seed(1, sample.kind="Rounding")` instead
mu <- round(80 +... |
8509fefe79a61d54ff58df4ea1b57ed98fcc8bac | 3d328d07eac93537021760bfdf9d5afc1943fdfd | /ui.R | 188aa4b04fe9ef1fdb8cfdb135ba032ebb9246c2 | [] | no_license | fss14142/DevelopingDataProductsProject | b360de61fc65c2c4058aa3b468a44bf15fbfd9ae | fd62654c7ba6b71761a5553f0e818c53c3612eae | refs/heads/master | 2021-01-18T13:58:26.744358 | 2014-11-23T10:51:38 | 2014-11-23T10:51:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,750 | r | ui.R | require(shiny)
require(rCharts)
require(httr)
source("global.R")
shinyUI(
#bootstrapPage(
fluidPage(
title = "Bird distribution data from eBird.",
titlePanel("Migrating birds observations across the US, using data from Ebird."),
sidebarLayout(
sidebarPanel(
... |
4eb322a6a592457d9234c0ec5a65d3b73c223dd9 | 7172e02a32a1046ec1a2ec0a8631f0ae3d2dd761 | /R/data_functions.R | 1751a6690df5bce0682e4ec3e78c855a4e0f61d0 | [
"MIT"
] | permissive | nps-jeff/OZAB | 24358d5fbb17b0c50778b66f1fd2c9c2986441ad | f98d494630e4fb38903a09e32fd2aec6bcfb0441 | refs/heads/master | 2023-03-03T20:52:48.088345 | 2021-02-11T19:14:52 | 2021-02-11T19:14:52 | 337,487,343 | 0 | 0 | NOASSERTION | 2021-02-11T19:14:53 | 2021-02-09T17:46:01 | null | UTF-8 | R | false | false | 2,686 | r | data_functions.R | #' NPS Data Format Transformation
#'
#' @param nps_data Tibble containing NPS Formatted Data
#' @param covariate_cols Columns which refer to covariates such as Year, Location, Grade, etc.
#'
#' @return Long format tibble
#' @export
#'
#' @examples
#' \dontrun{
#' pivot_nps_data(nps_data_ex, c(Year, Loc_Name, SCOSA))
... |
43f93eaacc4f4576534cbaa1cab2ef440816fb94 | 7da7a83763b7c4b4ab9608ffec1599d30f673662 | /R/race-wrapper.R | e3a23aa8275abe1ce78db5711663ba6843b808aa | [] | no_license | abeham/irace | 57dfaf83b8c6891e01a5bbdcec7e7927fb40c254 | 90467edf1ac9fc3950b76780c5fba90c62c3d309 | refs/heads/master | 2020-03-14T03:19:24.959619 | 2017-08-03T16:34:51 | 2017-08-03T16:34:51 | 131,417,353 | 0 | 0 | null | 2018-04-28T14:39:37 | 2018-04-28T14:39:37 | null | UTF-8 | R | false | false | 15,111 | r | race-wrapper.R | # FIXME: This is needed because race.R is not divided in two-stages
# run/evaluate like irace is, so there is no way to communicate data
# from the first stage to the second.
#
# FIXME: In fact, we should use this trick also in irace.R to avoid
# pass-by-copy-on-write of huge matrices and data.frames and instead
# pass... |
72e60a756b692289faaabd33d356a39ec26d7d5b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/naniar/examples/miss_scan_count.Rd.R | 66a23ae926977e401c8e1e6ef158c0f32d7439d4 | [] | 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 | 564 | r | miss_scan_count.Rd.R | library(naniar)
### Name: miss_scan_count
### Title: Search and present different kinds of missing values
### Aliases: miss_scan_count
### ** Examples
dat_ms <- tibble::tribble(~x, ~y, ~z,
1, "A", -100,
3, "N/A", -99,
NA, NA, ... |
1f500f6d35237a9aff0f851e8cacf51af2261228 | c77069c2dc6dbf3f9449a44e06d70b540a1912b5 | /man/fitRMU_MHmcmc.Rd | aa93adcdbd305dca7baf378e841639fe90549668 | [] | no_license | cran/phenology | 62b323a9231c3701568de58c57a804e043abe6a2 | 991d2c35dcbcf1fcff23cbcc0c2f82b74a868dfb | refs/heads/master | 2023-04-15T03:37:51.464388 | 2023-04-01T09:10:02 | 2023-04-01T09:10:02 | 17,698,504 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,452 | rd | fitRMU_MHmcmc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitRMU_MHmcmc.R
\name{fitRMU_MHmcmc}
\alias{fitRMU_MHmcmc}
\title{Run the Metropolis-Hastings algorithm for RMU.data}
\usage{
fitRMU_MHmcmc(
result = stop("An output from fitRMU() must be provided"),
n.iter = 10000,
parametersMCMC = sto... |
98c5a17ad3db89f02efe36fb614f78c601da3d9b | a32d706b41bdce3e777a157d4aafeefbf4f01237 | /GeneraAnalysis.R | dc25d64a84c5f57099ad8b6f73f6ec6c44294063 | [] | no_license | levisimons/SCCWRP | 8873f3cca4b780f4ca8dcde52442c03e817323dd | 240a162517ed743842a0ad327132aeec87434700 | refs/heads/master | 2022-12-15T21:03:21.785069 | 2022-12-05T20:45:16 | 2022-12-05T20:45:16 | 110,313,993 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,287 | r | GeneraAnalysis.R | library("plyr")
library(dplyr)
library("ggplot2")
library(lubridate)
library("ape")
library("vegan")
library("microbiome")
library(data.table)
library(tidyr)
library(ggplot2)
library(vegan)
library(scales)
library(grid)
library(reshape2)
library(phyloseq)
library(reshape2)
setwd("~/Desktop/SCCWRP")
#Read in site data ... |
f10905bc35c1f8b60eb00e2628b3c853ad9be799 | b51a4d510afd3aa852e446290d7bba9695ae8e72 | /products/ui.R | 36cbcafa875999ec710551bf3dd947fd8aca183b | [
"MIT"
] | permissive | sharksmhi/SHARK4R | 8ed9e733b3cab91862401cc233d1fb503187d26d | acb28d26660f7daa45c7f2395329a67e038534dd | refs/heads/master | 2023-08-29T23:07:56.765132 | 2021-10-25T06:25:23 | 2021-10-25T06:25:23 | 270,549,422 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 508 | r | ui.R | library(SHARK4R)
library(shiny)
library(htmltools)
library(leaflet)
library(DT)
library(rmarkdown)
shinyUI(pageWithSidebar(
headerPanel("SHARK4R QC"),
sidebarPanel(
helpText(),
fileInput('file1', 'Choose ZIP File',
accept=c('.zip')),
tags$hr(),
leafle... |
369e0605cb9a5238633818b75548f72ca99b9ec2 | da44d6b825853e76fa449ff1d477c8c4b4748f84 | /man/vizectionExampleGenes.Rd | 7ecf668059b7199fb3c38374635c51935048a131 | [] | no_license | shamansim/Vizection | fde7f22552cf1bcb487dcb2a50d72d2c0064fb59 | 37246952e43d2a1a9132087ba8b92718ddf625e8 | refs/heads/master | 2020-12-25T14:38:25.793023 | 2017-10-11T14:43:51 | 2017-10-11T14:43:51 | 64,266,012 | 0 | 2 | null | 2017-10-11T14:44:05 | 2016-07-27T01:12:26 | R | UTF-8 | R | false | true | 521 | rd | vizectionExampleGenes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vizectionServerFunctions.R
\name{vizectionExampleGenes}
\alias{vizectionExampleGenes}
\title{vizection example \dQuote{genes} table}
\usage{
vizectionExampleGenes()
}
\description{
Toy example for the \dQuote{genes} table to be used in vizect... |
7c965ccc9e7c7780c676dcb12953fe40417d76b1 | 644c06fefbf06d8b6b96e7ca4e9f39607b9dc83a | /plot1.R | a6538f2707002c1a1b31b9c258a8ada7a3277d64 | [] | no_license | Wil1999/ExData_Plotting1 | 162984a609e1f235fbcdd13f348573253edc1abd | 73c9c77ada0f227daecf052857e4e40db44f0598 | refs/heads/master | 2022-12-02T15:12:22.522399 | 2020-08-17T00:10:30 | 2020-08-17T00:10:30 | 287,833,174 | 0 | 0 | null | 2020-08-15T22:17:19 | 2020-08-15T22:17:18 | null | UTF-8 | R | false | false | 642 | r | plot1.R | # Unzip the data
fileurl = "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileurl,destfile = "data.zip",method = "curl")
unzip("data.zip")
# Loading and tyding data
power <- read.table("household_power_consumption.txt",sep = ";", header = TRUE, stringsAsFactors = ... |
e46a67c7cfa92518d775eee777affa301bfc8a5a | 1a19c6916b7171f8e893d89bded8766d10936719 | /man/fars_summarize_years.Rd | 4239d891e61f98fd9a2c054a7e2bb8004f4593d9 | [] | no_license | richcmwang/Fars | b7604e3626dde8555c57e84ad8c45d69fada5b4d | 40912d938e13b1b5060701286fe62e33cb8cec2d | refs/heads/master | 2021-01-22T11:20:51.788174 | 2017-05-29T21:57:38 | 2017-05-29T21:57:38 | 92,684,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 708 | rd | fars_summarize_years.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions.R
\name{fars_summarize_years}
\alias{fars_summarize_years}
\title{Show a summary of accidents during given years}
\usage{
fars_summarize_years(years)
}
\arguments{
\item{years}{a vector of integers}
}
\value{
a tibble showing s... |
79cacd0351bd26bb47c4422fe136b446a2887dd2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/solvebio/examples/DatasetExport.delete.Rd.R | 3516f347ba9fd4916b5e8f8bd5bc259ea15a23fe | [] | 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 | 199 | r | DatasetExport.delete.Rd.R | library(solvebio)
### Name: DatasetExport.delete
### Title: DatasetExport.delete
### Aliases: DatasetExport.delete
### ** Examples
## Not run:
##D DatasetExport.delete(<ID>)
## End(Not run)
|
047e069ab7e2067520ce062f12657e35659d0ee5 | 12eab6d1208f29f6a4210cee0a712e8304240814 | /mrds/R/is.linear.logistic.R | 003e503dd87ce1649806402b6c773c4262c090c1 | [] | no_license | jlaake/mrds | c8920ffdd91c411f2bfb91a15abd786f8b0b1d0e | 64bb11a5682a2fd56611cef9860be476ea5f14be | refs/heads/master | 2021-01-18T06:25:57.563386 | 2013-12-18T19:13:48 | 2013-12-18T19:13:48 | 2,009,699 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,705 | r | is.linear.logistic.R | #' Collection of functions for logistic detection functions
#'
#' These functions are used to test whether a logistic detection function is a
#' linear function of distance (\code{is.linear.logistic}) or is constant
#' (varies by distance but no other covariates) \code{is.logistic.constant}).
#' Based on these tes... |
5044d1b51604e7e5dc8c2aa2318880755e589a59 | 8466ef1c1a8697e0409c8d2894ef74644d00f155 | /packages.R | a852f8270792e52ddcfa315cec6c977baf9eee4d | [] | no_license | MilesMcBain/carbon_au | 1b17df25dbb44ea5fbc91268f1007630cb806850 | c03044830818a1551f395e19be27f7e17482590d | refs/heads/master | 2020-12-14T07:59:09.785595 | 2020-03-06T10:12:55 | 2020-03-06T10:12:55 | 234,681,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 264 | r | packages.R | ## library() calls go here
library(conflicted)
library(dotenv)
library(drake)
library(rvest)
library(tidyverse)
library(stringr)
library(curl)
library(glue)
library(pdftools)
conflict_prefer("pluck", "purrr")
conflict_prefer("filter", "dplyr")
library(rmarkdown)
|
058c856942ff19555071ea6dfa8eb5bb269dbec1 | fb0f8dacbfc6f7afb90d5f1a5da9626119104697 | /man/scmap.Rd | c2cbd439edcf7e0d81519840d38ece26575d3487 | [] | no_license | dewittpe/sccm | 1777cebddb4042843db85a8a10eea099bddb24a4 | dfbd83862461fd59116ee3b6a05d75319c0fd9a8 | refs/heads/master | 2021-06-18T01:27:49.423285 | 2021-02-18T19:11:12 | 2021-02-18T19:11:12 | 67,158,240 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,060 | rd | scmap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scmap.R
\name{scmap}
\alias{scmap}
\title{Schwarz-Christoffel Mapping (Disk to Polygon)}
\usage{
scmap(x, wc, nptsq = 12)
}
\arguments{
\item{x}{\code{sccm_ch} or \code{sccm_pg}, object.}
\item{wc}{the center of the polygon, i.e., where the ... |
82af3b78e696aedca5ee8ace08cdf7bee20220e2 | 6d734eeb3982656c23de22c7a0d2d8f9902417bb | /analysis/crop_field_extent.R | e1f6373a27dfc579e654aa413b1ca6b34be1e9d2 | [] | no_license | weecology/TreeSegmentation | cadc8fa79dd5e5b24a1f4b898ce709134c5461af | cf10386eaf0d5da286a855d7484d57918d607d29 | refs/heads/master | 2022-10-21T07:49:52.103033 | 2022-10-07T03:41:03 | 2022-10-07T03:41:03 | 130,730,841 | 8 | 3 | null | 2019-03-15T18:09:21 | 2018-04-23T17:15:37 | HTML | UTF-8 | R | false | false | 959 | r | crop_field_extent.R | #Find crops
library(raster)
library(TreeSegmentation)
rgb_filename<-"/home/b.weinstein/TreeSegmentation/data/field_crowns/2018_HARV_5_733000_4698000_image_crop.tif"
basename <- stringr::str_match(rgb_filename,"/(\\w+).tif")[,2]
#CROP CHM
crop_target_CHM(siteID="MLBS",rgb_filename,year="2018",tif_base_dir="/orange/ewhi... |
3d545783244fc8047f4d6c264c782864540510e8 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610131239-test.R | 78d7e5ef0e4de0c2efaf9f582f43fae6fafa7a9e | [] | 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 | 202 | r | 1610131239-test.R | testlist <- list(a = 0L, b = 0L, x = c(-488505344L, -488505344L, 2748927L, -1L, -256L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L ))
result <- do.call(grattan:::anyOutside,testlist)
str(result) |
3e6021a8909ecad9a44bbb3fcfd252c5680b8674 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/CLVTools/R/f_s3generics_clvfittedtransactions_plot.R | 4ec06c09f75c3765b916790c041bed2dd7a59198 | [] | 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 | 13,810 | r | f_s3generics_clvfittedtransactions_plot.R |
#' @title Plot expected and actual repeat transactions
#' @param x The fitted clv model to plot
#' @param newdata An object of class clv.data for which the plotting should be made with the fitted model. If none or NULL is given, the plot is made for the data on which the model was fit.
#' @param transactions Whether t... |
b51ab8fd93124ca6e032258df7db6602e2f37230 | 84dcc770d7766a3171efe7aa46e50dbcb496c9b5 | /CUSUM/version4/cut_grid.R | 4c3a83f2aced5bd74452e7ea4ce2db41ddd153e7 | [] | no_license | xinzhang-nac/Spatial_CUSUM | 0b36e1a04526ea26578d86c41a2eaf1ffa980023 | 677eedf773af01525d788f2d2ee9932a1d8f4541 | refs/heads/master | 2020-04-09T03:58:59.994822 | 2019-05-15T14:31:29 | 2019-05-15T14:31:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 233 | r | cut_grid.R | grid.point <- within(grid.point, {
grp.x = cut(x, (0:10)/10, labels = FALSE)
grp.y = cut(y, (0:10)/10, labels = FALSE)
})
plot(y ~ x, data = grid.point, pch = (15:25)[grp.x], col = grp.y)
abline(v = (1:9)/10)
abline(h = (1:9)/10) |
935dc4d5e117a44dad7d8832722f73e42e7d0fdf | 79457aaae83a0b3914a38874c10907440e0dfc61 | /man/dimension_values.Rd | e8b3918e176c4de1ea08037841ae1cee2fdc1fd4 | [] | permissive | appelmar/gdalcubes | be9786b36fbe4e25a5c0245968634f57a40752ad | 2134f769454e147660e7a73c61afa14219de20b4 | refs/heads/master | 2023-08-07T20:56:02.442579 | 2023-07-25T06:36:46 | 2023-07-25T06:36:46 | 148,130,790 | 74 | 7 | MIT | 2023-03-23T19:56:08 | 2018-09-10T09:25:01 | C++ | UTF-8 | R | false | true | 1,315 | rd | dimension_values.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cube.R
\name{dimension_values}
\alias{dimension_values}
\title{Query coordinate values for all dimensions of a data cube}
\usage{
dimension_values(obj, datetime_unit = NULL)
}
\arguments{
\item{obj}{a data cube proxy (class cube), or a data c... |
326d570cb7510eb82c1f56d46593051f4839f964 | 1087dc5af15ff0944cf595d877f5ef6d2d951936 | /tests/testthat/test-opart-gaussian.R | 8969ce628d0740413508ef000be19cd5d0e055cc | [] | no_license | cran/opart | 3777c97e8995ffef3a5bef6f53e7bc2b048689f2 | 3868f22cf67ab10c6051f92e6dd89dfd2e76ffc2 | refs/heads/master | 2020-12-22T01:48:33.382168 | 2019-09-04T12:40:02 | 2019-09-04T12:40:02 | 236,634,128 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,313 | r | test-opart-gaussian.R | library(testthat)
context("opart-gaussian")
library(opart)
data(neuroblastoma, package="neuroblastoma")
#tests for invalid scenarios
test_that("opart gives error for negative penalty", {
expect_error({
opart_gaussian(c(1,2,3), -2)
}, "penalty value must be greater than 0",
fixed=TRUE)
})
... |
653233b02be0ceffe044e4d8dabd79c3fb6cfb35 | e2a88b360595b345d64f1ae2ded271ac0f39203b | /cachematrix.R | 52cf7004ff4d90c438f7642a42ec3cd273c7c97f | [] | no_license | arkim42/ProgrammingAssignment2 | 958cf4c368df9919a2f8fbf30b6bbc7d89fb88de | 80961bdc7a0858673fe052295433ebc04c55da76 | refs/heads/master | 2022-11-13T11:02:27.069156 | 2020-06-19T21:20:54 | 2020-06-19T21:20:54 | 273,445,411 | 0 | 0 | null | 2020-06-19T08:35:17 | 2020-06-19T08:35:16 | null | UTF-8 | R | false | false | 1,194 | r | cachematrix.R | ## The first function, makeCacheMatrix creates a special "matrix",
## which is reall a list containing a function to
## 1. set : set the value of the matrix
## 2. get: get the value of the matrix
## 3. setinverse : set the value of the inverse of the matrix
## 4. getinverse : get the value of the inverse of the matrix... |
a5d01f1c07df08f3eca5c210ec3bf9ddf498d658 | ae4a257cc62e8ee4b90fda7e877750e59c0d8ba3 | /man/plotSingleTS.Rd | 17378a3b9ab57a653359e102909aea858c1c4c25 | [] | no_license | davidlamcm/Rtoolbox | 824a5f189c5e3ec89f841fe4e73f85605d894d6a | 238a6881f4df4a47365aeb0a2786fed62899e537 | refs/heads/master | 2021-01-19T14:09:35.775475 | 2018-08-22T15:16:44 | 2018-08-22T15:16:44 | 88,128,106 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 300 | rd | plotSingleTS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fun_plotSingleTS.R
\name{plotSingleTS}
\alias{plotSingleTS}
\title{this function will be deprecated
wrapper for ggplot}
\usage{
plotSingleTS(ts, title)
}
\description{
this function will be deprecated
wrapper for ggplot
}
|
85fd0a52ca45b212e75a9c840865d0034c3e3c9d | 9ff5451498def880e07a1f568cf58a116a1d6abb | /cachematrix.R | 145356cc4296b90f237f6c3a615ce665bd57241b | [] | no_license | daniellins/ProgrammingAssignment2 | f570690716696640c4b8812546008acff4177eff | 970d4e44091605b87344e37856536489b0d517b6 | refs/heads/master | 2021-01-16T21:49:13.900652 | 2015-02-22T06:34:32 | 2015-02-22T06:34:32 | 31,153,720 | 0 | 0 | null | 2015-02-22T05:26:49 | 2015-02-22T05:26:48 | null | UTF-8 | R | false | false | 1,685 | r | cachematrix.R | ## makeCacheMatrix: Store and retrieve a object (matrix) in the cache.
## Params: a matrix
## Result: a special object with the functions below:
## 1- set the value of the matrix (set)
## 2- get the value of the matrix (get)
## 3- set the value of the solve (setInverse)
## ... |
f161750daa45a085349f201e11657affcb24c468 | 8f6927b75d22a4f24958477c0bb23e3962126ae1 | /Workbook_6/template_function_macrophage_filtered.R | 1141cd25eee05b124d062c3750ee6db184ce38d2 | [] | no_license | NCI-VB/pavlakis_TNBC_hetIL-15 | 9f160ab9e11291922515d99f4c3600fdd648870a | efbb02c019ef16079b278e8be628abd176508f42 | refs/heads/main | 2023-04-15T12:42:41.160189 | 2023-03-14T15:36:26 | 2023-03-14T15:36:26 | 606,222,869 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,656 | r | template_function_macrophage_filtered.R | # [scRNA-Seq][CCBR] Filter Seurat Object by Metadata (ec3f23f9-bcba-4f3a-8a08-8ba611fbb6c7): v114
macrophage_filtered <- function(Annotate_Cell_Types, Metadata_Table, Sample_Names) {
## Libraries
suppressMessages(library(ggplot2))
suppressMessages(library(Seurat))
suppressWarnings(library(gridExtra... |
f58221a0a3dba8bf2e184566efc46fabb316c40f | c8879eea856503907a134000df4ef1acf1aa5751 | /cachematrix.R | eee08040943da2b90dd083084687cb764ace4c64 | [] | no_license | mlg3672/ProgrammingAssignment2 | 3922ba5ac4eb1f63c5ac33f6db5bd973cdbf3645 | 4ae59d5b257801f0c93013e356e8e709b0687a23 | refs/heads/master | 2020-04-04T23:55:15.852721 | 2015-04-20T06:05:19 | 2015-04-20T06:05:19 | 34,235,305 | 0 | 0 | null | 2015-04-20T03:14:55 | 2015-04-20T03:14:55 | null | UTF-8 | R | false | false | 919 | r | cachematrix.R | ## the functions below makeCacheMatrix and cacheSolve
# executes 4 actions
## (1) get the value of matrix x
## (2) set the value of the matrix
## (3) get the value of the inverse matrix
## (4) set the value of the inverse matrix
makeCacheMatrix <- function(x = matrix()) {
## this function returns a list
m<- NULL
s... |
7c7b47fdd7405aa7c014c38a3bf2d77bbb6b3685 | 8c126aade4c65ce684ee5eeeae10d6e6efa2fbf5 | /cachematrix.R | a4a99b909ce48764677c0c3c92c09bfd056398f2 | [] | no_license | ccali930/ProgrammingAssignment2 | afb1c670ffba9eb9b15105865b3ec6efdefc951d | 8dfe6e71f39e04ee93760fbc8b4f6e9db8fda8cd | refs/heads/master | 2020-04-05T23:24:57.111579 | 2014-08-21T03:16:57 | 2014-08-21T03:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,100 | r | cachematrix.R | ## makeCacheMatrix and cacheSolve are two functions that can be used together to create a matrix,
## perform a calculation of the inverse of the matrix, then cache the value of the inverse so it can be
## easily called
## Creats a matrix object and functions for getting and setting the inverse of the
## matrix objec... |
f780daf541116d6350eb39f81a1c165542bfcbb0 | ebeaf5e8dd0de49dd34d7a49b4a168d322c92716 | /man/select.k.func.Rd | c235e52d8516fbba88cd4e8e56ba7863245871d9 | [] | no_license | cran/EXRQ | d82b4c185019aae8767aba404f969faef244dbd6 | cfaff6808a8effda090131b4c6868e27e73555fe | refs/heads/master | 2021-01-20T18:58:30.027434 | 2016-07-06T23:48:41 | 2016-07-06T23:48:41 | 62,774,040 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,413 | rd | select.k.func.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/EXRQ.R
\name{select.k.func}
\alias{select.k.func}
\title{Selection of the Tuning Parameter k}
\usage{
select.k.func(y, x, Lam.y, lam, a, max.tau, grid.k, n)
}
\arguments{
\item{y}{a vector of n untransformed responses}
\item{x}{a n x... |
f79d68f383f8ecfac83facd0647e26ba2e788fa2 | 007c850db5e6cf12cba2007526002ecc897e2f27 | /man/TS.Rd | bbc7ec78d783daa19bc0a63f959bfbb73662f970 | [] | no_license | rdshankar/RImmPort | 12cf59a049f434fd7d4fb5735d507b17b52b28b0 | 5b74cc64d969c353cf7abd2f33fc1dd09b2e4c4a | refs/heads/master | 2021-01-17T13:34:11.016039 | 2016-03-13T03:20:33 | 2016-03-13T03:20:33 | 42,664,085 | 5 | 2 | null | 2015-10-13T19:38:57 | 2015-09-17T15:21:27 | R | UTF-8 | R | false | true | 1,347 | rd | TS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TrialSummary.R
\name{TS}
\alias{TS}
\title{Trial Summary Domain Variables}
\description{
{
\tabular{ll}{
\strong{Variable Name} \tab \strong{Variable Label} \cr
STUDYID \tab Study Identifier \cr
DOMAIN \tab Domain Abbreviation ... |
f7ec22944141962da7bd8a08496c1469766a6a5c | abfdbe31cc8413c0b3af32e7fa2f04966a933b84 | /Exploration_Stuff.R | 087480caff6f4ead95e3a779aac58dc3ddcdaa46 | [] | no_license | ZTerechshenko/Event-Data | 0ceeada80cfa771f173dc8cb820e0e075ee053dc | 23f84a06e3846b1497746fb259fec82c095ddc63 | refs/heads/master | 2021-09-15T04:11:06.256587 | 2017-12-14T07:03:39 | 2018-05-25T14:41:56 | 106,856,280 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,009 | r | Exploration_Stuff.R |
#### Script for processing Phoenix event data and creating summary graphics
#### load packages ####
#install.packages("ggplot2")
#install.packages("dplyr")
library(ggplot2)
library(dplyr)
#### Read NYT Phoenix ####
NYT <- read.csv(file ="Phoenix/PhoenixNYT_1945-2005.csv")
#head(NYT)
#nrow(NYT)
# Convert to prope... |
850ac2696aef128fcf530b531f4692e32d9fe590 | a5b8244731689344004c67af107b1a531f7e9e2f | /src/00_data_wrangle/03_identify_drops.R | f40b9059f0efa0a4833f65ef897bcbb834301c5a | [] | no_license | jvenzor23/DefensiveCoverageNet | 4efcb0f36d6806c71a1750fa9b58ba63c55e3929 | 85eef09aeede123aa32cb8ad3a8075cd7b7f3e43 | refs/heads/master | 2023-02-13T22:14:23.396421 | 2021-01-07T22:52:32 | 2021-01-07T22:52:32 | 317,361,746 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,339 | r | 03_identify_drops.R | # This code animates a given play in the player tracking data, while
# also displaying the epa values for all receivers (targeted receiver
# shown in red)
# Clean workspace
rm(list=ls())
# Setting Working Directory
setwd("~/Desktop/NFL_BIG_DATA_BOWL_2021/inputs/")
# Calling Necessary Libraries
library(tidyverse)
lib... |
c371c509788868a706291d345227b0d627752249 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/yum/examples/load_and_simplify.Rd.R | 25bfda535555708dfa814edaa8d880cc1799aca0 | [] | 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 | 437 | r | load_and_simplify.Rd.R | library(yum)
### Name: load_and_simplify
### Title: Load YAML fragments in one or multiple files and simplify them
### Aliases: load_and_simplify load_and_simplify_dir
### ** Examples
yum::load_and_simplify(text="
---
firstObject:
id: firstFragment
---
Outside of YAML
---
otherObjectType:
-
id: secondFragme... |
56b3e0729b873babea32c465d1a769e6b6198b45 | 659d3ecae15a0673b0fb5ca2298209071e226a4b | /man/bounds.r.Rd | fb1ae216e4d9b502b6f3721943fe9ef592723135 | [] | no_license | dstanley4/intervalTraining | c1c431c5114c4d4dafd7874f32ea7ee2630edd2a | adb3c31d04e1ca55ec8700e6b1c8d55be9f3dc2a | refs/heads/master | 2020-05-19T22:20:13.489805 | 2019-05-31T13:42:53 | 2019-05-31T13:42:53 | 185,244,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 502 | rd | bounds.r.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ci_functions.R
\name{bounds.r}
\alias{bounds.r}
\title{Obtain the range of sample correlations for a given population correlation and sample size}
\usage{
bounds.r(samples, level = 0.95)
}
\arguments{
\item{level}{Confidence level (0 to 1), d... |
9c487573fd095a48385de6916778a10f17217f1d | d4cd3909b5c5ff996e405a9dbcdb830a9f18599f | /networkSetosa.R | f9dc6658df014eabde11a52085151d81fc0697e0 | [] | no_license | jevzimite/Projects.compiled | 6bb39df27ed44871c240fea4408967248f76293d | df1fdcaa12bf8d339a2ca782e28c425a44c12409 | refs/heads/main | 2023-05-01T13:30:24.549058 | 2021-05-25T22:11:07 | 2021-05-25T22:11:07 | 332,641,146 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,015 | r | networkSetosa.R | # spc = readline(prompt = "What species would you like to build a network for?")
# spc = as.character(spc)
spc = "setosa"
df = iris
df = iris %>% filter(Species == spc)
df$Species = NULL
round(cor(df),2)
cmb = combn(colnames(df), 2)
from = cmb[1,]
to = cmb[2,]
netdf = data.frame(from, to)
weights = c(.74,
.... |
71d4397a345b9eb90a85e99313a536837a64623d | 8edf0521ebc0ca53ec618d6d220c47c851caaa71 | /man/SSplotMovementRates.Rd | edc834dc053cc8ed922b19fc79f872d12018c1b6 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | amart/r4ss | 9b730038ee4c4b6d38aaabe81b6ad9fddf0eb4f3 | fbccbace9a70e846401d32577aeab9f25cb31ba5 | refs/heads/master | 2021-01-17T06:03:03.172272 | 2020-10-04T01:38:14 | 2020-10-04T01:38:14 | 24,735,775 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 2,005 | rd | SSplotMovementRates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SSplotMovementRates.R
\name{SSplotMovementRates}
\alias{SSplotMovementRates}
\title{Plot movement rates from model output}
\usage{
SSplotMovementRates(
replist,
plot = TRUE,
print = FALSE,
subplots = 1:2,
plotdir = "default",
colv... |
c5f410d52fc5bf285cc1b3bcb1bbf2f4c3e89ca9 | 2b81de418ef2616e2f8be9dfa8be9ff785d28431 | /other_analyses_not_in_paper/round_2/round_2_scoring.R | 641f90211d3af800a5137bed19ac5ad6c2208108 | [
"Apache-2.0"
] | permissive | Sage-Bionetworks/IDG-DREAM-Challenge-Analysis | 006538ac946e0fc13b03c9c48be111b03efdf2c8 | 19710fcd1714c938312048f78b768ebbe91f6cd9 | refs/heads/master | 2023-03-28T02:11:24.834047 | 2021-03-31T00:14:33 | 2021-03-31T00:14:33 | 157,908,491 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,513 | r | round_2_scoring.R | source('R/bootstrap.R')
library(reticulate)
library(tidyverse)
library(doMC)
doMC::registerDoMC(cores = detectCores())
use_python("/usr/local/bin/python2")
synapse <- import("synapseclient")
syn <- synapse$Synapse()
synutils <- synapse$utils
syn$login()
source_python('https://raw.githubusercontent.com/Sage-Bionetworks... |
3818cbe7a82281444a613070d933f49a8456e9be | 50e4e1244a771566be1a3cb3c20c735338a33e13 | /run-cdn-ccc-experiments.R | e2a887879b10593c86230c1c40a2b7a9dd1eb275 | [] | no_license | llorenc/cdn-ccc | 023a075afa522d81ee22c1466684fbed923caae5 | ab0b6110250d45bfab8ce093cb917120b674c69d | refs/heads/master | 2021-01-01T05:27:43.463093 | 2016-05-23T18:05:23 | 2016-05-23T18:05:23 | 57,230,255 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,991 | r | run-cdn-ccc-experiments.R | #################################################################################
## Simulation of CDN CCC.
## (c) Llorenç Cerdà, 2016
#################################################################################
source("r6-cdn-ccc.R")
source("run-simulation.R")
library('ggplot2')
## library('utils') # Rprof()
##... |
73b738db3cca33ee53fdffffacafb55766befb20 | 7244d6ecc30aeda541713f7310a28382645a5999 | /R/ag.ds.histogram.R | 6fbc35109cab9babdf16a6c8c16ab6dd5a59b950 | [] | no_license | datashield/ag.dev.cl | 52cab8e410c1b67a98b55222ad7edf9cb7a53423 | 717a75ad29bac2ad3848770a76e5390186b0fbdd | refs/heads/master | 2021-01-19T08:24:05.981000 | 2013-09-01T01:05:59 | 2013-09-01T01:05:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,969 | r | ag.ds.histogram.R | #'
#' @title Plots a histogram
#' @description This function plots histogram of the given data values.
#' It calls a datashield server side function that produces the
#' histogram objects to plot. The objects to plot do not contain bins with
#' counts < 5. The function allows for the user to plot disctinct histograms... |
a09c71e864db6acd6bd9c042293e0e7f402eac66 | cad6f58627cdf4ccbb1363ae81bde60e4aeb65fb | /man/plot.param.Rd | 6fc67c7af598bbaa61909e5eaa05eeb789655386 | [] | no_license | WangTJ/glidars | d011a7f94778e6d62f6243e963d702a3b0857878 | bcee3000b1afdcff501ea218f7d72dcca829bc1e | refs/heads/master | 2021-08-06T20:43:15.353332 | 2021-01-19T01:37:49 | 2021-01-19T01:37:49 | 239,854,611 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 654 | rd | plot.param.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/func_visual.R
\name{plot.param}
\alias{plot.param}
\title{Plot function for class "param"}
\usage{
\method{plot}{param}(beta, lambda.index = NULL)
}
\arguments{
\item{beta}{beta is of class "param"}
\item{lambda.index}{when the param beta co... |
43401dea30849edf827a45a67b7aac7f00ae3331 | fb37979cd9880d94815d60a76caeb2d51b90585d | /R/describe.R | 0f8af8302a65145ac2817c6876fd0880441c6763 | [] | no_license | cran/onewaytests | 6ffcb87235f3b6557c96544a2f5c127d6eacf404 | 00eb041971b92468ff56a01dd84796832e5bb46b | refs/heads/master | 2023-01-29T09:10:25.715174 | 2023-01-18T14:00:02 | 2023-01-18T14:00:02 | 41,308,667 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,923 | r | describe.R |
describe <- function(formula, data){
data <- model.frame(formula, data)
dp <- as.character(formula)
DNAME <- paste(dp[[2L]], "and", dp[[3L]])
if (any(colnames(data)==dp[[3L]])==FALSE) stop("The name of group variable does not match the variable names in the data. The group variable must be one factor.")... |
6c213353bf3d5bcae9d28dc5aa5e5d7e8a9cce7a | 31d82d53c384486bd569f7f11f37308eba9f7774 | /tests/testthat/testCreate.R | 0505ecc6c759261646c08617a5615695059de3a5 | [] | no_license | mirsinarm/big.data.frame | 228fc762990e1d966e9f90074f319530fc3e5291 | 2b71c2e3efb80ea8d8fe29ea16349c26af734e6b | refs/heads/master | 2020-05-30T11:02:46.212306 | 2014-12-15T15:37:08 | 2014-12-15T15:37:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,165 | r | testCreate.R | context("Creation and characteristics")
test_that("Creating and characteristics 1", {
x <- big.data.frame(10, c("double", "character"),
names=c("first", "second"),
init=list(-1.23, "A"),
maxchar=c(NA, 10))
y <- data.frame(first=rep(-1.23, 10), secon... |
ba6d1f6d6ccc20054598ab24406d9d04d92fba8c | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.security.identity/man/iam_delete_ssh_public_key.Rd | 3e5039fd98a2dbc2b5fddf2da6ddcf7e80a02c62 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,053 | rd | iam_delete_ssh_public_key.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iam_operations.R
\name{iam_delete_ssh_public_key}
\alias{iam_delete_ssh_public_key}
\title{Deletes the specified SSH public key}
\usage{
iam_delete_ssh_public_key(UserName, SSHPublicKeyId)
}
\arguments{
\item{UserName}{[required] The name of ... |
e2f3a6577be120f0a2f8c090a6baa63e278d11b8 | 96ec24aba788f6cb1ce17c619809715515db7788 | /network/run_genLevel_prep.R | 5c5d02511f334461d0f473690a4e0737c39cac0d | [] | no_license | hawaiiDimensions/geb_paper | 96fdca932be53a6daeac6a34c9cf0cb5ac31222a | 031ba3d23e7db7bf0f874d1b7cd852005f34b0a8 | refs/heads/master | 2021-01-10T11:36:05.975874 | 2015-12-04T17:11:49 | 2015-12-04T17:11:49 | 47,417,181 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 806 | r | run_genLevel_prep.R | library(bipartite)
library(vegan)
library(igraph)
source('netFuns.R')
## get site info and specify which sites to analyze
site.info <- read.csv('data/siteInfo.csv', header=TRUE, as.is=TRUE)
good.sites <- c('Kil', 'Koh', 'Hal', 'KoK')
## load data
bimat <- lapply(good.sites,
function(i) {
... |
445e8f5b5049707450735ebd8f19b9a9c7a8a8be | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/tea/examples/avhill.Rd.R | 325d44ee6e743ad871d7726ed8d2c0ede7c944b0 | [] | 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 | 135 | r | avhill.Rd.R | library(tea)
### Name: avhill
### Title: Averaged Hill Plot
### Aliases: avhill
### ** Examples
data(danish)
avhill(danish)
|
e8506b5a67544707095a1d5998c2ae1d798cc37b | c452a79f3cc26d1d154292706c12d7d174767511 | /1.Pre-process_microarry_data/1.ArrayExpress_multiple_tissue_multiple_chip.R | f50025cea5076872606a4ffc2f40645f3e7f3f12 | [] | no_license | hamelpatel/brain_expression | af1fea5e3776082221a3cd20779442615342fd3a | cb25bb42e432c44add9b89cf2b5247b1f776c0e3 | refs/heads/master | 2020-04-06T06:50:20.525551 | 2017-07-06T08:16:28 | 2017-07-06T08:16:28 | 58,650,399 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,132 | r | 1.ArrayExpress_multiple_tissue_multiple_chip.R |
##########################################################################################################################################
#### ####
### ... |
d2062a890943f00bf5d3a9935180788cf7aa7356 | 35fac53e593ad39a3c092f84fa0d88fa11f46fa7 | /man/add_quotes.Rd | acd91cee09fc1d078ca704110686d4a3dd65aa3b | [] | no_license | gastonstat/cranium | a916a61595e7432385a410e5a90fe21e6a41cae4 | 1ba7a60fd7b3ef62c2d2f38d66151494f382f837 | refs/heads/master | 2020-05-24T13:24:13.206253 | 2015-08-26T00:03:01 | 2015-08-26T00:03:01 | 23,559,996 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 429 | rd | add_quotes.Rd | \name{add_quotes}
\alias{add_quotes}
\title{Add Quotes}
\usage{
add_quotes(str)
}
\arguments{
\item{str}{character string}
}
\value{
quoted character string
}
\description{
Adds double quotation marks around a character string
}
\details{
This function is used to create the JSON file for package
dependencie... |
6b0ceb3fda39dd0dad84345f76312833267014e4 | 91903e21fa8472ae02cc94485ec3c0a52d725b68 | /Course Project 1/plot4.R | 56b9ec272b4b9b6c04be26959b4926f24c2a734e | [] | no_license | lycansoul/ExData_Plotting1 | 9ca9d70d73c1928b081c8d3ef220477aefa35a15 | 1326f2b73bba3daf31d275579a896f3c4aab0583 | refs/heads/master | 2021-01-18T10:26:31.821832 | 2014-07-11T14:00:15 | 2014-07-11T14:00:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,066 | r | plot4.R | #Reading data
data <- read.table("./eda/household_power_consumption.txt",header = TRUE,sep = ";",na.strings= "?")
datatest <- data
data[,1] <- as.character(data[,1])
data[,2] <- as.character(data[,2])
#Cleaning data
targetdate <- c("1/2/2007","2/2/2007")
ndata <- subset(data, data[,1] %in% targetdate)
ndata <- na.omit(... |
aa1d537d644c0b7a8b79a474521fff2558f1623c | 339eaa009c2f9f3870c8ef2bdb1bf708e0cfcf09 | /dlmSmc/FuncPoisson.R | c14a783ac28a882e308a3ed6f76461aaa2aee9a9 | [] | no_license | miltonluaces/data_science_in_R | ac9ea2b78b817ec01c0383afd8ef9ca4e4c84316 | 872c3ce1ab2497d57febaeb24590b561260f3067 | refs/heads/master | 2021-06-30T20:30:16.997520 | 2021-02-27T16:03:41 | 2021-02-27T16:03:41 | 226,901,456 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,409 | r | FuncPoisson.R | # FUNCTIONS DLM-SMC WITH POISSON DISTRIBUTION
# ==========================================================================================================
library(dlm)
library(mvtnorm)
# Poisson DLM-SMC. Estimate Poisson parameter lambda for each time t of a time series using DLM with SMC algorithm
#----... |
886d2923db2c4c422a9dffff54242c28c1cc5fd4 | 6dabb731d76e567e9a89ec8545006e4d89b54355 | /tests/testthat/test-EdgeConditions.R | b51feee0be520a0b63f47783849110aa15d4ff37 | [
"MIT"
] | permissive | diego-urgell/BinSeg | d9b93e25ac87782d49bd390a6e26c760bd95f884 | a14827f76072f38e75d2e741d4f478ddf9e4a163 | refs/heads/main | 2023-07-07T16:52:28.760409 | 2021-08-22T05:23:14 | 2021-08-22T05:23:14 | 375,764,096 | 5 | 1 | MIT | 2021-08-25T05:45:40 | 2021-06-10T16:33:12 | R | UTF-8 | R | false | false | 1,052 | r | test-EdgeConditions.R | # Title : TODO
# Objective : TODO
# Created by: diego.urgell
# Created on: 02/08/21
library(BinSeg)
test_that("Change in mean + Single data point -> Zero cost and trivial mean", {
ans <- BinSeg::BinSegModel(100, "BS", "mean_norm", 1)
expect_equal(logLik(ans), 0)
expect_equal(ans@models_summary[["before_mean... |
762e4c6b1debe9946a04f5f10d44e1f93c80daa1 | e77609cd32fe8c55002636ba5285edeed6708b20 | /006-sensitivity-analysis-one-parameter/R/006-packages.R | 30a70024e8daaed4b456249aca63927f433b687b | [
"CC-BY-4.0"
] | permissive | sahirbhatnagar/raqc | 6acac11e9a0bc7fd1e270cd3f35ceb646e43c6f5 | fe313b2e05fd9e26fbc2e085bc0b93dfbbd32611 | refs/heads/master | 2020-05-21T11:42:31.324618 | 2019-05-27T03:22:35 | 2019-05-27T03:22:35 | 186,035,633 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 115 | r | 006-packages.R | ## ---- required-packages ----
if (!require("pacman")) install.packages("pacman")
pacman::p_load(knitr, here)
|
f9248216c671db8b0d84d4fcd8e65a1c9d364a85 | 8bb13ff1ae4e4ed5afa98f7590949fb3bea7130a | /Analisis_Todo.R | 84becec55d9e4aad7633d9f40bcf89c208d7f51a | [] | no_license | Fedeayl/Libro-Elecciones | 97110cc5b41820f0afaa2eedf29910d9bc76ed48 | d3829c6b7f70ef8b391f7dc5514b25a163255e03 | refs/heads/main | 2023-01-30T21:11:35.061504 | 2020-12-16T23:35:00 | 2020-12-16T23:35:00 | 319,621,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,798 | r | Analisis_Todo.R | ################### ELECCIONES INTERNAS ###################
Base <- rio::import(here::here("Internas hojas_interna2019.xlsx"))
head(Base)
Datos <- Base[Base$TipoHoja == "ODN", c(1,2,4,6,7)]
Datos <- unique(Datos)
# Hojas por sublema (ODN)
sum(Datos$PartidoPolitico == "Frente Amplio")
sum(Datos$PartidoPolitico... |
1df5a9d252449b9ce4075cc16d885c699d4ee2d1 | a1e3f742d80a225e9a2a35e8e88b3054f5408037 | /R/big.gomp.R | 410cad3178dece34236e2c607d32620ee4b28027 | [] | no_license | cran/MXM | 7590471ea7ed05944f39bf542c41a07dc831d34f | 46a61706172ba81272b80abf25b862c38d580d76 | refs/heads/master | 2022-09-12T12:14:29.564720 | 2022-08-25T07:52:40 | 2022-08-25T07:52:40 | 19,706,881 | 0 | 4 | null | null | null | null | UTF-8 | R | false | false | 17,905 | r | big.gomp.R | big.gomp <- function(target = NULL, dataset, tol = qchisq(0.95, 1) + log(dim(x)[1]), test = "testIndFisher", method = "ar2") {
tic <- proc.time()
oop <- options(warn = -1)
on.exit( options(oop) )
if ( is.null(target) ) {
if (test == "censIndCR" | test == "censIndWR") {
y <- survival::Su... |
286912104797eea66d53533f613cb031b0cb6b64 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fungible/examples/seBetaCor.Rd.R | f24ce0b7b08478035f68a340d5b8f3675fe8d3b7 | [] | 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 | 603 | r | seBetaCor.Rd.R | library(fungible)
### Name: seBetaCor
### Title: Standard Errors and CIs for Standardized Regression Coefficients
### from Correlations
### Aliases: seBetaCor
### Keywords: Statistics
### ** Examples
R <- matrix(c(1.0000, 0.3511, 0.3661,
0.3511, 1.0000, 0.4359,
0.3661, 0.4359, 1.0000), 3, 3)... |
8dcec43341b0d19eea3180c38053023163fc78ac | be86308f9cd95be51b4f83ec06895fa1bd4c49e7 | /R/separateBlocks.R | bd245821abe71e0bc4b9d002dbf2218d3b05ce9d | [] | no_license | duncantl/CodeDepends | 7f60ad0b4e3513dd4e2e723778f44bce39e47fd6 | 878fd24850d28037640cb21fbbf3922b51f996df | refs/heads/master | 2022-05-16T00:25:38.573235 | 2022-04-25T22:11:20 | 2022-04-25T22:11:20 | 3,998,946 | 75 | 16 | null | 2020-01-14T19:30:08 | 2012-04-11T22:17:31 | R | UTF-8 | R | false | false | 1,082 | r | separateBlocks.R | separateExpressionBlocks =
#
# This allows us to take a script that is made up of
# blocks and unravel them into a list of individual top-level
# calls. It does not unravel the individual calls, just the
# top-level blocks. And it leaves top-level calls outside of {}
# alone.
#
# This allows us to start... |
cd6636849043776aa1715a38da0c310a9b95d5d2 | 41fb06c29999266568b0084075d33b2370f8de4a | /man/removeComments.Rd | 59d94beb9f140a3dd6cecf6579ce53567dfcb88d | [] | no_license | eloytf/caeasciiR | e3813dd0a3831bd76dee7000fbf0fae1d7652cf3 | 80b1f2f67f5e9a22c81b9f5ecb30fe78d57c4d46 | refs/heads/master | 2021-09-13T03:59:27.905751 | 2018-04-24T18:56:12 | 2018-04-24T18:56:12 | 106,620,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 518 | rd | removeComments.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{removeComments}
\alias{removeComments}
\title{A Function for removing commented lines from a character vector of expanded bulk lines.}
\usage{
removeComments(lines)
}
\arguments{
\item{lines}{character vector with the bulk lines... |
e52ead0529268a26907a8b6a4e41565a9f60bba0 | 9571c840a5ea7ad52e68e87b928be9eba864317d | /plot3.R | e779fa6f08f7f01cbc02ccddcda772a2c4c1ba62 | [] | no_license | fabioks/ExData_Plotting1 | 6907fa0ab24b95f9cb137ddd6d9a45604131044c | 8f5d4c69f582710bc41a9bdffc9b0bf1cc8ebc83 | refs/heads/master | 2021-01-21T09:18:10.106728 | 2015-12-13T20:36:12 | 2015-12-13T20:36:12 | 47,931,351 | 0 | 0 | null | 2015-12-13T18:35:28 | 2015-12-13T18:35:28 | null | UTF-8 | R | false | false | 1,565 | r | plot3.R | #Setting file name
file <- "household_power_consumption.zip"
#Download file if it was not already downloaded
if(!file.exists(file))
{
URL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(URL, file)
}
##Checking if file exists, if not, unzip the d... |
0b518cb62a55ab88a7d70e8daf8e95c060e6d2e0 | fbb2d5e4032e46e82a4f5d7a061654a0deb371d1 | /man/dot-estimateZcutoff.Rd | 2d8478c235669b574e86eeb784bf74373795c97b | [
"MIT"
] | permissive | quevedor2/CCLid | 23a59d973db2d4cdb6884fecea85b00099fbccc9 | 460744aafc2127251a8d2b943d0475cbf15cb0d4 | refs/heads/master | 2022-11-13T17:33:51.166853 | 2020-07-09T19:48:56 | 2020-07-09T19:48:56 | 232,857,878 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 642 | rd | dot-estimateZcutoff.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_drift.R
\name{.estimateZcutoff}
\alias{.estimateZcutoff}
\title{.estimateZcutoff}
\usage{
.estimateZcutoff(seg, data.type = "baf", verbose = FALSE)
}
\arguments{
\item{seg}{an output dataframe from a CNA object}
\item{data.type}{Data t... |
ffe35201a6939b599763c1fb6aeb09874e8a51d3 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/7702_0/rinput.R | 5c754709e8fcab3315e4d307ab2f7cc77d40a79b | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("7702_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="7702_0_unrooted.txt") |
56160204dd8ed422272d979df0efd9b385c6a609 | e7f2c1765eaf6f2da87693ad1a0198a976320a1a | /ui.R | e0f73adbbfe2698e4bee859f6db32d9f8c427222 | [] | no_license | angeliflavio/FAOStatistics | 2610966fc71bad39b80fdd5a20a383136be389cc | 2193c606916dfdf890695f4326bee2473a6a937d | refs/heads/master | 2021-05-16T04:30:49.191559 | 2017-10-14T21:15:25 | 2017-10-14T21:15:25 | 106,080,625 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,219 | r | ui.R | library(shiny)
library(shinyBS)
library(markdown)
apple <- read.csv('apple.csv',sep = ',')
wine <- read.csv('wine.csv',sep = ',')
shinyUI(
navbarPage(theme=shinythemes::shinytheme('cerulean'),title='Statistiche FAO',
tabPanel('Mele',
tabsetPanel(
... |
d3651e0c7137f62ce8f727880745a2250a5f743e | 3da6a7aa6f30ebe1dc9f2a3479da0e52b74c7a0b | /demographicDetection/man/gender_detect.Rd | 4d5f4c485e11a46da60761acb55e5142abc2d5d2 | [] | no_license | ensoesie/digitalpophealth | eed712a4fd20403f568678f83181362cd0d8c4a8 | 58cf871a29ccc6fb4fbb509428dfe08a61c08652 | refs/heads/master | 2020-03-20T16:15:56.189783 | 2018-09-18T19:05:34 | 2018-09-18T19:05:34 | 137,534,425 | 2 | 1 | null | 2019-11-12T21:11:19 | 2018-06-15T21:44:16 | R | UTF-8 | R | false | true | 568 | rd | gender_detect.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gender_detect.R
\name{gender_detect}
\alias{gender_detect}
\title{Return the gender estimate for a name}
\usage{
gender_detect(name, method = "ssa")
}
\arguments{
\item{name}{A character value containing a name}
}
\value{
gend_value A string ... |
2ee97400bd794d978ad5500a2e9c1f1a1492c9ac | 787231fb66ebaaad9b71268b4c1a76e90fd460d8 | /software/step5.1_create_alpha_diveristy.R | f59838f15aba2d40f3591eb6ac727f1c300b9ff2 | [] | no_license | wyc9559/miQTL_cookbook | e2bf28b6c6c089d75c813cb926dbd9c29a26d7e3 | 5ef8396ea46760179d892caef88b1e64d14d242a | refs/heads/master | 2022-04-07T05:05:02.452893 | 2020-02-17T14:46:52 | 2020-02-17T14:46:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,403 | r | step5.1_create_alpha_diveristy.R | options = commandArgs(trailingOnly = TRUE)
taxonomy_file = options[1]
phenotype_file = options[2]
coupling_file = options[3]
if(!require(vegan)){
install.packages("vegan")
library(vegan)
}
tax = read.table(taxonomy_file,header=T,row.names=1,sep="\t")
phenos = read.table(phenotype_file,header = T,ro... |
dd1c38d9307b9b5a87a40f392822f5220788b6ab | f197e1cfd48f7d0b55b79fdc2e084ca9cce85b02 | /R/prof.R | 9bdfa259229981fe99ba0b76d64a4006fd49327a | [] | no_license | lenamax2355/Rprofiling | 61696211ceff4ef7830cae0b47efcd27861f74d5 | 308e46de533f050e3acaa8156e6321da09f6894f | refs/heads/master | 2022-01-06T13:58:43.926179 | 2018-09-14T15:33:27 | 2018-09-14T15:33:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,710 | r | prof.R | ####--------------------------------##
## Global Function
get_data_types <- function(data){
x <- (lapply(data,class))
x_frame <- (data.frame(unlist(x)))
names(x_frame) <- c("Data_Type")
x_frame %>%
dplyr::group_by(Data_Type) %>%
dplyr::count()
}
###----------------------------------##
## Global ... |
901912a79cfd37cb9368c2a15df49c64b969c6b8 | 53acd1eff5a7523085a71c6553e914999b46fb7b | /tests/testthat.R | a0417f9c7ab63b33096c4c90ff714ce64aa750f0 | [
"MIT"
] | permissive | Helseatlas/data | 33ee21c497c45a2b5be7fae18e535d9e66c01a23 | b18a235a580573b71623c91e9c012400290475a5 | refs/heads/master | 2021-06-24T21:09:54.761949 | 2020-05-02T13:24:12 | 2020-05-02T13:24:12 | 183,443,098 | 0 | 0 | MIT | 2020-05-20T09:11:59 | 2019-04-25T13:45:25 | R | UTF-8 | R | false | false | 44 | r | testthat.R | library(data)
testthat::test_check("data")
|
42346e60802e8019683094b52f5f671d3bd88d6b | 4a7718b5618d75bdcfb3fb71324569d0d11ac749 | /man/load_multi_data.Rd | 69ae14d43e3d2403de40fe3ee4cd92bfad28357f | [] | no_license | EwaMarek/FindReference | 859676f1744ea2333714634fd420d6b91b367956 | eedc8c80809b6f3e4439999bac4cb09ec2b228f2 | refs/heads/master | 2018-08-01T08:39:05.326467 | 2018-06-02T17:05:06 | 2018-06-02T17:05:06 | 104,148,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,518 | rd | load_multi_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_multi_data.R
\name{load_multi_data}
\alias{load_multi_data}
\title{Loading microarray data from a list of experiments downloaded from ArrayExpress database}
\usage{
load_multi_data(dane, ExpInfoTable, sdrfFiles)
}
\arguments{
\item{dane}... |
d104423281d81f0f2189c26b188d1cf6974d9f9c | 4dd05c5789fbf09aeb6fdc1229ccf9b8b3caf511 | /R/downloadSitemap.R | 952da39d5342ada926e0e865a0fc09ddb299d6bc | [
"MIT"
] | permissive | dschmeh/seoR | 2d553d3a06aea53c572d30cb9cd2c3a91e2eb8b1 | 9908f41b3f026930bde83028b8669f70d3a1030d | refs/heads/master | 2023-01-04T10:07:53.267464 | 2022-12-21T12:33:59 | 2022-12-21T12:33:59 | 114,384,766 | 39 | 7 | MIT | 2018-06-13T12:59:18 | 2017-12-15T15:29:25 | R | UTF-8 | R | false | false | 846 | r | downloadSitemap.R | #' Function to download the Sitemap.xml of a given Webpage
#'
#' This function allows to Download the Sitemap.xml of a given Webpage
#' @param sitemap The Sitemap you want to download. This can also be a Index-Sitemap
#' downloadSitemap()
#' @examples
#' downloadSitemap("http://ohren-reinigen.de/sitemap.xml")
... |
12f86bd624011dc2b74de685443c7aa8fc56c8be | 6c4a6643847fab3b6bb38cfa0c914f353c678214 | /QRMC-3HS_Fig3B/QRMC-3HS_Fig3B.R | 9fcc292825945bfca39d004d13d7cd6909a8e568 | [] | no_license | BulgarelliD-Lab/Microbiota_mapping | 2693af905cc1ae23c8771c744c990513106043cd | c69cdb61409d7513e8b2e4a7dfcbcf5843caaac6 | refs/heads/main | 2023-04-08T05:09:09.889259 | 2022-06-21T15:53:23 | 2022-06-21T15:53:23 | 429,454,678 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,883 | r | QRMC-3HS_Fig3B.R | #####################################################################################
#Ref to the ARTICLE
#
# Code to compute calculations presented in:https://www.biorxiv.org/content/10.1101/2021.12.20.472907v3
# Figure 3B
#
# c.m.z.escuderomartinez@dundee.ac.uk
# d.bulgarelli@dundee.ac.uk
#################... |
851c5fd0414524e13155aa2b6d5b557847015c92 | 7a35a5103521e220d69036f9a71b60d9055052e7 | /man/namespaceImportMethods.Rd | 8658fa9aa78a3a8e07bde6f258d6b3e143f3b285 | [] | no_license | granatb/RapeR | da7205c6f07442ee03e53511b636858f3d0c8bbf | 799b289c09ec024e7186cbf338bfe539c6ed7334 | refs/heads/master | 2020-05-20T14:36:24.817925 | 2019-05-15T14:56:26 | 2019-05-15T14:56:26 | 185,624,078 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 303 | rd | namespaceImportMethods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/namespaceImportMethods.R
\name{namespaceImportMethods}
\alias{namespaceImportMethods}
\title{fun_name}
\usage{
namespaceImportMethods(params)
}
\arguments{
\item{param}{fun_name}
}
\description{
kolejna funkcja podmieniona
}
|
62cd6e61c34d2f12171cf58a17ded351f11f9235 | e41e39e46ccaa44f104f8a817932824dbe4fb0c0 | /R_script/1/quant_pub.R | d5a293771f1fc01ce76b8d8ff9629e0ff99a642a | [] | no_license | yoshimura19/samples | fd59758e4431565047d306ad865fb000d2f4df4b | fc4cf50a583029016ddcb9eb9476c464c52900f1 | refs/heads/master | 2021-07-18T00:23:02.252666 | 2017-10-26T19:21:09 | 2017-10-26T19:21:09 | 108,371,681 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,148 | r | quant_pub.R | library(quantreg)
data(engel)
qr <- rq(foodexp~income,data=engel,tau=seq(0,1,0.25))
summary(qr)
qr
data6 <- read.csv("/Users/serubantesu2/Downloads/675cross.csv",header= T,sep=",",na.strings=".",fileEncoding="cp932")
attach(data6)
data6
ls(data6)
data6
data7 <- read.csv("/Users/serubantesu2/Downloads/try2-2.csv",he... |
d8970e048fcd2706512283e4c1f9b4e4e0b2f002 | bdd73b70c77512ad645b546a2f9bdb6c6b96f60f | /analyses/1 simulate_data.R | 6dec9d22f06acfa716d2d538edca92ae87591ffd | [
"MIT"
] | permissive | lnsongxf/eta-simulations | 1e0e0703e1143c4930627659eb47e44ba503f09c | aee8587d481bf121c6da809ae3161a41529816a1 | refs/heads/master | 2020-04-25T18:46:24.249519 | 2018-08-28T19:52:50 | 2018-08-28T19:52:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,339 | r | 1 simulate_data.R | setwd("C:/Users/eri2005/Desktop")
####simulations for data####
library(mvtnorm)
library(ez)
library(reshape)
##rmvnorm(n, mean = rep(0, nrow(sigma)), sigma = diag(length(mean)),
## method=c("eigen", "svd", "chol"), pre0.9_9994 = FALSE)
####things to simulate####
##rotate around N values start at 20 in each lev... |
44320d61d1bbabc4f611a541f13cb29e70673228 | 0c7f7d067297fce49cf8eacd2efbaeb3b441f6dc | /decision_tree/decisionTree.R | eaa367019672eb5e6eb2c15fd1b35413eb28c5ca | [] | no_license | AngeloDamiani/CodingMachineLearning | f7ff418de38c26c1f61845661ce18a2305124d67 | a36bdc878bc32dd0a5b182e5216a02fcf4ca3935 | refs/heads/master | 2020-03-14T02:13:22.494524 | 2018-05-04T08:43:30 | 2018-05-04T08:43:30 | 131,394,986 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,194 | r | decisionTree.R | rm(list=ls())
this.dir <- dirname(parent.frame(2)$ofile)
setwd(this.dir)
##################### MATH FUNCTIONS ######################################
gini <- function(rows){
nrows = nrow(rows)
already_seen = vector()
impurity = 1
label_index = ncol(rows)
for (label in 1:nrows){
current_label = rows[la... |
3817cb91d99bfd47945349144373d2e67314b713 | 2dfe5ece80ef0cde27bc3369f08d9798188e69b5 | /PL.R | a75e7953b3b41b9736b12597a4e7b04486852752 | [] | no_license | iamkk11/EPL-Prediction | c31de33503fb595d658ec032a80f8245ea517375 | ade3542cbfc3146072d26d1d4cbd7e107639748c | refs/heads/master | 2022-12-10T19:02:13.258482 | 2020-09-11T14:21:16 | 2020-09-11T14:21:16 | 105,903,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,767 | r | PL.R | set.seed(1)
v='PL2'
p=paste('/home/kevin/Downloads/',v,sep='')
#Combine files from trace folders into 1 data frame
library('dplyr',warn.conflicts=FALSE)
#Defining function to merge traces
combine = function(mypath){
filenames=list.files(path=mypath, full.names=TRUE)
datalist = lapply(filenames, function(x){read.csv(fil... |
f457a3c0f65291ab43d1e2cd776dd076da6e031a | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /paws.common/man/new_request.Rd | eaa86e50083d94a86e66d0c6b9fbdbdb876054ea | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,251 | rd | new_request.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/request.R
\name{new_request}
\alias{new_request}
\title{Return an API request object}
\usage{
new_request(client, operation, params, data, dest = NULL)
}
\arguments{
\item{client}{A service client, e.g. from \code{new_service}.}
\item{operat... |
bddb86db08d7eea410dbb0e4e69091e001e0fd22 | 0d4c415c43ef34498dc2e5fbb58080c3401d194b | /R/dropSetup.R | d0704865813f016c253f6b647eddb0a757fd10d5 | [] | no_license | OliverDietrich/MasterThesis | 4faca4e62f9a36f392cbc61072cab834a09dad47 | 3167ef11f75744fb9ee6d366ad3c576a0e06de9b | refs/heads/master | 2020-05-06T13:43:58.249981 | 2019-11-26T09:56:36 | 2019-11-26T09:56:36 | 180,152,871 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,270 | r | dropSetup.R | ######################################################################
######### Setup Seurat object from Cell Ranger output files ##########
#--------------------------------------------------------------------#
########### R script by Oliver Dietrich on 17 April 2019 #############
####################################... |
51c08b5d18e7c8f78891e9e354c9d5c6c4ee2111 | 3a764372a998e48807ac0fb7c2c2eaa91324ed35 | /Plot5.R | 10763038795ca5e4568455a3e8d56adf2046363e | [] | no_license | gnupate/EDA-Assignment2 | f8bb0c00527948bdf614d2ccd0f1908621652ab7 | 4748c0c287aa35c46a8f914fd5545db186989064 | refs/heads/master | 2020-04-19T21:57:36.532058 | 2015-07-25T23:54:42 | 2015-07-25T23:54:42 | 39,645,095 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,252 | r | Plot5.R | library(dplyr) ## use the dplyr library
## NOTE: I have not saved the data to github, it should be unzipped into the directrory where this script is run
## ensure that the data is there
files <- dir()
if(is.element("summarySCC_PM25.rds",files)) { #the data exists, go ahead and work
## read the data into a datafra... |
2e2f73cb5450a1680db28fbb42452720b8912e03 | a2bcf83193959276f7bd8db656db53e58e875a26 | /steal-the-moon/stealTheMoonSim/man/stealTheMoonSim.Rd | bfeb2828e28c48bad9c2ed6781c44e4b2435999e | [] | no_license | PieceMaker/presentation-lsdg-docker | 2b3c22fafdfe390eb9e60499c9083b4c1d461065 | 09aa739cfad27583d344cbae6a653dcb5700ce99 | refs/heads/master | 2020-04-21T06:16:15.830018 | 2019-02-09T05:03:32 | 2019-02-09T05:03:32 | 169,361,528 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 503 | rd | stealTheMoonSim.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stealTheMoonSim.R
\name{stealTheMoonSim}
\alias{stealTheMoonSim}
\title{Simple example simulation for use in demonstrating rminions package.}
\usage{
stealTheMoonSim(fuelParams, solarFlareParams, flareSurfaceParams,
flareAdditionalFu... |
24dbc2ef30113949e62e3fa595985e261fb3d7b4 | dd0969134fdc71e65bcb8380ac03a14cbc680cc2 | /R/getFlexFile.R | 0d761d91bda332aa43d52806a06aa15f0176b9ae | [] | no_license | cran/icesDatras | ae26fd615ad95aecb37d9f330bbef65d8985cd09 | bb39967b7c89a6734ceb314e88248ac230e54235 | refs/heads/master | 2023-05-26T11:16:22.608725 | 2023-05-08T08:40:05 | 2023-05-08T08:40:05 | 78,541,736 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,644 | r | getFlexFile.R | #' Get Flex File
#'
#' Get all information in HH plus estimates of Door Spread, Wing Spread and
#' Swept Area per square km. Only available for NS-IBTS survey.
#'
#' @param survey the survey acronym, e.g. NS-IBTS.
#' @param year the year of the survey, e.g. 2010.
#' @param quarter the quarter of the year the sur... |
c35d30d451bdfd98a2c152b3ef2bb25dfa726e90 | e67c99cc4146142e0b9210a7a908e0b7998f2cef | /man/race.describe.Rd | 58d0916f96486ead545a967caa34798218511bd2 | [] | no_license | cran/race | 888998a1a9ad03c6aca6928f84d2bf8109c8fce6 | c1d8cbcfe91ff2e0c34b068f8522da612eea6ec9 | refs/heads/master | 2016-09-16T10:05:42.835799 | 2012-04-05T00:00:00 | 2012-04-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,508 | rd | race.describe.Rd | % ------------------------------------------------------- -*- mode: Rd; -*- %
% race.describe.Rd Describe a candidate %
% ------------------------------------------------------------------------- %
% ======... |
3479e8484ff7abf4a0cf2aee41d3be7a779d45db | c4a362b0a4dbf892dc257e25e5df07f8ff9a7c2f | /R/centerVAR1data.r | 58199b726c840d46a13079a8282fe82446276928 | [] | no_license | cran/ragt2ridges | 232f816a2817a9a31f86d4ea815fb43381b613b2 | 5c4c2ebb6adfb5d3e955ca3df6aca80596f43143 | refs/heads/master | 2020-12-24T07:41:30.024419 | 2020-01-28T14:30:02 | 2020-01-28T14:30:02 | 58,468,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,000 | r | centerVAR1data.r | centerVAR1data <- function(Y){
########################################################################
#
# DESCRIPTION:
# within-individual, covariate-wise centering of the data.
#
# ARGUMENTS:
# -> Y : Three-dimensional array containing the data. The
# first, second and third d... |
05531cb116fe1e6fe565ef22b78a31fa1a5d9fc2 | f0b1bc9d37d67113311f9b09dd559b9abbec166f | /inst/tests/tReadVar3.R | 22fc1fca62e848a3ec8be0de5fa8d12311a5d2ee | [] | no_license | GAMS-dev/gdxrrw-miro | b0a8f28c730eaa02fb63887a6832d861f48914c5 | 91486406f60986429b385cf37b2741648ac5b2e2 | refs/heads/master | 2023-04-03T17:53:31.082850 | 2023-03-15T17:24:04 | 2023-03-15T17:24:04 | 219,473,354 | 2 | 1 | null | 2021-01-28T09:19:28 | 2019-11-04T10:19:39 | C | UTF-8 | R | false | false | 27,563 | r | tReadVar3.R | #### test rgdx reading a 3-dim variable
#### test form=['sparse','full'] X [filtered,unfiltered]
#### ['l','m','lo','up','s']
#### wanted lists produced with dump("listName",file="")
if (! require(gdxrrwMIRO)) stop ("gdxrrw package is not available")
if (0 == igdx(silent=TRUE)) stop ("the gdx shared library h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.