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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
659b97170e91eb4703f9660aadb5dcd49a9e1982 | b2de2d078b2fbf97b4d98aa806d590dd4535a068 | /NBAStats/R/DailyOdds.R | 2724f45971932eb045e03e16332eb88892d0e5cd | [] | no_license | dchen36/r-package-teamivy | 8ff1d298f3e7945a5ebc56fd07cebb4ced9e205d | 885ae8819a5f84abb0c75be42409875eaf16ac2d | refs/heads/master | 2020-04-22T22:48:53.134820 | 2017-12-21T22:56:09 | 2017-12-21T22:56:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,099 | r | DailyOdds.R | ##This function strips the daily betting odds
DailyOdds <- function(BettingDate2){
BettingDate2 <- as.Date(BettingDate2)
BettingDate <- format(BettingDate2, "%Y%m%d")
if(ymd(BettingDate) > today() +1) {
print("Sorry, the betting lines are not set yet! Lines are only released for today and the following day. ... |
af98e632b29394b671419f81961b4e4f10757fee | f7d693b780be70d28b68386bb1118626ad3a9190 | /analylb.R | 4345393727c4b666bdefeab2f5bd140f685c46fb | [] | no_license | yuyuehill/analysislb | f8ead2cb7b62d23d57951d111f75282cd2e0bce3 | 1851997dad51c3e2af965c666c6cf48f38717e9b | refs/heads/master | 2021-01-10T20:28:37.086164 | 2019-01-27T06:14:43 | 2019-01-27T06:14:43 | 41,676,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 353 | r | analylb.R |
lbdata <- read.table('/Users/hill/git/analysislb/data/luckyball.csv', header=TRUE, sep=",")
rs <- rowSums(lbdata[,3:8],na.rm=TRUE)
#plot the sum with time series
plot(rs)
lbdata <- read.table('/Users/hill/git/analysislb/data/luckyball.csv', header=TRUE, sep=",")
rs <- rowSums(lbdata[2:2,9:9],na.rm=TRUE)
#plot ... |
851557ce009114c37bea6f66b10c09df3b0cbfbd | cd56c57626210d836a6671300a45a7360ab6cf86 | /scripts/01-create-data-set.r | 891bfca157f60eb2a3b04f055793a122d5f4d079 | [] | no_license | blakeshurtz/AC_runtime_project | dfea3f73e970d7d32444c23fecfba7e0abd37ca3 | e41208ed4124e5b1e316c5122692b51058efb1a3 | refs/heads/master | 2023-06-29T02:00:50.212886 | 2021-07-28T20:25:48 | 2021-07-28T20:25:48 | 260,077,964 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,637 | r | 01-create-data-set.r | #it is NOT recommended that you run this script in isolation
#it is recommended that you open "AC_runtime_project" R project
#and run the "primary_script.r" for all analysis
#read in metadata
setwd("data")
customer_data <- read_excel("customer-metadata.xlsx",
col_types = c("text", "date",... |
7c20780e4c8873aa334a56da50a0ace9971d7289 | c76c4d07b646ec0898674adca61bcd4f5bb2ce2f | /R/bufferTimeMthly.R | f890f019c3979b1f4bac0cb95017d9b0380a370b | [] | no_license | DanBoyB/m50-perf-ind | 95d883e21376674f1b9c04dfe9cfd9799781f490 | 89ed3964bbac4cc81a70dbf94fe0bb2df56ebfeb | refs/heads/master | 2020-12-31T06:46:31.855877 | 2017-09-13T11:17:30 | 2017-09-13T11:17:30 | 86,582,992 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,079 | r | bufferTimeMthly.R | library(knitr)
library(dplyr)
library(tidyr)
library(readr)
library(purrr)
library(lubridate)
path <- "/var/datastore/"
db <- src_sqlite(paste(path, "/SQLite/M50.sqlite", sep = ""), create = FALSE)
laneNum <- read_csv("data/m50laneNum.csv") %>%
mutate(siteID = ifelse(siteID %in% c(1504,1509), 15041509,
... |
1ed3a50e29effba8a930d413529dea462214600e | e7707dccad6153d86227f5634ffb5ac42d9c7dc1 | /R/convert.R | cfab59a8799f5ae0b8017f7259f799131a5c80da | [
"MIT"
] | permissive | shahcompbio/signals | d93a144b4bcdbcefdf1fe6221adc0543f60be319 | c5ebe5f644f55c231b2e14c2e6fe78fcc987a8cd | refs/heads/master | 2023-06-25T10:02:38.279104 | 2023-06-13T17:06:30 | 2023-06-13T17:06:30 | 227,641,994 | 3 | 0 | NOASSERTION | 2023-06-13T17:06:31 | 2019-12-12T15:49:51 | R | UTF-8 | R | false | false | 1,133 | r | convert.R | #' @export
assign_haplotype_label <- function(haplotypes, hapbinsize = 50e3){
colnames(haplotypes) <- c("chr", "pos", "cell_id", "allele0", "allele1")
haplotypes$chr <- as.character(haplotypes$chr)
haplotypes$pos2 <- haplotypes$pos
bins <- getBins(binsize = hapbinsize) %>%
dplyr::rename(start_bins = star... |
6d02aace33b486f1c894448ac839987d15b8c9d2 | 1651425837dc73a61101a43242ced7c9ade54681 | /R/fitvolkov.R | 35ca9b28212c121726f226498d58b5da4575a624 | [] | no_license | cran/sads | 7b72ce8762a2be115351cb41c782d4a47755991a | 52b5d7b6a7ea38a29b23467c5539654305b48bb6 | refs/heads/master | 2021-01-18T23:41:28.702286 | 2018-06-16T21:47:56 | 2018-06-16T21:47:56 | 21,417,370 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,358 | r | fitvolkov.R | fitvolkov <- function(x, trunc, start.value, ...){
dots <- list(...)
if (any(x <= 0) | any(!is.wholenumber(x))) stop ("All x must be positive integers")
if(missing(start.value)){
tmp <- tempfile()
sink(tmp) # as the following function outputs lots of garbage...
start.value <- maxLikelihood.ESF(c(5, 0.5)... |
d7eb774bc2c1fa45c7eb9cbc95a3accd7a6ea958 | 21d0756e90c916684d531edc45ba6a4707c654f4 | /python_rules/rulemsiAddKeyValToMspStr.r | 4cf090da476b48180f86e1382c5e67631f86071f | [] | no_license | irods/irods_rule_engine_plugin_python | 8db27464a1898613849d4f216a60e20afb5665d8 | 773105f6c429ad708adfbf292164dfc9aaf3e3cf | refs/heads/main | 2023-08-06T19:30:05.326697 | 2023-07-28T20:30:13 | 2023-07-28T20:51:16 | 37,076,977 | 7 | 13 | null | 2023-07-28T20:51:17 | 2015-06-08T15:55:22 | C++ | UTF-8 | R | false | false | 358 | r | rulemsiAddKeyValToMspStr.r | def main(rule_args, callback, rei):
attr_name = global_vars['*AttrName'][1:-1]
attr_value = global_vars['*AttrValue'][1:-1]
out_str = '='.join([attr_name, attr_value])
callback.writeLine('stdout', 'The string now contains')
callback.writeLine('stdout', out_str)
INPUT *AttrName="destRescName", *At... |
bc54c2ed31770a215ffe4c26269ddca0f4ade395 | 1fc421ae8d2d0cc87944ec21ea53b37b1ef02544 | /man/Full.DevFactors.Rd | 245c008e8c96bf47e6a638623b111252ad9d635c | [] | no_license | EduardoRamosP/MackNet | 5f3df28a30385e83c4d3de0eb10606a416499c92 | 1281f90ccad86df2f496b6e1a33aeab18cf81807 | refs/heads/master | 2022-12-18T22:17:47.097987 | 2020-09-21T20:30:55 | 2020-09-21T20:30:55 | 296,931,038 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 478 | rd | Full.DevFactors.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Full.DevFactors.R
\name{Full.DevFactors}
\alias{Full.DevFactors}
\title{Full.DevFactors}
\usage{
Full.DevFactors(Cumulative.T)
}
\arguments{
\item{Cumulative.T}{Upper and lower triangle used for estimating the predictive development factors.}... |
a9b29714d69cd82d4e951d450e79714c4fd7c7a3 | 48c65804caa6d684455b066b762283fa2c538d87 | /clinical_trials.R | f324bdc6e3e2708119dc9b778dd0a3c617fbf3ca | [] | no_license | wesenu/MITx-Analytics-Edge-Coursework | 9ffa6c3c0f59d7d45972f540c8fe2b08c249581e | a7b6d1a04d494f4ff3292c74b0bb174afd295b41 | refs/heads/master | 2023-03-16T11:20:31.655383 | 2015-09-12T11:16:32 | 2015-09-12T11:16:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,492 | r | clinical_trials.R | trials <- read.csv("clinical_trial.csv", stringsAsFactors = F)
str(trials)
# Pre process data
library(tm)
# Create Corpus
corpusTitle <- Corpus(VectorSource(trials$title))
corpusAbstract <- Corpus(VectorSource(trials$abstract))
# Convert to lower case
corpusTitle <- tm_map(corpusTitle, tolower)
corpusAbstract <- tm... |
4d541313940b1400f708d77af2cf900232b14f26 | 808d4e3289a28ab439109c5c703e49911c0cc640 | /R/functions/stan-data-preparation.R | ba02642e7ae2153b46e28771c9fdc9a5ee106368 | [] | no_license | odaniel1/track-cycling | 164e2c8d1ad58b8438a85dfa115d402a34762d6f | 8f617c5e5f5961b6236221d148769dba31f75de0 | refs/heads/master | 2021-09-20T13:05:20.089377 | 2021-09-05T17:18:30 | 2021-09-05T17:18:30 | 210,910,227 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,411 | r | stan-data-preparation.R |
prepare_stan_data <- function(riders_df, matches_df, pairing_df, days_df, training = TRUE){
# arrange so all training data preceeds evaluation data
matches_df <- matches_df %>%
arrange(desc(split), round)
split_round_index <- matches_df %>%
mutate(row_no = 1:n()) %>%
group_by(split, round) %>%
... |
fb9ad5fcde19c4c401d4b5de66426662de393f5f | af363179d727883d63776a93b9b08e614d5a2b45 | /bin/genomic-signatures-cohort.R | 19e9a9c4d3b66fb39c0f20d343e8284644660562 | [] | no_license | stevekm/tmb-signatures-analysis | 113f801562d7c37768441e61d36b09a56abe40da | 7b92d03d6b02386a2874912105bb0732497378cc | refs/heads/master | 2020-04-01T22:03:31.316759 | 2019-09-04T23:32:30 | 2019-09-04T23:32:30 | 153,689,116 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,406 | r | genomic-signatures-cohort.R | #!/usr/bin/env Rscript
# Script for running deconstructSigs to produce genomic signatures
# need at least 55 variants per sample !!
# https://cancer.sanger.ac.uk/cosmic/signatures
library("BSgenome.Hsapiens.UCSC.hg19")
library("deconstructSigs")
signature_type <- 'signatures.cosmic'
tri.counts.method <- 'exome'
args... |
4266eceae77c623b68f5265e7be0d08e164834b6 | 5a7b15eb2a3453475ee70bb56e19a7bb2751db89 | /code/NOT_USED/optimization/evaluate/analyze.R | e82baf1921a6f9e89de205a44135ad650498572b | [] | no_license | m-hahn/memory-surprisal | 8db19bc86ada9c352feb66859f718749623700b6 | 1b3d680836ba87fb9186741a8d4f184fda35b122 | refs/heads/master | 2022-04-30T16:01:39.323884 | 2022-03-25T04:10:12 | 2022-03-25T04:10:12 | 156,466,125 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,376 | r | analyze.R | library(dplyr)
library(tidyr)
data_dlm = read.csv("/u/scr/mhahn/deps/locality_optimized_dlm/manual_output_funchead_coarse_depl/English_optimizeDependencyLength.py_model_3137767.tsv", sep="\t")
data_i1 = read.csv("/u/scr/mhahn/deps/locality_optimized_i1/English_optimizeGrammarForI1_6_Long.py_model_876472065.tsv", sep="\... |
f4ef6dbd1e8d7b1a10c8455bf9ea32300d494098 | d6a87f1960383e6f8014c0925b67d926ca916eb6 | /R/lsem_fitsem.R | e2959240e0e163bf8e3a6eeb5d5313849e604847 | [] | no_license | rosefu79/sirt | 6e573c082be1cfda8084f6cc6d89ba354afade7e | be5bba70c3141f3f5ae9f90088dea695c72757eb | refs/heads/master | 2020-04-13T09:35:44.970577 | 2018-12-10T14:13:24 | 2018-12-10T14:13:24 | 163,115,635 | 1 | 0 | null | 2018-12-25T22:43:40 | 2018-12-25T22:43:39 | null | UTF-8 | R | false | false | 3,726 | r | lsem_fitsem.R | ## File Name: lsem_fitsem.R
## File Version: 0.42
##############################################################
lsem_fitsem <- function( dat, weights, lavfit,
fit_measures, NF, G, moderator.grid, verbose,
pars, standardized, variables_model,
sufficient_statistics, lavaan_fct, lavmo... |
77059b04a65617c43494305da7ad36916ab59f2d | 584fd6953d01b615c904f6b4ad9d6cb591bdb133 | /data_3/source/scr.R | 375a00ffb8b158e8b058da6d7e14a0fa14d2af7e | [] | no_license | sebastian-ospina-cuartas/taller_r-202102 | 4f5e04d4d362e9fc3d62e2afb77befa491afe364 | 5d3d66621b044d6b669f9c21b58a7a75c821c838 | refs/heads/master | 2023-09-04T02:30:31.899937 | 2021-11-03T21:45:05 | 2021-11-03T21:45:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,835 | r | scr.R | # Elaborado por: Eduard Martinez
# Colaboradores:
# Fecha de elaboracion: 25/08/2021
# Ultima modificacion: 25/08/2021
# configuracion inicial (comentario prueba max)
rm(list = ls()) # limpia el entorno de R
if(!require(pacman)) install.packages(pacman)
require(pacman)
p_load(dplyr,data.table)
print('No fijamos un WD ... |
bd3ec9cc8831e7a73e4b7d47f45c09e6fd7b9e3b | 577f03954ec69ed82eaea32c62c8eba9ba6a01c1 | /R/h2o-package/man/h2o.naiveBayes.Rd | 0e828043218db279ba86cb5e04b8ebd02e23fbf2 | [
"Apache-2.0"
] | permissive | ledell/h2o | 21032d784a1a4bb3fe8b67c9299f49c25da8146e | 34e271760b70fe6f384e106d84f18c7f0adb8210 | refs/heads/master | 2020-02-26T13:53:01.395087 | 2014-12-29T04:14:29 | 2014-12-29T04:14:29 | 24,823,632 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,915 | rd | h2o.naiveBayes.Rd | \name{h2o.naiveBayes}
\alias{h2o.naiveBayes}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
H2O: Naive Bayes Classifier
}
%% ~~function to do ... ~~
\description{Builds gradient boosted classification trees, and gradient boosted regression trees on a parsed data set.
}
\usage{
h2o.naiveBayes(x... |
e9b085dc66dabe1270a307eb5a9925e73f81910f | 1b4f0bc2361d4d2b27aed0f7e00832945acc4e48 | /R/manageTags.R | 928fe250cdbb2d66363a393f5094ed88fad5e366 | [] | no_license | Lchiffon/Rweixin | 5016200d68c58372be04f56cd8f93a3b36f3b4d6 | 7d75e7c6e534d75ef8c0de591ea56b9989fadc97 | refs/heads/master | 2022-06-28T14:51:51.117647 | 2022-06-13T08:50:18 | 2022-06-13T08:50:18 | 101,831,958 | 22 | 8 | null | null | null | null | UTF-8 | R | false | false | 1,861 | r | manageTags.R | getTagsList <- function(obj,...){
if (!inherits(obj, "weixin")) stop("A weixin object is required!")
url = "https://api.weixin.qq.com/cgi-bin/tags/get"
requestURL = paste0(url, "?access_token=", obj$oauthToken)
t0 = .getURL(requestURL, ...)
return(t0)
}
getTagUsers <- function(obj, tagid, ...){
if (!inherits(... |
11f9e1a63767541b95af0502e08b9dabfa69fd05 | 77eebb3e0eb6c2bdf477fba817d67dfbad94a03c | /first attempt.R | f5160523d08f1573e071b8b3a08231efd797be9e | [] | no_license | phileas-condemine/moskitoes_kaggle | eb5041a4661fe5de2820aba2393e2790904fb48a | 9f10466e8ebfb3056e48ecd0de5ab6b266168048 | refs/heads/master | 2021-07-16T00:16:16.226036 | 2017-10-18T15:42:31 | 2017-10-18T15:42:31 | 107,428,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,348 | r | first attempt.R | setwd("/Users/p-condemine/Documents/kaggle moskitoes/")
library(data.table)
require("rgdal") # requires sp, will use proj.4 if installed
require("maptools")
require("ggplot2")
require("dplyr")
require("rgdal")
db=fread("/Users/p-condemine/Documents/kaggle moskitoes/train.csv")
db[,c("NumMosquitos","WnvPresent",... |
bf43acbb9099d1c3fbbe1ae306cfef4e0768ec68 | 2cdb57f6c9ff73d2fb3ed4e3fbc52143f8014f21 | /man/DataStructure.Rd | 0593e79f08a50d72d60e56cd8247fc3e48b789d7 | [] | no_license | cran/LGS | 29afe18731c88aeaac52055377eae7808bafd6c1 | e2e178de5d7c3a59ee1a9d4960433f9bdc841f94 | refs/heads/master | 2021-01-10T20:39:12.074818 | 2008-12-12T00:00:00 | 2008-12-12T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | rd | DataStructure.Rd | \name{DataStructure}
\alias{DataStructure}
\title{ Data structure of LGS output }
\description{
\code{summaryLGS} provides summary statistics about the allele ratio and populations of an LGS object.
}
\author{ Dario Beraldi <\email{dario.beraldi@ed.ac.uk}> }
% Add one or more standard keywords, see file 'KEYWO... |
a4389ca4a170e67379259990db1cf5823dd04f43 | 9b55a2a720fbc00b9fe014099734ef9d7b560870 | /Air Passengers Time Series.R | 60885b6f528f4232d114cbebdd273d695cabf7b2 | [] | no_license | mauryask07/Air-Passengers-Time-Series | 67298b512638bd8f5b0895c901ab98ebb0b3d0d8 | 82f80fd1a2c0cb2f80ace91b8d67e945728286b7 | refs/heads/master | 2021-05-13T16:31:57.966520 | 2018-01-09T09:47:50 | 2018-01-09T09:47:50 | 116,796,466 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,453 | r | Air Passengers Time Series.R | # Load the data
data("AirPassengers")
AirPassengers
class(AirPassengers)
#This tell us that tha data series is in a time series format
frequency(AirPassengers)
#This cycle of the time series is 12 months in a year
plot(AirPassengers)
summary(AirPassengers)
#Summary of the data
abline(reg = lm(AirPassengers~ti... |
686a1ab6b4089368ce2fa7978f084ed9f0305cb1 | 2fed785e9aa814dffca8c87319984891cec0dbdb | /ui.R | d898a7b68bc14d727809e81127ab7e5839d3692a | [] | no_license | HunterRatliff1/STEP2Reddit | 5f57ccb529579748f2551b96911349e6dbb5af50 | ad5234b00dd4b14fe553cdb1ad76c943bb8d2640 | refs/heads/master | 2022-02-18T04:03:58.451152 | 2019-09-06T17:49:07 | 2019-09-06T17:49:07 | 197,857,684 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,494 | r | ui.R |
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
# ---- Packages
require(shiny)
suppressPackageStartupMessages(require(tidyverse))
require(ggthemes)
require(lubridate)
require(stringr)
require(ggrepe... |
8ae909d82bd710ca823e0d9e7c0071708e9fdddd | 22e805419af43a4cde1cb5dd1dbd0b237f79f564 | /german credit data analysis.R | c530687d94627fed92596b3ba88cca9e3d83f1ab | [] | no_license | Shixi99/German-Credit-Data-Analysis | dc3e9cf19f673925c97aad00c0f73364fdb24dd0 | 9ddb482943b863f3679e5019d88342cf15a90f00 | refs/heads/master | 2022-04-29T01:09:46.725122 | 2020-04-27T08:52:34 | 2020-04-27T08:52:34 | 259,257,860 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,655 | r | german credit data analysis.R | # install.packages(c('caret','ROSE'))
# options(repos='http://cran.rstudio.com/')
library(data.table)
library(tidyverse)
library(scorecard)
library(inspectdf)
library(h2o)
library(highcharter)
library(stats)
library(DMwR)
library(ROSE)
library(caTools)
library(caret)
dat <- fread("D://DATASETS//credit_german.csv")
da... |
626cee41b15ee62775ab9abd2ef4d3e12102722d | d42d1cd25bb3726c7a42caf4195eca2f2ac43c6e | /Pterois_volitans_ctrl_parameters.R | 556de1539bdf4d0f36d6ef1cfcf651c382321b80 | [] | no_license | population-genetic-modeling-dis/seaINVADERS | e6f1b29eb7b8b0c96ec3a0f70c32406236714754 | c6e7d06122bd61fd7c89320ac92f5fab52873d7e | refs/heads/master | 2020-04-20T22:58:48.515603 | 2019-06-07T17:05:26 | 2019-06-07T17:05:26 | 169,156,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,438 | r | Pterois_volitans_ctrl_parameters.R | #### Parameters for space_invaders.R model #####
NP <- 7 #Number of processors to use
MODEL_DURATION <- 50 #Number of years to run the model
NUM_BOOTSTRAPS <- 10 #Number of simulations to run with each source
#### Population Genetic Parameters ####
species <- "PtrVol"
source.name... |
4fad1c91bce7c68164a1cce22361ed9739ead7d4 | c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab | /man/gtkItemFactoryDeleteEntry.Rd | dd1aaef9b10bbbb50f0c99a6271b5461b7451e87 | [] | no_license | cran/RGtk2.10 | 3eb71086e637163c34e372c7c742922b079209e3 | 75aacd92d4b2db7d0942a3a6bc62105163b35c5e | refs/heads/master | 2021-01-22T23:26:26.975959 | 2007-05-05T00:00:00 | 2007-05-05T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 655 | rd | gtkItemFactoryDeleteEntry.Rd | \alias{gtkItemFactoryDeleteEntry}
\name{gtkItemFactoryDeleteEntry}
\title{gtkItemFactoryDeleteEntry}
\description{
Deletes the menu item which was created from \code{entry} by the given
item factory.
\strong{WARNING: \code{gtk_item_factory_delete_entry} has been deprecated since version 2.4 and should not be used in ne... |
d07b6c0f5908363c496bf1f8bc1f1cad55cf68d4 | ad25c879bd226c9a90609905732e3f11a83ca18d | /subsetting using dplyr.r | bf5d386a5b1cbd87c14d3a3a8b3286f439e1075d | [] | no_license | VinayRana5674/R-Programming | e8556f707747b323f9b4552042d0557092b7a605 | 5a0f05c301e5eb8553028cda69cd1fd12ee52c4d | refs/heads/master | 2020-06-16T02:32:59.331994 | 2019-10-21T07:52:09 | 2019-10-21T07:52:09 | 195,456,086 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,603 | r | subsetting using dplyr.r | #Titanic Dataset
customerdata["cust1","prod"]
#List
l1=list(customerdata,b=c(20,30),mtcars)
#Accessing element from list
l1[[1]]
l1[[2]][1]
l1[[3]][2,1]
#Adding elemnt from list
l1[4]='a'
l1
#Replacing element
l1[[2]][3]=60
l1[[2]]
#Removing elements from list
l1=l1[-4]
l1[[2]][-3]
#-------... |
bb644c8368759413f917b14ba4cb3f73f2fe2aa0 | 9e87c2e512327fafab69efea70dcd5a735878e9f | /server.R | 166bd06552469b7487112f1d723109015d0a2cff | [] | no_license | gracemshea/Coursera-Clickstream-ShinyApp | ed14935fa0773be8d8aaed62c382839da8cbbe4c | 5bb6c752fdcacce4b5c09771b1a53b6021a6204d | refs/heads/master | 2020-07-25T15:59:10.635677 | 2017-05-10T18:12:37 | 2017-05-10T18:12:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,353 | r | server.R | #
# This is the server logic 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/
#
library(shiny)
# Define server logic required to draw a histogram
shinyServer(function(inp... |
801b2315bfafaa04fab75485dd115c3655bf63ca | 48cbb955ea27365c1266b6bedd1f2f56288615d1 | /test_sampling_r_package.R | 1231d923ff80b88ca35b4b6d1ffab04048cb62c4 | [
"CC0-1.0"
] | permissive | fschirr/sampling_r_package | 015dc1ed44834c043d57f742998133735d789d9c | 4703c8c2dc8b2cdd7d5d1f773fa96eb3444081e1 | refs/heads/master | 2021-01-17T04:48:23.200150 | 2016-06-13T13:38:07 | 2016-06-13T13:38:07 | 38,422,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,534 | r | test_sampling_r_package.R | # Prepare and run simulations
volunteerdata <- CreateEcologist(50, 50, 60, 50, 10)
expertdata <- CreateEcologist(50, 80, 10, 0, 200)
system.time(samplingresult <- Sampling(Papilio, 100, expertdata, volunteerdata,
100, 1, 0, 0, outputall=F))
system.time(evaluationresult <- Evalu... |
3e12d4c3970ac1c451abc473d47db376a187e0af | 5bd7f231f3d30e08bca887eb92c115fbc1d01eae | /Data cleansing/data_cleaning2.R | f32833297c83bfb7e476b79d680fd9b003f271c5 | [] | no_license | yhuai001/DataScience-JohnsHopkins-R | cbc9f7844c49c2b995eca3e75f6e8b1215dfe6d1 | aa92a8320e986adf470046fcc576493c865e3097 | refs/heads/master | 2020-03-19T17:43:44.910748 | 2018-06-10T03:35:22 | 2018-06-10T03:35:22 | 136,774,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,227 | r | data_cleaning2.R | #MySQL
ucscDb <- dbConnect(MySQL(), user="genome",
host="genome-mysql.cse.ucsc.edu")
result <- dbGetQuery(ucscDb, "show databases;"); dbDisconnect(ucscDb);
head(result)
hg19 <- dbConnect(MySQL(), user="genome", db="hg19",
host="genome-mysql.cse.ucsc.edu")
allTables <... |
0a4cfc187d5950cb875b293eb0976c113885585d | 8876242d9cbaa59a781aba848b1a2213aa14e16c | /leaflet.R | 381b5dc0ed34222e8f178c4445fb34a2d33f1f26 | [
"Apache-2.0"
] | permissive | ajsmit/SACTN | fb4d21da869ea2f16eda97a65b701e51969602c3 | fc933ce22082a4b431cb75285bc13f74d3e4ef8c | refs/heads/master | 2021-01-17T00:05:59.831413 | 2018-06-19T14:54:54 | 2018-06-19T14:54:54 | 46,488,915 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 699 | r | leaflet.R | library(leaflet)
sites <- read.csv("metadata/site_list_v4.2.csv")
pal <- colorFactor(palette = c("yellow", "orange", "green", "red", "turquoise", "navy", "blue"),
domain = c("DAFF", "DEA", "EKZNW", "KZNSB", "SAEON", "SAWS", "UWC"))
content <- paste(sep = "<br/>", "<b>", sites$site, "</b>", sites$s... |
b9885a967d848b2e4613d0cedc599e38c93d65f6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GENLIB/examples/gen.max.Rd.R | a0eeafafaa0b05a2736ab8160765a692406483b7 | [] | 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 | 404 | r | gen.max.Rd.R | library(GENLIB)
### Name: gen.max
### Title: Maximum number of generations
### Aliases: gen.max
### Keywords: manip
### ** Examples
data(geneaJi)
genJi<-gen.genealogy(geneaJi)
gen.min(genJi,c(17,26))
gen.mean(genJi,c(17,26))
gen.max(genJi,c(17,26))
data(genea140)
gen140<-gen.genealogy(genea140)
gen.min(gen140... |
1e6e56cab9d768a9866b3f6659e30fec1955ac5b | 94ad4efa72e9ac54513b259dc4c665d49fec80ee | /iif/brainstorm_examples/pageresize.R | 4cb835c064ebe12086d37c35de9bbd6fb8a3be2c | [] | no_license | schwarzm3283/shiny-server | e4f67a9c6b471125b31b8d4cea5385de4e2426c2 | 0e576165d8d7afddd50e7c4159ac0c05e1b0298e | refs/heads/master | 2021-01-17T05:07:53.447205 | 2017-06-27T17:52:27 | 2017-06-27T17:52:27 | 83,227,260 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | pageresize.R | library(shiny)
library(plotly)
# make a chart that we will use throughout
# this is just for convenience in this example
p <- ggplotly(
ggplot(mtcars, aes(x=mpg,y=hp,color=factor(cyl))) +
geom_point() +
facet_wrap(~cyl, ncol=1)
) %>%
layout(margin=list(r=100, l=70, t=20, b=70))
# for better layout
# fl... |
600464e8168b499ee32c96df01d2bf3709bca098 | 2c86fa2bfd5796570aeca475f86b7d7d6a052ddb | /app.R | 49dfdd49e6ce2c1c2a7bab0d755636067aad4a48 | [] | no_license | lakshyaag/CrimeInIndia | f873eed3b8362d1bccf8ec8a6df69de53dc0422d | 0947caa704e3de235919e8f3c5e542e4d6e3e5b4 | refs/heads/master | 2020-07-14T22:57:03.641824 | 2020-03-18T08:17:31 | 2020-03-18T08:17:31 | 205,421,045 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,483 | r | app.R | library(dplyr)
library(tidyverse)
library(ggplot2)
library(ggalt)
library(forcats)
library(R.utils)
library(png)
library(grid)
library(ggpubr)
library(scales)
library(bbplot)
library(ggthemes)
library(colourpicker)
library(DT)
library(shinythemes)
crime <- read.csv('crime_2016_tidy.csv')
# List of crimes
crime_list <... |
3eb306579dd8b70b1a989e3cfaaf904f951b7921 | 36e3621c72b88f1d13f40acde975161e9361146d | /4_file_paths/summarise_locations.R | 4fb4144b9dbfd246c40656ca25c7d7652c312241 | [] | no_license | ghoresh11/ecoli_genome_collection | 65d84deb833593e861a507f9505d1e295a83983a | a8bf70b812ca7fca48e6fafbf01c0768a4a0b313 | refs/heads/master | 2023-01-18T15:25:15.042316 | 2020-11-27T07:38:34 | 2020-11-27T07:38:34 | 171,271,168 | 8 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,880 | r | summarise_locations.R | library(ggplot2)
library(RColorBrewer)
setwd("/Users/gh11/e_colis/genomes/4_file_paths/")
md_with_locs_prev = read.table("metadata_fixed_with_loc_prev.csv",
sep = "\t", stringsAsFactors = F, comment.char = "", header =T)
md_with_locs = read.table("metadata_fixed_with_loc.csv",
... |
dbeced23958ac8d40b9f8a509c8d4c13555cfbf9 | 7f676cf7d612fd55e4f4bd55c7bb6460d5159907 | /gibbs/ui.R | 7bd73499ac1da17993c81df0f41346d65025b660 | [] | no_license | Delvis/tutorial_bayesiano | f5f8e86b01e9b1eca42ad2f3f3cb6bde9496b0da | d22af15823ca8ba76f4b87febc762d61719c7b50 | refs/heads/master | 2021-01-15T08:43:22.045915 | 2014-10-22T08:18:44 | 2014-10-22T08:18:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 844 | r | ui.R | library(shiny)
shinyUI(fluidPage(
#h1("GIBBS SAMPLER"),
absolutePanel(
bottom = 20, right = 0, width = 300,
draggable = TRUE,
wellPanel(
sliderInput("thin",
"Número de Adelgazamiento(thinning):",
value = 1,
min = ... |
247e04b8ebcd44d2a6f45bf9101b88e2262a96ca | 455672ec0a682cc0aa628b77b308a32b25cbe667 | /Codes/Project.R | 3a08a7fe51b591e7c8a5bb2126edd37a8c7dd182 | [] | no_license | the-eon-flux/Regression_Models | 36678361e24957bec079a780f92161df23e5450a | 18bd17ffbbefeeed24382f4a3446fc8edf78f074 | refs/heads/master | 2023-01-02T11:35:20.009163 | 2020-10-23T17:15:41 | 2020-10-23T17:15:41 | 299,348,755 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | Project.R | # Load data
data("mtcars")
mtcars$am_X <- 1 * mtcars$am ==0
fit <- lm(mpg~factor(am)-1, mtcars)
summary(fit)
anova(fit)
plot(fit)
|
fe5a9e0a712f9844a2ea0f8f60525c7ec339ee37 | 4571cdfa21e4150b68ef8b15103032d354ab4a54 | /man/listMissing.Rd | 1389701e8a1baec172ea509a5038a545bbe956ed | [] | no_license | shraddhapai/dataExplore | 97a0eb7767a1228455208406cbfb09f4a119ee5d | 047baadf8efdc1f24bf16ab7c987cac9e9747034 | refs/heads/master | 2021-03-13T02:03:55.047042 | 2020-03-06T01:12:02 | 2020-03-06T01:12:02 | 91,477,269 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 981 | rd | listMissing.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/listMissing.R
\name{listMissing}
\alias{listMissing}
\title{flags variables and samples exceeding certain level of missingness}
\usage{
listMissing(x, maxMissVar = 0.25, maxMissSamp = 0.25,
rmMissing = FALSE)
}
\arguments{
\item{x}{(matrix ... |
10cb84b255077a09ce06d5c1e725a810bcf26172 | 0bdf2f0ec3515abc0800d74fa74b16a2206e5187 | /man/total_plastic.Rd | 5359658e4e19e5192f0d88b836ea87fa6ec0f846 | [] | no_license | LiamDBailey/NatGeoDataViz | af533d31099e2c608c13046271a5ff846c26a516 | 3bff826f20f1a5cd689f34453012ade0c55d2fa7 | refs/heads/master | 2020-05-30T12:24:05.026020 | 2019-06-10T17:24:28 | 2019-06-10T17:24:28 | 189,733,378 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 417 | rd | total_plastic.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_data.R
\name{total_plastic}
\alias{total_plastic}
\title{Extract table with total plastic production over time}
\usage{
total_plastic(extracted_data)
}
\arguments{
\item{extracted_data}{Raw scraped data generated by package tabulizer.... |
539f88591ad4f9c4867c7b025d5f3dcf633aa682 | 317bba03e6bb5d3e959890569a89c2fbb2b378c2 | /Test/Two-Sample-Test/t-test.R | 5eb597612d2393360d5ddf120ca9851c9501906c | [] | no_license | jimcrozier/rattle | 5d402963be454fb7d619490008dc773ed91453f7 | 14e873cdfe68a3549887e2300d7dee1a3f6c2197 | refs/heads/master | 2021-01-21T04:03:25.890240 | 2014-02-14T17:53:53 | 2014-02-14T17:53:53 | 16,208,223 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 193 | r | t-test.R | # Use the fBasics package for statistical tests.
require(fBasics, quietly=TRUE)
# Perform the test.
locationTest(na.omit(crs$dataset[, "Sepal.Length"]), na.omit(crs$dataset[, "Petal.Length"]))
|
cd509eb42d8a1858dd0106d8179da218c1687fd3 | 8b5997cd77638ba7df64adf28e8fc81b7954ebb1 | /clustering.based.on.direction.of.expression.R | 9eb4cd178c1244ee0e90d9686994ea613e9353f0 | [] | no_license | imjoohyu/R.scripts.for.RNA-seq | 6fefe2476ef6eaee71c5786e4bf6411469a668fd | b299a54f4e095025fc2818dbbb84401405e67cce | refs/heads/master | 2020-06-10T20:45:49.736589 | 2018-01-29T23:36:40 | 2018-01-29T23:36:40 | 75,879,268 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,966 | r | clustering.based.on.direction.of.expression.R | ####################################################
#Cluster samples based on the direction of expression
#September 7, 2016
#Joo Hyun Im (ji72)
####################################################
#Create a table of direction of expression for each gene in each condition
#1 = Up, 0 = EE, -1 = Down
#This method reduc... |
00a94c6763ccbff94938bf85ea47da9a909796b6 | 5e5cf4ceec1ec61d94f31b066acde03313d34ab7 | /rColorTable.R | 0e868997c37c3e93d4df0d0b514dbd75a6d1d850 | [] | no_license | FloraKrivakTetley/rColorTable | db7fde18c0d8e2c0903889f71c87a39d5237bd8c | 07a0aeabeaa64bfa956526b36cebb4654030c8e2 | refs/heads/master | 2021-06-06T23:24:12.254521 | 2016-07-08T13:17:23 | 2016-07-08T13:17:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,909 | r | rColorTable.R | #### Make 2-page color table of all colors available in R ####
# R color convention is color, color1, color2, color3, and color4
# with shades getting progressively darker
# For example skyblue, skyblue1, skyblue2, skyblue3, skyblue4
# This table prints only the full name, and fullname4 if available
# This table does n... |
f81677db25f9c742f01b1443810daa04dec8cdbd | dd46e7fb0c626ff4ebdebc7c7108ed5f6575b11c | /man/plot_mlLoganfit.Rd | 4e7a0de217b5bd00661bdf9e395067d0a5786eb7 | [] | no_license | eebrown/kinfitr | 3222443d03ed17bf7c9a54d7681ab26d03383c77 | 3aa34c83dc77fb995841a36f65055e7769a90d9a | refs/heads/master | 2020-04-08T13:38:25.448190 | 2018-04-05T17:36:01 | 2018-04-05T17:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 653 | rd | plot_mlLoganfit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kinfitr_mlloganplot.R
\name{plot_mlLoganfit}
\alias{plot_mlLoganfit}
\title{Plot: Multilinear Logan Plot}
\usage{
plot_mlLoganfit(loganout, roiname = NULL)
}
\arguments{
\item{roiname}{Optional. The name of the Target Region to see it on the ... |
40a3d19cec42b0d8fcbbdd537803c054b5794748 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ggquickeda/examples/geom_kmband.Rd.R | 2301852dc88dc222af0e6495ad8b10c218d6362a | [] | 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 | 393 | r | geom_kmband.Rd.R | library(ggquickeda)
### Name: GeomKmband
### Title: Display Kaplan Meier Curve
### Aliases: GeomKmband geom_kmband
### Keywords: internal
### ** Examples
library(ggplot2)
sex <- rbinom(250, 1, .5)
df <- data.frame(time = exp(rnorm(250, mean = sex)), status = rbinom(250, 1, .75), sex = sex)
ggplot(df, aes(time = tim... |
ee97b0f31e8ce4f9fa8299affc81e8b1c2bcbdb0 | fbe57536cc2d84e69a5bf799c88fcb784e853558 | /R/hist.ungrouped.R | 5b39694a8279d6fbe3bf80069e7ec55b663e6f1d | [
"MIT"
] | permissive | burrm/lolcat | 78edf19886fffc02e922b061ce346fdf0ee2c80f | abd3915791d7e63f3827ccb10b1b0895aafd1e38 | refs/heads/master | 2023-04-02T11:27:58.636616 | 2023-03-24T02:33:34 | 2023-03-24T02:33:34 | 49,685,593 | 5 | 2 | null | 2016-10-21T05:14:49 | 2016-01-15T00:56:55 | R | UTF-8 | R | false | false | 1,311 | r | hist.ungrouped.R | hist.ungrouped <- function(
x
,col="lightblue"
,main="Ungrouped Histogram"
,stat.lsl = NA
,stat.lsl.label = "LSL"
,stat.target = NA
,stat.target.label = "TGT"
,stat.usl = NA
,stat.usl.label = "USL"
,freq = T
,after.plot ... |
4a003b61fd3f7c0f9050ff86154cde2a0559e7f3 | ff9eb712be2af2fa24b28ecc75341b741d5e0b01 | /man/gpqCiNormCensored.Rd | b8fe93bd28b7ad3a208ac8cd27338e445a31c555 | [] | no_license | alexkowa/EnvStats | 715c35c196832480ee304af1034ce286e40e46c2 | 166e5445d252aa77e50b2b0316f79dee6d070d14 | refs/heads/master | 2023-06-26T19:27:24.446592 | 2023-06-14T05:48:07 | 2023-06-14T05:48:07 | 140,378,542 | 21 | 6 | null | 2023-05-10T10:27:08 | 2018-07-10T04:49:22 | R | UTF-8 | R | false | false | 9,207 | rd | gpqCiNormCensored.Rd | \name{gpqCiNormCensored}
\alias{gpqCiNormCensored}
\alias{gpqCiNormSinglyCensored}
\alias{gpqCiNormMultiplyCensored}
\title{
Generalized Pivotal Quantity for Confidence Interval for the Mean of a Normal Distribution Based on Censored Data
}
\description{
Generate a generalized pivotal quantity (GPQ) for a c... |
1be6d49e4d166bae471cf5d894bbeb896d8c3c41 | f02a8015cc634a67758876bb1b8f5d06948d9c50 | /bis557/man/ridge_regression.Rd | 7aab2e4ef00b3a0a910aa092a22ee874efb72879 | [] | no_license | Klong0725/bis557 | 54650d1f2d71038e88dd2a9eb030c49df86001f1 | 589f46487b38da7c77d5ce184ad2b717cbcc6149 | refs/heads/master | 2020-08-27T00:40:06.938950 | 2019-10-24T03:23:00 | 2019-10-24T03:23:00 | 217,196,320 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 569 | rd | ridge_regression.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ridge_regression.R
\name{ridge_regression}
\alias{ridge_regression}
\title{Implement ridge regression}
\usage{
ridge_regression(X, y, lambda = 0)
}
\arguments{
\item{X}{numeric data matrix of predictors in a ridge regression model}
... |
d4ebc44bc16a08302e6c99287b8d58fac0c1b56a | fcb8f1ff74fd9de6d27399c73300580d68365c16 | /indagridat/man/indiastat.Rd | a2c9869f46f071b71dbd651e8b5b9511b055be4d | [] | no_license | simonmoulds/r_indagridat | bae0d7f3c58764bf1ffcfdce89690012d06c30ea | b1942703f023be330221322f42aaf3cdebb74529 | refs/heads/master | 2021-01-17T09:00:58.282188 | 2019-12-16T11:45:08 | 2019-12-16T11:45:08 | 40,711,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 342 | rd | indiastat.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{indiastat}
\alias{indiastat}
\title{District level agricultural statistics for India}
\format{A data.frame}
\usage{
indiastat
}
\description{
Dataset containing various... TODO
}
\examples{
data(indiastat)
... |
a88f2d6b68ff76d9727607badb504aa7c5b77897 | d60483c8da8c1ad871bdf6a6ba9c918b3bae33a5 | /R/AKm02a0.R | ca3d2b30c68f3624fcc9e7ad4ddfafdf102a7391 | [] | no_license | cran/MortHump | b8f02f191ff5eb6fa41d8a9251a27930e7b0a9ce | f080bed7bb8fcc6165546e7d74735710d999a886 | refs/heads/master | 2021-05-03T11:44:10.798604 | 2018-01-24T11:56:41 | 2018-01-24T11:56:41 | 64,298,178 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,827 | r | AKm02a0.R | #' @title \code{AKq02a0} estimates a0 using the Andreev-Kingkade rule of thumb.
#'
#' @description \code{AKq02a0} is an auxiliary function used by version 6 of the four HMD lifetable functions, \code{ltper_AxN()}, \code{ltcoh_AxN()}, \code{ltperBoth_AxN()}, \code{ltcohBoth_AxN()}.
#'
#' @param q0 a value or vector ... |
7eafd0a16d4dbec7b515eab54bcffdbf50a47951 | edc33b49b028ef4446a33cf42ac444cebb48dc22 | /test.R | db758dd65324f237e6517a321ea6f827c46e0332 | [] | no_license | mayamathur/time-varying-covariates | 228d425ac4d17e8fbae2e6250cc40ffc40a51678 | 71241a938edaa220895396a3c5bf77adbd324c1c | refs/heads/master | 2020-09-21T13:35:26.670422 | 2015-02-24T19:09:46 | 2015-02-24T19:09:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24 | r | test.R | # here is some test code |
4968b62a67218ca3e578a51d3fcc31f7c989ab33 | 3dc38709642fb1556a29feb21951e666c12d8bc9 | /man/subsetDim.Rd | 0a0ff98678c969345ed56b7b808b37b3c9eebec6 | [
"BSD-3-Clause"
] | permissive | nuno-agostinho/cTRAP | 010dfff8cc02f110926e73a80a39b3125aa53473 | 491b0e9d41ddc313c3deb95b04fe84e9d44bc985 | refs/heads/master | 2023-09-01T05:14:34.383038 | 2023-02-15T09:00:59 | 2023-02-15T09:00:59 | 150,247,015 | 5 | 1 | NOASSERTION | 2023-02-15T09:01:01 | 2018-09-25T10:23:35 | R | UTF-8 | R | false | true | 338 | rd | subsetDim.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{subsetDim}
\alias{subsetDim}
\title{Subset rows or columns based on a given index}
\usage{
subsetDim(k, dims, nargs, areCols = TRUE)
}
\value{
Subset rows/columns
}
\description{
Subset rows or columns based on a given index
}
\... |
18db6799e30b081224a05d9fb28c1e78ced97c61 | 716fe3ec13ba4cd2a77dfa4253c0c62df02a5c2b | /man/KennardStone.Rd | 373c74a50bac079856a6c57286562f073f6f8ffc | [] | no_license | HMzhu/CTVPdtw | 7d9b76bf30c96ea9b945b87b77caf894ec33aae9 | dad77175e6148ce587d49f2f1979a7d6de3271c7 | refs/heads/master | 2021-07-07T06:15:00.079466 | 2020-10-21T02:25:55 | 2020-10-21T02:25:55 | 199,740,121 | 3 | 4 | null | 2020-10-21T02:25:57 | 2019-07-30T23:06:11 | R | UTF-8 | R | false | false | 1,273 | rd | KennardStone.Rd | \name{KennardStone}
\alias{KennardStone}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
KennardStone sample partitioning
}
\description{
Use the Euclidean distance between samples to do sample partitioning
% Input
}
\usage{
KennardStone(x,num)
}
%- maybe also 'usage' for other objects documente... |
018de5c952d6082ff490f10bc0a52cb9c3a62c05 | 3dd0a2a2da595180a3dbc0476a441e21948bad47 | /DesarrolloPreguntas.R | 5863a3af42e4c694df809c893c6c6279ca72b2de | [] | no_license | Rafael1107/CIERRE_SEMESTRE_S2 | c60bc819643b67ea54e0ba1d8fd2877563d19aaa | 413cab36db56a4e679f68c6397a25c6f6df1db00 | refs/heads/master | 2020-11-26T03:30:14.554226 | 2020-01-09T16:00:24 | 2020-01-09T16:00:24 | 228,953,084 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,726 | r | DesarrolloPreguntas.R | DesarrolloPreguntas.R
#########################EJERCICIO 1 ####################################
##########################################################################
Ejemplos=sample(c("Positivo","Negativo","Neutros"),100,replace=TRUE)
#################Contando los Positivos################
n_positivos<-0
for (i in... |
9e22ca7c230e3be3bfbb10b90defa9d794af8c1a | 65b7c1a0100da9d016bbbe49648b71dd026f2601 | /5-10 Reshape包:数据融合(melt)和重铸(cast).R | 89e5cc86fff319794b88862b8e347ca51c0ba34e | [] | no_license | xush65/R_in_Action | a3b0f8659abe7b807b9e244dc3f9e518a15dd2bf | 228538c3affca78464fa63b97cba3fb1d1d335ec | refs/heads/master | 2021-06-10T10:14:37.119012 | 2017-02-16T03:10:26 | 2017-02-16T03:10:26 | null | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 651 | r | 5-10 Reshape包:数据融合(melt)和重铸(cast).R | #merge 见4-9
#使用R自带的airquality数据阐明melt和cast的用法:
#首先了解airquality的数据情况
head(airquality)
#使用melt函数:
library("reshape")
library("reshape2")
aql <-melt(airquality, id.vars = c("Month","Day"), variable.name ="climate_variable", value.name ="climate_value")
#把各项天气情况据数据分开,对于每一项气象状况按月、日排序。
head(aql)
aqw <- cast(aql, Month + Day ... |
054ec246581f3aed8819fa4570ee7b10a6246b63 | 0cf89b25d1b7d0ba7696a34b9287389d216c2149 | /man/numextract.Rd | c0f9a364b7a77bc59918f6de34257a57fef67f7c | [
"MIT"
] | permissive | rpkyle/cscmisc | 790567b8453d71e99cf08d90e03faa1991f6f493 | afcec1f4b310390f5853bf8d7c1f7cd62df094bf | refs/heads/master | 2020-03-28T06:37:43.305367 | 2019-03-08T17:00:01 | 2019-03-08T17:00:01 | 147,845,151 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,958 | rd | numextract.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/numextract.R
\name{numextract}
\alias{numextract}
\title{Extract Numeric Values from Character Strings}
\usage{
numextract(string, sequence = "first")
}
\arguments{
\item{string}{A single string of \code{class} string to parse for digits.}
\... |
9cbf6b155b196cc4cc902b8a1975c9d7074416b2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sapa/examples/taper.Rd.R | 305a2b958ffb9a6dad0c9148fe2843ec96b4bb73 | [] | 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 | 709 | r | taper.Rd.R | library(sapa)
### Name: taper
### Title: Oracle function for obtaining a particular taper/window
### Aliases: taper as.matrix.taper plot.taper print.taper
### Keywords: ts
### ** Examples
require(ifultools)
## change plot layout
gap <- 0.11
old.plt <- splitplot(4,4,1,gap=gap)
## create a plot of all supported tap... |
c5195f08fc59a9c2bf6dcd2c5bb80be98f682efe | 8df49c76b6f4a9856dbb93658cb2aa70c7cdb821 | /run_analysis.R | 698a0c68ffa4849cf5a6c9c8399a8a4e20bb1f83 | [] | no_license | ctangar/Gett_and_Clean_data_project | 7dc9d7ed19fcd9bc721234d01b7ee773b0b442e4 | 2e30e18a8548c0657950356ada88725bd190de69 | refs/heads/master | 2021-01-18T14:09:53.570852 | 2014-11-23T16:41:18 | 2014-11-23T16:41:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,196 | r | run_analysis.R | # Carlos Tangarife-Course Project (run_analysis.R)
# Script that does the following:
#1) Merges the training and the test sets to create one data set.
#2) Extracts only the measurements on the mean and standard deviation for each measurement.
#3) Uses descriptive activity names to name the activities in the data set
... |
ad342a9f985a7e641baad948c1a9542852293359 | e535d498001519774956adcc5b0106a5f4e555ac | /misc/R/gDNA_mappingBias.R | 9bcbd339c4a19192770073d99af7fb7db58de25d | [] | no_license | kraigrs/thesis_work | f73c6f130a0cf33ed079acb35208bff9cb85d4d1 | bcc8e46b5c65f08c61d5beb8e29ac7e4df101cff | refs/heads/master | 2021-01-22T16:18:29.372793 | 2015-09-10T18:48:11 | 2015-09-10T18:48:11 | 34,088,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 344 | r | gDNA_mappingBias.R | exons <- read.table("/Users/kraigrs/Wittkopp/mel_mel_data/zhr_z30.SD_cut20_sepPar2.mosaik.exons.gDNA.txt",header=TRUE,sep="\t");
genes <- read.table("/Users/kraigrs/Wittkopp/mel_mel_data/zhr_z30.SD_cut20_sepPar2.mosaik.genes.gDNA.txt",header=TRUE,sep="\t");
hist(log2(exons[,2]/exons[,3]),breaks=50);
hist(log2(genes[,2... |
b3652fc8ab0eb242ce09dd9192060cbf8d28507d | c143a79fc65c3628133f98e20fd79a065edb91f2 | /output/JingMu/ui.R | ea0355101f0f80238ff8b50bf4d26f9cb872e636 | [] | no_license | elk2142/nycrestaurants | d55f4a1943f2bc23294200616c25c67bf07c0bc8 | 7058be54ff9ab6d6c1ebba6f662834ba16de95a8 | refs/heads/master | 2021-01-12T12:12:02.357978 | 2016-10-30T14:12:11 | 2016-10-30T14:12:11 | 72,353,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,130 | r | ui.R | library(shiny)
library(leaflet)
library(shinythemes)
#GRADE <- levels(bind$GRADE)
GRADE <- c('All','','A','B','C','Not Yet Graded','P','Z')
shinyUI(fluidPage(
titlePanel('Restaurant Grades'),
tabPanel('Dynamic Map',
div(class='outer',
tags$head(
includeCSS('... |
9c9df14c6de8fbacadedd4162ba2867e84362a07 | 5d18a2394e2d9d0798b3df16e327a8684fda2b72 | /run_analysis.R | 4516c8f95347048b4461407a3677a78bc4f8fc94 | [] | no_license | blink-student/Getting-and-Cleaning-Data-Course-Project | 1d699585cda6f0053d205c0a3985e80f1d202942 | fb5608fee1016d82c432c325a8b297d07259ea5d | refs/heads/master | 2020-02-26T17:25:19.807972 | 2016-10-23T22:33:03 | 2016-10-23T22:33:03 | 71,733,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,973 | r | run_analysis.R | ## run_analysis.R
## Peer-graded Assignment: Getting and Cleaning Data Course Project
## DBoiko 2016-10
library(data.table);
library(plyr);
library(dplyr);
## it is assumed that the working data is already prepared and is in working directory
## but the script can download it and unzip
if (!file.exists("U... |
e0311c461a0fb5517264d6434e82b3c2abae2e2e | 5d0bc9fa9c48a468d115e9930f5eac66a0764789 | /man/OldFaithful1.Rd | c4387a679a63ed8171492bd5f6527312488aa9a0 | [] | no_license | rpruim/ISIwithR | a48aac902c9a25b857d2fd9c81cb2fc0eb0e848e | 7703172a2d854516348267c87319ace046508eef | refs/heads/master | 2020-04-15T20:36:55.171770 | 2015-05-21T09:20:21 | 2015-05-21T09:20:21 | 21,158,247 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 328 | rd | OldFaithful1.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{OldFaithful1}
\alias{OldFaithful1}
\title{OldFaithful1}
\format{A dataset with 222 observations on the following 1 variables.
\describe{
\item{time}{integer}
}}
\description{
A data set
}
\keyword{dat... |
fb95238534f59f1ba608d16ccb05686cb13428cd | e26d6b79d2b30fd89ddb7dc5d05ad8e08b16a185 | /plot3.R | be925c4917e9d86860c424b342b6ed447a987b0c | [] | no_license | emma1225/Project2 | 2d4b914b43b3fc20ce56d634efa7afdf655b849e | 0be323026d0e7528c55dfc0c71b381bd86b8933c | refs/heads/master | 2021-01-19T11:35:18.580753 | 2015-02-22T08:19:23 | 2015-02-22T08:19:23 | 31,157,015 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 931 | r | plot3.R | #Load Data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#Calculate Total Emissions from four types of sources of Every Year
NEIBAL<-subset(NEI,fips == "24510")
SumType<-tapply(NEIBAL$Emissions,list(NEIBAL$year,NEIBAL$type),sum,simplify=TRUE)
SumType<-as.numeric(SumType)
Year<... |
8d13cba123e4acd9006204b9b5f4b4adbaa1de2b | b2e2f737bee0614571ecce3743438fd0d92f5d53 | /man/RMrotat.Rd | a03376f0ad2c076393280e3be92f63eb90b55744 | [] | no_license | mistletoe999/RandomFields | 9bfceaf4ba855abb5f878ee57282a995d81492fd | e5a7a2f272b7834f96c925ced7acfa0c6456a87f | refs/heads/master | 2020-03-10T14:34:03.979780 | 2017-04-17T22:09:51 | 2017-04-17T22:09:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 974 | rd | RMrotat.Rd | \name{RMrotat}
\alias{RMrotat}
\alias{RMrotation}
\title{Rotation matrices}
\description{
\command{RMrotat} and \command{RMrotation} are
auxiliary space-time functions that create some rotation
\deqn{f(h, t) = s (\cos(\phi t) h_1 + \sin(\phi t) h_2) / \|h\|}
and
\deqn{f(h, t) = (\cos(\phi t) h_1 + \sin(\phi t) ... |
18d764722eee5249aa005f769ce19824ff3496eb | 53e3ee7943214d302f386b6ff832c85cc1a8154a | /Rscripts/chapter5/6_get_gtfs_from_shapefiles_2014plan.R | 348b73e50a88a7ad389178b216b80bbfb720f1ab | [] | no_license | rafapereirabr/thesis | 39a269ea9b55fe5c2b28d8ca0dc7e5c78add0b9b | 61fd8ced9151fcbbe1b1e2db35698a4d9d9fd072 | refs/heads/master | 2023-04-18T06:43:11.937046 | 2021-04-11T22:22:59 | 2021-04-11T22:22:59 | 113,566,756 | 24 | 19 | null | null | null | null | UTF-8 | R | false | false | 18,413 | r | 6_get_gtfs_from_shapefiles_2014plan.R |
# set working Directory
setwd("R:/Dropbox/Dout/Data Dout")
##################### Load packages -------------------------------------------------------
source("./R scripts/00_LoadPackages.R")
library(sp)
library(chron)
library(stplanr)
library(lubridate)
library(rgeos)
caju <- "partial"
caju <- ""
paradas_de... |
0c1bf753118b38424a89d32ef57908aac35cf797 | 1ced37e5243dfc53d7e3631408d0f55b9b109b11 | /plot3.R | 1b32a104b4341e59545c70f1977625108350bfea | [] | no_license | sjkim76/ExData_Plotting1 | b15652427703424b8439f3d7baeba53b8a3a897c | 77f79c67acbfffce9f05346aa5db97b57c8aaf9d | refs/heads/master | 2022-09-11T11:20:19.483799 | 2020-05-28T09:43:10 | 2020-05-28T09:43:10 | 267,216,449 | 0 | 0 | null | 2020-05-27T04:01:00 | 2020-05-27T04:00:59 | null | UTF-8 | R | false | false | 1,177 | r | plot3.R | #read raw data
rawdata<-read.table("household_power_consumption.txt",header=TRUE,sep=";",na.strings="?")
#only pick data between 2007-02-01 and 2007-02-02
housedata<-rawdata[which(rawdata$Date %in% c("1/2/2007","2/2/2007")),]
housedata<-housedata[complete.cases(housedata),]
#type conversion
housedata$Sub_metering_1... |
9289207811ae9c4cd6e0e6c8ba03a50c452c2f54 | e20709b1da0e2522b14d31a0b6dfcf0956841f54 | /man/DirichReg.Rd | ba3b1f501103d0e1bd37a84efada9ee326d671f5 | [
"MIT"
] | permissive | bcbritt/stepseg | b6dbe6368277dcc10959e193dd2bdbc218742bad | f01f7364af083c010feda08722c1e865168fbd12 | refs/heads/master | 2023-05-16T21:42:01.312708 | 2023-05-01T07:02:31 | 2023-05-01T07:02:31 | 264,266,384 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,077 | rd | DirichReg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stepseg.R
\name{DirichReg}
\alias{DirichReg}
\title{Fitting a Dirichlet Regression}
\usage{
DirichReg(
formula,
data,
model = c("common", "alternative"),
subset,
sub.comp,
base,
weights,
control,
verbosity = 0
)
}
\arguments... |
6f0a3aaf91c74a8d7076d2ee39185945bab54a7e | 561beed458dfcf06de55c8b9145613adf3e3dad6 | /admm_lasso_multi_test.r | 21bd2edae51a64b5fc0968e761e476e3107a5057 | [] | no_license | deniseduma/respls | e75dafd68ecd0fa5905667b78f2a36f44d8947da | f326cf1a84ab4734a67a156917f8a2752597be68 | refs/heads/master | 2016-09-14T05:36:51.454059 | 2016-05-23T22:30:59 | 2016-05-23T22:30:59 | 59,517,165 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,859 | r | admm_lasso_multi_test.r | library("glmnet")
library("elasticnet")
source("admm_lasso_multi2.r")
m <- 200
K <- 20
ni <- 1000
n <- ni*K
p <- 10/K
rho <- 1
alpha <- 1.8
#generate block sparse solution vector
x <- matrix(0, ni , K)
for (i in 1:K)
if (runif(1) < p)
x[, i] <- rnorm(ni)
xtrue <- x <- Matrix(as.vector(x))
#generat random data m... |
3de0623e1143439be0ebe7b5dc5ee68440ad9c7b | 97b4693734e41e212ce68e00a9c5fab0b4c99aa9 | /SC_Pre_Process.R | d40bcdb41b165f94e73746955c8d36adffc5a9b5 | [] | no_license | Yuzi-Liu/Airline-Customer-Segmentation | f3359ab4dc74759dde3f3109757aef4f19a255b9 | 805c1dd9cf1a3ac48a47efff7191a071bcb4cfa7 | refs/heads/master | 2020-06-20T23:06:14.300863 | 2019-07-21T22:12:24 | 2019-07-21T22:12:24 | 197,281,787 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,638 | r | SC_Pre_Process.R | # This program contains the R code for data clean-up and pre-processing for the Sun Country Airlines case
# We start by reading the data file, which is a 1% random sample of the original airline reservations data
# We set the working directory using setwd()
setwd("/Users/yuziliu/Desktop/BANA200")
# Then we read the... |
54b2be292d11c6b45c2b07f851318fbfbd76305a | bbaebbebb04cb38585f0870801a72c13f6d37487 | /plot4.R | cb6c1319d9ad8f6fdae02f89bea57c5bde9c4015 | [] | no_license | njkranton/ExData_Plotting1 | 614fe3ff4a76714e8cedbaa78d098b3e605080a7 | 1ab0e357301a57bc0c5fb9820c62c80a3b740aa2 | refs/heads/master | 2021-01-17T20:10:37.613549 | 2015-10-10T14:43:07 | 2015-10-10T14:43:07 | 43,971,994 | 0 | 0 | null | 2015-10-09T18:06:51 | 2015-10-09T18:06:51 | null | UTF-8 | R | false | false | 2,421 | r | plot4.R | plot4 <- function() {
## Set locale to US & English - otherwise day names, etc will be incorrectly
## localized resulting in differences in the actual plots vs. the spec
Sys.setlocale(category = "LC_ALL", locale = "English_United States.1252")
## read in the raw data
rawdata <- read.table("household_power_... |
3fa33b4069b0ecb335273f86a719ae35e07e73a4 | bec2aef1fa0722ad373f0a51bcf119c3028855aa | /chap06/exam04.R | 733d1259d8c44f4685553183129fd136de34f901 | [] | no_license | floraOuO/R | 751a275163758716806752e98f1a4cd3f06f6cc2 | 4cace0f4158513b08701c2c4f9987d2c1803d8f6 | refs/heads/master | 2020-04-28T04:02:56.088121 | 2019-03-22T09:07:50 | 2019-03-22T09:07:50 | 174,962,698 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 557 | r | exam04.R | library(dplyr)
library(sqldf)
library(ggplot2)
df_mpg = mpg
#1.sqldf
sqldf("
select df_mpg.*, cty+hwy as total, (cty+hwy)/2. as mean from df_mpg
order by mean desc limit 3
")
#2.dplyr
df_mpg %>% mutate(total = cty + hwy) ->df_mpg
df_mpg %>% mutate(mean = total/2) -> df_mpg
df_mpg %>% arrange(desc(me... |
8bf52395b76c253f7745b12605a4b462f3498764 | a6b21b7097134ebed49f92f9255d59515c274235 | /Composition.R | a329ba21bddc7d94d2b7ae6aaff841bf5f92afab | [] | no_license | bsalehe/NWT_MovingUphill3 | c46f3495e004db7bc77996179fcc80800bd679c1 | d6a17722a31688bceb5b1cd3b9e8e07ab22b6d98 | refs/heads/master | 2020-12-22T23:30:27.798146 | 2019-01-24T17:42:52 | 2019-01-24T17:42:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,252 | r | Composition.R | ###### Change in relative abundance ######
datEukS3k2
datEukN3k2
datBacS3k2
datITSS3k2
#change a colname, it can't have a dash in it
colnames(datBacS3k2)[78]<-"WPS.2"
names(which(colSums(datBacS3k2[,32:81])>2))
relBac<-datBacS3k2 %>%
dplyr::select(Sample_name,Acidobacteria,Actinobacteria,Bacteroidetes,Cyanobacteria... |
0cca76fdf6f49fd87c550e45fd3b3564c41dfdb3 | a9fdb6d54b83f7fae941d919086a349768ececb2 | /man/dm.Rd | 78c34eaab65bbdd40e51f7f87c3ab044da1edfaf | [] | no_license | agbaca/twitteR | 68b57039066dac5802487d8c5a1caadaa8f60c34 | 8cd265b919f8d24950904b87cc36c223e3699f51 | refs/heads/master | 2021-01-12T12:26:08.574034 | 2017-02-26T03:50:24 | 2017-02-26T03:50:24 | 72,490,855 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,851 | rd | dm.Rd | \name{dmGet}
\alias{dmGet}
\alias{dmSent}
\alias{dmDestroy}
\alias{dmSend}
\title{ Functions to manipulate Twitter direct messages }
\description{
These functions allow you to interact with, send, and delete direct
messages (DMs) in Twitter.
}
\usage{
dmGet(n=25, sinceID=NULL, maxID=NULL, ...)
dmSent(n=25, sinceID=... |
527b884fa53ed37e747c8d728e7894ba4b08676e | 55ba4622941c73a4f1002f9c2b57bf46b614aa3d | /code/Fibroblast_analysis/Fibroblast_DM.R | a3c3318a4577aad806d35f13b31012787d94239e | [
"MIT"
] | permissive | malihhhh/CUIMC-NYP_COVID_autopsy_lung | 2089693eeb0bd08973026578b285a8a16f266ec0 | bf6fc4add36095c7bdc12b6e6ede33d768530bb7 | refs/heads/main | 2023-04-24T00:46:49.969287 | 2021-05-03T14:42:08 | 2021-05-03T14:42:08 | 548,264,345 | 1 | 0 | MIT | 2022-10-09T08:02:03 | 2022-10-09T08:02:02 | null | UTF-8 | R | false | false | 2,379 | r | Fibroblast_DM.R | #!/usr/bin/env Rscript
#### Fibroblast analysis: Diffusion maps
#### Author: Jana Biermann, PhD
library(Seurat)
library(destiny)
library(dplyr)
library(ggplot2)
library(cowplot)
library(scater)
library(SingleCellExperiment)
library(gplots)
library(viridis)
library(scales)
# Color palette
colors <- c('#006E82', '#AA0... |
50675003c47abaf4b2f7bc6fb7d08294baff8d30 | 88863cb16f35cd479d43f2e7852d20064daa0c89 | /Ford/analysis/thresholdV11.R | 69636ada6d43f90d1f6eb28646596d249b89731e | [] | no_license | chrishefele/kaggle-sample-code | 842c3cd766003f3b8257fddc4d61b919e87526c4 | 1c04e859c7376f8757b011ed5a9a1f455bd598b9 | refs/heads/master | 2020-12-29T12:18:09.957285 | 2020-12-22T20:16:35 | 2020-12-22T20:16:35 | 238,604,678 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 578 | r | thresholdV11.R |
library(caTools)
train <- read.csv("~/Ford/download/fordTrain.csv")
train.samp <- train[ sample(1:nrow(train),10000) , ]
# pdf(file="thresholdROCs.pdf")
var.name <- "V11"
data <- train.samp[[var.name]]
data.percentiles <- ecdf(data)(data)
pct.thresholds <- (1:9)/10.0
df <- data.frame(data.percentiles)
for(pct.thr... |
6d5aa4564602cc3b3f777ff0667ab15cc297127d | 3e3a9e3883d505b12924e9764b0639a56a8fc876 | /boats.r | bfaa3f5826a3d29707a75e85d0a1bf7d8f38068d | [] | no_license | djhunter/quatview | 26d31240810b679a722506934d70ae2dd860481b | ff4b915426937e78330c0b683a203a6a8b0ccbfd | refs/heads/master | 2020-12-24T18:12:38.072546 | 2020-08-01T17:09:22 | 2020-08-01T17:09:22 | 20,194,872 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,568 | r | boats.r | boat3d <- function(orientation, x=1:length(orientation), y = 0, z = 0, scale = 0.25,
col = 'red', add = FALSE, box = FALSE, axes = TRUE,
graphics = c('rgl', 'scatterplot3d'), ...) {
if (!missing(add) && missing(graphics)) graphics <- attr(add, 'graphics')
orientation <... |
d0c44bdea51bd01f0f92049391a6a49c8d2df444 | 2cc56a6341f179923977128ad90bb31419e033d0 | /man/format_pd.Rd | 11f1959d7da3886608f44cfb2b6738f13f792f95 | [] | no_license | cran/insight | 5e1d2d1c46478c603b491f53aa80de57bc8f54b4 | 247206683ad374a1ba179356410d095f6861aede | refs/heads/master | 2023-07-19T11:33:37.490704 | 2023-06-29T13:30:02 | 2023-06-29T13:30:02 | 174,554,249 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 741 | rd | format_pd.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/format_pd.R
\name{format_pd}
\alias{format_pd}
\title{Probability of direction (pd) formatting}
\usage{
format_pd(pd, stars = FALSE, stars_only = FALSE, name = "pd")
}
\arguments{
\item{pd}{Probability of direction (pd).}
\item{st... |
4facc61b27455139013b0d36407858d049331714 | a6916d3ff111685b26cf44ca006fb5e621eaaa75 | /R/mean_sd.R | e9adb1b8d757585d7f934264f2fde2153a6c41e6 | [] | no_license | spalmas/RIL-Simulator | 2ee8227412b8ef8fd2e8483d3fa20261213406dd | d0c5e901644b32f0cb69381f608d701119e6b8fd | refs/heads/master | 2021-01-17T04:12:36.474527 | 2017-11-19T22:03:06 | 2017-11-19T22:03:06 | 53,466,504 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,092 | r | mean_sd.R | #' Estimate mean and standard deviation from a list correcting for iterations
#'
#' It esimtaes mean and sd correcting for iterations
#'
#' @param X X column of localization of plots
#' @param Y Y column of localization of plots
#'
#' @references
#' Ninguna por ahora
#' @return A formated mean and sd from the given co... |
cf7ce1aeb1c86328f514f5bfb8920c0f8bc561d6 | d4799676996d077a81bb6baa4460ac086d4a9b69 | /man/topVar.Rd | 51a1de614ee3b50e6cb089a0d128b03f6b718c57 | [] | no_license | mengchen18/omicade4 | 3cf9ebb1269c475a7a818f0ff1914ed347275354 | 622f3e0fb350d92e6cc85f991418e5336accc376 | refs/heads/master | 2021-01-20T04:57:20.933891 | 2020-10-26T07:38:27 | 2020-10-26T07:38:27 | 101,398,525 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,068 | rd | topVar.Rd | \name{topVar}
\alias{topVar}
\title{
Selecting top weighted variables (genes) from result of MCIA or CIA
}
\description{
The user level function calls \code{topVar.mcia} or
\code{topVar.cia}. This function provides a method selecting
top weighted variables (genes) on an axis (either positive side o... |
b1ea2cc2ecbc6047350d26eb8ee9d57857731698 | 9f8e62d6b63ce4fe67321effcb1e8bddf89a80f1 | /Titanic competition/NN/learningCurveNN.R | 9aad40f442e1e13ea8a00e44c27c2e88cb2c421b | [] | no_license | jsaadani/kaggle | bd19088ca46846bf3c24988002ebf594deb89eaf | 6fb3a4111c608b5a78af7c6b3ae7800e65b240d1 | refs/heads/master | 2021-01-17T17:05:01.489686 | 2013-11-26T22:04:05 | 2013-11-26T22:04:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,065 | r | learningCurveNN.R | learningCurveNN <- function(X,y,Xval,yval,lambda,
input_layer_size,
hidden_layer_size,
num_labels){
source("nnCostFunction.R")
source("trainNNReg.R")
m=nrow(X)
error_train <- matrix(0,m-1,1)
error_val <- m... |
8a7be55408f22506d83a6eea7956e5f36160a46f | fbbd587d98043696ba3723e04d6e74349123e5ee | /R/patternPermuteLRTUpOrDownPerSubject.R | 6ae56aaef3bd7eaf52f4c20399f74ed41716a7bd | [] | no_license | cran/clustDRM | 0c4c475fc845e523e0eba44a762b47f8e4b59011 | 7dfe6fc5d1e4fe9c02abf4292f2f46bb0b52abdc | refs/heads/master | 2020-12-21T21:46:41.662087 | 2019-03-15T15:53:44 | 2019-03-15T15:53:44 | 236,572,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,849 | r | patternPermuteLRTUpOrDownPerSubject.R | # TODO: Add comment
#
# Author: Vahid Nassiri
###############################################################################
#' performs LRT for non-flat profiles per subject
#' @param inputDataSubject
#' @param doseLevels
#' @param nPermute
#' @param numReplications
#' @param clusteringResult
#' @param useSe... |
7f3006c8e38c5bc8d3e6708eb427747772923685 | d5334e07da75dc0d44fb3c47f674e078c687631a | /R/create_biv_palette.R | fddd06edfda41930bf8e38bd9a33377b38ddf518 | [] | no_license | mtennekes/cols4all | bf63720108541d5286fedaf146f9c9310260f571 | ce7ca55c57f281da387f4d503030213a07abe821 | refs/heads/main | 2023-07-06T16:55:52.730989 | 2023-06-30T09:31:32 | 2023-06-30T09:31:32 | 457,766,023 | 247 | 11 | null | 2022-10-27T10:26:56 | 2022-02-10T12:12:59 | R | UTF-8 | R | false | false | 3,637 | r | create_biv_palette.R | aregreys = function(x) {
all(get_hcl_matrix(x)[,2] < 1)
}
# ensure the diagonal are pure greys
convert2grey = function(x) {
greys = rowSums(attr(hex2RGB(x), "coords")) / 3
rgb(greys, greys, greys)
}
create_biv_palette = function(palette, biv.method) {
if (!(biv.method %in% c("div2seqseq", "div2catseq", "seq2uncse... |
e856443ad98afab4f821a99380a4d3e6d3e6c792 | 6f930adb2fea0155113a1e4a84bec37afa71c8bf | /world3.R | a39953925b1e0045b6721cea154f44c0fc18097d | [] | no_license | DAWOODSKYM/R-scrips | 99b180127e162d0de929b1a0c6cedde358ede1f1 | 2916d50d2f7f12079f59d8b6a608e5c4e443588f | refs/heads/main | 2023-03-29T17:18:49.647194 | 2021-04-03T20:42:26 | 2021-04-03T20:42:26 | 354,388,197 | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 1,006 | r | world3.R | #load the required libraries
library(sf)
library(RColorBrewer)
library(tmap)
library(dplyr)
library(mapview)
#Read the shapefile and csv and print their coloumns names
SA<-st_read("world2/World_Countries.shp")
cols<-names(SA)
Data<-read.csv("SA4.csv")
print(Data)
#names(Data)[COUNTRY]="XCOUNTRY"
#Join csv to shapefile
... |
d3482196efce2fca4d7a057dd51935170ece0d33 | 131454ec12f05c8de22b91d8f7f146f1990b3371 | /afegir_coordenades.R | 9710f589d4e2046c1bdd471720b06544b5d17412 | [] | no_license | pere-prlpz/toponims | 1bcd28e2322f82f079d2635a61638e0b251c287f | df94177b54c14a62c0125197217082111f29de40 | refs/heads/master | 2023-08-30T20:40:07.174614 | 2023-08-29T20:03:45 | 2023-08-29T20:03:45 | 238,566,194 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,769 | r | afegir_coordenades.R | # nuclis existents
library(readr)
nuclis <- read_delim("C:\\Users\\Pere\\Documents\\DADES\\pere\\varis\\nuclis_wd.tsv",
"\t", escape_double = FALSE, trim_ws = TRUE)
# nomenclàtor
library(readxl)
index_nomenclator_2009 <- read_excel("~/DADES/pere/varis/index_nomenclator_2009.xls")
nomred <-... |
88e7a7ad2e97234133bcc921342c9a34dba0bcba | 8dff28544e8dc1ba210cfdb22a4e82ce97a5d30b | /quiz_W2.R | 092d3c2214d1c194880d346f2edccfcc93359a46 | [] | no_license | GaelleLouise/GettingCleaningData | f5f4e56b5c1e07c16ffba184f3afce66aca5b8fa | 954f27bacac24bede45e2b756ebfef4366b4d348 | refs/heads/master | 2023-01-29T07:36:53.811404 | 2020-12-10T14:56:19 | 2020-12-10T14:56:19 | 319,390,870 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 894 | r | quiz_W2.R | # lecture JSON d'une API (question 1) :
jsonData <- fromJSON("https://api.github.com/users/jtleek/repos")
names(jsonData) # donne les différentes "colonnes"
Nom_repo <- jsonData$name # stocke les différents noms de repository dans un vecteur
date_repo <- jsonData$created_at # stocke les différentes dates de création de... |
3845120e7b4d0a6a57ed94d82a6d1f1c2b89c7c3 | b654d0764d7d9353363903253efc194ecce95a89 | /Corte2/Logistic Regression/LogisticRegression.R | 29c6b9fdcfb40926b61339c0d3bf690d086cc47e | [] | no_license | johnj-hernandez/Ciencia-de-los-Datos-R | c77d043f514ff82edb053ff4c584081fd1b0c81b | 476bc02226dbeaf268911b9a5ff9ad6465b23b44 | refs/heads/master | 2020-07-07T04:16:09.131452 | 2019-08-19T20:37:25 | 2019-08-19T20:37:25 | 203,246,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,793 | r | LogisticRegression.R | #Por medio de la regresion logistica podremos predecir entre decisiones binarias la pertenencia
#de un valor , me devuelve 0 o 1 , usando la funcion sigmoide la cual me da valores entre 0 a 1
#luego por medio de un umbral vamos a definir cuales son 0 y 1
#leemos los datos
donors<- read.csv('donors.csv')
donors
... |
0f31b8efd38435867995c32c14cfdb5523d1d729 | bd0637d80e2f9742aff94fe1b77cc25268b121ec | /Word_cloud.R | 8c0e704a90e17805f8a8f7fefb0a609190a13e20 | [] | no_license | Niteshiya/Word_cloud_with_R_-_sentiments | 27dbf0438e4a99211151cb45c7b611ee9acd7753 | ab94b7a5f37d1b3db2ff82eb0b2a0c1ef2cfdc0a | refs/heads/master | 2020-07-29T16:20:38.555303 | 2019-09-20T21:50:19 | 2019-09-20T21:50:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,036 | r | Word_cloud.R | #load data
library(pdftools)
data <- pdf_text("nc.pdf")
library(tm)
options(header=F,stringsAsFactors = F,FileEncoding="latin1")
#make corpus
corpus <- Corpus(VectorSource(data))
#data cleaning
corpus <- tm_map(corpus,tolower)
corpus <- tm_map(corpus,removePunctuation)
corpus <- tm_map(corpus,removeNumbers)
corpus ... |
54af0377583d8447f26ef85758c1a3bbdb98ca9f | ec636517d71057cd78774dcfc040be6e0adc29a0 | /R/02-create_modeling_dataset.R | 1719d1b8676ea2a5ea744648d42a0dfa5fdaa085 | [] | no_license | JiaxiangBU/neural_networks_longitudinal | 3723f0a49d6852804b7d2ecaf33b5c3b1db83d95 | 4e96861e486445c737544807e4b29003a28644e0 | refs/heads/master | 2021-03-25T05:04:18.054122 | 2020-03-16T02:59:49 | 2020-03-16T02:59:49 | 247,591,312 | 1 | 0 | null | 2020-03-16T02:19:27 | 2020-03-16T02:19:27 | null | UTF-8 | R | false | false | 5,589 | r | 02-create_modeling_dataset.R |
message('Bring in data sources')
bstats <- battingStats() %>%
arrange(playerID, yearID) %>%
filter(stint==1 & yearID >= min_year)
### Filter on plate appearances to focus on batters
## Filling in empty years
pa_padded <- bstats %>%
select(playerID, yearID, PA) %>%
arrange(playerID, yearID) %>%
mutate(d... |
d0e00c65f020828f1d19e38a8d17c5a94f017ba0 | f9b7b6c992654c72be8cb9087f3a38636cc36c2b | /plot_functions.R | a476802a6fa3383e4f701505861831d6fdfd9ab7 | [] | no_license | leosouliotis/AZ_data.challenge | 5cd20d27f174c9763f9d8e1bdea4a78fdfac02ef | 4b5898c34dbbb4a45756e2a7c731635698d3025f | refs/heads/master | 2021-05-20T00:28:42.651039 | 2020-04-01T07:57:17 | 2020-04-01T07:57:17 | 252,107,326 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,697 | r | plot_functions.R | setwd('~/Downloads')
library('gplots')
library('ggplot2')
country2reactions =read.csv('country2reactions.csv', stringsAsFactors = F)
head(country2reactions[1:5,1:5])
rownames(country2reactions) = country2reactions$X
country2reactions$X = NULL
most_freq_responses = read.csv('max_20_reactions.csv')
most_countries = rea... |
a8fc8a14d3a83f1d242d342d75dcb6ada77025e1 | 79b7742a7f5483bd829f6dc3589f6b345024fa49 | /Learning_structure.R | b38ae84a996adc713c059b7f227f4826d12e2749 | [] | no_license | vungan19/Temporal-Bayesian-network | d7aaf01912255d85e74efea114675bbac2ddab8b | 85c9f8c25a9ccbefa636b8424ab79da4149d995b | refs/heads/master | 2020-04-13T16:24:05.702922 | 2018-12-27T17:38:39 | 2018-12-27T17:38:39 | 163,320,080 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,194 | r | Learning_structure.R | library(bnlearn)
#data(coronary)
#bn_df<- data.frame(coronary)
#res <- hc(bn_df)
#res$arcs <- res$arcs[-which((res$arcs[,'from'] == "M..Work" & res$arcs[,'to'] == "Family")),]
newdata <- c()
## Create node
for ( i in 1: length(AWSUM_feature[,1])) {
for ( j in 1:(length(AWSUM_feature[1,])-5)){
add <- AW... |
7635652532381ead7bbd242f3318841202f19682 | 4e3bd5287f24ddfe9b08f9751710c98615f1cd7a | /solution.R | 6bd3244ce2a9a3e6a2389b8244474f7e3fd4c0c4 | [] | no_license | nilmadhab/PML_assignment | fcf5db8c3bc655250bd38cf9c0c486eef91d8b11 | 26022dffc1a4f189737d3baa5a3babc062656bb7 | refs/heads/master | 2021-01-10T06:24:25.949567 | 2015-09-26T04:16:51 | 2015-09-26T04:16:51 | 43,191,514 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,731 | r | solution.R | rm(list = ls())
# Read cleaned training and testing data
#set working directory
setwd("/home/nilmadhab/Desktop/data/Practical-Machine-Learning/")
training <- read.table(file = "pml-training2.csv",
header = TRUE, sep = ",", quote = "")
testing <- read.table(file = "pml-testing2.csv",
... |
ad435a623701b03c71df612ef9dfa07114c5bc96 | d8db4472082424fd086a85753c95b247c7fd3949 | /functions/eFormsOrganizeData_byTable_NCCA.r | 139ae10ebdd8ffe5b3eaffa576a9c08976705950 | [
"CC0-1.0"
] | permissive | kblocksom/eForms_NARS | 5dba55cfdb8f4efcdd848d9f7d0b1ba7d2594018 | 15c73cd647bf4e24cf06749348cdaf7928fe8b89 | refs/heads/master | 2023-04-09T10:08:24.243145 | 2021-04-14T16:47:36 | 2021-04-14T16:47:36 | 256,043,383 | 0 | 1 | CC0-1.0 | 2020-11-03T19:48:34 | 2020-04-15T21:43:37 | R | UTF-8 | R | false | false | 8,290 | r | eFormsOrganizeData_byTable_NCCA.r | # eFormsOrganizeData_byTable.r
# Purpose: For each type of data, organize into data frames
# First figure out the type of data by sample type
#
# Created 2/27/2019 by Karen Blocksom
###############################################################
eFormsOrganize_byTable.ncca <- function(rawData){
# Extract visit info
... |
8f3f978c6f403fa1505de5e0b9732e4992eedd95 | 53435fba931963d96958afe6287278f4d575385d | /man/divat.Rd | d25eb7e05f63d8e632d5efafefbc2d6d6b5d6223 | [] | no_license | cran/wally | 370aef3bfc3845b6c45a230ee07fe430377e05ef | dc5208dc815b878ca6d91266bc92ed2bb7f8ae4d | refs/heads/master | 2020-12-30T11:16:11.093328 | 2019-10-30T13:40:02 | 2019-10-30T13:40:02 | 91,548,791 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,569 | rd | divat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wally-package.R
\docType{data}
\name{divat}
\alias{divat}
\title{divat data}
\format{A subsample consisting of 1300 observations on the following 3 variables.
\describe{ \item{pi}{5-year risk prediction of kidney graft failure.}
\item{status}... |
6faf879e5f029ba81a36e93d6b1c2a0bb0463fa9 | 1689524e7bcaf7c53cc85538d34a673f43ca74f3 | /class-3/multiMat.R | 1f4213ea2d5ebdfe9602f322f822111402275c31 | [
"MIT"
] | permissive | lidkalee/r-class-igib | 4b5b9b2e5445ee29c75dcf33cc274dc27bbf87a7 | ead2c091a048af93609d14c8d89118db58fa49d6 | refs/heads/master | 2020-08-09T23:19:58.403508 | 2017-10-16T04:45:40 | 2017-10-16T04:45:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 289 | r | multiMat.R | multiMat <- function(mat, multi){
nRow <- nrow(mat)
nCol <- ncol(mat)
# empty matrix
newMat <- matrix(data = NA,
ncol = ncol(mat),
nrow = nrow(mat)
)
for(Row in 1:nRow){
for(Col in 1:nCol){
# fill the gap
newMat[Row, Col] <- mat[Row, Col] * multi
}
}
return(newMat)
} |
927c0fee25a43306ecd1b91b99132d1e1bbebca9 | b12b3e7f2a6527065feac603e5bf4d1165a0af4c | /ui.R | cb0677085050bc3b3dedce141d42920a9a09dbe3 | [] | no_license | areino42/tweetR | 2b7abc61e840c0839b104949c109ef93ceba835f | a8127987b337cf295b95ac720467755d08562be4 | refs/heads/main | 2023-03-26T04:15:51.168658 | 2021-03-26T15:40:10 | 2021-03-26T15:40:10 | 351,812,488 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,504 | r | ui.R |
library(shiny)
shinyUI(
navbarPage("tweetR",
theme = shinythemes::shinytheme("cerulean"),
collapsible = TRUE,
fluid = TRUE,
position = "fixed-top",
tabPanel("home", icon = icon("home"),
... |
50d2dc1da5408a823200a87824f0faf0dce5ba4b | 3fb3e85afa180f302aebee631e532f1ad6222120 | /Mapping_3D_gb_data.R | dfcc66c8e6af7624ce7eb69c738fa4245ae38ad6 | [
"CC0-1.0"
] | permissive | RonaldVisser/Roads-Subsurface-in-3-Dimensions-RSI3D | 039d8bae58d666dbf37a7957ba4fefc607150699 | 3dff3d825175174a0cf3de3538e3b3384037328c | refs/heads/main | 2023-04-11T12:21:01.652501 | 2023-01-20T14:41:15 | 2023-01-20T14:41:15 | 581,506,362 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,548 | r | Mapping_3D_gb_data.R | # input vector layer should be polygon (not multipolygon!)
source("Connect_db.R") # also loads library(RPostgres)
source("ColumnExists.R") # load function to check if column exists
SQL_3D_view <- "create or replace view \"griffiersveld_3d\" as
select * from \"3dbag_v210908_lod22_3d\"
where ST_Within(\"3dbag_v210908... |
18ee3da3fb98a41125917eee8e4f244ce478407c | d56ed82f814dd7a299ee6caf8a52ac381bc8bd93 | /R/packages/topocatch/R/topocatch.r | fee71231405506c3433f3a38bd607f2c137f2b85 | [
"MIT"
] | permissive | echse/echse_tools | db69845e5e9d26f4a8f68a3ae7a9622b28fbce88 | 4e236a426d261f3750a2f31bb7fdab61335ed676 | refs/heads/master | 2021-06-03T10:05:55.907513 | 2017-11-08T13:28:41 | 2017-11-08T13:28:41 | 39,069,970 | 1 | 2 | null | 2015-11-09T12:04:53 | 2015-07-14T11:03:07 | R | UTF-8 | R | false | false | 23,809 | r | topocatch.r |
#' Pre-processing of geo data for hydrological catchment modeling
#'
#' Type \code{help(package="topocatch")} to inspect the package description.
#'
#' @name topocatch-package
#' @aliases topocatch
#' @docType package
{}
#' @import shapefiles
library("shapefiles")
#' @import foreign
library("foreign")
#' @import sp
... |
c14fbc1de9a90702badf3fab71b52d5060e2727f | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /EFAtools/tests/testthat/test-PROMAX.R | 9bf6f08287d1c0c3e0eb0ea594d15ceebe51a1f6 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,815 | r | test-PROMAX.R | unrot <- EFA(test_models$baseline$cormat, 3, N = 500)
prom <- .PROMAX(unrot, type = "EFAtools")
prom_psych <- .PROMAX(unrot, type = "psych")
prom_spss <- .PROMAX(unrot, type = "SPSS")
unrot_1 <- EFA(test_models$baseline$cormat, 1, N = 500)
prom_1 <- suppressWarnings(.PROMAX(unrot_1, type = "EFAtools"))
test_that("out... |
1f89fddf91bbf8e74c3ef0e74b2c077562a4af01 | a444bf00dff232cef1319968cea655cffbcf0903 | /functions/smooth_update.R | b9229bbd7a90e5785b76145fa5a2c07ea73d13a5 | [] | no_license | Allisterh/dsge_m | 472a9cc5521a0d9c067d6b8ad9e8243f52c0f103 | 3325745e005baf019f66a3f07f2a000c4c959fb5 | refs/heads/main | 2023-05-14T20:20:27.224434 | 2021-06-09T20:57:26 | 2021-06-09T20:57:26 | 446,838,437 | 1 | 0 | null | 2022-01-11T13:46:08 | 2022-01-11T13:46:07 | null | UTF-8 | R | false | false | 1,552 | r | smooth_update.R | smooth_update <- function(xsmooth_future, Vsmooth_future, xfilt, Vfilt, Vfilt_future, VVfilt_future, A, Q, B, u) {
# One step of the backwards RTS smoothing equations.
# function [xsmooth, Vsmooth, VVsmooth_future] = smooth_update(xsmooth_future, Vsmooth_future, ...
# ... |
bc020fa99c9af1a91cc2b4aa81414f770f484715 | 29585dff702209dd446c0ab52ceea046c58e384e | /RadTran/R/RnDifAdv.hom.R | 2df200c47697178cd45ac80f80d5d8f361df8853 | [] | 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 | ISO-8859-1 | R | false | false | 1,985 | r | RnDifAdv.hom.R | RnDifAdv.hom <-
function (lx, ly, nx, ny, e, m,
bdc_top, rn_lam, rn_sol, k_soil, d_bulk, miu, dp, solution, ...)
{
Lx = lx
Ly = ly
Nx = nx
Ny = ny
dx = Lx/Nx
dy = Ly/Ny
X = seq(dx/2,by=dx,len=Nx)
Y = seq(dy/2,by=dy,len=Ny)
A = Lx*Ly
xgrid=setup.grid.1D(N=Nx,L=Lx)
ygrid=s... |
fb15d94663bd49d84fdde9fab421cf426173f638 | 4804e4a4166a33faf98e9ad3df60757d94a0f1d9 | /R/Q.R | 355ddf6d5e507a1d7d445697eab0f5d484ff33dc | [
"MIT"
] | permissive | zozlak/MLAK | 958cb673939b684657ff88f141145f038ed2d89a | 89e88050814b2ff2594669eb38ad198163e13b87 | refs/heads/master | 2021-06-01T11:34:57.797493 | 2020-07-09T08:51:11 | 2020-07-09T08:51:11 | 23,737,268 | 2 | 5 | null | null | null | null | UTF-8 | R | false | false | 940 | r | Q.R | #' @title wskazany kwantyl
#' @description
#' Istnieje możliwość obliczenia wartości wielu kwantyli jednocześnie -
#' wystarczy jako q przekazać wektor. W takim wypadku zwrócony zostanie wektor
#' odpowiednich kwantyli.
#' @param x wektor wartości
#' @param q numer kwantyla (może być wektorem)
#' @param n liczba kwant... |
2d5dff75c96d0a84eee50e402a474e5709ed8a51 | 662395fae8ce93a6f721910a39ce76f9ba1868b6 | /man/make_html_file.Rd | 2e75fad0ce187c3b91e6238e74e1e2c7c6a404ec | [
"MIT"
] | permissive | LucyMcGowan/statwords | fae7def1ce10984cd3495ccf98f8f9f4ad278205 | 462f28f6f7108d137a866e36b6fb5cad2d38b382 | refs/heads/master | 2020-05-04T18:00:07.469434 | 2019-04-10T20:25:36 | 2019-04-10T20:25:36 | 179,335,394 | 6 | 0 | null | null | null | null | UTF-8 | R | false | true | 302 | rd | make_html_file.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_html_file.R
\name{make_html_file}
\alias{make_html_file}
\title{Make html file}
\usage{
make_html_file(html_text, file)
}
\arguments{
\item{html_text}{HTML text}
\item{file}{file name}
}
\description{
Make html file
}
|
f92fa6f76b381395086cd09ac06daca78b18e48c | f041362e25f899a58dfae9b60da2e64b214a95d8 | /Old_moved2bitemodelr/Fogel2017_ParamDist_now_raw-data.R | 03409e0ca1719442098e5170fc269060cd68663f | [] | no_license | alainapearce/LODEModel_SimStudy | bbf9b7b0ba993d0665013ae3a2fed4d0dcb3ed0a | 7adf168b033d2ef564710172232cd433f7923522 | refs/heads/master | 2022-12-29T01:33:44.594998 | 2020-10-20T19:23:24 | 2020-10-20T19:23:24 | 267,889,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,976 | r | Fogel2017_ParamDist_now_raw-data.R | # This script was written by Alaina Pearce in 2020
# to create:
# 1) a databased based on the mean and correlational
# structure of average meal microstructure in children
# reported in Fogel et al., 2017.
# 2) generate and save parameter distributes from generated
# database
#
# Copyright (C) 2012 Alaina L Pear... |
11c9a38098ddc3b7e45ab5b182ed94ca37774f04 | 468283f49c0f482119963b3aef343f90f4bee5a2 | /Vocera-Voice-Call-Summary-NIH-REPORTING.R | 0622e34caf0cac66778bfb1bf95b3dd0dc13045e | [] | no_license | mo-g/vocera-messaging | 397d9cd9bfdad5438b7d642af4dde667fece062f | d5e5e73a38b6f3724b852c5b4230d7931f00156f | refs/heads/master | 2021-07-18T21:20:43.906107 | 2017-10-28T02:49:22 | 2017-10-28T02:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,893 | r | Vocera-Voice-Call-Summary-NIH-REPORTING.R | #VOCERA VOICE STATES
#Gustavo Gonzalez
#Generates summary data into a file on Vocera Voice usage details
# install.packages("RMySQL")
library("RMySQL")
library("dplyr")
library("reshape2")
#GLOBAL VARIABLES#
#DB Connection Details
dbhandle <- dbConnect(MySQL(), user='vocera', password='vocera', dbname = 'v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.