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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6be7100038b03518ddb868b49ace14b99e1d993 | 3270487664d61509b5235184f2130c47d00d11ed | /R/humidity.R | 6c5673b9229dce0125d36ab825869a6d6c1ea377 | [] | no_license | cran/meteor | 97903459a6020dccc017a855a77348b44b094ce3 | 3b1fa5d21cd393674ec7d254e06ec97b9185c670 | refs/heads/master | 2023-07-22T08:29:54.369133 | 2023-07-16T18:00:02 | 2023-07-16T19:30:41 | 236,625,464 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,401 | r | humidity.R | # Author: Robert J. Hijmans
# License GPL3
.saturatedVaporPressure <- function(tmp) {
.611 * 10^(7.5 * tmp / (237.7 + tmp)) #kpa
}
.vaporPressureDeficit <- function(tmp, rh) {
svp <- .saturatedVaporPressure(tmp)
(1-(rh/100)) * svp
}
.rhMinMax <- function(rh, tmin, tmax) {
tmin <- ... |
6275eff666018ea41b57dd6e67eef2f9c90ef3fc | f05d4533890ae6b4942790feabd7472cb144e95e | /man/SectionCount-class.Rd | 4e55db590a0db758f759c40e58a610db486e97ec | [] | no_license | pvrqualitasag/rqudocuhelper | cf891663ca0fac46a2b5530f76b7d2b542bba8c5 | 596e88c3915e413bebdb5b3c92bf16458f2c0b92 | refs/heads/master | 2021-01-21T13:30:08.989349 | 2016-05-26T15:00:39 | 2016-05-26T15:00:39 | 51,913,813 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,780 | rd | SectionCount-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rqudocusectioncountrefclass.R
\docType{class}
\name{SectionCount-class}
\alias{SectionCount-class}
\alias{sectionCount}
\title{Reference Class for section counts}
\description{
A reference object of reference class \code{SectionCount}
represe... |
2f812fea8808f8f0ce5725d3438f3ccdaa8c03c8 | 2a490a3d2140e977c6f462f573ebe63adab4d5f6 | /deer_ABUND_random_effects.R | 28d17c2fa5f6904333109e42c4f64934fd80bf11 | [] | no_license | robcrystalornelas/deer_ma | 2d97cf0914a99cb40bb531306e837c0cb5e33cfd | 68278599c65d9ac6b5a290ee65ffb20111361e06 | refs/heads/master | 2023-01-13T08:20:49.766192 | 2020-11-18T17:11:29 | 2020-11-18T17:11:29 | 129,975,179 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,923 | r | deer_ABUND_random_effects.R | ## Load Libraries ####
library(metafor)
library(tidyverse)
library(ggplot2)
## Load data ####
source(
"~/Desktop/research/side_projects/Crystal-Ornelas_et_al_deer_meta/scripts/deer_ma/deer_source_data.R"
)
## Clean data ####
# Calculate effect sizes for each row of data
effect_sizes_abundance <-
escalc(
"SMD... |
0e2796cbb635dceb5cfeaf6e8d9c6eb391554e1a | a4460da00ea395dbf706d8d308b83b4b99c2e5e3 | /man/test_inventory.Rd | ad5ec035a4fe130a11361f1966d5c864e44928e3 | [
"MIT"
] | permissive | JDOsborne1/inventoRy | 38d987fd975dcb5292a1c78f85b87b8fcf550b12 | c48805e191815bdc877b9b2093d1e43e0df21274 | refs/heads/master | 2022-04-18T00:01:01.882009 | 2020-04-16T13:33:23 | 2020-04-16T13:33:23 | 255,642,885 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 344 | rd | test_inventory.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{test_inventory}
\alias{test_inventory}
\title{A testing Dataset for the inventory}
\format{
An object of class \code{list} of length 1.
}
\usage{
test_inventory
}
\description{
A testing Dataset for the invento... |
275e6314e734e2c3a7d272fa7bfa1df78da05ca1 | 23f90a78c345b64a5be77d3fef45481d686b1cba | /man/legco-package.Rd | a4e5c24db04d94f63cce0852d5f6703c4f93aae4 | [
"MIT"
] | permissive | elgarteo/legco | cdd3123ba389ed38358f5cf486a51d83f0fb4844 | 53ce2022d77eb0c674fc898fff2bf6d39c386455 | refs/heads/master | 2022-11-15T02:52:49.100951 | 2022-10-28T11:33:08 | 2022-10-28T11:33:08 | 190,210,032 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,647 | rd | legco-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/legco-package.R
\docType{package}
\name{legco-package}
\alias{legco}
\alias{legco-package}
\title{legco: R bindings for the Hong Kong Legislative Council API}
\description{
Provides functions to fetch data from the Hong Kong Legislative Counc... |
7c4e0e75007b1fe6f5f954f5754cdd56f7d9980e | 050854230a7cead95b117237c43e1c8ff1bddcaa | /data-raw/WiDNR/do_parse.R | 0f0482d93ef582d40286482ea60baa06ac7f3b40 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | USGS-R/mda.lakes | 7b829d347e711416cbadbf50f8ac52c20546e7bc | eba6ddfba4d52c74e7b09fb1222772630dfa7f30 | refs/heads/main | 2023-04-15T18:10:46.043228 | 2020-11-13T18:43:09 | 2020-11-13T18:43:09 | 7,429,212 | 1 | 11 | null | 2023-04-07T22:44:55 | 2013-01-03T19:50:59 | R | UTF-8 | R | false | false | 1,535 | r | do_parse.R | # Process the raw WiDNR Database output. Mostly just metadata and units cleanup
Sys.setenv(tz='GMT')
d = read.csv('data-raw/WiDNR/temp_DO.csv', header=TRUE, as.is=TRUE)
d$date = as.POSIXct(d$START_DATETIME)
d$Dissolved.Oxygen.Units = tolower(d$Dissolved.Oxygen.Units)
d$UNIT_CODE = tolower(d$UNIT_CODE)
d$UNIT_CODE_1 ... |
2837510c65205b20a7dfb5884cdb0fb30c6e7f1b | 26c22484790669525fe639b0cb5bdd1ec9239840 | /man/calc_catchment_attributes.Rd | a409a1432878b6e54fd5efc473d6f2602551322b | [
"MIT"
] | permissive | MBaken/openSTARS | 2895f750257aa2b6e34b31efbf758067084fb8d8 | 255405d2c043771852b1793b9e7c657a8ed3459e | refs/heads/master | 2021-06-24T19:20:06.615085 | 2017-08-15T15:01:06 | 2017-08-15T15:44:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,084 | rd | calc_catchment_attributes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calc_attributes_edges.R
\name{calc_catchment_attributes}
\alias{calc_catchment_attributes}
\title{calc_catchment_attributes
Aggregate attributes for the total catchment of each stream segment.}
\usage{
calc_catchment_attributes(dt, stat, attr... |
641cf2a4ee27c5f9dbde03e11c553a02a3c3ea21 | 12886e35fd6c2216940935b82a3a7e701e60e594 | /code/dist.R | 1b7823cd9d58c87ff3de1707d9c5a7e7a31684c5 | [] | no_license | muschellij2/ich_detection_challenge | b7dbb94102fef42ba44c7ed484196e2076e33ca3 | c94e1a3f045ee35a73b5eaec4093a373cfae5917 | refs/heads/master | 2020-08-02T01:11:47.290417 | 2019-11-13T18:46:35 | 2019-11-13T18:46:35 | 211,188,432 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,817 | r | dist.R | # Create human mask
rm(list = ls())
library(ANTsRCore)
library(neurobase)
library(lungct)
library(ichseg)
library(dplyr)
library(fslr)
library(extrantsr)
setwd(here::here())
# Rcpp::sourceCpp("code/dist_min.cpp")
hausdorffDistance <- function(binarySeg1, binarySeg2 ) {
binarySeg1 = check_ants(binarySeg1)
binarySeg... |
f60c383de2aeb88388a0757eb6f4554ded913dce | 092e6cb5e99b3dfbb089696b748c819f98fc861c | /scripts/doSimulateLDS.R | 78adc5fccf7b97ab91ecfb5bb6ad8c6498dadc58 | [] | no_license | joacorapela/kalmanFilter | 522c1fbd85301871cc88101a9591dea5a2e9bc49 | c0fb1a454ab9d9f9a238fa65b28c5f6150e1c1cd | refs/heads/master | 2023-04-16T09:03:35.683914 | 2023-04-10T16:36:32 | 2023-04-10T16:36:32 | 242,138,106 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,000 | r | doSimulateLDS.R | require(plotly)
require(ini)
require(htmlwidgets)
source("../src/simulateLDS.R")
processAll <- function() {
simConfigNumber <- 5
xlab <- "x"
ylab <- "y"
simConfigFilenamePattern <- "data/%08d_simulation_metaData.ini"
simResFilenamePattern <- "results/%08d_simulation.RData"
simResMetaDataFilena... |
cb7e1f24a682965a2d81933adeff757f79ec949c | 3b049264791dc77e30f691c87b34c2c1f8f8c9bc | /Rprofile | 297a569af5a7fc3eba01d99916c58fbe90cf922a | [] | no_license | mdlerch/dotfiles | a53a370aeb540656a652e6a51e3055c2ea4c0a96 | 49d2352eebd828e9f2db17fe7763480a42f7dd1e | refs/heads/master | 2020-12-24T14:46:10.596875 | 2016-01-31T18:51:32 | 2016-01-31T18:52:38 | 2,833,260 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,053 | Rprofile | if (interactive() & Sys.getenv("TERM")!="") {
# options(nvimcom.verbose = 0)
options(nvimcom.verbose = 0)
# options(vimcom.vimpager = FALSE)
library(nvimcom)
# library(colorout)
library(rlerch)
# options(pager = "vimrpager")
#if (Sys.getenv("VIM_PANE") != "")
#{
# options(help_... | |
b87adc5d74a5af6dcadb4781c9024f77a1f6cee5 | a7f245ce1c93426dfda2c3d85922fa28645b190e | /R/new-benchmark.R | 0585b1aea7e966ab1fc450c1aaaf3d80d46adba6 | [
"MIT"
] | permissive | labordynamicsinstitute/benchmarks | dbd39d1a6b8812d6b5ed915cd9d6cf6c2fd92e6f | 0566079baef119eaead0420ba28dbb28d872576f | refs/heads/master | 2023-06-12T06:05:12.935108 | 2023-06-06T02:35:24 | 2023-06-06T02:35:24 | 23,373,796 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,049 | r | new-benchmark.R | # https://www.alexejgossmann.com/benchmarking_r/
library(rbenchmark)
size = 1000000
benchmark("lm" = {
X <- matrix(rnorm(size), 100, 10)
y <- X %*% sample(1:10, 10) + rnorm(100)
b <- lm(y ~ X + 0)$coef
},
"pseudoinverse" = {
X <- matrix(rnorm(size), 1... |
08faf77fbd027c2405f98c0a0a1e04b7b5d3e50c | 233ef600be69735d3054fda4a1f89da72fe5c3e6 | /ui-WEBAPP.R | e83a2814efd2f445c968f8164f982b1ceb3fc46d | [] | no_license | praveenmec67/TimeSeriesForecasting---AutoARIMA | 0a19d06cfb6d73ea517b767ad38d2d2f1e7d0a91 | df75b4c0d1feac66a656214dd7190a4a1a46b504 | refs/heads/master | 2022-04-08T15:23:31.543846 | 2020-03-03T18:21:42 | 2020-03-03T18:21:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,459 | r | ui-WEBAPP.R | #
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
install.packages('rsconnect')
library(shiny)
library(shinydashboard)
library(plot... |
64572047c221984a8cc2dac590ce23cfe01986eb | 5ac5920bc54c456669b9c1c1d21ce5d6221e27eb | /facebook/delphiFacebook/man/filter_responses.Rd | 1f88b3cc63bbf280becacd71b923c80298daf885 | [
"MIT"
] | permissive | alexcoda/covidcast-indicators | 50e646efba61fbfe14fd2e78c6cf4ffb1b9f1cf0 | 0c0ca18f38892c850565edf8bed9d2acaf234354 | refs/heads/main | 2023-08-13T04:26:36.413280 | 2021-09-16T18:16:08 | 2021-09-16T18:16:08 | 401,882,787 | 0 | 0 | MIT | 2021-09-01T00:41:47 | 2021-09-01T00:41:46 | null | UTF-8 | R | false | true | 451 | rd | filter_responses.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/responses.R
\name{filter_responses}
\alias{filter_responses}
\title{Filter responses for privacy and validity}
\usage{
filter_responses(input_data, params)
}
\arguments{
\item{input_data}{data frame containing response data}
\item{params}{na... |
5be353966b446921a0f0ca4905150fe7d456dd55 | 3c939f5d5a694042ce7f39a4adfa00faa3386b94 | /man/gender.Rd | 48c1f6cc029dc21197b24bfd43aee160840ab43e | [
"MIT"
] | permissive | rslepoy/gender | 555d18bc5722acb4cf5e30241d4f246400f95ca7 | bda32131fa641fb9aa9492295ebc654255904353 | refs/heads/master | 2021-01-18T08:06:19.321265 | 2014-07-01T20:35:24 | 2014-07-01T20:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,889 | rd | gender.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\docType{package}
\name{gender}
\alias{gender}
\alias{gender-package}
\title{Gender: find gender by name and date}
\usage{
gender(data, years = c(1932, 2012), method = "ssa", certainty = TRUE)
}
\arguments{
\item{data}{A character string of a first name or a data fra... |
c6f02e8c6236ca25a50b11767c3cfd87dfbe4511 | c38d46f9d9730ee94b67c8faaeefd1da86113116 | /R/zzz_DataPrep_WHO.R | e0d0b1a9bfdd547c727e03a4dc99336cb1d12435 | [] | no_license | timriffe/GlobalViolence | bb7ea094bc4eb65ce18a5b69d00f6b34c499637e | 9082445b36f9a7f85df6a2e7c4c38f9438813108 | refs/heads/master | 2023-02-21T22:26:39.052071 | 2023-02-04T09:43:10 | 2023-02-04T09:43:10 | 169,438,288 | 3 | 4 | null | 2021-11-10T09:39:48 | 2019-02-06T16:34:53 | R | UTF-8 | R | false | false | 10,115 | r | zzz_DataPrep_WHO.R | # Author: tim
# WARNING, this script in progress. May crash your memory
###############################################################################
# step 1, for each age format, get an Age, AgeInterval column made.
# group infant deaths if necessary (not sure).
me <- system("whoami",intern=TRUE)
# change this a... |
6109773158fcaad872e000526bd6b6467c5e149a | 184180d341d2928ab7c5a626d94f2a9863726c65 | /valgrind_test_dir/outlierCpp-test.R | 0236fd89888eb6924d3d85e1edf6d9df40cc5bcf | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 319 | r | outlierCpp-test.R | function (K, R, xy, ratio, imat, rmin)
{
e <- get("data.env", .GlobalEnv)
e[["outlierCpp"]][[length(e[["outlierCpp"]]) + 1]] <- list(K = K,
R = R, xy = xy, ratio = ratio, imat = imat, rmin = rmin)
invisible(c(".Call", "'_Benchmarking_outlierCpp`", "K", "R",
"xy", "ratio", "imat", "rmin"))
}
|
0bb399593ee5fbff195e086e2f939f0b1820a9bc | 155f3439a2f45d9dc0c6e6fd509d20a4c510754e | /Aleksey-R-Programming/Week_4/best.R | 8d53b5e05020a852b06592317895c6b2fea49fb7 | [] | no_license | voite1/Coursera | 2cada1da8ddde92dceadd8f7865176319f1a10ca | 33d85bd7ee6fd1e9e97eb8aa73b12ef192b71535 | refs/heads/master | 2016-08-08T06:09:53.790863 | 2014-12-09T03:04:28 | 2014-12-09T03:04:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,212 | r | best.R | best <- function(state, outcome) {
# Read the data file
data <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
# Validate the outcomes and states
outcomes = c("heart attack", "heart failure", "pneumonia")
states <- unique(data[, 7])
if( outcome %in% outcomes == FALSE ) {
stop("inv... |
5b367bfee23097dbda1de504342f918438acd02d | c0750d140505642f64a4308dc9a58946d06dabab | /R/mlRegressionKnn.R | 233331b5ca16ba7998c4ecd2ecf00207cb5e5e75 | [] | no_license | AlexanderLyNL/jaspMachineLearning | 3f2e17511b27927776b54f3c1db762f56c6ec76d | 803d43a3d20fb4ecc39145782704393881e16f33 | refs/heads/master | 2023-07-28T21:29:05.215981 | 2021-09-25T03:23:42 | 2021-09-25T03:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,714 | r | mlRegressionKnn.R | #
# Copyright (C) 2017 University of Amsterdam
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is dis... |
6e012b7eda490d4f8f198c630781537e44fe83e6 | 7f9ab53d7494744e6c5b0c33b1b2c17a080c979a | /1.2 Matematycy R/customdist.R | b3ee73caf31bfd69d2949a1617a41ffd5b2ef237 | [] | no_license | arkadiusz-wieczorek/roqad-ppb2015 | cb40d526960753c7338710a4200c32bd4884c67f | aa9efc6b43d9ee991cede8fbe0bc5105a7a75616 | refs/heads/master | 2020-04-10T07:34:11.023113 | 2015-12-09T07:31:55 | 2015-12-09T07:31:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 303 | r | customdist.R | custom.dist <- function(n, my.function) {
n <- length(c(1:n))
mat <- matrix(0, ncol = n, nrow = n)
colnames(mat) <- rownames(mat) <- listaURL[1][0:n,]
for(i in 1:nrow(mat)) {
for(j in 1:ncol(mat)) {
mat[i,j] <- my.function(i,j)
}
print(i)
flush.console()}
return(mat)
}
|
7166e7eff8e85bbdf645343344b67ab42e78a664 | 4c699cae4a32824d90d3363302838c5e4db101c9 | /03_Importacao_Limpeza_dados/03-TrabalhandoComArquivosCsv.R | 3a2a9e291609d041439bd53eb2023c2c9cf87d47 | [
"MIT"
] | permissive | janes/BigData_Analytics_com_R | 470fa6d758351a5fc6006933eb5f4e3f05c0a187 | 431c76b326e155715c60ae6bd8ffe7f248cd558a | refs/heads/master | 2020-04-27T19:39:10.436271 | 2019-02-06T11:29:36 | 2019-02-06T11:29:36 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,081 | r | 03-TrabalhandoComArquivosCsv.R | # Trabalhando com arquivos csv
# Usando o pacote readr
install.packages("readr")
library(readr)
# Abre o promt para escolher o arquivo
meu_arquivo <- read_csv(file.choose())
meu_arquivo <- read_delim(file.choose(), delim = "|")
# Importando arquivos
df1 <- read_table("data/temperaturas.txt", col_names =... |
383785052a55ae3abe601fe96957e157aa12f72d | 6ec80d98b62b3da24250ff660bb760edf1b0b712 | /man/max_col.Rd | 5e4fbbcaf0cb4d3e21baea95f42b4808bcba61f4 | [] | no_license | PROMiDAT/traineR | 753454edfc395cafefc6e449ba1de35205b430ac | 4558e0e4a5eb6042c3e4dcc301cdd3530f3cfe4a | refs/heads/master | 2022-09-29T07:38:40.010644 | 2022-09-05T22:03:58 | 2022-09-05T22:03:58 | 195,308,267 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 201 | rd | max_col.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Utilities.R
\name{max_col}
\alias{max_col}
\title{max_col}
\usage{
max_col(m)
}
\description{
max_col
}
\keyword{internal}
|
2fb805c8e26eb7208bde419ec6e0b013db10f6d7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/evd/examples/tcplot.Rd.R | 944ca706ad6f27776886b3c5141d0fa3374036e5 | [] | 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 | 299 | r | tcplot.Rd.R | library(evd)
### Name: tcplot
### Title: Threshold Choice Plot
### Aliases: tcplot
### Keywords: hplot
### ** Examples
tlim <- c(3.6, 4.2)
## Not run: tcplot(portpirie, tlim)
## Not run: tcplot(portpirie, tlim, nt = 100, lwd = 3, type = "l")
## Not run: tcplot(portpirie, tlim, model = "pp")
|
7d0fd7270e2a7242f4ae8be6ed720e03db7816d5 | d5a1bf85f845d0d4d23375003f42842ad811fe8e | /man/data.hc.Rd | d412cd2e56b46c764b6b04c88eec74c3bc3601ac | [] | no_license | vishalbelsare/rare | cbc0e73d8e04411d630f1ed3429c3500e9a60f2f | 93ce5266c9cef4a4c958b06cbfd325f9ae8d9d4b | refs/heads/master | 2022-01-26T22:43:05.776091 | 2022-01-24T23:55:21 | 2022-01-24T23:55:21 | 155,524,195 | 0 | 0 | null | 2022-01-25T06:32:22 | 2018-10-31T08:34:49 | R | UTF-8 | R | false | true | 856 | rd | data.hc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rare.data.R
\docType{data}
\name{data.hc}
\alias{data.hc}
\title{Hierarchical clustering tree for adjectives in TripAdvisor data set}
\format{An object of class \code{hclust} of length 7.}
\source{
Embeddings available at \url{http://nlp.stan... |
e2baa76c47bc2d81ba1f9675c72800154ea8d98e | fb7969219b11f64fbec9ba9aceabeeaf32513777 | /man/NW.weights_multi.Rd | 8aea177ba20e15feed6c633e8bdc4142a2493e04 | [] | no_license | cgrazian/BICC | 35d74e1efb2d2a3d2151d13026cfa4aee66fd438 | 484ba1a2baa3477000e742263a5e603c28d0e5aa | refs/heads/master | 2023-04-25T23:39:21.778112 | 2021-05-19T02:05:24 | 2021-05-19T02:05:24 | 368,717,277 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 806 | rd | NW.weights_multi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{NW.weights_multi}
\alias{NW.weights_multi}
\title{Multivariate Nadaraya-Watson weights}
\usage{
NW.weights_multi(x.mat, x.vec, bdw, kern = "gauss")
}
\arguments{
\item{x.mat}{matrix of value on which to compute the Nadaraya-... |
1a64155fc2933ef0321720a626e6d76a5a4dc8cd | 63caf4d9e0f4b9c9cb5ab101f5795a94f27d575d | /man/binmapAdp.Rd | ca94d7d3675a9af8310aced98f69c6cd932610bd | [] | no_license | marie-geissler/oce | b2e596c29050c5e2076d02730adfc0c4f4b07bb4 | 2206aaef7c750d6c193b9c6d6b171a1bdec4f93d | refs/heads/develop | 2021-01-17T20:13:33.429798 | 2015-12-24T15:38:23 | 2015-12-24T15:38:23 | 48,561,769 | 1 | 0 | null | 2015-12-25T01:36:30 | 2015-12-25T01:36:30 | null | UTF-8 | R | false | false | 1,725 | rd | binmapAdp.Rd | \name{binmapAdp}
\alias{binmapAdp}
\title{Bin-map an ADP object}
\description{Bin-map an ADP object, by interpolating velocities, backscatter
amplitudes, etc., to uniform depth bins, thus compensating for the pitch
and roll of the instrument. This only makes sense for ADP objects that are
in beam coordi... |
f01df9adc8966f61f2089eafbe97915474edaca8 | 0c9036e9bae17e52e5f7dffffa8e5d79e6344793 | /Silge, Julia - Text Mining with R - A Tidy Approach (2017).r | bfed735426acf13d1c79e51e9b67d50824f2e7ad | [] | no_license | OblateSpheroid/Book_notes | 452f60e89b841d79c66cf189862a17e80130ff24 | a552e580bc29ec37cf3ce4a206693e5ed4dcebcc | refs/heads/master | 2021-05-08T23:11:51.680161 | 2018-02-06T22:13:19 | 2018-02-06T22:13:19 | 119,699,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,383 | r | Silge, Julia - Text Mining with R - A Tidy Approach (2017).r | ### Silge Book Notes ###
# Chapter 1
require(tidytext)
library(dplyr)
text <- c("Because I could not stop for Death -",
"He kindly stopped for me -",
"The Carriage held but just Ourselves -",
"and Immortality")
text2df <- function(t) data_frame(line = 1:length(t), text = t)
text_df <- text2df(text)
unnest_tokens(te... |
08718f4f3ddf01b8e4e325c9fb349e34406ae715 | cac62c5097aa5a367b15405860fab4f55e88a654 | /Development/Dev_Local_GP/update/update_new/update.R | d57257cbc912e450c9cd17fc046084361788c0e4 | [] | no_license | drizopoulos/JMbayes2 | 657bcd1bd9dc7c9ae4992bc3514f1f3eb44a6cff | e11eed2c0626319d5d655aa555e56e60f75f9d3c | refs/heads/master | 2023-07-06T02:55:16.326465 | 2023-06-26T17:13:58 | 2023-06-26T17:13:58 | 207,892,271 | 62 | 22 | null | 2022-08-12T08:34:07 | 2019-09-11T19:37:54 | R | UTF-8 | R | false | false | 1,476 | r | update.R |
fm1 <- lme(fixed = log(serBilir) ~ year * sex + I(year^2) +
age + prothrombin, random = ~ year | id, data = pbc2)
# [2] Fit a Cox model, specifying the baseline covariates to be included in the
# joint model.
fCox1 <- coxph(Surv(years, status2) ~ drug + age, data = pbc2.id)
# [3] The basic joint model... |
bdb7a306a6718087255a3f783752d1cc9d28801c | c90c41808cd9946b3528bbfb93d0359b10e4c218 | /data/turk_s1110.R | 445164b3d61b45f78eda230a14e6a08d37c51833 | [] | no_license | ewan/dlp | 8364b89aead2192e3870fa2cd83e44be12201ef7 | 37451d69951303b4cf52c186f7f9c08772f778f9 | refs/heads/master | 2020-05-17T18:09:06.420289 | 2012-12-13T18:39:59 | 2012-12-13T18:39:59 | 6,782,932 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 107 | r | turk_s1110.R | turk_s1110 <- read.table("turk_s1110.txt", header=T)
names(turk_s1110) <- c("X1","X2","X3","C1","T1","T2")
|
f74cfc8c34935510a513daa5ce1a6dd993874067 | 0da6e68eb6b28874c84b8c0d13fb084724b33c61 | /pca_2d.R | 8889a3a29c1dc1dd9482fd1672f7a55512339c62 | [] | no_license | slcz/UFLDL | 0204c39c6c37055a63309a0d89b9260dec41826f | f68a4ca218bca01b8cdb2bada35d5fc2a91da365 | refs/heads/master | 2020-05-17T21:18:45.653102 | 2015-01-23T10:06:23 | 2015-01-23T10:06:23 | 29,243,785 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,199 | r | pca_2d.R | library(ggplot2)
library(grid)
raw <- as.matrix(read.table("pcaData.txt"))
sigma <- 1 / ncol(raw) * (raw %*% t(raw))
t <- svd(sigma)
data <- data.frame(x = raw[1,], y = raw[2,])
p <- ggplot(data, aes(x=x, y=y)) + geom_point(shape = 0, size = 4)
v1 <- cbind(c(0,0), t$u[1,] / sqrt(sum(v1^2)) / 2)
v2 <- cbind(c(0,0), t$u... |
dc1fcd72da83893946810f0ec142ca4c881f1cfc | 2b2fa7913d67a5ce25402f49e45d78e0d51ff746 | /man/davidson_44.Rd | 3bcbb533dc120922a89477617e486be430242abb | [] | no_license | frareb/devRate | c7580bce58f385ebc4028334c764b248694382a0 | a3dcdc8ecf7e8fb4212002995eb142f0fdc35f77 | refs/heads/master | 2022-09-28T04:21:34.781263 | 2022-09-08T10:49:36 | 2022-09-08T10:49:36 | 56,805,012 | 3 | 1 | null | 2021-01-06T11:29:45 | 2016-04-21T20:54:15 | R | UTF-8 | R | false | true | 1,309 | rd | davidson_44.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{davidson_44}
\alias{davidson_44}
\title{Davidson equation of development rate as a function of temperature.}
\format{
A list of eight elements describing the equation.
\describe{
\item{eq}{The equation (formula o... |
fd2225cbab753eb4d15922c41c0c066a3bfdf6ec | 29585dff702209dd446c0ab52ceea046c58e384e | /gRbase/R/graph-coerce.R | 872cdb32903b48979ba6fbd5d6138e45cb88b6b7 | [] | 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 | 12,191 | r | graph-coerce.R | ##############################################################
####
#### Coercion between graphNEL, igraph and matrix
####
##############################################################
setOldClass("igraph")
matrix2igraph <- function(x){
if (isSymmetric(x)){
gg <- igraph::graph.adjacency(x, mode... |
107e157cc8066ca318b9cdcc34c2a63ce31d3ef6 | ff6ca8e3a11a1445c44759895e11655d0c178cd2 | /R/sfaStep.R | fd9fcb3396e5133ce1ad8cc6cef54319e822b51c | [] | no_license | cran/rSFA | a375b3402107ecf9bfeb36a9fdafbeacb7881ab4 | c8faff4caa5007db462de83f9814539174a543fd | refs/heads/master | 2022-05-06T15:11:09.907585 | 2022-03-29T09:00:07 | 2022-03-29T09:00:07 | 17,698,959 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,291 | r | sfaStep.R | ###################################################################################
#' Update a step of the SFA algorithm.
#'
#' sfaStep() updates the current step of the SFA algorithm. Depending on \code{sfaList$deg}
#' it calls either \code{\link{sfa1Step}} or \code{\link{sfa2Step}} to do the main work.
#' ... |
d79f579c185065eb7810c23adbcaacafc748261b | 1c766196fe74bfb2e8f05b286431b6973223435f | /strategies/my_limit.R | d81be249397423695160e1b78a03acee60bbd477 | [] | no_license | RadishLamb/automated-trading-program | dc51a8d73bb6fc10e79a611e43d92aafe50dc7ba | 16cddcf524cdf76eb9ced3eb2667f30e3d870b79 | refs/heads/master | 2020-12-14T12:16:21.544452 | 2020-01-18T13:37:19 | 2020-01-18T13:37:19 | 234,739,259 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 4,061 | r | my_limit.R | # FOR A GENERAL EXPLANATION OF REQUIREMENTS ON getOrders see rsi_contrarian.R
# Marketmaking strategy
# Places buy and sell limit orders around close price
# Spread is determined by daily range
# Unit position sizes for limit orders
# Uses market order to clear inventory when it becomes too large
# Note: lim... |
f3138abc6c8057a1281b752feeba39ced0551773 | 90b30c4d63da6381edc5d82856c9b298e655fb5b | /R/script2_aafreq_perDrug_perVar_v4_refConsensus.R | 84b6c0e46ea9d828453a31b944c9416c69270696 | [] | no_license | manonr/covid-therapeutics | 979810e5570daef5fa58ec1da1965d9ec36b5582 | ef7e9f913678f9a2376dcc88546ff7abadf0eb43 | refs/heads/main | 2023-04-06T21:54:20.473008 | 2022-10-13T21:45:07 | 2022-10-13T21:45:07 | 549,894,855 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,597 | r | script2_aafreq_perDrug_perVar_v4_refConsensus.R |
# main analysis
# this script takes all the translated protein sequences
# for each combo of interest, the aa frequencies are compared across treated an untrested pateints
# prints one csv per combo examined
# and one summary csv with all significant combinations
# M. Ragonnet
# 09/03/2022
library(ape)
library(pha... |
2fe709f6954a1abdf2a7ba4ff9bbe9f7c9bea8c9 | bb7e36e775baf6daa4a63a9aaaad31f86c5ce827 | /man/n_sent_id.Rd | 00f26d014b9b1392be4207858298a564880e636a | [] | no_license | leoluyi/EOLembrainToolbox | 31135915bfa4feb9f243a4d6e7b82f09a98bf730 | f9a57a0f5cf9d777a9c0a6b04342b1604db9f73c | refs/heads/master | 2021-01-21T02:10:48.877362 | 2016-03-12T14:13:21 | 2016-03-12T14:13:21 | 38,605,581 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 539 | rd | n_sent_id.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/n_sent_id.r
\name{n_sent_id}
\alias{n_sent_id}
\title{Count sent IDs from txt files}
\usage{
n_sent_id(sent_id_path, date_from = NULL, date_to = NULL)
}
\arguments{
\item{sent_id_path}{Directory contains .txt files of sent IDs,
of which file... |
00d6e3ee78cac431ddfee60e703b057450ed2a21 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/7211_0/rinput.R | 11ef8aef6e1903c084bf3d48e686cb3c74c1f859 | [] | 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("7211_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="7211_0_unrooted.txt") |
63ff4cd8e4bedf48d967d9ec99aab0fbcc7d7c59 | 76464062b84e71f60939f2670290ca82dcda6ca9 | /R/of_import_date.R | 8eb76a214585559ee22cb206a892f5dac7506926 | [] | no_license | TealZee/openforms | 8dbad9d5d3d3107b0ae9b66498bd2723b87eaa93 | eb65b158553be494d17c9747665da2dd414fcabc | refs/heads/master | 2020-04-07T18:16:03.087248 | 2019-02-19T16:31:45 | 2019-02-19T16:31:45 | 158,603,980 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,186 | r | of_import_date.R | #' Imports form data from openforms.com
#'
#' This function returns form response data for a given form ID
#' @param formID The version ID of the form (Integer)
#' @param apiKey The API key for the form owner's account
#' @param startDate The start date of the query in "%Y-%m-%d %H:%M:%S" format
#' @export
#' @e... |
8645820eb60cc1579e9b477f58d9ef52199312ac | b928b21a9550b9a2c5fec8a1ba0f8684d0ae91ba | /R/desire_individual.R | 0f3612f5055046034c03895f5a836bb2492e427b | [] | no_license | haleyeidem/integRATE | 46db94f6bf28123ed6650afd044d123cddb9e8e6 | 78740446450fd8f704933942c218a79fa3feab77 | refs/heads/master | 2021-01-09T20:47:48.954149 | 2018-04-19T16:06:57 | 2018-04-19T16:06:57 | 75,875,579 | 1 | 1 | null | 2018-01-27T19:14:09 | 2016-12-07T21:05:41 | R | UTF-8 | R | false | false | 8,237 | r | desire_individual.R | #' Low, high, and extreme desirability functions
#'
#' These functions map numeric variables to a [0, 1] scale where low, high, or
#' extreme values are most desirable.
#'
#' @details
#'
#' @param x Vector of numeric values.
#' @param desire_type Class of desirability function to apply (low, high, or
#' extreme).
#' @p... |
e9f7f6a17ba1be958766e399b7e081dc6638a246 | 1ae4868cf6bfedd4d334777f8068c9a3f8909071 | /R/formula.censReg.R | eee59450dd6edfd5f856d4e1f1306f1ae6707235 | [] | no_license | cran/censReg | b0b5c5fde5279aa5ce810b626e7d3e8056e9ca91 | d40196a7a63f66cb6bc87fa1ea05ad4c0199cb73 | refs/heads/master | 2022-09-06T04:49:25.358517 | 2022-08-07T05:20:02 | 2022-08-07T05:20:02 | 17,695,020 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 99 | r | formula.censReg.R | formula.censReg <- function( x, ... ) {
result <- formula( terms( x ) )
return( result )
}
|
cdc0e679748ed6c054b8aacd63561d7bb0b123c2 | c8113b3977b82486643308229612d98e0e919399 | /04_ExploratoryData_project2/plot2.R | 4197be92bab920d655fd2e583c3bbe26fbae3cd4 | [] | no_license | anyacha/datasciencecoursera | 2c2f83baebcee29267b85da6516bc88645494e8d | 44d0f6bd87977a3d04589deb52ca96cc88928f05 | refs/heads/master | 2020-05-18T17:44:20.050944 | 2015-08-26T04:53:09 | 2015-08-26T04:53:09 | 38,330,200 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,437 | r | plot2.R | #Coursera, Johns Hopkins U, Data Sci, course #4 Exploratory Analysis
#8/17/2015
#course project #2
### Q2. Have total emissions from PM2.5 decreased in the Baltimore City, Maryland (fips == "24510") from 1999 to 2008?
### Step 0. Setup
rm(list=ls())
setwd("~/Desktop/iSchool/Coursera/JohnsHopkinsU_DataScienceSpec/4Exp... |
4cb2bfaa65974cab1b1a5c6db00439346228d873 | 77bf6846a7b572eeac9fbbc49fc2eb687a336088 | /Problem_1.R | 104d801bb2b664daa47e898b14e334e959abd523 | [] | no_license | feb-uni-sofia/homework-1-r-basics-nvichev | 8a0a6b990e54be053aac62ad5a026f084c9f931c | 14bb26b2070e83d783426005658866c4188bcc6d | refs/heads/master | 2021-04-12T10:25:50.471260 | 2018-03-21T17:41:53 | 2018-03-21T17:41:53 | 126,212,736 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 347 | r | Problem_1.R | #a)
x <- c(4,1,1,4)
x
#b)
y <- c(1,4)
y
#c) The 2 vectors have different lengths, so the length of the shorter
#vector is doubled to match the 4 elements of the bigger one.
x-y
#d)
s <- c(x,y)
s
#e)
sReplicated <- rep(s,10)
length(sReplicated)
#f)
sRep_Each <- rep(s,each = 3)
sRep_Each
#g)
seq1 <- seq(7,21)
s... |
ea07bedba72b49c237fec71899dc0078d863387e | a87fbb4d8286a50ea6d36f1432b1b27c5f96085e | /vignettes/diabetes/src/population.R | 361a48c7309df6169492b8383b85e5ff17824fa7 | [] | 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 | 1,120 | r | population.R |
library(readr)
library(tidyr)
library(dplyr)
library(forcats)
library(dembase)
maori <- read_csv("data/DPE479901_20210414_110618_25.csv",
skip = 2,
n_max = 15) %>%
rename(time = X1) %>%
pivot_longer(-time, names_to = "age", values_to = "maori")
total <- read_csv("data/DP... |
8f7c6e534658bcb262231fd6d4895b20e99d0555 | 981ce555f51f0cf849d8ac56422d0f6528707e89 | /05_Code/02_Analysis/01_Descriptive-Analysis/CER/A-01-04C_A1_Descriptive-Analysis_CER_Response-to-Temperature_Daily.R | 5081cd6dac2492d794c0a9f872e9264be1173d92 | [] | no_license | JMJo321/Energy-Demand-Analysis | 6059e52c177a133f912f5d77239adfeb02620c78 | 32873d78f73e66b2d14f9686739ddf61c4748b04 | refs/heads/main | 2023-09-02T13:20:11.807431 | 2021-07-28T01:16:01 | 2021-07-28T01:16:01 | 321,818,090 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,402 | r | A-01-04C_A1_Descriptive-Analysis_CER_Response-to-Temperature_Daily.R | # < Description > *
# > Script Group Indicator Number and Name:
# # A-01, Descriptive Analysis
# #
# > Script Number(s):
# # A-01-04C_A1
# #
# > Purpose of the script(s):
# # Descriptive Analysis - Estimate the Treatment Impact on
# # Household Response to Temperature by using `hdd_all`
# -----------------------------... |
39e658cfaea4fdcfee1b94eb11af6b57eca49870 | 6fe23897d8599f4b6cdc31ea744734cf43ad7088 | /src/05scripts/02R/InternshipReport/RCytoscapeClustersAbasy.R | 41bdc95329ad3a5cf5cf4d62f20f26f9cece9910 | [] | no_license | dimagarcia/Framework | 7011058ffbf291a83ef1fee14e80410564eefa3b | ec4547825755201b762f4623bf55ab36f6339734 | refs/heads/master | 2023-08-22T03:24:29.496278 | 2023-08-15T10:26:08 | 2023-08-15T10:26:08 | 132,790,549 | 1 | 0 | null | 2023-08-16T03:26:34 | 2018-05-09T17:22:39 | JavaScript | UTF-8 | R | false | false | 1,819 | r | RCytoscapeClustersAbasy.R | library("RCytoscape")
pluginVersion (cy)
# Module 34
g <- new ('graphNEL', edgemode='directed')
g <- graph::addNode ('lacA', g)
g <- graph::addNode ('lacY', g)
g <- graph::addNode ('lacZ', g)
# Module 40
#g <- new ('graphNEL', edgemode='directed')
g <- graph::addNode ('ttdA', g)
g <- graph::addNode ('ttdB', g)
g <- g... |
61b16e63381e18da890be10637118a7a8bcbda75 | 4c16c3c020a4e421dccb55e9f2d8fb345a898182 | /main_interval.R | 14e09fc280f5a542cc659cc7b98c556d4a92997a | [] | no_license | KNewhart/MP_ADPCA_Monitoring | b7f858a69fc6e5ad79b821993f99ebe8ee490e22 | 38dca7a1782af0f7449278b84cf7899fa9ab69c9 | refs/heads/master | 2020-03-27T01:33:51.556481 | 2018-08-27T22:51:03 | 2018-08-27T22:51:03 | 145,722,847 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,069 | r | main_interval.R | ### Preliminaries
# Clear global environment
rm(list=ls())
# Load libraries
library(ADPCA)
# Set working directory
remote <- TRUE
if (remote) {
setwd("C:/Users/Kate Newhart/odrive/Mines/Code/MP_ADPCA_Monitoring")
} else {
setwd("C:/Users/SB-MBR/Desktop/R Code/MP_ADPCA_Monitoring")
}
# Load variables
source("vars.R... |
d8bfece9c85527d18ef04b49c82452da3074cdb3 | 2624780e9ac235d2b08aa69b191033fe35cdc915 | /man/janus.Rd | dd22e39f46a3ede5c1bd013d67a4c5efd6157b69 | [] | no_license | Sandy4321/janus | 81c01fdc783252cff1d16cdd506bcaf1d0f22ca8 | 8dc36385a063de0e1efc0ed76bb00dccccd78012 | refs/heads/master | 2021-01-14T14:07:50.902289 | 2015-09-13T23:06:58 | 2015-09-13T23:06:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,072 | rd | janus.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/janus.R
\name{janus}
\alias{janus}
\title{Constructor for janus object}
\usage{
janus(object, package, classifier, interface = c("formula", "default"),
constructed = TRUE)
}
\arguments{
\item{object}{A trained model object.}
\item{... |
86853ac7b67f7b005723c9cd41eade25c6c44ba6 | 9cc7423f4a94698df5173188b63c313a7df99b0e | /R/analyze.anova.R | 92bd7db05b014066faccd84080e80f180a70ad62 | [
"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 | false | 8,321 | r | analyze.anova.R | #' Analyze aov and anova objects.
#'
#' Analyze aov and anova objects.
#'
#' @param x aov object.
#' @param effsize_rules Grid for effect size interpretation. See \link[=interpret_omega_sq]{interpret_omega_sq}.
#' @param ... Arguments passed to or from other methods.
#'
#' @return output
#'
#' @examples
#' \dontrun{
#'... |
df89cd16eb97299042f34eeac1ea278898b0f478 | 9ff1c5bb2148e0a9782bf3084817878f95f191d1 | /scripts/ejercicio_012.r | 0d3e0b1a34b505b16f61eb3cc75078531a70746b | [] | no_license | mar71n/cursoR | 95a1045f89e77cc6406bd834f3e1a5ff5e38a00c | fad97fccc114bb5b8cf367952eb64bc397ba6431 | refs/heads/master | 2021-01-16T18:30:01.702666 | 2013-07-18T17:19:35 | 2013-07-18T17:19:35 | 31,655,439 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,193 | r | ejercicio_012.r | # Vamos a crear primero tres vectores de datos con distribuciones dispares:
discreta <- sample(1:10, 100, prob=seq(from=0.1,to=1.0, length.out=10), replace=TRUE)
exponencial <- rexp(1000)
bimodal <- c(rnorm(1000), rnorm(1000, mean=5, sd=2))
# El ejercicio consiste en crear gráficos para los tres vectores... |
58326ae50d1f1401ff2539df75d33710d80ca54e | 5a676f5a367775e242968a487b1a7940c550f374 | /R/clean_profiles.R | 6aa85d134c362092e2de104643f0dffec9bd8559 | [
"MIT"
] | permissive | fosterlab/PrInCE | a812897bd29383d84ad0ba7337a31d20b1c79b89 | add96aad315861f5aad2079f291dee209e122729 | refs/heads/master | 2021-12-15T03:03:00.683090 | 2020-12-07T20:15:10 | 2020-12-07T20:15:10 | 109,034,214 | 6 | 5 | null | null | null | null | UTF-8 | R | false | false | 1,527 | r | clean_profiles.R | #' Preprocess a co-elution profile matrix
#'
#' Clean a matrix of co-elution/co-fractionation profiles by
#' (1) imputing single missing
#' values with the average of neighboring values, (2) replacing missing values
#' with random, near-zero noise, and (3) smoothing with a moving average
#' filter.
#'
#' @param pro... |
cf994cdf1b4897633f7c6d2e2bce3281e0890e6a | 94eed3c3d82610194b5d5e683a9248a22487c5ac | /R/xml_html_scrape.R | 2236bd603e1fabf2b4945c8abfa5d2d382dc45ef | [] | no_license | euhkim/regression2000 | 2529dc1934c7a323892bb915f3b9fd99cf815f44 | 20cc832cb1e17faabc0de3e30190cee7f015eb46 | refs/heads/master | 2021-09-11T01:31:51.430346 | 2018-04-05T18:49:22 | 2018-04-05T18:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,587 | r | xml_html_scrape.R | install.packages(c("ggplot","magrittr","lubridate","dplyr","glmnet"))
library(ggplot2); library(magrittr); library(lubridate) ; library(dplyr)
# extra functions
extract_numerics <- function(x){
strsplit(x," ") %>% lapply(function(x){
nums <- which(!is.na(as.numeric(x)))
return(as.numeric(x[nums]))
}) %>% ... |
7e987825ad8057a3e56591e204aa7f9d1f16f572 | af11fe3ff3fec9f631df5d1bd10cd6b8dae32c89 | /shiny observe.R | b0b3cbdfeed80504db4036f45f60b4ed26c8a8d9 | [] | no_license | y1220/R-practice | fc483bef6831fe37c7b22d5c10babaf53ae31772 | b2fc05202b04e39c5b33b2d0bfa08b947fa0d605 | refs/heads/main | 2023-08-17T13:20:45.450404 | 2021-10-10T22:26:57 | 2021-10-10T22:26:57 | 397,967,259 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 383 | r | shiny observe.R | library(shiny)
ui <- fluidPage(
textInput('name', 'Enter your name')
)
server <- function(input, output, session) {
# CODE BELOW: Add an observer to display a notification
# 'You have entered the name xxxx' where xxxx is the name
observe(
showNotification(
paste('You have entered the name ',input$nam... |
4645e58ba6eef4c4365697644dab41b41b53e7c1 | b9310268702ef141c4cd4e03e19c6a89682c1a69 | /simulation_samplesize/create.dmps.norm.other.R | 78e6b1e16a1f635e7603e47cbf6040eff916939b | [] | no_license | Jfortin1/funnorm_repro | 7b853da5e648a60e74b09e458fd88cc49efcf69b | b2cf7b2c907990fde2e204a1b6f9acc4acd6cccf | refs/heads/master | 2021-01-20T13:48:09.063091 | 2015-03-27T16:06:20 | 2015-03-27T16:06:20 | 20,110,327 | 7 | 1 | null | 2015-03-27T16:06:20 | 2014-05-23T18:47:02 | R | UTF-8 | R | false | false | 1,312 | r | create.dmps.norm.other.R | # We will focus on the EBV dataset
k=as.numeric(commandArgs(TRUE)[1])
j=as.numeric(commandArgs(TRUE)[2])
funnomDir <- "/amber1/archive/sgseq/workspace/hansen_lab1/funnorm_repro"
rawDir <- paste0(funnormDir,"/raw_datasets")
disValDir <- paste0(funnormDir,"/dis_val_datasets")
designDir <- paste0(funnormDir,"/designs")
... |
38cdc69e0bd29af64a17dce29b8e5bfdf4621fea | 378ce06964d8617d005de4f697685f93632ffcda | /Genetic_Chen2021.R | 1f6f3edb5d05664f27e7063b06b166bcd2004d0a | [] | no_license | YLCHEN1992/Genetic_Chen | 3fb8db6655c1d23a43f65f7d1849d27a078e7d1c | 803497b69bf8b97e191e5dbf48ed7cbab97296b1 | refs/heads/main | 2023-05-29T09:33:33.756531 | 2021-06-13T11:11:59 | 2021-06-13T11:11:59 | 372,094,221 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 8,920 | r | Genetic_Chen2021.R | # Need packages
library(corrplot)
library(ggplot2)
library(formattable)
library(reshape2)
# Public functions
# Matrix for linkage calculation
Dmdata=c(1,0,0,0,0.5,0,0.5,0,0,0,0.5,0.5,0,0,0,1,
0,0.5,0,0.5,0,1,0,0,0.5,0,0,0.5,0.25,0.25,0.25,0.25,0,0.5,0.5,0)
Dm=matrix(Dmdata,nrow=9,ncol=4,byrow=T)
colnames(... |
310e967c4b13b0ae71c4ffd5ec790a99618909a5 | ba47c8138302b941da39dac09cc5c20ab8d401cf | /R/zz-flow-code.R | f21ac0f3e1b98c67381d463a65b60d6888ff1ff5 | [
"MIT"
] | permissive | flow-r/flowr | b5b542b44d175af84840f88fed54d48db474c4fb | dabf9d0df4d580e45b758b4dd7f2346e76a63c3d | refs/heads/master | 2023-03-22T23:14:02.563866 | 2021-03-10T15:43:53 | 2021-03-10T15:43:53 | 19,354,942 | 11 | 0 | NOASSERTION | 2021-02-28T04:35:36 | 2014-05-01T19:20:29 | R | UTF-8 | R | false | false | 1,303 | r | zz-flow-code.R | # nocov start
## some function to supplement the shiny GUI
if(FALSE){
qobj <- queue(platform = "lsf", queue = "normal")
job1 <- job(name = "myjob1", q_obj = qobj)
job2 <- job(name = "myjob2", q_obj = qobj)
job3 <- job(name = "myjob3", q_obj = qobj, previous_job = c("myjob2", "myjob1"))
fobj <- flow(name =... |
ec3c5dd29a2964099bfb53564694f24308ef341d | 305b202e7360ccd04489bbc00e2b5ea2d1ca6f8f | /Concrete_Discretize.R | efcdffc7ec9a3ed0b38edda2df5e718dc06dbf63 | [] | no_license | rajivsam/Miscellaneous_R_Utility_Code | 5749370be7371b8e317e9a1e7025e342bec280a4 | f277b7fec9cb7b06547ba20d0fdbeae5f7bcc2ea | refs/heads/master | 2021-01-10T22:05:40.986567 | 2015-07-20T09:43:17 | 2015-07-20T09:43:17 | 39,375,565 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,227 | r | Concrete_Discretize.R | library(arules)
fp = "/home/admin123/homals_analysis/Concrete_Data.csv"
col.names = c("Cement_Comp_1", "Blast_Furnace_Slag_Comp2",
"Fly_Ash_Comp_3", "Water_Comp_4",
"Superplasticizer_Comp_5",
"Coarse_Aggregate_Comp_6",
"Fine_Aggregate_Comp_7",
"Age (... |
9410b263b256f3b598ea8743be0ba4255b968e92 | bb10ea2c03c9cd1a0d4458772ca2440f488b1008 | /R/elastic-client.R | 63ea7f42da31097dcccf8eb6a2cf45b8ad86b9b0 | [
"GPL-3.0-only"
] | permissive | Henning-Schulz/forecastic | 1b375c95c77f3ceb88db049213b0762b5997c2c1 | 3f7517749b2701f7670e895568a2d85a84ff2a4f | refs/heads/master | 2021-08-08T03:07:22.922224 | 2020-07-16T15:27:15 | 2020-07-16T15:27:19 | 202,161,301 | 0 | 0 | Apache-2.0 | 2019-08-13T14:25:12 | 2019-08-13T14:25:12 | null | UTF-8 | R | false | false | 3,476 | r | elastic-client.R | # elastic-client.R
#' @author Henning Schulz
library(elasticsearchr)
library(tidyverse)
library(stringr)
#' Reads the intensities from the elasticsearch.
#' The result will be formatted as tibble with the following columns:
#' \code{timestamp} The timestamp in milliseconds
#' \code{intensity.<group>} The workload... |
07086415e3f85344d6e5e582c0be6527d681b8af | 41b079970f142ed6439a07b896719718b1fb4fff | /R/Strategy.R | 960995442b6034f0c24e0c39f24863fa2317c721 | [] | no_license | quantrocket/strategery | 5e015e75d874c6ab16e767861e394350bd825055 | a7b6aee04f3f95b71e44c2c9f3c9a76390c21e52 | refs/heads/master | 2021-01-18T07:36:31.291056 | 2014-06-17T21:54:30 | 2014-06-17T21:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 401 | r | Strategy.R | Strategy <- function(){}
#' Start strategy definition
#'
#' @export
newStrategy <- function (name)
{
# s <- list(name=name)
# class(s) <- "strategy"
# assign(name, s , envir=.GlobalEnv)
}
#' Save (persist) strategy definition
#'
#' @export
saveStrategy <- function(
# envir=strategy$name
)
{
# s <- get("... |
7607c5bebfa73a1086f8cbb5a2f05618733389e0 | 4c7f27e57df28dcb83a714c8395cc019e694b03a | /Active.R | d0a59feed82139a185d85e20a4ab3e5a64cdf827 | [] | no_license | TylerShirley/Active_monitor | 93abf8c5175c0c4a4f4268ef78d2ad2854f2dc4a | 49b5ae28d4f782c0067e904dd384deaf74b2294d | refs/heads/master | 2022-11-29T09:50:23.072544 | 2020-08-05T21:50:26 | 2020-08-05T21:50:26 | 283,050,658 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,241 | r | Active.R | activity_unclean <- read.csv("activity.csv")
#Load in ggplot
library(ggplot2)
library(lubridate)
library(plyr)
library(dplyr)
#remove the NA values & make date data type
activity_unclean$date <- as.Date(as.character(activity_unclean$date))
activity <- na.omit(activity_unclean)
activity$day <- weekdays(activity$date)
... |
1b6ffedd61e3b0a861cad1bbd2c6b775f9bb890b | 4c4dc390167f4a6e77f2d0c1f53184efd632fab5 | /R/plot_cal.R | c9de6d4b4b68b75281a6cfdd44749123cd933641 | [] | no_license | ck2136/PMMSKNN | bca3c01f6443d535a4e498270c2e56d7e22fb55c | f41a39493ea881b134e985e5bd7c26369c190726 | refs/heads/master | 2023-07-06T22:25:31.287256 | 2021-08-13T08:15:50 | 2021-08-13T08:15:50 | 186,530,969 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 15,601 | r | plot_cal.R | #' Plot for statistical validity and calibration
#'
#' Creates two types of plots.
#' \enumerate{
#' \item \emph{Model performance plots} showing average bias,
#' coverage, 50 percent PI width (mean IQR diefference),
#' and a combined score of these statistics, at various
#' choices for the number of... |
d53d98fbab23e593918150f5aa8c406b3a80d5d6 | f9321d868b5249523c7ea88762dadd11f795952d | /R/wiggleplotr-package.r | 8f7d1259fb963c41aa7e50b1ccb3f9add2dc43cb | [
"Apache-2.0"
] | permissive | kauralasoo/wiggleplotr | 34a630520714a1a19f50e65b1a17ddb05747345b | bcb4decc5d05b0296c74cb85c880d4122fffff65 | refs/heads/master | 2022-07-02T06:00:42.288050 | 2022-06-27T19:54:46 | 2022-06-27T19:54:46 | 26,833,955 | 32 | 19 | Apache-2.0 | 2022-06-27T20:07:57 | 2014-11-18T22:52:41 | R | UTF-8 | R | false | false | 844 | r | wiggleplotr-package.r | #' wiggleplotr
#'
#' wiggleplotr package provides tools to visualise transcript annotations (\code{\link[wiggleplotr]{plotTranscripts}}) and plot
#' sequencing read coverage over annotated transcripts (\code{\link[wiggleplotr]{plotCoverage}}).
#'
#' You can also use covenient wrapper functions
#' (\code{\link[wigg... |
b438956bcd69b69e172aad89d915bbe2adef1686 | ebe2d8990d3073a610e0dfbd26bfcb55e8b87cc2 | /tabs/sobre.R | c66c7ffc8b70b875c61ccfeadf24ce78bc97e8e7 | [] | no_license | voronoys/voronoys-app | c7732c475199d82712aeab2b180112e27f5a12cf | cc6ccbe58e2732156e7358c3861e746803b1873c | refs/heads/master | 2021-05-05T07:30:20.138526 | 2018-01-24T19:48:56 | 2018-01-24T19:48:56 | 118,813,762 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 532 | r | sobre.R | sobre <- tabPanel(title = "Sobre", value = "sobre", br(),
includeHTML(rmarkdown::render('descricoes/augusto.Rmd')), br(),
includeHTML(rmarkdown::render('descricoes/douglas.Rmd')), br(),
includeHTML(rmarkdown::render('descricoes/... |
a5f75a58af3a5f63c836630f6c4a1022a47719d1 | 2b7bb0a817d293a007c1597b57ad9a083c4c614a | /R/calcTradeVolume.R | 620d899dfdc021064a322d719c10abfee0ed07c7 | [] | no_license | helenristov/aCompiler | 777585a77ada30fbbb750339fd28dfe439d0cf1e | cc0a0146c7dd20c17829190c9eac3e65ad71d940 | refs/heads/master | 2021-01-23T07:33:51.970028 | 2018-11-13T03:22:08 | 2018-11-13T03:22:08 | 102,508,631 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,941 | r | calcTradeVolume.R | #'
#' Creates a time-series of the traded volumes for a given time period.
#'
#'@param data MDR or TRS data.
#'@param contract The contract that you are pulling data for.
#'@param lookBackPeriod A list containing the lookback units and size for a rolling volume calculation specified in secs,hours,day,weeks,months
#'
#'... |
bd0fba7a7ee8f5a990f01cc4bff0926a62ca2714 | b79d9a843181d324ab1c61f24bb277b2265f7973 | /allelic_sims/src/check_mcmc_convergence.R | 1525e9994677822918e6f1f120887053aee15027 | [] | no_license | wf8/homeolog_phasing | 5c27f48eb1efc1ce60f4b8f7664e4c498239d5bc | 9b00fb3af9e555f1aa51d96b32b840903b317c54 | refs/heads/master | 2022-07-02T22:35:01.035237 | 2022-06-04T21:52:44 | 2022-06-04T21:52:44 | 193,846,433 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,124 | r | check_mcmc_convergence.R | library(coda)
library(ggplot2)
for (rep in 0:999) {
line_out = paste0(rep)
for (dir in c('output_w_dummy/', 'output_no_dummy/')) {
line_out = paste0(line_out, ',')
in_file = paste0(dir, rep, '/phasing.log')
d = read.csv(in_file, sep='\t')
ess = effectiveSize(d$Posterior[500:1999... |
007f676d2dbcba3fc1beea83047c791728f98084 | 4f240a9d013e25b3ba8c36da43818f48cdce835a | /ExttratTestCases.R | 6bc2c06472d3ef94da69f66896b8e826a570bbf5 | [] | no_license | boazgiron2020/Rfiles | 05167cd0415b7c8b9ac25351fcc1ca2c131e14a4 | 78d1da74f7f89de1e03ed016e58aa39474d00dff | refs/heads/master | 2023-02-16T19:06:20.729814 | 2021-01-17T12:20:03 | 2021-01-17T12:20:03 | 330,382,541 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,466 | r | ExttratTestCases.R | data = read.delim("clipboard",header = TRUE,stringsAsFactors = FALSE)
dim(data)
as.character(data$Pt)
data = data.frame(data)
colnames(data)
#"Pt","FINAL.HVPG"
dataTest = data[,c("Pt","FINAL.HVPG","PDRdivPDRfitLength.30","Platelets.Clean","Creatinine","GGT")]
dataTest[,3:6] <- sapply(dataTest[,3:6],as.numeric)
for... |
14afd92313a522c81add9aa26caecb26833126a5 | 26aa1ab6322c64aa22b11d61ca872b4aac7a1bfd | /Create Variables/FULLVAL_cy.R | cad718a35d46d9987cf1234338bc72cff6bd8926 | [] | no_license | violet468118034/NY-Properties-Fraud-Analytics | b2a692bb7046ed79a82c0f42ba646292008d6045 | 1c0ff06f86cc439255f3d20c225272f0607d55dc | refs/heads/master | 2021-01-23T03:54:05.673736 | 2017-03-25T05:54:09 | 2017-03-25T05:54:09 | 86,134,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,563 | r | FULLVAL_cy.R | library(dplyr)
roger<- ny[,c(1:2,30:31,4,7,33,8,32,9:10,35,11:14,20:21,34)]
zy <- Cleandata_zy[,c(35:36)]
nynew <- cbind(roger,zy)
#nynew <- head(nynew,1000)
# FULLVAL
FV <- nynew%>%
filter(FULLVAL!=0)%>%
mutate(price = FULLVAL/BLDVOL)
FV2 <- FV%>%
group_by(TAXBIG,ZIP)%>%
summarise(Price = mean(price))
nyne... |
daee6651bed197a2ed9b655b6523ecdafe495a6e | bc69cba0d813d0e7316589361ece90dae97ead70 | /inst/modules/univariate_power_explorer/exports.R | f9e967a48d66770fbb59de27909e517db98445b2 | [
"MIT"
] | permissive | beauchamplab/ravebuiltins | 04174f772d98bb99e51aa448dc042cca288bbd45 | b44b718ce898c5e8e5b7153350627517723e3152 | refs/heads/master | 2023-03-15T19:03:16.725665 | 2022-10-06T12:12:29 | 2022-10-06T12:12:29 | 175,698,469 | 3 | 3 | NOASSERTION | 2022-10-06T12:12:30 | 2019-03-14T20:58:13 | HTML | UTF-8 | R | false | false | 7,385 | r | exports.R | input <- getDefaultReactiveInput()
output = getDefaultReactiveOutput()
power_3d_fun = function(brain){
showNotification(p('Generating 3d viewer...'))
# brain = rave::rave_brain2();
brain$load_surfaces(subject = subject, surfaces = c('pial', 'white', 'smoothwm'))
dat = rave::cache(key = list(
list(ba... |
beed887fb8de8cebd5f304ec610bc9b2d45064b3 | 89c0336313978ced471600c3671e8c937d2fd347 | /data/seqload.R | f0abc9d2ce8abad6e17d5cd5d77952f1434550d6 | [] | no_license | bax24/Deep_Learning | dd4b36d8713ed8f5f9296bd0a19ef648f167def2 | 98a56a70daf7ad929cf8d4e79a4c4586d5bfce54 | refs/heads/main | 2023-04-21T01:54:17.889020 | 2021-05-17T19:56:20 | 2021-05-17T19:56:20 | 366,088,600 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,593 | r | seqload.R | # Loading the package and ENSEMBL database
library(biomaRt)
mart<-useEnsembl(biomart="ensembl",dataset="hsapiens_gene_ensembl")
# Importing TF data
TF_IDs<-read.table("~/TFs_Ensembl_v_1.01.txt", quote="\"", comment.char="")
TF_IDs<-as.vector(unlist(TF_IDs))[-c(1,2)]
TF_UNIPROT<-getBM(attributes=c('ensembl_gene_... |
431b31a87df06920671e1b7cc9c58fc6b81b6210 | bc31b76e986ec463ac938a29ada331d1c95b8c3e | /Kelsey/influenza_data/ncdetect_influenza_data_cleaning.R | e4c87fb17af5e72c97a6ced36acad3284f7d665f | [] | no_license | kelseysumner/nc_detect_spatial_clustering | 0e4d8f650a8c8227c065ad069d8365c3b96483d5 | 9be6f56e21707524db088affef3f7d31da94e314 | refs/heads/master | 2020-05-21T01:28:59.451952 | 2019-11-15T21:29:47 | 2019-11-15T21:29:47 | 185,856,395 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,866 | r | ncdetect_influenza_data_cleaning.R | # ----------------------------------------- #
# NC DETECT Spatial Project #
# Zip Code Influenza Data #
# July 18, 2019 #
# K. Sumner #
# ----------------------------------------- #
# what this is doing:
# reading in the zip... |
2e133d84526a5b084e3384a10220fee43f6a68a5 | a9564ad0510948b45d2e9e004978e1fdb363d0de | /global.R | 9fc3f120b598f65ce595f0d7d49557c893e22ca5 | [] | no_license | fishsciences/juvenile-salmonid-habitat-calculator | fd0c67ccdacc2bd0c1e7a94d40822df4e4003a8c | 4efa961d3138390117c3a89a4fdccac3b0e15b79 | refs/heads/master | 2020-06-01T06:57:31.698663 | 2019-06-10T20:22:36 | 2019-06-10T20:22:36 | 190,688,723 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 543 | r | global.R | library(shiny)
library(shinythemes)
library(shinysense)
library(shinydashboard)
library(shinyWidgets)
library(dplyr)
library(ggplot2)
library(DT)
empty_data <- tibble(ForkLength_mm = 25:105, Value = NA)
cutoff <- min(empty_data$ForkLength_mm)
calc_territory_size <- function(fl){
# from Grant and Kramer 1990
# tak... |
29c92436122013fbe549532dc6859bda1757f0bd | 1c1e3a18812b6c627d420e5ac898f86b1ec44bb4 | /R/as_classification.R | a0d30ff8d928c2b27bb60672d80e7cb040d1da13 | [] | no_license | uRosConf/categorical | 3e6ae2697e4d9733ae7a1b5baf7376bca6daec8c | ccff57be8024dc52d0e294f6c107311006e161b9 | refs/heads/master | 2020-03-28T10:37:34.337619 | 2018-09-14T06:01:16 | 2018-09-14T06:01:16 | 148,127,818 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,150 | r | as_classification.R |
#' Convert a data.frame to a classification object
#'
#' @param x the data.frame to convert. See, details for the format of the
#' data.frame
#' @param compute_parent compute the parent column of the input
#' @param order selection of columns from x.
#'
#' @details
#' The data.frame should contain the following ... |
b7ff4468d5fafd2c43252b17ec5a420b7bf45095 | f0489c47853fc78a49bfbc28ca3cf39798b17431 | /man/NMFfitXn-class.Rd | 699cf80db71571c9810dcf8b37836b3f7dcc9c0f | [] | no_license | pooranis/NMF | a7de482922ea433a4d4037d817886ac39032018e | c9db15c9f54df320635066779ad1fb466bf73217 | refs/heads/master | 2021-01-17T17:11:00.727502 | 2019-06-26T07:00:09 | 2019-06-26T07:00:09 | 53,220,016 | 0 | 0 | null | 2016-03-05T19:46:24 | 2016-03-05T19:46:24 | null | UTF-8 | R | false | true | 1,829 | rd | NMFfitXn-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NMFSet-class.R
\docType{class}
\name{NMFfitXn-class}
\alias{NMFfitXn-class}
\title{Structure for Storing All Fits from Multiple NMF Runs}
\description{
This class is used to return the result from a multiple run of a single NMF
algorithm perf... |
a017e8fa9dbfb7ecbc14f211ff5bf48cd2851cc8 | cd27523fe71a6a3e5a48184a7a3efa3b492804f1 | /MainLinearModel/MainLinearModel.r | dce697f6a7b1ac46d3cefa6916ec1dc523eb611b | [] | no_license | SaraMWillis/OverlappingGenesProject | 225602140bda2124dfa19be40a0ea7f96fbb2e20 | 5b3ba98a2414d929a146c0307a0335d844f71e8b | refs/heads/master | 2023-02-15T00:50:28.062313 | 2021-01-08T17:06:19 | 2021-01-08T17:06:19 | 75,343,670 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,606 | r | MainLinearModel.r | # Main Linear Model
# This is the linear model that was used to calculate the relative effect sizes of the various hypotheses
# The data this linear model was run on is included in the directory. To run it, specify the path to the
# directory on your computer to read in the dataframe.
library(MASS)
library(nlme)
li... |
c0dd61ed890396451f6d728b77d248a3a4593604 | 39c56797684d2ee5278ea31aa74c9a4c5ed00c66 | /plot4.R | 393ac71dfe9c59fc6aa3d29d89ba0cac884cda75 | [] | no_license | wtf13/Exploratory-Data-Analysis-Course-Project-1 | 5f265f4fb271e786a8213302d32ef9e96d5e4181 | ce87057ad0692c950ad12fdc369c546cf07cafc3 | refs/heads/master | 2021-01-16T18:34:57.614661 | 2017-08-12T07:59:05 | 2017-08-12T07:59:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,239 | r | plot4.R | library(data.table)
dat<-fread("./household_power_consumption.txt")
dat<-dat[dat$Dat %in% c("1/2/2007","2/2/2007"),]
library(lubridate)
dat$DateTime<-dmy_hms(paste(dat$Date,dat$Time))
dat$Sub_metering_1<-as.numeric(dat$Sub_metering_1)
dat$Sub_metering_2<-as.numeric(dat$Sub_metering_2)
dat$Sub_metering_3<-as.numeric(da... |
36fc12d05f07765a2f3b27d5f9e8b08ca2c2f6c0 | 17d26d36ace79f115b603368d9f124eebbe52511 | /charts.R | b1a3082e50a4407c7a7072a4be8b067aca4e27ed | [] | no_license | philipbarrett/apxSignal | f5c7ffc2cb081a8f0e3dc9c3a2ffb717acf9077a | 9f3ba25bd15e1b891c37e916255e8358e847363b | refs/heads/master | 2021-05-31T23:39:02.127450 | 2016-03-18T04:41:19 | 2016-03-18T04:41:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,153 | r | charts.R | ####################################################################
## charts.R
## Script to create charts for the nonlinear filter problem
## Philip Barrett, Chicago 09mar2016
####################################################################
rm(list=ls())
Rcpp::sourceCpp('momErr.cpp')
library(filters)
library(sca... |
cb64da91277a94bcbe9feac35959986f190be7e8 | c7ef12b941afd9c9a73d2749091ec2f0c65820b4 | /Titanic.R | 9246f55286f282f4959ab097d5d9ac09900d78c8 | [] | no_license | rahulace/Predicting-Titanic-Survivors-Using-Title---new-approach- | 9f673f69f8a93cb9546f1e0156d08d1079d0672e | e5ad406c61d4bc9d0153335c6b7840285793eac2 | refs/heads/master | 2021-09-13T18:38:49.454348 | 2018-05-03T06:56:56 | 2018-05-03T06:56:56 | 92,377,891 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,211 | r | Titanic.R | library(ggplot2)
library(stringr)
setwd("C:/Users/DELL/Desktop/Projects/Predicting-Titanic-Survivors-Using-Title---new-approach-")
#Loading raw data
train <- read.csv("train_titanic.csv")
test <- read.csv("test_titanic.csv")
#Adding "survived" variable to the test set to allow combining dataset
test.survived <- data... |
21569854b8de6640e4dc07687beaabeeaaab9b4f | c70a288ec70b52086bacc4653c9433d8650dba5b | /Oregon_coho/code/Siletz_model_runs.R | 237508acc7bff3e3484cf756e55ba922df62f2c1 | [] | no_license | merrillrudd/VAST_SN | b6ac33749f7788d3b3346b29ad04eefcb8cba418 | 0d7bdf06587528b9889f10e99dbaa3c8cb3ff629 | refs/heads/master | 2020-12-20T14:04:00.320406 | 2020-07-07T22:49:42 | 2020-07-07T22:49:42 | 236,097,842 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 116,794 | r | Siletz_model_runs.R | rm(list=ls())
#devtools::install_local( "C:/Users/James.Thorson/Desktop/Git/FishStatsUtils", force=TRUE, dep=FALSE )
# library(VAST)
# devtools::load_all("C:\\merrill\\FishStatsUtils")
devtools::load_all("C:\\merrill\\DHARMa\\DHARMa")
devtools::load_all("C://merrill/TMB_contrib_R/TMBhelper")
library(VAST)
devtools::l... |
f0bf4d88df0f203bebff8a66f876e23f1673d6f8 | a85179c4ed324de28a0648ac43d43113c7b44e94 | /Exercises/Week 8 Solutions - Blank.R | bfba5eceb166aac407afc8304541175f42bf450c | [] | no_license | aringhosh/SFUStat452 | 226fe5ed46fb027dd1f472149c3e9091545dd8a6 | 83662344fef43601f38e997015f0ba3db90afd74 | refs/heads/master | 2020-03-22T01:23:04.377827 | 2017-12-04T09:08:54 | 2017-12-04T09:08:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 561 | r | Week 8 Solutions - Blank.R | #Import Data
Diab <- read.csv("Data/pima-diabetes.csv")
head(Diab,n=3)
summary(Diab)
#Remove "missing" values
#Remove Outcome
#Extract predictors and response
#Compute the mean and variance of each predictor
#Compute principal components of the predictors
#Compute principal components of the standardized predict... |
cb5408ed58d4f31aaf4d7d92539c50e450d26140 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/r/funcptr_runme.R | c6127ef68d570219dbe43122c9908cfd0a257f84 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | R | false | false | 276 | r | funcptr_runme.R | clargs <- commandArgs(trailing=TRUE)
source(file.path(clargs[1], "unittest.R"))
dyn.load(paste("funcptr", .Platform$dynlib.ext, sep=""))
source("funcptr.R")
cacheMetaData(1)
unittest(do_op(1, 3, add), 4)
unittest(do_op(2, 3, multiply), 6)
unittest(do_op(2, 3, funcvar()), 5)
|
360e26b80a3f37bba5fc310e513489a4a87263a0 | e2a5cdf2dcbd788ac7c091897b5a027a809c302a | /R/pumpCase.R | 5aeb66f2419a47e6c768cdcaa3c9ad13e2b49ea5 | [] | no_license | lindbrook/cholera | 3d20a0b76f9f347d7df3eae158bc8a357639d607 | 71daf0de6bb3fbf7b5383ddd187d67e4916cdc51 | refs/heads/master | 2023-09-01T01:44:16.249497 | 2023-09-01T00:32:33 | 2023-09-01T00:32:33 | 67,840,885 | 138 | 13 | null | 2023-09-14T21:36:08 | 2016-09-10T00:19:31 | R | UTF-8 | R | false | false | 1,414 | r | pumpCase.R | #' Extract numeric case IDs by pump neighborhood.
#'
#' @param x An object created by \code{neighborhoodEuclidean()}, \code{neighborhoodVoronoi()} or \code{neighborhoodWalking()}.
#' @param case Character. "address" or "fatality"
#' @return An R list of numeric ID of cases by pump neighborhoods.
#' @export
#' @example... |
f5956fa6d01f43427bf5821ca75f655ba3992dfc | 8c5693b89a888992fe71d6d351699f1c429130ef | /p2.R | f83b0adaff68b78492089106b58ee7bb13a0cfbb | [] | no_license | Aprajita177/RepData_PeerAssessment1 | edac552779eb47bf62317cd646ad0df386e463dd | edfdf955138a4b3a17e736d2468172de81f8d1a2 | refs/heads/master | 2021-03-21T04:14:46.563895 | 2020-03-14T15:31:57 | 2020-03-14T15:31:57 | 247,262,618 | 0 | 0 | null | 2020-03-14T11:20:47 | 2020-03-14T11:20:47 | null | UTF-8 | R | false | false | 570 | r | p2.R |
setwd("C:/Users/MAHE/Documents/RepData_PeerAssessment1")
data<-read.csv("activity.csv")
data$date<-as.Date(data$date)
sum_step<-aggregate(data$step,by=list(data$date),FUN=sum,na.rm=TRUE)
library(ggplot2)
data$days=tolower(weekdays(data$date))
data$day_type<-ifelse(data$days=="saturday"|data$days=="sunday","weekend"... |
f271366c52468ae40dad44203df24a5d4af0374c | 5e613fdaaf680b7220a9331133d79a7dcbca8acd | /R/deps/taxize-master/man/getcredibilityratingfromtsn.Rd | 73f6f195bf30b2bedbfc35dd4e23a09640f34d9f | [
"MIT"
] | permissive | hmarx/Alpine-Sky-Islands | df0fd965ca4e1d4e3071aa9362ee615a5510175d | 72ab7d914fea6c76c9ae105e042e11088a9be87f | refs/heads/master | 2021-05-01T02:44:59.818086 | 2017-08-08T15:02:45 | 2017-08-08T15:02:45 | 39,544,747 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 533 | rd | getcredibilityratingfromtsn.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/itis.R
\name{getcredibilityratingfromtsn}
\alias{getcredibilityratingfromtsn}
\title{Get credibility rating from tsn}
\usage{
getcredibilityratingfromtsn(tsn, ...)
}
\arguments{
\item{tsn}{TSN for a taxonomic group (numeric)}
\item{.... |
781300aa18fa960da25900c0f4ecc59b752fa483 | 025649ef7dc50a16f28653ab419fd4ac95d6ae9b | /man/insertSpreadAddin.Rd | 1e8450e3941eaaa49e0ba95e54e35bfa81a361e1 | [] | no_license | kendonB/typeless | 0541fea0397e9b17b9afa33f6e2bc28837f83313 | e1ed4ee2155954725164b165017385788b17a228 | refs/heads/master | 2021-01-19T22:21:33.495455 | 2017-04-19T23:31:55 | 2017-04-19T23:31:55 | 88,799,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 304 | rd | insertSpreadAddin.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/addin_defs.R
\name{insertSpreadAddin}
\alias{insertSpreadAddin}
\title{Insert spread.}
\usage{
insertSpreadAddin()
}
\description{
Call this function as an addin to insert \code{spread(} at the cursor position.
}
|
3e0e233b2d0292725af64872edd9c0c177e09832 | 6878c8d13df01ce2670c80818239d08845394a5b | /my proj.R | e34482f1496289a8d4b07823f80507a2a5214409 | [] | no_license | anu7991/new | 68148ec86b3de4a8247d6258a8a4c42d3c4d8a10 | 5c1c99c917191e96788f275615e54af1cf7164ff | refs/heads/master | 2022-10-14T05:32:34.370942 | 2020-05-29T04:42:27 | 2020-05-29T04:42:27 | 264,513,240 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,676 | r | my proj.R | #installing and loading required packages
library(tidyverse)
library(ggplot2)
library(dplyr)
install.packages("DataExplorer")
library(DataExplorer)
library(caret)
install.packages("caTools")
library(caTools)
#loading required file
db = read_csv("C:/Users/gadda/Downloads/ml-latest-small/ml-latest-small/diabetes.csv")
db... |
b2a13c45c7139861b22f58ca0c370039c824fc42 | b32dd1f1c3b674c1c558570dd0319590694dee34 | /man/skew.Rd | 247c6a5fc30c8bd8b250f4e15d037baacff9f367 | [] | no_license | cran/valmetrics | 1595ca14df527d868302c7105861b94a49599986 | 9964419ce0f640ce71fe2ff7dbe8d0c1048350be | refs/heads/master | 2023-02-21T04:20:10.619811 | 2021-01-13T14:30:02 | 2021-01-13T14:30:02 | 334,226,965 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 836 | rd | skew.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/skew.R
\name{skew}
\alias{skew}
\title{skew}
\usage{
skew(o, p)
}
\arguments{
\item{o}{A numeric vector. Observed values.}
\item{p}{A numeric vector. Predicted values.}
}
\value{
Skewness of residuals.
}
\description{
Calculates the Skewness... |
d268294dc0dd5057df66406a5d6380e3937ee427 | 10c2bc2f0ba9dacf702b373bc5f8b57d6f42a0f4 | /bin/degs_pbmc_prediction.R | 60606bc08ea2b2831d1906c908b5f64833df7513 | [] | no_license | powellgenomicslab/SingleCell_Prediction | 930a18575cae78282675d1be79844f529926b9d5 | 3935dee4cd1b811201a25c6403a6ae5be99f4ac4 | refs/heads/master | 2021-03-22T03:28:50.418324 | 2019-10-14T01:18:59 | 2019-10-14T01:18:59 | 88,580,986 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,997 | r | degs_pbmc_prediction.R | # Set up command-line arguments -------------------------------------------
args <- commandArgs(trailingOnly = TRUE)
seedPart <- args[1]
positiveClass <- args[2]
mlMethod <- args[3]
positiveClassFormat <- gsub("\\+", "", positiveClass)
# Load libraries ----------------------------------------------------------
libr... |
bea046b520355f56d5a4fde600695c045252a5e9 | bfd694d3d822703e057aba2cfb2714fbefd85f83 | /st_events_generation.R | a79c187c435192d60a10f6b3eb632e2f40c8d003 | [] | no_license | RFASilva/simulateddatasets | 64b63b57643c41205b5c3d3327f6f14f6363553f | aab258a6f0b1ad5bd790f834dad4b2d436b5154c | refs/heads/master | 2021-07-20T12:27:32.657467 | 2020-03-29T18:03:20 | 2020-03-29T18:03:20 | 89,979,035 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,184 | r | st_events_generation.R | # Generation of datasets
library(data.table)
library("stpp")
library("rgl")
library("lgcp")
library("sf")
# Cluster Process Daily
pcp1 <- rpcp(nparents = 100, mc = 500, npoints = 30000, s.region = usaboundaries, t.region = c(1, 525600), discrete.time = TRUE, replace=FALSE, cluster = c("normal", "exponential"), dispers... |
b8071d9f229439a1e1c22f6fdd4c14ac681474a9 | 47e6293d178771302b133e6c1b2c89f64e218dc1 | /man/tidy_cdm.Rd | ae6f5ba6c48a26d91bb701434d1ea1997658c5dc | [] | no_license | fkeck/flexitarian | 8a0e876aa1c57dada4d4dba8acef7fac990862f6 | 3da0dae2477994f0c407b40de1daf07e20239125 | refs/heads/master | 2022-08-21T08:46:52.230224 | 2022-08-15T08:53:01 | 2022-08-15T08:53:01 | 202,161,521 | 4 | 0 | null | null | null | null | UTF-8 | R | false | true | 694 | rd | tidy_cdm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{tidy_cdm}
\alias{tidy_cdm}
\title{Community data matrix to tibble}
\usage{
tidy_cdm(x, row.name = "SITE", key.name = "TAXON", value.name = "COUNT")
}
\arguments{
\item{x}{a community matrix or dataframe.}
\item{row.name}{na... |
184f073e3fb2a75b6ec51056e2923b401c143b93 | 3222354e788f13415b26bd31861b899e37812eb4 | /partialSCRIPT.R | e53897e9ce1321cbe116535bb478283a54e4a389 | [] | no_license | stevenyuser/eyewearanalysis | b70ed731d5e64b4006573fa970334e06059b1927 | 7f3e9420a061e9a6a1d76d82215dc5848313b9ca | refs/heads/main | 2023-08-10T06:48:33.020060 | 2021-09-07T03:24:27 | 2021-09-07T03:24:27 | 378,267,533 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,650 | r | partialSCRIPT.R | # load patternize
library(patternize)
# List with samples -- reduced list for testing
IDlist <- c('LabA3',
'LabB3',
'ReadingA2',
'ReadingB3')
# landmark list
prepath <- 'landmarks/landmarks_jpg'
extension <- '_landmarks.txt'
landmarkList <- makeList(IDlist, 'landmark', prepath, ext... |
233c866d0d03fafca524f997c1fa234abcbc8acc | 9836f08434e08bcd1abf0cb001b217fe3ef01188 | /cachematrix.R | 35e6c233a685083527edea964bd581f737d627fc | [] | no_license | ivwolfman/ProgrammingAssignment2 | ada2c366b59d377c2d953e56e772395a32636e07 | 5b917629c7bcabce13063cdbbe3eb5d319dc9f38 | refs/heads/master | 2021-01-17T18:02:44.660160 | 2014-12-21T05:41:10 | 2014-12-21T05:41:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,481 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Generate function vector for cacheing a matrix and its inverse.
## The returned function vector contains the following methods:
## - setMatrix() must be called with a square numeric or complex matrix
## - getMatrix() returns the ... |
44fe5cdcb828fb8d747d0fdea4acecab77ae91fc | 89806ba41093b9fc3fc96d3cd70c4fd45598af2b | /survey-svystandardize.R | a7ed36c665f060fc3f41a86d33eae63e0e2cc9c9 | [] | no_license | yikeshu0611/Survey-data-analysis | 90ddefab7582b14f4ec19ed82bf985d4003b89d5 | ff81a2417e68ae2e3501ff3e515695dfc0b7901e | refs/heads/master | 2023-03-15T21:57:11.273703 | 2019-08-26T14:53:42 | 2019-08-26T14:53:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,158 | r | survey-svystandardize.R | # This code expands on the example provided in documentation to
# survey::svystandardize() by replicating all point estimates in NCHS Data Brief No. 92,
# April 2012, # "Total and High-density Lipoprotein Cholesterol in Adults: National
# Health and Nutrition Examination Survey, 2009-2010"
# http://w... |
146b52aa29ddc347af13e8db5bfa364e27c1d09c | 88c18faabe83ce2c3a07a13791b3e6026619518f | /R/gwas_random_snps_chipseq.R | 10a88fd550a8d90a0adcc45a3f087a4f7fc01501 | [] | no_license | sq-96/heart_atlas | fd98edc9b305f1ab6fa5d327fe9c9034f4c1114b | 3deed4c3d382072ccfd78d43459d1b53d93eff3f | refs/heads/master | 2023-06-25T13:26:05.273996 | 2021-07-29T20:35:20 | 2021-07-29T20:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,998 | r | gwas_random_snps_chipseq.R | source('R/analysis_utils.R')
#hg38
markers <- readRDS('/project2/gca/aselewa/heart_atlas_project/ArchR/ArchR_heart_latest_noAtrium/PeakCalls/DA_MARKERS_FDRP_1_log2FC_1.rds')
cm.markers <- hg38ToHg19(markers$Cardiomyocyte)
peak.set.hg19 <- hg38ToHg19(peak.set)
seqlevelsStyle(peak.set.hg19) <- "NCBI"
#hg19
finemap.res... |
356128e32a715a65ea5b61968b01ca6068bb0904 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/agRee/examples/agree.sdd.Rd.R | 6036bfa550218d7613f1fbf8a14aedba5bcbfad5 | [] | 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 | 187 | r | agree.sdd.Rd.R | library(agRee)
### Name: agree.sdd
### Title: Smallest Detectable Difference
### Aliases: agree.sdd
### Keywords: htest
### ** Examples
data(petVT)
agree.sdd(petVT$cerebellum)
|
ea23cbe5351eb03451a8e4116c0c326e59c1566f | ab01b36a70413e220cd9a95e756c22c2f9b9b602 | /rprog_data_ProgAssignment3-data/rankhospital.R | 02f183170e73220472a3db7bb75fe35dedf6b23d | [] | no_license | TiagoDinisFonseca/DataScience | 3af4ba1a9eec3ad14a173f418145bed7e8ef3feb | 4a045cdfac4d6573248a28d3510b4cef1530c16f | refs/heads/master | 2020-04-02T10:36:30.587951 | 2014-07-04T19:30:46 | 2014-07-11T00:20:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,009 | r | rankhospital.R | rankhospital <- function(state, outcome, num = "best"){
# get data
outcomedata <- read.csv("outcome-of-care-measures.csv", colClasses = "character")
# get the list of states and test if state is in
states <- unique(outcomedata[,7])
if(!(toupper(state) %in% states))
stop("invalid state")
# tests if outcome is... |
07bcee19999784cd11bd41e34ec5ebcc5d6bee07 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GWmodel/examples/LondonHP.Rd.R | cf8fb17ca5de028f0fa9515f032e4c90dba4a19b | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 270 | r | LondonHP.Rd.R | library(GWmodel)
### Name: LondonHP
### Title: London house price data set (SpatialPointsDataFrame)
### Aliases: LondonHP londonhp
### Keywords: data,house price
### ** Examples
data(LondonHP)
data(LondonBorough)
ls()
plot(londonborough)
plot(londonhp, add=TRUE)
|
6651ffd62b5443c1560dfbbef9e2040933a32732 | d9a4dce87b2975f3242e722955e69e221057b034 | /R/make_sets.R | 07eae3af43f5455534d742ba38aa4223178c5a27 | [] | no_license | JoeLugo-zz/Classification | 63d4e19b91546712b2d7e8155ed4b92ab73b5215 | 4772d055c177c7c6797d5cec50d6df15b7e80000 | refs/heads/master | 2022-11-04T08:12:39.271258 | 2017-02-01T04:02:19 | 2017-02-01T04:02:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,022 | r | make_sets.R | MakeSets <- function(train.df, test.df) {
obs <- train.df$obs
train.df$startdate <- NULL
train.df$enddate <- NULL
train.df$id <- NULL
test.df$startdate <- NULL
test.df$enddate <- NULL
test.df$id <- NULL
interesting <- as.integer(train.df$interesting)
train.df$interesting <- NULL
fo... |
c7e181136a2613b2616a75ce9a976475b72ebc36 | 079e516d033cb06871432f77e6a44d8d6d4b145d | /R/SaveProps.R | 57611c8111ce5332c9c74441bf83579f0edae7e2 | [] | no_license | willhonaker/R2Adobe | 6fee15236440f6332a92c9c101bd7f49930e5986 | 7aae4cefadb1109cdc0c018469d3bcdd3ccddea1 | refs/heads/master | 2021-11-23T18:05:58.210442 | 2021-11-22T22:45:45 | 2021-11-22T22:45:45 | 204,045,985 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,291 | r | SaveProps.R | #' @title Save Prop
#'
#' @details Enables/disables/updates a prop for a selection of RSIDs (bulk version coming soon).
#'
#' @description Enables/disables/updates a prop for a selection of RSIDs (bulk version coming soon).
#'
#' @param id
#' @param name
#' @param description
#' @param rsids
#' @param enabled
#' @pa... |
675e5da463a299ff8e5fd78e269fd6084f99ae45 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/quickpsy/examples/plotpar.Rd.R | 20fba15cca752a51da7b72629c6c82e85ff74f76 | [] | 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 | 460 | r | plotpar.Rd.R | library(quickpsy)
### Name: plotpar
### Title: Plot the values of the parameters
### Aliases: plotpar
### ** Examples
library(MPDiR) # contains the Vernier data
fit <- quickpsy(Vernier, Phaseshift, NumUpward, N,
grouping = .(Direction, WaveForm, TempFreq), B = 10)
plotpar(fit)
plotpar(fit, x = WaveF... |
652add1d13b6015b25583746783df5f0e324b583 | 5c5567ac9cef11a37dce1fdcce451d128d688e21 | /Machine Learning with R (4th Ed.)/Chapter 12/Chapter_12.R | ddb1b3c250d3df710f3ff38ea968d8b096ede387 | [] | no_license | dataspelunking/MLwR | 177dc5ef7c025e1c8b08fb65a1ccc98a9d48dddc | 478dbf1e348d834b30fe0bfee130fec3c8f4bce1 | refs/heads/master | 2023-06-08T18:12:20.269578 | 2023-05-29T18:46:10 | 2023-05-29T18:46:10 | 27,689,480 | 243 | 478 | null | 2018-03-25T15:21:53 | 2014-12-07T23:48:51 | R | UTF-8 | R | false | false | 5,276 | r | Chapter_12.R | ##### Chapter 12: Advanced Data Preparation --------------------
## Exploring R's tidyverse ----
library(tidyverse) # load all tidyverse packages
# convert the Titanic training dataset into a tibble
library(tibble) # not necessary if tidyverse is already loaded
titanic_csv <- read.csv("titanic_train.csv")
titanic_tb... |
0c949f3e96fd4e8b2c8bea34eedff208984201e6 | 435accdd6071c18f2ff67edc0675abe5b38edf8e | /7. MFM_R1/source code/dataframe.R | ab702017ee5edcc4ec146b1a0c4a7bb7d62d85c7 | [] | no_license | ardyadipta/melek-for-member | b0a4220a3c2ef99c0b29eabfb9b6de3cb5217266 | 61185eeb1c2dc06cffd627a90b051c87398e9aff | refs/heads/master | 2020-03-19T09:06:18.645385 | 2018-05-18T06:01:21 | 2018-05-18T06:01:21 | 136,260,310 | 1 | 1 | null | 2018-06-06T02:26:58 | 2018-06-06T02:26:58 | null | UTF-8 | R | false | false | 387 | r | dataframe.R | names = name_vec <- c("Ani", "Ana", "Budi", "Asep", "Udin")
ages = sample(20:30, 5)
gender = c("F", "F", "M", "M", "M")
work = c(T, F, T, F, F)
bio = data.frame(names, ages, gender, work, stringsAsFactors = F)
bio
str(bio)
#slicing
bio
bio[,1]
bio[1,]
bio[,1:3]
bio[, "names"]
bio$ages > 25
bio[(bio$ages > 25 & bio$ge... |
60f4ea2158db72dc17f63e23b423497b0b3a2560 | 1a4ed96bc9e61c559b593bcee4fa673951ef7a2c | /man/copy_labels.Rd | a740089726b855a0d4ca442d895a9183e4d3bc53 | [] | no_license | henrydoth/labelled | b22d66bd584ff2726549ea454306aea67c5d21c4 | b1cc1acf7e0054bc202fb2bef81d6622654c7b88 | refs/heads/main | 2023-08-23T02:33:40.363484 | 2021-11-02T08:32:09 | 2021-11-02T08:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,867 | rd | copy_labels.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/copy_labels.R
\name{copy_labels}
\alias{copy_labels}
\alias{copy_labels_from}
\title{Copy variable and value labels and SPSS-style missing value}
\usage{
copy_labels(from, to, .strict = TRUE)
copy_labels_from(to, from, .strict = TRUE)
}
\arg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.