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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5cb4c3cc31a57b9f0f94eee9f22e566719c68ef9 | 0d12e397fbc299874e75434323e14d5d8cad12fa | /analysis/03_meff_pl/quick_look_at_meffs.R | 96b8ddf0af6a982f7b5f5ce80597ef213cad13d1 | [
"MIT",
"CC0-1.0"
] | permissive | mrc-ide/global-lmic-meffs | 398e0b9be264b3b81be1adb4d2c3a0571a538858 | f3914a986fc0c649fbf011dcd9cd31ad4dce34e7 | refs/heads/master | 2023-05-28T18:24:32.650279 | 2020-07-23T18:11:32 | 2020-07-23T18:11:32 | 272,553,030 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,132 | r | quick_look_at_meffs.R | # package set up
library(globallmicmeffs)
date_0 <- "2020-07-04"
reports <- reports_4parameter_day(date_0)
get <- vector("list", nrow(reports))
brt <- get_brt_predictions(date_0)
for(i in seq_along(get)) {
message(i)
out <- readRDS(file.path(here::here(),
"analysis/data/raw_data/server_... |
22806f69c44a83affb122486dfbc92e492b4afbc | fd7ea836b91280f1dc05435a57e8d61a811430d0 | /Function_cluster.R | c351bb55fd6c8ed927325a46520561a709d2b1eb | [] | no_license | dmitry100/Functions-in-R | b5af50beb8ccbbba7b3ed64de331a1d667ce2d4f | c43108950415d3a0df15c8a2ee78788fd692c49f | refs/heads/main | 2023-01-09T00:56:49.376845 | 2020-11-05T21:03:22 | 2020-11-05T21:03:22 | 301,327,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 256 | r | Function_cluster.R | ###Функция кластеризации df
smart_hclust<- function(test_data, cluster_number){
dist_matrix <- dist(test_data)
fit <- hclust(dist_matrix)
test_data$cluster <- as.factor(cutree(fit,cluster_number))
return(test_data)
}
|
1b5caa1e14a821b0ba893545f22eb1e36d622425 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CytobankBridgeR/examples/fcs_files.Rd.R | 82796fa3136b677da5026f73c405a0ca01ffcb7d | [] | 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 | 597 | r | fcs_files.Rd.R | library(CytobankBridgeR)
### Name: fcs_files.download_fcs_files_stable
### Title: FCS Files
### Aliases: fcs_files fcs_files.download_fcs_files_stable
### ** Examples
## No test:
fcs_files.download_fcs_files_stable(cyto_session, 22, fcs_files=c(1,2,3),
directory="/my/new/download/directory/")
## End(No test)
## ... |
919cc5614fdebc3d63082d1058a475c16539d638 | a3a622c7dd2eed2e41558d17682d17cfb3e58d24 | /R/BigSkate_forecasting_notes.R | e66e3dd143a8b199fe4dcae8d4046eb95b704eb7 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | iantaylor-NOAA/BigSkate_Doc | 92399326664d70883c144c3f14c9f65ed5ce3a61 | 4c7144a4566bd2276dcf1759e36ddce5b0cb8d7e | refs/heads/master | 2021-07-10T03:55:08.723089 | 2020-07-31T18:17:36 | 2020-07-31T18:17:36 | 179,342,625 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,071 | r | BigSkate_forecasting_notes.R | #### values from Sigma_Examples.txt from Chantel
## Category 1 (baseline s = 0.5)
## P* 0.45 0.4 0.35 0.3 0.25
## 2021 0.935 0.873 0.813 0.754 0.696
## 2022 0.930 0.864 0.801 0.740 0.679
## 2023 0.926 0.856 0.790 0.725 0.662
## 2024 0.922 0.848 0.778 ... |
0151c089195c579e6901664b71a28e8adee4bc8f | 3d258230b3d08f43930e459fbe440e29849361ea | /Project_141B/server.R | 54055396bdc57cd8615e96aacb6fb26d8ca3fa70 | [] | no_license | jhuwu/Final_Project | 7bc3f76fe894c83a8ee6b1337f6d9d687b9a9ce0 | 1dbd89493890820e438bf0ebc9bb1f7d5214ec63 | refs/heads/master | 2021-04-10T01:59:47.485628 | 2020-03-21T03:48:29 | 2020-03-21T03:48:29 | 248,901,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,286 | r | server.R | server <- function(input, output, session) {
##############################################################################
#The air quality data at UC davis, including longitude and latitude at first tab
url_davis <- paste("api.airvisual.com/v2/nearest_city?lat=", "38.54",
"&lon=", "... |
c26968a14d6e6bcac7cee7ce415b59dbb634f4a0 | 97e8719e1d9488eb984922c0b7650d72456ebccc | /R/Stats_phosphate_shallow.R | 0e26cb0315d4f67acdd98d1e99ad242ec21f98fa | [] | no_license | ShunHasegawa/FACE_Lysimeter | 86a4342b0fa57247db1fdb6ad1962247c6ddc218 | 8cc1d2131a151441449fed2f34313d3c7881bcc5 | refs/heads/master | 2021-01-01T06:50:28.556022 | 2015-03-13T13:52:34 | 2015-03-13T13:52:34 | 20,640,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,604 | r | Stats_phosphate_shallow.R | ## ----Stat_FACE_Lys_Phosphate_S_preCO2
###########
# Pre-CO2 #
###########
range(lys$po[lys$depth == "shallow" & lys$pre])
bxplts(value = "po", data = subsetD(lys, depth == "shallow" & pre))
# remove higher outlier
boxplot(lys$po[lys$depth == "shallow" & lys$pre])
PRmOl <- subset(lys, po < 0.4)
bxplts(v... |
c9fc8c45b21dbddb3cccc639b3380132bdcd455c | 11436cc2c8745ea7ad5813d3066c5aef96ae6f28 | /man/integral.Rd | ad97f766f2a4de96177b1503c76e707e0b190f63 | [] | no_license | tankwin08/waveformlidar | 4cfe51298e8a601748bda38241d6c6372593705f | 5e689ccfb3f7ab1f2743a3a515923971e0735263 | refs/heads/master | 2021-05-16T14:06:25.194624 | 2020-09-23T02:05:20 | 2020-09-23T02:05:20 | 118,007,742 | 29 | 12 | null | null | null | null | UTF-8 | R | false | true | 2,512 | rd | integral.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/integral.R
\name{integral}
\alias{integral}
\title{integral}
\usage{
integral(
y,
smooth = TRUE,
rescale = TRUE,
thres = 0.2,
width = 3,
tr = 1,
dis = 20
)
}
\arguments{
\item{y}{is the waveform intensities. If you have other in... |
58fd963ce12d07c382e89bafca4dd5f1af6c8543 | 1ad621175b0e0f96555bfeb861a532a33e6d8ba7 | /functions/save.raw.data.R | d7b02a17e9facd73b6a3b3a4700839d5f8440698 | [] | no_license | enpjp/VC55-weather | 7fe0ea4e51ef2d3ff17c0b8aa858b26f9ff5e297 | 3cf7216eae7c51bcf83630d4916a9f3728c2c923 | refs/heads/master | 2023-04-14T22:00:26.097020 | 2023-03-17T09:39:19 | 2023-03-17T09:39:19 | 450,628,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 559 | r | save.raw.data.R | #' Save data in datumTriple format
#'
#' @param data
#' @param path.to.save
#'
#' @return
#' @export save.raw.data
#'
save.raw.data <- function(data, file.to.save){
path.to.save <- fs::path("data-raw", file.to.save, ext = "rds")
triple <- data %>%
map_df(as.character) %>% # Convert to character
pi... |
4ae80b2a89895430f711d81ef7f76daaefddbdbb | da4e3b5d4b0279bc1f6ff6381e19d9091e760f58 | /man/summary.morphyPtr.Rd | ea8c40f681a92df8b437475f0995c3a8b2366c44 | [] | no_license | ms609/inapplicable | e12df7a629b16fbb5ffaef6790377d8e2df87a68 | f749ef53df198c9d2d954bded8987e10fffdd3f1 | refs/heads/master | 2021-01-10T06:48:09.364877 | 2018-01-24T08:51:38 | 2018-01-24T08:51:38 | 54,025,855 | 2 | 1 | null | 2017-11-04T07:04:09 | 2016-03-16T11:22:34 | C | UTF-8 | R | false | true | 513 | rd | summary.morphyPtr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/morphy_objects.R
\name{summary.morphyPtr}
\alias{summary.morphyPtr}
\title{Details the attributes of a morphy object}
\usage{
\method{summary}{morphyPtr}(object, ...)
}
\arguments{
\item{object}{A Morphy object}
\item{\dots}{any other parame... |
e4690d0c24056fecbecba465bcec4a056596af4f | d2abf6cf847c276d43f0cfaf70c417e8e126f302 | /run_analysis.R | 76078611c2d794d3a412acb2a89199952b7d6de3 | [] | no_license | cahille/gettingAndCleaningDataCourseProject | 4b9cade77921ce34091dc67baabbe778a48b8f8a | 5d46db04c5801f778c189408a8d378f9691f468d | refs/heads/master | 2020-04-05T23:19:59.153051 | 2015-03-21T07:41:52 | 2015-03-21T07:41:52 | 32,623,520 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,046 | r | run_analysis.R | library(dplyr)
library(reshape2)
# slurp in the train data
xtrain <- read.table("train/X_train.txt", header=FALSE, sep="", stringsAsFactors=FALSE)
subjectTrain <- read.table("train/subject_train.txt", header=FALSE, sep="", stringsAsFactors=FALSE)
ytrain <- read.table("train/y_train.txt", header=FALSE, sep="", stringsA... |
bf1a4c50ebf61caec5e0b0ac51b5ba28aadad684 | fded24639877669796deaa9e9b73b200a8c564e6 | /R/simulate-binary-phenotypes.R | 2e235671a6e877b3a4be635a9925f524df741792 | [] | no_license | AdamDugan/FUNGI | 8bc50b4daf301d54a254edba18856938eae5268c | ca75d2894085f85ccbc8b0be1cf885f21b76d212 | refs/heads/master | 2020-12-04T22:08:49.755290 | 2020-03-04T19:07:15 | 2020-03-04T19:07:15 | 231,916,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,041 | r | simulate-binary-phenotypes.R |
#############################################
## Items to Help Troubleshoot the Function ##
#############################################
# ## Load the 1000 Genomes data
# ped <- read.table(file = "olgas-files/ped.ped",
# sep = "\t")
# info <- read.table(file = "olgas-files/info.info",
# ... |
e49c5b2b8e1a9fcc8b73d78c640d565eed559354 | 409c1e62254b8926387f337850acfa8e77ff5864 | /R/gpl341 validation.R | d7db0b97d08b998e6e4fb59d05c1fa4ddef68677 | [] | no_license | mjsduncan/sf | 4772861bc8c60f602359c0f315f48d966137cc22 | fb511aad59f668bc8178811d028f3afdbd38aaf2 | refs/heads/master | 2021-01-18T21:34:03.210834 | 2016-04-03T20:12:11 | 2016-04-03T20:12:11 | 20,629,118 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,620 | r | gpl341 validation.R | ### gpl341 validation by gds
# start with jpmEset.rdata: lapply(jpmEset, exprs): 15923 probe values per sample
load("~/GitHub/stevia/data/jpmEset.rdata")
rawEsets <- jpmEset[c("stromal", "r_hippo", "oculomotor", "spinal_cord")]
rm(jpmEset)
# apply impute::impute.knn k=10 nearest neihbors from max block size of 1500 gen... |
723c63d2497fdeeda1ffc8ac0848f90ac62f3cca | ac5c69316d737ff9406291a687e9ccd40ea8bd41 | /R/keepNsignif.R | c1097a2552d91c875b8f9e32030ce38201be9112 | [] | no_license | dmattek/tca-package | 6850519a77046f708ba8b82e889bc42338c7d065 | f6a059b0cabb1ac8001c472bc895325bd1376e5f | refs/heads/master | 2021-04-09T16:13:08.768966 | 2019-12-06T13:17:27 | 2019-12-06T13:17:27 | 125,763,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 976 | r | keepNsignif.R | #' Keep a number of significant digits in a data.table
#'
#' @param dt Data in data.table format
#' @param digits Number of significant digits to keep
#'
#' @return Returns original data table with numeric fields trimmed to n significant digits.
#' @export
#' @import data.table
#'
#' @examples
signif_dt <- function(dt... |
5831263afb27494b14b4f2fb04c7a3058b14943a | 05b9658b10a9fb7d646d5414ace5fe7e8777f88d | /man/gv_met_volt2vis.Rd | 9cd77ffb18540cce7842210f76120e382035ac7a | [] | no_license | yitping/gravityr | 1dd4e07cd28cd2a76b73a365aff792e5f14a6da6 | 7c4e2ac739287ab92b2ec929fc038c606cd651f3 | refs/heads/master | 2021-01-10T21:58:58.139989 | 2014-12-11T22:01:16 | 2014-12-11T22:01:16 | 39,164,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 504 | rd | gv_met_volt2vis.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{gv_met_volt2vis}
\alias{gv_met_volt2vis}
\title{Compute complex visibility for a time series of voltages}
\usage{
gv_met_volt2vis(volt, N = 4, abcd = 1:4, ka = c(0, 2, 2, 0))
}
\arguments{
\item{volt}{Vector of diode voltages}
\item{N}{Number of shifts per pha... |
2650ab629d090ae77757ed2510ba341acb263942 | 05248307f2f03099c99b0009d0cc1631cdbc50e9 | /inst/doc/recoding.R | dcbb5911a22403a804a33486ba1f381808f804ab | [] | no_license | cran/mde | 272f2d9185acc5d1b909cee97de4ef60e8c26b0a | 693a40f62ae8c96e40671dfe9cbf00038ee8d955 | refs/heads/master | 2022-02-18T07:31:12.423189 | 2022-02-10T11:10:06 | 2022-02-10T11:10:06 | 244,352,611 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,682 | r | recoding.R | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## -----------------------------------------------------------------------------
library(mde)
## ------------------------------------------------------------------... |
659e5d16a96a2c5eba7804419854dd76f03f0ff2 | 77bcb519cb641bc6d82bd183fe2192473c4dd70d | /man/idbp.Rd | 8d90c72d0e41b3cbe304edfd48397b5938050026 | [] | no_license | Karlstefanrehn/biocro-copy | c958910fa8d6fa296c0093274e1a75bd93a5ad8b | 6b32cb8e83b9a0dc591dadede8cb755832baa3e2 | refs/heads/master | 2021-09-18T10:43:01.467245 | 2018-07-13T08:58:20 | 2018-07-13T08:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,264 | rd | idbp.Rd | \name{idbp}
\Rdversion{1.1}
\alias{idbp}
\title{ Initial Dry Biomass Partitioning Coefficients }
\description{ Atempts to guess good initial vales for dry biomass coefficients
that can be passed to \code{BioGro}, \code{OpBioGro}, \code{constrOpBioGro}, or \code{MCMCBioGro}.
It is very fragile.}
\usage{
idbp(da... |
9d2a98236170f083c15288cfcc595acb1522c96d | 2e627e0abf7f01c48fddc9f7aaf46183574541df | /PBStools/man/restratify.Rd | f208ace599f9804d25fda14314b9de12af084428 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | pbs-software/pbs-tools | 30b245fd4d3fb20d67ba243bc6614dc38bc03af7 | 2110992d3b760a2995aa7ce0c36fcf938a3d2f4e | refs/heads/master | 2023-07-20T04:24:53.315152 | 2023-07-06T17:33:01 | 2023-07-06T17:33:01 | 37,491,664 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,473 | rd | restratify.Rd | \name{restratify}
\alias{restratify}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
PJS -- Restratify Survey by Depth
}
\description{
Restratify survey by using depth intervals not originally used in survey.
}
\usage{
restratify(dat, strategy, dbegin, dend, renamevar)
}
%- maybe also 'usage'... |
be57400c93cabb6093a55f617d82ad89447014d9 | 9cc7423f4a94698df5173188b63c313a7df99b0e | /man/analyze.lavaan.Rd | 3f8501825b78efe3b1c1a786fd56b388701b912f | [
"MIT"
] | permissive | HugoNjb/psycho.R | 71a16406654b11007f0d2f84b8d36587c5c8caec | 601eef008ec463040c68bf72ac1ed8d4a8f7751f | refs/heads/master | 2020-03-27T01:24:23.389884 | 2018-07-19T13:08:53 | 2018-07-19T13:08:53 | 145,707,311 | 1 | 0 | null | 2018-08-22T12:39:27 | 2018-08-22T12:39:27 | null | UTF-8 | R | false | true | 758 | rd | analyze.lavaan.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analyze.lavaan.R
\name{analyze.lavaan}
\alias{analyze.lavaan}
\title{Analyze aov objects.}
\usage{
\method{analyze}{lavaan}(x, ...)
}
\arguments{
\item{x}{aov object.}
\item{...}{Arguments passed to or from other methods.}
}
\value{
output
}... |
785f2c4f153a306d21bcf3423c64aa142db81770 | 59fcd757df0e2465dd42e7abec6cd59ada95ddb9 | /tests/run/test-visreg-lm.R | 3c7d70ebade4c46932786b007da49f5c4128dd17 | [] | no_license | cran/visreg | 8a5ba3d35997696ba59764097372a73c4de1ab58 | c37fcabf32c69264d4a4846f1bfd260d4f9d83e8 | refs/heads/master | 2021-05-24T01:15:28.693724 | 2020-06-04T19:30:02 | 2020-06-04T19:30:02 | 17,700,805 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 85 | r | test-visreg-lm.R | library(visreg)
f <- system.file('tests', 'visreg-lm.R', package='visreg')
source(f)
|
116a6e2a1440963c236c3c496bf749c681727ba8 | 608adcf47ef5c776429dfe2e555c20c0ef54547a | /man/fun.load.Rd | 8159d05d933a0531f830d79df250d0cf253ceca8 | [] | no_license | cran/widals | b722ad1e1e0938998461d8fe83e8b76437cbc031 | c431b52c0455ad4568072220838b571bacc3b6ba | refs/heads/master | 2021-05-15T01:43:27.321897 | 2019-12-07T21:20:02 | 2019-12-07T21:20:02 | 17,700,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,696 | rd | fun.load.Rd | \name{fun.load}
\alias{fun.load}
\alias{fun.load.hals.a}
\alias{fun.load.hals.fill}
\alias{fun.load.widals.a}
\alias{fun.load.widals.fill}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Stochastic Search Helper Functions
}
\description{
Functions that assign values and functions needed by \code{... |
2957702f818414d9316fcd9a4ae9533ef92ec567 | 1c84240eaf9e4469398e2b2347bc462684de7344 | /script.R | 9bd148dec378d1e0973cc4b637985f46699add84 | [
"CC0-1.0"
] | permissive | JaquesZanon/datradriven_cv | 4652327f0e904ff9611ec435d5feba9a4e514ce1 | 2ad4ba50a513ceb4dc3f13c3be9afc8a2fcfcb9c | refs/heads/main | 2023-03-21T14:24:54.301019 | 2021-03-15T17:30:25 | 2021-03-15T17:30:25 | 348,052,293 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,780 | r | script.R | devtools::install_github("nstrayer/datadrivencv")
devtools::install_github('mitchelloharawild/icons')
#library(googlesheets4)
#gs4_auth_configure(api_key = ".....")
#read_sheet("https://docs.google.com/spreadsheets/d/1uWsN_sXHwTmbgmNGUAy6FSFs4kEFJ_6li6SFR5UsutU/edit#gid=0")
#install.packages(googlesheets)
#li... |
829b5d47a8ee92289df70c84c6d827c0fc2d4bef | 3a8876cf29445f851168c865ace0292f9afecc02 | /man/badvalue_rm.Rd | 78590706a26835eb9b06e5436aec3481462aa9e2 | [] | no_license | sachserf/badval | 4b518379ca4e8eded5e1c085f490acc30da82e46 | 79e82b536d61451188f11cf170ea67d79f5c2714 | refs/heads/master | 2021-01-12T13:39:19.712943 | 2018-02-27T10:38:46 | 2018-02-27T10:38:46 | 70,050,829 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 865 | rd | badvalue_rm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/badvalue_rm.R
\name{badvalue_rm}
\alias{badvalue_rm}
\title{Remove bad values from data}
\usage{
badvalue_rm(data, badstring, badpattern, badindex = "BADVAL")
}
\arguments{
\item{data}{A data frame containing a column with an index of bad val... |
f0157a8870a6cb1a9e3ce7b3524327c76e9e1f74 | 7e3ce11bc22c009a399a36490ed962836d6aaff6 | /examples/DonchianChannel-intelligent_trading/intelligent_trading_donchian_qtopen_3818_month.R | 035bd2fbabc81ff10a64d954c919b44b08834f62 | [] | no_license | tedddy/Learn_R | 2340a1f73e0ab4a7e07b5aa97181bc42e7acd22f | a04cd823fb382b5457e3b043ec346b1ee5ab1724 | refs/heads/master | 2021-01-17T13:33:36.685310 | 2016-10-17T23:26:46 | 2016-10-17T23:26:46 | 25,558,722 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,884 | r | intelligent_trading_donchian_qtopen_3818_month.R | # http://intelligenttradingtech.blogspot.hk/2010/03/modified-dochian-band-trend-follower.html
# Refer to quantmod-vignette.pdf
# http://www.quantmod.com/documentation/getSymbols.yahoo.html
# troubleshooting
library(quantmod)
library(TTR)
# Set up symbol, start date, and end date.
tckr <- "3818.hk"
# star... |
6521211ea13943c6583fcb7422a1ac221e4f4706 | a4b67ea46787badabc054665407cb8b90f7e2819 | /man/getDataElementsOrgunits.Rd | a7fb88e8f13ed220fbadc4657cb850bb4b23bddd | [] | permissive | vikwato/datim-validation | 2745486588b70b23ee257385d1c8230ebfb8985d | f206c43ea7710917936c1627fa0da02ba5771832 | refs/heads/master | 2020-03-31T17:53:56.344120 | 2019-10-16T14:19:02 | 2019-10-16T14:19:02 | 152,438,101 | 0 | 0 | BSD-3-Clause | 2019-10-16T14:19:09 | 2018-10-10T14:33:42 | R | UTF-8 | R | false | true | 990 | rd | getDataElementsOrgunits.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/checkDataElementOrgunitValidity.R
\name{getDataElementsOrgunits}
\alias{getDataElementsOrgunits}
\title{getDataElementsOrgunits(data,organisationUnit,datasets)}
\usage{
getDataElementsOrgunits(organisationUnit = NA, datasets = NA)
}
\argument... |
eec5b60d77e32f3a0fbd55bee8c0753098e4b4b7 | c126e18a6dd12595c986c3b57722fe692dfaa7c6 | /R/as_proj.R | ca23a3e5c37e81dff32b3c0c734d12cd1c401a0d | [
"MIT"
] | permissive | crowcanyon/localgrid | 85d420ad0b47faec17e0339c10c9d7c7dcfe6045 | cd1453b0d983062d5b756fc57049397b2b5a1ead | refs/heads/master | 2023-03-20T10:56:34.543862 | 2021-03-12T02:02:32 | 2021-03-12T02:02:32 | 346,803,761 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 576 | r | as_proj.R | #' Create CRS definition in Proj system
#'
#' This function creates a new Proj-style CRS definition from list of named
#' elements.
#'
#' @param x A list of named Proj elements
#'
#' @return A length-1 character string with the Proj-style CRS definition
#'
#' @export
#'
#' @examples
#' as_proj(
#' list(
#' proj =... |
eda6a9a5f261666c9140727c93ad50a0e3dfc33c | e541579395d021c831e8e66d3c377d41c484d656 | /ExtremeGB_Full Code_Tariq.R | 3eaa6950dea9763b415e072a6cf46cbc1869b2de | [] | no_license | thaque2050/promotionprediction | f148e8310b8ced21cf332ffa160ee3d3c649ea91 | 089ca2c5f56ec0e44b88fae9501f47536914e9db | refs/heads/master | 2020-03-28T19:42:34.875583 | 2018-09-16T14:12:51 | 2018-09-16T14:12:51 | 149,002,030 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,729 | r | ExtremeGB_Full Code_Tariq.R | library(lattice)
library(ParamHelpers)
library(grid)
library(DMwR)
library(xgboost)
library(mlr)
library(dplyr)
library(tidyverse)
library(MlBayesOpt)
library(Matrix)
library(rBayesianOptimization)
train_data<-read.csv("train_LZdllcl.csv")
test_data<-read.csv("test_2umaH9m.csv")
#Summary of the data
... |
15d69ff69f3c350547a26be2d751ca4b977d7527 | dd0d26163c4a0498de5b25e4ee57c4ce70b2676d | /man/ecr.Rd | b7004b5285d26b42421fe6fe6119d51aec15a043 | [] | no_license | jakobbossek/ecr | a1f97be9b4cb3b2538becebb38c9a5085b8464c9 | f9954f5b1374cc70776f8b7e780f906e57ca50b7 | refs/heads/master | 2020-04-04T07:26:32.216427 | 2017-06-06T11:05:27 | 2017-06-06T11:05:27 | 17,904,690 | 13 | 5 | null | 2016-09-27T10:30:10 | 2014-03-19T13:15:56 | R | UTF-8 | R | false | true | 6,903 | rd | ecr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ecr.R
\name{ecr}
\alias{ecr}
\title{Interface to \pkg{ecr} similar to the \code{\link[stats]{optim}} function.}
\usage{
ecr(obj.fun, n.dim, lower = NULL, upper = NULL, n.bits, representation,
n.population, n.offspring, n.mating.pool = floor... |
2c2692d944f920afd751fef6da296639bc7264df | 933a029990944228d5e66724a4bf60cb6c62b13e | /tests/testthat/test-linreg.R | 2e0be24d423330c0e0e15126725c32f0a199905a | [] | no_license | cgrandin/tmbcompilationmwe | 237e23c27094bf5179bd30a0c81a6e3aa8d2fab2 | 8c96cc8f6ccdafcbdd873d784295ebedc34971d1 | refs/heads/master | 2022-11-19T05:48:46.887384 | 2020-07-16T09:11:33 | 2020-07-16T09:11:33 | 279,961,527 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 517 | r | test-linreg.R | context("Test linreg with TMB functionality")
test_that("Linreg works", {
j <- run_linreg()
expect_equal(format(j[1,], nsmall = 20, scientific = FALSE),
c("13.12724494489211046755",
"72.19984719690660313063",
"-0.00000019803342223771"))
j <- run_linreg(101)
exp... |
dfddf97b2b8db07775883b42c872eed10ffadd44 | 1145da6e1c01508c5d59f52f285702002f92e2d8 | /Chart App/app.R | 85ab0203969c7cdb64afecdd47443ecf4bcb84e2 | [] | no_license | SSEngland/Shiny | 096bb3997aaace06ef8788e742978aa00198e5fb | 9a015ffe47a8c26fb612be5c7dfd9db1bb3f0f50 | refs/heads/master | 2020-03-22T23:39:22.185665 | 2018-07-17T14:55:08 | 2018-07-17T14:55:08 | 140,821,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,903 | r | app.R | #the file has to be saved as app.R in order to work, don't ask why!
#library(shiny)
#ui<-basicPage()
#server<-function(input,output){}
#shinyApp(ui=ui,server=server)
#these 4 lines above are the basic structure of shinyapp
#library(shiny)
# ui<-pageWithSidebar(
# titlePanel("Title"),
# sidebarPanel (... |
1fa4045b9810790a5f26b5d9eee62a3e0c6fd3be | f557188d2bbe1f984fc9277d9e544befe65dffd2 | /Calculating Discharge.R | b7373efd6293343564e5374f4f33b77349f68d1f | [] | no_license | NehemiahDaGoat/Ecuador | 5a2b9b73a4a6263624743b2b7f7ea72f6dae7151 | 47acc1e9e8da489b4ea89b0bb03b1ba5b48e5296 | refs/heads/master | 2020-06-03T02:34:30.970601 | 2019-06-17T14:59:54 | 2019-06-17T14:59:54 | 191,398,384 | 0 | 1 | null | 2019-06-11T15:19:02 | 2019-06-11T15:19:02 | null | UTF-8 | R | false | false | 677 | r | Calculating Discharge.R | library(tidyverse)
#getwd(C:/Users/Nehemiah/Desktop)
#getwd(C:\Users\Nehemiah\Desktop)
# Set the working directory
setwd("C:/Users/Nehemiah/Documents/CarbonShed Lab/Data")
# Rename the Data
MMPast <-read.csv("C:/Users/Nehemiah/Documents/CarbonShed Lab/Data/Flow Data 6_4_19 - Marsh-McBernie Past-Injection Poin... |
633ba4932ad588bfc82ee15f745b207266a3b41b | a697d073c563fb4ea027bd72833816f7ba35dbf6 | /man/cancer.Rd | 1398a96ff3b99567ba3b8148ae6c9cff81965cc7 | [] | no_license | gckc123/StatsNotebookServer | b3e68bcbe94ace0ac0e4b3d431141325acb5b2da | e8810ba64fb970d68c4eee7c74cec8879ee05428 | refs/heads/master | 2023-02-04T17:19:19.995879 | 2020-12-25T23:00:06 | 2020-12-25T23:00:06 | 289,435,432 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 995 | rd | cancer.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cancer.R
\docType{data}
\name{cancer}
\alias{cancer}
\title{A simulated dataset based on the simulated cancer dataset from UCLA Institute for
Digital Research and Education}
\format{
A data frame with 5959 rows and 12 variables:
\describe{
... |
9cbe95b443be509389414b14644bd0420c54f29e | 46ead79262c5d0495cfac458c5e7aba10d556169 | /final.R | 4244843a8dec4101bcd18ba54a21a8ead46305ff | [] | no_license | lwshu/shiny-price-finder | af643edd75e45ec414d5a26b482388197c90dda2 | 1223ad15be49768a5c3746b668c88bc6ef5ddf1a | refs/heads/master | 2021-01-17T21:11:54.723364 | 2016-05-31T00:19:04 | 2016-05-31T00:19:04 | 60,044,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 315 | r | final.R | setwd("C:/Users/lshu0/Documents/shiny")
source("priceTable.R")
str_dt<-"2015-12-09"
end_dt<-"2015-12-26"
div_no<-26
item_no<-88732
store_no<-c(1333,3976,1594,2888,2432)
df<-priceTable(str_dt,end_dt,div_no,item_no,store_no)
runApp("C:/Users/lshu0/Documents/shiny")
xxx<-printPrice(str_dt,end_dt,div_no,store_no)
|
eec1916da80c78a5eec9f470a98205a410d1412a | 4798b648072b27e08e56235b90f11a3ba359755a | /man/gtf_to_position.Rd | abca6329f52dc0b1eb86f538b0c9ddad66b5326f | [] | no_license | CharleneZ95/infercnvPlus | 44620c5a70af77d829a29916907711b835157d02 | 1cf1fb427520c5d6cfb87b177c047433fa0b9f73 | refs/heads/master | 2021-05-19T17:43:08.225022 | 2020-04-04T08:59:27 | 2020-04-04T08:59:27 | 252,051,599 | 5 | 2 | null | null | null | null | UTF-8 | R | false | true | 473 | rd | gtf_to_position.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{gtf_to_position}
\alias{gtf_to_position}
\title{Generate a genomic positions file from a GTF file}
\usage{
gtf_to_position(gtf, out_file = "genomic_positions.txt", out_path = "./")
}
\arguments{
\item{gtf}{path to input gtf file... |
d0c4a35da9fc163023a53746b76f65e53631365c | 326537a42f5a3f128fbb26fda2ababa3e2de2576 | /HEQTL/mailman/RHE_cleanV.R | fc1bab429c51de8eedf784c0ebd721846b597f08 | [] | no_license | gc5k/Notes | b3f01c7c89d63de565bd968c99234ab04da51273 | 981d4d6935a446f09fb788e12161288d9727faa6 | refs/heads/master | 2022-10-01T08:42:13.174374 | 2022-09-12T03:03:58 | 2022-09-12T03:03:58 | 38,083,965 | 2 | 2 | null | 2016-08-14T07:02:59 | 2015-06-26T01:34:57 | null | UTF-8 | R | false | false | 1,446 | r | RHE_cleanV.R |
n=500 #sample size
m=10000 #marker
h2=0.3 #heritability
SM=100 #simulation
BS=30 #randomization factor
b=rnorm(m, 0, sqrt(h2/m)) #effect
BEst=matrix(0, SM, 2)
H2=matrix(0, SM, 2)
H2V=matrix(0, SM, 2)
LK=0
TIMER=array(0, 2)
I=diag(1, n,n)
fq=runif(m, 0.1, 0.5)
x=matrix(0, n, m)
for(i in 1:m) {
x[,i]=rbinom(n, 2, fq... |
13deb2d72e2caced1a0430a41674d944a38a8fd6 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Introductory_Business_Statistics_by_Alexander_Holmes_Barbara_Illowsky__Susan_Dean/CH10/EX10.8/Ex10_8.R | 3f37b55dfa8a05f6ca0f6686676c9f384eb69bac | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 870 | r | Ex10_8.R | #page no : 434-435
x1=61.675
x2=61.704
psd1=10.17
psd2=9.55
n1=30
n2=30
mdiff=abs(x1-x2)
sd=sqrt((psd1^2/60)+(psd2^2/60))
t_stat=((mdiff/sd))
alpha=.05
t_critical=qnorm(1-alpha)
print(paste("t critical=",round(t_critical,2)))
p_value=pnorm(t_stat)
if(t_stat>t_critical)
{
print("Reject H0")
}else
{
... |
514a53fd09e37c600bab7274d97800c676b69d42 | 93085075f4b9a8418e524981ef51581750494ba2 | /run_analysis.R | 21057e4a01fdd41dad5222f765e57438009813df | [] | no_license | satipatthana/TidyData | 7e8ae94629a198067969d1109aa82655c9027dfb | 8a0a1ba9eaa1b2b863ee894cc56ffc04019d802b | refs/heads/master | 2021-01-10T04:03:31.758522 | 2016-03-06T06:22:06 | 2016-03-06T06:22:06 | 53,240,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,920 | r | run_analysis.R | library(dplyr)
library(data.table)
# Read Activity Labels from file "activity_labels.txt" into data frame "actlabel"
actlabel<-read.table("activity_labels.txt")
# Read 561 feature vector from "features.txt" into data frame "fnames"
fnames<-read.table("features.txt")
#Store 561 variable names in a list, "fl... |
012ab881a39e9b5501b5029d736b3acff26afe4d | 0c1c6b6be35d18e024efcc6059b3b22d89ce4965 | /getData.R | 883a06e47f798abb4d4aca2b0949ddfdf74a8e00 | [] | no_license | ronrest/ExData_Plotting1 | 1bab741343866875b14f7fde054a6c4e12498588 | f1d056dfacbcf47a752f071366cdf702b18a99cc | refs/heads/master | 2021-01-17T06:42:41.431522 | 2015-03-08T21:30:14 | 2015-03-08T21:30:14 | 31,803,106 | 0 | 0 | null | 2015-03-07T06:08:25 | 2015-03-07T06:08:25 | null | UTF-8 | R | false | false | 5,020 | r | getData.R |
getDataInDateRange <- function(datafile, startDate, endDate){
# ==========================================================================
# GET DATA IN RANGE
# ==========================================================================
# Gets sub... |
82a743622e69b0daec9cfc0bbb76298b8e081669 | 8933501a79dd57d38bbf1967d62f1b07823832bd | /F_LibreData_transformation(update).R | 54cacfa04c6dd57fff21b75387c9c076b245c270 | [] | no_license | imeunsolee/libre-forWellCheck | 44951a6c8b43c0cf13280d97fcb62eadd0c62c2b | e1975ee2b131ef0387618d33cdca7c49ff3f03a5 | refs/heads/master | 2023-08-21T14:10:30.516551 | 2021-10-22T12:01:12 | 2021-10-22T12:01:12 | 395,664,591 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,146 | r | F_LibreData_transformation(update).R |
##########################################
## LibreData_transformation
## ---------------------------------------
## input
## . inFileName : 'NAME_glucose_YYYYMMDD.xlsx'
## . FinalDate : 리브레 종료일 YYYY-MM-DD 의 형태
## . mod : 1=1기간 분석 2 = 2기간 이상 분석
## .... ver 2.0 에서는 mod = 2 에서 최대 2개 기간만 출력하도록 제한해둠 ####
## --------... |
a3fe0edb40cb9676f9d1c23455d556f3289bd237 | 444b4fa85eb7bf53d3fe963e5b60b121928637af | /man/makeRegulatorGraph.Rd | 592f40de56a931e9a164c2d84f0f9fa596495707 | [] | no_license | nathaliepochet/amarettoTools | db37fc1f8eea5e3c6b92d63ffff3840fa3e8fa6d | aa541ca51c6f50670aaaa076b4bceef27186ac18 | refs/heads/master | 2020-07-01T05:50:56.586885 | 2018-08-09T16:05:55 | 2018-08-09T16:05:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,036 | rd | makeRegulatorGraph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/doRegGraph.R
\name{makeRegulatorGraph}
\alias{makeRegulatorGraph}
\title{produce a graph that summarizes regulator-module relationships}
\usage{
makeRegulatorGraph(dataFolder = ".", modpatt = "^Module_")
}
\arguments{
\item{dataFolder}{charac... |
5e76ce5553042a17c017e302f3c44afbd7d42518 | 141cb000c5bd54fda357cefe87290a362aa008f2 | /R/caption.R | 59c54896f0361bc6685c0f9dd0a29348a2ede0e4 | [] | no_license | 2ndFloorStuff/reports | e632286f13ae90ca0af10721c9a80ae06a0e4fd8 | 98ca03c2e0344421cf2d9482495f8dd1448e3c0f | refs/heads/master | 2020-12-14T00:21:06.820047 | 2015-07-03T20:47:06 | 2015-07-03T20:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,932 | r | caption.R | #' Captions for Figures and Tables
#'
#' \code{caption} - Keep track of numbering for table and figure captions.
#'
#' @param type Either "figure" or "table" or accompanying numeric reference:
#' figure = 1, table = 2.
#' @param label A hyperlink reference label.
#' @param caption A caption to place below/above a fig... |
1328b9f1faadde0b0f3cff711b69ab2563a790f3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/spatstat/examples/as.linfun.Rd.R | 08ceb6b027a85d0137076dcb8c8ea032edfe60f6 | [] | 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 | 497 | r | as.linfun.Rd.R | library(spatstat)
### Name: as.linfun
### Title: Convert Data to a Function on a Linear Network
### Aliases: as.linfun as.linfun.linim as.linfun.lintess
### Keywords: spatial manip
### ** Examples
X <- runiflpp(2, simplenet)
Y <- runiflpp(5, simplenet)
# image on network
D <- density(Y, 0.1, verbose=FA... |
98d60e4e7503041afa4636df98fe3191cf827bcb | 849e2bc163e16bb03800b4b1754086e8adcfecb6 | /Braga et al/boilerplate.R | cbbd578e23cdc99677bb6b992bc943f854f06348 | [] | no_license | merckey/HLCA | 46362226a8cc2ee80465d02b1164062ebb2f81d6 | 899dd282c36db5b09ded8f522fa3ba239fad1347 | refs/heads/master | 2023-06-13T01:43:54.477980 | 2021-07-06T18:36:31 | 2021-07-06T18:36:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,706 | r | boilerplate.R | if (!require("useful")) {
install.packages("useful", dependencies = TRUE)
library(useful)
}
if (!require("here")) {
install.packages("here", dependencies = TRUE)
library(here)
}
if (!require("Seurat")) {
install.packages("Seurat", dependencies = TRUE)
library(Seurat)
}
if (!require("dplyr")) {
install.pac... |
61411f64761c652d3328678b46cbe579b6becb9c | f6990f4746aca0291bc6970286ad6d46b9866a55 | /man/alpha.beta.sigma.Rd | 75256bac7976f9171e605c9b2c0cd3d67418691c | [] | no_license | cran/merror | 3c730db7c55bb309b055f14a23ce120647aacd3d | 9b606d2e3ed3b6f89df35c0a4e73a5b8b50584a2 | refs/heads/master | 2023-08-31T05:10:07.313831 | 2023-08-29T13:20:02 | 2023-08-29T14:30:47 | 17,697,402 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,738 | rd | alpha.beta.sigma.Rd | \name{alpha.beta.sigma}
\alias{alpha.beta.sigma}
\title{Build an alpha-beta-sigma Matrix for Use with the cplot Function}
\description{
Creates a \eqn{3 \times N} (no. of methods) \code{matrix} consisting of the estimated alphas, betas, and imprecision sigmas for use with the \code{cplot} function.
}
\usage{
alpha.be... |
44abad9004c2c376f92eef334dfc7a7cb04fa870 | 1c49c1f9b7e1d664e512f3b2830c8baf5dd1b7d0 | /scritps/tema2/05-plots.R | 35c1f921cda9be97df92f93f31fff0c3a6de5227 | [] | no_license | fmcarrero/course-R | 98354f4c93433debb2342c87e7a918f6a7a62224 | 456116e7e375b75534eee1eb32c861021dad95ed | refs/heads/master | 2020-03-14T13:57:41.303257 | 2018-06-26T21:09:43 | 2018-06-26T21:09:43 | 131,643,585 | 0 | 0 | null | null | null | null | ISO-8859-10 | R | false | false | 1,616 | r | 05-plots.R | auto <- read.csv("../data/tema2/auto-mpg.csv")
auto$cylinders <- factor(auto$cylinders,
levels = c(3,4,5,6,8),
labels = c("3cil","4cil","5cil","6cil","8cil"))
attach(auto)
head(cylinders)
#histograma de frecuencias
hist(acceleration,
col= rainbow(12), # obtien... |
0073f4a839315d03ebf2275b7aec61bbf212d9b6 | 8ef0b905e874e873d2ce00c1d1a68ea0ccdbeda8 | /plot2.R | 7c46626ebde9c50c67c61150be7c5e401187c5b6 | [] | no_license | TSestini/ExData_Plotting1 | d5d124a7c98ece980ce806a966ca80280c6b6634 | 2c0889658290708e3cfb4729bab5b0b00ec51aa3 | refs/heads/master | 2022-10-22T18:10:35.171283 | 2020-06-15T15:49:01 | 2020-06-15T15:49:01 | 272,323,679 | 0 | 0 | null | 2020-06-15T02:26:50 | 2020-06-15T02:26:49 | null | UTF-8 | R | false | false | 668 | r | plot2.R | #### Plot 2
data <- read.table("household_power_consumption.txt", sep = ";",
nrows = 85000, header = TRUE)
# subset and format the date and time variables
data_subset <- data[data$Date == "1/2/2007" | data$Date == "2/2/2007",]
x <- paste(data_subset$Date, data_subset$Time)
x2 <- strptime(x, format ... |
8118f68bd07bfd1ba906a9709d74347cce00ee35 | 246f3eee3cec218e972f64a1424fc900d167eedb | /find_best_threshold.r | 7454aaf5b22de5d8d54a341b9736595183ac3ca0 | [] | no_license | jwhitehill/MultiEnrollmentProjectWithDustin | a37aa68cc177338d61cd60e72caa28fb752bb0b9 | 21e14a5c597710b3680730d35522a4f567abbb6a | refs/heads/master | 2021-01-18T23:49:20.689242 | 2016-10-03T20:07:37 | 2016-10-03T20:07:37 | 45,936,727 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 531 | r | find_best_threshold.r | library(glmnet)
library(doParallel)
registerDoParallel(4)
source("utility.r")
if (! exists("d")) {
d <- loadData("train.csv");
}
X <- model.matrix(numCoursesAll ~ continent + LoE + ageRange + gender, d)
# Try a bunch of different thresholds
for (threshold in 1:30) {
# Binarize as numCoursesAll > threshold
y <- mat... |
7d92760891f28e639e3897df8f2e42b761325bbc | ab84adde7680f319f025396f156adb7d1df66b65 | /data-raw/cow_igo.R | f56bc2425d8dda6a57820f534d0f9cede5e92754 | [] | no_license | Louis8102/peacesciencer | 9492d44c0749ef484611003e1c7518293a4d73c4 | cc6f9b6130779b451a1300a7b199bc87904fb5b2 | refs/heads/master | 2023-04-15T11:30:23.807519 | 2021-04-28T14:56:46 | 2021-04-28T14:56:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,335 | r | cow_igo.R | library(tidyverse)
library(qs)
# This is just the dyadic_formatv3.csv, but compressed because Jesus this file is huge.
QIGO <- qs::qread("~/Dropbox/data/cow/igo/dyadic_formatv3.qs") %>%
# If it's negative, it's either missing or IGO not in existence
mutate_at(vars(AALCO:ncol(.)), ~ifelse(. < 0, NA, .))
QIGO %>%
... |
060bb907c01e62ef5260d5b54acb8144d238a487 | 786d9bb431757c75ca7cc2dff2bf5d95765cc494 | /man/getEOTpaper.Rd | 3cf76c820765281efab9f9b6a5b917c189906e01 | [
"MIT"
] | permissive | NNpackages/NNtable | 573e7c046485b967852f50e7ae5effdc8d92bc12 | 6543edba390afccd5a25c615fa5fa5633107fd5a | refs/heads/master | 2023-06-08T09:39:50.570322 | 2021-06-15T07:23:33 | 2021-06-15T07:23:33 | 376,915,843 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 803 | rd | getEOTpaper.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getEOTpaper.R
\name{getEOTpaper}
\alias{getEOTpaper}
\title{Get EOT paper size}
\usage{
getEOTpaper(
orientation = c("port", "land"),
font_size = 8,
figure_size = c("defeault", "full"),
type = c("table", "listing", "figure"),
format... |
475adb00cfe0b3ea64f8d2fa319f0f6846ed56be | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/9231_0/rinput.R | c177ce6cd0b03057097807419dad9dbf1a091bf2 | [] | 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("9231_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="9231_0_unrooted.txt") |
09e265d9afd056629e326e59e98e5d2ec25e1794 | 71a9be645e2887158588276b57b44b6739a06147 | /R/constructLimit.R | 0bbc2f7b7a8e02c742c07c90b593c9f48a090912 | [] | no_license | gkovaig/pg13 | 87a1010b192cf203343e9387845c871a189177a8 | 56a85a32fef3f5fc599189a2c8ebc7f880a6e056 | refs/heads/master | 2022-12-02T14:29:47.604008 | 2020-08-16T23:35:20 | 2020-08-16T23:35:20 | 288,041,994 | 0 | 0 | null | 2020-08-16T23:34:05 | 2020-08-16T23:34:04 | null | UTF-8 | R | false | false | 482 | r | constructLimit.R | #' Construct LIMIT
#' @description This is a non-terminal render, meaning that the SQL component will not be terminated with a semicolon in order to construct complex SQL queries.
#' @import SqlRender
#' @param n rows to limit to
#' @export
constructLimit <-
function(n) {
base <- system.file(package='pg1... |
023736d3aec27a12650ab1d8a29746aab125f9f5 | 79247212d97cd82281783a71912d1305ff1ad652 | /plot2.R | 26b0b3e3bda39c9350de111827acd357dc50c436 | [] | no_license | rl89/ExData_Plotting1 | 03bb1db157b07a1419aab8550f91d2f6234f3de2 | ef238fb5bf5dcaadd9bfea0f8d246e274e224240 | refs/heads/master | 2020-04-01T22:43:42.894588 | 2015-05-10T15:41:53 | 2015-05-10T15:41:53 | 35,340,437 | 0 | 0 | null | 2015-05-09T18:37:19 | 2015-05-09T18:37:18 | null | UTF-8 | R | false | false | 726 | r | plot2.R | plot2 <- function(){
data <- read.table("household_power_consumption.txt", sep = ";", header = T, skip = 66000, nrows = 3700)
names(data) <- c("Date", "Time", "Global_active_power",
"Global_reactive_power", "Voltage", "Global_intensity",
"Sub_metering_1", "Sub_meter... |
772078fca748ef237a17977bfe87ec04d82dc713 | cc3d854fcdd2a2e6744379f23468d42079430f16 | /man/m2_names.Rd | 13f87fc19560f1d8459839c087761a44024a40d4 | [
"MIT"
] | permissive | sevenpark/AvenueAPI-R | c38eb391bc47e1c5a56e1b40e5bae7a38f7b66fc | 31cadd394f3116ebdb8e482d1a2ca790b8694747 | refs/heads/master | 2021-07-03T16:12:22.280787 | 2017-08-21T16:39:03 | 2017-08-21T16:39:03 | 100,972,537 | 0 | 0 | MIT | 2020-11-19T18:46:51 | 2017-08-21T16:35:28 | R | UTF-8 | R | false | true | 353 | rd | m2_names.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_resources.R
\docType{data}
\name{m2_names}
\alias{m2_names}
\title{Valid Firm Names for the Merchant Intel2 Data Series}
\format{A character vector of length 571}
\usage{
m2_names
}
\description{
Valid Firm Names for the Merchant Intel2 ... |
dc73d634ecdfd36ea551bcf3b174d91378c19f90 | c015d6f605f0820f10deabbcb9ef846ffbe110be | /Kras_CCLE_LungCancer.R | e70472d293dec83c08bb4f8f76c8446459b71adc | [] | no_license | smacneil1/Lung_Cancer_Project_KRAS | 0c230f4cb0109ad85eafa936314966e1b7cf1033 | ce9f438dc26129cf46a848c98d93233f03f17993 | refs/heads/master | 2021-01-23T03:05:20.598992 | 2015-08-01T23:50:08 | 2015-08-01T23:50:08 | 38,844,660 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,489 | r | Kras_CCLE_LungCancer.R |
##########Running validated 300 gene KRAS signatures on samples####
library(ASSIGN)
library(sva)
# get this file
gfp_kras<-read.table("~/Documents/ThesisWork/GitRepos/Lung_Cancer_Project_KRAS/36_GFP_KRAS_TPMlog2.txt", sep='\t', header=1, row.names=1)
head(gfp_kras)
dim(gfp_kras)
CCLE<-read.table("~/Documents/Thes... |
a8715848ee5d9593696506de55ab60e905be8538 | bb164f34ab0b39465f195c95e31c49f1c34c0292 | /man/Elasticity.Rd | 8abf384d91c34669c19bc83c651cc6311dc88900 | [] | no_license | ashander/matrixmodels | d02538457e9ccd2bdb7446e73fde02637df0113d | 5ed079365074e26b35901486fcab5c952b58a7f3 | refs/heads/master | 2021-01-10T21:18:49.089832 | 2015-08-29T21:25:43 | 2015-08-29T21:25:43 | 4,160,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 462 | rd | Elasticity.Rd | \name{Elasticity}
\alias{Elasticity}
\title{Compute a matrix of sensitivities}
\usage{
Elasticity(A)
}
\arguments{
\item{A}{projection matrix for population model x(t+1) =
A x(t)}
}
\description{
Compute a matrix of sensitivities
}
\details{
The sensitivity is defined as the change in dominant
eigenvalue, i... |
7091b16ac7bfbc09c459d89de3a76f6f5eb05882 | cb44591f1d940bd1f08bd30991b769da23127ebf | /Data Cleaning &EDA.R | 6f972b8d6ad2dbe4e3decc9a8c6d99ad8b0a48b9 | [] | no_license | angelayuanyuan/PUBG-Finish-Placement-Prediction | cb5a0f9a5591cfc005bcc64682cd5c0b2c404cd5 | e3d7a353d82867b0c682b83e461368d2d8fab690 | refs/heads/master | 2020-03-31T09:52:00.209085 | 2018-10-09T01:49:13 | 2018-10-09T01:49:13 | 152,113,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,368 | r | Data Cleaning &EDA.R | library(data.table)
library(ggplot2)
library(dplyr)
###########################################
############## Read Data ##################
###########################################
# train.raw <- fread("../all/train.csv")
# test.raw <- fread("../all/test.csv")
# train <- saveRDS(train.raw,file = "train.rds")
# te... |
31d9cf6d5c998a7c145338a3f398e5ce17bf56ac | 8b982bcdfa3a2f6b7897626f3849fc1536c220bf | /src/xgb_airbnb.R | a0a5c5dd2d28aeb1aa3333b90479fbb06d96d202 | [
"MIT"
] | permissive | syyunn/bays-dl-paper | 766c1dfe1bd5602c92743d0b06b90cc18bed00ad | 40191d0d900513c2568c299ff11e6dc27103a708 | refs/heads/master | 2020-12-09T13:42:00.656688 | 2018-04-02T20:21:26 | 2018-04-02T20:21:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,826 | r | xgb_airbnb.R | # This R script is based on indradenbakker's R script
# I customized eval_metric ndcg5 so that it is much easier to monitor ndcg value.
# load libraries
library(xgboost)
library(readr)
library(stringr)
library(caret)
library(car)
set.seed(1)
# load data
df_train = read_csv("../data/airbnb/train_users.csv")
df_test ... |
c305b9bf7e478eedccacd2df700b9e2a5544536d | 29585dff702209dd446c0ab52ceea046c58e384e | /humanFormat/R/formatDuration.R | 6f574ca34b704eaadd329b2e619d685ec5ac0b94 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,184 | r | formatDuration.R | kNanosecond <- 1
kMicrosecond <- kNanosecond * 1000
kMillisecond <- kMicrosecond * 1000
kSecond <- kMillisecond * 1000
kMinute <- kSecond * 60
kHour <- kMinute * 60
formatDurationSmall <- function(ns) {
sizes <- c('ns', 'us', 'ms', 's')
e <- ifelse(ns == 0, NA, floor(log(ns, 1000)))
suffix <- ifelse(ns == ... |
690effd213f99825dfcddf85813f8e13c6b7cc97 | a6dd945657d063735fce788ad2fe2659843bae33 | /Generating Families Functions/sim.simCurAgeVar.R | 66f78ebf5a26acad70546a6b3ba322bbbaf7955e | [] | no_license | theohuang/Gradient-boosting | bea103b232c0e1f45d55dbd3c6a514d026f5ff2c | 2abe54ea2b1cf9fbf4a68450f19595150e20c0ad | refs/heads/master | 2021-03-22T05:17:08.481646 | 2020-09-09T13:59:36 | 2020-09-09T13:59:36 | 120,679,021 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,216 | r | sim.simCurAgeVar.R | #' Simulate Current Ages for Branch
#'
#' Returns a numeric vector of current ages for the progeny of the
#' branch, plus any parents who have missing ages (parents who were simulated/not
#' blood relations of the main family, i.e. spouses or the grandparents). The
#' childrens' ages are simulated based on their mo... |
92453265c017fc4613dbfc54328c23618e8aa921 | 9848b0e405a4a36f24d903ebe9dd8d505d14251d | /ts_trend.R | 8702f42259048379f8c5d54d18a33cc4f0e3be20 | [] | no_license | jsn-jin/economic-forecasting | b73e968923974711f065e71b99c262f8f686d8c0 | 4e04411537ff09c9f17f932213f5288ad3810afb | refs/heads/master | 2022-12-09T10:57:31.053283 | 2020-09-03T12:59:42 | 2020-09-03T12:59:42 | 272,431,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,533 | r | ts_trend.R |
#********************************************************************************
# Date: 08/17/2020
# Comment(s): R code example for fitting/forecasting a trend to ts data.
# Data File(s): labordata.dat
#********************************************************************************
# Variable Definitions
# male = l... |
33592117129e70d99746c822edfe67e31a1d8161 | 547df70472fc95f3b253e83672d4fc26b776e915 | /ignore_files/iNatskew/inat_skew.R | 8171bad8aa10c18755896a6be7c18fd1fdcaabb5 | [] | no_license | mbelitz/belitz_etal_phenometrics | ea6e5f3bf6a273e16d47e3fbd156c2fbf7f0a325 | 77deb08e47529aba8787c084810124e6788d01ae | refs/heads/master | 2020-09-06T03:41:16.093047 | 2020-05-22T12:37:59 | 2020-05-22T12:37:59 | 220,308,913 | 0 | 0 | null | 2020-01-07T16:41:04 | 2019-11-07T19:02:51 | R | UTF-8 | R | false | false | 7,484 | r | inat_skew.R | library(dplyr)
library(ggplot2)
oh <- read.csv("iNatskew/pollard_flightcurves_OH.csv", stringsAsFactors = FALSE)
inat_test <- read.csv("iNatskew/iNat_testdata.csv", stringsAsFactors = FALSE)
scybele_oh <- oh %>%
select(S.cybele, surveyN, DAY)
anumitor_oh <- oh %>%
select(A.numitor, surveyN, DAY)
cpegala_oh <- o... |
e8e277630741db1b08c8b3884b8c2ecee20e4f70 | b072ec289aea8a1aa440cadf163860ad0e7ed448 | /man/QGlink.funcs.Rd | 958a378c578a968fab09f7eb77bf681974a3b271 | [] | no_license | hschielzeth/QGglmm | 2648b9e59b7e6d78940e3e3b22856b9d66a186e9 | 71f79ebf95be73859cc69357f22efeaacd62aee1 | refs/heads/master | 2020-04-06T04:18:29.023932 | 2015-04-09T16:46:21 | 2015-04-09T16:46:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,048 | rd | QGlink.funcs.Rd | \name{QGlink.funcs}
\alias{QGlink.funcs}
\title{List of functions according to a distribution and a link function}
\description{
Function yielding different functions (inverse-link, variance function, derivative of the inverse-link) according to a distribution and link function.
}
\usage{
QGlink.funcs(name, n.obs = NU... |
63d4fa457b0d71087e248eaa0a1115496ad52b33 | 6de2291ac367f454f5836887a2b359896a78c73f | /man/dodgr_flowmap.Rd | e8184f34abc44935882209beb53771f39de8e095 | [] | no_license | Robinlovelace/dodgr | 5245332da4c70fa6b03a9125e3cdad6a7003d4e2 | faf1923a0d8445f6ff541962cffd20f60f9a1b83 | refs/heads/master | 2023-07-06T00:46:43.415537 | 2017-12-15T18:29:25 | 2017-12-15T18:29:25 | 104,320,576 | 0 | 0 | null | 2017-09-21T08:15:52 | 2017-09-21T08:15:51 | null | UTF-8 | R | false | true | 735 | rd | dodgr_flowmap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/flowmap.R
\name{dodgr_flowmap}
\alias{dodgr_flowmap}
\title{dodgr_flowmap}
\usage{
dodgr_flowmap(net, filename, bbox = NULL, linescale = 5)
}
\arguments{
\item{net}{A street network with a \code{flow} column obtained from
\code{dodgr_flows}}
... |
bfd61eef22ff8b18a25b499d38b12a3dc2aa31c4 | a462a24ff937e151e8151f3a1bdc9c3714b12c0e | /2021JIFS/8.data_outliers.R | a674e5abbc5d746484ea30366be5affc53d68709 | [] | no_license | noeliarico/kemeny | b4cbcac57203237769252de2c50ce959aa4ca50e | 50819f8bf0d19fb29a0b5c6d2ee031e8a811497d | refs/heads/main | 2023-03-29T14:36:37.931286 | 2023-03-16T09:04:12 | 2023-03-16T09:04:12 | 330,797,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,213 | r | 8.data_outliers.R | quantiles <- enframe(quantile(res_me_8$exec_time), name = "perc") %>% mutate(n = 8) %>%
bind_rows(enframe(quantile(res_me_9$exec_time), name = "perc") %>% mutate(n = 9)) %>%
bind_rows(enframe(quantile(res_me_10$exec_time), name = "perc") %>% mutate(n = 10)) %>%
mutate(perc = as.factor(perc),
n = as.facto... |
c2badc6cad4a08cfae6f0166561a1e3d87a3bcb6 | fe17a58bd22e306aa3b5028dd1261c9b72d3037f | /man/func.tilemap.Rd | 08d463c1c8e6c9cfa77b42278dc50fc9b9cd47a9 | [
"MIT"
] | permissive | mrmtshmp/ExploratoryDataAnalysis | 2742d5aded4d8628d712734ec40d1ab1fe2f2ab5 | 0d5ee51a43ebe537e84e446ff189ec3c390b4bf7 | refs/heads/master | 2021-07-08T22:15:20.506869 | 2020-10-05T08:33:36 | 2020-10-05T08:33:36 | 200,771,127 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,842 | rd | func.tilemap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tiling.R
\name{func.tilemap}
\alias{func.tilemap}
\title{Make heatmap-like tile plot. (wrapper of gplots::heatmap2)}
\usage{
func.tilemap(
fn.output.pdf = "Tile",
surfix.maintitle = "Group: ",
bin = FALSE,
n.breaks = 20,
col.bias = ... |
1a4462a9c4908606d710332918077f8d20a6959d | ad84018684ec74390bb26e8f812b6eaa06966ea5 | /plot2.R | 4afe56b4d624253c716898bd626ea9f084bdf6ea | [] | no_license | dfursevich/ExData_Plotting1 | b9dfc99b7ec5164dac9e71d991ab3302ba2d3eab | c8166c621ea7a884b3a65620756438feec52b6f4 | refs/heads/master | 2021-01-20T22:45:54.985899 | 2015-09-09T17:29:11 | 2015-09-09T17:29:11 | 42,185,736 | 0 | 0 | null | 2015-09-09T15:03:00 | 2015-09-09T15:03:00 | null | UTF-8 | R | false | false | 459 | r | plot2.R | data <- read.csv("d:/coursera/Exploratory Data Analysis/data/household_power_consumption.txt", sep = ";", na.strings="?")
data$Date <- as.Date(data$Date, format="%d/%m/%Y")
data <- subset(data, Date >= as.Date("2007/02/01") & Date <= as.Date("2007/02/02"))
png(file = "plot2.png")
plot(data$Global_active_power, type="l"... |
e160fc0f4e35d51b313331467318b7e2016effd6 | 5ad706fdaa7ec49564fe8f48f37aafd44ebed397 | /R/common.calculations.1.R | 43481f2adae911eaf339878c7d6a42c4c5296888 | [] | no_license | cran/pems.utils | 34d79305d0cbfdddc5f798e49381a264eee3d864 | 8763120b096dc7fe37482f47f0f6188931ab404a | refs/heads/master | 2021-07-07T11:48:43.028189 | 2021-04-25T05:40:02 | 2021-04-25T05:40:02 | 52,953,467 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,012 | r | common.calculations.1.R | ##########################
##########################
##common calculations
##########################
##########################
#kr
#description
##########################
#functions to do common calculates
#includes
##########################
#calcDistance
#calcSpeed
#calcAccel
#calcJerk
#i... |
1a8993a78067be5bf48aa62a69f65c523b3c72aa | 9477c6d638c2918ca4b03eefe0cbe067b790ceaa | /R/HybridFinder.R | e29aaf40f1b0d53f7e9fbc794584aa71768fe303 | [] | no_license | cran/RHybridFinder | bbbfddab71db4890cd3d6c5ebf463731e6803542 | 3a89236619fc5f249a816ae80fd4ea35daf251df | refs/heads/master | 2023-07-07T14:29:51.392978 | 2021-08-17T15:30:24 | 2021-08-17T15:30:24 | 379,599,210 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,032 | r | HybridFinder.R | #' @title HybridFinder
#' @description This function takes in three mandatory inputs: (1) all denovo
#' candidates (2) database search results and (3) the corresponding proteome
#' fasta file. The function's role is to extract high confidence de novo peptides
#' and to search for their existence in the proteome, whethe... |
a3fdd4780935f5c7ef921ca866b842f1f5a37587 | 5e3750b203161b7d0218ebe6ef1f6fdbe2fc490a | /Expression/GTEx/01_Filters_And_Pipeline/01_FiltrerIndividus.r | a0233168f0fb85586b20e12110f7e0db95c94912 | [] | no_license | HussinLab/adcy9_cetp_Gamache_2021 | a58e9ecf50be883db88e2665b1396b6a97054455 | 7c5e00be1ae9e986010dc532491de153d64158d6 | refs/heads/main | 2023-08-07T08:08:29.905295 | 2021-10-28T21:53:46 | 2021-10-28T21:53:46 | 368,565,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,862 | r | 01_FiltrerIndividus.r | library('reshape2')
# Info extracted from information file from GTEx, two columns : SAMPID et SMMPPD/SMTSD
# Coverage by ID
info=read.table('../../../Phenotype/Phenotype_GTEx/Data/SpecificPhenotype/SMMPPD.txt', fill=TRUE, header=TRUE)
# Association ID-tissue
tissu=read.table('../../../Phenotype/Phenotype_GTEx/Data/S... |
2541854629126fca7aee17a67ef8dd13b48a254d | d8b3a5ac9330f7f83619f596186fe9d60577d35d | /LIB_RHESSys_modelBehavior7.R | 9221681b7ef2f041770a4e45e74a33732f4f4548 | [
"MIT"
] | permissive | laurencelin/R-coded-scripts-for-RHESSys-calibration | acbd31840adbe7cc06d8f806d4851133d3b3f091 | add43866727b54e502aa18b226624dac5dd6ea3f | refs/heads/master | 2021-07-14T18:31:02.834975 | 2021-02-25T17:23:00 | 2021-02-25T17:23:00 | 97,491,430 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 7,491 | r | LIB_RHESSys_modelBehavior7.R |
arg=commandArgs(T)
modelBehavior = function( rhessys_, dailytimeSeries_ ){
mostcol = dim(rhessys_)[2]
# ... assume rhessys_ is a matrix and already "matched"
# ... rhessys_ balance
brhessys_DayFlow =rhessys_[,19]#flow
brhessys_DayRain =rhessys_[,35]#rain
brhessys_DayET =rhessys_[,14]+rhessys_[,16]#et
brh... |
bcf88e2adad47c13ee3923061537340417b0be3e | 735a990bd9dd38815d5b5c0337518c5ae6997036 | /cachematrix.R | 7a5ccb4b278e6e7646b1250f1603f393b9bb5cf3 | [] | no_license | Yussifm1/ProgrammingAssignment2 | c69bf4a5c8c04add3b3976ed47f16157f52ffff7 | 926236bdecbb21affa29481223e40d458dd31afc | refs/heads/master | 2021-07-01T09:49:58.630256 | 2020-12-25T18:20:17 | 2020-12-25T18:20:17 | 207,393,041 | 0 | 0 | null | 2019-09-09T19:55:57 | 2019-09-09T19:55:56 | null | UTF-8 | R | false | false | 984 | r | cachematrix.R | ## The function creates a special "matrix" object that cache its inverse.
## In the (1) function,we create a special"matrix" object which cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
in <- NULL
set <- function(y){ x <<-y
in <... |
ae6591e108d8ed38b2b83379694964d75f0a8019 | 3c37e20c65d3918fede609648fccc7e997527c47 | /man/crcrec.Rd | f409cfb2e18db141927056d9a80cdf3ca94edbfc | [] | no_license | cran/Rwave | 67cb1e7b8e234c1f49b1ac4cbadef024a04afc21 | 72a5fc18fdb0c4ae4cf6aa9985617268585ffae5 | refs/heads/master | 2022-11-04T20:48:09.750339 | 2022-10-21T22:17:49 | 2022-10-21T22:17:49 | 17,713,902 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,776 | rd | crcrec.Rd | \name{crcrec}
\alias{crcrec}
\title{
Crazy Climbers Reconstruction by Penalization
}
\description{
Reconstructs a real valued signal from the output of \code{\link{crc}}
(wavelet case) by minimizing an appropriate quadratic form.
}
\usage{
crcrec(siginput, inputwt, beemap, noct, nvoice, compr, minnbnodes=2,
w0=2 * pi, ... |
0ac74a8e4f8a7df46c6c4c9439f269f56e23c8d1 | aa04e8849d6b68749448784433d8bb59817e0a4d | /R/accesskey.R | 26d4b281b005bf24da72f8801cb5ed9ba40f2ca4 | [] | no_license | amhamm/aws.iam | c9471ecbb18829de3ab0a18316be9f1a76b896ab | b041db09620c3da9f301bfbc249e8d76d19989ce | refs/heads/master | 2022-07-01T04:36:23.494109 | 2020-05-11T04:54:42 | 2020-05-11T04:54:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,731 | r | accesskey.R | #' @rdname keys
#' @title Manage Access Keys/Credentials
#' @description Retrieve, create, update, and delete IAM access keys
#' @param key A character string specifying an access key or an object of class \dQuote{iam_key}.
#' @param user Optionally, a character string specifying a user name or an object of class \dQuo... |
62ab4ed6644b3eb25957fdac9251ab181fc9826c | a0cb7f726846348a79f2912c148dd148c08b0db6 | /R/Batch_Score.R | bec2716c78770ffc940ea9e476eaa87f8f5110d9 | [] | no_license | paparker/SHAPE | 9de0b036b4e4f659404bd1dc0039da5d8587edf3 | 1936cdbd26ed6deb9bd104aad81c4ee6f157a9c2 | refs/heads/main | 2023-03-17T15:08:48.677421 | 2021-03-11T16:48:25 | 2021-03-11T16:48:25 | 346,103,974 | 6 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,788 | r | Batch_Score.R | library(readr)
library(ggplot2)
library(dplyr)
### This script will batch score soil SOC data using the SHAPE procedure
## The input data should be changed to generate your own scores
dataIn <- read_csv('Data/dataIn.csv') ## Read in your own data with same format
## Columns should be:
# MATC: (numeric) mean a... |
218df6ed1a4a8d56b9f3bd20b445f8f4404ddef0 | 7a062dd29d3392ef15043d35ad09a67c205904f5 | /man/dMVhyper.Rd | 24ef43e5c91c97f3d940d67296a43a971959deac | [] | no_license | benaug/Mbmisscap | 68b0bb83b52f8ef64b45a63a65f8eab8cf4e03a6 | 3340ff0752d71c9d3b64470f57692cc8c55fcae9 | refs/heads/master | 2021-01-10T14:08:44.503350 | 2018-10-08T16:53:55 | 2018-10-08T16:53:55 | 51,013,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 320 | rd | dMVhyper.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MVHyper.R
\name{dMVhyper}
\alias{dMVhyper}
\title{PDF for the multivariate hypergeometric distribution}
\usage{
dMVhyper(k, K)
}
\arguments{
\item{k}{adf}
\item{K}{adf}
}
\description{
PDF for the multivariate hypergeometric distribution
}
|
b3bcd2c8a4ded4702a19b479c0c0e008e5179dc6 | 64ba2b77091c05be531ba828ec309686f9988f3b | /R/Competing risks analysis/all_data_analysis_RC.R | 65806aea247f3348082f67bf8ab6439db0feefdd | [
"MIT"
] | permissive | robmarkcole/Useful-python | 0f718ea5f200a646b807047c5ca83081b4705f6d | 3be6169e35dc66d3e8af07d440a6895ed2455c1c | refs/heads/master | 2023-07-20T08:30:52.332756 | 2023-07-16T07:52:07 | 2023-07-16T07:52:07 | 107,223,253 | 75 | 35 | MIT | 2023-07-16T07:52:08 | 2017-10-17T05:45:32 | Jupyter Notebook | UTF-8 | R | false | false | 1,182 | r | all_data_analysis_RC.R | setwd("~/Documents/Github/Useful-python-for-medical-physics/R/Competing risks analysis")
# All 211 patients
#all_data_RC <- read.csv("~/Documents/Github/Useful-python-for-medical-physics/R/Competing risks analysis/all_data_RC.csv")
# Drop 8 PB patients
#all_data_RC <- read.csv("~/Documents/Github/Useful-python-for-med... |
92386910134dc05c3e0d1914af1bf0e1e0fa83e1 | 1ed12913fb9b98db702389871ea761c46fdee116 | /man/z[.td.data.frame.Rd | 9915ec9927f6a053ec2542c5bee3f9ccabd7293d | [] | no_license | ghuiber/teradataR | 9053adf62e0151b320da4f9ca840d056adcdcad2 | d097a9484f8cf53803f1ba26181970042bd146bb | refs/heads/master | 2021-01-22T01:33:57.288324 | 2014-09-12T20:43:55 | 2014-09-12T20:43:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 929 | rd | z[.td.data.frame.Rd | \name{[.td.data.frame}
\alias{[.td.data.frame}
\title{
Extract Teradata Data Frame
}
\description{
Allow manipulation and extraction of a td data frame.
}
\usage{
\method{[}{td.data.frame}(x, i, j)
}
\arguments{
\item{x}{
td data frame.
}
\item{i}{
element to extract
}
\item{j}{
ele... |
139d8f94d2c0262e8dab0d778432a70a80756687 | 244579496176fcdb898338e227a3a7818c18ef30 | /test2.R | cc1da6395435d03434e14e19e34d280081799f3d | [] | no_license | youknowwhatmynameis/Statistics2 | 93b816762494cbe00375b24a4561db1be8dcbf62 | 25e33c76302d81fab74e69d2e83460f3dc7b6a52 | refs/heads/master | 2023-04-15T07:55:40.952668 | 2021-04-29T09:47:42 | 2021-04-29T09:47:42 | 362,769,273 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 565 | r | test2.R | Centrala
print(Centrala)
liczebnosc <- table(Centrala)
liczebnosc
procent <- prop.table(table(Centrala))
procent
tabela <- cbind(liczebnosc,procent)
tabela
barplot(liczebnosc,
xlab = "Liczba zgłoszeń",
ylab = "Liczebność",
main = "Rozkład empiryczny",
col = 1:6)
barplot(procent,
... |
461fa048ab3f77a52430d88acee64bd2d1ef4ec6 | cb93cf0799e3eedca6f9e720e09bb60e0f77ff10 | /R/Arguments.EXTRAS.R | df92825b465850f1b09f733c68c194d9c7f3e80f | [] | no_license | HenrikBengtsson/R.filesets | 254c37b4546e8280b9972d06840b918e12e0b4e9 | 17181ae1c84dbf7bad1214d37e6f133ed2deeba4 | refs/heads/master | 2023-01-08T23:58:09.708417 | 2022-07-21T09:52:18 | 2022-07-21T09:52:18 | 20,844,863 | 3 | 1 | null | 2018-04-03T22:12:45 | 2014-06-15T00:25:31 | R | UTF-8 | R | false | false | 1,729 | r | Arguments.EXTRAS.R | #########################################################################/**
# @set "class=Arguments"
# @RdocMethod getTags
#
# @title "Gets and validates tags"
#
# \description{
# @get "title".
# }
#
# @synopsis
#
# \arguments{
# \item{...}{@character @vector of tags.}
# \item{na.rm}{If @TRUE, empty ("missing") t... |
2ab2134d22613c553f3cc94f1c0e14fbc9227af5 | a87fbb4d8286a50ea6d36f1432b1b27c5f96085e | /vignettes/unemployed/src/unemployed.R | 9d8b77eda5edbdffe450111c28f8f946f492947d | [] | no_license | terourou/small-area-estimation | 938908a28a0d87853368f11e4be51ad0b7e9eabf | 935796305459a7d348134d5578a32f18768402cb | refs/heads/master | 2023-07-03T08:19:35.748766 | 2021-08-11T04:58:00 | 2021-08-11T04:58:24 | 319,798,808 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 270 | r | unemployed.R |
library(dembase)
library(dplyr)
## for simplicity, taking only a single year
unemployed <- readRDS("out/raw.rds") %>%
filter(time == 2019) %>%
dtabs(unemployed ~ age + sex + district) %>%
Counts()
saveRDS(unemployed,
file = "out/unemployed.rds")
|
a34b8eb7cc54199fa834df8cebf110d060da7119 | 528de138fdcdc544b8420fbe87b00077abbc560a | /01_Introduction_to Statistics_Using_R/week01.R | be913f86595544e6a3560077c67e436cf99707b9 | [] | no_license | Romanism/R | 95ff5c3bdc5e40eb94a91f73d1d18dfbbb17db44 | 24d28085091d0da54f09db425dc7bd8cb22b7f57 | refs/heads/master | 2020-03-22T14:24:55.107301 | 2018-07-17T04:19:33 | 2018-07-17T04:19:33 | 140,177,661 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,827 | r | week01.R | # 1.3 R 들어가기
# 1.3.1 R 설치하기
# (1) go to the site called CRAN (Comprehensive R Archive Networks) http://www.r-project.org/
# (2) execute "Download R“
# (3) choose Korea http://cran.nexr.com/
# (4) click "Download for R Windows“
# (5) click "base“
# (6) click “Download R 3.3.1 for Windows”
# 1.3.2 R 사용법
# A. 주의할 점
# (1... |
6a75f6f21b1d82bb93fbd1d5b1d5e57b77c791aa | d1bfc0292990e3d54023a3c85ae3a51af1a17660 | /test/rule_unset.r | d7a853c0439a0e183913738f24b78e42b9760800 | [
"Apache-2.0"
] | permissive | sara-nl/irods-msi-persistent-id | 8cc460ffa505444bd29537a32428a0efe82f564f | 3f8f8f06ebd0b55967486291417d14c5a3d0bd4a | refs/heads/master | 2020-04-12T03:33:46.291516 | 2020-04-11T11:49:20 | 2020-04-11T11:49:20 | 162,270,474 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 179 | r | rule_unset.r | myRule {
msiPidUnset(*path, *key, *result);
writeLine("stdout", "*result");
}
INPUT *path="/tempZone/home/rods/example.txt", *key="", *mvalue=""
OUTPUT ruleExecOut
|
645ee3bb136209eb5950462d184d27fb341d1264 | a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3 | /A_github/sources/authors/100/funHDDC/funHDDC-internal.R | a436a48062e5573c2f993bce3ce4c7117adbe064 | [] | no_license | Irbis3/crantasticScrapper | 6b6d7596344115343cfd934d3902b85fbfdd7295 | 7ec91721565ae7c9e2d0e098598ed86e29375567 | refs/heads/master | 2020-03-09T04:03:51.955742 | 2018-04-16T09:41:39 | 2018-04-16T09:41:39 | 128,578,890 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,413 | r | funHDDC-internal.R | .bic <-
function(loglik,prms,n,T){
K = prms$k;p = prms$p;d = prms$d;model = prms$model;
tau_bar=1/K*sum(d*(p-(d+1)/2))
if (model=='AkjBkQkDk'){comp = K*p + K -1 + K *tau_bar + K*sum(d) + K}
if (model=='AkjBQkDk'){comp = K*p + K -1 + K *tau_bar + K*sum(d) + 1}
if (model=='AkBkQkDk'){comp = K*p + K -1 + K *tau_ba... |
b2815a3a0939a6cb1967e02c90b99e0e5953fab7 | 7960bc31c107627359e5da7ed7b7cf98d5b69f75 | /man/mcmc_rhat.Rd | cd9a650fac487c1ad182a3d0c3ed3a8349b22a84 | [] | no_license | rpruim/rjpBayes | 51eed1055968b3b130e8c2442b30b4fed4073644 | 89b03c89b3c78b3012e28a1539d036e21873ca68 | refs/heads/master | 2020-03-21T01:14:26.633318 | 2018-06-19T22:00:28 | 2018-06-19T22:00:28 | 137,931,576 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 970 | rd | mcmc_rhat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rhat.R
\name{mcmc_rhat}
\alias{mcmc_rhat}
\alias{mcmc_rhat.default}
\alias{mcmc_rhat.brmsfit}
\title{Create Rhat plot}
\usage{
mcmc_rhat(object, ..., size = NULL)
\method{mcmc_rhat}{default}(object, ..., size = NULL)
\method{mcmc_rhat}{brms... |
b122328ca02aa7a67a7381d419b2d694ca98ba46 | 198cc8a8b8c678de3fa6e56f85e4441f10517f0b | /Scripts/random effect models plots.R | f33cb6bbc81bb321bfc88df28552e98015edc0d4 | [] | no_license | morgan-sparks/CnGV-CoGV-Meta-Analysis | 1c5f6dc3440e4ef316deedbc1755b907367d2fb3 | 2a065e49c96021076af7cd6f0d6ce22728a07a9b | refs/heads/main | 2023-04-07T17:41:48.359189 | 2022-10-19T01:36:39 | 2022-10-19T01:36:39 | 398,073,550 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,502 | r | random effect models plots.R | ################################################################################################
# Morgan Sparks, sparks35@purdue.edu, December 2021
#
# Script to make randome effects plots for manuscript. It uses the tidybayes package to gather
# draws to plot posterior distributions for model coefficients.
########... |
01858fd5cd28134a51607862e62cb0a3feb404e4 | 3f1046972d8ed8f5aaf622d1c6be383201386cfd | /R/imports.R | c358270a6f57cc6d09788cbc68b753a540ae5b2a | [
"MIT"
] | permissive | W529/spatialwarnings | 0e1e81f6bc32edc73330ca9c7fe94d05961613b4 | defa6bf462d0f6906b32298c123bd7f531a9650c | refs/heads/master | 2020-05-22T05:13:06.449867 | 2019-01-20T16:21:04 | 2019-01-20T16:21:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 491 | r | imports.R | #
# These tags are here to explicitely show what is imported
#
#' @import stats
#' @import utils
# We need to pretend to import moments and poweRlaw as they
# are used in the package build process. They are not
# used in the final package tree though.
# We import here two harmless functions so that CRAN
# checks do no... |
8874e58427334691c08babf93db6031017e162a9 | 62801439c226c0f72bec07c52b557039cb8aece6 | /man/Cluster_Medoids.Rd | 04b1f3594de63c54ce7d2a4b287c722f2a06c1d1 | [] | no_license | mlampros/ClusterR | ec790ef2150754e79f4cef79369892f7b65cd03f | 4942f0d985a3c461852e4fc9efcb70e5ea3c9959 | refs/heads/master | 2023-06-11T06:22:59.245954 | 2023-05-14T05:37:22 | 2023-05-14T05:37:22 | 68,004,249 | 82 | 27 | null | 2022-12-12T11:56:44 | 2016-09-12T11:46:14 | R | UTF-8 | R | false | true | 2,989 | rd | Cluster_Medoids.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clustering_functions.R
\name{Cluster_Medoids}
\alias{Cluster_Medoids}
\title{Partitioning around medoids}
\usage{
Cluster_Medoids(
data,
clusters,
distance_metric = "euclidean",
minkowski_p = 1,
threads = 1,
swap_phase = TRUE,
f... |
9655908a7bb2df3ff52c74257b17607d8e547e17 | 3853c7c2aec2afda0e14bf57c76aae4408ee74d2 | /man/getWordCloud.Rd | 964d9f27369fd9e92bd0f6ef832d0dc792422b70 | [] | no_license | lenamax2355/shinyr | 9342a439046517f4dd836f0b38dcc41b2d3dd6e0 | 5f1194b9ca6f39a2446aed166c31b68196bec108 | refs/heads/master | 2023-06-09T01:53:26.610183 | 2021-06-23T04:38:34 | 2021-06-23T04:38:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 431 | rd | getWordCloud.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/word_cloud.R
\name{getWordCloud}
\alias{getWordCloud}
\title{Get Word Cloud}
\usage{
getWordCloud(d)
}
\arguments{
\item{d}{table of word's frequency}
}
\value{
Word cloud plot
}
\description{
Get word cloud for given table of words' frequenc... |
2d360fa2d83afcac0b7b450951c06173e16ae0f2 | 6b83338df3d7e354a68e629e071e24883a495d6f | /man/mcri.palettes.Rd | 6a252050cc1335bf67a6c7ae60292d116c3eb60f | [] | no_license | lazappi/mcriPalettes | 123d901dc74802379cfef160f07633940e00817d | 4992c8aae27b87d77da07f6234dc4e5127d81b06 | refs/heads/master | 2021-01-16T21:40:01.246452 | 2017-08-14T04:21:20 | 2017-08-14T04:21:20 | 60,232,858 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 370 | rd | mcri.palettes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/palettes.R
\docType{data}
\name{mcri.palettes}
\alias{mcri.palettes}
\title{Complete list of MCRI palettes}
\format{An object of class \code{list} of length 13.}
\usage{
mcri.palettes
}
\description{
Use \code{\link{mcriPalette}} to construct... |
19bc2a3c190de8c23a1676371d9bef40776ff8c8 | 5b2f016f1298c790224d83c1e17a425640fc777d | /monod/analysis/code/R20151001.Group.Specificity.Index.R | 4eb09b47706f88dafba48b074b759a1c760ffe14 | [] | no_license | Shicheng-Guo/methylation2020 | b77017a1fc3629fe126bf4adbb8f21f3cc9738a0 | 90273b1120316864477dfcf71d0a5a273f279ef9 | refs/heads/master | 2023-01-15T20:07:53.853771 | 2020-02-28T03:48:13 | 2020-02-28T03:48:13 | 243,668,721 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,933 | r | R20151001.Group.Specificity.Index.R | ########################################################################################
### Title: Group Specificity Index (GSI) for Genome-wide Methylation Haplotype dataset
### Author: Shicheng Guo, Ph.D. Email: Shicheng.Guo@hotmail.com
### updata time: 9/1/2015
###########################################... |
aac1b4dfa2ac401a297010a0827e0fb90a967745 | 04cdef0025feee4392113e5c331eadccae75da61 | /man/compare_summarise_daily.Rd | 0ab21fc7d66f9d8092e85e7c077224a11dab3aaf | [] | no_license | NotetoNote/animaltracker | 683e01b9c9e20c3726e612a1477d2924f1df8cef | d3e050d40e13ab8160610bdbeb07e5015ecc26cb | refs/heads/master | 2020-12-13T09:33:03.058637 | 2019-12-22T00:54:26 | 2019-12-22T00:54:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,242 | rd | compare_summarise_daily.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_analysis.R
\name{compare_summarise_daily}
\alias{compare_summarise_daily}
\title{Compares two animal datasets and calculates daily summary statistics by GPS
GPS, date, lat, long, course, distance, rate, elevation column names should matc... |
4b9deb829e761f0ecccd626d1268ca1baf097ced | 6cb4fbdd76a338d95f8348ef1351ec124aebc39f | /R/type-data-frame.R | e5723e13d27dd0125414b01b962e41fc051b5ee1 | [] | no_license | kevinykuo/vctrs | f0224bd1b011535935a8bc8d198da181d090b6ef | 2992d4737d35ff4dbd6c15b895fc4c2dc6c71066 | refs/heads/master | 2020-03-25T23:16:53.434722 | 2018-08-10T00:25:01 | 2018-08-10T00:25:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,545 | r | type-data-frame.R | # TODO: consider names and export so that they can be used by
# data frame subclasses in other packages
data_frame <- function(...) {
cols <- tibble::set_tidy_names(list(...))
if (length(cols) > 0) {
n <- length(cols[[1]])
} else {
n <- 0L
}
new_data_frame(cols, n = n)
}
new_data_frame <- functio... |
0e8ef403b4c44f18b0791acf99bf1cbc962bf8d8 | bc1fb36519974a949925fd243bbd51a8dafa9128 | /hw2redoo.R | fc1011fce088b704e566a6db25b60bcfb0153310 | [] | no_license | ramenkup/370HW2 | bb88563bff31c7c2b3e6572be2b3359e75b89b68 | d3bbb7eb1917d739a4ed31dacc40a968ce17e3b4 | refs/heads/master | 2021-01-10T05:00:46.642942 | 2016-01-13T22:56:28 | 2016-01-13T22:56:28 | 49,603,487 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,171 | r | hw2redoo.R |
#---------------------PART 1-------------------
#1
popvar<-function(x){
n<-length(x)
(((n-1) / n) * var(x))}
c4 <- mtcars$mpg[which(mtcars$cyl==4)]
c6 <- mtcars$mpg[which(mtcars$cyl==6)]
c8 <- mtcars$mpg[which(mtcars$cyl==8)]
car_count<- length(c4)+length(c6)+ length(c8)
resi<-((popvar(c4)*length(c4))+(popvar(c... |
1a6fb406480eee438d1798d32b4836f5cba2e429 | ecb6bfe5e4db873400a52bbf675ebf6048237cd1 | /paper_figures/fig5.R | cfcdcbf9eb78158ba7a6547dc8c5a8a4810dbc88 | [] | no_license | ilariac92/soccer_ha_covid | cf3cf695261df2215eaf98134d9d97772ebfa315 | bcf645633e56d45581d4e7201faf7b3d3f5e879b | refs/heads/master | 2023-02-07T07:46:41.263170 | 2021-01-01T02:00:08 | 2021-01-01T02:00:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,072 | r | fig5.R | library(tidyverse)
library(patchwork)
library(grid)
library(gridExtra)
library(here)
source(here('helpers.R'))
league_info <- read_csv(here("league_info.csv"))
### Read in Posterior HA Draws
posterior_means <-
map_dfr(league_info$alias, ~{
league_ <- gsub("\\s", "_", tolower(.x))
goals_posterior <- try(sup... |
bb64879cb792d97c35dadfb98b5507aa4afefdf6 | bd9ba219102f6fa6bbae66b08cdcb28ed50df3ad | /20190916_조국.R | 5dc508c5313e6dab1d9b10195b404542994d5527 | [] | no_license | i-am-chan/2019_2_BigData | 955df5cef2d713603056d3801c5e5d4dee394b10 | 227c70029f9b9d9af6686a8071ded614a2e8cf79 | refs/heads/master | 2020-07-16T08:51:36.694585 | 2019-10-09T12:05:35 | 2019-10-09T12:05:35 | 205,758,212 | 0 | 0 | null | null | null | null | UHC | R | false | false | 635 | r | 20190916_조국.R | setwd('R_Practice_Examples_1')
library(KoNLP)
library(wordcloud2)
jo <- readLines('조국.txt')
# readLines('조국.txt', encoding='utf-8'??) -> 찾아보자.
# 난 그냥 ANSI 파일로 저장했다.
jo.list <- sapply(jo, extractNoun, USE.NAMES=F)
View(jo.list)
jo.vector <- unlist(jo.list)
jo.vector <- Filter(function(x) {10 >= nchar(x) & nchar(x) >... |
6e7e11a0c84868e83440f0d6813d2b4fd9543b8c | 6420e078e825209d927cbef53f5f68800f65df67 | /man/makeDisplay.Rd | aa2467dbb158749bc4b0bd9a0240724ce41e0d45 | [
"BSD-3-Clause"
] | permissive | hafen/trelliscope | 0cb32f638923f6eaefd25bb184a2a5fdb0db377d | 97858083fb18c245006d216bec802097dbcaab07 | refs/heads/master | 2020-04-05T15:52:47.649484 | 2017-09-20T14:57:40 | 2017-09-20T14:57:40 | 20,783,488 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 7,142 | rd | makeDisplay.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/makeDisplay.R
\name{makeDisplay}
\alias{makeDisplay}
\title{Create a Trelliscope Display}
\usage{
makeDisplay(data, name, group = "common", desc = "", mdDesc = NULL,
height = 500, width = 500, panelFn = NULL, lims = list(x = "free", y =
"... |
4b5bdc2a8686755983135b27698e766237accdb5 | bb660ae1c6194d054248ca508475493ee264a6ae | /man/get_coords.Rd | 11b573bd9cca81b6beccdf3579a4581db97ba48b | [
"MIT"
] | permissive | hrvg/RiverML | bdfdd6d47f2bb7a7a26c255fa4bf268b11f59c43 | 22b3223f31f310e00313096b7f1fb3a9ab267990 | refs/heads/master | 2023-04-10T05:02:17.788230 | 2020-10-08T16:13:21 | 2020-10-08T16:13:21 | 288,584,365 | 0 | 0 | NOASSERTION | 2020-12-04T01:19:50 | 2020-08-18T23:18:50 | R | UTF-8 | R | false | true | 458 | rd | get_coords.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ml_data_loading.R
\name{get_coords}
\alias{get_coords}
\title{Retrieve the coordinates of the observations}
\usage{
get_coords(region)
}
\arguments{
\item{region}{\code{character}, identifier of the region of study}
}
\value{
the coordinates ... |
5474712e6974e228e7514e755fe1ec6b216ed648 | 9e6c6d3ea78d408a6746fcdeca6ff0d3a8a3308c | /man/complementarycolor.Rd | 6fb0b64de5d68120c45b0e922035c73a224ec1fe | [] | no_license | stineb/rbeni | 36f28d38f58301d2af24255e9d63fe5ac6809ebe | 2f9d26d0a286c550cb90ee9d30a1f2b6c3b112f6 | refs/heads/master | 2023-02-18T22:18:52.856980 | 2023-02-16T17:29:09 | 2023-02-16T17:29:09 | 167,402,490 | 3 | 6 | null | 2020-09-25T09:35:32 | 2019-01-24T16:49:15 | R | UTF-8 | R | false | true | 852 | rd | complementarycolor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LSD.color.R
\name{complementarycolor}
\alias{complementarycolor}
\alias{LSD.complementarycolor}
\title{Complement R colors}
\usage{
complementarycolor(cols, alpha = NULL)
}
\arguments{
\item{cols}{a character vector containing R built-in colo... |
bf1bd731cc63ce5b7f355798a338c7c0827f2b26 | f84139438cc48d29c45d14596638d5027ca640af | /R/cci.R | 21a12a7ec2dddc47653677beb037c1a4d848540b | [] | no_license | cran/currentSurvival | 15c99ed83f3d31b6e9efab253f1cb5147ceb64a4 | 076bfc7cc68a49acedd51befa0bcab02a165e674 | refs/heads/master | 2022-06-05T23:53:27.567904 | 2022-05-12T06:20:02 | 2022-05-12T06:20:02 | 17,695,347 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,191 | r | cci.R |
cci <- function(data, maxx = NULL, com.est = TRUE, conf.int = FALSE, conf.int.level = NULL, no.iter = NULL, points = NULL, fig = TRUE, strat = FALSE, pvals = FALSE, pval.test = NULL)
{
#### check input parameters:
## check input parameter com.est:
if (!is.logical(com.est)) {
stop(paste("","Invalid logical ... |
e938f99de2f6c50f23e224e62fd71bf149423291 | 87cd6f59e44ce81375400cc88d55e1f23736a4cd | /R functions/funct_tabulation.R | ce5353c1d546aa7e3affae7b6d10bb424cfe121b | [] | no_license | basiliomp/CISsurveys | 7ba6d7da6bfc91b62ab0494fb2d9425655ea5463 | 64e89ef382fdf6d1d8dfa2c34bbe5819c7073e7a | refs/heads/master | 2020-03-22T08:17:20.844259 | 2018-11-21T16:49:42 | 2018-11-21T16:49:42 | 139,757,432 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 4,739 | r | funct_tabulation.R | # write_tab_header funct --------
# New function for creating a meaningful title for voting recall tables
write_tab_header <- function(x, file, header){
cat(header, '\n', file = file)
write.table(x = x, file = file, col.names = NA, sep = ";", dec = ",", append = T, row.names = T, na = "")
}
# Tabular fun... |
65993e33244db2c898259f30b745d2279f178599 | ac9046de49de25efd9ad0545ca514a4209d2c7f3 | /man/coef.vblogitfit.Rd | b20c68f4f5a7fb0794dae9c06ad472e7de2ca489 | [] | no_license | antiphon/vblogistic | 029979ee1bd826b6f6a7c2b27e2b476d937243a8 | 439eb1c6602389b0267038aa5a424557c381b22f | refs/heads/master | 2021-07-31T06:02:13.617684 | 2021-07-27T07:51:53 | 2021-07-27T07:51:53 | 24,378,925 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 288 | rd | coef.vblogitfit.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/methods.R
\name{coef.vblogitfit}
\alias{coef.vblogitfit}
\title{Coef}
\usage{
\method{coef}{vblogitfit}(x, ...)
}
\arguments{
\item{x}{object from vblogit}
\item{...}{ignored.}
}
\description{
Coef
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.