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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5cb698a9705b19261b424445b0f069e582702300 | 4da1b4f9a30d813fdfc68cc6a1a3387da187b432 | /support/inout/fs_rmd_knitall.R | bce320587ad548eede1a919b0e49ba809e4000e3 | [
"MIT"
] | permissive | FanWangEcon/R4Econ | 50b21f0f53fd73722ab49f3383102df001415fda | 7c7c4af32721817b2bc18944cfa17ecd8fb1f848 | refs/heads/master | 2023-04-03T18:41:31.038769 | 2023-03-23T05:06:53 | 2023-03-23T05:06:53 | 173,583,807 | 19 | 14 | null | null | null | null | UTF-8 | R | false | false | 5,108 | r | fs_rmd_knitall.R | # source('C:/Users/fan/R4Econ/support/inout/fs_rmd_knitall.R')
#
# library(tidyverse)
# library(tidyr)
# library(knitr)
# library(kableExtra)
# Knit all Rmd Files stored in folders
# I maintain both bookdown as well as individually compiled PDFs for each page
# This file finds all Rmd files in R4Eon and knits them all... |
02786eb097c2069bccc9f7c61ad62957bec5cfc1 | e709f97fc10a761c5f6dbfba1036e52c863792d4 | /R/initial_plots.R | d1d87e6fe3cfb3a8368b1176b2c2361cc7fc0264 | [] | no_license | rstats-tartu/dmitry_plant | eff1efe6b136754635419a1db2a0ad4bd646592f | 7358cd73b3db60d7da97860429869fdeb5f5606e | refs/heads/master | 2020-03-30T16:59:04.035529 | 2018-10-03T15:59:15 | 2018-10-03T15:59:15 | 151,436,189 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,026 | r | initial_plots.R |
# Load libraries
library(tidyverse)
library(readxl)
library(lubridate)
# Import data
fc <- read_xlsx("data/Fc_Plant.xlsx") %>%
separate(plant_name, c("co2", "temp", "water", "light"), sep = "_")
ir <- read_xlsx("data/Ir_Plant.xlsx") %>%
separate(plant_name, c("co2", "temp", "water", "light"), sep = "_")
drgb <-... |
a319df3e777f85bc1b827c1a57947d4b705802ca | a6c7846fe22127c0d463c7837d09d85401d172f4 | /R/zzz.R | 3557c551a6bdeb6ce9e48574c243855d50886ad5 | [] | no_license | rplzzz/stayinalive | ec6bcd10ecdef21977d115045441d64c578dd544 | 99b75b5cbb536d2fbeab210e560319d638d1d61e | refs/heads/master | 2021-03-13T12:56:02.232065 | 2020-02-27T23:01:33 | 2020-02-27T23:01:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 126 | r | zzz.R | .onLoad <- function(libname, pkgname)
{
py3 <- system2('which', 'python3', stdout=TRUE)
reticulate::use_python(py3)
}
|
fc4b870828ef29b8b6ab3a937305e6b620093d46 | d58151abb81dba81e8ac2804d89a0e66de26af0d | /Functions/compareClustersAcrossGroups.R | 23728c3702db067692299d28081f131dfd1902f6 | [] | no_license | vanrooij-lab/scRNAseq-HCM-human--old | c7fa3ac20a85aa77c26bde9a4b9731d236206df2 | 8f24236128e9cc89225e0e6d9c70b6c6eb0e88f1 | refs/heads/master | 2022-12-06T03:21:56.520140 | 2020-08-18T15:04:58 | 2020-08-18T15:04:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,515 | r | compareClustersAcrossGroups.R | ### compareClustersAcrossGroups()
###
### TODO Upgrade this comment
### TODO Consider renaming this function
### TODO Consider splitting this function into 3 functions
###
### Authors
### - Joep Eding
### Return:
### --- Outputs 3 graphs:
### --- clusterOriginBarplot_clusterResolution: Shows which sample cluste... |
7eae230f74929e1c68567446f1f559d52c78d652 | 2975fba6bf359214c55e7d936f896a5a4be3d8f5 | /man/print.IPA.Rd | 0bb0d1117c8c984de68b9dadada7c0674e4fc266 | [] | no_license | tagteam/riskRegression | 6bf6166f098bbdc25135f77de60122e75e54e103 | fde7de8ca8d4224d3a92dffeccf590a786b16941 | refs/heads/master | 2023-08-08T03:11:29.465567 | 2023-07-26T12:58:04 | 2023-07-26T12:58:04 | 36,596,081 | 38 | 14 | null | 2023-05-17T13:36:27 | 2015-05-31T09:22:16 | R | UTF-8 | R | false | true | 402 | rd | print.IPA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.IPA.R
\name{print.IPA}
\alias{print.IPA}
\title{Print IPA object}
\usage{
\method{print}{IPA}(x, digits = 2, ...)
}
\arguments{
\item{x}{Object obtained with \code{IPA}}
\item{digits}{Number of digits}
\item{...}{passed to print}
}
\d... |
7cc1c425e48cff1cd79a1df253085fe36fdbd285 | dabcee30ccdc3f67bff6dc7defa57b1199b6ed1e | /man/get_html_meta_from_article.Rd | 504f363cb2aff5b4cd92b98a2ec34bc7cc9d5842 | [] | no_license | cran/ojsr | c58bac603ecaaa3e767f8f2de2fdc6720850bfea | 009476091d5ec8556dd69b1e9435844bbe21503f | refs/heads/master | 2022-12-25T07:14:46.902875 | 2020-09-23T22:50:03 | 2020-09-23T22:50:03 | 258,766,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,064 | rd | get_html_meta_from_article.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scrapers.R
\name{get_html_meta_from_article}
\alias{get_html_meta_from_article}
\title{Scraping metadata from the OJS articles HTML}
\usage{
get_html_meta_from_article(input_url, verbose = FALSE)
}
\arguments{
\item{input_url}{Character vecto... |
da2041fe0cb7b0661d0485f7cdffaa6b12159d31 | eb4782952de8f1a5f5c716f0485411101aaeafc5 | /R/zzz.R | e18bd03daadaebcdcff53470c44edd508d431347 | [] | no_license | quanteda/readtext | 0518b1746b496b77017d504f491d88529e4e0aea | 647c46510fbc09b605cb46e38873f68ff157b858 | refs/heads/master | 2023-06-09T01:24:38.597751 | 2023-06-03T16:42:07 | 2023-06-03T16:42:07 | 71,951,499 | 71 | 25 | null | 2022-12-01T12:42:45 | 2016-10-26T00:47:47 | R | UTF-8 | R | false | false | 94 | r | zzz.R | .onAttach <- function(...) {
# set user options
readtext_options(initialize = TRUE)
}
|
9b47a8ab1153e68ae6a54baedc9f016041e0f3b8 | 77157987168fc6a0827df2ecdd55104813be77b1 | /MGDrivE/inst/testfiles/calcCos/libFuzzer_calcCos/calcCos_valgrind_files/1612726666-test.R | 191833d1e0ce2f084838ffe127719c2294af639f | [] | no_license | akhikolla/updatedatatype-list2 | e8758b374f9a18fd3ef07664f1150e14a2e4c3d8 | a3a519440e02d89640c75207c73c1456cf86487d | refs/heads/master | 2023-03-21T13:17:13.762823 | 2021-03-20T15:46:49 | 2021-03-20T15:46:49 | 349,766,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 338 | r | 1612726666-test.R | testlist <- list(latLongs = structure(c(2.46513676350942e-307, 4.55676310951313e-120, 4.65715466191341e-10, 1.87655515406974e+179, 8444249301319680, 9.35990297866088e-307, 2.48104025832519e-265, 8444249301319680, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(7L, 3L)), r = 0)
result <- do.call(MGDrivE::calcCos,tes... |
b9dea54490f97eefdb14ced75e131f50ed004369 | 8e74dea03fddfe4fd77b92473c7dade31809ce10 | /R/find_place.R | 6a8bf7518d4aa4415f7790e40c8f9b1025b58c4e | [] | no_license | SophieSt/Lesson6 | 4a695561817da3e2526726c067149c4190e26a9e | 3388035c2f9dfa24fd2b9961452c06bd8ae1b6fc | refs/heads/master | 2021-01-11T20:32:00.604882 | 2017-01-16T16:47:13 | 2017-01-16T16:47:13 | 79,136,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 337 | r | find_place.R | # Find the place (i.e. a city) that intersects with this buffer.
find_place = function (points, buffer) {
points_in = data.frame(gIntersects(buffer[1, ], points, byid = TRUE))
names(points_in) = "intersection"
points@data$in_buf = points_in$intersection
the_place = points[points@data$in_buf == "TRUE", ]
retu... |
80a8121aaebd056fbc3ca8c645d9f7ee596a695a | 387262d2c0dea8a553bf04e3ff263e14683ea404 | /R&S_app_v3/compareNewToPreviousIRdataFormats/compareNewSedimentmetals.R | 327224c50d1c232f7a0e78de301da01d94f95f9a | [] | no_license | EmmaVJones/Rivers-StreamsAssessment | 3432c33d7b53714d3288e1e3fee335dd6fb2af1c | 580cfaa7edbd7077a2627a128a02c3c6ee195f4d | refs/heads/master | 2020-04-24T09:40:03.613469 | 2019-10-18T13:44:07 | 2019-10-18T13:44:07 | 171,486,365 | 0 | 0 | null | 2019-02-19T20:18:56 | 2019-02-19T14:17:14 | R | UTF-8 | R | false | false | 532 | r | compareNewSedimentmetals.R | SmetalsOld <- read_excel('data/SEDIMENT_20170712.xlsx') %>% #fix column name duplications
dplyr::select(FDT_STA_ID,`ACENAPHTHENE..194`:`COMMENT..227`)
names(SmetalsOld)[2:35] <- gsub( "[..].*", "", names(Smetals)[2:35] )
Smetals <- read_excel('data/draft2020data/CEDSWQM_2020_IR_DATA-CEDSWQM_SEDIMENT_20190213.xlsx')... |
a5bdeaa84ba5923a3cf909aef0fad1748412250c | 73ab02fcd0565ed63aeec6797822842086c49628 | /Rlabkey/man/labkey.getLookupDetails.Rd | 285f89e6a115e91d8080b3f4a032e2fd789c0113 | [
"Apache-2.0"
] | permissive | LabKey/labkey-api-r | 8ff35a24fccc53e67b3f94f8625adef250b22546 | fef750e9db30f21a0a9ccc311c495b2462cb2b8d | refs/heads/develop | 2023-08-31T22:09:17.263783 | 2023-08-18T21:35:14 | 2023-08-18T21:35:14 | 54,238,866 | 4 | 10 | Apache-2.0 | 2023-08-18T21:35:16 | 2016-03-19T00:15:14 | R | UTF-8 | R | false | false | 2,980 | rd | labkey.getLookupDetails.Rd | \name{labkey.getLookupDetails}
\alias{labkey.getLookupDetails}
\title{Retrieve detailed information on a LabKey query}
\description{
Fetch a list of output columns and their attributes from the query referenced by a lookup field}
\usage{
labkey.getLookupDetails(baseUrl, folderPath,
schemaName, queryName, lookupKey)... |
f19142f08a8a77b774c2649d9b91c0c18b3675b7 | 3cc5e4163beab8c7e71e8f6463717195c7d2f103 | /AssociationFunctions/PathwayClustering.R | fc918cba32371d761dac3c645a09736433d08b83 | [
"MIT"
] | permissive | JEstabrook/Omics-QC-pipeline | fc7c514b8df1e559b56b518b619e56c78214d0f8 | e165bd1b1df0b09c268fc5e562c99104344e1df8 | refs/heads/master | 2021-06-23T18:50:12.274069 | 2018-06-29T23:09:52 | 2018-06-29T23:09:52 | 118,011,848 | 0 | 1 | null | 2019-05-06T17:52:31 | 2018-01-18T16:59:15 | Jupyter Notebook | UTF-8 | R | false | false | 23,642 | r | PathwayClustering.R | #*******************************************************************************************
# Functions to summarize AssociationFunction results
#
# Implemented
# clusterGO = clusters GO hierarchy by direct parent/child relationships
# coldClusters Ranks pathway clusters from coldMap
# makeColdMap = Creates a coldm... |
65788973a1ae0bf3835a1fca9ffa80a0c67f7f6f | 7528b4b7f9c6101ccfac84aa791893e1f81896a4 | /man/build_all_posts.Rd | 49ec2582e4143e05e743dbe415bc7833d22ba40d | [] | no_license | naman159/blogbuilder | bacc8e58966895e5c847d32997446ea2f8cd73e3 | 6491cb1889c09a07d6e669bca04c9d4326340c71 | refs/heads/main | 2023-06-06T07:28:23.147192 | 2021-06-19T09:19:10 | 2021-06-19T09:19:10 | 375,204,975 | 0 | 0 | null | 2021-06-09T02:42:13 | 2021-06-09T02:42:12 | null | UTF-8 | R | false | true | 385 | rd | build_all_posts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/build.R
\name{build_all_posts}
\alias{build_all_posts}
\title{Builds all blog posts}
\usage{
build_all_posts()
}
\description{
Builds all drafted blog posts for a DACSS course site.
The index page listing posts will be updated once
the Distil... |
cbc192da160eb46f9db24bfcdd0f6a8d499d5d31 | 09bccab5fd88f77234fe5ad22d16cfcca10fdddf | /MLB_Prediction.R | a9a21f583fea9305eb9adbc6561cd9306c84ed75 | [] | no_license | kloudKlown/MLB_DK | c5eec15810b75dd4f08673ccd06e58d586d74d76 | 29d892d1e29651cd8a5d2946f47a49cb9d7b34e9 | refs/heads/master | 2020-03-19T03:48:58.224583 | 2018-06-01T21:33:13 | 2018-06-01T21:33:13 | 135,765,419 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 53,028 | r | MLB_Prediction.R | # ############ Load Library
# install.packages("corrplot")
# install.packages("brnn")
# install.packages("h2o")
# install.packages("randomForest")
# install.packages("Matrix")
# install.packages("xgboost")
# install.packages("stringdist")
# install.packages("varhandle")
# install.packages("mxnet")
library(Hmisc)
libra... |
6322a82d52645f3ed798c03616c19e2f63429905 | 887dc03efc71b10900e0fcab0d56e85a877098f8 | /man/pours_etud_perte_reprise.Rd | 9c99de1edfd5441f572a62a801c4e046789fcfba | [
"MIT"
] | permissive | ove-ut3/survey.admin | 36a445459c532bf307dfb5f0f4747b6288494d2c | 98225711492f50931d868a9277d7fba039bd1efc | refs/heads/master | 2021-01-07T22:48:29.207281 | 2020-05-20T12:57:42 | 2020-05-20T12:57:42 | 241,842,349 | 0 | 0 | NOASSERTION | 2020-05-20T12:57:43 | 2020-02-20T09:23:39 | R | UTF-8 | R | false | true | 315 | rd | pours_etud_perte_reprise.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{pours_etud_perte_reprise}
\alias{pours_etud_perte_reprise}
\title{pours_etud_perte_reprise}
\usage{
pours_etud_perte_reprise(sqlite_base)
}
\arguments{
\item{sqlite_base}{\dots}
}
\description{
pours_etud_perte_reprise
}
|
a1da31ffc8b59d5fee34d1d4278366da469131ce | 969e1c4b5ba41f2a79beac71e0e842adb514f6df | /man/exampleProteinTraces.Rd | cf9450e345e5b87413e68cddca063c7b383bee8b | [
"Apache-2.0"
] | permissive | kiahalespractice/CCprofiler | 8f45fdef5593ef1b5d23454c27661fbce9655338 | 60e24828349b7c03bf82d9f178353c0e41a95565 | refs/heads/master | 2023-07-12T10:09:56.710306 | 2021-05-14T11:28:03 | 2021-05-14T11:28:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 560 | rd | exampleProteinTraces.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{exampleProteinTraces}
\alias{exampleProteinTraces}
\title{Examplary protein level traces object}
\format{An object of class \code{traces} of length 4.}
\usage{
exampleProteinTraces
}
\description{
Protein level tra... |
c4f4d38720a2c18347b0ca3c55707bad781b1dc7 | f6677135d62d8aeac44d206b12be66f5e9123091 | /R/RcppExports.R | 02789a83b48fd8e3c87e0054f0f03e6e36a0b58c | [] | no_license | cran/TSDFGS | 2c49d329e5b4c8f02d169bbe3dc6b1682c50037f | 595580483c921b33b3d37f5e84c962ff6d024fca | refs/heads/master | 2023-03-16T14:31:09.001807 | 2022-06-07T13:00:11 | 2022-06-07T13:00:11 | 174,551,977 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,504 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' CD-score
#'
#' This function calculate CD-score <doi:10.1186/1297-9686-28-4-359> by given training set and test set.
#'
#' @author Jen-Hsiang Ou
#'
#' @param X A numeric matrix. The trai... |
a193e52ffc31301e1d33983f45d3f404acc0efe8 | 7f7dbcf6c8d7c3146955638ac581a1b8d8a27d84 | /man/summary.nlsgrid.Rd | 40e1e8967f6309f0d70fa6b1f3ba8d951c4895d8 | [] | no_license | cran/nlsrk | 4d7e6332b6f4ff2c97874fe9752ff61a194da3d0 | cf5e0d26224bd42b04b58df2c69ec5afdc6b7845 | refs/heads/master | 2020-12-07T17:07:59.740964 | 2017-06-23T22:01:24 | 2017-06-23T22:01:24 | 95,274,750 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 732 | rd | summary.nlsgrid.Rd | \name{summary.nlsgrid}
\alias{summary.nlsgrid}
\title{ Summary method for objects of class nlsgrid(nlsrk) }
\description{
Prints the characteristics of an nlsgrid
}
\usage{
\method{summary}{nlsgrid}(object, ...)
}
\arguments{
\item{object}{ An object of class nlsgrid }
\item{\dots}{ Any parameters for ... |
c6cc78ee86683315323493b83dab7d862393979f | 972938c1df8b58ca1cb8e8d72d38c89c78d1d9d5 | /man/ObpiStrat.Rd | 9ad1d8c692cc11325bb0f1b0613331d066b30677 | [] | no_license | spignatelli/hedgeR | 07ac3e4a640b5b0a52507996cbe09df394f35603 | 5bd7cf3e8cdc782665821fb726310d2bc47fdf1c | refs/heads/master | 2021-01-12T21:35:56.454896 | 2016-03-09T11:23:41 | 2016-03-09T11:23:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 829 | rd | ObpiStrat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ObpiStrat.R
\name{ObpiStrat}
\alias{ObpiStrat}
\title{Option Based Portfolio Insurance (OBPI)}
\usage{
ObpiStrat(Q, P, K = P[1], vol, R = 0, tdays = 250, tcost = 0, min = Q,
int = TRUE)
}
\arguments{
\item{Q}{numeric value for quantity to b... |
cf9c16332f4c7f4d9bf8adfa075381e953b138d1 | 3487f9041213e7416fa1cdc3d3aef3bd942dd4a2 | /man/PlotControlPercentagesPerSample.Rd | 0274088869c7c34ba7f4cbb056d191be810b5c85 | [] | no_license | quanaibn/ascend | 8ad1d10a5051c6362b2133199a2d38e27653adf6 | 93dae316ec328732764adfc6056382a8eac702a1 | refs/heads/master | 2021-05-01T14:29:35.310976 | 2018-01-31T02:00:04 | 2018-01-31T02:00:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 447 | rd | PlotControlPercentagesPerSample.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ascend_plots.R
\name{PlotControlPercentagesPerSample}
\alias{PlotControlPercentagesPerSample}
\title{PlotControlPercentagesPerSample}
\usage{
PlotControlPercentagesPerSample(object, control.name)
}
\arguments{
\item{object}{A \linkS4class{EMS... |
012542e326256e48174fa73bcc31781da291431e | 399cb1248cacbe34a7567a27f75f0e729ffe068e | /R/count_data.r | 754726cfe5adf7e09aa8f9a6445e74e84d5c2470 | [
"MIT"
] | permissive | ikbentimkramer/tidystats-v0.3 | c62b04ae13a4e760f926323a206fd2fc1dbab2af | 03b08a96c1cb4617a3c90daab3ae88d51d1f5fcc | refs/heads/master | 2020-06-28T01:34:45.599446 | 2019-08-12T12:49:55 | 2019-08-12T12:49:55 | 200,107,970 | 0 | 0 | null | 2019-08-01T19:27:09 | 2019-08-01T19:27:08 | null | UTF-8 | R | false | false | 2,170 | r | count_data.r | #' Count the total of observations
#'
#' \code{count_data} returns the number of observations for categorical
#' variables.
#'
#' @param data A data frame.
#' @param ... One or more unquoted (categorical) column names from the data
#' frame, separated by commas.
#' @param na.rm Logical. Should missing values (including... |
580dfb32a294ac63eb1e1be8e511f079df004019 | b5284b2916d786e9d76c6b0624ea81f8a5b7df27 | /tests/testthat/test_ungroup_survey.r | 814be077800f02beacbd81103fbbd73e725cb0b7 | [] | no_license | babeheim/yamlform | 435c3d1c8f3c8c95abc843d243b6d4b6b87c5768 | 771d0b8b9a8b59365d0a1977d7e2b9651f7d7162 | refs/heads/master | 2020-06-16T12:57:14.762144 | 2019-07-17T12:25:01 | 2019-07-17T12:25:01 | 195,582,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,434 | r | test_ungroup_survey.r |
form1 <- list(
survey = list(
list(
name = "basic_group",
label = "basic group",
type = "begin group",
survey = list(
list(
name = "second_group",
label = "second group",
type = "begin group",
survey = list(
list(
n... |
ecdcfa99abdfa03c9d1222420692ccbf930b3314 | cc154449ade2f529f6eef2bf326e7b6d79062fea | /Assignment4/modeltestattempt.R | 0f19d881f816df86671c82dc2a9e39975eeef4df | [] | no_license | rnmaconeghy/assignment4 | c2cb489d5012620f619fa5a92719a541cef1f075 | 227f05b78820ee9278246d59442b283c495b2b82 | refs/heads/master | 2021-01-10T20:31:49.479807 | 2014-03-27T21:28:55 | 2014-03-27T21:28:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,681 | r | modeltestattempt.R | install.packages("ape")
install.packages("phangorn")
require(ape)
require(phangorn)
x<-read.dna("mustelid_coI.fasta",format="fasta")
d<-dist.dna(x)
write.table(as.matrix(d),"distances.csv")
d
d2<-dist.dna(x, model="GTR")
tr.upgma<-upgma(d)
plot(tr.upgma)
tr.upgmar<-root(tr.upgma, outgroup="Melursus/1-601 urinus")
plot(... |
3276899fa8218a67bbae6efa65d9208a5abb6ed3 | a2362ef7c93007c69c56f4f6887b49250d911bfd | /R/examples.R | 1649dff955a07a7ce6feb67af3da667488c7e7b1 | [] | no_license | lionel-/gsim | 146e991caad094a22fc9f5bff6cf86af90707015 | a8034d69d6b9bd4f16a4396107050a30f53c1f6b | refs/heads/master | 2020-05-20T05:06:00.238868 | 2015-09-27T21:03:34 | 2015-09-28T12:00:27 | 24,929,896 | 13 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,564 | r | examples.R | #' Example datasets and models
#'
#' Obtain and tidy ARM's wells and radon datasets from
#' http://github.com/stan-dev/example-models/
#'
#' @name examples
NULL
#' @rdname examples
#' @export
wells_data <- function() {
check_packages("httr", "dplyr")
url <- "https://raw.githubusercontent.com/stan-dev/example-mod... |
bbaa44742fb6e95e3810d69ca1c5b25c07678edb | 8a483632aada1fea716ed7ddab9ef42b113c413e | /code/functions/helper.R | e0c99b60b2cf9c60786475d7b34ae195df591721 | [] | no_license | ben-williams/parallel_diverge | ea54ca6caee59d321412e088ae57f920850d4464 | 9a0fd91a8e2418bbb0b1f0e7f37ca9b8c66acd7c | refs/heads/master | 2020-07-06T12:56:27.404297 | 2018-08-06T18:44:12 | 2018-08-06T18:44:12 | 66,984,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,390 | r | helper.R | # Code for producing agent-based model simulations of
# GOA walleye pollock fleet behavior
# ben.williams@alaska.gov
# bcwilliams2@alaska.edu
# Notes: This code will be pulled in for each scenario examined
# loads libraries, brings in data, provides a few functions for examinations
# load ----
library(extrafont)
#fon... |
8e1619f025ea3590ad9d61a6a39f163a9d486857 | ce0f2ab6661f55e5b31f48dd966e96f99c4d8914 | /assignment_3.R | 2abc1d0b94259a76e12418098ff819f3aa733998 | [
"Apache-2.0"
] | permissive | jinsonxu/ke_logistics_analytics | 0d48370e8ffc2a54bb980bd3a83bc3394b8c9c49 | 1a17bbed8cfdefb0baf66790da8a7d71b4d4ce1e | refs/heads/master | 2016-08-04T20:27:28.057617 | 2014-11-01T07:15:56 | 2014-11-01T07:15:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,979 | r | assignment_3.R | # Institute of Systems Science
# Master of Technology in Knowledge Engineering
# Logistics Analytics
# Assignment 3
# By: Jinson Xu
# Date: 18th October 2014
# clear workspace
rm(list=ls())
library(jsonlite)
library(httr)
# load custom functions
source('funcs.R')
source('config.R')
# read in our data files
pl... |
19576b909858362c726e1ede6a484448a4acf795 | 375bc6c6ec97d3f7d973aa967c55eec7cbb2b15c | /tableSMY.Rcheck/tableSMY-Ex.R | 0e7b9dc70eb431a28e2726a0a330ffd1f27da4fe | [] | no_license | peterwu19881230/Microbial_phenotype_data_mining | de9ce76ad6717d0d95df4d9972b399ddc5ae37dc | 0877af44fd66244f4ff927480acc5f524cb132fb | refs/heads/master | 2020-08-19T11:07:16.888840 | 2019-10-18T01:39:48 | 2019-10-18T01:39:48 | 215,914,207 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,008 | r | tableSMY-Ex.R | pkgname <- "tableSMY"
source(file.path(R.home("share"), "R", "examples-header.R"))
options(warn = 1)
base::assign(".ExTimings", "tableSMY-Ex.timings", pos = 'CheckExEnv')
base::cat("name\tuser\tsystem\telapsed\n", file=base::get(".ExTimings", pos = 'CheckExEnv'))
base::assign(".format_ptime",
function(x) {
if(!is.na(... |
d15b38836278a6933b5158ccd6eeb6eda83932c3 | 3f277f9f4e034d6d47984bdc70a24ba8952e5a1d | /man/waldTest.Rd | 8b3b742598bde96c8b78e1313589c6b7d0f2adae | [] | no_license | kkholst/mets | 42c1827c8ab939b38e68d965c27ffe849bcd6350 | c1b37b8885d5a9b34688cb4019170a424b7bec70 | refs/heads/master | 2023-08-11T17:09:18.762625 | 2023-06-16T07:54:16 | 2023-06-16T07:54:16 | 28,029,335 | 16 | 4 | null | null | null | null | UTF-8 | R | false | true | 449 | rd | waldTest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dutils.R
\name{waldTest}
\alias{waldTest}
\title{Wald test for model (type III test)}
\usage{
waldTest(object, ...)
}
\arguments{
\item{object, }{for example glm object that can be used with estimate}
\item{...}{arguments for estimate of lav... |
6fc8fbe930e4af531fb7754d7d9aea6c0029464e | de08a4fd9a437dde251507354751179e97a316c1 | /module.R | ab8ae0a4ac29d9d6f2d0ef28fb5a89c1cb9cd222 | [] | no_license | Juanroalvarado/queue_simulator | 4046b9069e1cf689b766cc6f98cce5b0c4f42e28 | 0ee7914e30b267d9813b974104956f0003461be0 | refs/heads/master | 2021-05-07T03:52:16.807283 | 2017-11-16T21:58:27 | 2017-11-16T21:58:27 | 111,026,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,074 | r | module.R |
displayMu <- function(id){
ns <- NS(id)
fluidRow(
box(
h3("Lambda"),
textOutput(ns("origin_lambda")),
width = 4
),
box(
h3("Mu"),
textOutput(ns("origin_mu")),
width = 4
),
box(
h3("Mu2"),
textOutput(ns("origin_mu2")),
width = 4
)
)
}
... |
dbeb772851d8db494d5d41c9091177a35cb57e0e | 311c0efbcb7886a48f356ccffd730a89ce15fee3 | /plot4.R | 8efb50b25c0af72e260410f586d77a3c802f94a9 | [] | no_license | cg80/ExData_Plotting1 | 21d6db347ba1c15bf673721a19313399f8a559ed | 7b054123ce9efcb3320badf5e586a0088a3a89b5 | refs/heads/master | 2021-01-18T05:30:15.323414 | 2014-08-22T14:03:23 | 2014-08-22T14:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,320 | r | plot4.R | ## import the data to R
data <- read.csv("household_power_consumption.txt", sep = ";",
stringsAsFactors=F, na.strings="?")
## subset the desired date range
pwr <- data[data$Date == "1/2/2007" | data$Date == "2/2/2007",]
## Convert the Date column from char to Date class
pwr$Date <- as.Date(pwr$Date,... |
e0edf936ec1ec968488478efdf269ae02863f7f7 | 2101587528caa6a48e0e8b219f2b7f5ce2870d1a | /ui.R | 98b871e7d1e0c66aad7cbcbb285e8d1a7d8c7284 | [] | no_license | marcfinot/Data_Products | e395089db04971ba435d27dbea43e0650a4a4631 | 4ea000ed1b0b2801c6e9bec680c625795a8c50ce | refs/heads/master | 2020-05-30T14:42:05.659727 | 2015-02-22T19:16:17 | 2015-02-22T19:16:17 | 30,503,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,242 | r | ui.R | library(shiny)
TMYlocationfile <- "http://rredc.nrel.gov/solar/old_data/nsrdb/1991-2005/tmy3/TMY3_StationsMeta.csv"
location_table <- read.csv(TMYlocationfile, header=TRUE)
location_table$location <- paste(location_table$State,location_table$Site.Name)
index <- order(location_table$location)
location_sorted <- location... |
42c736acfa402f489105e7f6ce82e7b7ac57682a | af65bddcc7a59060c7f787a88d626947f786c315 | /2019-1494.R | 7a4371a69ff7ef073ecf272e2356b268be3b46fe | [] | no_license | duanxiaoqian/data-mining-scripts | ad5b9fad5062a6ebc450e8b66b79ccec8ec1a276 | 1f06b24e67bb8a735f5e2645e4ce90946eeb8f8f | refs/heads/main | 2023-08-14T03:57:46.253457 | 2021-09-22T07:59:07 | 2021-09-22T07:59:07 | 409,114,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 816 | r | 2019-1494.R | # 售后LM2019-1494
setwd("Z:/项目数据/LCMS/2020/LM2019-1494/售后/售后1")
library(dplyr)
#veen
d3 <- RMETA2::readxlsx("veen.xlsx", sheet = 1)
d3_filtered <- d3[apply(d3[,-1],1, FUN = function(x){return(sum(x==0)<3)}),] # 比较时,必须全为numeric,不然全是false
d6<- RMETA2::readxlsx("veen.xlsx", sheet = 2)
d6_filtered <- d6[apply(d6[... |
5cca6042678869c334a0f83668e1cf5aa768ca80 | 6d3fb21b34d50c70c0525bba1bcf40b0d4008c21 | /R/data_student_equity.R | 9a67b7cc593d8bbaaa0704d7bba269bdf830d882 | [] | no_license | vinhdizzo/DisImpact | 2df6051da147dbf8d3bd7292ac7a5439e1d6d269 | 9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c | refs/heads/master | 2022-10-14T10:13:45.066043 | 2022-10-10T17:37:21 | 2022-10-10T17:37:21 | 134,330,630 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,616 | r | data_student_equity.R | #' Fake data on student equity
#'
#' Data randomly generated to illustrate the use of the package.
#' @format A data frame with 20,000 rows:
#' \describe{
#' \item{Ethnicity}{ethnicity (one of: \code{Asian}, \code{Black}, \code{Hispanic}, \code{Multi-Ethnicity}, \code{Native American}, \code{White}).}
#' \ite... |
27a9a35ee70514d47606e31a86ccdbff567a2e04 | b65595f9f4ad5e2695acdb860eda3598bd7fba2c | /Annotation.R | 5dba698db45a2b469e9336a90cafbf293011ec3a | [] | no_license | SherryH1229/CS_RNA | 20f057462c9176baf160e242870ff3444a0c29f4 | 87524f9856af203ffa8f8128551480eddb7c41fc | refs/heads/master | 2020-05-22T13:55:32.672379 | 2019-09-05T19:50:57 | 2019-09-05T19:50:57 | 186,370,692 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,071 | r | Annotation.R | library(org.Mm.eg.db)
library(org.Hs.eg.db)
library(dplyr)
#DataBases
cols <- c("GENENAME","SYMBOL")
#Hs
Biotype_df_Hs <- read.csv("~/dataOS/CS_RNA/surface_click/NK92/20190408/20190408_FPKMs.txt",sep="\t") %>%
as.data.frame(.) %>% .[,c(1,7)]
# RNA type
RNA_annotation <- as.character(unique(Biotype_df_Hs$Biotype))... |
7106038ffd1ba95388915d280fd3c355a651c9d6 | 9ea6e8002beed284ebb0e7d33e788ce64812cd93 | /shiny_app/server.R | 170c4b8aa5cf750f9f00a8d2c9ab03ebd1774079 | [] | no_license | AimeeRose/conflicts_analysis_project | 97985d644a8d7689dfe09fa015665cbce00faa31 | 29a707fe482535b2eec6d89eacb79062dbb46108 | refs/heads/master | 2021-01-24T23:41:28.205850 | 2015-11-17T14:34:10 | 2015-11-17T14:34:10 | 46,353,040 | 0 | 0 | null | 2015-11-17T14:41:25 | 2015-11-17T14:41:25 | null | UTF-8 | R | false | false | 1,276 | r | server.R | library(shiny)
library(RMySQL)
library(ggmap)
library(grid)
shinyServer(function(input, output) {
con <- dbConnect(RMySQL::MySQL(),
dbname = "gdelt",
host = "bgseds-group8-rds.cgwo8rgbvpyh.eu-west-1.rds.amazonaws.com",
user = "group8",
password = Sys.getenv("DB_PASSWORD"))
output$significanceMap <... |
1f34268e7c5fe1fd4eaddc2aba56ad784e9ebd5f | 1f5c6b962db46c457ecb60e2cd03a9e862519c85 | /day3/5 - logistic_regression/logistic_regression.R | 4a28c4a64059f74420320abd507a1fa7ed511c3d | [] | no_license | lschwetlick/SMLP_Bayes | df7387d457dcbc4de6a1184e80cda826eb6d42c6 | 0f5fff915cbb3f72cb8083a16395d49c68f9204a | refs/heads/master | 2020-03-28T10:35:48.182646 | 2018-09-15T11:19:21 | 2018-09-15T11:19:21 | 148,124,423 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,446 | r | logistic_regression.R | setwd('/Users/lisa/Documents/SMLP/material/day3/5 - logistic_regression')
############################################################
# Initial setup
############################################################
library(rstan)
rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())
util <- new.e... |
48d9bb61c0cc3750485550f85dd5cb0d10a765be | 82f22590405a457c63cb9f9baeafee96ac9eb431 | /fimo2fishers.R | 14e47aece592c9ab4c6ea4207c649cf77d2d14de | [] | no_license | zm-git-dev/apa_bin | df5026b74fe02f4f6d6f948dad8d12867bd3afad | 73816825db72a1f7203b625a7651507afd25142f | refs/heads/master | 2022-09-13T07:04:40.922889 | 2018-07-24T20:37:08 | 2018-07-24T20:37:08 | 191,887,492 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,706 | r | fimo2fishers.R | source("~/uapa/R/apa_tools.R")
load("/n/data1/biobase/transfac/current/R/matrix.dat.RData")
vert <- indexes$acc[grep("^V",indexes$ID)]
urls <- rbind(read.delim("transfac.url", sep="\t", header=F, as.is=T),read.delim("jaspar.url", sep="\t", header=F, as.is=T))
ids <- rbind(read.delim("transfac.ids", sep="\t", header=F,... |
27dcf6c1b7e74354341ee987e8d43d53599a536f | 77fa704a3d3cbaddf8c94ba841ed3da988fea64c | /data-raw/texas_income.R | 012913db5589b260267feaa5878643939f70b20a | [
"MIT"
] | permissive | wilkelab/practicalgg | a80a257b3c57b746110923604875e9217ea293e2 | 5718aad4322ba86967efd6c5d2b31eace0319248 | refs/heads/master | 2021-06-26T22:34:30.561706 | 2021-02-01T23:06:05 | 2021-02-01T23:06:05 | 209,400,266 | 78 | 8 | NOASSERTION | 2019-10-14T19:24:47 | 2019-09-18T20:41:08 | R | UTF-8 | R | false | false | 324 | r | texas_income.R | library(tidycensus)
library(tidyverse)
options(tigris_use_cache = TRUE)
##****************
## Median income
##****************
# get median income
texas_income <- get_acs(
state = "TX", geography = "county", year = 2015,
variables = "B19013_001", geometry = TRUE
)
usethis::use_data(texas_income, overwrite = TR... |
880d6a5abd99c48d6fbc233031412cffb099705c | a8e8000b370d54c2f6a097ee59876827f4daafbe | /9.6/ggplot2.R | 13d66c9c6afca66f95ff82bfb078ddf74825de22 | [] | no_license | weidaoming/R | 142be073ebdf097740ae5a02a7e75308a06e30d1 | 5048ca1d46025ba41d03b00049a17b309e8dfedc | refs/heads/master | 2021-07-12T10:47:27.552074 | 2017-10-18T07:09:09 | 2017-10-18T07:09:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,099 | r | ggplot2.R | library(ggplot2)
ggplot(airquality,aes(Wind,Temp)) +
geom_point(aes(color=factor(Month)),alpha=0.4,size=5)
ggplot(airquality,aes(Wind,Temp)) +
geom_point() +
geom_smooth()
ggplot(airquality,aes(Wind,Temp)) +
stat_smooth(method="lm",se=FALSE)
ggplot(airquality,aes(Wind,Temp)) +
stat_smooth(method="lm",se=F... |
960e67a8479ee0c835bff1c9e91dadf67f0c3347 | 5450042e2cdca616a2c4b07cdeb8ff41fe534f29 | /man/focal.function.Rd | f11c7e49a2716fea28a1ae2e0b060ef9f8966c7b | [] | no_license | GertS/RSAGA | 78f4b0aefe2e2deed447452f1600be47139d15dc | e2f6b296c45adcb23c364e32eea3cf1baea59251 | refs/heads/master | 2021-01-16T19:57:34.833107 | 2013-07-23T00:00:00 | 2013-07-23T00:00:00 | 31,158,444 | 1 | 0 | null | 2015-02-22T09:32:46 | 2015-02-22T09:32:45 | null | UTF-8 | R | false | false | 9,588 | rd | focal.function.Rd | \name{focal.function}
\alias{focal.function}
\alias{gapply}
\alias{local.function}
\title{Local and Focal Grid Functions}
\usage{
focal.function(in.grid, in.factor.grid, out.grid.prefix,
path = NULL, in.path = path, out.path = path, fun,
varnames, radius = 0, is.pixel.radius = TRUE,
na.strings = ... |
0e20da1b4e00abed27871db6f323b69a53a22607 | f2d3a834eb614c444e4c4d2f863577e804d9fb70 | /man/fix_dates.Rd | 1e44778d3d5e1b64ad50703df026c34810d61bb9 | [] | no_license | David-Hervas/clickR | 150669cc67575659258e2bb44f429544e52e809c | cb738e505375376d91ac37eb01813ac3fb0e1432 | refs/heads/master | 2023-08-14T05:06:15.095067 | 2023-08-07T17:01:53 | 2023-08-07T17:01:53 | 90,495,146 | 3 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,785 | rd | fix_dates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fix_functions.R
\name{fix_dates}
\alias{fix_dates}
\title{Fix dates}
\usage{
fix_dates(
x,
max.NA = 0.8,
min.obs = nrow(x) * 0.05,
use.probs = TRUE,
select = 1:ncol(x),
track = TRUE,
parallel = TRUE
)
}
\arguments{
\item{x}{A da... |
caa837aa1d2b8c0c61ac12c63070f0a70b45ccd8 | 35b9530d0bd20b69e2508954183d6e52db45826f | /R/qrCodeSpec.R | 69176324f99c3cfd74048c79920d07d8d562fbfe | [] | no_license | victorteh/qrcode | fd67c312d0465ddf70fc6ef35d70c443dd5eb496 | 7d3305d3fa134afced8f48d13a5b4c4540ddb2e9 | refs/heads/master | 2021-01-01T05:38:18.649874 | 2015-08-24T00:12:36 | 2015-08-24T00:12:36 | 41,254,512 | 3 | 3 | null | 2018-06-19T12:33:44 | 2015-08-23T15:12:48 | R | UTF-8 | R | false | false | 1,012 | r | qrCodeSpec.R | #' QRcode specifications and requirements.
#'
#' List of different versions of QRcode specification and requirements.
#' For more details can refer to QRcode standard.
#'
#' \itemize{
#' \item Version. QRcode version.
#' \item ECL. Error Correction Level. Consisted of 4 level L,M,Q and H.
#' \item Numeric.... |
1826184be566de1325c3e5b735acba593aa6204d | 7a1c1dd167794190e0aa0f763b4549abdac5ead4 | /plot4.r | 401b2bd5336e640e33a5d1857e552835870d574b | [] | no_license | mattyhoo/ExData_Plotting1 | 4d367e305885066b90bb46f8a2293220278ced7c | d5b77c0cfc347541c7582c5375a94b45ea67fca6 | refs/heads/master | 2022-06-10T01:28:36.551019 | 2020-05-09T21:33:33 | 2020-05-09T21:33:33 | 262,483,024 | 0 | 0 | null | 2020-05-09T03:44:57 | 2020-05-09T03:44:56 | null | UTF-8 | R | false | false | 1,305 | r | plot4.r | pc<-read.table("household_power_consumption.txt",sep=";",header=TRUE)
pc$Date<-as.Date(pc$Date,"%d/%m/%Y")
pc1<-subset(pc,Date>=as.Date('2007-02-1') & Date<=as.Date('2007-02-02'))
pc1$Global_active_power<-as.numeric(as.character(pc1$Global_active_power))
pc1$Global_reactive_power<-as.numeric(as.character(pc1$Global_rea... |
7ef186c264f61d58cd5354fa74c0bddff496e599 | 9fdd567c9389cbff4d4e332e2264e6807e7bc97a | /BernSetting/MAPBeta.R | 56ebbb9dc7c15566cc9f287108a1ca078a5884f1 | [] | no_license | JINhuaqing/UIP | 91ed3e2b2b9568a802817ce49be33675365edc07 | 645581f544df409e9a3bf980c4af710e537a692d | refs/heads/master | 2023-06-19T16:27:57.773039 | 2021-07-13T07:18:37 | 2021-07-13T07:18:37 | 227,052,732 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 339 | r | MAPBeta.R | library(RBesT)
getrMAPBeta <- function(Ds, w, mean){
nD <- dim(Ds)[2]
stds <- 1:nD
dataDF <- data.frame(study=stds, r=Ds[1, ], n=Ds[2, ])
map_mcmc <- gMAP(cbind(r, n-r)~1|study, family=binomial, data=dataDF, tau.prior=1)
map <- automixfit(map_mcmc)
rmap <- robustify(map, weight=w, mean=mean)
... |
5693bf1be7fab41f4eae6c92586b96812f3f0e10 | eb5cc0a95d4ec2877f7605dda0e3461993301e4d | /plot2.R | 0891674ab66ba7673e95a9a1e59bfb29a355d6fa | [] | no_license | MaxDQlikDev/ExData_Plotting1 | 15e27382041ebfe51a045fbed46a6e2a34fdc842 | db683e83b5a01b2a0fc5c7fc68c5e42184b9858f | refs/heads/master | 2020-04-05T08:19:29.873884 | 2018-11-12T16:25:57 | 2018-11-12T16:25:57 | 156,710,219 | 0 | 0 | null | 2018-11-08T13:21:00 | 2018-11-08T13:20:59 | null | UTF-8 | R | false | false | 1,253 | r | plot2.R | # Plot 2
# loading and unzipping data
pathTozipFile <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
pathTotxtFile <- file.path(getwd(),'Temp')
download.file(pathTozipFile, pathTotxtFile, mode="wb")
unzip(pathTotxtFile, "household_power_consumption.txt")
dfSecondPlot <- read.c... |
ba6ede4a3a6e2187d5098b58b1ada92029b8eeee | 8516a1b12744c52a8775250fea9be7f2bf535f4b | /shiny_infoBox_brushed/ui.R | dca22869c1a28a093e59e7dce58107ed086817e4 | [] | no_license | Ronlee12355/ShinyTrials | 5696482712d87fce6349bfbb5f8fc3915b32154c | c00691d7a1cdbdd0f608bbfe2c09dbe3878fe590 | refs/heads/master | 2021-03-22T22:29:47.263599 | 2020-04-12T06:04:46 | 2020-04-12T06:04:46 | 247,402,563 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,769 | r | ui.R | library(shiny)
library(shinydashboard)
shinyUI(
dashboardPage(
title = 'Shiny Dashborad With InfoBox and Brushed Plot',
skin = "yellow",
dashboardHeader(
title = 'Shiny Dashborad With InfoBox and Brushed Plot',
titleWidth = 600,
# Dropdown menu for messages
dropdownMenu(type = "me... |
67487312af93c03f0f5d1481fdf1e031bf2fc3ee | 0a906cf8b1b7da2aea87de958e3662870df49727 | /blorr/inst/testfiles/blr_pairs_cpp/libFuzzer_blr_pairs_cpp/blr_pairs_cpp_valgrind_files/1609956893-test.R | 9f2548c9a32e7b7762ea444235d74b065e134374 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 784 | r | 1609956893-test.R | testlist <- list(x = c(-6.95715257111252e+306, NaN, -1.65652687672654e-181, NaN, -1.06817373190919e+297, 3.53369545915248e+72, 7.21902962651992e-304, 4.99006302299659e-322, 0, NaN, 3.53369546676705e+72, NaN, -2.0535003523974e-155, 2.67122792029349e+161, 5.41108926822131e-312, 1.390671161567e-308, -4.73574659118105e... |
acd0a59fbe48604fa245c71cf20a745b8239d3ef | 6858ce9b40f7f242af8200921cf3731bd0bb5c64 | /FWL_EtherLipids_3.2.0.R | 095d059f44353dd1bd2b25ef16fa33193fcf2de9 | [] | no_license | zl1002/Farese_and_Walther_lab | fea1b62bfcb7ac92029174b12ce03cbd0055fcdc | f03cde0aa1853374c1cd29476a76665c6b5a9be4 | refs/heads/master | 2021-04-08T14:09:46.247690 | 2020-03-19T17:59:05 | 2020-03-19T17:59:05 | 248,782,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,886 | r | FWL_EtherLipids_3.2.0.R | ####################################################################################
# Script: FWL_EtherLipids_3.2.0.R
# Author: Wenting Lyu
# Notes: This script assist executing for main script FWL_lipidomics_3.1.R which
# helps generating the graph and data for the workflow of lipidomics.
# it also ca... |
a36d096079e3657d0b1b93eeb5980a0665d64c06 | a7150b302e67445f75e351b8a8f5d10395b7abae | /knn_KOOS.R | ecfb1c1b9ae084cfad5e8560e7d0fb1eb328ff7e | [] | no_license | muttaja/test | bc16b0b18a0e81a6aa7f9b6a807052533d3917dc | 82ee1413e43e5537c33ce09ff17e5fe59e1f6427 | refs/heads/master | 2020-04-04T20:51:52.686836 | 2019-04-26T14:15:31 | 2019-04-26T14:15:31 | 156,263,771 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 18,839 | r | knn_KOOS.R | #hinnangud koos andmestikul
#dk andmestik failist landsat_to_sentinel
dk[,-1] = scale(dk[,-1])
muld1 = data.frame(muld = koos[koos$aproovitykk_id %in% mets_id,]$muld)
muld1$aproovitykk_id = koos$aproovitykk_id[koos$aproovitykk_id %in% mets_id]
muld1[is.na(muld1$muld),]$muld = 999
#midagi kokku võtta?
table(muld1$mul... |
f5ed093722a6cdca2d7eabe82150943499e066e9 | b6258c79242265936a92284096f4ad53faee34f2 | /K-means and CART.tree .R | 0293165523122540961ac249cae6e4573707c8e5 | [] | no_license | lialee99/Taiwan-Food-Forum | 873148f3e0832a8b767f7c8cfaae29a75903f9b1 | e86744261f3517fcf848434fbc4d841c726ce7ff | refs/heads/master | 2020-06-06T22:50:42.695993 | 2019-07-03T03:39:10 | 2019-07-03T03:39:10 | 192,869,303 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,380 | r | K-means and CART.tree .R | library(jsonlite)
library(jiebaR)
# get dcard_area from github
dcard_area <- dcard_area[,-1]
dim(dcard_area)
# select content, id, gender, area
dcard_content <- dcard_area[,c(1,8,12,15)]
# delete na
dcard_content <- dcard_content %>%
filter(area %in% c(1:5))
sapply(dcard_content, class)
library(dplyr)
# repeat 8... |
4f3a2ecdc66a66f77eff1e45343ca2827d152ecb | 599c2cf0ad1b158138c78b5c6c4c2804bbeb45d0 | /man/recycle.Rd | 32eca8960d48d2866ba4ec3a4b7768b6083d10c8 | [] | no_license | tlarzg/rtemis | b12efae30483c52440cc2402383e58b66fdd9229 | ffd00189f6b703fe8ebbd161db209d8b0f9f6ab4 | refs/heads/master | 2023-07-07T20:53:43.066319 | 2021-08-27T03:42:19 | 2021-08-27T03:42:19 | 400,347,657 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 299 | rd | recycle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/recycle.R
\name{recycle}
\alias{recycle}
\title{Recycle values of vector to match length of target}
\usage{
recycle(x, target)
}
\description{
Recycle values of vector to match length of target
}
\author{
E.D. Gennatas
}
|
db298ec7aa72332f96dd70a21578b92ee8cbc260 | cb39c24643cdd4a9fd4ed20980ee675edd1cdbf3 | /man/FamiliasLocus.Rd | e3abade8a7ba7c80d02c29adc66a2f2eca8cce08 | [] | no_license | cran/Familias | b11d2abc1dc53219b79a9907220a90aec72aa20d | b8ed14226c255b2b791d6e08a6cb231d761846a3 | refs/heads/master | 2021-01-22T03:39:35.304468 | 2016-02-18T15:13:56 | 2016-02-18T15:13:56 | 17,679,206 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,586 | rd | FamiliasLocus.Rd | \name{FamiliasLocus}
\alias{FamiliasLocus}
\title{
Creates an object with information on a locus, including its mutation matrices.
}
\description{
The user provides input needed to define a locus (also called system or forensic marker) to be used for pedigree calculations.
The input is checked and if no error... |
7c1ffd142798e790dd7a1304a5fe4da9dc91c30d | a169dda12f7f03c68cb8a86a68236774990d50da | /man/iNEXTbeta.link.Rd | c782ba0425254afa981512310e0ea4d4eedbb472 | [] | no_license | Chunger-Lo/iNEXT.link | 393e889f2fd8f24d89285ce84b6b646de0085930 | a7d4ac08958297ceacab5bdc32d876a81b1712b1 | refs/heads/master | 2023-07-08T17:23:09.387560 | 2021-08-12T01:49:03 | 2021-08-12T01:49:03 | 351,671,773 | 0 | 0 | null | 2021-05-04T12:56:25 | 2021-03-26T05:26:13 | R | UTF-8 | R | false | true | 3,790 | rd | iNEXTbeta.link.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iNEXTlink.R
\name{iNEXTbeta.link}
\alias{iNEXTbeta.link}
\title{Interpolation (rarefaction) and extrapolation of Chao et al.’s (2021) network diversity and mean network diversity
Function \code{iNEXTbeta.link} Interpolation and extrapolation ... |
bdda01fdbeac2e611adeaa91ac8c19af16c94f60 | 4ef4f79e190d70e79c13e342919beb1cdc667742 | /add_opp_info.R | e269ed8e9526f8fccca185a7498a6b18b5acf716 | [] | no_license | capstat/NBA-back-to-backs | 65ce519497bb9c183baaf14fc714edf18b67fd67 | e15d5453da6e138fedd6bc8e80e640c5128f3078 | refs/heads/master | 2021-05-04T11:16:32.273560 | 2017-05-17T12:57:25 | 2017-05-17T12:57:25 | 47,477,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,317 | r | add_opp_info.R | library(dplyr)
all_schedules = read.csv(paste0("schedules/allNBA_gameresults_",
min(YEARS-1), "-", max(YEARS), ".csv"),
stringsAsFactors=FALSE)
#add team age
team_info = read.csv("nba_team_info.csv", stringsAsFactors=FALSE)
colnames(team_info)[1] = c("Team")
#... |
0f9938e67f1c7e28660859b706277109cf649fcd | 0a9e9a4c2e194d70e9269db2b3490472efa21ffd | /man/censor_beh.Rd | f12a0228eda8219000dd23c6eb28db5266afe073 | [] | no_license | williamcioffi/sattagutils | 390424e9fb23fb0f99574c4eba844d7633288da1 | e42256c679756aef5f7f9a286eceb95d64c4d11f | refs/heads/main | 2022-06-06T13:11:14.049968 | 2022-05-29T03:35:08 | 2022-05-29T03:35:08 | 153,984,008 | 0 | 0 | null | 2021-11-27T08:36:14 | 2018-10-21T07:32:31 | R | UTF-8 | R | false | true | 633 | rd | censor_beh.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/censor_beh.R
\name{censor_beh}
\alias{censor_beh}
\title{censor a behavior stream}
\usage{
censor_beh(b1, depth = 50, duration = 33 * 60)
}
\arguments{
\item{b1}{a behavior data stream or a dataframe approximating one. requires columns \code{... |
30c925f0f6f9672a9e5c810204ef2cc530c02333 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ezplot/examples/roc_plot.Rd.R | 8f820cc8e491d1c79a986c3400189259581233f2 | [] | 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 | 818 | r | roc_plot.Rd.R | library(ezplot)
### Name: roc_plot
### Title: roc_plot
### Aliases: roc_plot
### ** Examples
library(ggplot2)
n = 10000
df = data.frame(actual = sample(c(FALSE, TRUE), n, replace = TRUE),
runif = runif(n))
df[["fitted"]] = runif(n) ^ ifelse(df[["actual"]] == 1, 0.5, 2)
ggplot(df) +
geom_density(a... |
1edf131182abe881d0ebf077ed6d27e37020bb2e | cac416597b20497c8521d6ddf84d4c38235228d4 | /Homework 9/Powers/man/square.Rd | 3076bca4e0511dafa9bd95d814e8589000b94f7d | [] | no_license | vanflad/STAT547-hw-fladmark-vanessa | 6da4f34cb2922503c96991e75cef85354db0b5ae | edf7ef8c685bad5123a72536f3ca19114a74cfd1 | refs/heads/master | 2021-08-24T04:11:28.981437 | 2017-12-08T01:41:43 | 2017-12-08T01:41:43 | 104,009,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 630 | rd | square.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/square.R
\name{square}
\alias{square}
\title{Square a vector}
\usage{
square(x)
}
\arguments{
\item{x}{The vector to be squared.}
}
\value{
A vector that is the square of \code{x}.
}
\description{
That's it -- this function just squares a vec... |
3fd008b72b4cd8f7459a223b18eecf4989063b74 | 79063458d54822e88b87a9cc1b930fbbeaaa1147 | /protocols/compare-cegs/plot_hits.R | c07558b05d93eb209e0a7c9c2632580e416a4c54 | [] | no_license | DataZou/haemonchus-comparison | d6aef0fe4a1057757dd1ae333f7e320a7a835370 | 302dbd23189bc3aaec0b7690c610d181d368ede6 | refs/heads/master | 2020-12-25T01:17:07.260717 | 2014-03-03T14:41:12 | 2014-03-03T14:41:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,372 | r | plot_hits.R | library(Vennerable)
v <- Venn(
SetNames = c('MHco3 complete', 'MHco3 partial', 'McMaster complete', 'McMaster partial'),
Weight = c(
'0110' = 2,
'0111' = 0,
'0000' = 0,
'0001' = 5,
'0011' = 0,
'0010' = 5,
'0101' = 8,
'0100' = 6,
... |
ce9a8900b614eb286dba38417d22129693de78cb | f81d187ba79cc6a5d999737c54dd1f086445fd87 | /test/units/testpkg/man/square_it.Rd | e19a4b462ee7030202100eef87386a0006b84320 | [
"MIT"
] | permissive | virtualstaticvoid/heroku-docker-r | 2897e14f7299dd3b9e1a69bb4b19520988fe4e09 | 39933ac9046d923db885c36e9fd35cdbf7c1f693 | refs/heads/main | 2022-12-20T07:10:34.445598 | 2022-12-15T18:04:41 | 2022-12-15T18:04:41 | 48,537,247 | 35 | 17 | MIT | 2022-07-10T11:17:22 | 2015-12-24T10:00:22 | R | UTF-8 | R | false | true | 245 | rd | square_it.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/testpkg.R
\name{square_it}
\alias{square_it}
\title{Square it up}
\usage{
square_it(n)
}
\arguments{
\item{n}{Integer}
}
\value{
Square
}
\description{
Square it up
}
|
e711025bf782850d256e60cd378f776e06c3d3f2 | ad3e0dbb4eb75a4b03c4c853447790fb0681874b | /man/ds.pull_URL.Rd | 7d7934f71b888b1376d34a78ac134126c5309d3f | [] | no_license | deepfriar/dryscrape | 06b4a73a4b9deb379328f82c9870f579b93cd1b0 | 7e3f09f362ab34726766ee9c81ed0dcdbf26904e | refs/heads/master | 2022-06-14T22:46:28.893834 | 2019-11-03T01:48:37 | 2019-11-03T01:48:37 | 173,660,862 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 569 | rd | ds.pull_URL.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/5_pull.R
\name{ds.pull_URL}
\alias{ds.pull_URL}
\title{Don't Repeat Yourself}
\usage{
ds.pull_URL(url, agents, ref = "nhl.com")
}
\arguments{
\item{url}{character. A URL.}
\item{agents}{character vector. One or more HTTP user agent st... |
11bc80b9ccd0a6dd44111e5dc0be0df70e31e1a1 | a2af327f39a760b55ec9f7c185a60f23d0ce4da1 | /R/tab-panel-histogram.R | 023959ac2b509808d4f7c9418ae028e33dba4e52 | [] | no_license | agberg/gogoplot | 3f9bfeea3433c9aa193a62cf5765bde7a1696672 | 3ce0722423b9fd9df670139627b6774437316f13 | refs/heads/master | 2021-07-11T20:48:23.297217 | 2017-10-14T05:06:24 | 2017-10-14T05:06:24 | 106,940,952 | 0 | 0 | null | 2017-10-14T15:53:20 | 2017-10-14T15:53:20 | null | UTF-8 | R | false | false | 141 | r | tab-panel-histogram.R | histogramTabPanel <- miniUI::miniTabPanel(
'histogram',
icon = shiny::icon('bar-chart'),
shiny::helpText('...under-construction...')
)
|
2f30523b5ad3b7328efd7e68b60b3d08cbebd17b | 90bb1dabe91ac66076eefee72e59f8bc75d3315d | /man/cross_prob_search.Rd | e7fa5694d18c454b57611ef614be7439b4ed7172 | [
"MIT"
] | permissive | shinjaehyeok/SGLRT_paper | 31b1dfaac5fdae07c8a106ed86802559b4ac3808 | cbca2c5d9cfc6a2a5fbc8af6a3183fa133b9c377 | refs/heads/master | 2022-12-30T23:09:42.248401 | 2020-10-24T07:21:30 | 2020-10-24T07:21:30 | 299,136,203 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 875 | rd | cross_prob_search.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cross_prob.R
\name{cross_prob_search}
\alias{cross_prob_search}
\title{Grid-searching the upper bound on the boundary crossing probability for the sequential GLR-like test.}
\usage{
cross_prob_search(g, d, nmin = 1L, m_upper = 1000L)
}
\argum... |
78bf6da09ea5444b7b0db913166084319218a238 | 1307cddff3051fc017330260d0dcc908f54e9167 | /man/ihme_cols.Rd | 4807fdd48761c352025c91af4e156cfa66402c72 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | mcooper/mattr | 20673ffbd20f4b61a19d90989337ea6e330867d4 | 0bddcc79210ed866adb5e7238dfd1051cf471142 | refs/heads/master | 2022-11-08T05:36:02.816456 | 2020-06-24T16:06:56 | 2020-06-24T16:06:56 | 261,308,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 324 | rd | ihme_cols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ihme_cols.R
\docType{data}
\name{ihme_cols}
\alias{ihme_cols}
\title{Vector of colors that I like}
\format{An object of class \code{character} of length 10.}
\usage{
ihme_cols
}
\description{
Taken from an IHME visualization
}
\keyword{datase... |
c97fb8a9d6f8d1333e7d363df18f7ba5ded02791 | c8bce529daccc22533607fd83eeced0509b044c8 | /R/theme_din.R | c9b89f67556e4dbd40b9b006226d3c0b202db36b | [
"MIT"
] | permissive | camille-s/camiller | 4621954dac2954ed1d6ef60cc8b273ef533ab78e | 544ee2879a1c4f6bc5a75b854d1d3c57a99bae84 | refs/heads/main | 2022-03-05T22:57:39.198220 | 2022-01-21T21:52:56 | 2022-01-21T21:52:56 | 134,476,995 | 2 | 0 | NOASSERTION | 2022-01-21T20:43:39 | 2018-05-22T21:18:03 | R | UTF-8 | R | false | false | 3,573 | r | theme_din.R | #' Theme Din
#'
#' @description A clean theme especially suited for labeled bar charts or Cleveland dot plots. Designed based on the DIN family of fonts, but now defaults to font "Roboto Condensed".
#' This defaults to `base_family = "roboto"`, which depends on a) using `showtext` and `sysfonts` to get a font called "r... |
9921d06f0fced713ad62429d6cafca3ef24a6c6d | 1dcfea8d5cdc1c7c5d0a96d89e639102da0dbbd4 | /man/CreateTimeunits.Rd | 8fec7faef11ab01c8dfaea65919f3623e6095cf3 | [] | no_license | aukkola/FluxnetLSM | 707295d0dd4ccf1f5b43b09896b947e5f10b5e84 | 2716bc87bcc2ba148de7896bfad7fe6631639431 | refs/heads/master | 2023-06-24T20:21:45.371934 | 2023-06-20T05:27:53 | 2023-06-20T05:27:53 | 73,448,414 | 29 | 15 | null | 2022-10-04T23:53:08 | 2016-11-11T05:24:51 | R | UTF-8 | R | false | true | 239 | rd | CreateTimeunits.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Timing_general.R
\name{CreateTimeunits}
\alias{CreateTimeunits}
\title{Creates time unit}
\usage{
CreateTimeunits(starttime)
}
\description{
Creates time unit
}
|
b03ee42096cc38e716ebcdaa8db8e12663f6da3c | fd12705603e3ba863935d6de229303763acb2748 | /src/homeworks/onlinedatasales/campaign_5_1_cv_gbm.r | 51c9a1a060483615fb1bff6999253ffcb104a107 | [] | no_license | jsrawan-mobo/mrbigdata | 59ffbaca07ba5f605387c96140016d1529086398 | 179165e38228d17e9994287160ba77c9600771ad | refs/heads/master | 2021-01-17T22:04:16.968566 | 2014-09-17T07:24:08 | 2014-09-17T07:24:08 | 1,648,356 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,459 | r | campaign_5_1_cv_gbm.r | #
#
# Submitted at 5.1 RMLSE =
# Same as campaign 4_2 but with cross-validation loop
#
#
rm(list=ls())
require(gbm)
cleanInputDataForGBM <- function(X) {
names(X);
for(i in 1:length(X)) {
name = names(X)[i]
print (name)
col = X[,i]
index = which(is.na(col))
if ( substr(name,1,3... |
ae54e683e41483f4b72f4066243aa64fe71133da | 713234ecbf874b802377c9df7159ff4fa7219f6a | /run_analysis.R | c4963278537be3544769345de289391424c30ce9 | [] | no_license | rtsuther/Cleaning_Data_Project | 199468f53e0b8c487b6b24f0888508a423b14a3e | aea5088a8aae0078992175b75b868975479c50c7 | refs/heads/master | 2016-09-05T15:02:04.109866 | 2014-12-21T01:53:10 | 2014-12-21T01:53:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,640 | r | run_analysis.R | # run_analysis.R
# R script to take UCI HAR data and turn it into tidy data set
library(plyr)
library(dplyr)
# Read in the labels for the Activities and the Features which will be used to create the col names
activity_labels <- read.table("./UCI HAR Dataset/activity_labels.txt", header=F,sep="")
features <- read.tab... |
ce289978447f5e794f176a829e3248be9a82fecd | aeaa9ac30428b8df7e88d980da1d727925938d3e | /R/pit.R | df15660164b0a27acc4c1d658876498c389bb03c | [] | no_license | cran/tscount | 826b5c77cf3940cf075968146f8e064a3ac3bf2d | e804ef82017773f515570a19de424919d3e44797 | refs/heads/master | 2021-01-18T22:05:17.334697 | 2020-09-08T06:00:03 | 2020-09-08T06:00:03 | 30,640,940 | 6 | 6 | null | null | null | null | UTF-8 | R | false | false | 1,545 | r | pit.R | pit <- function(...) UseMethod("pit")
pit.default <- function(response, pred, distr=c("poisson", "nbinom"), distrcoefs, bins=10, ...){
n <- length(pred)
u <- seq(0, 1, length=bins+1)
pit <- numeric(length(u))
for(t in 1:n){
P_x <- pdistr(response[t], meanvalue=pred[t], distr=distr, distrcoefs=distrc... |
bbf3da46c69388692c21852f5f928c998bf2fe72 | 13f518e49e5908210db53c5b68df3d669de7bb93 | /man/refLengths.Rd | c994d82aa19681882d50ee8b3a57d304b1176a60 | [] | no_license | PerHapsH/MutationTimeR | 7930a7356cfdbde9859e3ed9d749f937b7f56214 | e4e266a494482face03e831322a9df00b1b0ff93 | refs/heads/master | 2023-03-18T22:22:28.801501 | 2020-12-12T19:14:42 | 2020-12-12T19:14:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 263 | rd | refLengths.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\docType{data}
\name{refLengths}
\alias{refLengths}
\title{Reference lengths for hg37d5}
\description{
Reference lengths for hg37d5
}
\examples{
data(refLengths)
refLengths
}
|
d09a337e636879b4c9ab1187e2d64f7b1832f3bb | 7e276072d233e583e975b63024503689f4149619 | /man/csvFileInput.Rd | ae616840f7372e52aee879f5a6068bb6915466fe | [] | no_license | Davide-bll/Shinymod | 924203095ddc536bdaead56b39b77593f1ce4bdb | 8c117e56cebdee184f6f76491dd0c5bf6460b382 | refs/heads/master | 2023-04-06T05:59:03.448747 | 2021-04-13T18:22:24 | 2021-04-13T18:22:24 | 260,253,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 329 | rd | csvFileInput.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loaddata_module.R
\name{csvFileInput}
\alias{csvFileInput}
\title{Ui function foa loading csv Data}
\usage{
csvFileInput(id, label = "CSV file")
}
\arguments{
\item{id}{Id module}
}
\value{
UI module
}
\description{
Ui function foa loading cs... |
f68128d27b584b741b09d671c700ae864088a125 | aaad6e135dc094b25a172a4ac2d9f2538af24fe7 | /lab_lc.R | ef35c9cc5b40347986af67ae68769d8bf644cb7f | [] | no_license | linxy29/HW_casual-inference | ac50316b0e54846e52b9c7dbafb52022d33b998f | e5f10cbf50b97d0e37a0df2486caac5c7e39c26d | refs/heads/master | 2020-07-26T02:33:58.169349 | 2020-02-16T15:13:36 | 2020-02-16T15:13:36 | 208,506,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 631 | r | lab_lc.R | ######MEDIATION ANALYSIS LAB#######
x<-read.csv("./sim_data_lung.csv")
p<-mean(x$case)
pi<-0.082642
x$w <- ifelse(x$case==1,pi/p,(1-pi)/(1-p)) #weight for y=1 and y=0#
library(mediation)
library(survey)
yreg<-svyglm(case ~ snp*smoking+ sex + colgrad +age, family=binomial(link="logit"),design = svydesign(~ 1, weights... |
88773f9236358eff2abb090870831130cabcc9ea | 326e19400e7e5955584aaac458cfb22efe98cbd4 | /src/createTIC/tokenisers/discrete/text-word2vec-cosinesim/tokeniser.R | 9907b3b8e829e6212134dca4c5b469b75f6103a3 | [
"Apache-2.0"
] | permissive | vuw-c2lab/transcendental-information-cascades | 75c943da5b04d31c62f8f5813eaf8367576df108 | 7c650b751df8e00bf105cccffbd85e98beeca9c1 | refs/heads/master | 2020-08-07T01:46:58.006733 | 2020-06-08T20:00:33 | 2020-06-08T20:00:33 | 213,244,838 | 1 | 2 | Apache-2.0 | 2020-04-14T10:24:51 | 2019-10-06T21:13:41 | HTML | UTF-8 | R | false | false | 1,724 | r | tokeniser.R | if (!require(wordVectors)) devtools::install_github("bmschmidt/wordVectors")
# MAIN FUNCTION -----------------------------------------------------------
# vector init
wordVec = read.vectors("data/w2v-novel450.bin") #english
# POS model download
#model <- udpipe::udpipe_download_model(language = "english")
#model <- ... |
6e3322c5282dee07682b82abddd69b65b8951268 | 44598c891266cd295188326f2bb8d7755481e66b | /DbtTools/GraphAlgorithms/man/dbt.GraphAlgorithms-package.Rd | 5c50356834a9dcb1fd4341d0536714a86294d982 | [] | no_license | markus-flicke/KD_Projekt_1 | 09a66f5e2ef06447d4b0408f54487b146d21f1e9 | 1958c81a92711fb9cd4ccb0ea16ffc6b02a50fe4 | refs/heads/master | 2020-03-13T23:12:31.501130 | 2018-05-21T22:25:37 | 2018-05-21T22:25:37 | 131,330,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 262 | rd | dbt.GraphAlgorithms-package.Rd | \name{dbt.GraphAlgorithms-package}
\alias{dbt.GraphAlgorithms-package}
\alias{dbt.GraphAlgorithms}
\docType{package}
\title{
dbt.GraphAlgorithms-package
}
\description{
....
}
\details{
....
}
\author{
Michael Thrun, Florian Lerch, Alfred Ultsch
} |
b9cac0db6a2e7542a151d90fcb6df4c833d3456c | fa60f8262586afbf25096cfb954e5a9d391addf7 | /R_Machine_Learning/r_16_3(k_Fold).R | d06327ef646de6a443a147dfdbad7c1307ce2771 | [] | no_license | pprasad14/Data_Science_with_R | ce5a2526dad5f6fa2c1fdff9f97c71d2655b2570 | 3b61e54b7b4b0c6a6ed0a5cc8243519481bb11b9 | refs/heads/master | 2020-05-05T08:56:39.708519 | 2019-04-06T20:42:11 | 2019-04-06T20:42:11 | 179,884,402 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,024 | r | r_16_3(k_Fold).R | # load Social Networks Ads dataset
dataset = read.csv("social_network_ads.csv")
dataset = dataset[3:5]
#make Purchased to factor from numeric
dataset$Purchased = as.factor(dataset$Purchased)
# split data to train and test set
library(caTools)
set.seed(123)
split = sample.split(dataset$Purchased, 0.75)
trainin... |
9fc3eee942681c0488669df3371754392bbe975e | dfe1acc0ce4df57a8526de721ecba3cc79946708 | /tests/batch/R.R | 579a7930713aa7f41669899f602b89f1dcacd575 | [
"Apache-2.0"
] | permissive | WydD/astral | 924d5c4bf79243d3eec53d281a44ae2e7dd381a4 | 950d630b432bf4ffd6275e6eec7bf32f8d0efcc6 | refs/heads/master | 2020-06-30T03:59:30.242861 | 2016-11-21T18:28:36 | 2016-11-21T18:28:36 | 74,392,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 44 | r | R.R | v,T
t=1
1,1
t=2
2,2
3,2
t=2
4,2
5,2
t=4
6,4
|
98ccbe65d1a4c2e79087bc60c352ffeda9ff6bc8 | 95ca4f9d0d2680b5d94a001c523830a057fe42df | /knit.R | e27665b2fcacc58ba7e831f8f00e3253abf03ca0 | [] | no_license | jruusu/RepData_PeerAssessment1 | f47796578603d55a53e82e44bef9b07aa5c0a186 | b29c45fa02d4ea53bf190c7bdeb1b6c4dac5b671 | refs/heads/master | 2020-12-25T12:28:45.945098 | 2015-02-08T10:01:16 | 2015-02-08T10:01:16 | 30,460,093 | 0 | 0 | null | 2015-02-07T15:35:59 | 2015-02-07T15:35:58 | null | UTF-8 | R | false | false | 151 | r | knit.R | # A little utility script for building Rmd into a html document
library(knitr)
knit2html("PA1_template.Rmd", options="")
browseURL("PA1_template.html") |
dd467e4d35d01d790740df4e26920ecdd50cc1c0 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/FastSF/R/fsf.ada.R | 6667e8833b2171abdf36d205ae765b13d3ab9c6e | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 776 | r | fsf.ada.R | fsf.ada <- function(y, D, tau=1, s.max=20, eps=0.1, ddinv=NULL){
n <- length(y)
m <- dim(D)[1]
if(is.null(ddinv)){
ddt=D%*%t(D)
if(rcond(ddt)<1e-12){
ddinv <- Solve.banded(ddt+diag(rep(1e-6,m)),1,1, B = diag(1,dim(D)[1]))
}else{
ddinv <- Solve.banded(ddt,1,1, B = diag(1,dim(D)[1]))
}... |
1fddcc9c7a8eafa49ef608e4fa1ac8f4ab999ec2 | ce08a0b0f7c32e5e7b7de81d9a1ed6dec4950cba | /toRData.R | 693c426100bbc4fa267b7ca444a3bdda66274f9e | [] | no_license | kuhana/Thesis-Code | 1b8a7e47e71d04fdc66264da7c5c9ae5db39dd6e | b056d3e2e93cac2745d6a539a93bcbce0cbb4a71 | refs/heads/master | 2021-01-11T18:23:25.932697 | 2017-01-20T05:49:36 | 2017-01-20T05:49:36 | 79,529,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 432 | r | toRData.R | loc = '/Users/hanaku/Documents/Thesis/Data/'
list = list.files(loc)
#f01001_1 = read.csv(file = "/Users/hanaku/Documents/Thesis/Data/NewRecoveredOriginPixel01001_1.csv", header = TRUE, sep = ',')
for(f in 1:length(list)){
#for(f in 1:1){
file = read.csv(paste(loc, list[f],sep=""))
name = paste0('f',substr(list[... |
69e72f8b9bc4f46b7852414129b897777c780af9 | 0a04c131b8d20e7fef14dd4780cadd9aff3fe673 | /STAT4201 Advanced Data Analysis/Homework2/Ch3Qs32.R | 7ebf4a04c9afc239f9445bc6db91d397d7c97498 | [] | no_license | parth0708/Coursework | d49fb62cfcce71e754f3b2fb881a7b7c014757ce | 749ec8703999706cdd6954fe765c9215628e5b00 | refs/heads/master | 2021-01-19T04:27:56.185484 | 2016-06-12T19:51:59 | 2016-06-12T19:51:59 | 53,802,301 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 436 | r | Ch3Qs32.R | library(Sleuth3)
attach(ex0332)
group_Public <- subset(ex0332,Type == "Public")
group_Private <- subset(ex0332,Type == "Private")
boxplot(log(group_Public$InState),log(group_Private$InState))
t.test((log(group_Public$OutOfState)-log(group_Public$InState)), var.equal=TRUE)
t.test(log(group_Private$InState),log(group... |
bd554800b36d9842ac5b91e81c890708dc212f3b | 1f9b135708835e4c542f9c0c743dfb49620f6685 | /man/crop_circ_bop.Rd | a80256c47912026ea4663f8db2028e2637510129 | [
"MIT"
] | permissive | kafetzakid/morphotype | 71c337e1b237df3d4a39f829f224e0f2f04e7f05 | 2e44431232701ce0186f93793dcd1b3caaa7a731 | refs/heads/main | 2023-08-11T14:54:53.943013 | 2023-07-30T14:06:55 | 2023-07-30T14:06:55 | 485,943,302 | 1 | 0 | MIT | 2023-07-30T14:06:56 | 2022-04-26T20:49:18 | R | UTF-8 | R | false | true | 1,068 | rd | crop_circ_bop.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/crop_circ_bop.R
\name{crop_circ_bop}
\alias{crop_circ_bop}
\title{Crops circumference at bottom outer point}
\usage{
crop_circ_bop(outer.line, inner.line, marSc)
}
\arguments{
\item{outer.line}{a numeric 1D vector. The outer profile line.}
\... |
f35f85223ec2f561dfdb7255b51dbc2272c3dba1 | 7212c1fea0fd1e286ca10e978d24c9cc4ef05af7 | /EstadisticaLicFisica/ProgramasClase/Programa04Montoya.R | 7e4bdc8edf7cad71993ecbf4c22426a011762276 | [] | no_license | maps16/Estadistica | 92635e96f254946572dd4b8c0d82dcb4c028bd3a | c1bfd6c4123378903fc8cb8e83824c85e906f1e2 | refs/heads/master | 2021-01-10T07:11:55.266656 | 2016-04-04T17:02:46 | 2016-04-04T17:02:46 | 52,023,966 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 2,176 | r | Programa04Montoya.R | ###############################################################################
#PROGRAMA: VALIDACION DE MODELOS #
#MONTOYA: 2016-02-15 #
###############################################################################
... |
ed7e4c9714a411f8386a033937993ebb20378c69 | 207fe6741c507222fe3efb446d8b4b70d52f454c | /Phillies/average_estimator_functions.R | 8c9ee65feee845e62893334d44ffd412d500a761 | [] | no_license | dlernz/Phillies_RD | b3b28151d5f630ea664c168997345eee711618eb | 815fda74dfa134c92abf70aa8635f68d28783d39 | refs/heads/master | 2021-01-18T22:47:51.751263 | 2016-11-18T19:02:43 | 2016-11-18T19:02:43 | 74,097,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,604 | r | average_estimator_functions.R | library("dplyr")
library("ggplot2")
### Download files
### Move downloaded folder to directory you wish to run script in
### Open RStudio, R Application
### In Console: Set working directory to filepath leading to downloaded folder was placed
### setwd(filePath)
### In Console: Verify working directory points to d... |
78671e2e56c16d06b9df944fe594e0f686d9a91e | da1dc5317dd8723f6fc549492cae6f6f1a6e57fd | /loaddata/manipData.R | bbb9d50c9eabbaabc29b86c9b489374eca6cb528 | [] | no_license | quace/BusinessIntelligence | cfe402ad31ebf094ea0f524db0b2a5e052290e9a | f170becfdc5ff6479872da661d08287dda806322 | refs/heads/master | 2021-08-29T19:26:46.327734 | 2017-12-14T18:53:14 | 2017-12-14T18:53:14 | 108,522,007 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,080 | r | manipData.R | #PACE
MergeCompleteData <- MergeCompleteData %>% mutate(Pace = as.integer(0.45*Acceleration + 0.55*Speed))
#Shooting
MergeCompleteData <- MergeCompleteData %>% mutate(Shooting = as.integer(0.05*Attacking_Position + 0.45*Finishing +0.20*Shot_Power +0.20*Long_Shots + 0.05*Volleys + 0.05*Penalties))
MergeCompleteData <... |
25ee0eca97d577914d8d7652a8de8416c05031e5 | cdc8e477a0b8392984ac7a63f9d608a6cc48d8fd | /man/gauss_binaryTree.Rd | 7ecb9d6111f66e38163df4754b0baae31c8130c7 | [] | no_license | vrunge/fpopTree | e192fcc796b9519a8ef1e41f42d5c2c325c19831 | 3b0da013f236330d380179d512b3ba27030684a5 | refs/heads/main | 2023-03-05T14:37:04.733741 | 2021-02-05T17:00:30 | 2021-02-05T17:00:30 | 330,942,638 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 553 | rd | gauss_binaryTree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataGenerator.R
\name{gauss_binaryTree}
\alias{gauss_binaryTree}
\title{Generating a binary tree with changes and gaussian cost}
\usage{
gauss_binaryTree(l_tree, k, roots = NULL)
}
\arguments{
\item{l_tree}{a list encoding a binary tree}
\it... |
78ac9a13db05562ca3124776214139480622818e | cd9cd8e93507bc17b2f08a2184e5fedfff55fbf7 | /04_series_temporais/101 TURISMO/Fertilizantes.R | ff72a58992c85603467e4ed0500d5e820771e8f7 | [] | no_license | Matheusvfvitor/MBA | b7641dc995d98afb38101cf045cce8fc155817ca | d9b348f8f180629e6b2049a34bceee17a4a12886 | refs/heads/main | 2023-01-29T16:48:41.982857 | 2020-12-05T21:06:53 | 2020-12-05T21:06:53 | 318,882,844 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 552 | r | Fertilizantes.R | # install.packages(c("fpp","fpp2", "forecast", "readxl"))
library(fpp)
library(fpp2)
library(forecast)
library(readxl)
df <- read_excel("Fertilizantes.xlsx")
head(df)
tail(df)
class(df$consumo)
## 2. Transformando df em classe ts
fertilizantes.ts <- ts(df$consumo , frequency = 12,
... |
227e9966311560f810e5ff831092f03036752476 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GRS.test/examples/GRS.test.Rd.R | 95b6e3009a21f06090d6cc1dff612bf82785aef4 | [] | 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 | 379 | r | GRS.test.Rd.R | library(GRS.test)
### Name: GRS.test
### Title: GRS test and Model Estimation Results
### Aliases: GRS.test
### Keywords: htest
### ** Examples
data(data)
factor.mat = data[1:342,2:4] # Fama-French 3-factor model
ret.mat = data[1:342,8:ncol(data)] # 25 size-BM portfolio returns
GRS.test(ret.mat,fact... |
7ae95335359a0f30b80f8e70f372b3df16f85002 | 6e3c2de27a09be5965b79dc4c3f0ab1081d9aa6b | /exam/convert_obs_pvalue.R | 146c5aaa9ebdbba8858d8ad13a851236f4b62a7b | [] | no_license | ArmandasRokas/statistics | 308234d513516a09f6984a94af3dbafbf0c0a56d | 9f184e238d90d5c9d1a1c36ba0531beec1b699c0 | refs/heads/master | 2023-04-03T20:41:53.331250 | 2021-04-25T15:24:13 | 2021-04-25T15:24:13 | 257,019,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,016 | r | convert_obs_pvalue.R | ######## T-distribution ########
# From Tobs to p_value
tobs <- 2.38
n <- 20
p_value <- 2*(1-pt(abs(tobs),df=n-1))
p_value
# From p_value to Tobs
p_value <- 0.001
n <- 20
tobs <- qt(1-p_value/2 ,df=n-1)
tobs
######## Z-distribution ########
# From Zobs to p_value
zobs <- -3.47
p_value <- 2*(1-pnorm(abs(zobs)))
p_val... |
a3501d6ec75224f3e7bd22521536ec169faa5f87 | 0952bd0b89027cae306ed34010f87021d0a09534 | /run_analysis.R | 62f81f9edaa52bceeb588f61516554f637753eec | [] | no_license | wnpChancellor/Coursera-Clean-Data | fbd3d8253fcc67dabe3c8705672dab0b8aa242c0 | f46ad9dc73ba06135e2498d07572835a47d1712b | refs/heads/master | 2021-01-20T12:03:58.592428 | 2015-08-23T14:30:19 | 2015-08-23T14:30:19 | 41,251,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,938 | r | run_analysis.R |
# (0) Load features and activity
features <- read.table("/Users/jingshi/Desktop/coursera/UCI HAR Dataset/features.txt")[,2]
activity <- read.table("/Users/jingshi/Desktop/coursera/UCI HAR Dataset/activity_labels.txt")
colnames(activity)=c('Code', 'Activity.Name')
#####################################################... |
c36cec3dd99475d3245d032ee2bbb19cd9f5d9db | 865a88c27b921e488e11a1fa96f4f0e8d6dc36eb | /functions.R | a4c0c04ddef0cd4d92038993746b3bbedb7ed41d | [] | no_license | benoit-marion/R_training | b06f20224cbd210f1214caa0eeb989792f9d8793 | 98b66aaa42d1e18e2010bdc6e6a1f84b070f330d | refs/heads/master | 2016-09-12T17:08:02.633606 | 2016-05-02T12:10:46 | 2016-05-02T12:10:46 | 57,886,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,256 | r | functions.R | # Create Triple function
triple <- function(x)
{ y <- 3 * x
return(y) }
triple(6)
# Create Triple function, with default function and condition with 0
math_magic <- function(a, b = 1)
{ if(b == 0) { return(0) }
a*b + a/b }
math_magic(4,0)
# Function to return NULL if negative
my_filter <- function(x)
{
if(... |
234c263cba0763a802dd1654438652e94cd3bf19 | 43eae47269ee5a073218dcda8eed82e3e18c6312 | /man/real_mcmc.Rd | f878ac1c63adfe7d79c9e8e78b9debef713bc1a0 | [] | no_license | wlandau/fbseqStudies | 4e494d25165130f95a983ee64d751ba3fb24bd3d | 0169ac5a00d457a261401f926b37e08587eace64 | refs/heads/main | 2021-01-19T04:39:24.890203 | 2017-10-21T02:36:07 | 2017-10-21T02:36:07 | 45,758,088 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 358 | rd | real_mcmc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/study-real_mcmc.R
\name{real_mcmc}
\alias{real_mcmc}
\title{Function \code{real_mcmc}}
\usage{
real_mcmc(path = newdir())
}
\arguments{
\item{path}{to directory to save simulations and results}
}
\value{
path to simulated objects
}
\descripti... |
bb198175811c6fcabffb964b5545bff5f1778c5d | 7e89bf38271b35e6c2fdb9be7bffc119c9e65e7e | /Assignment/ProgrammingAssignment3/function_rankall.R | 9041058da670f5c24f5261b749c1211b232ac48d | [] | no_license | simrat-singh/R | a6d146a30140fa2042b7417e7ef531950c7f1c5a | 6c3fe41a3110cacc9ff8696841f368da5b5343d9 | refs/heads/master | 2021-05-03T11:23:19.446811 | 2016-10-16T02:39:07 | 2016-10-16T02:39:07 | 68,988,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,977 | r | function_rankall.R | #Function to get list of hospitals on each state for an specific outcome and rank
#PROBLEM STATEMENT:- The function takes outcome and num as parameters and returns a 2-column data frame
#containing the hospital in each state that has the ranking specified in num.
#For detailed problem statement refer to "4 Ranking hosp... |
110d00f265143a69cfdebc9d21e95cd064e2fe05 | 548333edfb4493b63a4cf0a2542851178bb1a557 | /Models/5_Unit_tests/old/Model_test.R | ec491430eba7cefd15506cc0f166144fa97e31f2 | [] | no_license | Allisterh/Climate_change_financial-IPR | b3137e270cacd35b08ebb7c2a612a9d1047a68bd | 1b304b9d0ec2b362d9cfa0d46bb6ebc1d49fe623 | refs/heads/master | 2023-03-26T07:44:54.148687 | 2019-07-16T16:02:27 | 2019-07-16T16:02:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,549 | r | Model_test.R | ##### Project code: Net-Zero Toolkit for modelling the financial impacts of low-carbon transition scenarios
##### Date of last edit: 25/06/2019
##### Model author: Robert Ritz
##### Code author: Shyamal Patel
##### Dependencies: N/A
##### Notes: This file defines the Robert Ritz c... |
39a7f17d5e3faa467d9e41e6a65995156bd8fe84 | 1c5f7b31c775e1e2de918813233d46ff08c49a05 | /man/robustArchetypes.Rd | a332b0c369d92ea3ef6337a1113db39120f8e5a1 | [] | no_license | cran/archetypes | 3f4f251bf97ef5b0e2887debbc5f19aa8c4c3e60 | c4b904b4b83392724ab1bb68dad2046150aba448 | refs/heads/master | 2021-06-04T18:10:36.846001 | 2019-04-22T05:55:33 | 2019-04-22T05:55:33 | 17,694,433 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 670 | rd | robustArchetypes.Rd | \name{robustArchetypes}
\alias{robustArchetypes}
\title{Robust archetypes}
\usage{
robustArchetypes(data, k, familyBlocks = list(), ...)
}
\arguments{
\item{familyBlocks}{Exchange predefined family blocks;
see \code{\link{archetypesFamily}}.}
\item{data}{A numeric \eqn{n \times m} data matrix.}
\item{k}{The n... |
20144399aa668c15caa6b8dc446f8c3ed2a2aaf7 | b0251a873cda6b236dc46a71c0d7ac8d403dda28 | /DTR/man/CHRdata.Rd | 2d1a40d90c173a3f2252a929a453056fd5206331 | [] | no_license | yhy188/rosur | 161a836f477ca85d091da3974fb640b372ddddb0 | 4e8d5ddd3e4102a187173232c040d53241621636 | refs/heads/master | 2021-01-16T10:58:23.970230 | 2020-03-18T02:18:06 | 2020-03-18T02:18:06 | 243,092,781 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,152 | rd | CHRdata.Rd | \name{CHRdata}
\docType{data}
\alias{CHRdata}
\title{
CHR data set
}
\description{
This data set was generates from sequentially randomized clinical trials as described in the simulation study of Tang and Wahed (2013) [Epub ahead of print]. It contains the following variables: "X" is the first-stage indicator, X... |
52c7f42c9a284a62d3cb3b3fd9b9dd9fe5a26f2f | dc31b9a98c191cc38a822c05d7eec77c76ba923c | /descriptive_stats_fp.R | 0c53942dfb872955d2ed1d38983bfbfb2e1c879b | [] | no_license | saitouvic/Geog-418-Final-Project | 8fb368660de021f66ed93868972d34f30a64e5c3 | 751e82a9780a1f051cd39db452aba26c7e2f5e4e | refs/heads/main | 2023-02-04T20:27:35.334482 | 2020-12-08T04:17:27 | 2020-12-08T04:17:27 | 318,067,795 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,136 | r | descriptive_stats_fp.R | ##Descriptive stats for income and pollution data
install.packages("lubridate")
install.packages("gtable")
install.packages("gridExtra")
install.packages("grid")
install.packages("ggplot2")
install.packages("dplyr")
install.packages("bcmaps")
install.packages('bcmapsdata', repos='https://bcgov.github.io/drat/')
install... |
8c0b163c9389568179a65d7503a3a9a3d5cf8434 | 7a7375245bc738fae50df9e8a950ee28e0e6ec00 | /man/SA3__Year_SexemploymentToPopulation.Rd | c18df0fec5a20b9ea229ac8f322d9b77272e38d3 | [] | no_license | HughParsonage/Census2016.DataPack.TimeSeries | 63e6d35c15c20b881d5b337da2f756a86a0153b5 | 171d9911e405b914987a1ebe4ed5bd5e5422481f | refs/heads/master | 2021-09-02T11:42:27.015587 | 2018-01-02T09:01:39 | 2018-01-02T09:02:17 | 112,477,214 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 474 | rd | SA3__Year_SexemploymentToPopulation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SA3__Year_SexemploymentToPopulation.R
\docType{data}
\name{SA3__Year_SexemploymentToPopulation}
\alias{SA3__Year_SexemploymentToPopulation}
\title{Sex by SA3, Year}
\format{2,148 observations and 4 variables.}
\usage{
SA3__Year_SexemploymentT... |
bfa6767f6a8b645f49cad847d3c76f74dd198fef | 2b88d8b269b336ac3112c84675950a0d3877ced0 | /tests/testthat/test-run_auto_mount.R | f19abb2d3e94067a628b2c4e32cdff208f2046b2 | [
"MIT"
] | permissive | dynverse/babelwhale | 71187be3b87cba91710b277d9bc3e3cce2c1db74 | 61e5ebfef09b6159c0a9524adeae9fe2da9215be | refs/heads/master | 2023-07-26T00:34:25.120015 | 2023-07-14T19:28:32 | 2023-07-14T19:28:32 | 147,789,735 | 24 | 6 | NOASSERTION | 2022-08-18T09:14:38 | 2018-09-07T07:48:17 | R | UTF-8 | R | false | false | 1,527 | r | test-run_auto_mount.R | configs <- list(
docker = create_docker_config(),
singularity = create_singularity_config(cache_dir = tempdir())
)
config <- configs[[1]]
for (config in configs) {
context(paste0("Testing ", config$backend))
set_default_config(config, permanent = FALSE)
skip_on_cran()
skip_on_github_actions()
test_th... |
5daecbe6df0cf43d69443c23eb42d353b774233b | ec13b2a8368d7fd7749552ef0123476a5d802058 | /Read instancia_ejemplo.R | 34e81c91a1f9588e4e1b1a8a6af1adbe2654ea7d | [] | no_license | HLiNaKRbCsFr/Trabajos | 190331073ffe18acfb78d28ec9551ba457645124 | 8db2309aff28913024abd79acce98ee9e05920e2 | refs/heads/master | 2020-03-28T19:08:28.143419 | 2018-12-07T01:41:19 | 2018-12-07T01:41:19 | 148,948,479 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 70 | r | Read instancia_ejemplo.R | read.table(file = "C:/users/lenovo/downloads/instancia_ejemplo.txt")
|
ad059f6fa0d40e31760f89db636d5f950fe43c96 | bc5aa2493a04fab4ab76a54c135b6c91bb50a921 | /ppr_test.R | b117ef4cc4a5334803a9cc98f31c8ad98d9a2c98 | [] | no_license | reking/stat852 | b3caba3d5ecfbb1e61874e955cb3e43b2fbdcd1d | e704cfe9f4f49b43fda64211a78188bf9cfabc97 | refs/heads/master | 2021-01-10T05:04:34.782068 | 2016-01-08T06:08:18 | 2016-01-08T06:08:18 | 44,140,619 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 913 | r | ppr_test.R | prostate <- read.table("~/stat852/data/Prostate.csv", header=TRUE, sep=",", na.strings=" ")
head(prostate)
column.de <- apply(prostate[,2:9],2,sd)
prostate[,2:9] <- scale(prostate[,2:9], center = TRUE, scale = column.de)
y.1 <- prostate[which(prostate$set==1),10]
x.1 <- as.matrix(prostate[which(prostate$set==1),c(... |
73b4541f07c70c74fb55f1dbe7934c0ce30b2b4b | b10c971ed284df735e2bbc17213c3ae0902cc139 | /CA2/part1.r | bfaba66496e022687a4edc6092700051c4778679 | [] | no_license | daniel-saeedi/EngineeringProbabilityStatistics | 320e33b2576548b66cbf3a1ca852c72ab5b73d0e | 63ee22e63568cec9599bcbb734f32b053dde3773 | refs/heads/master | 2023-03-07T11:07:50.517598 | 2021-02-20T22:13:23 | 2021-02-20T22:13:23 | 307,182,842 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 612 | r | part1.r | library(corrplot)
elements <- read.csv("./countries.csv", head = TRUE,",")
df <- data.frame(elements)
df[df==""] <- NA
#replacing NA values with mean of their column
for(i in 1:ncol(df))
{
df[is.na(df[,i]), i] <- mean(df[,i], na.rm = TRUE)
}
matrix <- data.matrix(df);
correlation_matrix <- cor(matrix);
correlation_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.