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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ec6f70ce48857ab9ff0e15a3eb1e43bd3268507 | bdab686e5894eec9db3f5bfd323735ab9f1b790a | /scripts/simulations.R | 5ae0db5ce8ce5f24794fb31759ac49cfe0f3ab4c | [] | no_license | larsgr/eve_analysis | 94f76377a510485fad9da9ffcbb361779b374caa | cf7868f89d3969f38d3b2828764a99a74f2642cf | refs/heads/master | 2020-05-16T13:33:58.415241 | 2019-04-23T19:13:37 | 2019-04-23T19:13:37 | 183,078,400 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 117 | r | simulations.R | # This file contains functions to simulate data.
# Author: Rori Rohlfs, Lars Gronvold, John Mendoza
# Date: 3/4/2019 |
f8721c7a13a338ab1f146250e5896d47c7b0c7b2 | 9e5dcacdd3e9c77c0733b4569a46079fb6d616e1 | /R/selfing.R | d9ffa6c0c865e4e0b25c15ed196cdb8630f78803 | [] | no_license | HZaw/mpMap2 | 8c6bdc8b80f25c26a75993eaf0f690cffffcf309 | 25d5cf9c1adfb9cd235ff3ee0d5f16cf42bcf730 | refs/heads/master | 2021-01-23T16:50:13.619217 | 2017-09-05T00:28:16 | 2017-09-05T00:28:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 769 | r | selfing.R | #' @include pedigree-class.R
#' @include detailedPedigree-class.R
#' @export
setGeneric("selfing<-", function(object, value) standardGeneric("selfing<-"))
#' @export
setGeneric("selfing", function(object) standardGeneric("selfing"))
setMethod(f = "selfing", signature = "pedigree", definition = function(object)
{
objec... |
c257b7a64ac65f69cce12e86df40b086822781fe | 8b21432aa164f8e69a1b0adad56383e99bffb13f | /analysis/R/plot_results_by_harm.R | 4a6417e9efbe57422e0f946516df6dc7437c89b0 | [] | no_license | gilmore-lab/infant-moco-eeg | 872f7d253434db69c54003b3af323a780f5042ba | 32d7ead6b139130b64c5b63f0f5ef882a2978f3d | refs/heads/master | 2021-09-19T21:22:38.265262 | 2018-07-31T18:36:01 | 2018-07-31T18:36:01 | 105,902,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 555 | r | plot_results_by_harm.R | plot_results_by_harm <- function(df_moco, this_harm){
chan_eff <- compute_chan_effects(df_moco, this_harm)
df_chan_stats <- make_stats_df(chan_eff)
plot_channel_effects(df_chan_stats, this_harm, group=this_group)
print_stats_table(df_chan_stats, "Pattern")
print_stats_table(df_chan_stats, "Speed")
pri... |
04a3d66cedb178cd2c8f43f1391d1920b4d2679a | bb9db7f3138c894ed64fc3d11d883e9754001e8f | /R/p31_drawQQ.R | b95b791b0ac05ea6d2741a88f823ae9f4c2e6c05 | [] | no_license | Global19/PDB-Outlier-Analysis | ea925200afd39a4d878e088323b7421c2a748923 | 5c1518b87abd981502ddf26e9a62158474ec8f8c | refs/heads/master | 2021-09-23T23:22:52.361482 | 2018-09-29T01:04:00 | 2018-09-29T01:04:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 997 | r | p31_drawQQ.R | ## Draw normal QQ plot of each data set
drawQQ <- function(filename_item_list, data_folder="", image_folder=""){
df_items <- read.table(filename_item_list)
v_items <- as.character(df_items[,1])
for (item in v_items){
filename_data <- paste0(item, "_outlier")
filepath_data <- paste0(data_folde... |
16d056b2b9bc83f9a4db924e470342c17b659043 | 4e751ea99ec33a74e76a691f81fd9b51090bb22c | /man/naEvolution.Rd | df119c6f0439ad67ca9bc07c1856b7991346c6ff | [] | no_license | slkarkar/RGCCA | cd621a66b045bcc2a7f89ac065d0eb4effbd1bc6 | 0c4894e6805097459e1d8c1b083984c9845f65bc | refs/heads/master | 2023-02-03T09:39:24.266270 | 2020-04-17T12:12:18 | 2020-04-17T12:12:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,152 | rd | naEvolution.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/naEvolution.r
\name{naEvolution}
\alias{naEvolution}
\title{Evolution of quality of rgcca with increasing missing values}
\usage{
naEvolution(blocks, prctNA = c(0.1, 0.2, 0.3), listMethods = c("mean"),
typeNA = "block", ncomp = rep(1, lengt... |
670fd688c7a955f68d8c2155e16e750309eb27ee | 811dc1779291d2ce3515b0c8e79b71c5e19f82b4 | /R/zzzz_oldfuns.R | 1b63e5f7065e0c7d3688448da81bab199dab09a9 | [] | no_license | fcampelo/CAISEr | aa61f200df4325e9816209ef862915d6018ff894 | 5d4210b6b9607898ee90bd5a48fbe6d21ce558de | refs/heads/master | 2022-12-01T05:20:40.262508 | 2022-11-25T09:56:57 | 2022-11-25T09:56:57 | 106,617,932 | 2 | 0 | null | 2019-07-03T10:44:25 | 2017-10-11T22:56:46 | R | UTF-8 | R | false | false | 31,717 | r | zzzz_oldfuns.R | #' Determine sample sizes for a set of algorithms on a single problem instance
#'
#' Iteratively calculates the required sample sizes for K algorithms
#' on a given problem instance, so that the standard errors of the estimates of
#' the pairwise differences in performance is controlled at a predefined level.
#'
#' @se... |
8066a19c9829afb11e32a04edef8c6dc6e14223f | 11770c57047327c8cd3e3885a5f3547682b8b3b8 | /plot2.R | 5f6dd8d8ff9237aa56ccde501ddbc589cec434ab | [] | no_license | AbidRaza1/Exploring-power-consumption | 7462919ec6736aa34123e47b51bf74e87c787e83 | 4043c73a3a2ffe04e468a63d43c6050976815fb5 | refs/heads/main | 2023-06-19T00:10:12.399293 | 2021-07-12T20:30:10 | 2021-07-12T20:30:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 405 | r | plot2.R |
##-------------Plotting Global Active Power(kw) over the period of two days-----------------##
# Plotting Scatter plot
plot(df1$Date+df1$Time, df1$Global_active_power, type ="l",xlab = "", ylab = "Global Active Power(kilowatts)")
# Copying Image in .PNG format
... |
a2f2cfd43a73f9ee34efb63c219b766d9a71176b | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/cairoGetScaledFont.Rd | f495c63e3f306a02937a15d0a143dffe5bdb1ccf | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 909 | rd | cairoGetScaledFont.Rd | \alias{cairoGetScaledFont}
\name{cairoGetScaledFont}
\title{cairoGetScaledFont}
\description{Gets the current scaled font for a \code{\link{Cairo}}.}
\usage{cairoGetScaledFont(cr)}
\arguments{\item{\verb{cr}}{[\code{\link{Cairo}}] a \code{\link{Cairo}}}}
\details{ Since 1.4}
\value{[\code{\link{CairoScaledFont}}] th... |
3cf11a221586a4b2175bfe2133e21ed3c77dac59 | 8c6ee4c1df82aa3d76634920c912a817fba979e6 | /Templates/R/Regression/RandomForestRegression.R | 1e88c7e4b0fccbdda004dde7c5146cf34cfd8f6b | [] | no_license | kenilshah27/Data-Science-Analytics | f83400e753b3fcd7fb0a239e9ae1efd4a9f444d0 | 2696631dc4e735b275d80e744da9b146111e5ea4 | refs/heads/master | 2020-04-18T16:14:41.172950 | 2019-08-03T21:45:24 | 2019-08-03T21:45:24 | 167,629,661 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,123 | r | RandomForestRegression.R |
dataset <- read.csv('Dataset Name')
summary(dataset) # provides a summary of the dataset
str(dataset) # gives us a structure of the dataset
names(dataset) # names of the column
library(caTools)
datasplit <- sample.split(dataset$DependentVariable,SplitRatio = 0.8)
train <- subset(dataset,datasplit = TR... |
de0857734b6a0a7ee7d7c3f968e09c8c03a8e7cd | 16456431fa3834700e777c9d3b4919de19fda7c0 | /man/plotSamplesMut.Rd | 138a4bb737968da54106d53855c2b7af2ed37d8e | [
"MIT"
] | permissive | yulab41/cDriver | 69b4985c8142b887342d7d0b66a89c73ee5b36df | aa466ae92095f877a1f68ee7d2e6136cba9b02ea | refs/heads/master | 2021-11-26T07:53:06.780293 | 2018-01-18T03:04:44 | 2018-01-18T03:04:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,588 | rd | plotSamplesMut.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plotSamplesMut}
\alias{plotSamplesMut}
\title{Plot mutations per sample distribution.}
\usage{
plotSamplesMut(sample.mutations, indels = TRUE, silent = TRUE,
fill = FALSE, Tumor_Sample_Barcode = NULL, Hugo_Symbol = NULL,
Var... |
407efe35ecdb29da349a484510574d8bd07c7e56 | 4151705d873af486f359ebc60427c4e439044510 | /old_files_not_used/deseq/logfc.R | 006cb7ef5dbc1a3bd2f92bd1557ec709bf201ab3 | [] | no_license | GW-HIVE/bioxpress | 375e74221ff8841049530cf5c60eb440436d8d1f | 6ca86916958c08b88985b745a3f795c0156d85e3 | refs/heads/main | 2023-08-12T08:12:53.736967 | 2021-10-08T13:53:26 | 2021-10-08T13:53:26 | 392,076,238 | 1 | 1 | null | 2021-10-08T13:53:27 | 2021-08-02T19:51:53 | Python | UTF-8 | R | false | false | 1,062 | r | logfc.R | library(pheatmap)
args <- commandArgs(TRUE)
setwd(args[1])
assayFile <- args[2]
colFile <- args[3]
progressPath <- args[4]
progressFile <- file(progressPath)
#read in hit counts
write("Reading in hit counts (assayFile)",file = progressFile)
assay<-read.csv(assayFile, row.names=1)
#read in category table
write("Readin... |
616684324c05ecf012e9f99aab47cd5978ee43e6 | 92d988ba40fbc2bd1d3771a3f01faba1efb28a7d | /ui.R | ff89da8af475c4ee1251a2e4d453e44f6e97d7a2 | [] | no_license | savirhuitron/ds_capm | b9f1afbf23fab3b16f983f4acee8ba08ebe031ee | 8a5990b8bc291684cf4ef083e3a9bc19433fc00e | refs/heads/master | 2021-01-01T05:10:43.691500 | 2016-04-21T02:10:34 | 2016-04-21T02:10:34 | 56,734,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,103 | r | ui.R | library(shinydashboard)
library(rCharts)
library(markdown, warn = F)
library(knitr, warn = F)
library(dplyr, warn = F)
#carpeta2 <- 'O:/Users/shuitrong/Documents/CAPM'
source("CAPM_fa.R")
header <- dashboardHeader(title = "CAPM")
sidebar <- dashboardSidebar(
sidebarMenu(
menuItem("AN INTRODUCTION", tabN... |
c8c2222a4ee8cf2feb58ce8b6dc0ee9be2c1de6d | e2acc4f6e860580d8b1bb6d2e27befc47b82be29 | /R/hyp-test.R | 7000a991e707288f249c383bfdda2c1d3d45b902 | [] | no_license | markwh/rtvalidate | a3bc2dd8c99a2c0d235012a5fbcbc6c1dec6cec2 | 676cdb023778e0e14a8e079203ad868d48be4786 | refs/heads/master | 2020-07-01T21:33:39.579875 | 2019-09-18T18:13:03 | 2019-09-18T18:13:03 | 201,308,748 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,081 | r | hyp-test.R | # Hypothesis testing
#' Test uncertainty estimates against chi-square distribution
#'
#' @param valdata A data.frame as returned by \code{rt_valdata()}
#' @param debias Remove effect of bias? Defaults to FALSE
#' @param sides 1 for 1-sided, or 2 for 2-sided hypothesis test. If 1, test is on upper tail.
#' @param log.p... |
fc59b6af38c29a29a7395915ea4efcc16954fc98 | 47563c6a77e1b3a92581d99cff4792cfb41182db | /R/handle_errors.R | d13c16da58c72ceaeb1b105b43c244de52d5d059 | [
"MIT"
] | permissive | ropensci/oai | d7422a643081b6a92364de938cfdc373550df681 | 866af429d8cd4a97735c0efa1285fdde6cccf950 | refs/heads/master | 2022-11-13T01:30:08.422265 | 2022-11-10T16:46:58 | 2022-11-10T16:46:58 | 37,342,428 | 14 | 7 | NOASSERTION | 2022-09-22T16:58:42 | 2015-06-12T20:14:33 | R | UTF-8 | R | false | false | 1,246 | r | handle_errors.R | # Look for OAI-PMH exceptions
# https://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions
# xml = parsed xml
# Return TRUE if OK or stop
# handle_errors <- function(xml) {
# nodeset <- xml2::xml_find_all(xml, ".//*[local-name()='error']")
# if( length(nodeset) > 0 ) {
# msgs <- sapply(nodeset, ... |
621435845139d8ea153b2a4b4bc2178f46eb0287 | e98214e129c6f336b2a380c36bb32492b635a007 | /wp-content/uploads/2012/10/henon.r | 9fbd628c3059c03e0810c5602987d28c92d92413 | [] | no_license | hewner/hewner.github.io | 7d3bb99e214c939f3e64d8070b021b828a0dc6b0 | e5a07797b809e565dc1f1a3b76c3a8e4d8451715 | refs/heads/master | 2022-06-10T07:22:30.556376 | 2022-05-18T19:46:53 | 2022-05-18T19:46:53 | 141,222,806 | 0 | 0 | null | 2021-05-19T12:07:05 | 2018-07-17T02:54:38 | TeX | UTF-8 | R | false | false | 565 | r | henon.r | generateHenon <- function()
{
numberToPlot <- 10000
startX = 0.000001
startY = 0
HenonX = rep(0,numberToPlot)
HenonY = rep(0,numberToPlot)
HenonX[1] = startX
HenonY[1] = startY
a = 1.4
b = 0.3
for (i in 2:numberToPlot) {
prev = i - 1
HenonX[i] = HenonY[prev] + 1 - a*HenonX[pre... |
4b82c74a931344fdc3572c6de1edb0f6c961ff26 | cdbc8fc811953f15bd9587dae98c1ef98d3ac20b | /man/mytest.Rd | 2b7d4730eac86df9dd0a2ecf8cba7f0f1144b2fa | [] | no_license | hodgesse1/newFort1 | d21e20d21ccfe69c090020925a6de51b36440c1a | 6d397efc08d8f8f88632a70d78cc89120a7ea5d8 | refs/heads/main | 2023-08-30T20:16:59.581793 | 2021-10-17T04:24:52 | 2021-10-17T04:24:52 | 418,015,800 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 355 | rd | mytest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mytest.R
\name{mytest}
\alias{mytest}
\title{Produce the output from myone}
\usage{
mytest(n = 100)
}
\arguments{
\item{n}{An integer}
}
\value{
\code{x} which is a vector of random normal values,
\code{y} which is \code{x} + 4.
}
\descriptio... |
ca321a51be24f83cb16b95c7ed57f675fb002c16 | 93053d8d9226645f2be4fbbc3de1fe7a444c7746 | /R/hfr_append_sources.R | bdacb90ecd55dbd2dc7b1a38e6d36aa38a327ac5 | [
"MIT"
] | permissive | USAID-OHA-SI/Wavelength | 500a55dd3c1fba630a481b0610b8a264d1fcddca | 270e88233a0316f521d64adefe70112954c9ab33 | refs/heads/main | 2023-04-04T22:50:52.704479 | 2023-03-16T15:57:57 | 2023-03-16T15:57:57 | 179,119,038 | 3 | 0 | NOASSERTION | 2023-02-10T14:27:14 | 2019-04-02T16:38:22 | R | UTF-8 | R | false | false | 8,402 | r | hfr_append_sources.R | #' #' Append HFR and DATIM Data
#'
#' @param folderpath_hfr folder path to HFR processed data
#' @param folderpath_datim folder path to DATIM extracts, see `extract_datim()`
#' @param start_date start date of HFR period, YYYY-MM-DD format
#' @param weeks number of weeks to create, default = 4
#' @param max_date cut off... |
d66582be7c98c8559b300137ba9c9edfd8408643 | b9d37167ebba26822213ba72e330a2237977e7db | /tests/testthat/test_listspecies.R | cfcbb8fb5665c88cfbf7bdd824476831badd93e5 | [] | no_license | phylotastic/rphylotastic | 6e90f5a4704b339aad5eef401f3ac42dd007c20f | 1cd60f2d99cc31e485ef9e38f76ff7f80c7f958c | refs/heads/master | 2023-08-24T08:09:07.411924 | 2023-08-08T23:21:33 | 2023-08-08T23:21:33 | 84,949,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,927 | r | test_listspecies.R | #test_that("Inserting a list of species", {
# userid <- "abusalehmdtayeen@gmail.com"
# listObj <- list(list_extra_info="", list_description="A sublist on the bird species added", list_keywords=c("bird", "endangered species", "Everglades"),list_curator="HD Laughinghouse", list_origin="webapp", list_curation_date="02-2... |
ba6b0778f84a3da9fc235fa3c89c058d87f76fb1 | 485fbaa39d76f76eef450cbd2ff34376a471f571 | /functions/new_partitioning.R | 9205176922d5da979b25452c111ab8baeec98af2 | [] | no_license | stinenyhus/Bachelor_deluxe | 00790ed5d572ec81a96f6de98579d7cba024f09f | edd0eb7b72978de187dab83211b97cee6ee5158c | refs/heads/main | 2023-07-11T18:00:21.283612 | 2021-08-18T11:50:49 | 2021-08-18T11:50:49 | 343,839,627 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,421 | r | new_partitioning.R | ###Only males partitioning
##Danish partitioning
partition_dk <- function(demo, features, hold_size = 0.2){
set.seed(1234)
#Using demoset to partition participants, then splitting data from the feature dataframe
#How many participants should go into hold-out set from each subgroup (gender/diagnosis)
n = round((... |
259b9dd76c258e58a1adbc64706613bcecd2844f | 1912ddbbd7b67235ca7b3a0f06ad8533a4538022 | /cachematrix.R | 636db80f7fda96e079f3ac793ae93919347bfd40 | [] | no_license | riccicc/ProgrammingAssignment2 | 715da2c61cb97acc155d2dc14b09515914a1ad63 | ca13dd5fbe4b6709ac1d421ebefaee91b1d82d72 | refs/heads/master | 2021-01-18T07:19:15.107791 | 2014-05-25T22:14:36 | 2014-05-25T22:14:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,500 | r | cachematrix.R | ## ------------------------------------------------------------------------------
## R Programming Course
## John Hopkins University
## May 2014
##
## Programming Assignment 2
##
## To avoid costly computational time, these functions will compute
## the inverse of a square matrix and will cache the inverse of a matrix.... |
8e12edb2d11e9eaeb62be477af59e412b1760d03 | 1db06f2f5819f01ea9683cda921c01634776974d | /exercicio2/source.R | 19f81bdf4885dea8b4341bc6bd91d24ae4e2d2b3 | [] | no_license | juliomaister/IAA_2019_R_trabalho | b70a1f0a3bedb29b259c1eb066c01464ad7891f2 | 7f5a082794ad0975a51b9f161f40b6c8c86e02fe | refs/heads/master | 2020-06-04T12:15:47.803324 | 2019-06-15T02:24:56 | 2019-06-15T02:24:56 | 192,017,267 | 0 | 0 | null | 2019-06-14T23:48:12 | 2019-06-14T23:48:12 | null | UTF-8 | R | false | false | 4,146 | r | source.R | library("caret")
set.seed(7)
# -----------------------------------------------------------------------------
# CARREGAMENTO E CONSTRUÇÃO DOS DADOS
# -----------------------------------------------------------------------------
volumes = read.csv("Volumes.csv", sep = ";", dec = ",")
dataset = subset(volumes, select =... |
3158b229f984835fc0a0b23a34dae5ed6b5bb37a | eeff7caad6623a2bb401cf02544ee4bb0654a716 | /Gene-Expression/diff_gene_expr.R | b408058ff635f56e61a9ae259372d32e2c048624 | [] | no_license | Boyle-Lab/TE-Driven-CTCF-Loop-Evol | f17209ccfa96123e278e8da13d3becea5f1c0e53 | 96db32b3d6afb3d778ece40fe41172341245566f | refs/heads/master | 2021-07-10T23:40:17.861086 | 2021-06-29T15:45:57 | 2021-06-29T15:45:57 | 132,179,189 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 21,522 | r | diff_gene_expr.R | # R pipeline to produce histone mod and gene expression plots in Figure 7 and Sup. Fig. 13.
require("heatmap2")
# Read in data on loop annotations.
load("../TE-Loop-Intersection/loop_intersection.Rdata")
# Read in gene expression data.
gene_expr_data = read.table("../data/gene_exp/rna_seq/normCountsComplete.tab", se... |
30bbd0488f80e8b5da8d38fa18bd38b6b28afe9f | 8744ef81426158f46ad0774cade48ea9362a668e | /CatalogApp_Location/global.R | 8b35463007350c92a7f9245e7d25411d3cd6894c | [
"BSD-3-Clause"
] | permissive | WSWCWaterDataExchange/Apps | 19d794e720e05ba4015af04efd49405b8156e08a | 1809bbfd3d3f8422f7a64372a381c0f1acb28b8a | refs/heads/master | 2020-04-24T16:25:03.032510 | 2019-02-22T17:48:28 | 2019-02-22T17:48:28 | 98,689,871 | 0 | 1 | null | 2017-08-14T06:45:45 | 2017-07-28T21:33:28 | R | UTF-8 | R | false | false | 313 | r | global.R | #Load packages
library(shiny)
library(leaflet)
#Load local data
load('data/CustomRU_available.Rdata')
load('data/HUC_available.RData')
load('data/CO_available.RData')
load('data/CA.RData')
load('data/DAU.RData')
load('data/HR.RData')
load('data/WA_Cust.RData')
load('data/PA.RData')
load('data/allstates.RData')
|
c0d25eca6a1d5321a56f7ec67d93f4e562fb9b5c | a28d9fa98ac838b82fc7e12c83c8a744990b6645 | /filing_docs/scrape_filing_docs.R | 918d5aaca2485a7f38be3db6d504b540dd2b749b | [] | no_license | vadim-cherepanov/edgar | 4c2937d1ccb7fb5feb9f34cfe75aeb0916f880e0 | bde77940bb1888ea24fdf36d6c2837c447bfd24e | refs/heads/master | 2023-07-15T03:54:08.916039 | 2021-02-13T16:10:58 | 2021-02-13T16:11:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,730 | r | scrape_filing_docs.R | #!/usr/bin/env Rscript
library(dplyr, warn.conflicts = FALSE)
library(DBI)
library(parallel)
target_schema <- "edgar"
target_table <- "filing_docs"
source("filing_docs/scrape_filing_docs_functions.R")
pg <- dbConnect(RPostgres::Postgres())
rs <- dbExecute(pg, "SET search_path TO edgar, public")
rs <- dbExecute(pg, ... |
bfecc27b31c25eb7f326dbd1c8468d49b5265912 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/man/opsworkscm_delete_server.Rd | bf6f0e23a39f6d9941e6ffcb19ce9050bc5cbb16 | [
"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 | 876 | rd | opsworkscm_delete_server.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/opsworkscm_operations.R
\name{opsworkscm_delete_server}
\alias{opsworkscm_delete_server}
\title{Deletes the server and the underlying AWS CloudFormation stacks
(including the server's EC2 instance)}
\usage{
opsworkscm_delete_server(ServerName... |
02f5591166a25262a5fc23f06015499f26e42a16 | 9c2f40ae8269413feb32cffa6d581dfe9f931dd0 | /R/split_data.R | 4101829ea4324be8488e56fd057b3ae5b3b6a1a8 | [
"MIT"
] | permissive | tpetricek/datadiff | ed5ca6cdfe8129ed947c24a42c62ea265aad86ef | 8941269b483da9abcacde804b7f6b6e0a122a57a | refs/heads/master | 2020-07-31T19:09:25.118489 | 2019-09-25T23:55:01 | 2019-09-25T23:55:01 | 210,723,004 | 0 | 0 | MIT | 2019-09-25T00:39:49 | 2019-09-25T00:39:49 | null | UTF-8 | R | false | false | 424 | r | split_data.R | #' Split a data frame into two pieces
#'
#' @param df
#' A data frame.
#' @param split
#' A number in the unit interval specifying the splitting ratio.
#'
#' @return A list containing two data frames.
#'
#' @export
#'
#' @examples
#' split_data(head(mtcars), split = 1/2)
#'
split_data <- function(df, split) {
rows <-... |
e47b8c9eab31c353c6082a5d9115634bf4e94174 | f54870a84073a98c44461fb81c8782a015413823 | /cachematrix.R | 59f85ddbac455c3f981c8b7628a6f36a840e7f7f | [] | no_license | dmungas/ProgrammingAssignment2 | 626ed88f45c859589eb196e429a9000807835088 | 9c7f6bc194beeac1bbf61cf8d7b7c04bdde7ff29 | refs/heads/master | 2021-01-16T00:18:06.605235 | 2015-05-24T18:33:01 | 2015-05-24T18:33:01 | 36,185,814 | 0 | 0 | null | 2015-05-24T18:13:52 | 2015-05-24T18:13:51 | null | UTF-8 | R | false | false | 2,192 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
# These two functions enable calculation and caching of the inverse of an
# invertable square matrix. The inverse of the input matrix is cached the
# first time that the inverse of the matrix is calculated. Subsequent calls for
#... |
5895a1d7b1b89a73b0fff208947edabfb43a340e | e5a5ba3c849ee058a51a1f5a217e3bca5c1824c1 | /plot_map.R | c981fc931cd9b475e40d64919a4b2d680d0d59cd | [] | no_license | kamarambi/utilities | ebca2832633e38e1073b33e0325d573a40c8df72 | c03cfb2140ff58c47c3367bc7c453477850bc061 | refs/heads/master | 2021-09-13T11:46:54.920589 | 2018-04-29T10:10:11 | 2018-04-29T10:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,845 | r | plot_map.R | plot_map <- function( arr, lev, file=NA, positive=TRUE, toplefttext=NA, toprighttext=NA, color=NA, minval=NA, maxval=NA ){
require( ncdf4, quietly = TRUE )
require( fields, quietly = TRUE )
require( sp, quietly = TRUE )
require( maptools, quietly = TRUE )
require( dplyr, quietly = TRUE )
if ( dim(arr)[1]=... |
ea0f5f5921cb85e6d75f99a69fe28a3e0632ab1e | 2cd4292520d1376bbd909c030ae9b4e1ffcf9014 | /Hillot_to_jam.R | e4faf9db08acfc75723bac4b69675da9b16a67b0 | [] | no_license | Sirke/IODS-project | 29b06e6688d12814f28779ba53d53fe85e878c46 | 94163a4c36242d6cb029f1b8aafb298ffb22adf5 | refs/heads/master | 2020-04-02T16:43:14.904162 | 2018-12-06T19:43:18 | 2018-12-06T19:43:18 | 154,625,518 | 0 | 0 | null | 2018-10-25T07:07:01 | 2018-10-25T07:07:01 | null | WINDOWS-1252 | R | false | false | 255 | r | Hillot_to_jam.R | cashflow<-read.csv(file="Sirkenhillot.csv",header=TRUE,sep=";")
columns_in<-c("Pvm","Määrä")
money_out<-select(cashflow,columns_in)
money_out<-rename(money_out,amount=Määrä)
money_out<-rename(money_out,date=Pvm)
write.csv(money_out,"Sirkesjam.csv")
|
99ca1d9ff70d5bdaae3379bd266b80d96baf4228 | 459749b2629cf7697105c3e1289b2b875a1d5822 | /R/teams.R | 9485c4ad96b638dcfad6206fada8930e13b15b00 | [] | no_license | GitBrianLaw/rcrunch | 52d0be58a552c9609fb487fdb8de408d081d9577 | f75deb52282175b6f9d4c69db954ee7ea8b89a9b | refs/heads/master | 2021-01-09T08:05:51.008417 | 2018-01-25T22:08:16 | 2018-01-25T22:08:16 | 48,709,208 | 0 | 0 | null | 2016-02-10T19:20:37 | 2015-12-28T19:37:57 | R | UTF-8 | R | false | false | 3,048 | r | teams.R | #' Teams
#'
#' Teams contain users and datasets. You can share a dataset with a group of
#' users by sharing the dataset with a team. You can also share a set of
#' datasets with a user all at once by adding the user to a team that contains those
#' datasets.
#'
#' These methods allow you to work with teams. Find your ... |
fcaf9902ec5a439c7e80a08ad477268e0f7dfd93 | 4a0350925583ac1cec0a424ae06e0f35af75ac75 | /misc/annotation.R | 6864a33102d549e6c35e2918edb2641c5383599c | [] | no_license | apatil1/MethylAnalyser | 225b80acb33e993ec337c4b1c713d485043d798c | cd437bc37d91201a2a27a9225744203bc27216db | refs/heads/master | 2021-01-19T21:28:03.022713 | 2015-07-06T14:42:44 | 2015-07-06T14:42:44 | 38,624,366 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,248 | r | annotation.R | ############################################################################################################################################################
#ANNOTATION DATA
#Illumina 450K probe annotation using IlluminaHumanMethylation450k.db
############################################################################... |
15f34dd453f9047da93a28828382cbe4c78a63a0 | 699216784cf1879e7ea3a82d1f6c2a9ccf357d7d | /R/sf.r | f972bac75ccc2d53b57ab0be1f5b10a920784c2d | [] | no_license | cran/vows | 61ce84cebbc7abb489f48aa3f76cdefb16617034 | 3900bad7378e6122c08f7595301d82f37652b681 | refs/heads/master | 2020-12-25T17:34:10.506115 | 2016-08-21T12:22:51 | 2016-08-21T12:22:51 | 17,700,819 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,101 | r | sf.r | #' Defining smooth functions in semiparametric model formulae
#'
#' This function is called by \code{\link{semipar.mp}} to define B-spline
#' smooths.
#'
#'
#' @param argvals a vector or matrix of covariates.
#' @param effect predictor whose effect varies with respect to \code{argvals}.
#' E.g., if the effec... |
6fa46aafd9242b783129b652dd819ee703ffe53a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/netrankr/examples/exact_rank_prob.Rd.R | 4043c128bd60096c02f1917e7aa9db77a0cf6478 | [] | 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 | 385 | r | exact_rank_prob.Rd.R | library(netrankr)
### Name: exact_rank_prob
### Title: Probabilistic centrality rankings
### Aliases: exact_rank_prob
### ** Examples
P <- matrix(c(0,0,1,1,1,0,0,0,1,0,0,0,0,0,1,rep(0,10)),5,5,byrow=TRUE)
P
res <- exact_rank_prob(P)
#a warning is displayed if only one ranking is possible
tg <- threshold_graph(20,0... |
faf2479049a15a68e834ddb2dea45a252126ee37 | 97e9c55dc2cf1a99b42e5f87aaab5f4378b272cf | /BE/LP1/Data Analytics/Assignment 2. Naive Bayes/R/diabetes.r | a27f9a68686f9e317a10dfe8dc8d2f9f40ef80f6 | [] | no_license | riamittal8/Engineering-Assignments | 1f133971ecedf301fe0416427631436675959f21 | c62a55eaa1abec9854e3facf6743ee168f3c6ab0 | refs/heads/master | 2022-08-11T22:18:15.733246 | 2022-07-20T06:44:11 | 2022-07-20T06:44:11 | 216,047,821 | 0 | 0 | null | 2022-07-20T06:44:12 | 2019-10-18T14:56:09 | Java | UTF-8 | R | false | false | 1,577 | r | diabetes.r | # Download Pima Indians Diabetes dataset.
# Use Naive Bayes Algorithm for classification
# Load the data from CSV file and split it into training and test datasets.
# summarize the properties in the training dataset so that we can calculate probabilities and make predictions.
# Classify samples from a test dataset a... |
a4f925b61513745f3da92a25636f6d3fdbb1ec81 | 3e7665fc13f600759c95aae56b52bdb8384fe369 | /analysis/multiSpp-singleSea/src/initialize.R | ad10c2783a8a07b0b74664d672e5596bc322fdf6 | [] | no_license | lponisio/hierarchical | 988aa7d02c5c32656a35c13cddb856ab21efd278 | 128fd223bea2af65dab18bbb57df81d777acd916 | refs/heads/master | 2023-01-22T13:53:45.120057 | 2023-01-18T20:31:38 | 2023-01-18T20:31:38 | 66,016,092 | 8 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,742 | r | initialize.R | args <- commandArgs(trailingOnly=TRUE)
if(length(args) == 0){
run.models <- FALSE
make.comp.plots <- FALSE
mcmc.scale <- 2e2
} else{
run.models <- args[1]
make.comp.plots <- args[2]
mcmc.scale <- as.numeric(args[3])
}
library(nimble)
library(igraph)
library(reshape)
source("../all... |
98816fd0ce0f7e6281ef1a29828c0dc943bbeb41 | e7473a6b1850f94f0901cf20c89ac0151db9029f | /topnet_data_service/TOPNET_Function/RCODE/get_USGS_streamflow.r | 6bdafa382221633c1446d86c263d93704e13a889 | [] | no_license | prasanna310/hydrods-dev | d3da8c4490d60d4702137f857638c78130d892db | d5e18cb69aa9054b170c7100744a8f2c7cc178b1 | refs/heads/master | 2021-09-06T17:39:14.772404 | 2018-02-09T03:50:27 | 2018-02-09T03:50:27 | 111,299,830 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,174 | r | get_USGS_streamflow.r | args<-commandArgs(TRUE)
# args <- c(USGS_gage, startYear, EndYear, output_directory, output_fname)
# args <- c('10109001', '2010', '2011', '.', 'streamflow_calibration.dat')
print ('Progress --> About to execute get_USGS_streamflow.r ')
print (args)
require(zoo)
require(XML)
require(RCurl)
require(dataRetrieval)
#G... |
4362829dc60c28556c36af3e33d85742a72a584c | adb0614b2ec762471e5961cc61a191bca31b9006 | /R/similarity.R | ce2eeb187499b7ed84265a647f130af1601e1504 | [] | no_license | cran/multigroup | 1bc148965caa412353bd1e40e8546a7b82308953 | 32302a6735e330c0c9ae90ded31a3fb84e8aa1a4 | refs/heads/master | 2021-01-25T08:54:27.665530 | 2020-02-23T16:50:05 | 2020-02-23T16:50:05 | 17,697,738 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 795 | r | similarity.R | #' @title similarity function
#' @description
#' To calculate similarity among common and group loadings
#' @param x a numeric vector
#' @export
#' @keywords internal
similarity_function<-function(loadings_matrices, NAMES){
nb= length(loadings_matrices)
H=ncol(loadings_matrices[[1]])
sim=vector("lis... |
7eaac7c1a34275a06df82812922bb3b260325685 | ce96086358022c0469d69cf49e6689869c25699a | /programs/merge_inertial_signals.R | fec8d82be052c78f7bde0429a20d149120798950 | [] | no_license | coursera-ricardor/getdata-009 | b0b730bfff1fd691a597b65de7f3cd5364c7201b | 5157ad1a66f689d3188a9085717603b60d75d31e | refs/heads/master | 2021-01-10T21:05:53.227776 | 2014-11-26T20:05:11 | 2014-11-26T20:05:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,322 | r | merge_inertial_signals.R | # Program: merge_inertial_signals.R
# Author: Ricardo Rodriguez 2014/11
#
# Code to merge the files contained in the
# directories:
# Basic string with generic value (XXXXXXXX) changable to: train, test
# "UCI HAR Dataset/XXXXXXXX/Inertial Signals/body_acc_x_XXXXXXXX.txt"
#
# ============================... |
749912246396a1be890a4dab731cc7830b97924e | 094ba2cef85a502521fb4d3d7d2c09127591c906 | /3_vector_array.R | af872267b9160e63227fa1b1c929616b9675d282 | [] | no_license | SaadAhmedSalim/R-programming-Language | 931ba9069620fef449025f59f6e6a8ca972b44cb | 4745c444d2756b9b1c0c5d1e916c3cc5695d6f09 | refs/heads/main | 2023-04-19T03:41:57.677803 | 2021-04-25T07:12:06 | 2021-04-25T07:12:06 | 359,699,237 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,440 | r | 3_vector_array.R | myFirstVector <- c(3, 45,22, 345)
myFirstVector
is.numeric(myFirstVector)
is.integer(myFirstVector)
is.double(myFirstVector)
mysecondVector <- c(3L, 23L, 321L)
is.numeric(mysecondVector)
is.integer(mysecondVector)
is.double(mysecondVector)
mythirdVector <- c("o","432","Hello","Mr.White")
mythirdVector
is... |
ad860f55b6e6db5c3b2caf8e0299acf2f89f97b0 | 5eee695aa266ae3c54dda11e2731082295f82213 | /plot2.R | 2076cd83aa445fb0f4b6b9f913e58eff9dbb3696 | [] | no_license | B87/ExData_Plotting1 | 59e8c8271264ba83c81a6fa39e3f30b23eae9f3f | b08911b7a44832dbb671596f85736a3cf06fa5ac | refs/heads/master | 2021-01-15T08:37:49.737284 | 2015-07-09T15:55:36 | 2015-07-09T15:55:36 | 38,692,352 | 0 | 0 | null | 2015-07-07T14:17:35 | 2015-07-07T14:17:35 | null | UTF-8 | R | false | false | 1,274 | r | plot2.R | ## GETTING THE TIDY DATA
##set directory
setwd("C:/Users/Bernat/Desktop/MOOCS/Exploratory_Data_Analysis/exdata-data-household_power_consumption")
#read data
rawdata<-read.table("household_power_consumption.txt", header=TRUE, sep=";"
,stringsAsFactors=FALSE)
#transform Date into date class
rawdata$... |
93aba3c9a7b4b850fce5fe49dda7fc2d3483a767 | 1d853247a544ddbba2e48a04706221f99af3640c | /man/geom_relations.Rd | 62c5020e86ec89486e13ac6bd0eb81bb2b767d1a | [
"MIT"
] | permissive | junkka/histmaps | 14353a891aa9cb4c313f2521a261381ed209c637 | bd7c3f876cd2b13542da6db83eca1eeb4f50bbf6 | refs/heads/master | 2022-04-28T18:38:08.170827 | 2022-04-14T12:37:19 | 2022-04-14T12:37:19 | 44,126,092 | 4 | 1 | null | null | null | null | UTF-8 | R | false | true | 544 | rd | geom_relations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{geom_relations}
\alias{geom_relations}
\title{Geographical relatives of units}
\format{
A \code{tibble} with 19958 rows and 5 columns
\describe{
\item{g1}{geom_id of unit 1}
\item{g2}{geom_id of unit 2}
\... |
78b7455ff7fecfa878fb2149bd97d38229240692 | ac79d0e10669802dc128caf6f1c935a543b71a72 | /scripts/rhizoFuncs/man/make.datetimes.Rd | d6feba4447ac84aecaa3c8f4b58f1031c7e4d170 | [] | no_license | infotroph/efrhizo | 2ab0f931a8fe9cbcbede794aca539fc9120526e9 | 8783e81d50aa2d7a09fff7cd3456c7728161653b | refs/heads/master | 2020-12-26T04:15:27.176785 | 2017-06-27T03:21:58 | 2017-06-27T03:21:58 | 46,886,036 | 1 | 1 | null | 2016-08-05T06:56:26 | 2015-11-25T20:52:08 | Max | UTF-8 | R | false | false | 2,032 | rd | make.datetimes.Rd | \name{make.datetimes}
\alias{make.datetimes}
\title{
Mash WinRhizo dates and times together into a POSIXct datetime
}
\description{
Given a dataframe with a Date ("2014.07.01") and a Time ("121505") in WinRhizo's weird formats, paste them together into a POSIXct timestamp.
}
\usage{
make.datetimes(df)
}
\arguments{
\... |
c82144f1785e0e1cf2d913bf136157ccc5ace16b | ecb7a5e998f523fbeec64d5430aa64dffb9d55fc | /R/csbc_app_server.R | 83aad675ae500db49215e6660da0ebdce12c273f | [
"MIT"
] | permissive | jaybee84/projectlive.modules | 96037952553afcdf2663d466f41658666f5260e2 | b9d56f1a6938cae1528e730323da93bf7dbab646 | refs/heads/main | 2023-08-02T14:26:00.139505 | 2021-04-23T14:38:37 | 2021-04-23T14:38:37 | 361,023,102 | 0 | 0 | NOASSERTION | 2021-04-23T22:50:29 | 2021-04-23T22:50:29 | null | UTF-8 | R | false | false | 564 | r | csbc_app_server.R | csbc_server <- function(input, output, session) {
data <- shiny::reactive(get_csbc_data())
summary_snapshot_module_server(
id = "summary_snapshot_module",
data = data,
config = shiny::reactive(get_csbc_summary_snapshot_config())
)
publication_status_module_server(
id = "publication_status_mod... |
2804eeff2df3b2d5b71367593ead7090609a850f | 8ae43084c27f20cd73a20946755a55d075997bd6 | /using-dplyr.R | 080159a784d6728734dfef4754fd09429cef7c66 | [] | no_license | davidenoma/R-Language-scripts | 290f991e6b6719ede8b936143991ed8322bf8872 | 5034f108ad22db84ee78e9c3d14f7df83c9285df | refs/heads/master | 2023-02-21T01:20:24.238515 | 2023-02-15T18:52:02 | 2023-02-15T18:52:02 | 240,453,728 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 819 | r | using-dplyr.R |
chicago <- readRDS('chicago.rds')
dim(chicago)
str(chicago)
names(chicago)
subset <- select(chicago, city:date)
head(subset)
chic.f <- filter(chicago,pm25tmean2 > 30)
str(chic.f)
chic.f <- filter(chicago, pm25tmean2 > 30 & tmpd > 80)
select(chic.f, date, tmpd, pm25tmean2)
chicago <- arrange(chicago, date)
head(sel... |
3b13f98a103bad6f0016aca64f987abbe5424ae8 | a177e3e6a34df54f6b72b18f07d4225234fed520 | /CodeR_1.R | 3640c4289b943f3a9b2a18472a1a00eec22e562f | [] | no_license | githubfun/pms | 81787bebd3c0d50c192b05a30fe788505b908af9 | b2de3cb85c37c29b40aab3196dcb551a7a3d2c89 | refs/heads/master | 2017-12-03T02:04:20.450005 | 2016-02-18T07:03:55 | 2016-02-18T07:03:55 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,251 | r | CodeR_1.R | setwd("~/MyFile") #Dossier emplacement à définir
PathCAC="returns1.csv"
PathDAX="returns DAX.csv"
SectorCAC="CAC40 sectors.csv"
SectorDAX="DAX30 sectors.csv"
returns=read.csv(file=PathCAC, header=TRUE ,sep=";")
A=read.csv(file=SectorCAC, header=TRUE ,sep=";")
X=as.matrix(returns)
n=ncol(returns)
M=20*... |
5e8a49d72f80f886b77c3d22fe30bf00637b1980 | de80221f25adcb6112d21af5b429aa7bcbc9212e | /plots_exp_model.R | d862f4eda4e16202a17e8c7f06499e84669c6321 | [] | no_license | jameshay218/virosolver_ons | bba1bd4619a3ca63363d2940cb8901bb46eb460b | e2e44cbc93322500eacb770a076765a7ad8a2fa4 | refs/heads/main | 2023-03-31T08:59:39.936614 | 2021-03-26T17:04:11 | 2021-03-26T17:04:11 | 320,556,888 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,245 | r | plots_exp_model.R |
res <- NULL
beta_ests <- NULL
for(i in seq_along(obs_times)){
timepoint <- obs_times[i]
chainwd_tmp <- paste0(chainwd_exp,"/",timepoint)
chain <- lazymcmc::load_mcmc_chains(chainwd_tmp, parTab,FALSE,1,mcmcPars_ct["adaptive_period"],
multi=TRUE,chainNo=TRUE,PTchain = TRUE)$ch... |
e111d2820d79f89bad0265bba33349f014686c2c | 00cae1c8d9039c1177da75d2233b8903bce98b53 | /R/taxizedb-package.R | 686b1614031a9be95fe1510b42f5e15ac507b59f | [
"MIT"
] | permissive | ropensci/taxizedb | 9bb20cc44f8bab80592d6cb5e2cc8a5877c9eb9d | 3a78dd442680101d581e131010f0e15aab83a9ae | refs/heads/master | 2023-05-22T14:11:25.952182 | 2023-04-24T07:52:39 | 2023-04-24T07:52:39 | 53,961,466 | 25 | 12 | NOASSERTION | 2023-04-24T07:52:40 | 2016-03-15T16:40:20 | R | UTF-8 | R | false | false | 4,671 | r | taxizedb-package.R | #' @title taxizedb
#' @description Taxonomic databases interface
#'
#' @importFrom DBI dbConnect dbDisconnect dbSendQuery
#' @importFrom RSQLite SQLite
#' @importFrom dplyr tbl sql collect n
#' @importFrom dbplyr src_dbi
#' @importFrom rlang .data
#' @importFrom utils tail
#' @importFrom curl curl_download
#' @importFr... |
8fb64b1fd8994152583dfe7037a35604b3caaaba | de39504064981200eac1ea08cf2005a1d8b73512 | /R/9-global.R | e9232b0d2b8717192cf155a659569592f2cd242d | [] | no_license | tpq/balance | 2dabf69fd127b84730feec722c0891a0221aee5a | b8a46924c5d1c14a50ccb8908b074aff6a5a30b4 | refs/heads/master | 2021-08-02T20:46:38.013874 | 2021-08-02T01:53:12 | 2021-08-02T01:53:12 | 142,627,965 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 140 | r | 9-global.R | #' Example Compositional Data
#'
#' Taken from the wonderful \code{robCompositions} package.
#'
#' @usage data(expenditures)
"expenditures"
|
a5b33fc8df5258d7b2caa607b2305f6537c06ed4 | 1d25525f865d342f635ed3a07af4e313b76c15d8 | /R/readCounts_functions.R | a1955dcb00520e9d3025836745a8efc832e24e86 | [] | no_license | estepi/ASpli | 94da5e8eed8b0f9d008da1876dcb419627492c28 | aeef195b211a657bfee9fe12a3076228dbf7a3b5 | refs/heads/master | 2021-01-20T17:02:46.312350 | 2017-02-25T13:43:59 | 2017-02-25T13:43:59 | 60,658,011 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 12,794 | r | readCounts_functions.R | #funciones para read counts
.counterGenes <-
function(reads, feature, cores=NULL)
{
if (is.null(cores) )
#it wont paralelize, it wouldn require multicore library
{
hits <- lapply(reads, function(x){countOverlaps(feature, x,
ignore.strand = TR... |
25eb7e62a842aede82f402ed72bb4bb35970ce5b | f0489c47853fc78a49bfbc28ca3cf39798b17431 | /man/show-NMFns-method.Rd | 65635152829709af9ecf8d0e01e6600eb77a0ce3 | [] | no_license | pooranis/NMF | a7de482922ea433a4d4037d817886ac39032018e | c9db15c9f54df320635066779ad1fb466bf73217 | refs/heads/master | 2021-01-17T17:11:00.727502 | 2019-06-26T07:00:09 | 2019-06-26T07:00:09 | 53,220,016 | 0 | 0 | null | 2016-03-05T19:46:24 | 2016-03-05T19:46:24 | null | UTF-8 | R | false | true | 318 | rd | show-NMFns-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NMFns-class.R
\docType{methods}
\name{show,NMFns-method}
\alias{show,NMFns-method}
\title{Show method for objects of class \code{NMFns}}
\usage{
\S4method{show}{NMFns}(object)
}
\description{
Show method for objects of class \code{NMFns}
}
|
96e1090d671dd31d31e521f54f277ff21ec31a36 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/dtwclust/R/UTILS-reinterpolate.R | eaf4c31d6ace609072a43313429f39fd6474a99e | [] | 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 | 1,780 | r | UTILS-reinterpolate.R | #' Wrapper for simple linear reinterpolation
#'
#' This function is just a wrapper for the native function [stats::approx()] to do simple linear
#' reinterpolation. It also supports matrices, data frames, and lists of time series.
#'
#' @export
#' @importFrom stats approx
#'
#' @param x Data to reinterpolate. E... |
39e25d3e6d3adb597d89b6edaf80fda960a3adbc | 6fbc03d70486eda587971ff9aa2a1ff06c0b8cf8 | /Simulation_code/stochastic_sim.R | 64d4ca0ba490f831b1ecd4df6927be42eaf4aa55 | [] | no_license | apsicle/Network-Models-Thesis | 8eaf03a4fed02606c2cb201eebbf04447ab78dde | ccfe0268ef06c44ee0811fb4fc6a136eddec36ac | refs/heads/master | 2021-06-15T16:04:59.115164 | 2017-02-22T23:10:16 | 2017-02-22T23:10:16 | 50,934,199 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,873 | r | stochastic_sim.R | #Stochastic implementation of 3-d transport system simulation
#P = n-dimensional transition matrix
#s_0 = n by 1 column vector of population in whole numbered values
#r_0 = rate of logistic growth
#t = amount of time to run simulation for
#N = number of individuals in initial population
#b = birth rate
#d = death rate... |
aa1f3292def1c79231e93b16a448b16883c1414f | cf606e7a3f06c0666e0ca38e32247fef9f090778 | /test/integration/example-models/ARM/Ch.9/electric_grade1_supp.data.R | a32c3a3b25004df568f73803140101ee429b96e2 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | nhuurre/stanc3 | 32599a71d5f82c759fd6768b8b699fb5f2b2d072 | 5612b357c1cd5a08cf2a57db97ce0e789bb87018 | refs/heads/master | 2023-07-05T02:27:08.083259 | 2020-11-12T15:37:42 | 2020-11-12T15:37:42 | 222,684,189 | 0 | 0 | BSD-3-Clause | 2019-11-19T11:50:39 | 2019-11-19T11:50:38 | null | UTF-8 | R | false | false | 512 | r | electric_grade1_supp.data.R | N <- 21
post_test <-
c(48.9, 70.5, 89.7, 44.2, 77.5, 84.7, 78.9, 86.8, 60.8, 75.7,
95.1, 60.6, 55.5, 84.8, 84.9, 101.9, 70.6, 78.4, 84.2, 108.6, 76.6)
pre_test <-
c(13.8, 16.5, 18.5, 8.8, 15.3, 15, 19.4, 15, 11.8, 16.4, 16.2, 12,
12.3, 17.2, 14.6, 18.9, 15.3, 16.6, 16, 20.1, 16.4)
grade <-
c(1, 1, 1, 1, 1, 1, 1, 1, ... |
74caea6650ba0b01d86be1957ee45a3925ce9e7f | 36c2c3d60ecf9dfc52e023bea0fba9b1bfc825bb | /cachematrix.R | edfa15b4b9cfcc1740f3019ea0f397816f184cd2 | [] | no_license | conghuanxu/ProgrammingAssignment2 | 512191177bd033076276484ec9078d811f31a90d | 3c8a4462025ce45976619d9f483661d69f2a4392 | refs/heads/master | 2021-01-24T10:05:57.944323 | 2015-04-26T02:48:44 | 2015-04-26T02:48:44 | 31,111,704 | 0 | 0 | null | 2015-02-21T02:25:37 | 2015-02-21T02:25:37 | null | UTF-8 | R | false | false | 1,254 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## This function have two goals, one is give the inverse of a matrix,
## the other goal is if we have computed the inverse once, and if we
## need compute the inverse again we can read from the cache
## Write a short comment describin... |
6face2d58b550d4dc793f5da1a0caa79c9327198 | 6523d59b661f2abbad08ddad83b03dc39b85dd13 | /Scripts/global_nutrient_application.R | ca2b417e119a08eeb8dd5fdadc8a02582aeefce9 | [] | no_license | hansronald/flex-crops | fe83f1652831938aa97e847070dcfdc3379849b7 | 07c3afe951d8f3a3801ce711175d2cc5825f1efd | refs/heads/master | 2020-07-19T19:05:54.575593 | 2020-04-10T13:44:19 | 2020-04-10T13:44:19 | 206,498,029 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,996 | r | global_nutrient_application.R | # library
source("~/Google Drive/Skola/SRC/Thesis/Code/Scripts/common_settings.R")
#library(ggplot2)
nutrient_input_average_path = here("Data", "Crop data", "nutrient_input_average.csv")
nutrient_input_average = read_csv(nutrient_input_average_path) %>%
gather("Nutrient", "value", -Crop) %>%
clean_names()
nutri... |
421f6b817495efeea27794b6096f6e946cb29250 | 10aafda5ec7d972394bbfe3e380aeca0f484df99 | /3-1-3.R | 17a06bbf0ecdcc7ec74cdbd8b5a073758b2114ce | [] | no_license | hdohms/Linear-Regression | 7150fcaafa4ab6385b72313c68df53e4259990f7 | 799f50e9d20cf94dcec3788cb757094cb8804e5b | refs/heads/master | 2021-06-24T13:11:12.769218 | 2020-11-20T13:12:19 | 2020-11-20T13:12:19 | 159,203,884 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 194 | r | 3-1-3.R | data("GaltonFamilies")
GaltonFamilies %>%
filter(childNum == 1 & gender == "male") %>%
select(father, childHeight) %>%
rename(son = childHeight) %>%
do(tidy(lm(father ~ son, data = .))) |
5928d0410425af782583ba1bd449cd692b4aad4e | c04c8604c6f5fce5328b138658ab651dc0d0a139 | /task01_main_B2_up2.R | 3c663952ba46fd3143e01fa9a432c3e515c993fb | [] | no_license | realypz/MVE440-Home-Exam | 90859e33aec4f7a1bff75c70965fb4085f5d28b5 | 9ea94b135c5236e0cf827b7a8fc5d9f7f93f263d | refs/heads/master | 2022-04-05T01:26:27.781325 | 2020-02-16T18:48:02 | 2020-02-16T18:48:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,151 | r | task01_main_B2_up2.R | library(datadr)
library(dplyr)
library(ggplot2)
library(glmnet)
library(extraDistr)
library(foreach)
load("exercise1.RData")
##### ----------------------- Define X, y, n, p, m, s, r -----------------------
X <- as.data.frame(XB2) %>% as.matrix %>% scale
y <- as.data.frame(yB2) %>% as.matrix %>% as.numer... |
02547d03028006c8303845293f9a00daa47886d6 | 0fcb9e49dc934221da0cf91847eef0d14a9cd4bb | /inf0611_trabalho3.R | baf89e0b936871499f4c0aec09a6d01e34b71d8a | [] | no_license | diogomotta/inf-0611 | 160e28e9aaf1f780b7a8020cd6ee9890a5df2598 | d5299f434f18829f4ca2c1055ee2843273af22a2 | refs/heads/master | 2021-04-18T11:02:10.196672 | 2020-03-23T20:34:12 | 2020-03-23T20:34:12 | 249,537,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,065 | r | inf0611_trabalho3.R | #------------------------------------------------#
# INF-0611 Recuperacao de Informacao #
# #
# Trabalho Avaliativo 3 #
#------------------------------------------------#
# Nome COMPLETO Aluna (o) 1: #
# ... |
f340437ca6c8947ceda42715174d55a64463bb48 | c2c760f3803dfafad79755f7233089c899bec60c | /man/plotPeak.Rd | 10c47417a02f8aee68446d5831d053cc9575fcfe | [
"Apache-2.0"
] | permissive | scottwalmsley/wSIMCity | 6f05b6b2a36cf25e2ce66346e7753207f1f28e30 | 98ea258fc5ff9af33af94a1a4ce2d56f507da134 | refs/heads/master | 2021-06-14T14:45:15.543418 | 2021-04-28T18:51:03 | 2021-04-28T18:51:03 | 184,795,602 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 506 | rd | plotPeak.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fct_plot.R
\name{plotPeak}
\alias{plotPeak}
\title{Plots the spectrum of precursor and aglycones}
\usage{
plotPeak(spectrum, mz, ppm, main = NULL, col = 1)
}
\arguments{
\item{spectrum}{matrix of mz and intensities}
\item{mz}{target mz value... |
474a5c90536211fd0f3612801af54b4f056d70b7 | fa79ee0e432e7b56f494f553bc7a577fe3df2576 | /lecture3/q2/server.R | 68f2fc2d7677dd1feb565e94cfbb4b0fa1dcc385 | [] | no_license | maxwagner/608 | 503c59c417732d4f9f5be558213b80f81b528ab5 | 7f2d036c63ddb18dfe1ceba2eccc4a245783ae76 | refs/heads/master | 2021-01-14T08:39:28.147005 | 2017-10-14T01:25:06 | 2017-10-14T01:25:06 | 68,726,565 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,703 | r | server.R | library(shiny)
library(googleVis)
library(plyr)
library(dplyr)
# read in data
mortality <- read.csv('https://raw.githubusercontent.com/maxwagner/608/master/lecture3/q1/cleaned-cdc-mortality-1999-2010.csv')
# rem some columns, rename remaining
mortality <- mortality[, c(3,5,7,10,11)]
colnames(mortality) <- c("Chapter... |
68699ec55467e8ae52388af3033081885082fbcc | 29585dff702209dd446c0ab52ceea046c58e384e | /goric/R/orgls.R | f24029d72f79c939e649d61c163c2ad9bd67a6a1 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,840 | r | orgls.R | orgls <-
function(formula, data, constr, rhs, nec, weights=NULL, correlation=NULL, control=orlmcontrol()){
UseMethod("orgls")
}
orgls.formula <-
function(formula, data, constr, rhs, nec, weights=NULL, correlation=NULL, control=orlmcontrol()){
cl <- match.call()
if (!is.null(correlation)){
groups <- getGroupsF... |
cb32006355c4524eddec90dc3fa6d9be2a0d33d6 | 97515ba84e0c105203baa1f7fd24134cc7bffe38 | /week 7/homework/w07-hw/Question 3.R | 6772b06a08f555c1e2f3cfd62f169fe8c4483ded | [] | no_license | memasanz/stats420 | 7055c68cdd069164382eb9b7e2016678c20cdca7 | 0adb47fce9eac823637126dece815d2f75c91434 | refs/heads/master | 2023-07-09T16:10:50.175503 | 2021-08-02T16:12:20 | 2021-08-02T16:12:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 470 | r | Question 3.R | #Question 3
fish = read_csv("fish.csv")
fish_smaller = lm(Weight ~ Length1 + HeightPct * WidthPct, data = fish)
summary(fish_smaller)
fish_int = lm(Weight ~ Length1 + HeightPct + WidthPct + Length1:HeightPct + Length1:WidthPct + HeightPct:WidthPct + Length1:HeightPct:WidthPct, data = fish)
summary(fish_int)
fish_int... |
79ebfb0c3805ee1005e60d96dc91c8f069756785 | 4eba831feeba02ea01ae63cf7c13eaa36d980c01 | /app17.R | e8ce83ccff4d80b3d6e70b2700198275e84b38cb | [] | no_license | hiltoncsj/R | d63d122e02271289bdfc02ec73a119e4bf38ea2c | 97107f6e94b274196191a1a4182f5348ea802ec8 | refs/heads/master | 2023-08-20T11:51:31.398139 | 2021-10-16T16:40:46 | 2021-10-16T16:40:46 | 416,733,655 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 313 | r | app17.R | library(shiny)
library("shinyalert")
ui = fluidPage(
useShinyalert(), # Set up shinyalert
actionButton("btn", "Mostrar mensagem")
)
server = function(input, output) {
observeEvent(input$btn, {
shinyalert(title = "Mensagem de Erro", type="error") #error #default #warning
})
}
shinyApp(ui, server) |
c776c6c8a5d9ded6471a4b8e3f83bce327de3088 | 48a30f16d7863912e91d247ad7a374c106438352 | /plot4.R | 5d87b2d2aa402c27b28aa4df8fab59b7ff9790f9 | [] | no_license | Jubijub/ExData_Plotting1 | 187fa2c2a4fb92a8c4cdd037ce888ed1c5ae1f81 | 01141a7d698fdae0fc912542a26e437d284d358c | refs/heads/master | 2021-01-12T15:09:08.098407 | 2016-10-23T20:13:07 | 2016-10-23T20:13:07 | 71,714,894 | 0 | 0 | null | 2016-10-23T16:25:11 | 2016-10-23T16:25:11 | null | UTF-8 | R | false | false | 2,190 | r | plot4.R | ##### COMMON BOILERPLATE FOR ALL FILES #####
## Downloading the source data
rawDataSource <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
zipFile <- "./household_power_consumption.zip"
if (!file.exists(zipFile)){download.file(rawDataSource, zipFile)}
message("Source F... |
e4a63e3df719432a934ce0a1cfe64c4244579f29 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8989_0/rinput.R | a7856b0ab543e1258b5241ce71a65882a55cb9e0 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("8989_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8989_0_unrooted.txt") |
f25945bb780a21f3496f29eec7733e19aadb3085 | 7e1d9c9dc85c3036d101bafeffe494f5408b44cc | /man/mss.Rd | 33594664cd14af60566c940f89a622756cb5dde4 | [] | no_license | kvnkuang/rmimp | c31283f0a4de5bcb3e27f0a761e4ea298319a500 | 9db33a5e1bd929022ec365d227eb77ab11b8cfa2 | refs/heads/master | 2020-04-05T23:10:40.368463 | 2017-12-08T15:02:38 | 2017-12-08T15:02:38 | 62,658,628 | 1 | 2 | null | 2017-05-29T21:27:56 | 2016-07-05T18:07:13 | R | UTF-8 | R | false | true | 759 | rd | mss.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pwm-functions.r
\name{mss}
\alias{mss}
\title{Compute matrix similarity score as described in MATCH algorithm}
\usage{
mss(seqs, pwm, na_rm = F, ignore_cent = T, kinase.domain = T)
}
\arguments{
\item{seqs}{Sequences to be scored}
\item{pwm}... |
34a71195242bd37fb62f01b820948418b366d2b2 | 7aad69c67ed152472b3f6c40bc410ef8139e0eb1 | /Code/man/prepare.tree.Rd | bd05b74b964b72202db51ac1d93b1c3007f3af91 | [] | no_license | carlos-alberto-silva/slashGY | de432f7e9fb71abd01bca05ac4256cf3bbf6e6e4 | 3f787fc909c6abb476e0766cc842bb9fdc819e67 | refs/heads/master | 2022-01-19T05:53:34.066757 | 2019-04-29T20:16:57 | 2019-04-29T20:16:57 | 286,616,659 | 1 | 0 | null | 2020-08-11T01:33:30 | 2020-08-11T01:33:29 | null | UTF-8 | R | false | true | 2,260 | rd | prepare.tree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prepare.tree.r
\name{prepare.tree}
\alias{prepare.tree}
\title{Checks and prepares tree-level data from a single plot and calculates some stand-level parameters.}
\usage{
prepare.tree(TREEID = NA, DBH = NA, HT = NA, AREA = NA, AGE = NA,... |
ff7f52b9a256abce23f14f9108f0a9dc35e19e7c | 9b07478e8c8a3806f2cc897c5cbecd5980357dc3 | /10_Classification/src/naiveBayes.r | caaee43752e70f9446e3b14e152001fdc338343f | [] | no_license | jimyungkoh/BigDataAnalysis | 577450e1ae33afc287d3e30bca0af8bb204d05e8 | da72f7b54563cf9b14b6aa6ce5fdbd1acf17ff6f | refs/heads/master | 2023-05-08T00:41:06.839480 | 2021-06-05T14:38:45 | 2021-06-05T14:38:45 | 356,225,232 | 0 | 0 | null | 2021-06-05T13:26:15 | 2021-04-09T10:07:50 | HTML | UTF-8 | R | false | false | 847 | r | naiveBayes.r | #########################
## Naive Bayes Classifier
#########################
#패키지 설치 및 로드
#install.packages("e1071")
??e1071
library(e1071)
#데이터 셋: UCI 대학에서 제공하는 독버섯 관련 데이터
mushroom <- read.csv("data/mushrooms.csv")
str(mushroom)
?naiveBayes
#데이터 나누기
# 훈련 집합(6500개)., 테스트 집합(-개)
n <- nrow(mushroom);
tr_idx <- sampl... |
6e918f6a4b54709e84c6973a32fef20ccfe1f885 | 73d3258e393c4857cf6e1a17400bc891a5cbf88a | /Old/EDA.R | d13401df2e2b89e496e441b9c39835b6914512d6 | [] | no_license | Junjie-Dylan-Yang/Building-Energy-Consumptions-Classification | 7e9d42c1d9768647b689fe8aede82c17f2090a11 | 6a636145d0e0a8828730f9fa7ca29acac08f67de | refs/heads/main | 2023-02-03T20:04:11.312493 | 2020-12-10T18:19:30 | 2020-12-10T18:19:30 | 314,711,061 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,604 | r | EDA.R | library(tidyverse)
library(lubridate)
library(here)
building_metadata = read_csv(here("data","building_metadata.csv"))
building_meter <- read_csv(here("data", "train.csv"))
weather <- read_csv(here("data", "weather_train.csv"))
building = building_meter %>%
left_join(building_metadata, by = 'building_id') %>%
le... |
1ab81a17da556ee6597d5cd8cafa9385db9f9f9b | 3e8a948e1d49911eb041c6be61fa02125293ce80 | /statistical_analysis/wilcoxon_signed_rank_test.R | 7b3333050865a102ba8e7616807ca73ceee431a4 | [] | no_license | MatsudaYoshio/study | 66fea10ada4920763cab9d56ff38aad4eec8a6f3 | 604efb487ccced2d93ca1e93dc1b0a9559d0ba9b | refs/heads/master | 2022-11-16T15:51:11.022117 | 2022-11-12T12:49:46 | 2022-11-12T12:49:46 | 101,472,509 | 0 | 0 | null | null | null | null | SHIFT_JIS | R | false | false | 1,158 | r | wilcoxon_signed_rank_test.R | # ウィルコクソンの符号順位検定
# 二群(二手法),対応あり,ノンパラメトリック
# 二つの手法でリッカート尺度のアンケートとかに使う
library(openxlsx)
library(stringr)
library(exactRankTests)
file.path <- './wilcoxon_signed_rank_test_sample.xlsx'
all.data <- read.xlsx(file.path, 1)
item.num <- (ncol(all.data)-1)/2 # 項目数
item.name <- str_sub(colnames(all.data[2:(2+item.num-1)])... |
9d58a943a76947c1d03b21cac10fe7f348bdc4a9 | 96c383f3534dfc283f9e8e57af14c7053e282714 | /run_analysis.R | a79b91d8badb289c78aa5ca92a217cd15896bcbc | [] | no_license | awalva/smartphones-project | f1a8339c6f6ee1d19df37c8c10dbb20bbe0bc4e5 | ad378774db0d23865dc38a0d67897a11475a5e13 | refs/heads/master | 2021-01-20T05:55:01.870223 | 2014-06-22T04:16:22 | 2014-06-22T04:16:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,882 | r | run_analysis.R | # You should create one R script called run_analysis.R 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 i... |
59646dd394b66add673f56800352e02d1e92dd4b | 41f88e136b0da2ce1a26b823b2f2ec26d88ddd35 | /cachematrix.R | 98258e58cc8acb3d01d44a59a01127238c893851 | [] | no_license | roberthortonii/ProgrammingAssignment2 | 2b69410d48c720ae995f5ceb55dc9663bb660ae8 | 959678a27ee193be0ebfad6db7b1ff778f1eeb66 | refs/heads/master | 2021-05-19T14:17:13.483575 | 2020-04-01T14:54:48 | 2020-04-01T14:54:48 | 251,752,497 | 0 | 0 | null | 2020-03-31T21:58:50 | 2020-03-31T21:58:49 | null | UTF-8 | R | false | false | 1,178 | r | cachematrix.R | ## Since calcualting the inverse of amatrix is costly,
## These functions create an object that caches the inverse
## af a given matrix
## returns a list of 4 fuctions
## get teh matrix
## set teh matrix
## get the inverse, initialized to NULL
## set the inverse
makeCacheMatrix <- function(x = matrix())
{
... |
9c7bca026352844de4cbe81d49eba960ea210c75 | b8841bf56594f65fe13115b7f8318b97c9dddb1f | /ch_inference_foundations_oi_biostat/figures/pValueTuna/pValueTuna.R | 802e06d6ff9e2539e51d945567dcb61391a6967f | [] | no_license | OI-Biostat/oi_biostat_text | 5cdab8191714beef6a67d61d1f69982e4d8c13aa | a333893cffe830b8ce1e31d9226a9a50906605e4 | refs/heads/master | 2023-05-28T12:33:51.243348 | 2022-11-30T20:59:44 | 2022-11-30T20:59:44 | 281,164,408 | 7 | 7 | null | 2022-11-30T21:02:43 | 2020-07-20T16:06:49 | TeX | UTF-8 | R | false | false | 642 | r | pValueTuna.R | library(openintro)
data(COL)
myPDF('pValueTuna.pdf', 6, 2.4,
mar = c(2, 0, 0.5, 0),
mgp = c(3, 0.65, 0))
normTail(L = -0.599,
U = 0.599,
col = COL[1],
axes = FALSE)
labels <- expression('t = 0.599')
axis(1, at = 0.599, labels = labels, cex.axis = 0.87)
par(mgp = c(3, 0.77, 0))
a... |
6ea3f3b8b3712141a6d97bbbcc8b03e63b5f367b | c77069c2dc6dbf3f9449a44e06d70b540a1912b5 | /R/fixed.parameters0.R | 638af7d1026d6d60581ce213e7a822d972c30017 | [] | no_license | cran/phenology | 62b323a9231c3701568de58c57a804e043abe6a2 | 991d2c35dcbcf1fcff23cbcc0c2f82b74a868dfb | refs/heads/master | 2023-04-15T03:37:51.464388 | 2023-04-01T09:10:02 | 2023-04-01T09:10:02 | 17,698,504 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,123 | r | fixed.parameters0.R | #' fixed.parameters0 generates a set of fixed parameters for series with only 0 counts
#' @title Generate a set of fixed parameters for series with only 0 counts
#' @author Marc Girondot
#' @return Return a set of parameters
#' @param series Set of series generated with add_phenology()
#' @description This function gen... |
620ac697ef2dbf255ae33527a93bab13e9de0af1 | 753e3ba2b9c0cf41ed6fc6fb1c6d583af7b017ed | /service/paws.ec2/man/delete_flow_logs.Rd | 989cf8454837d0a4f0ece35e5c400de05352c368 | [
"Apache-2.0"
] | permissive | CR-Mercado/paws | 9b3902370f752fe84d818c1cda9f4344d9e06a48 | cabc7c3ab02a7a75fe1ac91f6fa256ce13d14983 | refs/heads/master | 2020-04-24T06:52:44.839393 | 2019-02-17T18:18:20 | 2019-02-17T18:18:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 770 | rd | delete_flow_logs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.ec2_operations.R
\name{delete_flow_logs}
\alias{delete_flow_logs}
\title{Deletes one or more flow logs}
\usage{
delete_flow_logs(DryRun = NULL, FlowLogIds)
}
\arguments{
\item{DryRun}{Checks whether you have the required permissions for ... |
827467c3d361c6e95a4af8ce360a01c933b26bdf | 3d3add09244aa3f9d325d2ca56642355baf1dda6 | /DSwRproject.R | 8949f793faf1660c0116389a82889fc8229ca58e | [] | no_license | AlejandroGarciaTorrado/DSwR | 77a3a6970bdf813f3198de6ae626f6754471a6a4 | b463ffd3463b289ca7bfeec66792cc7c8d012b3a | refs/heads/master | 2022-11-13T07:38:11.795043 | 2020-07-09T09:02:47 | 2020-07-09T09:02:47 | 278,300,218 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23 | r | DSwRproject.R | #DSwR
str(mtcars)
#ok |
2746177ef123f01b0a00c49123f928ee762a12b9 | 230fabadbc7881e514a9e3288be18743026f7cc3 | /man/Plot.Sobol.Rd | 8b4dd571ca2ac5b374ef41698365f65aa8ccdb09 | [] | no_license | cran/rrepast | d15e5f00a973c569957c26671c3e9002a1c51ccf | 46ca64781419e5c475521e0ade9e9786b6427cd1 | refs/heads/master | 2021-05-04T11:21:56.188742 | 2020-02-19T05:00:05 | 2020-02-19T05:00:05 | 48,087,733 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 464 | rd | Plot.Sobol.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rrepast-plots.R
\name{Plot.Sobol}
\alias{Plot.Sobol}
\title{Plot of Sobol output}
\usage{
Plot.Sobol(obj, type, title = NULL)
}
\arguments{
\item{obj}{An instance of Sobol Object \code{\link{AoE.Sobol}}}
\item{type}{The chart type... |
e1c31217c310266bc6ae68cf3602a3a3c55ed7ed | c76a3e135789e3f721e00886552eb0651cb3f887 | /PathwayFoldChange.R | 99be24f7e1128c51c80f6916bdd31f494c5197f9 | [] | no_license | amberr098/StageRadboud | e67d510e0d3f3949a5f4d0d0df3dcc1456d7e2b5 | 954a41accd9317b07656ba71939c8c97e9249b97 | refs/heads/master | 2021-04-27T15:04:15.351091 | 2018-02-22T10:13:08 | 2018-02-22T10:13:08 | 122,462,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,571 | r | PathwayFoldChange.R | # Een dataframe gegenereerd waarin de twee gekozen condities door elkaar gedeeld worden. kolomnamen zijn de compounds,
# rijnaam is "Ratio"
getRatio <- function(CondMatrix){
preRatioDataframe <- list()
# Dit moet waar zijn, want er zijn maar twee condities die met elkaar vergeleken worden
if(nrow(CondMatrix) =... |
bb9f88d20810f1869eb482893c904eae25318e7c | e7708a1f5245d117acfcdb0113db5f6ff2f021ce | /binomial/man/bin_cumulative.Rd | c4aa907e341e0146a457d76536d8356b11bcfe34 | [] | no_license | stat133-sp19/hw-stat133-J-V-H | d0701984ae1ce64b479f7181fd2397697fca5d53 | 1170bcd2378ec5c0a48c0ded4acec62911f46892 | refs/heads/master | 2020-04-28T18:53:45.693129 | 2019-05-03T22:23:42 | 2019-05-03T22:23:42 | 175,492,863 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 417 | rd | bin_cumulative.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{bin_cumulative}
\alias{bin_cumulative}
\title{Binomial Cumulative}
\usage{
bin_cumulative(trials, prob)
}
\arguments{
\item{trials}{trials}
\item{prob}{probability}
}
\value{
bincum
}
\description{
Calculates a distribution... |
eaaaf1d798b2bf495fb6ae9dea6095d9aeacbe55 | d2f39a2258dbe6253bc28fd00717a67b131751f4 | /man/GMRF_basis.Rd | 9810787a6d4c0fd0297446fb5da007abc596d5b5 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | andrewzm/MVST | 6e5d9d5c84ba0d28e38fdb69b12cfa8ba1bcc45f | 2bf0835e66e04e120f78fe8673afe3dd9d6f42c0 | refs/heads/master | 2022-09-29T23:40:39.048820 | 2022-09-15T21:37:50 | 2022-09-15T21:37:50 | 20,478,703 | 10 | 9 | null | 2018-10-18T14:50:36 | 2014-06-04T10:13:03 | R | UTF-8 | R | false | true | 803 | rd | GMRF_basis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllConstructor.R
\name{GMRF_basis}
\alias{GMRF_basis}
\title{GMRF function over basis}
\usage{
GMRF_basis(G = new("GMRF"), Basis = new("Basis", pars = list(vars =
data.frame(x = c(1, 2)))))
}
\arguments{
\item{G}{an object of class \code{GM... |
e22fdce44553d76af1f156a33969d823544481bb | 862c4bca74786b462929176b28f2f54c4021c5ec | /man/storeNormalized.Rd | c7ac0cda9c6ee9104907c350131ee5c9123746ab | [] | no_license | iaconogi/bigSCale2 | 1d94d232781f08e28ee2a0c43214798a10cc9301 | e47f0cd4b6374e5bcc52d99f4c50d0671aada811 | refs/heads/master | 2023-07-06T21:52:31.163393 | 2020-07-12T08:52:34 | 2020-07-12T08:52:34 | 169,756,139 | 109 | 42 | null | 2023-07-03T12:18:59 | 2019-02-08T15:31:16 | R | UTF-8 | R | false | true | 653 | rd | storeNormalized.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SingleCellMethods.R
\name{storeNormalized}
\alias{storeNormalized}
\title{storeNormalized}
\usage{
storeNormalized(object, memory.save = TRUE)
}
\arguments{
\item{memory.save}{enables a series of tricks to reduce RAM memory usage. Aware of on... |
8278c6684156f070bda17547d1358e1f2a2e49c6 | e0a963242ba158c812eb3fe687c1c905493531c1 | /cachematrix.R | 2c25e55946968dee6420889c9c35e0c628cc1402 | [] | no_license | SivaMalladi/ProgrammingAssignment2 | f4ce737a8fe4aabcc86543eb16336854b27f319f | d3e7b9c51148a8465fbfc75b7d8522692ad13df7 | refs/heads/master | 2021-01-12T13:48:02.091961 | 2016-03-29T10:55:14 | 2016-03-29T10:55:14 | 54,943,130 | 0 | 0 | null | 2016-03-29T03:29:55 | 2016-03-29T03:29:54 | null | UTF-8 | R | false | false | 2,762 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## 1. A special funtion makeCacheMatrix that contains a list of four functions set, get, setinverse, getinverse
## the argument for the above function is a matrix
## For set and setuniverse a matrix should be passed as argument.
##... |
dfc39431643aec0483a732a3a6c206bf32a7a1da | 8f045a1293610a0bb955da7022418beea0d80c6f | /ChicagoChlamydiaModel/Scripts/ChicagoChlamydiaStats.R | f7d012a03c2a42e52c4e0371bc5ac0ee81ff6021 | [] | no_license | chrisporras/Chicago-chlamydia-spatialsim | 11fbca7369c1ec26d237df06d6a0547d49f481a0 | 0256b142178c902750e0fd5874d8711300a73e64 | refs/heads/master | 2020-03-23T08:16:30.350473 | 2018-08-07T16:20:39 | 2018-08-07T16:20:39 | 141,317,760 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 119 | r | ChicagoChlamydiaStats.R | #######Takes Realizations and Return Statisics for Difference from Actual Data
####Put into List of Fract Infecteds
|
99ec8d6a87d46cd7a2766de2a13402b89085f759 | 477b91511c1c345f583a53339c649587b142451d | /plot2.R | 9fc25c5dff2911d64f002a215064645d5689d2ac | [] | no_license | nasraf/ExData_Plotting1 | 6612a6bc16635647200d2ec5e373b3ad0963d7a5 | f68e6a04afa4d90f986ddfc10fc504c680f14c78 | refs/heads/master | 2020-12-25T15:40:52.994894 | 2014-09-06T15:33:17 | 2014-09-06T15:33:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 816 | r | plot2.R | ## read household power consumption file
df<-read.table("household_power_consumption.txt", sep=";",na.strings="?",header=TRUE)
## convert Date varible using as.Date() function
df$Date<-as.Date(df$Date,format="%d/%m/%Y")
datafile<-subset(df, Date==as.Date("2007-02-01")| Date==as.Date("2007-02-02"))
##convert attribute... |
d1a232d12a1421529b1b19b1694d7e34d050fb30 | 0ad0e9e2e7b6aa6d12d897940a00a3d3966a7b0e | /assignment10/ui.R | d0ab0aabbc4e20353eebaea2116ed256358ab01b | [] | no_license | jenniferzj/DSTools | 9b4bbeb020eb28d9b38c226ca610b06b3db8a757 | 4011970020f3498ef48dcf9e732c87ee1815eb82 | refs/heads/master | 2021-04-27T12:33:02.995637 | 2018-05-03T01:21:57 | 2018-05-03T01:21:57 | 122,420,864 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,143 | r | ui.R | library(shiny)
ui <- fluidPage(
titlePanel("Predicting Probabilities of Each Species"),
sidebarLayout(
sidebarPanel(
sliderInput("Sepal.Length",label = "Sepal.Length:", value = 5
, min = 4.3, max = 7.9, step = .1)
, numericInput("Sepal.Width", "Sepal.Width:", value = 3
... |
3d1bb63585dc38dd8d383c7ad98f89c6316f47b6 | 8564df84659380bcf825d61b38caaf1d2e05f8ff | /scripts/assignment_9_example.R | b91f57386d7111098cfecc51ae38f4e77e767b85 | [] | no_license | edquant/edh7916_student | e4365a801502327c0ceaf705466c746edd901730 | 8af9d96fe043935813a43faaaee9b698461ccc02 | refs/heads/main | 2023-04-16T03:59:55.586719 | 2023-04-11T21:08:27 | 2023-04-11T21:08:27 | 232,349,184 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,696 | r | assignment_9_example.R | ################################################################################
##
## <PROJ> EDH7916: Functional programming
## <FILE> assignment_9_example.R
## <INIT> 18 February 2020
## <AUTH> Benjamin Skinner (GitHub/Twitter: @btskinner)
##
###########################################################################... |
ff2765d052f288c1833c96baa66a76fbf7b3b367 | 251df421cec78612cbf56db7a0cbf2078b205dcd | /DNA_analysis/meta-workflow2.0.R | 9c34506c26db5f134046c9a4fc575952875bc463 | [
"MIT"
] | permissive | deponent-verb/popgen.analysis.pipeline | 7987d6e12f3b57ea70ce62dc0d3987e6d02eeb05 | ae482e915c7b2baca87242717cb6a0f19ca08792 | refs/heads/master | 2021-08-19T04:57:27.080926 | 2021-07-03T04:04:17 | 2021-07-03T04:04:17 | 213,124,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,732 | r | meta-workflow2.0.R | #version 2 of workflow for chunkybit 1
pacman::p_load(tidyverse,vip)
library(tidymodels)
#load data from cleaning script
genomes = read_csv("~/Documents/GitHub/popgen.analysis.pipeline/data/cleaned_chunky1_data.csv")
genomes = subset(genomes,
select = -c(ID))
genomes$sweep <- ifelse(genomes$sweep=="... |
5786b130ed54c6c0a6820341c832a2dfd62b17a3 | 7359c3690ffebafb2bde0b2869d06c9c4a0212ec | /R/xy.scale.R | 40ade4e68a8b5c924838610b65b63b5e5a389fe8 | [] | no_license | jfpalomeque/pandora | ad1bac6846da9ca99048dcedd69f286c5777f2ca | 8dc7c3a4c1d023406c9fbe79d566110be11c5cf5 | refs/heads/master | 2021-01-17T04:40:28.306193 | 2020-11-03T20:16:55 | 2020-11-03T20:16:55 | 43,978,220 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 375 | r | xy.scale.R | xy.scale <-
function(){#Open new window whit image, and take XY coordinates of scale.
windows(6,6); plot(seq(0, dim(specimen)[2], length.out = 10), seq(0, dim(specimen)[1], length.out = 10), type = "n", xlab = "x", ylab = "y", asp = 1, tck = 0, xaxt = "n", yaxt = "n")
rasterImage(specimen, 1, 1, dim(specimen)[2], d... |
9e867364d65a9fbdb5a41147c375510fe828ff5e | 29585dff702209dd446c0ab52ceea046c58e384e | /internetarchive/tests/testthat/test-files-download.R | 448d108f50b91d7bc2f1b7d4c2dfcb3ae51fd4ab | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,238 | r | test-files-download.R | context("Files, metadata, and downloading")
library(dplyr, warn.conflicts = FALSE)
dir <- tempdir()
items <- ia_get_items("TheLifeOfFatherHecker", silence = TRUE)
meta <- ia_metadata(items)
files <- ia_files(items) %>%
filter(type == "txt")
downloads <- ia_download(files, dir, silence = TRUE)
test_that("... |
cdb284d678672f259b43ba33b719bf94048bbb13 | 951b65be142a703bfdd258bec4194c309868ccef | /simple_assessment/report.R | 3e0e878ef40990d0a821ec0436ecb11ad624ad6c | [] | no_license | colinpmillar/FLa4a.tests.taf | ef9ee4a52122904c01201b5f756dd1c6b90e3140 | 03185f36f41458eb182a52ae415589921e029323 | refs/heads/master | 2021-01-05T06:22:50.489977 | 2020-03-01T11:31:32 | 2020-03-01T11:31:32 | 240,913,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 253 | r | report.R | ## Prepare plots and tables for report
## Before:
## After:
library(icesTAF)
library(rmarkdown)
mkdir("report")
render("report.Rmd")
cp("report.md", "report", move = TRUE)
if (dir.exists("report_files"))
cp("report_files", "report", move = TRUE)
|
ae35ea0bbeb1ed081b7a59779a3a38b955c98c97 | 052e53c266c74e9a20f037cfca5df2b9c25c59be | /server.R | 889361cd89098100f61a6e03be9cc0be4e5e8aa4 | [] | no_license | kongchakbun/Course-Project-Shiny-Application-and-Reproducible-Pitch | 2d11e486863ef9fe56562bf17b6ee8f52699534c | 7720bd171528ba20d074a3f0eb21fdd068716c83 | refs/heads/master | 2022-02-22T11:37:48.140821 | 2019-09-17T07:16:36 | 2019-09-17T07:16:36 | 208,983,984 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,886 | r | server.R | library(shiny)
library(quantmod)
library(dplyr)
library(ggplot2)
shinyServer(function(input, output) {
#download the data
from.dat <- as.Date("09/01/09", format = "%m/%d/%y")
to.dat <- as.Date("08/31/19", format = "%m/%d/%y")
suppressWarnings(getSymbols("^HSI", src = "yahoo",... |
31b7c9e2a5c2d0703f7889c15d850a7688f11f88 | 655326c8b219d49b20bf0673b25ab7ef8277476f | /classCode.R | 00e1a99ef01afe7bf96f178e14cae6d1f97fe53e | [] | no_license | Jay-Bektasevic/temp | 915da187ffd81472e7f4f91614e07bcce3d2527f | ccc009a4dbc910beb278a568e587cab5df98bbaa | refs/heads/master | 2021-01-11T21:58:04.380198 | 2018-01-26T01:24:55 | 2018-01-26T01:24:55 | 78,885,479 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 944 | r | classCode.R | ap <- AirPassengers
diff(ap) # lag = 2
# diff(ap, lag = 2)
ap_diff <- as.numeric()
for (i in length(ap)){
ap_diff[i-1] <- ap[i] - ap[(i-1)]
}
ap_diff == diff(ap)
# create an acf() function manually
acf_ap <- acf(ap)
cent <- ap - mean(ap)
n <- length(cen... |
8dc918345db8f3208bae372ae3e5348414821b50 | 4f1fd976d00219383f19cdd95ed376adf5ebddba | /RApplication-Visualization.R | 92364460f4336f64e285683ea78834a1ca61531d | [] | no_license | piotrsalkowski5/R-and-Shiny-Applications | c952265a661398db98325980c22144d38d525721 | 2736704fd69217330e86059b36c167b93b18e2e0 | refs/heads/master | 2021-01-13T16:56:34.187418 | 2016-12-30T18:17:52 | 2016-12-30T18:17:52 | 77,702,695 | 0 | 0 | null | null | null | null | WINDOWS-1250 | R | false | false | 1,741 | r | RApplication-Visualization.R |
dane <- read.csv(file = "C:/PIOTREK/Praca_Dane_R.csv")
library(shinythemes)
library(ggplot2)
library(shiny)
library(leaflet)
library(RColorBrewer)
ui<-fluidPage(title = "Zarobki",theme = shinytheme("cerulean"),
headerPanel("Zależności zarobkowe i zawodowe na podstawie informacji ofert pracy z... |
860d05b66c009c60833279c863678faaf03f01b0 | ad3f3f1b14282d0169a7b383e5c51ee9aca2d8a2 | /Session_5/scr_R/data_simulation.R | 14e791ed176bf77376a15e3ca95bd28cdaf01d38 | [] | no_license | rohit-21/SS_JGU_21_ML | 207f644f1db55fad35b73fb23776ef2d5f757234 | f03db7b4f92401b328b5e53ea2a060a6063a442e | refs/heads/main | 2023-08-12T20:01:16.300327 | 2021-10-08T15:18:23 | 2021-10-08T15:18:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,808 | r | data_simulation.R | #@author = Marcel Schubert
####Change parameters here as needed
#remainder-error rnorm(N, 1, eta)
#eta <- 0.3
#individual-specific error rnorm(N,1,sigma)
#sigma <- 0.3
#type vector
# type 1: 0 + err; #freerider
# type 2: conditional up till 10, reverse conditional thereafter; ##hump-shaped
# type 3: conditional + e... |
596b2cb7e58efb2baa170ccac07c98e4b9248d5f | 66f34eae780c7e8cdf001090c22698ea9c3e545f | /heatmap.R | b6042ab6cb723f3b595e7522ec1a0640b6fcce59 | [] | no_license | aringhosh/acorn | 46511b8bff21cf321e986b9c079b1d78c30c7583 | 8f744a6c2a1a2c063c98d984e05cb2b728a4668b | refs/heads/master | 2021-06-08T17:15:37.522194 | 2017-01-06T20:16:22 | 2017-01-06T20:16:22 | 63,098,732 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,159 | r | heatmap.R | # Tartu housing density map ###
library(ggplot2)
library(ggmap)
data <- read.csv("locations.csv")
# change parameters
tartu_map_g_str <- get_map(location="Salina,KS", zoom = 4, maptype = "terrain")
map <- ggmap(tartu_map_g_str, extent='device') + geom_density2d(data=data, aes(x=lon, y=lat), size=.2, colour = "black")... |
0f85ca1690cd762a6163a6383949c805e5cf878b | 0df97eb5c4b292c490cacc2bd0e6ff56dd2321a6 | /Lab07/07-outliers-data.R | c5848820ad17fba9281552960a29601b243fe504 | [] | no_license | ZuxAlone/Adm-Informacion | b5db5ba8d71f12b927d3674a6591fd808b4d1bb4 | adaffa98ffc20579230036665463d7e7dafe6df5 | refs/heads/main | 2023-08-15T06:43:37.185907 | 2021-10-09T22:34:08 | 2021-10-09T22:34:08 | 397,649,940 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,847 | r | 07-outliers-data.R | ozone.data <- read.csv("Data/ozone.csv", stringsAsFactors = FALSE)
View(ozone.data)
outliers.values <- boxplot(ozone.data$pressure_height)$out
outliers.values
summary(ozone.data$pressure_height)
boxplot(ozone.data$pressure_height, main = "Pressure Height", boxwex = 0.5)
boxplot(pressure_height ~ Month, data = ozon... |
525fcda9e9bad05d4152a0320052bc71cf8a97e5 | 9fec5550f60deb556f99eb69b1075ccd475534e2 | /plot4.R | eba9d3e8ab547905fb979bec22f8d9d59108c0a0 | [] | no_license | stvnwlsn/ExData_Plotting1 | c4f6561674be2e97639a117baf87eb6f182dbc77 | ac4d02ee1864ce260ba6756d5ec096cfcd8cf7e5 | refs/heads/master | 2021-01-22T15:51:08.748394 | 2015-04-10T08:51:44 | 2015-04-10T08:51:44 | 33,601,406 | 0 | 0 | null | 2015-04-08T10:58:15 | 2015-04-08T10:58:15 | null | UTF-8 | R | false | false | 1,178 | r | plot4.R | dataset <- read.table("household_power_consumption.txt", header = TRUE, sep = ";",
stringsAsFactors = TRUE, na.strings = c("?"))
sub_dataset <- subset(dataset, Date %in% c("1/2/2007", "2/2/2007"))
sub_dataset$DateTime <- as.POSIXct(paste(sub_dataset$Date, sub_dataset$Time), format = "%d/%m/%Y %T... |
59363ea5c3aa0b3d23bae55116cbe27ccedae094 | e5a1b357db65237236a6f841b7cc019d8ed1bbdc | /scripts/QC_STARAlignment.R | 8092466b4c4c0c628f418dadba88183b3e5fe61e | [] | no_license | KatalinaBobowik/Epi_Study | 9baae5e24fdbab538a997de230a4f365efae2e1c | 62f5f05b1b4bdaf627b365056ed5b4313da700e0 | refs/heads/master | 2023-02-26T20:43:16.347623 | 2021-02-13T23:41:04 | 2021-02-13T23:41:04 | 263,541,155 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,138 | r | QC_STARAlignment.R | # Script for creating barplot of number of reads at all different processing stages
# Code developed by Katalina Bobowik, 10.12.2018
# load library and colour palette
library(viridis)
library(Rcmdr)
library(reshape2)
library(ggplot2)
# set working directory
inputdir = "/Users/katalinabobowik/Documents/UniMelb_PhD/Ana... |
a7ee6ede27d2d0a7b0e57c6b7b6c3d25905ed26e | 16e2a0e0f1676ae9eee284127f7a824e043efde6 | /code/Untitled.R | 37a2c2936916e95cbfcf88f46d118a0c657a730b | [] | no_license | kaizadp/destabilization_som | dc4a21d286004412ff45c06cc97c273f204331da | 9dc55906839fb459afa191a7cd53ec36619ee388 | refs/heads/master | 2023-08-06T01:52:08.576183 | 2021-04-27T00:36:34 | 2021-04-27T00:36:34 | 273,317,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,822 | r | Untitled.R |
# -------------------------------------------------------------------------
resp =
respiration %>%
mutate(R13C = ((D13C_VPDB_CO2/1000) + 1) * R13C_VPDB,
F13C = R13C/(1+R13C),
R13C = round(R13C, 4),
F13C = round(F13C, 4),
C13_umol = F13C * umol_CO2C,
C12_umol = umol... |
553ef8841d2d1697071d9c645f7d31edca828ebf | 590142f535831def89b5b2d0f6ac1d47b8306850 | /man/ChunkDataFiles.Rd | 618e2735af3f053a82b7b9d14d7e1d4ceb15b3f8 | [] | no_license | jfontestad/makeParallel | 2b62704c9e26477bc89d505de313ea07aaebdcca | 6e43f34f51a23692907ec1563d3d47a8e189d7bf | refs/heads/master | 2023-01-13T03:27:16.260825 | 2020-11-17T16:41:04 | 2020-11-17T16:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 340 | rd | ChunkDataFiles.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataSource.R
\name{ChunkDataFiles}
\alias{ChunkDataFiles}
\title{Constructor for ChunkDataFiles}
\usage{
ChunkDataFiles(files, sizes = file.info(files)$size,
readFuncName = inferReadFuncFromFile(files[1]), ...)
}
\description{
Constructor f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.