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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c123ba248c982d697044339cfc2309f938b6e351 | 2b2de3eaf02e36eb373afcdfc85b1b788fbbe6f6 | /codes/combined analysis/analysis.R | c8ce472fa47f2b6c98a3c538f13540e88bdf0b7d | [] | no_license | rheofur/CS492-Team3- | f55c3d4100290e134bddb001e138e6b355cbddd6 | ffcc9a542153851fde72da0ba61c822e4eaf4773 | refs/heads/master | 2022-11-10T00:01:47.599948 | 2020-06-27T11:37:26 | 2020-06-27T11:37:26 | 275,173,469 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 22,613 | r | analysis.R | library(tidyverse)
library(dplyr)
library(ggplot2)
library(reshape2)
library(lubridate)
library(zoo)
library(forecast)
############################
#fishery analysis by time#
############################
for (year in 2010:2020) {
#transform into viable form
fishery_time <- fishery %>%
filter(t... |
b99a33cc0a9f770490df0a88100e2da24df0857a | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkWidgetCreatePangoLayout.Rd | d32b9f6c2ed1dcfd96433d85f53d6f76e736bcdc | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 892 | rd | gtkWidgetCreatePangoLayout.Rd | \alias{gtkWidgetCreatePangoLayout}
\name{gtkWidgetCreatePangoLayout}
\title{gtkWidgetCreatePangoLayout}
\description{Creates a new \code{\link{PangoLayout}} with the appropriate font map,
font description, and base direction for drawing text for
this widget.}
\usage{gtkWidgetCreatePangoLayout(object, text)}
\arguments{... |
4088560a795d8ecfd69893368a45b14243d8780c | cafb8b630cbdcf5197e3093e9981044a0fcdd05e | /randomForest/step3-model-testing.R | 0d85f20d78bb6b9dd6cba73e6710370b0707e918 | [] | no_license | yejingyu0628/ML | 6d1d8bfd4f99cd1d3e4424d5dd33406d3f3cd31c | f706de31c207a564fd1d65f1628a6b7c8f9d27cb | refs/heads/master | 2021-12-14T23:32:56.406762 | 2017-06-27T15:50:50 | 2017-06-27T15:50:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,371 | r | step3-model-testing.R | rm(list=ls())
load('rf_output.Rdata')
load('ML_RF_input.Rdata')
library(randomForest)
library(ROCR)
require(Hmisc)
predictor_data=t(testing_data)
predictor_data[1:4,1:4]
dim(predictor_data)
RF_predictor_names=rownames(rf_output$importance)
predictor_data=predictor_data[,RF_predictor_names]
predictor_data[1:4,1:4]
dim... |
757381d18e25cdac880b6e5d9d9306c4eb9bf4ad | 7ccf63998aff4e0520cc8199f75a379eb4c3a3f5 | /man/addConf.Rd | 254a0d9dae70d90db319e23342884238a9ccef89 | [
"MIT"
] | permissive | Peder2911/evallib | aca579c93d03f70b63df912fbcf905f1b64c7da5 | 6a191226fdfb1a53a3ccf03e2ebb6a9f745cd5cc | refs/heads/master | 2020-08-02T06:31:40.592736 | 2019-12-17T13:35:52 | 2019-12-17T13:35:52 | 211,264,306 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 194 | rd | addConf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics.R
\name{addConf}
\alias{addConf}
\title{???}
\usage{
addConf(data, predicted, actual)
}
\description{
???
}
|
7e6313e235fb4988ed188e6f704a2c5ed859b892 | 28d74b88eae5145e4a4f1be6f5110b3641be4462 | /data-raw/PrepExampleData.R | 033fd333739c92e81e93fa9f5b3283eac9055d0c | [] | no_license | tmcd82070/Rdistance | 844a1fd051ed0d717937995af331c95aaef59bc2 | 3953b2be5c1fd222a9e833d5f020f97ddf1b5c58 | refs/heads/master | 2023-08-31T16:09:29.949221 | 2023-08-29T05:29:24 | 2023-08-29T05:29:24 | 10,951,200 | 7 | 6 | null | 2020-08-14T22:02:13 | 2013-06-25T21:46:54 | R | UTF-8 | R | false | false | 10,678 | r | PrepExampleData.R | # Code used to prepare the example songbird datasets in Rdistance
# Jason Carlisle
# Last updated 6/19/2017
# Creating two example datasets, each will include two tables:
# 1) Line transect example (BRSP)
# a detection data.frame with at least $dist, $siteID, and $groupsize
# a site data.frame with at le... |
994959845c16c251ae92a626538a777627c90162 | 19fb44f07c65e2cd21727d32fb4cf39cf78537e7 | /Scripts/R_Script/03_Data_Model.R | 599a00a1d0302967df1103f2de75c0ecb3d8c3d8 | [] | no_license | tmcdevittgalles/Population_Dynamics | 9c826b347f7d610e3d7385a538c891b21febeeda | e7ccaf723720a8b0c2e8a6592fcaccb0e7a1673f | refs/heads/master | 2023-08-28T08:09:19.603339 | 2021-11-04T18:12:46 | 2021-11-04T18:12:46 | 401,440,431 | 0 | 0 | null | 2021-11-04T18:12:47 | 2021-08-30T18:05:50 | R | UTF-8 | R | false | false | 16,392 | r | 03_Data_Model.R | ##### Powell Center: Phenological patterns of mosquitoes #######
# Travis McDevitt-Galles
# 09/20/2021
# title: 03_Data_Model
# Improving the data model to include night v day sammpling
library(dplyr)
library(ggplot2)
library(patchwork)
library(rstan)
library(rstanarm)
library(matrixStats)
library(gamm4)
#Set worki... |
1c56622940397a110e3ca4a347248f80d05bc280 | a885c93cc749ace48fbc5051ac7bbb6c16d862be | /server.R | d355c892c3ccbf16d50dc5b5c42df7ad6f141b9d | [] | no_license | Prateek2690/UserDefinedFunctions | 53b0d31d2d869ab341a7b22ee66a689b2ba33d79 | ece5d8aadd812229edefbf428ea9eac5f9ede0c5 | refs/heads/master | 2021-01-17T19:25:17.039099 | 2016-07-18T17:00:48 | 2016-07-18T17:00:48 | 63,621,330 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,527 | r | server.R | library(shiny)
#****************************
# SETTING UP SERVER INTERFACE
#****************************
shinyServer(
function(input, output){
# reactive Function will take the inputs fron UI.R and use them for read.table() to read the data from the file
# file$datapath -> gives the path of... |
f66701c5e3488b6528dc7bfb43d76a60aa259813 | f9217cba6730017dac596e467659253052fec0db | /Transaction_analysis.R | c72ff9804660a67ecefe5a1b39e8959894e122c6 | [] | no_license | xueyingwang/my_R | 47224bc018cc3fafa5452a40bd543c9b959ec905 | 2100d79b482fdd0bf50ffa2f84d204fc37ba9fb7 | refs/heads/master | 2020-04-30T20:26:24.883350 | 2019-03-30T20:01:45 | 2019-03-30T20:01:45 | 177,066,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,726 | r | Transaction_analysis.R | #Load file
library(stringr)
library(lubridate)
library(MASS)
?read.table
transaction = read.table("SupermarketTransactions.txt",sep="\t",header=F,stringsAsFactors = F)
colnames(transaction)=scan("SupermarketTransactionsColumnLabels.txt",what="character",sep="\t")
no_transaction=dim(transaction)[1]
new_amount_paid <-... |
f83f6eca7ad90658f258a5b873d5b7a1a9a8640a | 986b80d564588d1d702aac13e2eb24a91cacfc05 | /man/box_and_whisker_monthly_plots.Rd | d190928d45fbecd6b4371478e8b3ecf24a404bc8 | [] | no_license | strathclyde-marine-resource-modelling/StrathE2E2 | 592b73968d3f19513d3fffb435916605f7c47237 | a5f5c0507e92cd8c48afc75c14bffa91d4132cc5 | refs/heads/master | 2020-05-18T06:33:23.756987 | 2019-06-20T15:43:55 | 2019-06-20T15:43:55 | 184,236,707 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 414 | rd | box_and_whisker_monthly_plots.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/box_and_whisker_monthly_plots.R
\name{box_and_whisker_monthly_plots}
\alias{box_and_whisker_monthly_plots}
\title{plot some monthly result sumamries}
\usage{
box_and_whisker_monthly_plots(model, results)
}
\arguments{
\item{model}{model objec... |
2225e6355e61ba7b721084daf481d0cc35bcb223 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/scifigure/tests/test-init_experiments.R | f169935fbe2c93b2f25f01c93da2f291e933b781 | [] | 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 | 270 | r | test-init_experiments.R | context("Checking init_experiments")
names = c("Run_16_01", "Run_16_04", "Run_16_07",
"Run_16_09", "Run_16_12")
testthat::test_that("more names than experiments", {
testthat::expect_error({
init_experiments(nexp = 2, exp_names = names)
})
})
|
1e9757b261e37cf96285f7aebb832cc43cdbcb65 | 56e6b1457cebcb2ecd72f89d77b4f6e5dba7360f | /FACS_regeneration_ECESCX/DESeq_DualTominj.r | c6361e1ef203bf74be9a2c21dfd200114318106e | [] | no_license | ciwemb/fan-2019-tendon | cd8417aeaef178e093dda70dbb8320bcc4860600 | f6510386161d7dbdbca7bfdb12cc00503055d09c | refs/heads/master | 2020-07-27T15:24:25.588127 | 2019-09-17T20:58:23 | 2019-09-17T20:58:23 | 209,140,194 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,853 | r | DESeq_DualTominj.r | #set working directory
setwd("/Volumes/sequence/harvey/git/TendonDual_Tominj_DESeq")
#Load metadata table and store it
TendonDualTominj_metadata<-read.table("TendonDualTominj.metadata.tsv", header=TRUE)
TendonDualTominj_metadata
#metadata data summary
summary(TendonDualTominj_metadata)
#Load DESeq library
library("D... |
2bb4f08cd8d22b824759c73b4c02f0f025bb2ebe | d3635129ac51c57f908ca724b5297ad409595386 | /R/FitCEV.R | a7732399392e8a2363da179f255e01726000b475 | [] | no_license | whitneyhuang83/ConcurrentExtremes | a5a186e6c6412162e25aa7f89d827a38a08aad45 | 73bf1aec1eea0f2220c71d9eec8a85f0242ec020 | refs/heads/main | 2023-04-12T09:32:04.445401 | 2021-04-29T16:00:22 | 2021-04-29T16:00:22 | 362,191,741 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,668 | r | FitCEV.R | library(texmex)
library(evd)
library(rmutil)
library(ismev)
# dat: A (nxp) numeric matrix or data.frame that contains the data
# which: The variable indexed by the column number on which to condition
# mqu: Marginal quantiles
# dqu: Dependence quantile
# x_pred: A vector in which the conditional quantiles will be cal... |
3db1c12d5e50130f4e41da38cae6e8e4f43df877 | 52384e5931df60533cc55307dd115e6a0f078bb1 | /scriptProject1.R | 72bd99517355899c5670fea83682059a102daed5 | [] | no_license | julvi/MachineLearning | 6918a997180618878b739488485cf650b95a3237 | 3f701c28a2c463c7af9a27f3b7e8f968bd781993 | refs/heads/master | 2021-05-08T10:18:31.428396 | 2018-02-01T13:12:14 | 2018-02-01T13:12:14 | 119,837,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,591 | r | scriptProject1.R | #############################################################################################
# Project 1 #
#############################################################################################
#clear the work space
rm(list=ls())
#-... |
d4dcf37c3c9f137f6cf5d15a162285440d24d591 | e9f111b3afcb23ae1ed30c1747de280e972b68a4 | /code/fig5.R | fcaa8f32d60d29f53d8d0e3e8e14fa064ce685bd | [] | no_license | santiagocdo/covid19paranoia | 8543848e8d0c55ae4d41d8befb6fc05603c4fe42 | d31285902cbd40a917d92ac417ca7318cd732e83 | refs/heads/main | 2023-09-03T11:25:27.539642 | 2021-11-12T21:48:49 | 2021-11-12T21:48:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 40,368 | r | fig5.R | ### Analysis: Investigating impact of mask policy on paranoia and belief updating
###
### Description:
###
###
###
### Figure: 4
### Written by: Praveen Suthaharan
# clear environment
rm(list=ls())
# set working directory
setwd("C:/Pandemic_2020/revis... |
9cea5d5178c2b14503a9f35e354dac31043d2ce2 | e2bb80ef3895fe815ee50182a40b8e531313f21e | /R/io-hdf5.R | ddee7a7456e350287c66f02cfb33da6749094e81 | [] | no_license | libertyh/rave | cdf4faf67550b9425da41979cbefacec1079fcdd | 614fa360d157180057b075305213cfd5a25c5f84 | refs/heads/master | 2022-11-07T16:03:29.344116 | 2020-06-25T19:49:52 | 2020-06-25T19:49:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,882 | r | io-hdf5.R |
#' Lazy Load "HDF5" File via \code{\link[hdf5r]{hdf5r-package}}
#'
#' @description Wrapper for class \code{\link[rave]{LazyH5}}, which load data with
#' "lazy" mode - only read part of dataset when needed.
#'
#' @param file "HDF5" file
#' @param name \code{group/data_name} path to dataset
#' @param read_only default... |
8c37e46e275eab60e98625e70b30acd41cb92b6d | 158ecb8ed1e2d57639d082228ec52f18e06a9733 | /cachematrix.R | 323118fa0bc2ee92e37f4c317ef86da4812d9415 | [] | no_license | deepaksuresh/datasciencecoursera | 3d1530670c19a9a1ae4c6529520f2dbf77209a82 | 57572ed5b922a51cc311d20b12e3475bfc1cf891 | refs/heads/master | 2020-04-08T16:23:01.117616 | 2014-11-23T20:01:44 | 2014-11-23T20:01:44 | 26,993,505 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,136 | r | cachematrix.R | ## Matrix inversion is usually a costly computation and their may be some benefit to
##caching the inverse of a matrix rather than compute it repeatedly.
##Following pair of functions calculates the inverse, caches it, returns inverse from cache
##if it is present, else calculates it and stores in cache
## Function ... |
aaa7ec075a01bc0cac1e3c8b1adb58b0eeec0c63 | 5c2e5322bd534eb23a3d9d440b272d535d125c72 | /man/eq_clean_data.Rd | f94dfd701f335f3a19874caaeb2b94c0b577cfac | [] | no_license | BouranDS/My_Capstone | a2f5bf96ec111f947b7fbd38bae55b83c153af02 | edcd0e720ae41cd5140f28f0b9af47337317a6d1 | refs/heads/master | 2022-12-23T17:03:07.868709 | 2020-09-22T10:30:02 | 2020-09-22T10:30:02 | 297,568,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 983 | rd | eq_clean_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/function_type1.R
\name{eq_clean_data}
\alias{eq_clean_data}
\title{eq_clean_data}
\usage{
eq_clean_data(
datalist,
YEAR = "YEAR",
MONTH = "MONTH",
DAY = "DAY",
LATITUDE = "LATITUDE",
LONGITUDE = "LONGITUDE"
)
}
\arguments{
\item{d... |
5aa49df5f6c914833ffde02f125f2deba7b1214d | 3378c3985ec79ab9eabde41a5f76dd8b64c6cac8 | /vig/aws/s3/htmlpdfr/fs_aws_s3.R | 7f0682da8ced491d8414cd3f6394f7c1c6dd15e4 | [
"MIT"
] | permissive | fagan2888/pyfan | 9ee5f8305782348e7a5b08e2e9523bfff7387c9d | a9fed72fe4c5ec6f42d00dc5984827e0beb986ff | refs/heads/master | 2023-01-21T06:34:52.169622 | 2020-12-01T05:05:57 | 2020-12-01T05:05:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 696 | r | fs_aws_s3.R | ## ----global_options, include = FALSE----------------------------------------------------------
try(source("../../../.Rprofile"))
## import platform as platform
## print(platform.release())
## # This assums using an EC2 instance where amzn is in platform name
## if 'amzn' in platform.release():
## s3_status ... |
89ee81aac4afe9c1edbc83399d8a981dbd52c7cf | f6aeb9fcaae4dc01c7ebc9504810dc5ccb20630a | /mri/MRSI_roi/mrsi_r/man/mrsi_plot_many.Rd | ef5417f3d2970de483818d91e0033b8c2e0e375b | [] | no_license | LabNeuroCogDevel/7TBrainMech_scripts | e28468b895e1845c676bb4c3188719f248fd1988 | 1089f64ee73841cabae40d88a9913dacd761ed9e | refs/heads/master | 2023-08-30T17:10:31.737956 | 2023-08-18T17:40:04 | 2023-08-18T17:40:04 | 160,859,221 | 4 | 1 | null | 2019-04-16T15:10:27 | 2018-12-07T18:09:20 | MATLAB | UTF-8 | R | false | true | 671 | rd | mrsi_plot_many.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_fits.R
\name{mrsi_plot_many}
\alias{mrsi_plot_many}
\title{Plot best model fit over raw data for multiple metabolites}
\usage{
mrsi_plot_many(d, regions, mtbl_thres, saveplot = F)
}
\arguments{
\item{d}{dataframe with region, metabolite,... |
467909012085e573b37f2603f49dfebbc7a86bf5 | 9735be8af00c95237679ac3e6510d4e8316ecd91 | /code/functions/gta_hs_check_job_results.R | 868b6ef19dc9e55d2fb389ea502b9f76c0e5e868 | [] | no_license | global-trade-alert/hs-code-finder | 3564ddf1d674ebb6a1a24e3b85cc2ee2fc7d6aec | 7c025c813207a6254900e5eeebe6fb62fe0d90e7 | refs/heads/master | 2021-06-24T14:40:21.289206 | 2020-11-24T12:37:50 | 2020-11-24T12:37:50 | 179,287,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,287 | r | gta_hs_check_job_results.R | gta_hs_check_job_results <- function(job.ids=NULL,
prob.threshold = 0,
prob.is.na = TRUE,
prob.return = TRUE) {
results <- list(all=data.frame())
for (j.id in job.ids) {
query <- paste0... |
a4c3d6639b6ff09c56b2d6156b8436eb5d0e414d | cb50c680f9174c369c0e24e01bcf56e871fc99fa | /man/modelDiagnostics.Rd | 3b4c44bc40822abbcd8dde65320571e89df0d6ad | [] | no_license | ashleych/OLSModelSelector | 05c4f78664f8e91323f0e72d7da67e2344c45378 | 6d1aeb1d07e6ffb6e3c945991d2f8282aa5a4ebe | refs/heads/master | 2022-11-23T06:22:17.949350 | 2022-11-12T10:30:37 | 2022-11-12T10:30:37 | 200,585,100 | 0 | 0 | null | 2021-08-24T07:13:11 | 2019-08-05T04:58:59 | HTML | UTF-8 | R | false | true | 1,459 | rd | modelDiagnostics.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ModelDiagnoser.R
\name{modelDiagnostics}
\alias{modelDiagnostics}
\title{Provides detailed diagnostic tests including tests for stationarity, autocorrelation for each model}
\usage{
modelDiagnostics(
allModelObjects,
testData = test_df,
... |
e27ca763536078a61ba3686cd7a1dfb57f9d5bfd | 2d2491b342b737d2801cb964b3e4ccf960ee5fed | /man/rp.grid.Rd | c117ae507907649e5f4152a49579c3958ad2216c | [] | no_license | cran/rpanel | 7f64c93985c228f909f313bdf283b816b084f3ec | b2d139fedc899592e8cd9132c4bf7f1c9b16bc0d | refs/heads/master | 2023-02-21T17:57:55.911293 | 2023-02-07T07:21:06 | 2023-02-07T07:21:06 | 17,699,324 | 1 | 3 | null | 2015-12-05T19:08:29 | 2014-03-13T06:10:11 | R | UTF-8 | R | false | false | 2,359 | rd | rp.grid.Rd | \name{rp.grid}
\alias{rp.grid}
\title{Define a subsidiary grid within an rpanel}
\description{A subsidiary grid is defined at a specified location within an rpanel.}
\usage{
rp.grid(panel, name=paste("grid", .nc(), sep=""), pos=NULL, background=NULL,
parentname=deparse(substitute(panel)), ...)
}
\arguments{
... |
30d2eb85310de8f464c60bd509654932bc11bd6e | 831fa3a8f2352109d15adfdff54be86d590a4e20 | /Map_of_Philippines.R | 410ebd48c122e5c294edb11d9684274d7c5b6790 | [] | no_license | zoeruben/OmicsWorkshop2019 | 85e94d78bff7abff9af0fec624d5a750a95ddd92 | 61f7c641c993bd78352c6d444ba3a05e7834a88a | refs/heads/master | 2020-06-02T18:50:56.181452 | 2019-06-11T04:28:15 | 2019-06-11T04:28:15 | 191,272,543 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 477 | r | Map_of_Philippines.R | getwd()
setwd("../../git/sandbox/map/")
rm(list=ls())
getwd()
####install packages####
install.packages("maps")
install.packages("mapdata")
install.packages("ggplot2")
install.packages("ggmap")
####load packages####
library(maps)
library(mapdata)
library(ggplot2)
library(ggmap)
m<-map("worldHires", ... |
b2b0a28d8abbae9e7265cbe9e0a213794bdd4a93 | 9a7c8495c4dcd1c660ff1f3562dabed316be5049 | /plot1.R | 5974aa3233ad077756118e5c61655cfa70519c60 | [] | no_license | hwalseokchoi/ExploratoryDataAnalysis | 3121b7fe454e26a7f5f6e2a8d8385067dd639a1c | bc7ea9d7597f3b4987cb647838e49cd873e9969a | refs/heads/master | 2023-08-19T20:47:54.260605 | 2021-10-19T08:37:49 | 2021-10-19T08:37:49 | 418,834,172 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 527 | r | plot1.R | #Read data from household_power_consumption.txt"
EPC_data <- read.table("household_power_consumption.txt",skip=1,sep=";")
names(EPC_data) <-c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3")
head(EPC_data)
subEPC_data <- subset(... |
46129d93a643b625fce378abbed48f0f1d8f1e96 | 478a35388e92dbc99fdfef60d1497712fe2c5fa5 | /Sun_Trading_test.R | cc0439ecd792930f656a6e014fc15426afc5d4ca | [] | no_license | guxinhui1991/LeetCode | c1b8623b64afc2f8794e73acb592c6bf99bed4b4 | aabf314cdb59aafe6f61eaa6a603a528eeb20392 | refs/heads/master | 2022-06-17T03:37:28.276053 | 2022-05-31T20:18:05 | 2022-05-31T20:18:05 | 138,253,138 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,141 | r | Sun_Trading_test.R | # Xinhui Gu
# May 2nd, 2017
# Question 1
# To get the max drawdown
MaxDD = function(c){
len = length(c)
pnl = c[2:len] - c[1:(len-1)]
serieMaxLoss = pnl[1]
for (i in 1:(len-1)){
if(serieMaxLoss > pnl[i])
serieMaxLoss = pnl[i]
}
return(serieMaxLoss)
}
MaxDD(c(-1, 2, 3,10, 5))
# Question 2
# To g... |
53b79ae8565a25a8777bb7d1fe5bda47b92096c6 | 1437ee9c859768a3d90f2e3b7c7effe7194be67b | /Plot 3.R | 8344c8d6aa35a94182ac692b386b6f7aae6dbb19 | [] | no_license | DVJENS/Exploratory-Data-Analysis-Assignment-1 | 890517b96a96251bb08e2507be44c8ef180d2223 | 4f0d44c3710fead21daf7c2bcf6d07290eae4d33 | refs/heads/master | 2021-01-25T09:20:55.904951 | 2017-06-09T04:12:59 | 2017-06-09T04:12:59 | 93,817,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,266 | r | Plot 3.R | # Read in household power consumption data and create subset of data
pow <- read.table("C:/Exploratory Data Analysis/Exploratory Analysis Week 1/household_power_consumption.txt",skip=1,sep=";")
names(pow) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","S... |
4b7f871027711f29c597b753204d1d27511cf1e0 | b81ebffe56a46c0cb500f141ac2d8b9ee1a668a5 | /vectorized_operation.r | 239f24b414ecdcbb2a8ce68d8af2643efdc974be | [] | no_license | atta49/R_programing | 1b4faae45349666b79c32c92511bd0c3eb46e4ae | bfc5ecd79631059ff55e070a58494ec62d46157c | refs/heads/master | 2023-06-11T07:51:56.203021 | 2021-07-06T09:47:47 | 2021-07-06T09:47:47 | 372,713,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 220 | r | vectorized_operation.r | x<-1:4;y<-5:8
x+y
x>2
x>=2
y==8
x/y
#vectorize operation
rep(1,4)
x<-matrix(1:4,2,2);y<-matrix(rep(10,4),2,2)
x*y #element wise multiplication
x/y
x%*%y# true multiplication 1st martix row multiply by 2nd martiz column
|
2cee869d1572099a4d4ad0f2eba49f9dac56d578 | 40bcca516b2e31e8bc28c6241085c0cf41c0c7f4 | /plot1.R | 5847b955613e543b3fc8835572c44d5abded7e77 | [] | no_license | christinch3n/ExpData_project2 | 7b125bc81f4bc291ec46612ea31f1805f95c9de2 | 3898fa9100208a63e930d08f9fbcbf31dddb0139 | refs/heads/master | 2021-01-21T12:43:31.866738 | 2014-10-25T16:03:49 | 2014-10-25T16:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 476 | r | plot1.R | NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# Sum up emissions per year (Pollutant is "PM25-PRI" in all rows!)
emission_sums <- rowsum(NEI$Emissions, as.factor(NEI$year))
png("plot1.png", width=480, height=480)
plot(rownames(emission_sums), emission_sums, main="United States... |
571c687a78efebf0c5ed6bda6ea9f58b43280297 | 0ff06478c18026955ebf512cd3dcaef7293e1c30 | /man/hanabiPlot.Rd | 072f63d1c4957db06c6575949403488eead4062f | [
"CC0-1.0"
] | permissive | charles-plessy/smallCAGEqc | 83d19b21890eed9455eaca13c87455bd53f45950 | e3642f25b43314779c33388129b5d47a5a1538ec | refs/heads/master | 2021-03-13T01:36:47.956099 | 2018-01-25T04:27:20 | 2018-01-25T04:27:20 | 34,089,765 | 1 | 1 | null | 2017-03-22T05:47:31 | 2015-04-17T01:24:16 | R | UTF-8 | R | false | true | 1,956 | rd | hanabiPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hanabiPlot.R
\name{hanabiPlot}
\alias{hanabiPlot}
\title{hanabiPlot}
\usage{
hanabiPlot(RAR, S, GROUP = NULL, legend.pos = "topleft", pch = 1,
col = "black", ...)
}
\arguments{
\item{RAR}{A rarefaction table, or a hanabi object.}
\item{S}{... |
e62f785ea40cb21cf8c02640f35b3dd553d92d22 | 7d326bc0e0c3306cd9d32e51a8759c7913ec0e6f | /man/CrowdStat.ndd.Rd | c56b4a9e5dc4fc654e76a6b94e7b78b1aceab481 | [
"MIT"
] | permissive | marjoleinbruijning/FDPtools | 2abaef7ccd53cc7b220816c7f9c8ea4232df9fd1 | 4ff2ed09cf2e5f40c72b5f3955a6243a16a35ff4 | refs/heads/master | 2021-01-20T16:35:37.561045 | 2016-03-17T09:45:22 | 2016-03-17T09:45:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 560 | rd | CrowdStat.ndd.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/NddMeassuresFunctions.R
\name{CrowdStat.ndd}
\alias{CrowdStat.ndd}
\title{CrowdStat.nddcount}
\usage{
\method{CrowdStat}{ndd}(FdpData, r)
}
\arguments{
\item{r}{a vector containing all distances at which the
below statistic must be ca... |
a1edc29925c8073f771308dd0269fba961cd61a0 | 0ca7633ec7944a84d61f231a8d04d670cc15d5d2 | /man/predict.speedglm.Rd | 206219a9b1bf712f8fd1457f6d0fb5b584f7f4cc | [] | no_license | MarcoEnea/speedglm | 54b255406f7aae5efd9e8a0f166f60579f3d0475 | 4a15e74ce2959b9962491457fbb0308e3f8fb45c | refs/heads/master | 2022-02-21T01:26:48.737121 | 2022-02-19T18:39:41 | 2022-02-19T18:39:41 | 143,534,422 | 5 | 2 | null | 2022-02-19T17:02:59 | 2018-08-04T14:12:04 | R | UTF-8 | R | false | false | 1,268 | rd | predict.speedglm.Rd | \name{predict.speedglm}
\alias{predict.speedglm}
\title{Predict method for a speedglm object}
\description{
\code{summary} The method is currently under construction but some functionalities are available.
}
\usage{
\method{predict}{speedglm}(object, newdata, type = c("link", "response"),
... |
fa4d35039bd98f3d9b6b745cae0537992c0d4ac5 | c348e148840c1260985291d1adb8f7860fb6037f | /ex7-2.R | cb6beaf9f362be68f2980d148cd13f92042a0cba | [] | no_license | harute931507/R_practice | 8d478ad884bb8cd15c35b941499bc4f7c8c09dfe | aa882783d915a58048e7fbb061b3b7df87ec1f3e | refs/heads/master | 2020-03-31T03:45:56.599245 | 2018-10-06T19:59:58 | 2018-10-06T19:59:58 | 151,876,825 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 3,040 | r | ex7-2.R | attach(mtcars);
# Exercise 1
# Create a scatterplot of mpg (x-axis) against drat (y-axis) and add a label to the x-axis.
# Which of the following statements is correct:
# a. plot(mpg,drat,xaxis="Miles per gallon")
# b. plot(mpg,drat,xlab="Miles per gallon")
## ANS: b
# Exercise 2
# We just saw how to customize the ... |
841c2e095de8f926739fbfb0212f37fdefc147e4 | e2cf95573135143abda85710adc33336bf41adef | /R/swap_headings.R | 54b40232ee64a2bde77a30b6245ab5af556e1d54 | [] | no_license | kwojdalski/rpm2 | 41d3cac7f1ef08585ed5e5a847f86c665accf285 | a6b0ea44832210b0601deed5691eaac664752d6c | refs/heads/master | 2021-08-15T21:43:13.871194 | 2017-11-18T10:22:15 | 2017-11-18T10:22:15 | 110,359,212 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,733 | r | swap_headings.R |
# @knitr fun_swapHeadings
# Rmd <-> Rnw document conversion
# Conversion support functions
# called by .swap()
.swapHeadings <- function(from, to, x){
nc <- nchar(x)
ind <- which(substr(x, 1, 1)=="\\")
if(!length(ind)){ # assume Rmd file
ind <- which(substr(x, 1, 1)=="#")
ind.n <- rep(1, length(ind))
... |
07b16b02fbd3df8ed93de5473559611d01c9b63d | 566654448a180399905bf06a20125cfd529f4772 | /tests/testthat/helper.R | 46adf738e1090070406bf3195ae7a64ea57a401f | [] | no_license | nealrichardson/elbr | a236f654aa6be3c4119dac687c9cdb7ea46575c6 | 6a9cc3205b1cea13e439b83ea28d0300d0529d58 | refs/heads/master | 2021-04-15T18:21:57.172514 | 2018-10-22T14:29:48 | 2018-10-22T14:29:48 | 126,269,430 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 136 | r | helper.R | Sys.setlocale("LC_COLLATE", "C") ## What CRAN does
set.seed(999)
options(elbr.dir=".")
public <- function (...) with(globalenv(), ...)
|
c6eb8b846ff3943f0ed6d65727b1f218d3b46a75 | 680b301598673a0c823563238ec29b4bb3a87632 | /jacques/broche_analysis_Rparams.R | a225637ab3d9e003df3a59a85c0ee607e53fa9d1 | [] | no_license | jmrinaldi/gene-regulation | fa2bdd4fe65de65840c2a688dd9d0c6422fb8913 | d04bb28f19c2d7b86165c3371227fd161559f08a | refs/heads/master | 2021-01-16T01:07:27.148832 | 2016-02-11T06:00:13 | 2016-02-11T06:00:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 901 | r | broche_analysis_Rparams.R | ## TEMPORARY FOR DEBUGGING:
dir.main <- "~/BeatriceRoche/"
setwd(dir.main)
r.params.path <- "results/DEG/sickle_pe_q20_bowtie2_pe_sorted_name_params.R"
org.db <- "org.EcK12.eg.db" ## Should be added to parameters
gene.info.file <- "genome/Escherichia_coli_str_k_12_substr_mg1655_GCA_000005845.2_gene_info.tab"
organis... |
4a3ea834c121e8cbf46de7aa2c0bceaa5c4b7d7d | 325d076c5fcdba87e8bad019a147b37eeb677e90 | /man/emptyraster.Rd | ec4509856e5fc8c1048b96c1e7a10a7fb8beae50 | [
"CC-BY-4.0"
] | permissive | iiasa/ibis.iSDM | 8491b587b6ccc849477febb4f164706b89c5fa3c | e910e26c3fdcc21c9e51476ad3ba8fffd672d95e | refs/heads/master | 2023-08-26T12:38:35.848008 | 2023-08-19T21:21:27 | 2023-08-19T21:21:27 | 331,746,283 | 11 | 1 | CC-BY-4.0 | 2023-08-22T15:09:37 | 2021-01-21T20:27:17 | R | UTF-8 | R | false | true | 700 | rd | emptyraster.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-spatial.R
\name{emptyraster}
\alias{emptyraster}
\title{Create an empty \code{SpatRaster} based on a template}
\usage{
emptyraster(x, ...)
}
\arguments{
\item{x}{A \code{SpatRaster*} object corresponding.}
\item{...}{other arguments th... |
c3eee3c59614884612f14fcf2af8dce4e99dabe3 | 872315061dfdfb86864f85f27704f4b0bddb1be4 | /scripts/new_figures.R | d51914cc5bb5b73b0b6bcb57733cb9ffff5f5032 | [
"MIT"
] | permissive | kwells4/mtec_analysis | 2a2e01b54d1ded0bfa25c65d750ec381a6c846e2 | f7a8ec78c21d33483f0ebed3e59f3bb0bd812b3d | refs/heads/master | 2021-07-10T01:07:13.927793 | 2021-04-15T21:29:57 | 2021-04-15T21:29:57 | 183,113,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 66,702 | r | new_figures.R | ###########
# This file has pseudotime calls added in.
library(mTEC.10x.pipeline)
library(mTEC.10x.data)
library(dplyr)
library(slingshot)
###############
# Move all these functions to the package
rename_stage <- function(seurat_object, set_ident = TRUE) {
levels(seurat_object@meta.data$stage) <- c(levels(seurat_... |
82b7fefa08404c6ea7fd603b7bc083a5f8aab14e | 0b5bed218b4cbe30646c3c918c9fe73047a5889e | /simulations/sims_comp_run.R | 1dc7ef92cf4fd28f8ca7ad9a1fd7a5dbc5cd5247 | [] | no_license | paul-buerkner/monotonic-effects-paper | 463b1de922100c493f56187ffa25a854112e8b00 | 1e295745a4b5566bce8c575b3885ab1ff51f0cb2 | refs/heads/master | 2020-03-22T00:45:42.594738 | 2019-12-08T21:26:16 | 2019-12-08T21:26:16 | 139,263,725 | 7 | 0 | null | 2018-10-22T11:28:02 | 2018-06-30T16:33:12 | TeX | UTF-8 | R | false | false | 10,134 | r | sims_comp_run.R | mo_trans <- function(x, zeta) {
.mo_trans <- function(x, zeta) {
if (x == 0) {
out <- 0
} else {
out <- length(zeta) * sum(zeta[1:x])
}
return(out)
}
sapply(x, .mo_trans, zeta = zeta)
}
# invert the sign of half of the elements of x
invert_half <- function(x) {
len <- length(x)
si... |
76e8f02e24b38a7ae7fc4585ad1a3fd0b3830405 | 19e6185664bfc3cfbcc9ae56fdd762826df21058 | /cachematrix.R | 659ba828388ab22a84ce762985f9d00a4fe828a0 | [] | no_license | praveengarimel/ProgrammingAssignment2 | 08bfafbea4a09860b0cc17d6077f8b46572e28ca | dd914a1237fb139def9b47f9cad60e5905f25f91 | refs/heads/master | 2021-01-16T17:40:55.827389 | 2015-07-25T09:51:08 | 2015-07-25T09:51:08 | 37,777,854 | 0 | 0 | null | 2015-06-20T17:01:08 | 2015-06-20T17:01:07 | null | UTF-8 | R | false | false | 998 | r | cachematrix.R | ##The below code consists of two functions, makeCacheMatrix and cachesolve
##
## (1) MakeCacheMatrix is a function that returns a list of 4 functions(setmatrix,getmatrix,setinverse and getinverse)
makeCacheMatrix <- function(x = matrix()) {inverse <- NULL
setmatrix <- function(y){
x <<- y
inverse <<- NULL}
getmatrix ... |
5249952c6a04e8905aa028ef5b31a006511dbbf5 | 6393fba5e6a812fe66ec154d890d82be1a7eb85a | /analysis/2016-03-04 create global, king, singleton per sample/global_ancestry.R | 7e879c62b96e8473448c2e6bb2a5ecf7c583b521 | [] | no_license | gtlntw/topmed | 363d21f3b22c32c50805b11e5bd97879b90c9e05 | 9b527b826afa652581779360a13e8b77c04b8ed8 | refs/heads/master | 2021-01-10T11:03:40.352791 | 2016-12-13T02:59:07 | 2016-12-13T02:59:07 | 51,096,038 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,352 | r | global_ancestry.R | ##parse parameters from command
parseCommandArgs <- function (evaluate = TRUE)
{
arglist <- list()
args <- commandArgs()
i <- which(args == "--args")
if (length(i) == 0 || length(args) < 1)
return(invisible())
args <- args[(i + 1):length(args)]
for (i in seq(1, length(args), by = 2)) {
v... |
4d614428866c123576aeca2f98e2c3419cf9960d | 9839def077d342c67157110e7cfa58d868296137 | /R/Rrefer/china/China.R | deaf99441550754dbfc1119dd993bfaceb55722e | [] | no_license | redshim/TM1 | 221f9fa96863cf10f879e3e476535195edf7502c | 5f6b49655ac012d2e638eca4857a0c19cb6903c9 | refs/heads/master | 2021-01-12T04:18:57.971923 | 2017-01-02T05:33:52 | 2017-01-02T05:33:52 | 77,583,078 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,484 | r | China.R | Sys.getlocale()
Sys.setenv(LANG = "en")
options(encoding="utf-8")
Sys.setenv(LANG = "en_US.UTF-8")
Sys.setlocale("LC_ALL","UTF-8")
Sys.setlocale("LC_ALL", "C")
Sys.setlocale("LC_ALL","English")
sessionInfo()
LANGUAGE="en_US.utf8"
Sys.setenv(LANG = "en")
Sys.getlocale()
setwd("C://R//china")
#1.헤더를 TRUE로 줬을때, Inval... |
af8750125c7c5cf437c424878391559d9d7d8e87 | 4e7a425672eeab6ba7ca94208d9c31e9571881a9 | /R/ignore/building_pkgdown.R | 7c7a1366a90363432abd3fd1181bab682e925677 | [] | no_license | cran/usdarnass | 857710417992d5c3050d46515bd4ddade2f496f6 | 29d906589ef5c3bbfd8b6a40828d77ac0e8ff106 | refs/heads/master | 2020-12-22T23:03:46.276208 | 2019-06-21T07:50:03 | 2019-06-21T07:50:03 | 236,956,503 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | building_pkgdown.R | # https://lbusettspatialr.blogspot.com/2017/08/building-website-with-pkgdown-short.html
# require("devtools")
# use_readme_rmd()
# use_news_md()
# use_vignette("usdarnass") #substitute with the name of your package
#
# use_github_links()
# use_travis()
# use_cran_badge()
devtools::install_github("hadley/pkgdown")
l... |
364f751007afae496cb047f2ef67e5ad6a58b754 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/soilDB/examples/fetchOSD.Rd.R | a545e28390fd322ceac3c635f4f6d565d6e8ada7 | [] | 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 | 910 | r | fetchOSD.Rd.R | library(soilDB)
### Name: fetchOSD
### Title: Fetch Data by Soil Series Name
### Aliases: fetchOSD
### Keywords: manip
### ** Examples
## Not run:
##D # soils of interest
##D s.list <- c('musick', 'cecil', 'drummer', 'amador', 'pentz',
##D 'reiff', 'san joaquin', 'montpellier', 'grangeville', 'pollasky', 'ramona'... |
b9fb96d463b0a12d43f90d4d7294acba4d031d88 | 3fbd8c5078d5ebb28e23558b158ab74ec0f2ed6b | /man/lutUpdate.Rd | bdd70ce4d9fda7d99e97d63644a4b23f6f1ea975 | [
"MIT"
] | permissive | envima/envimaR | 161cf2e8a0569292ae18b0edfbb0f99900f97bd4 | c8854cd06203a12cf923818728f9cff9a2e41a3d | refs/heads/master | 2021-07-23T23:29:35.948757 | 2021-07-13T22:40:40 | 2021-07-13T22:40:40 | 156,347,896 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 467 | rd | lutUpdate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpMa.R
\name{lutUpdate}
\alias{lutUpdate}
\title{Update values of default environment to internal look-up table (deprecated)}
\usage{
lutUpdate()
}
\value{
List containing lut content.
}
\description{
Update values of default environment to... |
c09043656f97c5622f7083cce877fea6e59c6e0d | 5072893034c9d61b7cf970c316d7300b31df352c | /Assignment5_Ornek.R | c57efcc4843426abbeff24fc41407a2e174e68a5 | [] | no_license | medtraf/R_Studio_Code | 85a57f3f2854fa1539abf39675246e671bcd428d | 83b97b12f31bf190686c659300168e778ccd0631 | refs/heads/master | 2022-12-11T08:42:17.449932 | 2020-09-08T00:41:32 | 2020-09-08T00:41:32 | 293,657,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,703 | r | Assignment5_Ornek.R | # Assignment 5 Ertan Ornek
this_dir <- function(directory)
setwd( file.path(getwd(), directory) )
setwd("D:\\Backup\\Dropbox\\Canvas\\455\\Week9\\Assignment5_Ornek")
# https://cran.r-project.org/web/packages/usmap/vignettes/mapping.html
library(usmap)
library(ggplot2)
# Our client is interested in learning about the... |
d0a480f8bdcdeb8936dc5b20a5c5482b99ff8e0f | 0fae864eec0b15404603f4d72b0f6579978375d5 | /StudentenTrendShiny/screens/StudentenPerSector.R | 4701655e4b3240b48e02011c0f93aba228d41130 | [] | no_license | TeamIntelligence/StudentenTrend | 6a38c5deaaabd1496d4ecf305c2bf2b6d274a0e2 | 3d3757e78c9391cc5ab766aa6d814903e188e543 | refs/heads/master | 2021-04-26T16:44:34.044468 | 2016-01-29T09:10:41 | 2016-01-29T09:10:41 | 43,003,810 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,386 | r | StudentenPerSector.R | #The UI function for the StudentenPerSector page
StudentenPerSectorUI <- function(PageName) {
return(
tabItem(tabName = PageName,
fluidRow(
box(width = 12, title = "Eerstejaarsstudenten",
p("Op deze pagina vindt u het aantal eerstejaarsstudenten per studiesector over de... |
c3ce330a3095209f87e2b2c3cf96b53a3f763b1e | 129408919e4fcde9818bef047f6e9b2a74d23c8a | /man/get_meta_indicator.Rd | aee9f6afd04a57561ef4ba01008a269490dc564d | [
"MIT"
] | permissive | mrc-ide/naomi | 93decfb73624de911f298aadcc0e0d02b8d7d5e5 | 94d34246144e4dfcb86161258faf213a7db03268 | refs/heads/master | 2023-06-14T06:37:36.343882 | 2023-05-05T11:08:33 | 2023-05-05T11:08:33 | 204,965,083 | 7 | 6 | NOASSERTION | 2023-09-12T12:54:48 | 2019-08-28T15:32:00 | R | UTF-8 | R | false | true | 360 | rd | get_meta_indicator.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/outputs.R
\name{get_meta_indicator}
\alias{get_meta_indicator}
\title{Get indicator metadata}
\usage{
get_meta_indicator()
}
\value{
data.frame of indicator ids, labels, descriptions, and parameter mapping.
}
\description{
Get indicator metad... |
0290fb15b43b772810de5ae3d1a55963c6457ac9 | 543bf9f77229b2f15db421e19d2289ebd362fbbc | /static/files/gathering-tidy-2.R | d42ced5a14687340057eb0ab5195944438b7fa58 | [] | no_license | danilofreire/poli-301 | 4607eb8e1cf3315758b02869d307ad81624e7cd0 | bbcf8a383634815e85cc3fb3d12ad3c10f193ee4 | refs/heads/master | 2022-03-13T17:23:19.294094 | 2019-12-06T13:59:22 | 2019-12-06T13:59:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,982 | r | gathering-tidy-2.R | library(tidyverse)
library(fivethirtyeight)
library(ggthemes)
# let's tidy drinks
drinks
# too many countries, let's look at a few
# %in% is a new logical operator: returns observations that match one of the strings
drinks_subset =
drinks %>%
filter(country %in% c("USA", "China", "Italy", "Saudi Arabia"))
# ... |
9be7de1e6b381b6a1aebe5d7a1bc0e9c5af60d3c | 36241b0d8d9a2f63b1d1503a89b96212e9242cc2 | /dz/6-monty.R | c461cad9e3e1cc64b34d9c1839412be622f99857 | [] | no_license | luciantin/faks-MIS | 1818a578aa0d3be7d36665e5926ce895446985b5 | 14b57cd79a9c923a87fc5faa22f8d443ace06ba4 | refs/heads/main | 2023-05-11T18:06:37.216876 | 2021-05-31T06:23:22 | 2021-05-31T06:23:22 | 345,627,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 396 | r | 6-monty.R | # Bacamo dvije kocke. Koja je vjerojatnost da je njihova suma veća ili jednaka 7?
# P = 21/36 da ce biti >= 7
outcomes <- c(0, 1)
probabilities <- c(15/36, 21/36)
set.seed(2)
smpl_size = 100000
out <- sample(outcomes, prob = probabilities, size = smpl_size, replace = TRUE)
sum(out)
out.table <- table(out)
out.tabl... |
a16b0f614b74ed75c480abcafb1df19bee12d77c | 9d72922f56b6367d445516229ae1ee55c0eab1b2 | /R/bad.R | 6c4770a7695de4ed14a0e14327c3150927b96b31 | [] | no_license | mdodrill-usgs/fishR | 088c91e7a6615a444bd0cadd6b07e91255adacc4 | 2a1172286933fd9954fd2bfe21aeee2d2c49b284 | refs/heads/master | 2020-03-15T01:20:17.505255 | 2019-10-28T18:47:13 | 2019-10-28T18:47:13 | 131,891,525 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,311 | r | bad.R | #' @title Returns parameters from a Stan object which are not converged
#'
#' @description Returns the parameters from a Stan object which are not
#' converged, based on Rhat.
#'
#' @param fit Model object from Stan
#' @param r.hat.level Argument controling the level for Rhat. Defaults to 1.2
#' @param plot Display ... |
b77298ea679d64b5306effd9c71fc1121aa1f5fb | 67e58cd3324dbdb981002e680488e5aa88266111 | /STAT_604/Homework/jblubau1_hw04_script.r | a80a12b70ec8b1c5fd8cea01fc734ff41b637122 | [] | no_license | mauliasavana/Statistics-Masters | b8a152870e528cb653dfb921cf1fd53202ecfe78 | c89c2f36d05d5936404d5f460b1a2bdb01a93f3a | refs/heads/master | 2021-08-27T17:18:16.994407 | 2017-05-13T12:09:28 | 2017-05-13T12:09:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,750 | r | jblubau1_hw04_script.r | # name: jblubau1_hw04_script.r
# path: ~/Projects/learning/Statistics/STAT_604/Homework
# created by: Joseph Blubaugh
# created on: 6 Sept 2016
# purpose: Homework 04
# last ran:
Sys.time()
# 1) House Keeping
ls()
rm(list = ls())
# 2) Direct output to a file
sink(file <- "/home/jeston/Projects/learning/Statistics/ST... |
331d63b6beb7ce406b26ae4665396bc33da5c48c | b4d9e8cdef90f26ead6ee0d3d4ce7dad1070687a | /plot1.R | c255b4bc986ee325b0bacc11cbf049acc3368425 | [] | no_license | animusmoth/ExData_Plotting1 | fbb4eef4a3ce10bfe97708599529eeb361954ed2 | 4ff5c823d8e2fe8cc2e99ccd5372e7516da8488b | refs/heads/master | 2021-01-18T07:57:11.896534 | 2015-02-08T23:55:36 | 2015-02-08T23:55:36 | 30,510,638 | 0 | 0 | null | 2015-02-08T23:54:35 | 2015-02-08T23:54:35 | null | UTF-8 | R | false | false | 713 | r | plot1.R |
fileName = "./datafile.zip"
if (!file.exists(fileName)) {
fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
download.file(fileUrl, destfile = fileName, method="curl")
}
# unzip the file
unzip("datafile.zip")
# Load the file
fl <- read.table(file="household_power_c... |
3e064870a45c0d8d7202aad5895bf7d30a96e72a | 514a5ea21c7744c1bb92ee95a797b4bad403de1a | /package/patientProfilesVis/man/patientProfilesVis-palette.Rd | 360a18b2d30abb3cc00e2c969637d984c2a5f664 | [] | no_license | Lion666/patientProfilesVis | b99d49cb4d2ce92026169e9a3bdadba90902c12c | 798609c581a88703a43769cb972a66d3138cdae4 | refs/heads/master | 2023-08-03T22:02:57.033220 | 2021-09-28T09:59:55 | 2021-09-28T10:00:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 553 | rd | patientProfilesVis-palette.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/palettes.R
\name{patientProfilesVis-palette}
\alias{patientProfilesVis-palette}
\title{Parameters for all patient profiles visualization palette functions.}
\arguments{
\item{includeNA}{Logical (TRUE by default),
should NA elements be retain... |
76e325156278f1194848fa19562cb26f3d155667 | bdda050a3713f1ac5b996c2f5c600daecbad920b | /man/getExperimentSampleFeatures.Rd | 4831b0b2497faee272e686f6f033db8a959aed82 | [
"MIT"
] | permissive | astrolabediagnostics/orloj | dd466acb293447b33426a22766770323b50fee99 | f24b7ef7710e4ba3adaf0d615238bfcd8fe46380 | refs/heads/master | 2021-06-04T16:20:04.772433 | 2021-05-19T14:14:23 | 2021-05-19T14:14:23 | 110,556,030 | 5 | 3 | MIT | 2020-08-09T14:17:33 | 2017-11-13T14:07:22 | R | UTF-8 | R | false | true | 502 | rd | getExperimentSampleFeatures.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/experiment.R
\name{getExperimentSampleFeatures}
\alias{getExperimentSampleFeatures}
\title{Get experiment sample features.}
\usage{
getExperimentSampleFeatures(experiment)
}
\arguments{
\item{experiment}{An Astrolabe experiment.}
}
\value{
Ex... |
3ef2ed11a03637fe935ac82151859d2e1927cffa | 9800746efbf5779c5178e122a97caedad2157263 | /amps02dataIn.R | 58a5be4723339ec880d0cb93009ef42cf59e06ea | [] | no_license | hanspeter6/amps_2002 | 63518f7efcc9fc570478437ab423f0432d6219bd | b6ca9481cf253aa70c81b1b486075afd408c85ad | refs/heads/master | 2021-04-29T22:52:18.207683 | 2018-09-02T14:00:45 | 2018-09-02T14:00:45 | 121,646,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,267 | r | amps02dataIn.R | # libraries
library(stringr)
library(tidyverse)
library(caret)
print_02 <- read.csv("/Users/HansPeter/Dropbox/Statistics/UCTDataScience/Thesis/amps_2002/csv/amps-2002-newspaper-magazine-readership-v1.1.csv")
electr_02 <- read.csv("/Users/HansPeter/Dropbox/Statistics/UCTDataScience/Thesis/amps_2002/csv/amps-2002-electr... |
e0cffaf07d4c22f890094c65732f2403c2bec682 | 7c6f08119b1f6e9a87b5963c136d61857bdd8b7b | /12.EDA 1/pm_analysis/pm_analysis.R | c722760eaecbac02e67e280cf988a4d9eda6fb90 | [] | no_license | lherbeur/R-Labs | 4d508708a658e9fff90d899bc41e80e03e34658a | de5cfa5b2d3df0ed3e02c0d53908460c8252dcd3 | refs/heads/master | 2020-03-18T04:43:31.772610 | 2018-05-21T19:01:42 | 2018-05-21T19:01:42 | 99,908,537 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,681 | r | pm_analysis.R | # data source - https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip
library(tidyverse)
library(dplyr)
pm_data <- read_rds('C://Users/Lherbeur/Documents/Projects/R/12.EDA 1/pm_analysis/exdata_data_NEI_data/summarySCC_PM25.rds')
pm_data <- as.tibble(pm_data)
pm_data_classification <- read_rds('C://U... |
a45f37126717ff3b9343365020632651bec850a1 | aee2c11aff6bd0874a03fbd16f852ad785efe5ba | /R/HalmScore.R | a36d84d9debeb7b08c5aed79eace68c5c8093df4 | [
"MIT"
] | permissive | maciejrosolowski/progressdatenbankderivate | bca72eadf47ba2dcffeed80cc120f25458f13581 | 1a2e31ed7e62970a0206883173d32e14d888563d | refs/heads/master | 2021-02-18T18:34:28.100509 | 2020-08-02T13:07:09 | 2020-08-02T13:07:09 | 245,223,654 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,615 | r | HalmScore.R | #' Compute the Halm score.
#'
#' @param FRM_B24 data.table containing the table with the same name from
#' the database of the PROGRESS study
#' @param FRM_BEF data.table containing the table with the same name from
#' the database of the PROGRESS study
#' @param FRM_RR data.table containing the table with the same n... |
9464ae7e7d6103563efb2a31f2a1784a3ae5a564 | beac9cf8f3605f222361bf1b6b5450607e4d837b | /demo/EITsolve.R | a1ccbb10fdf166a342c158157d223ab42524ba75 | [] | no_license | tfyamaguchi/AbdominalEIT | bceb9b026567d8094500181450e50b1f4212676b | 041da4888ea8152ac0972149d60c2c5a05bf17f1 | refs/heads/master | 2020-05-09T17:16:05.490956 | 2019-04-14T12:19:31 | 2019-04-14T12:19:31 | 181,303,039 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 338 | r | EITsolve.R | data(bound)
data(exdata)
exdata$datan32[,1:32] <- Kirchhoff(data=exdata$datan32[,1:32],dev=34)$expout
ret <- hosein(data=exdata)
exp <- lstsqrs(data=ret,bound32=bound)
ret <- f9l5qxfa(bound32=bound,expout=exp)
ret <- convsmt()
ret <- filta06("IMG__&_G.PRN",bound32=bound,nbun=255,rfilt=0.1,ratmap=1,col=rich.color... |
8514288b64f0e6160859fe2e4004614a512e0d20 | 95a70c587ee188ddada550cd9247fbfce453a23f | /R/plot_quartile_area.R | 05d546812479199fc2302fc4102f8bf8ccdf5233 | [] | no_license | hendersontrent/hotteR | 1f3a4cbf9de84bf726d74747374def3b61ec9b88 | 8bc36b61aaf8b00512dae426ddcad3bdea0a875e | refs/heads/main | 2023-06-17T04:40:20.775420 | 2021-07-10T10:36:51 | 2021-07-10T10:36:51 | 318,095,605 | 1 | 0 | null | 2021-07-10T10:36:52 | 2020-12-03T06:18:45 | R | UTF-8 | R | false | false | 2,481 | r | plot_quartile_area.R | #'
#' Function to calculate quartile time series composition for Australian artists and produce a stacked area graph
#' @import dplyr
#' @import ggplot2
#' @importFrom magrittr %>%
#' @importFrom janitor clean_names
#' @param data The dataframe of Hottest 100 results to analyse
#' @return an object of class ggplot whic... |
8463a25395fe444058360ed9769314a8a9eff420 | 65ee7b673307e33d708fc59fbcbc0dc14fe7dce2 | /microflora_danica/kaiju_corekaiju/corekaiju/rearranging_individual_tables_t5.R | 95819287a827248080399cc04920200271f91155 | [] | no_license | FPlatz95/master_thesis | 0056cd9d41384930e4bd2bd04610588042fa9c56 | b8f386e446a3815ba2835aea8d828c3a385de51f | refs/heads/master | 2023-05-28T00:06:42.440807 | 2021-06-08T06:58:54 | 2021-06-08T06:58:54 | 340,918,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 436 | r | rearranging_individual_tables_t5.R | filename=commandArgs(trailingOnly = F)
otutable_raw=read.csv(filename[6],check.names = F)
colnames(otutable_raw)=sub("X","",colnames(otutable_raw))
colnames(otutable_raw)=gsub("\\.","-",colnames(otutable_raw))
maxl = length(otutable_raw)
otutable_raw = otutable_raw[,c(maxl,1,9:(maxl - 1),2:8)]
write.csv(otutable_raw,... |
950d33b8adcc2ff4070c2f57b6bcd5cbb8db514a | d2c7b6f677eb501b6f08c54fce7aebaf4119ae15 | /man/summary.ssgraph.Rd | 2987882ba46e34d6e47e0111047521837ce08b79 | [] | no_license | cran/ssgraph | 9b792a284ee5ca70c24bbeeaf998fe769ef323db | 15e27003a9ef1bf99ccc881f255853e309e17914 | refs/heads/master | 2023-01-12T03:58:58.043221 | 2022-12-24T12:30:02 | 2022-12-24T12:30:02 | 130,663,048 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,724 | rd | summary.ssgraph.Rd | \name{summary.ssgraph}
\alias{summary.ssgraph}
\title{ Summary function for \code{S3} class \code{"ssgraph"} }
\description{
Provides a summary of the results for function \code{\link{ssgraph}}.
}
\usage{
\method{summary}{ssgraph}( object, round = 2, vis = TRUE, ... )
}
\arguments{
\item{object}{ An object of \... |
814a440a55b737e9450b9334496692408f16041c | c146efcb22777fe677be62bb2e88f9b8788ab162 | /run_analysis.R | 6505e019eb95bdb251b37579a7ce64fb88142120 | [] | no_license | denizonder/Getting-and-Cleaning-Data-Project | c91b4d93074daf5fbbad5428486cf200dcb2cbdb | 8d828d1da8d26e708ad61e1890b46a1223031599 | refs/heads/master | 2021-01-01T14:55:13.102435 | 2020-02-09T15:50:51 | 2020-02-09T15:50:51 | 239,327,146 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,564 | r | run_analysis.R | #Downloading the files
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl,destfile="./data/Dataset.zip")
unzip(zipfile="./data/Dataset.zip",exdir="./data")
project_files <- file.path("./data" , "UCI... |
25e8011624a941ac2231c243d24a3b4f1c067075 | 6601abca80d0dffb268bf2c756bbff8dc84d6385 | /man/QueryBuilder.Rd | 3f0141c470b0081806f3a1e1028c5a7e88033eaf | [
"MIT"
] | permissive | langmead-lab/snapcount | 5fd8e67dee09d8175a298ebba308e606a77f8002 | 257a66e3ed64155c9f3439aeea777ab6fb2feb6e | refs/heads/master | 2022-05-01T08:22:58.627839 | 2022-04-26T14:00:26 | 2022-04-26T14:00:26 | 160,970,020 | 1 | 1 | MIT | 2020-07-31T16:10:10 | 2018-12-08T19:05:24 | R | UTF-8 | R | false | true | 1,211 | rd | QueryBuilder.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/query_builder_wrappers.R
\name{QueryBuilder}
\alias{QueryBuilder}
\title{Construct a QueryBuilder object given a compilation and one or regions.}
\usage{
QueryBuilder(compilation, regions)
}
\arguments{
\item{compilation}{A single string cont... |
6b956503e53ff2739efb35558faadd3c1d216921 | b63c9bb0d7bdeb75aa8151055920af7b34ced83f | /man/db_drop_tables.Rd | fc70c83d659d67c1fcc075d8d6b57f7421a4dfb5 | [] | no_license | bernardocaldas/dplyrOracle | 62c3a831cf6b292eb06b8b1fc2961f3f2b26ad62 | 2841cd966810740b07a204d73ffe2ece34f8be3e | refs/heads/master | 2021-01-15T08:08:46.629130 | 2016-03-23T09:24:49 | 2016-03-23T09:24:49 | 54,482,145 | 0 | 1 | null | 2016-03-22T14:33:54 | 2016-03-22T14:33:54 | null | UTF-8 | R | false | true | 478 | rd | db_drop_tables.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/customSqlFunctions.R
\name{db_drop_tables}
\alias{db_drop_tables}
\title{Drop multiple tables in Oracle database}
\usage{
db_drop_tables(con, tables, force = FALSE, ...)
}
\arguments{
\item{con}{Connection}
\item{tables}{Character vector wit... |
8fc5cd6fe4e4e2bd614182bcb549d21a766a51ef | b4e5e6e50c63f04d06e72ac20caa41c3aa394c13 | /man/AlonDS.Rd | 8b31f160a0e3d5aaac07a7843b3565b95c0725a8 | [] | no_license | cran/HiDimDA | 59f9c12fddee68f14a5c017852921cc90eaf03bf | 4fee7a41e8fa45c90816b05d9a364ed7b2b87e4b | refs/heads/master | 2021-01-01T20:48:52.167666 | 2015-10-19T08:41:33 | 2015-10-19T08:41:33 | 17,679,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 946 | rd | AlonDS.Rd | \name{AlonDS}
\docType{data}
\alias{AlonDS}
\title{Alon Colon Cancer Data Set}
\description{This data set was collected by Alon \emph{et. al.} and consists of 2000 genes measured on 62 patients: 40 diagnosed with colon cancer and 22 healthy patients. The patient status is described by the factor \sQuote{grouping} a... |
9f76a96054e670d8d0b89e86ab3b72b8e1e41faf | b1cccc43340f5e1100a95428ecfe6a14fadb215a | /man/ld_matrix_local.Rd | 56b3ef27cc91c7dc395909b82cded33977d5a144 | [
"MIT"
] | permissive | MRCIEU/ieugwasr | b041818e3de4db287aed0667c5e167ac0bdf74f3 | 33e4629f4dacd635c68e690bb5648de529c333cc | refs/heads/master | 2022-07-01T22:52:46.713761 | 2022-06-15T14:27:21 | 2022-06-15T14:27:21 | 214,448,457 | 35 | 17 | NOASSERTION | 2022-03-16T14:54:21 | 2019-10-11T13:50:01 | R | UTF-8 | R | false | true | 752 | rd | ld_matrix_local.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ld_matrix.R
\name{ld_matrix_local}
\alias{ld_matrix_local}
\title{Get LD matrix using local plink binary and reference dataset}
\usage{
ld_matrix_local(variants, bfile, plink_bin, with_alleles = TRUE)
}
\arguments{
\item{variants}{List of var... |
ecf8269ff4e6cb1b7cf07a159bca552d7e3fd630 | c96fb047660d57547921e01de547ffcdfc2af4f8 | /R/~old/R/LDstatsBPM.R | 3186fb884c853f5a8a52faad73ddd42120993e6d | [
"MIT"
] | permissive | BaderLab/POPPATHR | d5a3acf04fdda8ce3e9ad6ef41ade62dee7f8052 | 19290bfdaaa3ff06c9cfcad72f04b3f3e789007b | refs/heads/master | 2023-06-23T21:30:03.556374 | 2021-06-09T20:35:43 | 2021-06-09T20:35:43 | 201,321,105 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,816 | r | LDstatsBPM.R | #' Calculate selection statistics (LD) and perform exploratory analyses
#' for two sets of variants via R snpStats package
#' https://bioconductor.org/packages/release/bioc/manuals/snpStats/man/snpStats.pdf
#' @param hcInDir (char) path to files with high-confidence pathway SNP lists
#' @param lcInDir (char) path to f... |
88ffbdad92bd83e20f8f8eb2e96cf7cbe3385109 | 47594da5da68b5e53ce10c45bc317f16ad69ac7d | /man/buildDescription.Rd | 1024851c8a7ceade0fd48db6cf55953d36cc1071 | [
"BSD-3-Clause",
"MIT"
] | permissive | viadee/anchorsOnR | 79183941b725e0b3dd7590ec6d75025bd2b9ca47 | 617e9d253cbe09f6f18e7545d62c01ab1e3ddb78 | refs/heads/master | 2022-03-09T23:06:49.693086 | 2019-11-21T15:20:21 | 2019-11-21T15:20:21 | 192,675,270 | 14 | 4 | BSD-3-Clause | 2019-07-29T11:54:08 | 2019-06-19T06:49:11 | R | UTF-8 | R | false | true | 572 | rd | buildDescription.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/discretization.R
\name{buildDescription}
\alias{buildDescription}
\title{Builds a printable representation of the discretization used for output formatting}
\usage{
buildDescription(bin, cuts, right, short)
}
\arguments{
\item{bin}{the discre... |
41ce404070ed395e95afea5cf8095de9dd452aed | 257ffc3438528729b62bc3e7abc24eea2be6193e | /man/SimpleSpatial.Rd | 1d11219a0e89c91419da269d1c1d7ef3e67e592b | [
"MIT"
] | permissive | SHUD-System/rSHUD | 91e1ae7f077cf5efa52575a32ed4e692ed8034b9 | 1915a9cf2b241a1368b9768251b2f140454bd94e | refs/heads/master | 2023-07-06T11:07:18.335307 | 2023-07-01T15:08:11 | 2023-07-01T15:08:11 | 224,737,854 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 296 | rd | SimpleSpatial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Func_GIS.R
\name{SimpleSpatial}
\alias{SimpleSpatial}
\title{Simplify SpatialData.}
\usage{
SimpleSpatial(x)
}
\arguments{
\item{x}{SpatialData}
}
\value{
Simplified SpatialData
}
\description{
Simplify SpatialData.
}
|
cfa4edd584c78b977f071c6f9bed9ce3f0a3a052 | 11398da10d2e446f376ed7188b4dcd3caba754c7 | /R scripts/sdmAllCodeFinal_IP_11Feb18_havenot edited.r | b89c231b0f5b07070b9f42510e4c017538189c02 | [] | no_license | bhartidk/sdm | d96c1330c70f70200e16a881a6f79582cf9fc05f | 8d82b94406f1d104f7bb6ea8fb2883ed70d5a342 | refs/heads/master | 2022-03-19T09:50:45.251540 | 2019-11-13T07:49:57 | 2019-11-13T07:49:57 | 221,377,088 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 48,362 | r | sdmAllCodeFinal_IP_11Feb18_havenot edited.r | #rm(list = ls())
setwd("C:/Bharti/PhD data/Analysis/Chapter2_2Nov17")
library(sdmpredictors)
library(raster)
library(sp)
library(rgdal)
library(maps)
library(rgeos)
library(dismo)
library(dplyr)
library(Hmisc)
library(ggplot2)
library(devtools)
library(digest)
library(rJava)
library(geosphere)
library(stringr)
library(... |
aabf1f8d82d403fa0036163ae16415af6608394c | 2199f4d22db7c73977a0a90f8f9cae390461c55f | /capstone_wrangling.R | 470030db59e90f9301970b586994eeaf3be329ae | [] | no_license | demetri77/springboard-capstone | ae759fbd8bf7fa6f0c8da581a4cbae39e05cd794 | 152d46e4a408504cd1e5a1c505605e16ff2eb4ac | refs/heads/master | 2020-04-02T12:13:38.435028 | 2019-04-20T03:53:50 | 2019-04-20T03:53:50 | 154,424,335 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,916 | r | capstone_wrangling.R | library(tidyverse)
## Read in file
#bankfull <- read.table("bank-additional-full.csv",header=TRUE,sep=";")
#bankfull <- read_delim("bank-additional-full.csv", delim = ";", col_types = "iccccccccciiiicdddddc")
#bankfull <- read_delim("bank-additional.csv", delim = ";", col_types = "iccccccccciiiicdddddc")
bankfull <- r... |
22e630605d71df33909a759a8da947671c4294f7 | 50a7414f761472e051053dc5d0f12bc04da43772 | /ehcs/unitTests/casesCreationTests.R | 6d09ed3f2e605f4df053348021a67e4f24966b5b | [] | no_license | cse-bristol/national-household-model-stock-files-creator | bef7c41f279938d3f767e6e66966a62610dfe013 | 5d777d5390b670da57b064d1c883b1c22404cb6d | refs/heads/master | 2021-01-18T01:08:02.660088 | 2018-05-10T16:16:08 | 2018-05-10T16:16:08 | 65,458,879 | 1 | 1 | null | 2017-08-11T14:11:01 | 2016-08-11T09:54:41 | R | UTF-8 | R | false | false | 2,431 | r | casesCreationTests.R | library(RUnit)
source("~/software-projects/r-nhm-stock-creator/ehcs/cases.R", chdir=T);
test.floor.construction <- function(){
checkEquals("SOLID", groundfloor.construction.type(NA,NA))
checkEquals("SOLID", groundfloor.construction.type("Yes",NA))
checkEquals("SOLID", groundfloor.construction.type("Yes","Yes"... |
1f177865dfd4617a872c28ff6f247a926f0266ae | 73e778bb056fcf84bd6b062d62d14e3abdfb5ea7 | /模拟试验/信号强度变化试验_低维.R | 3261aabf45c9921ddc7310645b456a9c49747198 | [] | no_license | HDangDang/PLasso | 77ad8b674c412556359ed95b56dc156726b96f4e | 651b1bd3b4aed7ad1ffe0f62821927acf6f7e154 | refs/heads/master | 2021-05-22T02:41:34.107495 | 2020-04-04T08:02:21 | 2020-04-04T08:02:21 | 252,935,514 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,245 | r | 信号强度变化试验_低维.R | library(ggplot2)
####v50,snr1####
simu1<-simulate(train=100,test=50,ptrain=100,
v=50,betaper=0.1,
snr=1,
betamu=0,betasigma2=10,cons=10,
rho=0,
experiment=30)
result1<-data.frame(Method=c("Lasso","PLasso"),
set=... |
9f9a50f30214d09d4f64cd6496f56a3c6677210e | 6f6b4b068726c0e7f241b9682c2cf412804218d6 | /dataset_testing/food_consumption.R | 15be62e3d4d31ba5f63ed9c20f994dff58de3f90 | [] | no_license | calvin-munson/R-DataScience-workshops | 7aeb10b87ec8ebfcc85867ccb3af21b5e6524323 | 3f6f85ff73d2e6c7b14beb845f2c67109f5d9ec6 | refs/heads/master | 2023-09-01T17:35:32.902792 | 2023-08-29T21:06:04 | 2023-08-29T21:06:04 | 286,129,289 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,918 | r | food_consumption.R | ##
##
## Workshop #TBD: Food Consumption!
##
## Objective: TBD
##
## Authors: Calvin J. Munson
##
## Date: TBD
##
##
##
# 1. Read in the data -----------------------------------------------------
food_consumption <- readr::read_csv('https://raw.githubusercontent.com/rfordatasci... |
d06ba2527725cb961f2022f9738bbc66dbeb0305 | f9b2ad8b55c0bc6cc38055641c5f3c95faf9c6c7 | /R/put_bucket.R | 2b05609ccddb34c4a08cf97a386853bd09bf8dfa | [] | no_license | nagdevAmruthnath/minio.s3 | e488e8ef54f50253dad9ea9e6ad4285338a5b448 | 3345f005cec34c456d144e020bff34914c327636 | refs/heads/master | 2023-08-08T14:47:32.407089 | 2021-11-11T21:34:19 | 2021-11-11T21:34:19 | 217,528,395 | 13 | 7 | null | 2023-07-14T13:16:03 | 2019-10-25T12:25:34 | R | UTF-8 | R | false | false | 2,570 | r | put_bucket.R | #' @title Create bucket
#' @description Creates a new S3 bucket.
#' @template bucket
#' @template acl
#' @param headers List of request headers for the REST call.
#' @param use_https True if connection is HTTPS and False if connection is HTTP
#' @template dots
#' @return \code{TRUE} if successful.
#' @details Bucket po... |
8c58318c07d9213db554225107b1fff9292919de | b34820260d5e39442cf6f07be731fcc5bf2b93e7 | /R/graphs.R | 0ac3860bf3e705636f08da4e757ca6b76a113b6d | [] | no_license | KBillyPush/- | fa093606d4e6b28836b317bce5ad918b6b62c9ef | 39354a6472c9516d96ff4791a42cca3ec0a53210 | refs/heads/master | 2021-01-01T17:14:32.403760 | 2017-07-22T20:35:09 | 2017-07-22T20:35:09 | 98,032,151 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,819 | r | graphs.R | install.packages('UScensus2010')
library(UScensus2010)
library(scales)
library(rvest)
library(readxl)
edu <- read_excel('dobis.xlsx')
url <- 'http://www.governing.com/topics/urban/gov-majority-minority-populations-in-states.html'
pop <- url %>%
read_html %>%
html_nodes(xpath = '//*[@id="inputdata"]') %>% ... |
225234d94b3893428bfe824e2a098db38c293945 | 94399d381681873b8fd660130ce66a48d76a482e | /man/make_docker_names.Rd | 087567d775270be10ba112d69b6085eaca5bbe9a | [
"Apache-2.0"
] | permissive | mikemahoney218/proceduralnames | ad890cf9de372f815ae182f6efbd1fc9e17cd32a | b4557f8b42f5c7c966c33cf81e0892b88ee72779 | refs/heads/main | 2023-05-23T18:36:59.277295 | 2022-08-11T14:19:15 | 2022-08-11T14:19:15 | 322,067,273 | 5 | 0 | null | null | null | null | UTF-8 | R | false | true | 831 | rd | make_docker_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_names.R
\name{make_docker_names}
\alias{make_docker_names}
\title{Generates a random name from the list of Docker adjectives and surnames.}
\usage{
make_docker_names(n, retry = FALSE, sep = "_")
}
\arguments{
\item{n}{The number of rando... |
f44f1686abf9b78ed22d5ce562a69c910a5c85b2 | 424a109c5f16ab0417c7f9ecc4fded3c0f38ae14 | /utils/sql_utils.r | 6a8ceb881487e36191827303093b1ad0989ba74f | [] | no_license | adrianalbert/EnergyAnalytics | f784aca1e549be96b865db89f2190d2dd7566f83 | 39a5d5a6ee05a643ab723d4ef8d864282870cec8 | refs/heads/master | 2020-05-29T08:51:31.888860 | 2016-03-21T15:03:47 | 2016-03-21T15:03:47 | 7,062,053 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,639 | r | sql_utils.r | # sql_utils.r
#
# Utility functions for accessing data off MySQL database.
#
# Adrian Albert
#
# Last modified: November 2012.
# --------------------------------------------------------
# Functions to perform query on database
# -------------------------------------
require(RMySQL)
# open MySQL connection
db.conn ... |
1112fa272387a9c847508b3b190ae3bbc25d19e5 | 2b837f06f5b756dd9da76f613c5d58308a01f828 | /man/lagInfluDataFHI_flyttet.Rd | 1bf04a44b4170e6c9c08bb441c39ea8d4a425842 | [
"MIT"
] | permissive | Rapporteket/korona | f9f495af8a9aeeb092c71ff5276c384cf6b8e719 | b54d69883d30405a98ba133fd585a47fb6cfae96 | refs/heads/rel | 2023-07-07T18:41:47.818867 | 2023-06-27T10:21:20 | 2023-06-27T10:21:20 | 250,873,426 | 0 | 0 | NOASSERTION | 2022-03-09T15:52:29 | 2020-03-28T19:09:35 | R | UTF-8 | R | false | true | 347 | rd | lagInfluDataFHI_flyttet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/InfluensadataFHI.R
\name{lagInfluDataFHI_flyttet}
\alias{lagInfluDataFHI_flyttet}
\title{Henter data og velger variabler for overføring til FHI}
\usage{
lagInfluDataFHI_flyttet()
}
\value{
data
}
\description{
Henter data og velger variabler ... |
70d61b00e975325d2bc838640ad954a0647a5fb3 | fcd75cb3da22da9651e877950cc7dc96bdb1369c | /OTHERS/r-scripts/rq2-fireplace.R | 5eaa26ca9eabb6fef9caf5288d5d8b261648e0e4 | [] | no_license | adini121/install-scripts | 4be62db18cabcdf2a722f6e08a09967c15c5a152 | c86f5f33cf701d94f0613ea5bb4ccf572978cec7 | refs/heads/master | 2021-03-27T10:41:59.683556 | 2016-03-16T02:53:30 | 2016-03-16T02:53:30 | 40,886,552 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,517 | r | rq2-fireplace.R | library(lars)
# load data from csv file
fireplaceData <- read.csv('/Users/adityanisal/Dropbox/ExtractedResultFiles/CSV/combined-fireplace.csv',header=TRUE, sep=",")
# display data
fireplaceData
# remove "null" columns (columns with all 0s)
fireplaceDataNonZero <- fireplaceData[,colSums(fireplaceData) !=0]
fireplaceData... |
045ee4683dfd17aeae17722c43f2d0a7d594eb8c | 1f9ea9bb2b10b7dc3a65b5f1824fd9deafa803ab | /cachematrix.R | d21f38605392d1025d7c0a5f7e9ed35b9c8c9f14 | [] | no_license | tomzisis/ProgrammingAssignment2 | e9d213a382cf21fde7c9738e7fe8a6bcd320b802 | eb9b59436cc584e29f890e157799e48575886ab1 | refs/heads/master | 2020-12-26T13:04:54.761916 | 2015-07-26T20:21:41 | 2015-07-26T20:21:41 | 34,408,728 | 0 | 0 | null | 2015-04-22T18:39:40 | 2015-04-22T18:39:39 | null | UTF-8 | R | false | false | 1,373 | r | cachematrix.R | ## The code below creates a special matrix object and then calculates
## and caches its inverse matrix
## The makeCacheMatrix function creates a special "matrix" with the form
## of a list , which stores the value of a matrix and its inverse
makeCacheMatrix <- function(x = matrix()) {
i <- NULL
... |
241edfa1024ac56a3d02b5bca10718b9556ee44c | 3830551a6c5213a309e9d4aa40fd54131c5fdcbb | /tests/testthat/test-flag_item.R | 576ee28ac71cf24effd5accbf2442114a2c63cab | [
"MIT"
] | permissive | b-rodrigues/paint | 765df57b266bdc078c9be3da19a44548f566a630 | 163e333d0ce785b797ea57389176e037817fa24f | refs/heads/master | 2023-07-09T22:00:49.768581 | 2021-08-08T10:56:54 | 2021-08-08T10:58:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 490 | r | test-flag_item.R | test_that("flag_item", {
rlang::with_options(
cli.num_colors = 256,
paint_n_rows = NULL,
paint_max_width = NULL,
paint_palette = NULL,
paint_align_row_head = NULL,
paint_dark_mode = NULL,
.expr = {
expect_error(flag_item(c(1,2,NA)), regexp = "You gave me an item of length > 1 to flag")
... |
1d8c2ab7042c819e8b4415e4f84e8dde1c623a2c | 10e6895fffcba7bc2fd7c8bc1bd90f5bf1321637 | /Homework5.R | 70f50bca0394485d75e6d1235d6acaad32757053 | [] | no_license | alpallion/STAT-3355-Homeworks | 3e271ed2ba23651cc4ef2b3d5f486fa788fb9ce9 | f044aa54a68372775a24e524dfd14221d03782d9 | refs/heads/master | 2021-03-05T10:55:43.566706 | 2020-04-13T17:57:32 | 2020-04-13T17:57:32 | 246,116,941 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,157 | r | Homework5.R | # Install the package if you never did
install.packages("ggplot2")
# Load the pacakge
library(ggplot2)
# Load the mpg dataset
data("diamonds")
#PROBLEM 1
#the data is skewed left and not noise. This means that more bin numbers better represent the datas trend. That and
#Rices Rule is relativly simple
k <- ceiling(2*(... |
c296dd47af9f0c355cda10918d8c4a947aae66a7 | a883b2b1fcf12369cbb9aaa148ee9f8ff0e7c486 | /pnps/Old/pnps.gene.R | 13ad75b79526fd24b6527dab055299284784c53e | [] | no_license | connor122721/Daphnia-analyses | a8cad181a9ef938bee789435f5c2ac6633fc67b2 | be838edc10ad6ab97e1fe8f2155c0943ee8f7258 | refs/heads/master | 2023-01-28T19:44:02.428198 | 2020-12-17T18:32:33 | 2020-12-17T18:32:33 | 264,460,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,497 | r | pnps.gene.R | # Libraries
library(data.table)
library(SeqArray)
library(foreach)
library(tidyverse)
library(SNPRelate)
library(seqinr)
# set working directory
setwd("/project/berglandlab/Karen/MappingDec2019/WithPulicaria/")
# Load meta-data file
samps <- fread("June2020/Superclones201617182019withObtusaandPulicaria_kingcorr_20200... |
766611bfb3aa5d8381064c294f4d14ecf7a0218c | f4f1f07f1f3544866a58814f43d1c6821fb0a444 | /tests/testthat/test_reifyObject.R | 3840b805f101a3d6f89fcbf33364a7411ed3ef94 | [] | no_license | cran/wyz.code.testthat | b909448e0efe9111174f75990c252ddb608b69b9 | 17a3a5a478c3fd18ddd2ff2f25b7c4405772199b | refs/heads/master | 2021-10-08T09:47:12.339645 | 2021-10-06T05:50:02 | 2021-10-06T05:50:02 | 200,671,666 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 920 | r | test_reifyObject.R | context("reifyObject")
source(file.path(system.file(package = "wyz.code.offensiveProgramming"),
'code-samples', 'classes', 'sample-classes.R'))
obj <- list( MyEnv(),
Bu_S3(),
new('Person_RC', name = 'neonira'),
new('Person_S4', name = 'neonira'),
W... |
1bab3bf113fe528bb787996cceb71260ad8b444c | d98a0e786c7df047f6bac7896fa272048e940dff | /Rcodes/random_graphs_diffusion.R | a20ba7466aaa0c442355be2499b1deb9cee51ec1 | [] | no_license | JonathanRamos/dissertation | 5c679263588dc4eb92a6a6072e70fb4f6f1cebbb | db40554388aa3d8fb8158fe188b40c4f52d60d37 | refs/heads/master | 2020-12-25T05:18:08.997550 | 2012-06-02T22:12:39 | 2012-06-02T22:12:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,147 | r | random_graphs_diffusion.R | require("igraph")
source("diffusion_distances.R")
random.graph <- function(data, p){
n <- nrow(data)
W <- zeros(n,n)
for(i in 1:n){
sample <- runif(n)
W[i,] = (sample <= p)
}
diag(W) <- 0
## B <- graph.adjacency(W,mode="undirected",diag=FALSE)
## plot.igraph(B, layou... |
16a053fe8a76f7949e86211b74921338c94ed723 | ed18176c49b90c242144b20e37e7e7be1a92dbe2 | /man/BAC_binom.Rd | 9fd61ab4ed743405ec6eaf381fa88bc2affd9a94 | [] | no_license | cran/BACCT | e01e5690798582ab803243e237a140d2f86cba35 | c91515614860e47f5644ed213a07b7fd03c02485 | refs/heads/master | 2021-01-09T20:35:24.674069 | 2016-06-25T19:07:22 | 2016-06-25T19:07:22 | 61,953,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,131 | rd | BAC_binom.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/BAC_binom.R
\name{BAC_binom}
\alias{BAC_binom}
\title{Bayesian Augmented Control for Binary Responses}
\usage{
BAC_binom(yh, nh, n1, n2, y1.range = 0:n1, y2.range = 0:n2, n.chain = 5,
tau.alpha = 0.001, tau.beta = 0.001, prior.type =... |
54938808f278f6b27978394b2b86a05a97462920 | 40080e787a5b57eb2d9a662018ead95375497d71 | /plot3.R | b24843cd0c7316d35d57a0c7505ba6886c0bbd51 | [] | no_license | wintonlavier/ExData_Plotting1 | 6c110771590193c72b02ac05d50891ace51599c2 | 740e98bdd933d7ff87de826877c8bc696a152d48 | refs/heads/master | 2020-03-31T17:59:37.193340 | 2018-10-12T00:04:30 | 2018-10-12T00:04:30 | 152,441,971 | 0 | 0 | null | 2018-10-10T14:59:06 | 2018-10-10T14:59:05 | null | UTF-8 | R | false | false | 854 | r | plot3.R | household_power_consumption <- read.csv("~/household_power_consumption.txt", sep=";")
household_power_consumption$Date<-as.Date(strptime(household_power_consumption$Date,"%d/%m/%Y"))
hcp<-household_power_consumption[household_power_consumption$Date=="2007-02-01"|household_power_consumption$Date=="2007-02-02",]
hcp... |
737a81137195dce12877259907323234e39480d4 | 8533da991709da4e39cdf6e809e3c3ee00386417 | /R/Modularity.R | 7df25715fc7d6b32021d0d61c4f83f8ed2e17cb5 | [] | no_license | mmantho/bctR | 7b4043de3bef3cc1105739987f32da1256b50357 | b3c1c1bdb76b1a6d94020497b478a292241264a0 | refs/heads/master | 2021-06-01T04:08:56.729690 | 2016-01-17T20:39:10 | 2016-01-17T20:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,817 | r | Modularity.R |
# code for Modularity functions
#' Louvain Algorithm on Undirected Signed Graphs
#'
#' The optimal community structure is a subdivision of the
#' network into non-overlapping groups of nodes in a way that
#' maximizes the number of within-group edges, and minimizes the
#' number of between-group edges. The modularit... |
853aacdf38792041d9a78762f02f9d7eb1ced3a3 | 37ebe117da6bd32371de418f9b29440c3765f017 | /server.R | ac0154fa95b29621274447eccc0dcfbc7f30a291 | [] | no_license | Canuteson/ddp-shiny-app | 07bdad0a81cdd9c861de355e7138d3c77756ee22 | 762198a884b3c85c2be8cb01d63b1dcbe1b3a14a | refs/heads/master | 2016-09-14T09:44:24.625717 | 2016-05-01T00:44:38 | 2016-05-01T00:44:38 | 57,465,665 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | server.R | library(UsingR)
data(galton)
lmfit <- lm(child ~ parent, data = galton)
predictChild <- function(parentHeight) {
parent <- parentHeight
new_data <- data.frame(parent)
predict(lmfit, newdata = data.frame(parent))
}
childmu <- mean(galton$child)
shinyServer(
function(input, output) {
pred <- re... |
80564a314c44b7c175d03d17c723e9e5b61ba076 | 59a25a98d4fa8a50374b9e8bf6259aa37f8fa2c6 | /man/week_selection.Rd | d2d8abdc5bc51c072ce855cf6953e70452f122eb | [] | no_license | claysiusd/antaresXpansion | 1a99a72754c79891f1e2a5d385b63cde2acb0c6a | ef19f6bf930c7a6b831a89139baba4b5e8aeeeec | refs/heads/master | 2022-02-02T15:20:46.046795 | 2019-06-13T11:55:08 | 2019-06-13T11:55:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 857 | rd | week_selection.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/week_selection.R
\name{week_selection}
\alias{week_selection}
\title{Smart selection of the weeks to simuate}
\usage{
week_selection(current_it, mc_years, weeks, tmp_folder, exp_options)
}
\arguments{
\item{current_it}{list of curren... |
c0700436cb764bf34acfdfefb2fc6b59f5c1d782 | 1066bcc4ad47e19b2fc7f98a410b81d2efacfaee | /cachematrix.R | 6d9c6a399bff1818c58cd4af467e6fe7adbcaa12 | [] | no_license | jeannief/ProgrammingAssignment2 | 7f0c83578c17f16ed25024827f7d31f3a69a690d | a5d1fc704f26c6eba5841c5d6653ef7fee9b0dfb | refs/heads/master | 2021-01-16T19:16:36.457668 | 2014-07-27T22:42:40 | 2014-07-27T22:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,191 | r | cachematrix.R | #Coursera Data Science Specialisation. R Programming Assignment 2.
#These two functions together show how to create a matrix objet that can cache its inverse,
#The functions allow the matrix to be displayed, and to get, set and cache the inverse
#create a special matrix object that can cache its inverse
makeCacheMat... |
8cdf795a552ce132d2b1f2e4ff39633b739606b0 | 4b79952c84a3f6b65052bccfd1f5e3e4e5b92cb9 | /Bootstrap_CI/Bootstrap_CI_v1.R | d8539607bdf329196a49d3380915f591ccf03cc9 | [
"MIT"
] | permissive | ecostash/JAMS_1 | 62e12bf2f75c274e369cb3baffe96a53b4638fe3 | f5d8be67bf3b02c11b707862f943a445a0b04cdd | refs/heads/master | 2021-01-20T00:22:17.643080 | 2017-04-23T09:12:04 | 2017-04-23T09:12:04 | 89,122,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,531 | r | Bootstrap_CI_v1.R | # Pre-analysis setup
# Clear all data from previous runs
rm(list=ls())
# Load required packages
library(dplyr)
library(tidyr)
library(lubridate)
library(zoo)
# Set working directory
setwd("C:/Users/Michael/Desktop/R_code/2oProd_code/Spider_analyses_20Mar2017")
# Import Biomass table from "data" folde... |
88de0961375c7ec3cba16c73a2f026780ba2b8b5 | 2598d11a33b60cd067b92d3bd945df06953a6348 | /R/app_server.R | 22a0c2e3e547a97e5bda4b23f2af9955f2844fa5 | [] | no_license | borishejblum/UBcovidsurv | 59256a41ece5845bc47119b05ed64c31ef179288 | 4cb4e0ef1151ad846ce482449b1cb49afdda62ba | refs/heads/master | 2022-07-08T12:27:35.671429 | 2021-03-25T13:45:46 | 2021-03-25T13:45:46 | 296,362,737 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 802 | r | app_server.R | #' @import shiny
app_server <- function(input, output, session) {
# reactive(if(is.null(input$scalingfactor)){
# scalingfactor <- 1
# })
output$distPlot <- renderPlot({
plot_prior_post(alpha = input$alpha, beta = input$beta,
nsuccess = input$nsuccess, ntrials =... |
68c86d897b13cd8db12c0f6fe9ab50ff9c7ed2e3 | fb21a3f5a1957bc272bab3c7b3791d81ac56f238 | /static/individualproject2021/Chammika/AS2018577_WEERASOORIYA PAGGM_183916_assignsubmission_file_/AS2018577.R | 3f6aa2854afbcc7b2867228d9a73e85ca84ae07f | [] | no_license | statisticsmart/Rprogramming | acc99b14173f02952f36ae0a61127a66fc75ea19 | f0e43e7b550f9b2182db932d639f6088d7b27ac2 | refs/heads/master | 2023-06-08T13:08:58.383614 | 2023-06-01T23:13:12 | 2023-06-01T23:13:12 | 232,999,998 | 2 | 1 | null | 2023-06-01T22:26:24 | 2020-01-10T08:21:51 | HTML | UTF-8 | R | false | false | 13,360 | r | AS2018577.R | library(devtools)
library(mice)
library(sta3262)
get_individual_project_country("AS2018577")
library(coronavirus)
data(coronavirus)
head(coronavirus)
tail(coronavirus)
unique(coronavirus$country)
library(tidyverse)
library(magrittr)
coronavirus
#Data Cleanung
coronavirus1=subset(coronavirus,select = -pro... |
90ac745e7c7866c0e2b7480bf2beb490aeb3401b | 54d2268815ee1338582cc6941dae2065ea16c5cf | /r/biotool.R | e470c9fd648f9b883d878ce65cc950919db8f10c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Slugger70/biotool | b6261466273d70a48b1c03df5217d0190705b720 | be259bd89a15d897cf03e29226dde45ba7419f4f | refs/heads/master | 2021-01-12T11:54:19.853665 | 2016-09-25T13:02:00 | 2016-09-25T13:02:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,758 | r | biotool.R | #!/usr/bin/env Rscript
VERSION <- "1.0"
DEFAULT_MIN_LEN <- 0
DEFAULT_VERBOSE <- FALSE
suppressPackageStartupMessages({
library(argparse, quietly = TRUE)
library(seqinr, quietly = TRUE)
})
parser <- ArgumentParser(description = "Print FASTA stats") # nolint
parser$add_argument("fasta_files",
... |
3bde585ae927521df1e02c01cfed7f92bcd0bda9 | 5e34346a0c3eb00bee01b27d31dd86b8640786ec | /code/lib/HMM/man/viterbiTraining.Rd | 69c1c786014b738bfb87a809d6321d39394f3580 | [] | no_license | andermic/change-point-detection | b9d795f02d842658cfb54ca7ad9864044a4c3638 | 247e7144ec928327d74fc2981ab835042178e1c7 | refs/heads/master | 2016-09-06T17:47:56.938373 | 2013-07-11T05:41:51 | 2013-07-11T05:41:51 | 3,736,521 | 4 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,818 | rd | viterbiTraining.Rd | \encoding{latin1}
\name{viterbiTraining}
\alias{viterbiTraining}
\title{Inferring the parameters of a Hidden Markov Model via Viterbi-training}
\description{
For an initial Hidden Markov Model (HMM) and a given sequence of observations, the
Viterbi-training algorithm infers optimal parameters to the HMM. Viterbi-... |
e5b552fe3d396f66c17891130a3f7bafbcad8dd2 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/rocTree/man/rocTree-package.Rd | 9280d93a0584b1588f5f71d123c8ef34267b8348 | [] | 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 | true | 1,847 | rd | rocTree-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rocTree_pkg.R
\docType{package}
\name{rocTree-package}
\alias{rocTree-package}
\alias{_PACKAGE}
\title{rocTree:Receiver Operating Characteristic (ROC)-Guided Classification Survival Tree and Ensemble.}
\description{
The \code{rocTree} package... |
abcc1430451a8f58d800f3f1d6b0316c1dbd093d | 3d3502b01a3dbf15f0799d873c7b414bb35802fb | /man/subgroup_tree.Rd | da033f3e41ed2d96e4b074ee2a7f515fab5ed6fa | [] | no_license | molson2/subgroupTree | f8b7c9477859e2b51a0e3d9d66143dd337af263f | 4263665d8c00ca98485c5422be5cd41ce903d276 | refs/heads/master | 2020-08-08T15:58:02.907607 | 2019-12-03T08:29:59 | 2019-12-03T08:29:59 | 213,864,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,116 | rd | subgroup_tree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/subgroup_tree.R
\name{subgroup_tree}
\alias{subgroup_tree}
\title{subgroup detection tree}
\usage{
subgroup_tree(response, treated, X, direction = c("max", "min"), ...)
}
\arguments{
\item{response}{numeric outcome of interest}
\item{treated... |
29ec37987afbf9a9a208f8c5c0f82a218a5d7f4e | 7d7323289d118e11f2ca23fbe977f4555739dc28 | /man/conTemporal.Rd | 46bd340eae8e4e20c671d8dcd9b6e3085a96cfb9 | [] | no_license | jedalong/wildlifeDI | 7333e67e20d1e99664fcec3c67eb0f12a6a86ae8 | 55b726212431e001a77e8369b510dacedc662e49 | refs/heads/master | 2022-12-22T05:09:37.676341 | 2022-12-19T14:34:47 | 2022-12-19T14:34:47 | 110,672,734 | 13 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,119 | rd | conTemporal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conTemporal.R
\name{conTemporal}
\alias{conTemporal}
\title{conTemporal}
\usage{
conTemporal(traj, units = "auto")
}
\arguments{
\item{traj}{an object of the class \code{ltraj} which is output from the function \code{conPhase}.}
\item{units}... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.