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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5c67ec72aa95c2cf9fd434274b5ac71be51d57c | a816bcd3416d393ef0b933c968ed100124dee404 | /BG_population_model/param_sanity_check.R | b1ed32c6d5e21d92bbe905d9ea7f61039259bd33 | [] | no_license | ShaunCoutts/BG_herb_res | c97ec21f07d864faaaed2a1243a99d8b74a39113 | 8056b1320d262efe8208753b9c15922494a4e99b | refs/heads/master | 2021-01-17T04:02:14.378459 | 2018-07-31T15:43:15 | 2018-07-31T15:43:15 | 42,309,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,604 | r | param_sanity_check.R | # sanity check script that looks for parameter combinations that produce population numbers
# that are too low or too high compaitred to field observations.
#install.packages('gbm', repos = 'http://cran.us.r-project.org')
library(gbm)
library(gridExtra)
library(gtable)
library(grid)
# get the data produced by the mod... |
f084d5799408f0155829d760ad881fd6bb586aec | 19eef6be2aafe216144bfe860fdfe07495a06de3 | /tests/testthat/test_interaction.R | fce5f27c49340afd41c1dab02e4e27fe2c72e538 | [] | no_license | cran/dexter | a634eb5ba9497c33e177d7d197e4e4ecf2f987e0 | a9d696898f137ffc124ca3a6132f5c03494bf802 | refs/heads/master | 2023-04-09T20:47:18.898845 | 2022-11-08T13:10:08 | 2022-11-08T13:10:08 | 81,347,103 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 616 | r | test_interaction.R | context('check interaction model')
library(dplyr)
test_that('interaction model parameters are stable over simulation',{
set.seed(123)
db = open_project('../verbAggression.db')
f = fit_inter(db)
ts = get_testscores(db)
#close_project(db)
simdat = r_score_IM(f, rep(ts$booklet_score,10))
... |
0ed8f33be40bb1f7a7555c1dc025109f8f2475e9 | 876af37331d71acd4c42f4ab170e82bbf07872cc | /src/water_quality_classification.R | 1a1f837f0dbcbc6b76914c077a70bc88bf8c72c6 | [] | no_license | lreyp/Water-Quality-Classification | 5396cf514e61847007e568bd58c5ca8959dab308 | 91d8f8e226ac6ef185d3466c282d56c8af4f71b6 | refs/heads/main | 2023-05-10T06:42:54.231791 | 2021-06-08T09:38:16 | 2021-06-08T09:38:16 | 374,730,041 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 109,092 | r | water_quality_classification.R | ## ----setup, include=FALSE-----------------------------------------------------------------------------------------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)
## ---------------------------------------------------------------------------------------------------------------------... |
5238223c3a504bea410e1e2b4638206bbbd7f22e | 6cba97c8bcfb3071adf3ecbcdeb83f33c300a564 | /man/ease_swanping.Rd | 0e89b692567e25a153986e50ec2cd6776fc2aff5 | [] | no_license | GreenwoodLab/hidetify-1 | 33963a85cd76616b121e9a73efa9b1225e825c1d | f56c1657e858d85f486d8b9d5b80d8e193f3dccd | refs/heads/master | 2023-07-14T18:27:40.592036 | 2021-08-16T15:33:08 | 2021-08-16T15:33:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,033 | rd | ease_swanping.Rd | \name{ease_swanping}
\alias{ease_swanping}
\title{ Compute the min of the min of a sequence of asymmetric influence measure}
\description{
This function is part of the algorithm which identify multiple influential observations in high dimension linear regression.It computes the min of the min of the asymmetric influenc... |
71dbb4463ae84d331ac61b85f9bfedd1ac792e02 | 671731b8b81379fd2f4617c309ba989d6aa5489d | /man/radio.Rd | a4c6579140f80ce030d504d017f42d74f3e7c077 | [
"MIT"
] | permissive | rpodcast/truelle | 959b9373633565b4a9a0f4eed034b5e3f7394452 | 3e4b797779d91fe2795f1f7339ff1157f748289c | refs/heads/main | 2023-05-31T05:23:40.995738 | 2021-07-09T10:35:44 | 2021-07-09T10:35:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 476 | rd | radio.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_helpers.R
\name{f7Radio}
\alias{f7Radio}
\title{Modified Framework7 radio input}
\usage{
f7Radio(inputId, label, choices = NULL, selected = NULL)
}
\arguments{
\item{inputId}{Radio input id.}
\item{label}{Radio label}
\item{choices}{L... |
00c28c0b9106dce5b88560077ae6436b2b56af59 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /chickn/man/COMPR.Rd | 564e44fe6803fb2a48fbc282ec8f60bdd1282bbe | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,160 | rd | COMPR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/COMPR.R
\name{COMPR}
\alias{COMPR}
\title{Compressive Orthogonal Matching Pursuit with Replacement}
\usage{
COMPR(
Data,
ind.col = 1:ncol(Data),
K,
Frequencies,
lower_b,
upper_b,
SK_Data,
maxIter = 300,
HardThreshold = TRUE,... |
7cedc3364738d39cf7ecad6b9cb98d4e48507f08 | 51bdc2a36490541ae18ccfb146b428a26fc9e1ea | /data/nutrients-data.R | 1a90555cf0a843c3971e0ebff60186af02cf79ce | [] | no_license | ssmufer/nutritionR | fa0301831e2300f1d721ba368cb113f6fac9f760 | 6312a18273b483a9590aea3db7514f5a7d90ce3f | refs/heads/master | 2023-04-15T11:05:35.163095 | 2019-09-22T13:09:51 | 2019-09-22T13:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 592 | r | nutrients-data.R | #' Nutrients list for use in `nutrient_single()``
#'
#' Use this list to convert between plain language and attributes
#'
#'
#' @docType data
#' @usage data(nutrients)
#' @format An object of class \code{"list"}
#' @keywords datasets
#'
#' @source \href{https://docs.google.com/document/d/1_q-K-ObMTZvO0qUEAxROrN3bwMujwA... |
a1f25ddee3fb87b72d27b5e33cb0d29e9eb571f4 | c30ee92ad91f1c7d94ff9ae0e61e73f12455edae | /R/catn.R | 0475263f93ff9f93c5ccf116fd9dbc4283419af5 | [
"MIT"
] | permissive | nelsonroque/RM2C2_dev | 41ee60ca597cdd8e432f72a4d919a47996c1b414 | 56e7a1388321da587e7c0333e440585bd4301186 | refs/heads/master | 2021-06-24T03:28:56.920524 | 2021-05-13T15:22:19 | 2021-05-13T15:22:19 | 227,636,776 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 110 | r | catn.R | #' RM2C2dev
#' @name catn
#' @export
catn <- function(x, n=1) {
cat(x)
for(i in 1:n) {
cat("\n")
}
} |
b99fe8441dc80385f784058fbe672cff2510ec51 | a4139960f74b1012fa130c4bb604c1bb09882059 | /script.R | 08261b25d0653f1921bcfc1a40c5629468ff1dc5 | [] | no_license | yanellynobrega/AprendizajeNoSupervisado | f88b6a56a47a6baab077a7cf5b1a4c3dbaebe579 | 0c42e27a5acb90d359c63e58bcdce9a3a6178584 | refs/heads/master | 2021-01-22T17:17:49.441120 | 2016-04-11T04:25:41 | 2016-04-11T04:25:41 | 55,326,582 | 0 | 0 | null | 2016-04-03T02:50:50 | 2016-04-03T02:50:49 | null | UTF-8 | R | false | false | 15,055 | r | script.R | install.packages('scatterplot3d')
library(scatterplot3d)
################# a.csv ############################
data_a = read.csv('a.csv', header = F);
colnames(data_a) <- c("X","Y","CLASS");
data_a$CLASS <- data_a$CLASS + 1;
data_a <- data_a[order(data_a$CLASS), ]
###############################################... |
60f8e43e306380252faf2879e98504b509c8432d | f8bff081c75336cc4fbd65ee6dfcfdaab9c98646 | /ui.R | 09dc66f6c3fff405f9e3e988e305bc5b4b6135ee | [] | no_license | EEPlei/LaQuinta-Denny-s | 340f373930b69bc5f73d465fca50b64236e01682 | ade7e8e6df9090ba89dd8d99ead0be0aa7318687 | refs/heads/master | 2021-01-18T13:17:13.457876 | 2017-02-02T22:49:49 | 2017-02-02T22:49:49 | 80,748,504 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,930 | r | ui.R | library(shiny)
total_priors = c("Poisson" = "pois", "Negative Binomial" = "nbinom")
prop_priors = c("Beta" = "beta", "Truncated Normal"="tnorm")
shinyUI(
fluidPage(
titlePanel(
"Karl Broman's Socks"
),
sidebarPanel(
numericInput("n_sims", h4("Simulations:"),value = 1000, min = 100, step = 1)... |
ce931b698dd46185dff1c4bcc462fe8cb541364e | 71db7f612a3d6e3848bc747d942f43b17a9325ca | /server.R | 0528068b91c97f6b0eed47faf7d2963b15e16cc2 | [] | no_license | sathms/predictapp | 33d3ce6e950fccc4f66e55d7a6dbb507f4ea89e8 | 0310a09678ee56595ae8e0884e21d717666b1bd1 | refs/heads/master | 2022-11-21T13:19:18.834149 | 2020-07-27T16:01:41 | 2020-07-27T16:01:41 | 282,946,202 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,648 | r | server.R | library(shiny)
library(ggplot2)
library(caret)
library(lattice)
library(randomForest)
library(e1071)
data(mtcars)
mdata <- mtcars
mdata$am <- factor(mdata$am, labels = c("Automatic", "Manual"))
set.seed(7826)
inTrain <- createDataPartition(mdata$am, p = 0.7, list = FALSE)
train <- mdata[inTrain, ]
valid <- mdata[-inTr... |
4ee16269ce07a4eb4333f80126ee1f15bb8d12a7 | 77157987168fc6a0827df2ecdd55104813be77b1 | /CNull/inst/testfiles/communities_individual_based_sampling_alpha/AFL_communities_individual_based_sampling_alpha/communities_individual_based_sampling_alpha_valgrind_files/1615773241-test.R | 8dcb649de100e074b9d4b368568713a73b432ae2 | [] | 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 | 345 | r | 1615773241-test.R | testlist <- list(m = NULL, repetitions = 0L, in_m = structure(c(2.31584307390365e+77, 1.50066211734794e+225, 1.61662656971842e+213, 2.16452887909903e+294, 2.10747668061271e+101, 5.78517196954443e+98, 2.02410200510026e-79, 0, 0, 0), .Dim = c(5L, 2L)))
result <- do.call(CNull:::communities_individual_based_sampling_al... |
70d4e99d2ec9afe18457a8c26e2496b568a9268a | d614aa32f52b4307af5a35945a3641a23d8b535b | /R/feOx.R | ba89bb5860d51316e275cdf8b84a71d3cb97c6ce | [] | no_license | kennybolster/kbolster | 6c664fd0eeccd2a8562822f5294cc88f56e97d8a | 953d4648777d1eeb590a772adde227788791aaca | refs/heads/master | 2020-09-06T05:32:18.083205 | 2020-04-03T21:20:45 | 2020-04-03T21:20:45 | 220,339,438 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 883 | r | feOx.R | #' Iron(II) oxidation kinetics
#'
#' Given temperature, pH, O2 concentrations, and ionic strength, calculate
#' the first order reaction constant for iron(II) oxidation by oxygen. Based
#' on the equations of Millero et al. GCA. 1987.
#' @param temp Temperature in degrees C
#' @param ph pH
#' @param o2 Dissolved oxyg... |
a385debe81fcaa186dd34a10859cbc24bbbf94e6 | 3c52fb22c575a0d62cb86ac929e38fc46f174f74 | /code/fit_granger_causality.R | 5f5b9681322ee0dc2e794c11f422a8aef138c070 | [] | no_license | rmtrane/directed_causal_graphs | c4c4a1697e8f7659622fd61352b1e2de601c8865 | d2035902c07cf0b9f4e73a55a3a6e44792eca6a7 | refs/heads/master | 2020-09-03T03:56:15.000158 | 2019-11-28T02:29:03 | 2019-11-28T02:29:03 | 219,379,459 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,291 | r | fit_granger_causality.R | library(tidyverse)
source(paste0(here::here(), "/code/granger_causality.R"))
input_folder <- ifelse(interactive(), "data/large_from_sparse", commandArgs(TRUE)[1])
network_type <- ifelse(interactive(), "large_from_sparse", str_split(input_folder, "/", simplify = T)[,2])
output_folder <- paste(here::here(), "results",... |
acad878d8092d706e8db96f02b2d49e8067d8a7a | c7c9a9753e068d93b32f90a9bafff236c0c85c11 | /Expt2_EmotionStudies/generate_emo_stims.r | 5fc69eef4d67a5c7bb425ed28746f6d520645319 | [] | no_license | hughrabagliati/CFS_Compositionality | bc1af660df540d43fc73414a029a1a0f941521ca | 364270a3a61289f54dffa4e1468b3c3afc158dca | refs/heads/master | 2021-01-17T15:18:20.755866 | 2017-07-04T10:31:45 | 2017-07-04T10:31:45 | 52,354,314 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 802 | r | generate_emo_stims.r | library(doBy)
emo.stims <- read.csv("all_data_with_w1w2_ratings.csv")
sklar.emo.stims <- subset(emo.stims, prime_semantics %in% c("Negative phrase","Neutral phrase"))
sklar.emo.stims <- summaryBy(MeanAffectivity + W1.score + W2.score ~ Condition + prime + prime_semantics, data = sklar.emo.stims, keep.names = T,na.rm =... |
2b2f7042bd569a4de478c715dcd69069859a6faf | b2757d8cca182148d664e55a5d29aa1b82e453e5 | /script/process_modelling/rprom/smartcoat/test.R | 40d72bd0c49b83c7d71f52749b1dde4f24912b76 | [] | no_license | genpack/tutorials | 99c5efb6b0c81a6ffeda0878a43ad13b1987ceeb | c1fe717272f06b81ca7a4855a0b874e98fde4c76 | refs/heads/master | 2023-06-10T21:18:27.491378 | 2023-06-06T00:15:14 | 2023-06-06T00:15:14 | 163,214,555 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,392 | r | test.R | ##### Setup ####
library(magrittr)
library(dplyr)
library(viser)
path.data = paste(getwd(), 'script', 'process_modelling', 'promer', 'smartcoat', 'data', sep = '/')
path.promer = paste(getwd(), '..', '..', 'packages', 'promer', 'R', sep = '/')
path.gener = paste(getwd(), '..', '..', 'packages', 'gener', 'R', sep = '/'... |
bca8ecdcb01f11b959305b757d9e1fa60047004c | 6af2f9b88a5e98f1cbeb496e5e8bc86ff6b5790f | /Archive/CS03_CreateDB_MAIAC_terra.R | f5d8d1277606af99fae785a05b5a85600509bb92 | [] | no_license | alexandrashtein/Model-code | d1e063fdfa9be298e9985c94f5feda5da336260f | d9d3fc5db5ed6e5958faf2f449aa63edc3be9e94 | refs/heads/master | 2021-01-18T16:37:24.367196 | 2017-08-17T07:26:17 | 2017-08-17T07:26:17 | 100,463,627 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 63,868 | r | CS03_CreateDB_MAIAC_terra.R | ### This code builds the 3 input databases (mod1, mod2, mod3) for the model from the new MAIAC version (08.2016)
rm(list=ls())
#load libraries
library(lme4)
library(reshape)
library(foreign)
library(ggplot2)
library(plyr)
library(data.table)
library(Hmisc)
library(mgcv)
library(gdata)
library(car)
library(dplyr)
l... |
853329b61d398215bbcc8cc2a5148ddeda8af939 | 4178c7382aafec74fee5d49f12312ed0fe61eae3 | /fastai_tabular_learner.R | 160622320162dc89a5369648d6edcf3baa085a97 | [] | no_license | DSOTM-RSA/octagon | f16eb400d44c83369d29b0b605091b5522050987 | 91adf83c2a6453f4bfb1e2cb1976807460c60723 | refs/heads/main | 2023-03-15T20:47:37.887123 | 2021-03-04T22:08:47 | 2021-03-04T22:08:47 | 323,157,234 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,354 | r | fastai_tabular_learner.R | # TREE MBASED MODELS
library(tidyverse)
library(caret)
setwd("C:/Users/eoedd/Desktop/locstore/projects/_octagon")
df_caret = data.table::fread('2021-01-31_modelset_selected.csv',drop = c('V1','Method.x'))
# make a binary problem and remove zero variance predictors
df_caret %>% filter(Result.x=="win" | Res... |
dbdc5076de91630f077f963743ce94c2ace41a3b | 2045d6ea6e9f3faa4dd4d2bcc0c6542f0a8454e3 | /hydroinfomatics/data modeling/data_splitting.R | 9bea1528198fee285cf1fb7009a85af5c105ddf9 | [] | no_license | chrimerss/CourseMaterials | 7c1740d4460e5a23b0ab08bc49f3af5d2ec0ce33 | 43fa4187328409a48675e4cfa9c387c640af9009 | refs/heads/master | 2021-07-06T18:30:27.597444 | 2020-10-08T16:07:13 | 2020-10-08T16:07:13 | 192,747,645 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,617 | r | data_splitting.R | # data splitting
# Content below is from https://ragrawal.wordpress.com/2012/01/14/dividing-data-into-training-and-testing-dataset-in-r/
# During machine learning one often needs to divide the two different data sets, namely training and testing datasets.
# While you can't directly use the "sample" command in R, there... |
82f44624d7ddb42d15426322076dfa7c7fb19bf2 | f7e62d90fe45c48f379b3c575bc7dfcfad748b4f | /Moment Drive Trading Strategies/Head and Shoulder Patter.r | 134bd001a81172321035f98b4654de57cc12b266 | [] | no_license | KshitizSharmaV/Computational-Financial-Engineering-in-R | 3531afa4fe04bd43fa1e953b3b3317035e197b57 | 7ab537e861846d039d7e91b1a9662090bc903078 | refs/heads/master | 2021-04-27T10:24:47.422550 | 2018-07-09T15:16:27 | 2018-07-09T15:16:27 | 122,537,704 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,405 | r | Head and Shoulder Patter.r | # Author Kshitiz Sharma
# Permission is granted to use this code hence forth
# I don't assure any kind of dependency if the code generate error for you
# This code is foe head and shoulder patern only you need to tweak variable for inverse HS pattern
######################################################
# Head Shoul... |
fc20bc12ae6f8e83bf859bee3a331817bca5a213 | 085851f73e9d5a279d17bb080fb3b546acea0f2e | /app.R | 6c0a84e91a2cd8dbb3c2e3a7244e168b5a47c5c3 | [] | no_license | eunheelily/EnergyChoice | 2eb61f6e8df532460d97b92cdb9dbbb8eadc8e87 | 42feb3c2b3f8b4984d75ec02a244b8273ab63f46 | refs/heads/master | 2021-04-28T14:45:54.324188 | 2018-05-02T01:42:47 | 2018-05-02T01:42:47 | 121,974,518 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 37,779 | r | app.R |
library(shiny)
library(readr)
library(shinydashboard)
library(reshape2)
library(ggplot2)
library(bsplus)
# seperate normal distribution
# calculate the environmental benefits, health benenfits.
#reactive?
# Define UI for app that draws a bar graph ----
ui <- dashboardPage(
dashboardHeader(title="EV Incentive Pr... |
f4234e39b757dc6357c829ea20d24b58ec16d790 | fe64d608db5c55d192d646cccdaa94148b524c56 | /EVT_all/M1_gamma/functions/alphabeta.R | 8aa123336caf1e0bc137680b19aa4d59e6f505af | [] | no_license | juetaoLim/DenVextremeMix | 765d199fd32e19bfcb01ba83bdae31ba83d3223f | 21d542a49b06985600442cd6ade398f2758a0867 | refs/heads/master | 2022-12-18T10:00:13.451584 | 2020-09-24T04:43:34 | 2020-09-24T04:43:34 | 298,165,132 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,122 | r | alphabeta.R |
# ------Sampling alpha and beta------------
new_bulk = function(param,Va,Vb,Ga,data)
{
alpha = param[1]
beta = param[2]
newalpha = rtnorm(1, mean = alpha, sd = sqrt(Va), lower = 0.1)
newbeta = rtnorm(1, mean = beta, sd = sqrt(Vb), lower = 0.1)
temp = param
temp[1] = newalpha
temp[2] ... |
1382504811e0b55446313b01b80a5aa2cb455a6b | 8acb236d0826d4e35bb6dc1ca1816833499a2766 | /tests/testthat/test-idig_top_records.R | 9cd55a956f996f2c7c84970ad7e592f3fae00647 | [
"MIT"
] | permissive | iDigBio/ridigbio | ae2437d8490671804f1675dc4bd260dd475a9c23 | 5d8abbdbc09dfc10616c96037cb757ef9436a21b | refs/heads/master | 2022-08-07T16:28:07.779582 | 2022-07-15T20:23:50 | 2022-07-15T20:23:50 | 26,278,368 | 15 | 13 | NOASSERTION | 2022-07-14T23:34:57 | 2014-11-06T16:17:21 | R | UTF-8 | R | false | false | 1,843 | r | test-idig_top_records.R | context("test idig_top_records")
field <- "country"
most <- "united states"
count <- 11
genus <- "acer"
scientificname <- "acer macrophyllum"
test_that("default list of top 10 scientific names returns", {
testthat::skip_on_cran()
top <- idig_top_records()
expect_that(top, is_a("list"))
expect_that(length(t... |
84ab7fce254d226e42bb7e3bdcb6a88cd3695f04 | fd0622e97276bba2c04d3c2fcba902cdfb65e214 | /packages/nimble/tests/testthat/test-getBound.R | 954caa64dd96820bbfc604e69c055f995f0e390b | [
"BSD-3-Clause",
"CC-BY-4.0",
"GPL-2.0-only",
"GPL-1.0-or-later",
"MPL-2.0",
"GPL-2.0-or-later"
] | permissive | nimble-dev/nimble | 7942cccd73815611e348d4c674a73b2bc113967d | 29f46eb3e7c7091f49b104277502d5c40ce98bf1 | refs/heads/devel | 2023-09-01T06:54:39.252714 | 2023-08-21T00:51:40 | 2023-08-21T00:51:40 | 20,771,527 | 147 | 31 | BSD-3-Clause | 2023-08-12T13:04:54 | 2014-06-12T14:58:42 | C++ | UTF-8 | R | false | false | 7,910 | r | test-getBound.R | source(system.file(file.path('tests', 'testthat', 'test_utils.R'), package = 'nimble'))
RwarnLevel <- options('warn')$warn
options(warn = 1)
nimbleVerboseSetting <- nimbleOptions('verbose')
nimbleOptions(verbose = FALSE)
context("Testing of getBound")
test_that("building of model with initial value issues in bounds"... |
9972883a4b826ec2b795e2ceb6b2bc110e869a97 | 67a7683b1901db9941b6ed61bcf3f7129f657d11 | /man/plotRocsInjectedSignals.Rd | ed84bdac08fc5721cb9d053e1055ea6e4df17de4 | [
"Apache-2.0"
] | permissive | odysseusinc/MethodEvaluation | 5a51796c66622ff7448c2f2fd2cff09052e87dc6 | 2d1d0775744486e10f3f850ed753e155365a94d8 | refs/heads/master | 2023-01-24T06:56:42.437017 | 2020-12-03T12:44:37 | 2020-12-03T12:44:37 | 313,928,398 | 0 | 0 | null | 2020-11-18T12:55:18 | 2020-11-18T12:31:17 | null | UTF-8 | R | false | true | 857 | rd | plotRocsInjectedSignals.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Plots.R
\name{plotRocsInjectedSignals}
\alias{plotRocsInjectedSignals}
\title{Plot the ROC curves for various injected signal sizes}
\usage{
plotRocsInjectedSignals(logRr, trueLogRr, showAucs, fileName = NULL)
}
\arguments{
\item{logRr}{A vec... |
e5d31ff3f524d1733587899b84f49d5af6f8d0eb | 5c3f1cb154f702c8a93732ca3c43592177367b62 | /clf2.Rd | 61528cf17dbe3cf0f755cf0e0aaea4c3adcd397d | [] | no_license | tarunsh2424/parijata | b0441c66be9759ed461da30e144630877fd18fee | 33c07e8bdad98be0feeec1f3f24ec29d938eb44a | refs/heads/master | 2022-11-24T04:55:00.384372 | 2020-07-16T05:57:21 | 2020-07-16T05:57:21 | 275,789,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 187 | rd | clf2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clf2.R
\name{clf2}
\alias{clf2}
\title{clf2}
\usage{
clf2()
}
\value{
provide f'o/f'm
}
\description{
clf2
}
|
c2e0b54329787ae76989d95230fb515accaa836c | c5bc2307bcead541658ccd7f49db4eda9a6a3762 | /man/loptAge.Rd | 90339ae68b8a49a34e90e91fd11dbab724f5c49b | [] | no_license | shfischer/FLife | b2216da5bdf3f463cc7ea354e49115f598ecafe0 | 4979df14be234debeb468d89cf2659bb2f659836 | refs/heads/master | 2021-08-18T07:43:51.998014 | 2020-08-02T18:35:08 | 2020-08-02T18:35:08 | 238,467,826 | 0 | 0 | null | 2020-02-05T14:20:48 | 2020-02-05T14:20:46 | null | UTF-8 | R | false | true | 1,074 | rd | loptAge.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lopt.R
\docType{methods}
\name{loptAge,FLPar-method}
\alias{loptAge,FLPar-method}
\alias{loptAge}
\alias{loptAge-method}
\title{Age at maximum biomass}
\usage{
\S4method{loptAge}{FLPar}(
params,
m = function(length, params) params["m1"] \... |
7cfdb5a66840861526a719dff2f9052f7683cd91 | be4e8a80ffda6e364cdf71522c1c1caf4bdc26f9 | /scanone_sub_samples.R | e6f2560e994c9c3c23f3182c9f7b81d61db36f43 | [] | no_license | ApurvaChitre/sample_size | 3535bdeabbca6b138a3ec177a8c5e8a9d492dc97 | 6337e3a70246425a77184eb7f4671092d497a1e0 | refs/heads/main | 2023-04-10T07:33:32.146754 | 2023-03-20T17:44:46 | 2023-03-20T17:44:46 | 524,273,121 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,324 | r | scanone_sub_samples.R | #k represents each of the sub-sampled phenotype
args <- commandArgs(trailingOnly = TRUE)
#print(args)
k <- args[1]
setwd("path/to/sample_size/qtl2") # Replace with the actual directory path
library(qtl2)
library(qtl2fst) # For memory-intensive calc_genoprob with many SNPs
library(yaml)
CORES <- 8
GRID_SPACING <... |
5e7aaa8d9d478b917fae05fb09a0f0003bd75d3e | bb3ee504bc72fec323766056b622af6cdce60f84 | /adultcode.R | 677fef4840dff4c0642388043c3017fd4471dedb | [] | no_license | anuchowdary1995/Codes1 | e21eba24854e814c50a9928523ada2060d373b6d | 3afeb5d1e3cc2b6c7d7510b14f983d12e2ece642 | refs/heads/master | 2020-03-29T11:13:59.738716 | 2019-09-26T08:37:46 | 2019-09-26T08:37:46 | 149,842,586 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,410 | r | adultcode.R | adult<-read.csv("D:/kaggle/Adult/Adult.csv")
View(adult)
adult1=adult[,-1]
name <- c("Age", "Workclass", "Fnlwgt", "Education", "Education_num", "Marital_status", "Occupation",
"Relationship", "Race", "Sex", "Capital_gain", "Capital_loss", "Hours_per_week", "Native_Country",
"Class")
# repla... |
ebfc1cf091e1ef5a3827d2eeafe18c562a809333 | b9f2e470d568cde6eac087d771f9adbee117dd1a | /man/taxon-class.Rd | 4a0d13b9b6e05286fde62c359d7dc1e66281ded1 | [] | no_license | cran/megaptera | 0e3852c12ab3d2ec0050d94bf82de74cf8ccc71f | 83855c9a44ba3f0280cd39c1bfdde1fccd25478f | refs/heads/master | 2020-05-16T15:12:09.188082 | 2014-10-30T00:00:00 | 2014-10-30T00:00:00 | 26,581,099 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,216 | rd | taxon-class.Rd | \name{taxon-class}
\docType{class}
\alias{taxon-class}
\title{Class "taxon"}
\description{
Class for taxonomic input parameters for \code{\link{megapteraProj}}.
}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{taxon(ingroup, outgroup, kingdom, hybrids = FALSE,
reference.rank... |
bb8916e09250eb52f1bf8d0506282ccadd8e701c | f5e3a947ff71a2479ba4ecc12bc2467bbb1353ba | /staphopia/man/antibiotic_data.Rd | 80d342a20475461556666d60f521235d1acc2565 | [] | no_license | rpetit3/staphopia-r | d9dda2fa1fd3ecf108324ea968489df8dfe14e7f | b6424559082aa032e420f9403b6245b716e13f84 | refs/heads/master | 2021-01-19T18:05:17.423280 | 2017-08-22T23:36:23 | 2017-08-22T23:36:23 | 59,863,793 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 429 | rd | antibiotic_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/resistance.R
\name{antibiotic_data}
\alias{antibiotic_data}
\title{antibiotic_data}
\usage{
antibiotic_data(no_SNPs = TRUE)
}
\arguments{
\item{no_SNPs}{}
}
\value{
Dataframe of staphopia SNPs associated with known AR or (no_SNP=F) dataframe ... |
89d4078eb3be9c3b5cf1ee81e1e80d2cf06eebd2 | 77157987168fc6a0827df2ecdd55104813be77b1 | /COMPoissonReg/inst/testfiles/pcmp_cpp/libFuzzer_pcmp_cpp/pcmp_cpp_valgrind_files/1612728402-test.R | 4bc08e40c3a9139989f479ce4ccdd7c3f49cb8de | [] | 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 | 138 | r | 1612728402-test.R | testlist <- list(lambda = NaN, nu = 0, tol = 0, x = numeric(0), ymax = 0)
result <- do.call(COMPoissonReg:::pcmp_cpp,testlist)
str(result) |
b0d12ecab1b46e3bc3a0668cf45516160902799a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MSQC/examples/prism.Rd.R | 594ab040c5f8194a0f2581d73093018c3a232c14 | [] | 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 | 251 | r | prism.Rd.R | library(MSQC)
### Name: prism
### Title: Draws a rectangular prism
### Aliases: prism
### Keywords: ~kwd1 ~kwd2
### ** Examples
require(rgl)
LSL <- c( 0.60, 0.30, 49.00)
USL <- c(1.40, 1.70, 51.00)
prism(LSL, USL, add = TRUE, col = "#D55E00" )
|
018e78bc4a7272cbe86988140537276d2502366c | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.application.integration/man/eventbridge_list_event_buses.Rd | 54220f3677cac027f9e185aa022b77219d98d94e | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,092 | rd | eventbridge_list_event_buses.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eventbridge_operations.R
\name{eventbridge_list_event_buses}
\alias{eventbridge_list_event_buses}
\title{Lists all the event buses in your account, including the default event
bus, custom event buses, and partner event buses}
\usage{
eventbri... |
85f85b87e6db20636ee025ab070a7478ee8135ad | 26859bdff30893465b2ab4b9e98bbbbec3970698 | /man/simul.RLQ.Rd | adc0238282b74ab9a02f42d11317e59c255d03da | [] | no_license | zdealveindy/simcom | 7e4119612713083ea971bebe41ce4812472cba5d | 124defad7ca828c7abfba29f489771622dce081d | refs/heads/master | 2020-03-19T06:29:28.696695 | 2018-06-04T13:01:36 | 2018-06-04T13:01:36 | 136,023,080 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,788 | rd | simul.RLQ.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simul.RLQ.r
\name{simul.RLQ}
\alias{simul.RLQ}
\title{Simulation model sensu Dray & Legendre (2008), creating \bold{R}, \bold{L} and \bold{Q} matrices}
\usage{
simul.RLQ(n = 100, p = 100, mi.tol = 10, scenario = 1, add.noise = F,
pa = F, pr... |
06c5a033e5f5b76eb40884773fe7f5f2dc94bb89 | 097d950379f67e0133f6c151306d85f2e1d146c0 | /R/summary.R | 38d69d62f8f7cb3a7b4689088be8f0770097e639 | [] | no_license | kamapu/vegtable | 989b0d9cfa4cbf423f5d9201b454cb5e0478d283 | e57ab2e88ce17e72b787e8395dbe879ea2db5f69 | refs/heads/master | 2023-06-13T03:44:41.828449 | 2023-05-28T00:02:51 | 2023-05-28T00:02:51 | 55,006,983 | 4 | 0 | null | 2023-05-28T00:02:52 | 2016-03-29T20:05:28 | HTML | UTF-8 | R | false | false | 8,453 | r | summary.R | #' @name summary
#'
#' @title Summary method for vegtable objects
#'
#' @description
#' Display summaries for [vegtable-class] objects.
#'
#' Those methods are implemented for objects of the classes [vegtable-class],
#' [coverconvert-class] and [shaker-class].
#'
#' The method for class `vegtable` retrieves the metadat... |
351776305fabf314ae88c6188eeefdeebd9bf28d | a57b7b949fa6dba0b7d6f56cbe45c0ad46481537 | /man/se.Rd | b4023a643863e813415e4448e49583aa740dc8b4 | [
"MIT"
] | permissive | davebraze/FDButils | 12cf914b5bb04dd71f4ea60986650e4b608a083d | 7a3c5bb9cd5ef6dbe4dcd522eb1e1772f71bff46 | refs/heads/master | 2023-03-12T02:14:19.146630 | 2023-02-20T19:52:18 | 2023-02-20T19:52:18 | 57,219,505 | 1 | 2 | MIT | 2017-12-28T14:59:29 | 2016-04-27T14:23:14 | R | UTF-8 | R | false | true | 767 | rd | se.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/se.R
\name{se}
\alias{se}
\alias{seM}
\title{Standard Error Of The Mean.}
\usage{
se(x, na.rm = FALSE)
seM(x, na.rm = FALSE)
}
\arguments{
\item{x}{Object to compute SEMs for. Can be vector, matrix or data.frame.}
\item{na.rm}{Specify how t... |
4ee58f6e1799563bd2fdeb23352d1c167086cb76 | 7aa3377774fbf5b9d8a34ac88d7f06a5184be290 | /extsim-makeplots.R | 5626ad003f9d8b1b3981171bebe66f8e481ca8b3 | [] | no_license | wuhaonn/cbm-rbd | dc9a6903b911e6bfef0b8a73445fecf817c9dc4b | a8d6f2fa54e19c324894de1a50f551ecc3f1bf49 | refs/heads/master | 2021-06-20T07:32:18.067918 | 2017-06-13T11:35:29 | 2017-06-13T11:35:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,840 | r | extsim-makeplots.R | # --------------------------------------------------------------------------- #
# CBM systems paper - extended simulation study for revision - make plots
# --------------------------------------------------------------------------- #
# load packages
library(actuar)
library(ReliabilityTheory)
library(reshape2)
library(... |
0cf5c59d501c5409e30bcde4129b26c65f1fdeb2 | b53744576b5c8a4725c5954b8e7f051d0b78f384 | /PH525-StatisticsAndR/populationVsSampleEstimates.R | 59669e1129cf647e70aa90005830f37bd0158a50 | [] | no_license | spiralelucide/R | 58e6b592a5955c63e76ee5343bc921b8d667f3c6 | a2854983c78f1ba5b212f34fbeb2239056098c00 | refs/heads/master | 2021-01-01T17:03:20.653042 | 2017-08-28T17:26:56 | 2017-08-28T17:26:56 | 97,988,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,209 | r | populationVsSampleEstimates.R | library(downloader)
url <- "https://raw.githubusercontent.com/genomicsclass/dagdata/master/inst/extdata/mice_pheno.csv"
filename <- basename(url)
download(url, destfile=filename)
dat <- read.csv(filename)
dat <- na.omit(dat)
#population vs sample mean and standard deviation for male mice diets
x <- filter(dat, Sex==... |
e161136cee9bd844a177a5dbbed0580bf01c92cb | 7550bbca8c12d81be101172e80a8b7bcff3b0a89 | /man/comb_name.Rd | 617997f3e01ca8f4752f1658a38f448674c729ab | [
"MIT"
] | permissive | jokergoo/ComplexHeatmap | 57750d235297861c890bb3ab401fde0c16ef47f5 | ae0ec42cd2e4e0446c114d23dcf43cf2c2f585c8 | refs/heads/master | 2023-07-15T03:47:03.239635 | 2023-04-25T08:00:15 | 2023-04-25T08:00:15 | 30,017,750 | 1,155 | 231 | NOASSERTION | 2023-06-15T14:19:52 | 2015-01-29T11:45:58 | R | UTF-8 | R | false | false | 895 | rd | comb_name.Rd | \name{comb_name}
\alias{comb_name}
\title{
Names of the Combination sets
}
\description{
Names of the Combination sets
}
\usage{
comb_name(m, readable = FALSE)
}
\arguments{
\item{m}{A combination matrix returned by \code{\link{make_comb_mat}}.}
\item{readable}{Whether the combination represents as e.g. "A&B&C".}
... |
0d1daeaeee8238cf86d39783b365608df1b2bf00 | 4a38335e699774774df1a7b86d3bacbca1d98b0f | /scripts/2alignreads.R | 417c5258c7f07535eac0d51c151b0b04737c4bd3 | [
"MIT"
] | permissive | Jake1Egelberg/DEAR | a50bb510a24bf32850037ee267615f5f1e04243e | fa01d4ea4f5803da6677ae6bbcb70ed9e3344173 | refs/heads/main | 2023-04-12T12:14:23.577879 | 2021-08-21T13:25:46 | 2021-08-21T13:25:46 | 396,860,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,106 | r | 2alignreads.R | #***********************************************************
#*************************RNA SEQ **************************
#***********************************************************
#---------------------LOADING PARMS----------------------
library(this.path)
library(stringr)
#Choose primary workflow file path
... |
ba9b655c5e52f4996e86e7ea6ab53ca25fc88e18 | e8665e5b41bec56879ae687174659ece149b828b | /app.R | 00315d4b26360a3399a3f14b28501be1feb540b0 | [] | no_license | Akacker/WRC_dashboard | e65e641536f359ce2237173137cd199cbd46462d | 070879b4cbef2bf35bc8fab2a7dbb3e00676dca5 | refs/heads/master | 2020-07-27T13:43:39.287950 | 2019-02-25T05:29:22 | 2019-02-25T05:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,770 | r | app.R | rm(list = ls())
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(title = "WRC Dashboard"),
dashboardSidebar(sidebarMenu(
menuItem("Industry Water Reuse", tabName = "dashboard", icon = icon("dashboard")),
menuItem("Community Rating Map", tabName = "widgets", icon = icon("th")),
menuIte... |
8a807e44fae0ed8c506a3904ef04c7f84af67824 | 59093dfdd9784a917581e77701f03871b8c9c80a | /R/server.R | 7d652a510fe3b43396c2f32f7abe6f049eb6d5e1 | [] | no_license | jameshay218/driftSimApp | bc643b2ecdb4a01739f7e4511f776fc2e14a65df | 27854fe29a7c28f2584a72a088a3afa3728627b2 | refs/heads/master | 2021-01-21T13:57:25.010682 | 2016-06-01T13:48:32 | 2016-06-01T13:48:32 | 50,588,661 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 31,243 | r | server.R | library(shiny)
library(ggplot2)
library(reshape2)
library(Rcpp)
library(gridExtra)
library(driftSim)
library(data.table)
library(deSolve)
library(plyr)
options(shiny.maxRequestSize=1000*1024^2)
shinyServer(
function(inputs, output, session){
plot_SIR <- function(filename){
N <- isolate(inputs$... |
e5c44b5e5be68794aa7d4cd5bace7e4991997b45 | 6b0cbaf6c3b8362bf8615ff3268c31842715ac59 | /ThermalConduct_graduation_flow.R | dd936a56d9f8af7af748369ed1ca351a3c4137f5 | [] | no_license | Conan1991/grad_work | e672e9722f94d1366538f550ea778f59e483f322 | 7f9f6eb05b719f237056bff29d4e659807c7a697 | refs/heads/master | 2021-07-10T23:07:43.252285 | 2020-05-28T19:08:45 | 2020-05-28T19:08:45 | 130,038,234 | 0 | 0 | null | 2018-04-23T08:37:07 | 2018-04-18T09:28:16 | R | UTF-8 | R | false | false | 2,983 | r | ThermalConduct_graduation_flow.R | rm(list = ls())
a=1
tau = 10
h = 0.065 #шаг по x
L = 2 #длина
N = round(L/h) #Число шагов
k1=k2=1
k2_U= 0.5786
k1_U= 2.3
c2_U = 4195
c1_U = 2000
# k2_U= 1
# k1_U= 1
#
# c2_U = 1
# c1_U = 1
kU = function(U_i)
{
if( U_i < 0)
return(k1_U)
return(k2_U)
}
CU = function(U_i)
{
if( U_i < 0)
return(c1_U)
... |
e577732aa6c1eb26fe8d71dd04cf115132860e4e | 74c142f447083d6648a6b644ceb606bd4bd650f4 | /code_r/feat_modelling2.R | 925a20015bdc1c3ea7deb55933536ea49d0ad6e8 | [] | no_license | Wenshulou2019/mind_wandering_EEG | f5310014c63b2c2f5a4108ab2cd6d859645f0494 | 969f082d76e570fdaa7756c109e9f60123f6e74c | refs/heads/master | 2023-02-24T06:09:16.047307 | 2021-01-27T15:31:31 | 2021-01-27T15:31:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,214 | r | feat_modelling2.R | library(R.matlab)
library(matrixStats)
library(e1071)
library(lme4)
library(class)
library(caret)
library(DMwR)
library(utils)
library(tcltk)
get.settings <- function(){
print(paste0('Current feature path: ', f_measure_matfile))
print(paste0('Tasks to build models: ', tasks))
print(paste0('Cur... |
59a947c98e709fd4fa7742cd619444236e0a2999 | aaecb836ca2696654fabe505af460dd32fd67e9b | /main.R | 67fda26e2462e8b9d4c88ad7b1899c48f54488eb | [] | no_license | pmdemetrio/A | 8683085da68bb718306352b32fe6d7e332931dbd | 0a6274caf324690583ed538e8d9ccda3aa8ad273 | refs/heads/master | 2021-01-10T06:15:53.033598 | 2015-12-28T20:01:44 | 2015-12-28T20:01:44 | 48,707,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 223 | r | main.R | # esqueleto
# Pablo Demetrio
# December 2015
# Import packages
library()
library()
# Source functions
source('R/function1.R')
source('R/function2.R')
# Load datasets
load('data/input_model.rda')
# Then the actual commands |
5d3beee4f0b30569169db5b6e1656e9d3880a252 | 58514496a583ee6eeb40ba46085fec3a4b03dd88 | /man/rforcecom.getServerTimestamp.Rd | 9d1d960ad3ecbef6d25b98bd1f91863b5e091216 | [
"MIT"
] | permissive | TonyWhiteSMS/salesforcer | 1dd820dc0e05de346dd8648a04695a72ab46b98d | 764442f713fde22f95f201a1c5601e67f4569515 | refs/heads/master | 2020-09-10T01:48:29.869567 | 2019-11-14T21:32:10 | 2019-11-14T21:32:10 | 221,619,307 | 1 | 0 | NOASSERTION | 2019-11-14T05:31:34 | 2019-11-14T05:31:33 | null | UTF-8 | R | false | true | 784 | rd | rforcecom.getServerTimestamp.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compatibility.R
\name{rforcecom.getServerTimestamp}
\alias{rforcecom.getServerTimestamp}
\title{salesforcer's backwards compatible version of rforcecom.getServerTimestamp}
\usage{
rforcecom.getServerTimestamp(session)
}
\arguments{
\item{sess... |
fd3dda9183479b92ae04044c849169acc192f970 | 9dafa6da6d00dd320ea3af618a0f0395d2bd7036 | /2-Exercises/P07/BuildTpo.R | a8f3f2dfa9d0507239c587111e703e24c53abe47 | [] | no_license | hwangpo/ce-5362-webroot | fd3c8fae55d85c3680eb13ecb53b855b6b0bea19 | 5adffce6a342d3ea00b609e8c3cf2d5157d579e7 | refs/heads/main | 2023-05-14T12:12:02.551230 | 2021-06-10T20:09:56 | 2021-06-10T20:09:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 909 | r | BuildTpo.R | # script to generate an xyz .tpo file on a regular geometry
# set formula for z=f(x,y)
z <- function(x,y){
if (y < 1 ) {
z <- 4
return(z)
}
if (y <= 29 ) {
z <- 1
return(z)
}
if (y > 29) {
z <- 4
return(z)
}
}
numx <- 11 # number x lines
numy <- 11 # number y lines
elev <- nume... |
97fcede690be8b1d14e4b85bb676203ea2b91b1b | 3d9da0e0416b7dc5226b4918e4b52122dd91de4d | /cachematrix.R | bb2aaee9e36a8a78ac6c22852eca59514d138bad | [] | no_license | pignrooster/ProgrammingAssignment2 | 7b3535f07777f968fb285161f4740710feaf2bfd | bcaf3f43ff569b62c0581be630216a28e68e597c | refs/heads/master | 2020-12-07T13:31:57.614509 | 2015-05-22T22:09:39 | 2015-05-22T22:09:39 | 36,047,158 | 0 | 0 | null | 2015-05-22T02:08:42 | 2015-05-22T02:08:41 | null | UTF-8 | R | false | false | 3,244 | r | cachematrix.R | ## calculating the matrix inverse can be a resource intensive operation. if
## we cached the matrix inverse, then cached matrix inverse can be get and the
## costly matrix inverse calculation can be avoided.
## makeCacheMatrix stores a matrix 'x' and a list of four functions to set
## matrix 'x', get matrix 'x',... |
2bfd31618b8afa074951ae0610dd37f90acd8426 | 7dc0116140c9493c4e69b8d89d1d77ac84a37c11 | /R/build_site.R | dcd85be3c9822a5d0d1215df858c27c88ab2742f | [
"MIT"
] | permissive | drakileshr/dataspice | 4d2bcb09f12cb2377bf53c262a0513f1a7c4f50d | 0be2af6e25c746948da65770c6796e13952bca20 | refs/heads/main | 2023-07-14T14:19:11.714663 | 2021-09-01T12:21:52 | 2021-09-01T12:21:52 | 402,013,657 | 0 | 0 | NOASSERTION | 2021-09-01T10:02:44 | 2021-09-01T10:02:43 | null | UTF-8 | R | false | false | 1,137 | r | build_site.R | #' Build a dataspice site
#'
#' @param path (character) Path to a JSON+LD file with dataspice metadata
#' @param template_path (character) Optional. Path to a template for
#' \code{\link[whisker]{whisker.render}}
#' @param out_path (character) Optional. Path to write the site's `index.html`
#' to. Defaults to `docs/in... |
c1dc3dbe3a19349c0095540a33f2bf7a44684c42 | f79cd4e052c5cbb24e7ef3e4bec1c39f9ce4e413 | /BEMTOOL-ver2.5-2018_0901/src/biol/bmtMTF/fromBMTtoXSAobject.r | af8c1e88a2fc3b2c7e424e3ab95cd9c1ff21f980 | [] | no_license | gresci/BEMTOOL2.5 | 4caf3dca3c67423af327a8ecb1e6ba6eacc8ae14 | 619664981b2863675bde582763c5abf1f8daf34f | refs/heads/master | 2023-01-12T15:04:09.093864 | 2020-06-23T07:00:40 | 2020-06-23T07:00:40 | 282,134,041 | 0 | 0 | null | 2020-07-24T05:47:24 | 2020-07-24T05:47:23 | null | UTF-8 | R | false | false | 39,045 | r | fromBMTtoXSAobject.r | # BEMTOOL - Bio-Economic Model TOOLs - version 2.5
# Authors: G. Lembo, I. Bitetto, M.T. Facchini, M.T. Spedicato 2018
# COISPA Tecnologia & Ricerca, Via dei Trulli 18/20 - (Bari), Italy
# In case of use of the model, the Authors should be cited.
# If you have any comments or suggestions please contact the following e... |
0d2fbd8472c2f65806890d3c1813b73ab8de590e | 0a9a7915d1cf4ef6f1d85d4d604ea08711be08d9 | /mapas_google.R | 72e7e1f9806be6c5b52fd6a700f99f4f3f82cdd6 | [] | no_license | joleonar/Norte_Maracay | 28c814953ff7152442abce8c32af66c3922ce221 | 4d838fea459371273336144e887b5391765b0043 | refs/heads/master | 2020-05-19T16:20:23.744791 | 2015-05-12T14:43:15 | 2015-05-12T14:43:15 | 23,705,481 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 973 | r | mapas_google.R | library(ggplot2)
library(ggmap)
# creating a sample data.frame with your lat/lon points
lon <- c(-68,-66)
lat <- c(10, 11)
df <- as.data.frame(cbind(lon,lat))
#Leyendo base de datos
base <- read.table("collect_2.out",header=T)
names(base)[1]<- "ANO"
base$MAG <-as.numeric(sub("Mw","",base$MAG))
base$PROF <-as.numeric... |
2ad3e6890245f4124d95a4c8aed3f43d8533d2f5 | d69bdac27343896d7781ab4a4da2a47e810ff2ef | /plot2.R | 923e1e00f441b902d14d9f1e7a16625fb00eea4b | [] | no_license | dannyfraser/ExData_Plotting1 | dbec51efdd169ae8f5f51403e2b8ec7aea6e95f6 | 168094b74f917203841a083396456d67fb9b8c46 | refs/heads/master | 2021-01-24T14:18:38.783502 | 2015-10-09T08:02:30 | 2015-10-09T08:02:30 | 43,806,540 | 0 | 0 | null | 2015-10-07T09:34:19 | 2015-10-07T09:34:19 | null | UTF-8 | R | false | false | 533 | r | plot2.R | # create chart 2
library(readr)
library(dplyr)
library(lubridate)
plot_period <- interval(ymd("2007-02-01"), ymd("2007-02-03"))
power <- read_delim("data/household_power_consumption.txt", delim=";") %>%
mutate(DateTime=dmy_hms(paste(Date, Time))) %>%
filter(DateTime %within% plot_period)
png(filename="plot... |
6aea8566a03d2dc2c98dd163c882ac0993f2cec9 | d48427c3eef0bb887f6b54161822e7da74481574 | /server.R | 0ed1bb399ea022da06a29fe8a8c0cd3162e5964d | [] | no_license | SupermercadoEmporium/Mayo2014 | 69c9bf04ec2fa7eefb4e653d7613aef7826472bc | 44ab9990b55ed6d2e55d2130a28cc2c1a3aeead9 | refs/heads/master | 2016-08-12T11:53:59.836885 | 2016-01-15T15:51:02 | 2016-01-15T15:51:02 | 49,673,742 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,633 | r | server.R | #Primer Semestre
#install.packages("shiny")
library(shiny)
shinyServer(function(input, output) {
output$mayo<-renderPrint({
y<-input$select
paste(y,round(a_matrix_Mayo[y,y], digits=4))
})
output$mayo2<-renderPrint({
y<-input$select2
paste(y,round(a_matrix_Mayo[y,y], digits=4))
... |
70e2fe284b02807ada7c2047099af7ab4c5255b9 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/imbalance/examples/mwmote.Rd.R | 4b284c142fb9b012cc4b15d029e6c7e093d87a8b | [] | 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 | 294 | r | mwmote.Rd.R | library(imbalance)
### Name: mwmote
### Title: Majority weighted minority oversampling technique for imbalance
### dataset learning
### Aliases: mwmote
### ** Examples
data(iris0)
# Generates new minority examples
newSamples <- mwmote(iris0, numInstances = 100, classAttr = "Class")
|
442d66180dc7a0157e0ef6714f9c7dbc8a55ce46 | 1bb2de11a09ef71cfeae4e41488ed088dd7663c9 | /man/sigmaPA.Rd | 29374544f2d786a07aea812a3a4cd3f27e313e4f | [] | no_license | cran/icesAdvice | 4a6303a0e6e6a75514f445c3f5d802492e52af65 | 45e5fdb3907eeba51ba3feef94aec26cbab0c852 | refs/heads/master | 2022-02-28T17:54:25.057042 | 2022-02-18T09:00:02 | 2022-02-18T09:00:02 | 59,135,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,552 | rd | sigmaPA.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sigmaPA.R
\name{sigmaPA}
\alias{sigmaPA}
\title{Sigma from PA Reference Points}
\usage{
sigmaPA(lim, pa)
}
\arguments{
\item{lim}{the value of the limit reference point, e.g., Blim or Flim.}
\item{pa}{the value of the PA reference... |
2bb16409bd2ad745c6e613d32e654d943c470109 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/springer/R/reformat.R | 1bc33c15e2bfa7b026b7b1fe2aa38c8e7a3f7424 | [] | 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 | 772 | r | reformat.R | #' This function changes the format of the longitudinal data from wide format to long format
#'
#' @param k the number of repeated measurements/time points.
#' @param y the longitudinal response.
#' @param x a matrix of predictors, consisting of clinical covariates, genetic and environment factors, as well as gene-envi... |
ccbfa3c7d8001345e0894e460585c04b801f07dc | 1a52bdf933e7926a22e831f786e168ff995ffe9e | /App2/Code/plot_num_ER_NOgel_blackColor.R | bd7d61a435fd6bbf08a15bfb586b2a119f65f46b | [] | no_license | lizhu06/MOG_exp | 03d7844a3b86e1868b66fbc9844b66054c4bdf1c | 0ef852a499cc806cddaea337540672474d90a791 | refs/heads/master | 2020-06-01T04:41:01.088791 | 2019-06-06T19:57:17 | 2019-06-06T19:57:17 | 190,640,889 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,343 | r | plot_num_ER_NOgel_blackColor.R | rm(list=ls())
##### duplicate genes belonging to multiple groups
setwd("/mnt/glusterfs/liz86/MOG_Regression/Exp_revision1/App2/")
old_dir <- "/mnt/glusterfs/liz86/MOG_Regression/Exp/app1_morePathways/"
### plot all variable selection
load("Results/num_nonzero_MOG_balanced_nodup_lassoInit.RData")
load("Results/num_non... |
150783f23473d5a63f98bff317478cbeea1cdfc3 | 932c5276d167de9c5c5347efd5bb6ead1e1cf422 | /E3/test/scatterTest.R | f2e57032b63ee917100edc5905e599a543bde770 | [] | no_license | Freedomxf01/Rpackage | 72a3c90cc71265715d30cbf28dfb79156e3bfdb9 | 70b8002865d8c469c7ecda8fc5a7fb2e5773ca3b | refs/heads/master | 2023-04-12T04:03:37.877603 | 2021-05-08T03:16:04 | 2021-05-08T03:16:04 | 363,077,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,535 | r | scatterTest.R | # setwd('C:\\material\\MBMA\\myPackage\\test\\scatterPlot\\E3')
# devtools::install()
library(E3)
library(shiny)
library(jsonlite)
runApp(list(
ui = bootstrapPage(
E3ScatterOutput("gauge1")
),
server = function(input, output) {
# reactive that generates a random value for the gauge
... |
730680be76a6cbe8735ec8e96004c69d9ad4b2b1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/StressStrength/examples/SSR.Rd.R | 98c8dd850c3f00945a498903ca7b71c56bb03abd | [] | 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 | 525 | r | SSR.Rd.R | library(StressStrength)
### Name: SSR
### Title: Computation of reliability of stress-strength models
### Aliases: SSR
### Keywords: distribution models
### ** Examples
# let X be a normal r.v. with mean 1 and sd 1;
# and Y a normal r.v. with mean 0 and sd 2
# X and Y independent
parx<-c(1, 1)
pary<-c(0, 2)
# relia... |
a967c65193b59634ceb71baf050432b196a5ef16 | e91d3e01663cea7314679cad9d7fae8e4387253a | /Cross_validation_lm_CDA.R | 72cb41f6e1915f89fb66a311d8838663beea80c1 | [] | no_license | HelloFloor/CaseStudyLineair2018 | 736a95aec14240e19027ac04bb7d724adc4693de | 37b8d1600e45a688f504a30e4a7d58e733f7ea46 | refs/heads/master | 2020-04-07T08:50:36.713519 | 2019-01-21T12:38:03 | 2019-01-21T12:38:03 | 158,229,938 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,099 | r | Cross_validation_lm_CDA.R | ################################################################################
# Run-Time Environment: R version 3.4.2
# Author: Ilse van Beelen
# Script: Model_final.R
# Purpose of script: Cross-validation of final model CDA
# Datafiles used: Clean_data_CDA_2... |
c1a7b182c058511f0bdb1e4d6f84441c5e9f4e6d | 6151fe4a5f93601b2164f90167ec9bd266fb331d | /man/get_GO_list_from_ontologies_with_evidence_codes.Rd | 4ba5846d47d853d518f20d3d45b8388c085ef4f4 | [] | no_license | VCCRI/XGSA | 2dd72f583bf118fc32740a5aa84aeb2b2ff5609c | 5f8ddd72c39831939eeb01e25bf3b1af2886a5c9 | refs/heads/master | 2021-06-16T17:51:50.410771 | 2021-03-01T10:05:40 | 2021-03-01T10:05:40 | 54,952,407 | 9 | 4 | null | 2020-05-15T08:52:10 | 2016-03-29T06:44:58 | R | UTF-8 | R | false | true | 1,537 | rd | get_GO_list_from_ontologies_with_evidence_codes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/XGSA.R
\name{get_GO_list_from_ontologies_with_evidence_codes}
\alias{get_GO_list_from_ontologies_with_evidence_codes}
\title{get_GO_list_from_ontologies_with_evidence_codes}
\usage{
get_GO_list_from_ontologies_with_evidence_codes(species,
e... |
52b997cc369e1c1afc238a0aed44921342202ce1 | 750cacb8a12d2ef36c343072f979be48a01e3209 | /rCode/finalScripts/functionSBO.R | 697d5637afc989b1cfb10c2f8d46fb540e537c9d | [] | no_license | mterion/capstoneProj | b192de37c7128677d6bfa5dbf8247f92bf1646f3 | 219f13700db7ced0b0a6331e9a59d217a1847e66 | refs/heads/master | 2023-03-02T09:37:19.990896 | 2021-01-28T06:47:51 | 2021-01-28T06:47:51 | 319,615,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,221 | r | functionSBO.R | # ngram creation with ngram FreqDf
ngramFreqDfFun <- function(tokensOfTheCorpus, ngramValue){
gc()
tokNgram <- tokens_ngrams(tokensOfTheCorpus, ngramValue)
ngramDfm <- dfm(tokNgram)
featNames <- featnames(ngramDfm)
freq <- colSums(ngramDfm)
ngramFreqDf <- data.frame(... |
fb576b354e5097867309e821edc01bd6bb8e1ef7 | 117ec21c68e99e5451bc67327b057cf4d8026a97 | /server.R | 06c3ae07128b209938c5de964738bcd954c06425 | [] | no_license | JonnyPhillips/spatial2_partidos | 4ed341afce8bc1cb61a977f2eae9f5a1ca10d147 | b953c38e98eb195057783200f21fc322d0fe9776 | refs/heads/master | 2020-12-29T04:55:25.023085 | 2020-02-05T20:18:22 | 2020-02-05T20:18:22 | 238,460,888 | 0 | 2 | null | 2020-02-05T17:09:11 | 2020-02-05T13:48:32 | R | UTF-8 | R | false | false | 26,927 | r | server.R | library(plyr)
library(data.table)
library(sp)
library(sf)
library(spdep)
library(scales)
library(leaflet)
library(rgeos)
library(raster)
library(maptools)
library(ggplot2)
library(httr)
library(ape)
library(RCurl)
library(digest)
library(dplyr)
library(DT)
library(magrittr)
library(shinyalert)
library(tidyr)
library(sh... |
783f55b4cbd0e8f784a889fb890c15d45e1d39fc | 377c8851390a7e85f2cca30246e0f9f6df7d13cc | /r_scripts/NGS2_WITNESS_Cycle1_confirmatory_exp2.R | 013e0025fdd6ba62fe193c85c97a2a29a3735bf1 | [] | no_license | GallupGovt/ngs2 | bb9eca850dc0d76b39d7aa16aeb1ef59d6d640fb | ed9443400bcd2a46907dae6701a7bd4580499772 | refs/heads/master | 2023-05-26T16:45:47.820293 | 2020-12-17T09:48:56 | 2020-12-17T09:48:56 | 147,573,574 | 4 | 4 | null | 2023-05-22T21:36:06 | 2018-09-05T20:07:10 | R | UTF-8 | R | false | false | 2,160 | r | NGS2_WITNESS_Cycle1_confirmatory_exp2.R | #Created by Pablo Diego Rosell, PhD, for Gallup inc. in March 2017
# Load data for analysis
exp2_cooperation <- read.csv(url("https://raw.githubusercontent.com/gallup/NGS2/master/cooperation_exp2.csv"),
header = TRUE,
sep = ',')
exp2_rewire <- read.csv(... |
cb01c07963945a873962cb96e5603b588ff22ef8 | c98f04222e96d57ea9e78c7a0dc7bd8147bc64ef | /man/getStockInfo.Rd | 5d5b8d55128abc128cb57a4de7285625973c4882 | [] | no_license | alecthekulak/smif.package | 31913347bfd0fe9add290fc199cb00dabcb477ee | ba781b2a19460c277dfee33b3e016fdf191de7e4 | refs/heads/master | 2021-09-22T17:54:48.427050 | 2018-09-13T02:14:07 | 2018-09-13T02:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,606 | rd | getStockInfo.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getStockInfo.R
\name{getStockInfo}
\alias{getStockInfo}
\alias{getStockInfo.sector}
\alias{getStockInfo.name}
\alias{getStockInfo.last}
\alias{getStockInfo.industry}
\alias{getStockInfo.exchange}
\alias{getStockInfo.IPO.year}
\alias... |
469daf0502658b1da81934c7ecc3c16c6b9ad7c4 | d334c1725613be0faae0b9c89aa1ce4d99e5a2dc | /R/tot_plot.R | 8474e2c8c929e5d2f252993aa0f832c1fda635e1 | [] | no_license | abresler/qdap | 6ae712c440c42e8e40a667de8c7ff20cf4f07d29 | c38f2dcd37fa50ec90cbf6bf9c47316edea5fb30 | refs/heads/master | 2021-01-16T20:02:03.742464 | 2013-08-04T16:33:52 | 2013-08-04T16:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,044 | r | tot_plot.R | #' Visualize Word Length by Turn of Talk
#'
#' Uses a bar graph to visualize patterns in sentence length and grouping
#' variables by turn of talk.
#'
#' @param dataframe A dataframe that contains the text variable and optionally
#' the grouping.var and tot variables.
#' @param text.var The text variable (character... |
4dec0aa1477a58e6760d7b9aeb71b9f6a2669e12 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rela/examples/paf.Rd.R | 5ca3157adef504bea3aac3bb13ee04c8d79b662d | [] | 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 | 317 | r | paf.Rd.R | library(rela)
### Name: paf
### Title: Principal Axis Factoring
### Aliases: paf
### Keywords: manip misc
### ** Examples
library(rela)
Belts <- Seatbelts[,1:7]
summary(Belts)
paf.belt <- paf(Belts)
summary(paf.belt)
Belts2 <- Belts[,-5]
Belts2 <- Belts2[,-5]
paf.belt2 <- paf(Belts2)
summary(paf.belt2)
|
daf0d9a57ab84a56dc6efa9e3dcd0bb2ea5cc9e9 | 88db68ad7439180a22df307a6d5d47c646c6af10 | /analysis.R | 625036e9ac24d4ead203c1ebce2e605de211f880 | [] | no_license | jberninger/UCSC_Stat207_COVID | 9946ab87c5585148c79d652ecfc88490d94b083b | 000d3489fe618b8c177e69659ad26aa0bf8c7103 | refs/heads/master | 2023-01-04T06:29:41.043630 | 2020-11-04T03:11:56 | 2020-11-04T03:11:56 | 258,053,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,046 | r | analysis.R | ## Stat 207
## Final Take Home
## Covid Analysis
####################################################################################################################################
library(readr)
library(dplyr)
library(truncnorm)
library(MASS)
library(tmvtnorm)
library(invgamma)
library(mvtnorm)
library(janitor)
libra... |
1e0e7bd5c68bad7514df9d00d52e0243b0e54242 | 76f7c8520d26012e6d90a798320b263d5dd9a8a1 | /man/render_graph.Rd | 0fc5ab8eb27ccd1da975382eb7041a32859a6031 | [] | no_license | timelyportfolio/DiagrammeR | 0480c5925208f91422152de9595d58001f4c9783 | 1d1a515cd4498eac1b69e48d5c68a4d1440ef243 | refs/heads/master | 2021-01-13T06:49:00.473829 | 2016-08-26T17:14:58 | 2016-08-26T17:14:58 | 28,595,575 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,387 | rd | render_graph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/render_graph.R
\name{render_graph}
\alias{render_graph}
\title{Render the graph or output in various formats}
\usage{
render_graph(graph, output = NULL, layout = NULL, width = NULL,
height = NULL)
}
\arguments{
\item{graph}{a \code{dgr_grap... |
f5fcd8be39cc22405306811e77acfaa4b84fdfe1 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ROI/examples/ROI_registered_reader.Rd.R | 78911ccca86edba5ff600a72f8b0f42c98b25553 | [] | 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 | 196 | r | ROI_registered_reader.Rd.R | library(ROI)
### Name: ROI_registered_reader
### Title: List Registered Reader
### Aliases: ROI_registered_reader
### ** Examples
ROI_registered_reader()
ROI_registered_reader("mps_fixed")
|
7e6684cf14302d55d27dea3200458ad05ae10f29 | 875c89121e065a01ffe24d865f549d98463532f8 | /man/combine.Rd | 61d668535a57002519ff21412aeb403d67813de8 | [] | no_license | hugomflavio/actel | ba414a4b16a9c5b4ab61e85d040ec790983fda63 | 2398a01d71c37e615e04607cc538a7c154b79855 | refs/heads/master | 2023-05-12T00:09:57.106062 | 2023-05-07T01:30:19 | 2023-05-07T01:30:19 | 190,181,871 | 25 | 6 | null | 2021-03-31T01:47:24 | 2019-06-04T10:42:27 | R | UTF-8 | R | false | true | 486 | rd | combine.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper.R
\name{combine}
\alias{combine}
\title{Combine a list of vectors}
\usage{
combine(input)
}
\arguments{
\item{input}{a list of vectors with non-overlapping data.}
}
\value{
A vectorized combination of the data in the different list vec... |
72b8574d2b604177762db8f0139ed249d2435b1e | 816c6c8f04227713c2b150bcb0b3b228d93f10bc | /RP_Stata.R | 1a920410b5336b2b760e7849530ab24a983fa5ad | [] | no_license | arbiax/STATA | ff5210fc15efd8af037c5a18e8c8ef511b24b840 | 708e1172ba835e76171b3806289b6a71c505bd19 | refs/heads/main | 2023-04-18T23:40:23.680466 | 2021-05-03T14:20:27 | 2021-05-03T14:20:27 | 363,949,272 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,721 | r | RP_Stata.R | # This code was written by Arbian Halilaj for XXX at the
# University of St. Gallen.
# Supervisor: XXX
# For questions contact arbian.halilaj@student.unisg.ch
# Last tested: 23/06/2020
#####################################################################
# Setup and data preparation
library(xtable)
library(naniar) # ... |
ff9875d876cd1fae16624070daffabb20b8497f9 | 07ff53239fc01fcda3151dc2505203491dac8656 | /cachematrix.R | e5f2d49af89d047098da2525b476525249cc9bbd | [] | no_license | MKhanMuneer/ProgrammingAssignment2 | cbd3495b3a608df037c83a0f46afeefa4b7b21a2 | 849c7a4c832871dfa1f413ef22a5f0d18ff93bf1 | refs/heads/master | 2022-05-05T08:43:53.128208 | 2015-04-26T19:17:45 | 2015-04-26T19:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,188 | r | cachematrix.R | # Inversion of Matrix in R is usually time consuming,
# and caching the inverse of a matrix can be beneficial
# rather than computing it again and again.
# The following two functions are used to
# 1. Retrieve the inverse of a matrix if it has alreay been computed.
# 2. If the inverse of matrix has not been computed ... |
133c9f72f2e011ea7560a03455db1157f395d6fc | fe7168587db6ef3c191032b8ed317bd8dd5a23e3 | /Bootcamp-materials/Day2-Bayesian-Modeling/bowling.R | 1375ddc4eaf1aaea00214e383767d6ad8c85d96a | [
"CC0-1.0"
] | permissive | DS-BootCamp-DSI-Columbia/AY2019-2020-Winter-Collaboratory-Faculty | 811371070de4deb4684e57b6a3db2c1b44186b68 | 46d7a8edee14c02db7d78e672d444d35ab84305b | refs/heads/master | 2020-09-06T08:17:04.167732 | 2020-01-18T13:43:11 | 2020-01-18T13:43:11 | 220,372,969 | 12 | 14 | CC0-1.0 | 2020-01-16T06:38:07 | 2019-11-08T02:46:11 | HTML | UTF-8 | R | false | false | 721 | r | bowling.R | # computes the x-th Fibonacci number without recursion and with vectorization
F <- function(x) {
stopifnot(is.numeric(x), all(x == as.integer(x)))
sqrt_5 <- sqrt(5) # defined once, used twice
golden_ratio <- (1 + sqrt_5) / 2
return(round(golden_ratio ^ (x + 1) / sqrt_5))
}
# probability of knocking down x out o... |
0047b68bdaf5bff5eb60ee9f327f6a364399c70e | ab62bbb36ee030e69cecd30c8a7a1c56b4799864 | /man/pollutionhealthdata.Rd | f49c9d1b0d2853ed589f628c09c419e22b1dabb2 | [] | no_license | cran/CARBayesdata | db539deda5c8ce11e84389cc3097ccf2358681b8 | 07b0d6e86a2a5bcbbc4701bc4a620f54a596eef5 | refs/heads/master | 2022-07-03T13:42:02.656857 | 2022-05-12T12:30:01 | 2022-05-12T12:30:01 | 33,190,886 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,776 | rd | pollutionhealthdata.Rd | \name{pollutionhealthdata}
\alias{pollutionhealthdata}
\docType{data}
\title{Respiratory hospitalisation, air pollution and covariate data for the
Greater Glasgow and Clyde health board between 2007 and 2011.}
\description{
A data.frame object containing spatio-temporal data on respiratory
hospitalisations... |
1b1c40518f74e92e7e1141afd6cbd711f1a5fe1d | 44a71491f4ebc032aaabf236f9740d149c84cafd | /Chapter_4/Chp_4_Example_5.R | 25867d5da12512d69c300b9bf36c16f2f9bd082a | [] | no_license | artofstat/RCode | 82ae8f7b3319888d3a5774fe2bcafbae3ed17419 | 8e8d55d1ac4bc111e5d14798f59033d755959ae5 | refs/heads/main | 2023-03-22T03:17:45.284671 | 2022-08-15T18:09:08 | 2022-08-15T18:09:08 | 503,484,584 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 829 | r | Chp_4_Example_5.R | #############################################################
## R code to reproduce statistical analysis in the textbook:
## Agresti, Franklin, Klingenberg
## Statistics: The Art & Science of Learning from Data
## 5th Edition, Pearson 2021
## Web: ArtofStat.com
## Copyright: Bernhard Klingenberg
######################... |
0617f3d7952e4a7a9e2674590df3b707c834a89f | c8c6fa007193c26b4a93cab4dc40b81350a5a23c | /3x.Get-data-for-percent-cover.R | a3d4f9350f6efe5629084cd116f90f467f4a1110 | [] | no_license | anitas-giraldo/GB_Habitat_Classification | ba15fa35deae813f6bdb787e76965962eb9579bc | e3def2c2d6fefe84af436e629dc8de771f92e16c | refs/heads/master | 2023-07-13T05:08:24.823385 | 2021-08-15T22:54:33 | 2021-08-15T22:54:33 | 253,971,022 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 19,804 | r | 3x.Get-data-for-percent-cover.R | ### ### ### ### ###
### Script to GET THE DATA to calculate percent cover of habitat classes ###
### Load libraries ----
library(ggplot2)
library(ggthemes)
library(cowplot)
library(sp)
library(spDta)
library(sf)
library(rgdal)
library(raster)
library(rgeos)
library(mapview)
library(tmap)
libra... |
1f1c2622a8c6e495c35eb8d06aee937840db9a8a | 9db2fc31add11c86b1712421ee0c85f41120092f | /R/create_simulate_norm.R | 7cd17d8334349eda346ce4110e11c0aa07df2a67 | [] | no_license | Sayani07/hakear-drake | 21be865e8a7872772a79cc8dc6b2123000601c90 | 4b4fe52f69c2489e1dc0958f022c20a60d1c2d53 | refs/heads/master | 2023-01-18T21:55:01.400684 | 2020-11-19T07:05:30 | 2020-11-19T07:05:30 | 294,099,407 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 767 | r | create_simulate_norm.R | ##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##'
##' @title
##' @param nlevel
##' @param ncol
##' @param sim_dist
##' @param nsim
##' @return
##' @author Sayani07
##' @export
create_simulate_norm <- function(nlevel = 6,
ncol = 3,
... |
bd5a10e5aa5e663503ed4945102d9d2c8203217d | 1d85ea0fd495bbb892175f20676ae38f61baa475 | /R/readctval.R | 626a588f75c095e02698145be922891d3cd5e255 | [] | no_license | steingod/R-mipolsat | e6a3ddedd31f0eaf26f6f56bb5b30219cc63968a | a19c0c34557cb81faa4f9297c44413af8e59488b | refs/heads/master | 2021-01-19T20:29:57.560832 | 2013-05-28T20:33:58 | 2013-05-28T20:33:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,610 | r | readctval.R | #
# NAME:
# readctval
#
# PURPOSE:
# To read collocate HDF4 files containing validation data for SAFNWC CM.
#
# NOTES:
# Not fully finished...
#
# BUGS:
# Probably in the underlying C-function...
# C functions does not transfer strings back properly...
#
# CVS_ID:
# $Id: readctval.R,v 1.3 2013-04-11 20:29:04 steingod ... |
1f6bc9851951c7ea8a092b1ad68ba2da21fd487d | 36d3b6f2349ebdad12a996acfc21090130695a1b | /R/Venn.R | 70da26717b8556af1755575d6f33b626fb87d929 | [] | no_license | flajole/MApckg | da7be5c41e13cbf5c03b100e40ac0a1521306d34 | 229959e1b9e76034411dc8513cd5f7e9e63c3ef0 | refs/heads/master | 2021-01-18T16:36:38.247786 | 2016-02-10T14:11:23 | 2016-02-10T14:11:23 | 41,876,214 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,213 | r | Venn.R | # VENN DIAGRAM COUNTS AND PLOTS
getVennCounts <- function(x,include="both") {
x <- as.matrix(x)
include <- match.arg(include,c("both","up","down"))
x <- sign(switch(include,
both = abs(x),
up = x > 0,
down = x < 0
))
nprobes <- nrow(x)
ncontrasts <- ncol(x)
names <- colnames(x)
if(is.null(nam... |
e9903493a758f6f2ee81a8cf4e504dbf8aef220e | 62d445e283e7a0d5f5980572d2fb592e72eb7e4a | /ML_Ass_1.R | bb49d3526384f6a0b6afa91e95cd7fe144711280 | [] | no_license | clustersdata/MachineLearning-25 | 1d94b621fca8153848fcd43ff4a09eb54201d063 | 75199fb728f75bfbf10951856e7ae0fb0c4cfccb | refs/heads/master | 2022-06-01T09:56:59.188050 | 2014-04-15T22:55:52 | 2014-04-15T22:55:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,250 | r | ML_Ass_1.R | data1 <- read.table("ex1data1.txt", sep =",")
colnames(data1) <- c("Population","Profit")
plot(data1$Population, data1$Profit, pch=19, col="blue",
ylab = "Profit in $10,000s",
xlab = "Population of City in 10,000s")
data1.m <- as.matrix(data1)
dim(data1.m)
X.ini <- data1.m[, 1]
y <- data1.m[, 2]
plot(X.i... |
f6616421a5d24c168db4460ac419b09fae67738d | 0919cfe03fb33cc4f2f59167536d948198d1635c | /man/occ_count.Rd | eea05b27bc43556de867041f1b8ec03c301e8529 | [] | no_license | cran/rgbif | d15490edf1df820891bc7022ecaa311c6d6aab9e | adfddbb05959bb6d549eca5369c5c3da644a395e | refs/heads/master | 2023-06-24T13:57:39.429513 | 2023-04-03T14:00:02 | 2023-04-03T14:00:02 | 17,699,179 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,438 | rd | occ_count.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/occ_count.r
\name{occ_count}
\alias{occ_count}
\title{Get number of occurrence records.}
\usage{
occ_count(..., occurrenceStatus = "PRESENT", curlopts = list())
}
\arguments{
\item{...}{parameters passed to \code{occ_search()}.}
\... |
3b1161c770bfd2127b4863bfed27cf3f7797dfd8 | 40c79c40ba4eecf9406203e19e6add03970caa81 | /Example2/Frank_m1/BF_optX.R | 9ee58c71528481612525a3476d7741a0cea882d5 | [] | no_license | SenarathneSGJ/Design_for_Copula | a8286a1622d2aad0069e71c67790e11e898aa3b2 | 5cf41d6a734ea23bdc63568158bacd2c82cffe57 | refs/heads/master | 2020-04-22T02:07:07.054722 | 2020-01-31T04:51:05 | 2020-01-31T04:51:05 | 170,037,003 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 697 | r | BF_optX.R | BF_optX=function(theta,W,post_model_probs,LogZs) # Next design point via ACE
{
tempX <- data.frame(X=seq(0.05,2,by=0.05))
print(tempX)
utes=foreach(i = 1:nrow(tempX),.packages= c("mvtnorm","rootSolve","stats","Rcpp"),.noexport = c("LogLike_m2_Gum","LogLike_m3_Cl","LogLike_m4_Pr"),.export=c("Sigma","u_Entropy",... |
2ce1813e8453dcc9845f56f87ea5fe9b3a1e89e7 | 995a119204394a02ea5829e8aafba3755f61b306 | /Rcwl/tl_lancet.R | 9af2b0cfcc6d03cd733ac4ae4508d2e9fba9b900 | [] | no_license | truwl/roswellpark | de18b994dac583e339e1061bcd3e84aa52e1d7c1 | 3a0de3ee9995779cb29e07230e3d8e8f153567ca | refs/heads/master | 2023-03-04T08:41:09.670907 | 2020-12-16T23:02:08 | 2020-12-16T23:02:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 934 | r | tl_lancet.R | ## https://github.com/nygenome/lancet
p1 <- InputParam(id = "tbam", type = "File", prefix = "--tumor",
secondaryFiles = ".bai")
p2 <- InputParam(id = "nbam", type = "File", prefix = "--normal",
secondaryFiles = ".bai")
p3 <- InputParam(id = "ref", type = "File",
prefi... |
4869e3308a10635f54d1d7f5d1ee7f4a6a4e194c | c1034eb8f34b18105acf3244bf9a0b0339d6ca8d | /R/mdaplotg.R | 750c907d540040f9cd142a419b4c9b3d11fe0e88 | [
"MIT"
] | permissive | svkucheryavski/mdatools | f8d4eafbb34d57283ee753eceea1584aed6da3b9 | 2e3d262e8ac272c254325a0a56e067ebf02beb59 | refs/heads/master | 2023-08-17T16:11:14.122769 | 2023-08-12T16:58:49 | 2023-08-12T16:58:49 | 11,718,739 | 31 | 11 | NOASSERTION | 2020-07-23T18:50:22 | 2013-07-28T11:10:36 | R | UTF-8 | R | false | false | 16,671 | r | mdaplotg.R | #' Show legend for mdaplotg
#'
#' @description
#' Shows a legend for plot elements or their groups.
#'
#' @param legend
#' vector with text elements for the legend items
#' @param col
#' vector with color values for the legend items
#' @param pt.bg
#' vector with background colors for the legend items (e.g. for pch = 2... |
f6e5fba617b94ffbb9e9f9f2f36b1ae718d8827b | a660e9053827afa29f27e2bbd3c324dc6d9cfc9d | /SD1/deseq_T1.R | 1cd238402f83e8f570744ae53d20a060633b0741 | [] | no_license | sagw/R-scripts | f755edd159f5c990044f0a6c6ed5546f3b32626a | 8f3db4c8ebe59259bb733ec042a257f49c61073f | refs/heads/master | 2021-01-18T23:20:49.793457 | 2016-03-21T13:50:37 | 2016-03-21T13:50:37 | 29,606,098 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,473 | r | deseq_T1.R | rm(list=ls())
require(vegan)
require(DESeq2)
setwd("~/Documents/SD1/SD1_analyses/")
c=read.csv("input_files//SD1_OTU_table_97.csv", h=T, row.names=1)
#information about samples
s=read.csv("input_files//SD1_map.csv", h=T, as.is=T)
b=t(c6)
d=cbind.data.frame(s,b)
#check order of samples
check<-cbind(row.names(d), d[1:... |
0791f1fa1f8b208355135d4c5223243c0b06d080 | b9856976c90b24d4e6266b5e54af7751eba926c0 | /January_tessellated_menagerie/rstudioconf_logo.R | 99bb29ded34287f15d59d98cb88bf524c85e7573 | [] | no_license | batpigandme/aRt | 8033326cfa68fab8a4c07d3f5e329a55405465a2 | 2bd6e3183159fe646cd3673402fcb1a7816d1656 | refs/heads/master | 2020-04-20T15:35:58.645494 | 2019-02-02T16:36:00 | 2019-02-02T16:36:00 | 168,935,371 | 1 | 0 | null | 2019-02-03T10:53:16 | 2019-02-03T10:53:16 | null | UTF-8 | R | false | false | 11,768 | r | rstudioconf_logo.R | library(tidyverse)
library(gganimate)
library(colourlovers)
library(scales)
##sorry, this code is a dumpster fire and I don't have time to clean it up
##DM me on twitter @W_R_Chase if you need to know something
armadillo <- readRDS("rds_files/armadillo_points.rds")
longhorn <- readRDS("rds_files/longhorn_points.rds")... |
656dff2e876da896a44bf7578dbf35ecea61ca57 | 175eb946c83222de59c138bc3352ce41f1b13fd3 | /Created_code/RawZT8_ZT12_combine.R | 7c92177a03243db4cf4d740d189f668adbb3f66a | [] | no_license | Kfalash/CVP-Testing | bc12e3469f5a680102aca9105d0cf0dcd8ca6e20 | 9412f69c22ddb839d7c7501c628a20aba3b2877e | refs/heads/main | 2023-04-22T04:38:50.216992 | 2021-04-24T15:31:21 | 2021-04-24T15:31:21 | 301,788,908 | 0 | 0 | null | 2020-12-04T17:19:09 | 2020-10-06T16:29:00 | R | UTF-8 | R | false | false | 12,063 | r | RawZT8_ZT12_combine.R | #Preparing data to combine
#Take only raw counts from the data
#---------------------------ZT8 seedings----------------------------------------
#ZT8 1
ZT8_1 <- read.table("lab/RawData/GSM3184429_WT-ZT8-seedling-1_trimmo_paired_2_10_5_1_tophat_ensembl_TAIR10_nomixed_unstranded_sorted_rmdup_picard_combined_read.txt",
... |
ef8375e55a1bab03356db841970086a48e927b96 | 44e79ae499e5da613c7fc765277cc42cb0c463e6 | /program/count_AT_GC_gene_trait.R | 8911bc8a9f6edaac948c738655f416da97428a73 | [] | no_license | wang-q/pars | 9ff3520ff85aa596adb41d49b5d6ad567d99992e | e673977d8ae6728890320af040add0a1c5dda9ad | refs/heads/master | 2022-07-28T00:28:43.264655 | 2022-07-04T06:37:23 | 2022-07-04T06:37:23 | 45,329,678 | 0 | 4 | null | 2022-07-03T09:49:55 | 2015-11-01T05:43:15 | R | UTF-8 | R | false | false | 7,722 | r | count_AT_GC_gene_trait.R | #!/usr/bin/env Rscript
library(getopt)
library(ape)
library(ggplot2)
library(scales)
library(reshape)
library(pander)
library(gridExtra)
library(plyr)
library(dplyr)
library(proto)
library(gsubfn)
library(RSQLite)
library(sqldf)
spec = matrix(
c(
"help",
"h",
0,
"logical",
... |
1c4e34503018925edaf6de63ebadc2f97e685b0f | ead209f46dfb817bb7cd3acd9ebaf5d9b4c97b7e | /R/plot.R | 7ceeba0bcece82c1d56ebe58ae3fdcc3b2c9d815 | [
"CC-BY-4.0"
] | permissive | igankevich/subordination-benchmarks | 9ee7df3c34528ea17093acbf0ce110bc235bdf73 | 859722fccef8bec4fd00b8f91af68122479001f7 | refs/heads/master | 2021-09-01T11:59:26.240570 | 2017-12-26T21:27:34 | 2017-12-26T21:27:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 284 | r | plot.R | #!/usr/bin/Rscript
args = commandArgs(trailingOnly=TRUE)
n <- max(1, floor(sqrt(length(args))))
m <- ceiling(length(args) / n)
print(m)
print(n)
print(length(args))
pdf(width=20, height=20)
par(mfrow=c(n, m))
for (file in args) {
data <- read.table(file)
plot(data)
title(file)
}
|
cf15f6d4cb944363f92303dbaf7b3e4736518e5c | 5f4a6f8d0eb0e22669a2e79dd3d66588077f7d0e | /08-qqplot.R | 924402394cf90b3f5b86cfa8ec77054139239080 | [] | no_license | agibilis/r-course | 7f8e46068b45e0b4c4441e58a6ea3c43ec530dea | b54dca78d1650c5c2ed8ab6d7afc7358068bdac5 | refs/heads/master | 2020-03-09T01:15:06.830033 | 2018-06-03T17:39:28 | 2018-06-03T17:39:28 | 128,509,209 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,482 | r | 08-qqplot.R | s <- seq (0.01, 0.99, 0.01)
s
# sacamos los valores normales
qn <-qnorm(s)
qn
df <- data.frame (p = s, q = qn)
df
# podriamos generar una distribucion aleatoria segun una distribucion normal
sample <- rnorm(200)
sample
quantile(sample,probs=s)
# los cauntiles se empiezan a ajustar a la distribucion teorica
# para ha... |
d40b8d69cd51cfb096d94b6f8d051a7307d95533 | b39a3af719704b59bf6be20494efa511115f153e | /man/is.ratetable.Rd | f0ecdb44452ddccbc4c76968573f51a1a0a4e600 | [] | no_license | cran/survival4 | c41403b105fa506d99893987ed578eba02d9c839 | 70ff67f5153bc21daeff7b27d3ef94c82e50c755 | refs/heads/master | 2016-09-06T09:44:16.772359 | 1977-08-08T00:00:00 | 1977-08-08T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 968 | rd | is.ratetable.Rd | \name{is.ratetable}
\title{Is an Object of Class ``ratetable''?}
\usage{
is.ratetable(x, verbose=F)
}
\arguments{
\item{x}{the object to be verified.}
\item{verbose}{
If \code{TRUE} and the object is not a ratetable, then return a
character string describing the way(s) in which \code{x} fails to be
a pr... |
61546d3758bd20a1b3dca2cf773a697b5433fd92 | 670575bc7aadd3c1bd7e206851908314c1a0ec78 | /final_shiny.R | 0b08c9fbbea0a14a8b3ded7b5dd6ef60890e0514 | [] | no_license | henriksergoyan/Team-builder | a3f419e0b3ff3517c5c3a91d115748f850c6d870 | 9b242fe14505bbdeaca6403265d92e1b11c3174e | refs/heads/master | 2020-04-22T07:16:44.809988 | 2019-02-11T22:44:57 | 2019-02-11T22:44:57 | 170,214,380 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,443 | r | final_shiny.R |
# install.packages("readxl")
library(ggplot2)
library(shiny)
library(shinydashboard)
library(rsconnect)
library(lpSolve)
options(shiny.maxRequestSize=30*1024^2)
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(
tabsetPanel(id = 'first_ch',
tabPanel("Search Engine",
... |
1e892cf6d5457b3b90ffb6deef5e45a1e06917ac | 5b064eff76b6751755574e5ec72b1c4fe7327c86 | /Country Data/plotsv2.R | 4a5d49b5e09e83162bedd916ded91c2d83e434c8 | [] | no_license | brachunok/sa-migration | 6accf7aa383d5c72ab57b0c5d266a1df47d15e38 | 91373757eeb16e92dc931cdc086150cac468f370 | refs/heads/master | 2021-01-03T23:38:16.094607 | 2020-03-06T23:27:23 | 2020-03-06T23:27:23 | 240,284,935 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,560 | r | plotsv2.R | library(tidyverse)
data = read_csv("Country Data/API_Download_DS2_en_csv_v2_792501.csv")
colnames(data) = c("country", "indicator", c(1960:2007))
countries = unique(data$country)
indicators = unique(data$indicator)
important = c(
"Population growth (annual %)",
"Official exchange rate (LCU per US$, period average)... |
e6a79178b49ca696ec8142d07cb6c0cf8197bd6b | 580b95b4425537c55e0972e761b7c6d2b7180d5f | /man/Xy_task.Rd | 5e42c619018cdffbd75a5eb56d732e72fe3470c9 | [] | no_license | waith/Xy | 556f479a8591e65759d61103390377b50fee47d8 | 955039e8f13e80b5a489b436c45d78573f766cc0 | refs/heads/master | 2020-06-01T07:04:34.708088 | 2019-03-20T22:38:41 | 2019-03-20T22:38:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,069 | rd | Xy_task.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Xy_task.R
\name{Xy_task}
\alias{Xy_task}
\title{Xy Task}
\usage{
Xy_task(name = "regression", link = NULL, cutoff = NULL)
}
\arguments{
\item{name}{the name of the learning task}
\item{link}{a link function to be used to transform the target... |
aee16b1741b9e3b1ee33f3207d741cc86148eff4 | e9ba3e4f528a1242997622d10111bd3fa2c9f956 | /munge/Munge.R | 72549d9d46885bbef3b3349b54b78f7c0bfb8cfe | [
"MIT"
] | permissive | NanisTe/EnergySystemVisualisationTool | b7fabcc9efd4348147806413494d2cdf681861bc | 41015e7997a9844b2fc3f192889347f44dc9f08f | refs/heads/master | 2020-06-18T20:00:09.011671 | 2020-01-06T12:55:35 | 2020-01-06T12:55:35 | 196,428,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,554 | r | Munge.R | # DATA MUNGING
#
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
# Notes / ReadMe ----
# ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
# ### ### ### ### #... |
ede4269af2b812d586aa1238c545cb9481937581 | a8f4eb91dec71624c5ca79383ed62217c1eb95c6 | /R Programming/Week 1 and week 3/Hospital Data analysis/rankall.R | 59d025e102420995d4eff562b0e96a9b9a6765d3 | [] | no_license | RaunakKochar/Data-Science-Coursera | 99d088004a0a87b374b5bc812e3b78254910cf26 | 4ca73f2693fd8a70562ed83b3659ff89c940b7cb | refs/heads/master | 2021-01-10T16:14:51.853538 | 2015-11-24T13:03:43 | 2015-11-24T13:03:43 | 46,789,421 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,208 | r | rankall.R | rankall <- function(outcome, num = "best"){
df <- read.csv("rprog-data-ProgAssignment3-data (1)//outcome-of-care-measures.csv")
dffinal <- data.frame(hospital = character(), state = character())
s <- split(df, df$State)
if(outcome == "heart attack"){
for(i in 1:50){
df... |
7ac51ba33de33eb0aa815e38860a934dd70e0b57 | e4a365932c1bed3b02dbf078d21bed165264bc9b | /linear_regression.R | 0650f0113f63fef7cc5d3192a56127c82ea255be | [] | no_license | nwtuck/Algorithm-Recipes-in-R | 951db9dd3ad399c1f5ee1f9dd6ae74cc67e71525 | 23f0797e0f4e3307393aba8fb0547f65e96c5d88 | refs/heads/master | 2020-07-14T09:52:26.744069 | 2016-09-07T09:24:08 | 2016-09-07T09:24:08 | 67,592,075 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,068 | r | linear_regression.R | ## Linear Regression
## Ordinary Least Square Regression
## linear model that seeks to find a set of coefficients for a line/hyper-plane
## that minimise the sum of the squared errors.
# load data
data(longley)
# fit model
fit <- lm(Employed~., longley)
# summarize the fit
summary(fit)
# make predictions
... |
4e5ae79dfaa2769afca7d6f29762c02ed22a4451 | 84420d9b3363f42a69b744d408f2de96aa843abf | /CodePortfolio/week11.R | ab1746d00b81b0b020c37107a50c439dbfd21ac1 | [] | no_license | asabade/ANLY_506_EDA | b23afdd1410798990b2afdb762599c16ecef4e82 | ad39a8cbdab306564ef5f24702cf45ad0031cf2a | refs/heads/master | 2020-05-31T14:24:08.591117 | 2019-06-17T04:04:52 | 2019-06-17T04:04:52 | 190,326,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 481 | r | week11.R | #LIBRARY IMPORT
library(tidyverse)
library(cluster)
library(factoextra)
library(dendextend)
#DATA
df <- USArrests
#SCALE DF
df <- scale(df)
head(df)
#EUCLIDEAN DISTANCE
d <- dist(df, method = "euclidean")
# Hierarchical CLUSTURING
HCL1 <- hclust(d, method = "complete" )
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.